/* ==========================================================================
   Harshal Agrawal — portfolio theme v2
   One family: Bricolage Grotesque (it ships with no italic — none are used).
   Deep-space ink ground, holographic gradient headings and washes,
   porcelain light chapters. No SVG artwork, no charts, no italics.
   ========================================================================== */

:root {
	/* ground */
	--ink: #07080f;
	--ink-2: #0b0d18;
	--ink-3: #121527;
	--ink-4: #1a1e38;
	--paper: #f2f3f7;
	--paper-2: #e9eaf1;
	--paper-3: #dfe1ec;

	/* holographic accents */
	--holo-a: #6fe7dd;   /* mint-cyan */
	--holo-b: #9f8cff;   /* violet */
	--holo-c: #f5b678;   /* warm amber */
	--deep-a: #0e7c8c;
	--deep-b: #4f46c8;
	--deep-c: #b96a22;
	--accent: #8b7cff;
	--accent-deep: #4f46c8;

	/* gradients */
	--g-holo: linear-gradient(100deg, var(--holo-a) 0%, var(--holo-b) 48%, var(--holo-c) 100%);
	--g-deep: linear-gradient(100deg, var(--deep-a) 0%, var(--deep-b) 48%, var(--deep-c) 100%);
	--g-panel: linear-gradient(120deg, rgba(111,231,221,0.14), rgba(159,140,255,0.14) 50%, rgba(245,182,120,0.12));
	--g-panel-light: linear-gradient(120deg, rgba(111,231,221,0.22), rgba(159,140,255,0.20) 50%, rgba(245,182,120,0.20));
	--g-hair: linear-gradient(90deg, rgba(111,231,221,0.5), rgba(159,140,255,0.5), rgba(245,182,120,0.5));

	/* lines & muted */
	--line-d: rgba(236, 238, 250, 0.12);
	--line-l: rgba(15, 18, 40, 0.13);
	--muted-d: rgba(226, 228, 244, 0.64);
	--muted-l: rgba(18, 22, 46, 0.62);

	--font: "Bricolage Grotesque", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 5vw, 72px);
	--max: 1360px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--radius: 20px;
	--radius-s: 12px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font);
	font-size: 16.5px;
	line-height: 1.62;
	font-weight: 400;
	letter-spacing: 0.002em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
em, i, cite, address { font-style: normal; }
::selection { background: var(--accent); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted-l);
	margin-bottom: 18px;
}
.eyebrow--light { color: var(--muted-d); }

