:root {
	--bg: #f4f4f2;
	--surface: #ffffff;
	--surface-soft: #ededeb;
	--ink: #171717;
	--muted: #6d6d6a;
	--line: #d7d7d3;
	--line-strong: #b8b8b2;
	--charcoal: #2b2b2b;
	--silver: #9c9c96;
	--shadow: 0 24px 70px rgba(20, 20, 20, .08);
	--radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .028) 1px, transparent 1px),
		linear-gradient(rgba(0, 0, 0, .026) 1px, transparent 1px),
		var(--bg);
	background-size: 64px 64px;
	color: var(--ink);
	font-family: "Manrope", sans-serif;
	line-height: 1.65;
}

a { color: inherit; }

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
}

.skip-link:focus {
	left: 16px;
	top: 16px;
	z-index: 1000;
	padding: 10px 14px;
	background: var(--ink);
	color: #fff;
}

.site-main,
.site-footer {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.site-header {
	width: 100%;
	margin: 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: rgba(244, 244, 242, .92);
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: 100%;
	padding: 18px 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--charcoal);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
}

.brand strong,
.brand em {
	display: block;
}

.brand strong {
	font-weight: 800;
	letter-spacing: -.02em;
}

.brand em {
	color: var(--muted);
	font-size: 12px;
	font-style: normal;
}

.main-nav,
.main-nav ul {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .09em;
	text-decoration: none;
	text-transform: uppercase;
}

.main-nav a:hover {
	color: var(--ink);
}

.nav-cta,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ink);
	border-radius: 999px;
	padding: 11px 18px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
	text-decoration: none;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.nav-cta,
.button.primary {
	background: var(--ink);
	color: #fff !important;
}

.button.ghost {
	background: transparent;
	color: var(--ink);
}

.button:hover,
.nav-cta:hover {
	background: var(--charcoal);
	border-color: var(--charcoal);
	color: #fff;
}

.hero-section {
	display: grid;
	grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr);
	gap: 0;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-top: 0;
	padding: 0;
	border-bottom: 1px solid var(--line);
}

.hero-copy,
.hero-panel,
.architecture-grid article,
.project-card,
.brand-card,
.systems-list,
.qa-list,
.list-card,
.page-content,
.single-project,
.tech-panel,
.access-panel,
.credential-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .86);
	box-shadow: var(--shadow);
}

.hero-copy {
	position: relative;
	z-index: 2;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-top: 0;
	border-left: 0;
	border-bottom: 0;
	border-radius: 0;
	box-shadow: none;
	padding: clamp(34px, 5vw, 72px);
}

.hero-copy h1 {
	max-width: 590px;
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.04;
	letter-spacing: -.025em;
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	margin: 0;
	color: var(--ink);
	font-family: "Cormorant Garamond", serif;
	font-weight: 600;
	line-height: .98;
	letter-spacing: -.035em;
}

h1 {
	max-width: 720px;
	font-size: clamp(28px, 3.2vw, 42px);
}

h2 {
	font-size: clamp(38px, 5vw, 68px);
}

h3 {
	font-size: 31px;
}

.hero-lede {
	max-width: 720px;
	margin: 24px 0 0;
	color: var(--muted);
	font-size: clamp(17px, 1.8vw, 22px);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hero-panel {
	display: grid;
	align-content: space-between;
	gap: 18px;
	border-radius: 0 var(--radius) var(--radius) 0;
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	background: var(--surface);
	color: var(--ink);
	overflow: hidden;
}

.hero-banner {
	position: relative;
	display: flex;
	align-items: end;
	min-height: 520px;
	border: 0;
	border-radius: 0;
	overflow: hidden;
	background: #1f1f1f;
}

.hero-banner img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(70%) contrast(1.04);
}

.hero-banner:before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(20,20,20,.2), rgba(20,20,20,.06)),
		linear-gradient(0deg, rgba(20,20,20,.48), rgba(20,20,20,0) 52%);
}

.hero-banner > div {
	position: relative;
	z-index: 1;
	width: min(420px, calc(100% - 44px));
	margin: 28px;
	border-radius: 18px;
	padding: 22px;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
}