.h1, .h2, .hero__title, .chapter__t, .num__v, .site-foot__mark {
	font-weight: 640;
	font-variation-settings: "opsz" 96;
	letter-spacing: -0.028em;
	line-height: 1.02;
}
/* Gradient headings — the signature of the site. */
.h1, .h2, .hero__title, .chapter__t {
	background: var(--g-deep);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.is-dark .h1, .is-dark .h2, .hero__title,
.h1--light, .h2--light {
	background: linear-gradient(100deg, #f6f7ff 0%, #cfd3ee 55%, #9fa6d8 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.h1 { font-size: clamp(40px, 5.8vw, 86px); max-width: 16ch; }
.h2 { font-size: clamp(32px, 4.2vw, 58px); max-width: 20ch; }
/* the emphasised phrase inside a heading takes the full holographic ramp */
.h1 em, .h2 em, .hero__title em, .chapter__t em, .gx {
	background: var(--g-deep);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	font-weight: inherit;
}
.is-dark .h1 em, .is-dark .h2 em, .hero__title em,
.h1--light em, .h2--light em, .is-dark .gx {
	background: var(--g-holo);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.h3 { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }

.lede { font-size: clamp(17.5px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; font-weight: 420; }
.lede--light { color: var(--muted-d); }
.prose { max-width: 66ch; color: var(--ink-2); line-height: 1.72; }
.link-arrow { display: inline-block; margin-top: 28px; font-weight: 560; color: var(--ink-2); border-bottom: 1.5px solid transparent; border-image: var(--g-deep) 1; border-image-width: 0 0 1.5px 0; padding-bottom: 3px; transition: opacity 0.3s; }
.link-arrow:hover { opacity: 0.75; }
.link-arrow--light { color: var(--paper); border-image: var(--g-holo) 1; border-image-width: 0 0 1.5px 0; }
.stars { color: var(--holo-c); letter-spacing: 0.08em; font-size: 14px; }
.is-light .stars { color: var(--deep-c); }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px;
	font-weight: 580; font-size: 15px;
	background: var(--paper); color: var(--ink);
	border: 1px solid transparent;
	transition: transform 0.4s var(--ease), box-shadow 0.4s, opacity 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--big { padding: 18px 34px; font-size: 17px; }
.btn--grad, .btn--lime { background: var(--g-holo); color: #0a0c16; font-weight: 640; }
.btn--grad:hover, .btn--lime:hover { box-shadow: 0 10px 34px rgba(159, 140, 255, 0.35); }
.btn--ghost {
	background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--g-holo) border-box;
	border: 1px solid transparent; color: var(--paper);
}
.btn--ghost:hover { background: linear-gradient(var(--ink-3), var(--ink-3)) padding-box, var(--g-holo) border-box; }
.is-light .btn--ghost { background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--g-deep) border-box; color: var(--ink-2); }
.is-light .btn--ghost:hover { background: linear-gradient(#fff, #fff) padding-box, var(--g-deep) border-box; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }

/* ---------- sections ---------- */
section, .project__head, .letter__head { padding: clamp(72px, 9vw, 136px) var(--gutter); }
.is-dark { background: var(--ink); color: var(--paper); position: relative; z-index: 1; }
.is-light { background: var(--paper); color: var(--ink-2); position: relative; z-index: 2; }
.is-light + .is-light { padding-top: 0; }
/* gradient atmosphere on section grounds */
.is-dark::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
	background:
		radial-gradient(52% 44% at 82% 0%, rgba(159, 140, 255, 0.13), transparent 68%),
		radial-gradient(40% 38% at 8% 92%, rgba(111, 231, 221, 0.08), transparent 70%);
}
.is-light::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background:
		radial-gradient(52% 42% at 92% 0%, rgba(159, 140, 255, 0.09), transparent 72%),
		radial-gradient(44% 36% at 0% 100%, rgba(111, 231, 221, 0.07), transparent 74%);
}
.is-light + .is-light::before { display: none; }
.is-light > *, .is-dark > * { position: relative; z-index: 1; }
.section-head { max-width: var(--max); margin: 0 auto clamp(36px, 4vw, 60px); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 48px; }
.section-head .eyebrow { flex: 0 0 100%; margin-bottom: 0; }
.section-head .link-arrow { margin: 0 0 8px auto; }
.section-head__note { flex: 0 0 100%; max-width: 62ch; color: var(--muted-l); }
.is-dark .section-head__note { color: var(--muted-d); }
.empty { text-align: center; color: var(--muted-l); padding: 40px 0; }

/* ---------- photos ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--ink-3), #232853 55%, #17203f); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.8s; }
.ph--missing img { opacity: 0; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 15, 0) 42%, rgba(7, 8, 15, 0.38)); pointer-events: none; }

/* ---------- header ---------- */
.site-head {
	position: fixed; inset: 0 0 auto 0; z-index: 60;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px var(--gutter);
	transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--g-hair); opacity: 0; transition: opacity 0.4s; }
.site-head.is-stuck { background: rgba(7, 8, 15, 0.74); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-block: 11px; }
.site-head.is-stuck::after { opacity: 0.6; }
body.light-nav .site-head.is-stuck { background: rgba(242, 243, 247, 0.8); color: var(--ink-2); }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 640; font-size: 19px; letter-spacing: -0.02em; }
.brand__sub { font-size: 10.5px; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.62; margin-top: 3px; }
.site-nav { display: none; align-items: center; gap: 24px; font-size: 14.5px; font-weight: 500; }
.site-nav a { position: relative; opacity: 0.82; transition: opacity 0.3s; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { opacity: 1; }
.site-nav a[aria-current]:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--g-holo); }
body.light-nav .site-nav a[aria-current]:not(.btn)::after { background: var(--g-deep); }
.site-nav .btn { opacity: 1; }
body.light-nav .site-head.is-stuck .btn--small { background: var(--ink); color: var(--paper); }
.menu-toggle { padding: 10px 16px; border: 1px solid var(--line-d); border-radius: 999px; font-size: 14px; }
body.light-nav .site-head.is-stuck .menu-toggle { border-color: var(--line-l); }
@media (min-width: 1120px) {
	.site-nav { display: flex; }
	.menu-toggle { display: none; }
}
@media (max-width: 1119px) {
	.site-nav.is-open {
		display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
		position: fixed; inset: 0; padding: 110px var(--gutter) 40px;
		background: var(--ink); color: var(--paper); font-size: 26px; font-weight: 600; z-index: -1;
	}
	.site-nav.is-open a { opacity: 0.9; }
	.site-nav.is-open .btn { font-size: 16px; margin-top: 12px; }
}

/* ---------- spine ---------- */
.spine { display: none; }
@media (min-width: 1240px) {
	.spine { display: block; position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 50; }
	.spine__list { display: flex; flex-direction: column; gap: 14px; }
	.spine__list a { display: flex; align-items: center; gap: 12px; opacity: 0.42; transition: opacity 0.3s; font-size: 10.5px; font-weight: 560; letter-spacing: 0.13em; text-transform: uppercase; }
	.spine__list a::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: width 0.4s var(--ease), background 0.4s; }
	.spine__list a span { opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; white-space: nowrap; }
	.spine__list li.is-active a { opacity: 1; }
	.spine__list li.is-active a::before { width: 34px; background: var(--accent); }
	.spine:hover .spine__list a span { opacity: 1; transform: none; }
	body.light-nav .spine { color: var(--ink-2); }
}

/* ---------- journey pill ---------- */
.journey {
	position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 70;
	display: flex; align-items: center; gap: 14px;
	background: rgba(12, 14, 26, 0.88); color: var(--paper);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	padding: 10px 12px 10px 18px; border-radius: 999px; font-size: 13px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(159, 140, 255, 0.25);
	max-width: calc(100vw - 32px);
}
.journey[hidden] { display: none; }
.journey__label { letter-spacing: 0.14em; text-transform: uppercase; font-size: 10.5px; font-weight: 560; opacity: 0.6; white-space: nowrap; }
.journey__steps { display: none; gap: 7px; }
@media (min-width: 700px) { .journey__steps { display: flex; } }
.journey__steps li { width: 26px; height: 4px; border-radius: 2px; background: var(--line-d); }
.journey__steps li.is-done { background: var(--holo-a); }
.journey__steps li.is-now { background: var(--holo-b); }
.journey__next { background: var(--g-holo); color: #0a0c16; padding: 8px 15px; border-radius: 999px; font-weight: 620; white-space: nowrap; }
.journey__close { order: 10; opacity: 0.6; font-size: 18px; line-height: 1; padding: 0 4px; }

/* ---------- cursor glow ---------- */
.glow {
	position: fixed; z-index: 0; pointer-events: none;
	width: 680px; height: 680px; border-radius: 50%;
	left: -340px; top: -340px;
	background: radial-gradient(circle, rgba(159, 140, 255, 0.14), rgba(111, 231, 221, 0.05) 45%, transparent 65%);
	transform: translate(var(--gx, -1000px), var(--gy, -1000px));
	transition: opacity 0.6s; opacity: 0;
	filter: blur(12px);
}
body.glow-on .glow { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 96svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 150px; padding-bottom: 130px; }
.hero__aurora {
	position: absolute; inset: -25% -10% auto -10%; height: 130%; pointer-events: none; z-index: 0;
	background:
		radial-gradient(42% 52% at 74% 24%, rgba(159, 140, 255, 0.34), transparent 68%),
		radial-gradient(30% 40% at 16% 66%, rgba(111, 231, 221, 0.16), transparent 70%),
		radial-gradient(34% 44% at 88% 84%, rgba(245, 182, 120, 0.13), transparent 70%);
	filter: blur(44px);
	animation: aurora 20s ease-in-out infinite alternate;
}
@keyframes aurora {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	100% { transform: translate3d(-4%, 3%, 0) scale(1.07); }
}
.hero__inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero__title { font-size: clamp(40px, 6.6vw, 104px); max-width: 14ch; }
.hero__line2 { display: inline-block; font-size: 0.58em; margin-top: 0.25em; font-weight: 560;
	background: linear-gradient(100deg, rgba(226, 228, 244, 0.75), rgba(159, 166, 216, 0.7));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.rotator { display: inline-block; min-width: 5ch; }
.rotator em { display: inline-block; transition: opacity 0.35s, transform 0.5s var(--ease); }
.rotator.is-swapping em { opacity: 0; transform: translateY(12px); }
.hero__lede { margin-top: 30px; max-width: 60ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted-d); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

/* proof band — verified numbers under the hero */
.proofbar { position: relative; z-index: 1; max-width: var(--max); margin: 52px auto 0; border-radius: var(--radius); padding: 22px 26px;
	background: var(--g-panel);
	box-shadow: inset 0 0 0 1px rgba(159, 140, 255, 0.22);
	display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; }
.proofbar__item { display: flex; flex-direction: column; gap: 2px; }
.proofbar__v { font-weight: 660; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em;
	background: var(--g-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
	font-variant-numeric: tabular-nums; }
.proofbar__l { font-size: 11.5px; font-weight: 540; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-d); }
.proofbar__src { margin-left: auto; font-size: 12.5px; color: var(--muted-d); max-width: 30ch; }
.proofbar__src a { border-bottom: 1px solid var(--line-d); font-weight: 560; }

.ticker { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; padding: 15px 0; z-index: 1; background: rgba(7, 8, 15, 0.5); }
.ticker::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--g-hair); opacity: 0.5; }
.ticker__track { display: flex; gap: 48px; width: max-content; animation: ticker 60s linear infinite; }
.ticker__track span { font-size: 11.5px; font-weight: 560; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-d); white-space: nowrap; }
.ticker__track span::before { content: "·"; margin-right: 48px; background: var(--g-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- doors ---------- */
.doors { padding-top: 0; }
.doors__head { max-width: var(--max); margin: 0 auto 40px; }
.doors__row { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.door {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 300px; border-radius: var(--radius); overflow: hidden;
	background: var(--ink-3); color: var(--paper);
	transition: flex 0.9s var(--ease), min-height 0.6s var(--ease), box-shadow 0.5s;
}
.door:hover, .door.is-open { box-shadow: inset 0 0 0 1px rgba(159, 140, 255, 0.35); }
.door__photo { position: absolute; inset: 0; }
.door__photo::after { background: linear-gradient(180deg, rgba(7, 8, 15, 0.12), rgba(7, 8, 15, 0.86)); }
.door__photo img { transform: scale(1.04); }
.door:hover .door__photo img, .door.is-open .door__photo img { transform: scale(1); }
.door__label { position: absolute; top: 22px; left: 22px; z-index: 2; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 13px; border-radius: 999px; background: rgba(10, 12, 22, 0.5); box-shadow: inset 0 0 0 1px rgba(159, 140, 255, 0.35); backdrop-filter: blur(6px); }
.door__body { position: relative; z-index: 2; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.door__title { font-weight: 640; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.06; letter-spacing: -0.02em; }
.door__text { color: var(--muted-d); font-size: 15px; max-width: 44ch; }
.door__cta { font-weight: 600; margin-top: 6px; background: var(--g-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; width: fit-content; }
@media (min-width: 900px) {
	.doors__row { flex-direction: row; height: 500px; }
	.door { flex: 1; min-height: 0; }
	.door.is-open { flex: 2.6; }
	.door:not(.is-open) .door__text, .door:not(.is-open) .door__cta { display: none; }
	.door:not(.is-open) .door__title { font-size: 24px; writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; }
	.door:not(.is-open) .door__body { padding: 26px 22px; }
}

/* ---------- numbers & belief ---------- */
.numbers__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding-top: 40px; position: relative; }
.numbers__grid::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--g-hair); }
@media (min-width: 900px) { .numbers__grid { grid-template-columns: repeat(4, 1fr); } }
.num__v { display: block; font-size: clamp(56px, 7vw, 112px); line-height: 0.95; font-variant-numeric: tabular-nums;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.num__l { display: block; margin-top: 12px; max-width: 22ch; color: var(--muted-l); font-size: 15px; }
.belief { max-width: var(--max); margin: clamp(72px, 9vw, 130px) auto 0; display: grid; gap: 22px; }
.belief .lede { max-width: 66ch; }
@media (min-width: 1000px) { .belief { grid-template-columns: 1.35fr 1fr; align-items: end; column-gap: 64px; } .belief .eyebrow { grid-column: 1 / -1; } .belief .h1 { max-width: 15ch; } }

/* ---------- reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- featured cards ---------- */
.featured__grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 26px; }
@media (min-width: 760px) { .featured__grid { grid-template-columns: repeat(2, 1fr); } }
.fcard { display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.fcard__photo { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.fcard:hover .fcard__photo img { transform: scale(1.04); }
.fcard__meta { margin-top: 8px; font-size: 11.5px; font-weight: 560; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-l); }
.fcard__title { font-weight: 640; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.06; letter-spacing: -0.02em; }
.fcard__text { color: var(--muted-l); max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- quotes ---------- */
.quotes { max-width: var(--max); margin: 0 auto; columns: 1; column-gap: 26px; }
@media (min-width: 760px) { .quotes { columns: 2; } }
@media (min-width: 1100px) { .quotes { columns: 3; } }
.quote { break-inside: avoid; margin-bottom: 26px; padding: 28px 30px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--g-deep); opacity: 0.85; }
.quote p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; font-weight: 460; color: var(--ink-2); }
.quote footer { margin-top: 18px; font-size: 14px; font-weight: 600; }
.quote footer span { display: block; font-weight: 420; color: var(--muted-l); margin-top: 2px; }
.quote--dark { background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line-d); }
.quote--dark::before { background: var(--g-holo); }
.quote--dark p { color: var(--paper); }
.quote--dark footer span { color: var(--muted-d); }
.quote--big { background: none; box-shadow: none; padding: 0; }
.quote--big::before { display: none; }
.quote--big p { font-size: clamp(22px, 2.2vw, 32px); font-weight: 540; letter-spacing: -0.015em;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- process steps ---------- */
.steps { max-width: var(--max); margin: 0 auto; display: grid; gap: 2px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { padding: 28px 22px 32px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--line-d); display: flex; flex-direction: column; gap: 12px; }
.step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
@media (max-width: 899px) { .step:first-child { border-radius: var(--radius) var(--radius) 0 0; } .step:last-child { border-radius: 0 0 var(--radius) var(--radius); } }
.step__n { font-weight: 660; font-size: 38px; line-height: 1; background: var(--g-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.step__t { font-weight: 620; font-size: 24px; letter-spacing: -0.015em; }
.step__x { color: var(--muted-d); font-size: 14.5px; }
.process-teaser .link-arrow { display: block; max-width: var(--max); margin: 32px auto 0; width: fit-content; }

/* ---------- platform cards ---------- */
.studio-teaser__intro { max-width: var(--max); margin: 0 auto 56px; display: grid; gap: 22px; }
@media (min-width: 1000px) { .studio-teaser__intro { grid-template-columns: 1.2fr 1fr; column-gap: 64px; align-items: end; } .studio-teaser__intro .eyebrow { grid-column: 1 / -1; } .studio-teaser__intro .h1 { grid-row: 2 / 4; } .studio-teaser__intro .btn { justify-self: start; } }
.pgrid { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.028); box-shadow: inset 0 0 0 1px var(--line-d); transition: box-shadow 0.4s, background 0.4s, transform 0.6s var(--ease); }
.pcard a:hover { box-shadow: inset 0 0 0 1px rgba(159, 140, 255, 0.5); background: rgba(159, 140, 255, 0.05); transform: translateY(-4px); }
.pcard__photo { aspect-ratio: 16 / 9; border-radius: var(--radius-s); }
.pcard__name { font-weight: 640; font-size: 26px; letter-spacing: -0.02em; line-height: 1.05; margin-top: 8px; }
.pcard__line { color: var(--muted-d); font-size: 14.5px; }
.pcard__state { margin-top: auto; padding-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
	background: var(--g-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- letters/foundations teaser ---------- */
.lgrid { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; }
@media (min-width: 900px) { .lgrid { grid-template-columns: repeat(3, 1fr); } }
.lcard { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--radius); color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); transition: transform 0.6s var(--ease), box-shadow 0.4s; position: relative; overflow: hidden; }
.lcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--g-deep); }
.lcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(79, 70, 200, 0.45); }
.lcard__n { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-l); }
.lcard__t { font-weight: 640; font-size: 30px; letter-spacing: -0.02em; line-height: 1.05; }
.lcard__s { color: var(--muted-l); }