.hero-banner span {
	display: block;
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hero-banner strong {
	display: block;
	font-size: 25px;
	line-height: 1.15;
}

.hero-banner p {
	margin: 10px 0 0;
	color: var(--muted);
}

.hero-banner em {
	display: inline-flex;
	margin-top: 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 11px;
	background: #f4f4f2;
	color: var(--ink);
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
}

.stat-strip {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 3px 14px;
	border-radius: 0;
	padding: 18px;
	background: #f5f5f2;
	color: var(--ink);
}

.stat-strip strong {
	font-size: 30px;
	line-height: 1;
}

.stat-strip span {
	align-self: center;
	color: var(--muted);
	font-weight: 700;
}

.architecture-section,
.projects-section,
.brands-section,
.proof-section,
.systems-section,
.assessment-section,
.archive-intro {
	padding: 48px 0;
}

.architecture-section,
.section-heading,
.systems-section,
.assessment-section,
.access-panel {
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	gap: 26px;
}

.architecture-grid,
.project-grid,
.brand-grid,
.proof-grid,
.technical-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.proof-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.architecture-grid article,
.proof-grid article,
.project-card,
.brand-card,
.list-card,
.systems-list,
.qa-list,
.tech-panel,
.credential-card {
	padding: 24px;
}

.proof-grid article,
.documentation-band {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .86);
	box-shadow: var(--shadow);
}

.proof-grid strong {
	display: block;
	margin-bottom: 12px;
	color: var(--ink);
	font-size: 18px;
}

.proof-grid p {
	margin: 0;
	color: var(--muted);
}

.documentation-band {
	display: grid;
	grid-template-columns: .7fr 1fr auto;
	align-items: center;
	gap: 24px;
	margin: 42px 0;
	padding: 30px;
}

.documentation-band p {
	margin: 0;
	color: var(--muted);
}

.architecture-grid article span {
	display: inline-flex;
	margin-bottom: 22px;
	color: var(--silver);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .18em;
}

.architecture-grid p,
.project-card p,
.brand-card p,
.systems-list,
.qa-list,
.site-footer,
.case-body,
.tech-panel p,
.access-panel p {
	color: var(--muted);
}

.project-card,
.brand-card {
	display: flex;
	flex-direction: column;
	min-height: 360px;
}

.project-thumb {
	display: block;
	margin: -8px -8px 22px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--surface-soft);
}

.project-thumb img,
.project-hero-image img {
	display: block;
	width: 100%;
	height: auto;
}