/* ---------- faq ---------- */
.faq__list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line-l); }
.faq__item { border-bottom: 1px solid var(--line-l); }
.faq__item summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: clamp(19px, 1.7vw, 25px); letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 20px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-weight: 500; background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; transition: transform 0.4s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 24px; max-width: 64ch; color: var(--muted-l); }

/* ---------- cta band ---------- */
.cta-band { text-align: center; overflow: hidden; }
.cta-band__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-band .h1 { max-width: none; }
.cta-band .btn { margin-top: 12px; }

/* ---------- footer ---------- */
.site-foot { padding: 80px var(--gutter) 30px; background: var(--ink); color: var(--paper); overflow: hidden; position: relative; }
.site-foot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--g-hair); }
.site-foot__grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
@media (min-width: 800px) { .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot__col { display: flex; flex-direction: column; gap: 10px; }
.site-foot .eyebrow { color: var(--muted-d); }
.site-foot__col a { opacity: 0.8; transition: opacity 0.3s; width: fit-content; }
.site-foot__col a:hover { opacity: 1; }
.site-foot__mail { font-weight: 620; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; opacity: 1 !important;
	background: var(--g-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.site-foot__based { color: var(--muted-d); font-size: 15px; }
.site-foot__mark { font-size: clamp(80px, 20vw, 320px); line-height: 0.85; letter-spacing: -0.04em; text-align: center; margin: 90px -0.05em 30px; user-select: none;
	background: linear-gradient(180deg, rgba(236, 238, 250, 0.9), rgba(159, 140, 255, 0.25));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.site-foot__legal { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted-d); border-top: 1px solid var(--line-d); padding-top: 22px; }

/* ---------- page hero ---------- */
.page-hero { padding-top: 170px; }
.page-hero > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.page-hero .lede { margin-top: 26px; }
.page-hero .btn { margin-top: 30px; }
.page-hero--studio::before {
	background:
		radial-gradient(56% 48% at 82% 4%, rgba(159, 140, 255, 0.22), transparent 68%),
		radial-gradient(38% 36% at 6% 90%, rgba(111, 231, 221, 0.12), transparent 70%);
}

/* ---------- filters ---------- */
.filters { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; max-width: var(--max); }
.filters__search { width: 100%; max-width: 520px; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, 0.04); color: inherit; font: inherit; font-size: 15px; }
.is-light .filters__search { border-color: var(--line-l); background: #fff; }
.filters__search:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-d); font-size: 13px; font-weight: 540; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.chip.is-on { background: var(--g-holo); color: #0a0c16; box-shadow: none; font-weight: 640; }
.chip:hover:not(.is-on) { box-shadow: inset 0 0 0 1px currentColor; }
.chip--ghost { opacity: 0.75; }
.is-light .chip { box-shadow: inset 0 0 0 1px var(--line-l); }
.is-light .chip.is-on { background: var(--g-deep); color: #fff; }
.is-hidden { display: none !important; }

/* ---------- case grid ---------- */
.cgrid { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; }
@media (min-width: 720px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cgrid { grid-template-columns: repeat(3, 1fr); } }
.ccard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); color: var(--ink-2); transition: transform 0.6s var(--ease), box-shadow 0.4s; }
.ccard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(79, 70, 200, 0.45); }
.ccard__photo { aspect-ratio: 16 / 10; }
.ccard:hover .ccard__photo img { transform: scale(1.04); }
.ccard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.ccard__meta { font-size: 11.5px; font-weight: 560; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-l); }
.ccard__title { font-weight: 640; font-size: 26px; letter-spacing: -0.02em; line-height: 1.05; }
.ccard__tech { color: var(--muted-l); font-size: 14px; margin-top: 6px; }

/* ---------- live sites ---------- */
.sites { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line-l); }
.site-row a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line-l); align-items: center; transition: padding-left 0.4s var(--ease); }
.site-row a:hover { padding-left: 10px; }
@media (min-width: 900px) { .site-row a { grid-template-columns: 1.3fr 1.3fr 1fr 1fr auto; } }
.site-row__name { font-weight: 620; font-size: 22px; letter-spacing: -0.015em; }
.site-row__url, .site-row__place, .site-row__ind { color: var(--muted-l); font-size: 15px; }
.site-row__arrow { font-size: 20px; background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- ledger ---------- */
.ledger { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 34px; }
.ledger__group { position: relative; padding-top: 24px; }
.ledger__group::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--g-deep); opacity: 0.55; border-radius: 2px; }
.ledger__client { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: 12px; }
.ledger__name { font-weight: 640; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -0.02em; }
.ledger__place, .ledger__count { color: var(--muted-l); font-size: 14px; }
.ledger__count { margin-left: auto; }
.ledger__row a { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; padding: 14px 0; border-top: 1px solid var(--line-l); align-items: center; transition: padding-left 0.4s var(--ease); }
.ledger__row a:hover { padding-left: 10px; }
@media (min-width: 900px) { .ledger__row a { grid-template-columns: 150px 1.6fr 1fr auto; } }
.ledger__date { font-size: 12px; font-weight: 560; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-l); }
.ledger__title { font-size: 17px; font-weight: 500; }
.ledger__tech { color: var(--muted-l); font-size: 14px; }