.project-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.project-icon,
.brand-card span {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: var(--surface-soft);
	color: var(--charcoal);
	font-size: 14px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.project-type {
	margin: 0;
	color: var(--silver);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .12em;
	text-align: right;
	text-transform: uppercase;
}

.project-card h3 a,
.list-card h2 a,
.brand-card a {
	text-decoration: none;
}

.brand-card h3 {
	margin-top: 28px;
}

.brand-card a {
	margin-top: auto;
	color: var(--ink);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.pill-list li {
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 10px;
	background: #f2f2f0;
	color: var(--charcoal);
	font-size: 12px;
	font-weight: 700;
}

.project-meta {
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	color: var(--silver);
	font: 600 11px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.systems-list p,
.qa-list p {
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.systems-list p:first-child,
.qa-list p:first-child {
	padding-top: 0;
}

.systems-list p:last-child,
.qa-list p:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 40px 0 52px;
	border-top: 1px solid var(--line);
}

.content-list {
	display: grid;
	gap: 18px;
	padding-bottom: 56px;
}

.single-project,
.page-content {
	margin: 42px auto 72px;
	padding: clamp(28px, 5vw, 64px);
}

.documentation-page {
	margin: 42px auto 72px;
}

.doc-hero {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	padding: clamp(34px, 6vw, 72px);
}

.doc-hero p {
	max-width: 760px;
	color: var(--muted);
	font-size: 20px;
}

.doc-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 22px 0;
}

.doc-summary-grid div {
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	padding: 18px;
}

.doc-summary-grid span {
	display: block;
	color: var(--silver);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.doc-summary-grid strong {
	display: block;
	margin-top: 8px;
	font-size: 17px;
}

.doc-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.doc-nav,
.doc-content {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.doc-nav {
	position: sticky;
	top: 20px;
	display: grid;
	gap: 6px;
	padding: 18px;
}

.doc-nav a {
	border-radius: 12px;
	padding: 10px 12px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.doc-nav a:hover {
	background: var(--surface-soft);
	color: var(--ink);
}

.doc-content {
	padding: clamp(24px, 4vw, 48px);
}

.doc-content section {
	padding: 30px 0;
	border-top: 1px solid var(--line);
}

.doc-content h2 {
	margin-bottom: 16px;
	font-size: 42px;
}

.doc-content code {
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 2px 6px;
	background: #f2f2f0;
	font-size: .92em;
}

.single-hero {
	max-width: 900px;
}

.project-detail-hero {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr);
	gap: 28px;
	align-items: center;
	max-width: none;
}

.project-hero-image {
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface-soft);
	box-shadow: var(--shadow);
}

.single-hero h1 {
	font-size: clamp(32px, 4vw, 52px);
}

.single-hero p {
	color: var(--muted);
	font-size: 20px;
}

.case-meta,
.metric-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 34px 0;
}

.case-meta div,
.metric-grid div,
.flex-section {
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 20px;
	background: #f8f8f6;
}

.case-meta span,
.metric-grid span,
.credential-card dt {
	display: block;
	color: var(--silver);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.case-meta strong,
.metric-grid strong {
	display: block;
	overflow-wrap: anywhere;
	font-size: 16px;
}

.access-panel {
	align-items: start;
	margin: 0 0 34px;
	padding: 26px;
	background: #fafafa;
}

.access-panel h2 {
	font-size: 46px;
}

.credential-card {
	background: var(--surface);
	box-shadow: none;
}

.credential-card dl {
	display: grid;
	gap: 10px;
	margin: 0;
}

.credential-card dd {
	margin: 0 0 8px;
	overflow-wrap: anywhere;
	color: var(--charcoal);
	font-weight: 700;
}

.credential-card code {
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 3px 7px;
	background: #f2f2f0;
	color: var(--ink);
}

.technical-grid {
	margin: 24px 0 36px;
}

.tech-panel {
	min-height: 250px;
	background: var(--surface);
	box-shadow: none;
}

.tech-panel.dark {
	background: var(--charcoal);
	color: #fff;
}

.tech-panel.dark h2,
.tech-panel.dark .check-list,
.tech-panel.dark p {
	color: #fff;
}

.tech-panel h2 {
	margin-bottom: 20px;
	font-size: 34px;
}

.check-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--charcoal);
}

.check-list li {
	position: relative;
	padding-left: 22px;
}

.check-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: .67em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.case-body {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 28px;
}

.case-body h2 {
	margin: 26px 0 12px;
	font-size: 38px;
}

.case-body h2:first-child {
	margin-top: 0;
}

.case-body aside {
	border-left: 1px solid var(--line-strong);
	padding-left: 26px;
}

.directory-page {
	margin: 42px auto 72px;
}

.directory-hero {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	padding: clamp(32px, 5vw, 64px);
}

.directory-hero p {
	max-width: 760px;
	color: var(--muted);
	font-size: 20px;
}

.project-directory-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 24px;
}

.directory-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	padding: 24px;
}

.directory-card h2 {
	margin-bottom: 14px;
	font-size: 40px;
}

.directory-card h2 a {
	text-decoration: none;
}

.directory-meta {
	margin: 22px 0;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

.directory-meta span {
	display: block;
	color: var(--silver);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.directory-meta strong {
	display: block;
	margin-top: 6px;
}

.section-link {
	margin-top: 22px;
}

.brand-grid.standalone {
	margin-top: 24px;
}

.flex-hero {
	margin-top: 28px;
	background: var(--charcoal);
	color: #fff;
}

.flex-hero h2,
.flex-hero p,
.flex-hero .eyebrow {
	color: #fff;
}

@media (max-width: 920px) {
	.site-header,
	.site-footer,
	.hero-section,
	.architecture-section,
	.section-heading,
	.systems-section,
	.assessment-section,
	.access-panel,
	.documentation-band,
	.doc-layout,
	.project-detail-hero,
	.case-body {
		display: block;
	}

	.main-nav {
		display: none;
	}

	.hero-panel,
	.architecture-grid,
	.project-grid,
	.brand-grid,
	.proof-grid,
	.technical-grid,
	.project-directory-grid,
	.doc-summary-grid,
	.credential-card {
		margin-top: 18px;
	}

	.hero-section {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		padding: 0;
	}

	.hero-copy,
	.hero-panel {
		border-radius: 0;
	}

	.architecture-grid,
	.project-grid,
	.brand-grid,
	.proof-grid,
	.project-directory-grid,
	.doc-summary-grid,
	.case-meta,
	.metric-grid,
	.technical-grid {
		grid-template-columns: 1fr;
	}

	h1 {
		font-size: clamp(30px, 8vw, 42px);
	}
}