/* ---------- project header ---------- */
.project__head { display: grid; gap: 40px; padding-top: 170px; max-width: none; }
@media (min-width: 1000px) { .project__head { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.project__head-text { max-width: 720px; margin-left: auto; margin-right: 0; width: 100%; }
@media (min-width: 1000px) { .project__head-text { margin-left: max(0px, calc((100vw - var(--max)) / 2 - var(--gutter))); } }
.project__head .lede { margin-top: 20px; }
.project__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); max-width: 640px; }
.facts { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; padding-top: 24px; position: relative; }
.facts::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--g-hair); opacity: 0.6; }
.facts dt { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 4px; }
.facts dd { font-size: 16px; }
.facts dd a { border-bottom: 1px solid var(--line-d); }
.prose-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 12px; padding: 34px 0; border-top: 1px solid var(--line-l); }
.prose-grid:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .prose-grid { grid-template-columns: 240px 1fr; column-gap: 60px; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: 13px; font-weight: 540; padding: 6px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-l); color: var(--muted-l); }

/* ---------- screenshot theatre ---------- */
.theatre-wrap { background: var(--paper-2); }
.theatre-wrap .section-head .btn { margin-left: auto; }
.theatre { max-width: 1100px; margin: 0 auto; }
.has-shot .theatre { min-height: 260vh; }
.theatre__frame { position: sticky; top: 9vh; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 40px 100px rgba(10, 12, 30, 0.28), 0 0 0 1px var(--line-l); }
.theatre__chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--paper-3); border-bottom: 1px solid var(--line-l); }
.theatre__chrome span { width: 10px; height: 10px; border-radius: 50%; }
.theatre__chrome span:nth-child(1) { background: var(--deep-c); }
.theatre__chrome span:nth-child(2) { background: var(--holo-c); }
.theatre__chrome span:nth-child(3) { background: var(--deep-a); }
.theatre__chrome i { margin-left: 14px; font-size: 12px; color: var(--muted-l); background: #fff; padding: 4px 12px; border-radius: 6px; flex: 1; max-width: 420px; }
.theatre__viewport { height: 72vh; overflow: hidden; position: relative; }
.theatre__scroll { will-change: transform; transition: transform 0.08s linear; }
.theatre__img { width: 100%; height: auto; }
.theatre-wrap.is-expanded .theatre { min-height: 0; }
.theatre-wrap.is-expanded .theatre__frame { position: static; }
.theatre-wrap.is-expanded .theatre__viewport { height: auto; }
.theatre-wrap.is-expanded .theatre__scroll { transform: none !important; }
.theatre__empty { height: 100%; min-height: 380px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 12px; padding: 40px; border: 1.5px dashed var(--line-l); margin: 16px; border-radius: var(--radius-s); background: var(--g-panel-light); }
.no-shot .theatre__viewport { height: auto; }
.theatre__empty-t { font-weight: 640; font-size: 28px; letter-spacing: -0.02em;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.theatre__empty-x { max-width: 52ch; color: var(--muted-l); font-size: 15px; }

/* ---------- pager ---------- */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding: 30px var(--gutter) 80px; }
.pager > * { max-width: var(--max); }
.pager a { display: flex; flex-direction: column; gap: 4px; font-weight: 620; font-size: 19px; letter-spacing: -0.015em; line-height: 1.15; min-width: 0; overflow-wrap: anywhere; }
.pager .eyebrow { margin: 0; }
.pager__next { text-align: right; align-items: flex-end; }
.pager__all { font-weight: 540 !important; font-size: 14px !important; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-l); }
@media (max-width: 700px) { .pager { grid-template-columns: 1fr; } .pager__next { text-align: left; align-items: flex-start; } .pager__all { width: fit-content; } }

/* ---------- studio programs ---------- */
.program { position: relative; }
.program::after { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1.5px; background: var(--g-hair); opacity: 0.45; }
.program__head { max-width: var(--max); margin: 0 auto 44px; display: grid; gap: 16px; }
@media (min-width: 1000px) { .program__head { grid-template-columns: 1fr 1fr; column-gap: 64px; } .program__head .eyebrow { grid-column: 1 / -1; } }
.pgrid--full .pcard__name { font-size: 28px; }

/* ---------- directory ---------- */
.directory .filters { margin: 0 auto 30px; }
.dir { max-width: var(--max); margin: 0 auto; border-top: 2px solid var(--ink-2); }
.dir__row { display: grid; grid-template-columns: 44px 1fr; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
@media (min-width: 900px) { .dir__row { grid-template-columns: 56px 220px 150px 1fr; } }
.dir__n { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; font-variant-numeric: tabular-nums;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.dir__name { font-weight: 620; font-size: 21px; letter-spacing: -0.015em; }
.dir__cat { font-size: 11.5px; font-weight: 560; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-l); }
.dir__line { color: var(--muted-l); grid-column: 2 / -1; }
@media (min-width: 900px) { .dir__line { grid-column: auto; } }

/* ---------- foundations hub ---------- */
.found-chapters { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.found-ch { display: grid; gap: 26px; }
@media (min-width: 1000px) { .found-ch { grid-template-columns: 300px 1fr; column-gap: 72px; } }
.found-ch__side { display: flex; flex-direction: column; gap: 12px; align-self: start; }
@media (min-width: 1000px) { .found-ch__side { position: sticky; top: 110px; } }
.found-ch__no { font-weight: 660; font-size: 60px; line-height: 1; font-variant-numeric: tabular-nums;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.found-ch__t { font-weight: 640; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.02em; line-height: 1.05; }
.found-ch__meta { font-size: 13px; color: var(--muted-l); }
.found-ch__side .link-arrow { margin-top: 8px; }
.found-ch__body { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; }
.found-ch__body p { color: var(--ink-2); line-height: 1.72; font-size: 17px; }
.found-ch__body .pull { font-size: clamp(21px, 2vw, 28px); font-weight: 560; letter-spacing: -0.018em; line-height: 1.3; padding: 4px 0 4px 22px; position: relative; margin: 0; }
.found-ch__body .pull::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--g-deep); }
.plat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; align-items: center; }
.plat-chips a, .plat-chips span { font-size: 13px; font-weight: 560; padding: 7px 14px; border-radius: 999px; }
.plat-chips a { background: linear-gradient(#fff, #fff) padding-box, var(--g-deep) border-box; border: 1px solid transparent; color: var(--ink-2); transition: transform 0.3s var(--ease); }
.plat-chips a:hover { transform: translateY(-2px); }
.plat-chips span { box-shadow: inset 0 0 0 1px var(--line-l); color: var(--muted-l); }
.plat-chips .chiplbl { box-shadow: none; padding-left: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.found-src { margin-top: 6px; padding: 22px 26px; border-radius: var(--radius); background: var(--g-panel-light); box-shadow: inset 0 0 0 1px rgba(79, 70, 200, 0.18); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.found-src__t { font-weight: 620; }
.found-src__m { color: var(--muted-l); font-size: 14px; }
.found-src .link-arrow { margin: 0; }

/* ---------- letters (full documents) ---------- */
.letters { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.letter-card { display: grid; gap: 22px; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); color: var(--ink-2); transition: transform 0.6s var(--ease), box-shadow 0.4s; }
.letter-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(79, 70, 200, 0.4); }
@media (min-width: 900px) { .letter-card { grid-template-columns: 1fr 1.6fr; } }
.letter-card__photo { min-height: 260px; }
.letter-card__body { padding: 30px 30px 34px; display: flex; flex-direction: column; gap: 10px; }
.letter-card__t { font-weight: 640; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.02em; line-height: 1.02;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; width: fit-content; }
.letter-card__s { font-weight: 540; font-size: 19px; color: var(--muted-l); line-height: 1.25; }
.letter-card__x { color: var(--muted-l); margin-top: 6px; }
.letter-card .link-arrow { margin-top: 12px; }
.reading-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: transparent; }
.reading-bar i { display: block; height: 100%; width: 0; background: var(--g-holo); transition: width 0.1s linear; }
.letter__head { padding-top: 170px; }
.letter__head > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.letter__head .h1 { max-width: 16ch; }
.letter__layout { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; padding: clamp(60px, 7vw, 100px) var(--gutter); }
@media (min-width: 1000px) { .letter__layout { grid-template-columns: 260px 1fr; column-gap: 80px; } }
.toc { display: none; }
@media (min-width: 1000px) { .toc { display: block; position: sticky; top: 110px; align-self: start; } }
.toc__list { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line-l); }
.toc__list a { display: block; padding: 2px 0 2px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; color: var(--muted-l); transition: color 0.3s, border-color 0.3s; }
.toc__list li.is-active a { color: var(--ink-2); border-color: var(--accent-deep); }
.prose-long { max-width: 68ch; }
.prose-long p { font-size: 17.5px; line-height: 1.75; margin-bottom: 1.4em; color: var(--ink-2); }
.prose-long h2 { font-weight: 640; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.022em; line-height: 1.08; margin: 2.4em 0 0.7em; scroll-margin-top: 110px;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.prose-long h3 { font-weight: 620; font-size: 17px; margin: 2em 0 0.6em; color: var(--accent-deep); }
.pull { font-weight: 560; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.018em; line-height: 1.25; padding: 0.4em 0 0.4em 1em; margin: 1.6em 0; position: relative; color: var(--ink-2); }
.prose-long .pull::before { content: ""; position: absolute; left: 0; top: 0.4em; bottom: 0.4em; width: 3px; border-radius: 3px; background: var(--g-deep); }
.letter__sign { margin-top: 3em; }

/* ---------- capabilities ---------- */
.cap-cycle { max-width: var(--max); margin: 0 auto; display: grid; gap: 2px; }
@media (min-width: 760px) { .cap-cycle { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .cap-cycle { grid-template-columns: repeat(4, 1fr); } }
.cap-stage { padding: 26px 22px 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); display: flex; flex-direction: column; gap: 8px; }
.cap-stage__n { font-size: 12px; font-weight: 640; letter-spacing: 0.12em; font-variant-numeric: tabular-nums;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cap-stage__t { font-weight: 640; font-size: 22px; letter-spacing: -0.015em; }
.cap-stage__x { color: var(--muted-l); font-size: 14.5px; }
.cap-stage__c { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent-deep); }
.cap-groups { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; }
@media (min-width: 900px) { .cap-groups { grid-template-columns: repeat(2, 1fr); } }
.cap-g { padding: 28px 30px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.cap-g::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--g-deep); opacity: 0.85; }
.cap-g__count { font-weight: 660; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cap-g__t { font-weight: 640; font-size: 24px; letter-spacing: -0.015em; }
.cap-g__x { color: var(--muted-l); font-size: 15px; }
.cap-g__links { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.cap-g__links a { font-size: 14px; color: var(--muted-l); border-bottom: 1px solid transparent; width: fit-content; transition: color 0.3s, border-color 0.3s; }
.cap-g__links a:hover { color: var(--ink-2); border-color: var(--line-l); }
.cap-g .link-arrow { margin-top: 14px; }

/* ---------- clients page ---------- */
.rel-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; }
@media (min-width: 900px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }
.rel { padding: 30px 32px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.rel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--g-deep); opacity: 0.85; }
.rel__count { font-weight: 660; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.rel__name { font-weight: 640; font-size: 26px; letter-spacing: -0.02em; }
.rel__meta { font-size: 12.5px; font-weight: 560; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-l); }
.rel__x { color: var(--muted-l); font-size: 15.5px; line-height: 1.65; }
.rel__q { margin-top: 6px; font-weight: 540; color: var(--ink-2); }
.rel__q::before { content: "“"; background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; margin-right: 2px; }
.rel .link-arrow { margin-top: 12px; }

/* ---------- timeline ---------- */
.timeline { max-width: var(--max); margin: 0 auto; display: flex; gap: 16px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.tl { flex: 0 0 min(76vw, 330px); scroll-snap-align: start; padding: 22px 24px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.028); box-shadow: inset 0 0 0 1px var(--line-d); display: flex; flex-direction: column; gap: 8px; }
.tl__when { font-size: 11.5px; font-weight: 620; letter-spacing: 0.14em; text-transform: uppercase;
	background: var(--g-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tl__t { font-weight: 620; font-size: 20px; letter-spacing: -0.015em; }
.tl__x { color: var(--muted-d); font-size: 14.5px; }

/* ---------- process page chapters ---------- */
.chapters { padding-left: 0; padding-right: 0; }
.chapters__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) 24px; scrollbar-width: thin; }
.chapter { flex: 0 0 min(82vw, 520px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); }
.chapter__photo { aspect-ratio: 16 / 10; border-radius: var(--radius-s); }
.chapter__n { font-weight: 660; font-size: 48px; line-height: 1; margin-top: 8px;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.chapter__t { font-size: 34px; }
.chapter__x { color: var(--muted-l); }

/* ---------- principles ---------- */
.principles__grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; }
@media (min-width: 760px) { .principles__grid { grid-template-columns: repeat(2, 1fr); } }
.principle { padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.principle::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--g-deep); opacity: 0.85; }
.principle__n { font-size: 12px; font-weight: 640; letter-spacing: 0.14em;
	background: var(--g-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.principle__t { font-weight: 640; font-size: 26px; letter-spacing: -0.02em; line-height: 1.08; }
.principle__x { color: var(--muted-l); }

/* ---------- journal ---------- */
.jgrid { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; }
@media (min-width: 700px) { .jgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .jgrid { grid-template-columns: repeat(4, 1fr); } }
.jcard { display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.jcard__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.jcard:hover .jcard__photo img { transform: scale(1.04); }
.jcard__t { font-weight: 640; font-size: 25px; letter-spacing: -0.02em; margin-top: 8px; }
.jcard__x { color: var(--muted-l); font-size: 15px; }

/* ---------- form ---------- */
.form { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.hp-honey { position: absolute; left: -9999px; }
.form__intents { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__intents legend { padding: 0; }
.intent input { position: absolute; opacity: 0; }
.intent span { display: inline-block; padding: 12px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-l); font-weight: 540; transition: background 0.3s, color 0.3s, box-shadow 0.3s; cursor: pointer; }
.intent input:checked + span { background: var(--g-deep); color: #fff; box-shadow: none; }
.intent input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 12.5px; font-weight: 560; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted-l); }
.field input, .field select, .field textarea { font: inherit; padding: 14px 16px; border: 1px solid var(--line-l); border-radius: var(--radius-s); background: #fff; color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-deep); outline-offset: 1px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form__note { color: var(--muted-l); font-size: 15px; }
.form__note a { border-bottom: 1px solid var(--line-l); }
.form__ok { padding: 18px 22px; background: var(--g-panel-light); border-radius: var(--radius-s); color: var(--ink-2); font-weight: 540; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
	html.js .reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}
