/* ==========================================================================
   Satya 2.0: Two minds, one person
   Tokens · Base · Atoms · Header · Hero (bento + modes) · Home sections ·
   Cards · Archives · Singles · Forms · Footer · Palette · Patterns · Motion
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Mukta"; src: url(../fonts/mukta-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; src: url(../fonts/mukta-700.woff2) format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
	--f-display: "Fraunces", "Mukta", Georgia, serif;
	--f-sans: "Inter", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
	--f-ne: "Mukta", "Noto Sans Devanagari", var(--f-sans);

	--step--1: clamp(.83rem, .8rem + .1vw, .9rem);
	--step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
	--step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
	--step-2: clamp(1.45rem, 1.25rem + .9vw, 2rem);
	--step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.85rem);
	--step-4: clamp(2.25rem, 1.65rem + 2.8vw, 4.1rem);
	--step-5: clamp(2.9rem, 1.9rem + 4.6vw, 6rem);
	--step-6: clamp(3.2rem, 1.6rem + 6.4vw, 8rem);

	--space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.5rem;
	--space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;
	--section: clamp(4.5rem, 2.5rem + 6vw, 8rem);
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 20px; --radius-s: 12px; --radius-l: 28px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--header-h: 72px;

	--bg: #f4efe6;
	--bg-2: #fbf8f2;
	--surface: #ebe4d5;
	--ink: #15181a;
	--ink-2: #565c60;
	--ink-3: #8a8f91;
	--line: rgba(21, 24, 26, .1);
	--line-2: rgba(21, 24, 26, .2);
	--signal: #0d6f6b;
	--vermilion: #b23a22;
	--accent: var(--signal);
	--on-accent: #fff;
	--shadow: 0 1px 2px rgba(21, 24, 26, .05), 0 12px 32px -12px rgba(21, 24, 26, .16);
	--shadow-l: 0 40px 80px -40px rgba(21, 24, 26, .35);
	--pattern: rgba(21, 24, 26, .08);
	--glass: rgba(251, 248, 242, .72);

	--night: #0b1317;
	--night-2: #111d23;
	--night-ink: #efebe3;
	--night-ink-2: #9fadb2;
	--cyan: #42d6cd;
	--violet: #8b7cff;
	--paper: #f1e8d8;

	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0b1317; --bg-2: #111d23; --surface: #16262e;
		--ink: #eeeae2; --ink-2: #9eabb0; --ink-3: #6b797f;
		--line: rgba(238, 234, 226, .09); --line-2: rgba(238, 234, 226, .18);
		--signal: #42d6cd; --vermilion: #ee6c50; --on-accent: #0b1317;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
		--shadow-l: 0 40px 80px -40px rgba(0, 0, 0, .9);
		--pattern: rgba(238, 234, 226, .06); --glass: rgba(17, 29, 35, .7);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #0b1317; --bg-2: #111d23; --surface: #16262e;
	--ink: #eeeae2; --ink-2: #9eabb0; --ink-3: #6b797f;
	--line: rgba(238, 234, 226, .09); --line-2: rgba(238, 234, 226, .18);
	--signal: #42d6cd; --vermilion: #ee6c50; --on-accent: #0b1317;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
	--shadow-l: 0 40px 80px -40px rgba(0, 0, 0, .9);
	--pattern: rgba(238, 234, 226, .06); --glass: rgba(17, 29, 35, .7);
	color-scheme: dark;
}
.world-ink { --accent: var(--vermilion); }

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 400 var(--step-0)/1.65 var(--f-sans);
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility; overflow-x: clip;
}
[lang="ne"], :lang(ne) { font-family: var(--f-ne); }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
kbd { display: inline-grid; place-items: center; min-width: 1.6em; padding: .1em .4em; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; font: 500 .7rem/1.3 var(--f-mono); color: var(--ink-2); }
.site-main { outline: none; }
.grain {
	position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 4. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1440px; }
.container--text { max-width: calc(720px + 2 * var(--gutter)); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.container--poem { max-width: calc(620px + 2 * var(--gutter)); }
.section { padding-block: var(--section); position: relative; }
/* Same-background neighbours share one gap instead of two. */
.section:not(.poetry):not(.vedic) + .section:not(.poetry):not(.vedic) { padding-top: 0; }

/* 5. Atoms ---------------------------------------------------------------- */
.kicker { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 var(--space-4); font: 500 .76rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.kicker a { text-decoration: none; }
.kicker__no { color: var(--accent); }
.kicker__no::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-left: .8em; vertical-align: middle; opacity: .6; }
.kicker--light { color: var(--night-ink-2); }

.btn {
	--b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2);
	position: relative; display: inline-flex; align-items: center; gap: .6em; padding: .9em 1.4em;
	border-radius: 999px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
	font: 500 .95rem/1 var(--f-sans); text-decoration: none; cursor: pointer; white-space: nowrap; isolation: isolate; overflow: hidden;
	transition: transform .4s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .4s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--b-fg); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { --b-bg: var(--accent); --b-fg: var(--on-accent); --b-bd: var(--accent); box-shadow: 0 12px 30px -12px var(--accent); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost:hover { --b-bd: var(--accent); --b-fg: var(--accent); }
.btn--glass { --b-bg: rgba(255, 255, 255, .06); --b-bd: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--small { padding: .65em 1.05em; font-size: .85rem; }
.btn--large { padding: 1.05em 1.7em; font-size: 1.05rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon.flip { transform: scaleX(-1); }
.icon.up { transform: rotate(-90deg); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .25s, color .25s, transform .3s var(--ease); }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font: 500 .92rem/1.2 var(--f-sans); text-decoration: none; color: var(--ink); }
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover .icon.flip { transform: scaleX(-1) translateX(4px); }
.link-arrow--back { color: var(--ink-2); margin-bottom: var(--space-6); }
.link-arrow--light { color: var(--night-ink-2); }

.badge { display: inline-flex; align-items: center; gap: .45em; padding: .4em .75em; border-radius: 999px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--surface); color: var(--ink-2); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--live { color: #12844f; background: rgba(18, 132, 79, .1); }
.badge--live i { animation: pulse 2s infinite; }
.badge--building { color: #6d52f0; background: rgba(124, 92, 255, .12); }
.badge--sold { color: #a77200; background: rgba(214, 160, 30, .15); }
.badge--archived { color: var(--ink-3); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

.pill { display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: 999px; background: var(--surface); font-size: .82rem; color: var(--ink-2); }
.pill .icon { width: 1em; height: 1em; color: var(--accent); }
.ticks { list-style: none; padding: 0; margin: var(--space-4) 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.6em; color: var(--ink-2); font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: .9em; height: .5em; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--space-6); }
.chip { display: inline-flex; align-items: center; padding: .5em 1em; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; text-decoration: none; color: var(--ink-2); transition: all .25s; cursor: pointer; }
.chip:hover, .chip.is-active { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: var(--space-5) 0; }
.tags li, .tags a { padding: .35em .75em; border-radius: 6px; background: var(--surface); font: 400 .78rem/1.3 var(--f-mono); color: var(--ink-2); text-decoration: none; }
.tags--large li { font-size: .86rem; padding: .5em .9em; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-5); margin: 0; }
.stats__item { margin: 0; border-top: 1px solid var(--line-2); padding-top: var(--space-4); }
.stats__value { font: 300 var(--step-4)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats__label { margin: .5em 0 0; color: var(--ink-2); font-size: .9rem; }
.stats--inline { margin-block: var(--space-6); }
.stats--band { padding-block: var(--space-8); }
.stats--lens { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
.stats--lens .stats__value { color: var(--accent); }

.facts { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-7); margin: var(--space-6) 0; }
.facts dt { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .5em; }
.facts dd { margin: 0; font-size: 1rem; }
.facts--stack { flex-direction: column; gap: var(--space-4); }
.facts--stack div { border-bottom: 1px solid var(--line); padding-bottom: var(--space-4); }
.facts--light dt { color: var(--night-ink-2); }
.facts--light dd { color: var(--night-ink); font-family: var(--f-display); font-size: var(--step-1); }
.lede { font: 300 var(--step-1)/1.55 var(--f-display); color: var(--ink); }
.note { padding: var(--space-4) var(--space-5); border-left: 2px solid var(--accent); background: var(--bg-2); color: var(--ink-2); font-size: .92rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; }

.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-4) var(--space-6); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .kicker { grid-column: 1 / -1; margin: 0; }
.section-head__title { font-size: var(--step-4); font-weight: 300; letter-spacing: -.035em; max-width: 17ch; margin: 0; }
.section-head__title em { font-style: italic; color: var(--accent); }
@media (max-width: 640px) { .section-head { grid-template-columns: 1fr; } }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--accent); color: var(--on-accent); padding: .75em 1.25em; border-radius: var(--radius-s); text-decoration: none; }
.skip-link:focus { top: 1rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--vermilion)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

[data-spotlight] { position: relative; }
[data-spotlight]::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--spot, var(--accent)) 16%, transparent), transparent 45%);
}
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight] > * { position: relative; z-index: 1; }

/* 6. Header: full-width bar + slide-in panel ------------------------------------ */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glass); border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); transition: box-shadow .4s;
}
.site-header.is-scrolled::before { box-shadow: 0 12px 40px -24px rgba(0, 0, 0, .35); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: var(--space-5); max-width: 1320px; height: 72px; margin-inline: auto; padding-inline: var(--gutter); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: .65em; flex-shrink: 0; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(from 200deg, var(--cyan), var(--violet), var(--vermilion), var(--cyan)); color: #fff; font: 700 1.15rem/1 var(--f-ne); padding-top: 2px; transition: transform .8s var(--ease); text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.brand:hover .brand__mark { transform: rotate(-20deg) scale(1.05); }
.brand__name { font: 500 1.02rem/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.brand__logo { max-height: 38px; width: auto; }

/* Desktop: centred links with an underline marker */
.nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav__panel { display: contents; }
.nav__head, .nav__foot, .nav__scrim { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(.25rem, 1vw, 1rem); list-style: none; margin: 0; padding: 0; }
.nav__list li { position: relative; }
.nav__list a { position: relative; display: block; padding: .6em .35em; text-decoration: none; font: 500 .9rem/1 var(--f-sans); color: var(--ink-2); white-space: nowrap; transition: color .25s; }
.nav__list > li > a::after { content: ""; position: absolute; left: .35em; right: .35em; bottom: .15em; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__list a:hover, .nav__list a:focus-visible { color: var(--ink); }
.nav__list > li > a:hover::after { transform: scaleX(1); }
.nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a, .nav__list .current_page_parent > a, .nav__list .current-menu-parent > a { color: var(--ink); }
.nav__list .current-menu-item > a::after, .nav__list .current-menu-ancestor > a::after, .nav__list .current_page_parent > a::after, .nav__list .current-menu-parent > a::after { transform: scaleX(1); }
/* Dropdowns, used when the menu has child items */
.nav__list .menu-item-has-children > a { padding-right: 1.1em; }
.nav__list .menu-item-has-children > a::before { content: ""; position: absolute; right: .2em; top: 50%; width: .38em; height: .38em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); opacity: .6; }
.nav__list .sub-menu { position: absolute; top: 100%; left: 50%; min-width: 200px; margin: 0; padding: .4rem; list-style: none; border-radius: var(--radius-s); background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .35s var(--ease); }
.nav__list .sub-menu a { padding: .65em .8em; border-radius: 8px; }
.nav__list .sub-menu a:hover { background: var(--surface); }

.site-header__tools { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.search-btn { display: inline-flex; align-items: center; gap: .55em; height: 40px; padding: 0 .6em 0 .9em; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; color: var(--ink-2); font-size: .85rem; transition: border-color .25s, color .25s; }
.search-btn:hover { border-color: var(--accent); color: var(--ink); }
.search-btn .icon { width: 1.05em; height: 1.05em; }
.icon--moon { display: none; }
:root[data-theme="dark"] .icon--sun { display: none; }
:root[data-theme="dark"] .icon--moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon--sun { display: none; } :root:not([data-theme="light"]) .icon--moon { display: block; } }
.nav-toggle { display: none; }
.nav-toggle__bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle__bars i { height: 1.5px; background: currentColor; }
@media (max-width: 1240px) { .search-btn__label, .search-btn kbd { display: none; } .search-btn { width: 40px; padding: 0; justify-content: center; } }

/* Tablet and phone: slide-in panel */
@media (max-width: 1060px) {
	.site-header__inner { justify-content: space-between; height: 64px; }
	.nav-toggle { display: inline-flex; align-items: center; gap: .6em; width: auto; padding: 0 1em; border-radius: 999px; font: 500 .85rem/1 var(--f-sans); }
	.site-header__cta { display: none; }
	.nav { position: fixed; inset: 0; z-index: 200; display: block; flex: none; visibility: hidden; transition: visibility 0s .55s; }
	.nav.is-open { visibility: visible; transition: none; }
	.nav__scrim { display: block; position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: rgba(8, 12, 14, .5); opacity: 0; cursor: pointer; transition: opacity .45s; }
	.nav.is-open .nav__scrim { opacity: 1; }
	.nav__panel {
		position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(420px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain;
		padding: 0 var(--gutter) max(1.5rem, env(safe-area-inset-bottom)); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-l);
		transform: translateX(100%); transition: transform .55s var(--ease);
	}
	.nav.is-open .nav__panel { transform: none; }
	.nav__head { display: flex; align-items: center; justify-content: space-between; height: 64px; flex-shrink: 0; border-bottom: 1px solid var(--line); margin-bottom: var(--space-3); }
	.nav__head-label { font: 500 .72rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
	.nav__close { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; font-size: 1.4rem; line-height: 1; }
	.nav__close:hover { border-color: var(--accent); }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; counter-reset: nav; }
	.nav__list > li { counter-increment: nav; border-bottom: 1px solid var(--line); }
	.nav__list > li > a { display: flex; align-items: baseline; gap: 1rem; padding: .95rem 1.5rem .95rem 0; font: 400 var(--step-2)/1.15 var(--f-display); letter-spacing: -.02em; color: var(--ink); white-space: normal; }
	.nav__list > li > a::before, .nav__list .menu-item-has-children > a::before { content: counter(nav, decimal-leading-zero); position: static; width: auto; height: auto; border: 0; transform: none; opacity: 1; font: 400 .72rem/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-3); }
	.nav__list > li > a::after { left: auto; right: .2rem; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%) scale(0); }
	.nav__list .current-menu-item > a::after, .nav__list .current-menu-ancestor > a::after, .nav__list .current_page_parent > a::after, .nav__list .current-menu-parent > a::after { transform: translateY(-50%) scale(1); }
	.nav__list > li > a:hover { color: var(--accent); }
	.nav__list .sub-menu { position: static; min-width: 0; padding: 0 0 1rem 2.4rem; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: inherit; transform: none; transition: none; }
	.nav__list .sub-menu a { padding: .45em 0; font-size: 1rem; color: var(--ink-2); }
	.nav__list .sub-menu a:hover { background: none; color: var(--accent); }
	.nav.is-open .nav__list > li { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms + 120ms); }
	.nav__foot { display: grid; gap: var(--space-4); margin-top: auto; padding-top: var(--space-6); }
	.nav__foot .btn { justify-self: start; }
	.nav__tag { margin: 0; font: 300 italic var(--step-0)/1.5 var(--f-display); color: var(--ink-2); }
	.socials--nav a { border-color: var(--line-2); }
}
@media (max-width: 420px) { .brand__name { display: none; } }

/* 7. Hero: bento + modes ------------------------------------------------------- */
.hero {
	--h-bg: var(--night); --h-ink: #efebe3; --h-ink-2: #a6b3b8; --h-acc: var(--cyan); --h-acc-2: var(--violet);
	--h-tile: rgba(255, 255, 255, .035); --h-tile-2: rgba(255, 255, 255, .06); --h-line: rgba(255, 255, 255, .09); --spot: var(--cyan);
	position: relative; isolation: isolate; overflow: hidden; background: var(--h-bg); color: var(--h-ink);
	padding: calc(var(--header-h) + 18px) 0 0; transition: background-color .9s var(--ease), color .6s;
	--pattern: rgba(239, 235, 227, .07);
}
.hero[data-mode="poet"] {
	--h-bg: var(--paper); --h-ink: #1d1a17; --h-ink-2: #6a6152; --h-acc: #b23a22; --h-acc-2: #d98a3a;
	--h-tile: rgba(255, 255, 255, .5); --h-tile-2: rgba(255, 255, 255, .75); --h-line: rgba(29, 26, 23, .1); --spot: #b23a22;
	--pattern: rgba(29, 26, 23, .07);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg .contours { position: absolute; inset: 0; }
.hero__photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.3); transition: opacity .9s; }
.hero[data-mode="poet"] .hero__photo-bg { opacity: .12; filter: sepia(.4); }
.aurora { position: absolute; width: 46vw; height: 46vw; max-width: 760px; max-height: 760px; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; transition: background-color 1s; animation: float 22s var(--ease-in-out) infinite alternate; }
.aurora--1 { background: var(--h-acc, var(--cyan)); top: -18%; right: -8%; opacity: .32; }
.aurora--2 { background: var(--h-acc-2, var(--violet)); bottom: 0; left: -14%; opacity: .22; animation-delay: -8s; }
.aurora--3 { background: #1f6f9c; top: 30%; left: 35%; width: 30vw; height: 30vw; opacity: .16; animation-delay: -14s; }
.hero[data-mode="poet"] .aurora--3 { background: #e7b98a; }
@keyframes float { to { transform: translate3d(-6%, 8%, 0) scale(1.12); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--h-line) 1px, transparent 1px), linear-gradient(90deg, var(--h-line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%); opacity: .5; }

.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 14px; }
.tile {
	margin: 0; position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: 26px; overflow: hidden;
	background: var(--h-tile); border: 1px solid var(--h-line); color: inherit; text-decoration: none;
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .6s var(--ease), border-color .4s, background-color .9s;
}
a.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--h-acc) 45%, transparent); color: inherit; }
.tile__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.tile__label { display: flex; align-items: center; gap: .55em; margin: 0 0 var(--space-4); font: 500 .7rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--h-ink-2); }
.tile__label .icon { width: 1.1em; height: 1.1em; color: var(--h-acc); }
.tile__foot { margin: auto 0 0; padding-top: var(--space-4); display: flex; align-items: center; gap: .4em; color: var(--h-ink-2); font-size: .85rem; }
.tile__foot .icon { width: 1em; height: 1em; transition: transform .4s var(--ease); }
a.tile:hover .tile__foot .icon { transform: translateX(4px); }

.tile--intro { grid-column: 1 / 8; grid-row: 1 / 3; padding: clamp(1.5rem, 3vw, 2.75rem); justify-content: space-between; gap: var(--space-5); min-height: 520px; }
.tile--portrait { grid-column: 8 / 13; grid-row: 1 / 4; padding: 0; min-height: 600px; background: linear-gradient(180deg, #46707a, #1c3138); }
.tile--now { grid-column: 1 / 5; grid-row: 3; }
.tile--stats { grid-column: 5 / 8; grid-row: 3; flex-direction: row; gap: var(--space-5); align-items: flex-end; }
.tile--ventures { grid-column: 1 / 6; grid-row: 4; }
.tile--lens { grid-column: 6 / 10; grid-row: 4; }
.tile--verse { grid-column: 10 / 13; grid-row: 4; }

.status { display: inline-flex; align-items: center; gap: .6em; margin: 0; padding: .5em .9em; border-radius: 999px; border: 1px solid var(--h-line); background: var(--h-tile); font-size: .8rem; color: var(--h-ink-2); }
.mode-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; border: 1px solid var(--h-line); background: var(--h-tile-2); }
.mode-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .55em 1.05em; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 500 .82rem/1 var(--f-sans); color: var(--h-ink-2); transition: color .4s; }
.mode-switch button .icon { width: 1.05em; height: 1.05em; }
.mode-switch button[aria-pressed="true"] { color: var(--h-bg); }
.mode-switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--h-acc); box-shadow: 0 6px 20px -6px var(--h-acc); transition: transform .6s var(--ease), background-color .6s; }
.hero[data-mode="poet"] .mode-switch__thumb { transform: translateX(100%); }

.hero__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em 1em; margin: 0; font: 500 .95rem/1.2 var(--f-sans); letter-spacing: .02em; color: var(--h-ink-2); }
.hero__name-ne { font-family: var(--f-ne); font-size: 1.05rem; color: var(--h-acc); }
.hero__title { margin: 0; font-size: clamp(2.8rem, 1.2rem + 4.6vw, 6.3rem); font-weight: 300; line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--h-acc); font-weight: 300; position: relative; white-space: nowrap; }
.hero__title em::after { content: ""; position: absolute; left: .05em; right: .1em; bottom: .02em; height: .07em; border-radius: 99px; background: currentColor; opacity: .35; transform-origin: left; animation: underline 1.2s .5s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }
.hero[data-mode="poet"] .hero__title { font-style: italic; }
.hero[data-mode="poet"] .hero__title em { font-style: normal; }
.hero__sub { max-width: 52ch; margin: 0; color: var(--h-ink-2); font-size: var(--step-0); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero .btn--primary { --b-bg: var(--h-acc); --b-bd: var(--h-acc); --b-fg: var(--h-bg); box-shadow: 0 14px 40px -12px var(--h-acc); }
.hero .btn--glass { --b-fg: var(--h-ink); --b-bd: var(--h-line); --b-bg: var(--h-tile-2); }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: var(--space-4) 0 0; margin: 0; border-top: 1px solid var(--h-line); color: var(--h-ink-2); font-size: .85rem; }
.hero__meta li { display: inline-flex; align-items: center; gap: .45em; }
.hero__meta .icon { width: 1em; height: 1em; color: var(--h-acc); }
.hero [data-show] { animation: modeIn .7s var(--ease) both; }
.hero[data-mode="tech"] [data-show="poet"], .hero[data-mode="poet"] [data-show="tech"] { display: none; }
@keyframes modeIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }

.tile__portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s var(--ease), filter .9s; }
.tile--portrait:hover .tile__portrait { transform: scale(1.04); }
.hero[data-mode="poet"] .tile__portrait { filter: sepia(.25) saturate(.9) contrast(1.02); }
.tile--portrait__glow { position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(transparent, rgba(8, 14, 17, .88)); }
.nameplate { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: grid; gap: .25rem; color: #fff; }
.nameplate__name { font: 400 var(--step-2)/1.05 var(--f-display); letter-spacing: -.02em; }
.nameplate__role { font-size: .85rem; color: rgba(255, 255, 255, .78); }
.socials--tile { position: absolute; top: 1rem; right: 1rem; margin: 0; flex-direction: column; }
.socials--tile a { width: 38px; height: 38px; color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .2); backdrop-filter: blur(8px); }

.tile--now__role { margin: 0; font: 400 var(--step-2)/1.1 var(--f-display); letter-spacing: -.02em; }
.tile--now__org { margin: .35em 0 0; color: var(--h-acc); font-weight: 500; font-size: .95rem; }
.metric { display: grid; gap: .3rem; flex: 1; min-width: 0; }
.metric__value { font: 300 clamp(2.2rem, 1.5rem + 2vw, 3.3rem)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.metric__label { color: var(--h-ink-2); font-size: .8rem; line-height: 1.3; }
.vlist { list-style: none; padding: 0; margin: 0; display: grid; }
.vlist a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7em 0; border-top: 1px solid var(--h-line); text-decoration: none; color: inherit; transition: padding .4s var(--ease), color .3s; }
.vlist li:first-child a { border-top: 0; }
.vlist a:hover { padding-inline: .35rem; color: var(--h-acc); }
.vlist__name { font: 400 1.15rem/1.2 var(--f-display); }
.vlist__status { display: inline-flex; align-items: center; gap: .45em; font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--h-ink-2); }
.vlist__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vlist__status--live { color: #3ddc97; } .vlist__status--live i { animation: pulse 2s infinite; }
.vlist__status--building { color: #a594ff; }
.vlist__status--sold { color: #e0b44a; }
.hero[data-mode="poet"] .vlist__status--live { color: #12844f; }
.hero[data-mode="poet"] .vlist__status--building { color: #6d52f0; }
.hero[data-mode="poet"] .vlist__status--sold { color: #a77200; }
.tile--lens { justify-content: flex-end; min-height: 230px; }
.tile--lens__mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; z-index: 0; opacity: .35; transition: opacity .6s; }
.tile--lens__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.tile--lens:hover .tile--lens__mosaic { opacity: .55; }
.tile--lens__mosaic + .tile__label::before { content: none; }
.tile--lens::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 20%, var(--h-bg) 95%); opacity: .85; pointer-events: none; }
.tile--lens > * { z-index: 1; }
.tile--lens__big { margin: 0; font: 300 clamp(2.6rem, 1.6rem + 2.6vw, 4rem)/1 var(--f-display); letter-spacing: -.04em; }
.tile--lens__big small { font: 400 .9rem var(--f-sans); letter-spacing: 0; color: var(--h-ink-2); }
.tile--verse__line { margin: 0; font: 300 italic var(--step-1)/1.4 var(--f-display); }
.tile--verse__line[lang="ne"] { font-family: var(--f-ne); font-style: normal; }
.tile--verse__line em { color: var(--h-acc); }

.marquee { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.1rem; border-block: 1px solid var(--h-line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font: 400 clamp(1.1rem, .9rem + .8vw, 1.6rem)/1 var(--f-display); white-space: nowrap; color: var(--h-ink); }
.marquee__track i { font-style: normal; color: var(--h-acc); font-size: .9rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
	.hero__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.tile--intro { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
	.tile--portrait { grid-column: 1 / 4; grid-row: span 2; min-height: 440px; }
	.tile--now, .tile--stats { grid-column: 4 / 7; grid-row: auto; }
	.tile--ventures { grid-column: 1 / -1; grid-row: auto; }
	.tile--lens { grid-column: 1 / 4; grid-row: auto; }
	.tile--verse { grid-column: 4 / 7; grid-row: auto; }
}
@media (max-width: 640px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.hero__grid > .tile { grid-column: 1 / -1 !important; grid-row: auto !important; }
	.tile--portrait { min-height: 0; aspect-ratio: 4 / 4.6; }
	.tile--stats { flex-wrap: wrap; }
	.mode-switch button span { display: none; }
	.mode-switch button { padding: .6em .9em; }
}

/* 8. Home sections -------------------------------------------------------------- */
/* Proof */
.proof { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.proof__label { text-align: center; font: 500 .72rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--space-6); }
.proof__rail { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.proof__track { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); width: max-content; animation: marquee 60s linear infinite; }
.proof__rail:hover .proof__track { animation-play-state: paused; }
.proof__name { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); white-space: nowrap; color: var(--ink-3); transition: color .3s; }
.proof__name:hover { color: var(--ink); }
.proof__name--0 { font-family: var(--f-display); font-weight: 500; letter-spacing: -.02em; }
.proof__name--1 { font-family: var(--f-sans); font-weight: 700; letter-spacing: -.04em; text-transform: lowercase; }
.proof__name--2 { font-family: var(--f-display); font-style: italic; font-weight: 300; }

/* Intro */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro__text { font: 300 clamp(1.5rem, 1.1rem + 1.4vw, 2.45rem)/1.35 var(--f-display); letter-spacing: -.02em; margin-bottom: var(--space-6); }
.intro__text .w { opacity: .18; transition: opacity .5s; }
.intro__text .w.is-lit { opacity: 1; }
.intro__card { position: relative; margin: 0 0 var(--space-5); border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--surface); }
.intro__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.intro__card figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; gap: .2rem; padding: .9rem 1.1rem; border-radius: 16px; background: rgba(10, 16, 19, .55); backdrop-filter: blur(14px); color: #fff; font-size: .85rem; }
.intro__sign { font: italic 400 1.35rem/1.1 var(--f-display); }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } .intro__side { max-width: 480px; } }

/* Services */
.services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.service { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.5vw, 2.1rem); border-radius: var(--radius-l); background: var(--bg-2); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s, border-color .4s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: var(--line-2); }
.service__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); }
.service__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); transition: transform .6s var(--ease); }
.service__icon .icon { width: 28px; height: 28px; }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.06); }
.service__no { font: 400 .8rem/1 var(--f-mono); color: var(--ink-3); }
.service__title { font-size: var(--step-2); letter-spacing: -.025em; margin-bottom: .4em; }
.service__text { color: var(--ink-2); }
.service__more { margin-top: var(--space-3); border-top: 1px solid var(--line); }
.service__more summary { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) 0; cursor: pointer; list-style: none; font: 500 .9rem var(--f-sans); }
.service__more summary::-webkit-details-marker { display: none; }
.service__more summary span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); font: 300 1.1rem/1 var(--f-sans); transition: transform .4s var(--ease), background-color .3s; }
.service__more[open] summary span { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.service__more[open] > *:not(summary) { animation: rise .5s var(--ease) both; }
.service__tools { font: 400 .78rem/1.6 var(--f-mono); color: var(--ink-3); }
.service__for { margin: auto 0 0; padding-top: var(--space-4); font-size: .82rem; color: var(--ink-3); }

/* Ventures: sticky stack */
.stack { display: grid; gap: 24px; }
.stack__card {
	--accent-v: var(--accent);
	position: sticky; top: calc(var(--header-h) + 12px + var(--i) * 18px);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: min(600px, 74vh);
	border-radius: 32px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .35);
	transform-origin: 50% 0;
}
.stack__body { display: flex; flex-direction: column; padding: clamp(1.75rem, 4vw, 3.5rem); min-width: 0; }
.stack__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.stack__years { font: 400 .82rem/1 var(--f-mono); color: var(--ink-3); }
.stack__title { margin: var(--space-6) 0 .15em; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem); font-weight: 300; letter-spacing: -.05em; line-height: .95; }
.stack__title a { text-decoration: none; }
.stack__title a:hover { color: var(--accent-v); }
.stack__tagline { font: 300 italic var(--step-1)/1.4 var(--f-display); color: var(--accent-v); }
.stack__text { color: var(--ink-2); max-width: 46ch; }
.stack__metrics { display: flex; gap: var(--space-6); margin: var(--space-4) 0; }
.stack__metrics dt { font-size: .78rem; color: var(--ink-3); }
.stack__metrics dd { margin: 0; font: 300 var(--step-3)/1 var(--f-display); order: -1; }
.stack__metrics div { display: flex; flex-direction: column; }
.stack__notes { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.stack__notes li { padding: .4em .8em; border-radius: 999px; border: 1px solid var(--line-2); font-size: .8rem; color: var(--ink-2); }
.stack__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: var(--space-6); }
.stack__card .btn--primary { --b-bg: var(--accent-v); --b-bd: var(--accent-v); --b-fg: #fff; box-shadow: 0 12px 30px -12px var(--accent-v); }
.stack__visual { position: relative; overflow: hidden; background: var(--night-2); }
.stack__visual > img { width: 100%; height: 100%; object-fit: cover; }
.stack__mono { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent-v) 55%, var(--night-2)), var(--night) 72%); }
.stack__mono .nodes { --pattern: color-mix(in srgb, var(--accent-v) 55%, transparent); }
.stack__mono span { position: relative; font: 200 italic clamp(8rem, 18vw, 16rem)/1 var(--f-display); color: rgba(255, 255, 255, .92); text-shadow: 0 20px 60px rgba(0, 0, 0, .35); transition: transform 1.2s var(--ease); }
.stack__card:hover .stack__mono span { transform: scale(1.06) rotate(-4deg); }
@media (max-width: 860px) {
	.stack__card { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
	.stack__visual { order: -1; aspect-ratio: 16 / 10; }
}

/* Experience explorer */
.experience__band { font: 300 var(--step-2)/1.3 var(--f-display); color: var(--ink-2); margin: calc(-1 * var(--space-5)) 0 var(--space-7); max-width: 34ch; }
.experience__band strong { font-weight: 400; color: var(--accent); }
.xp-explorer { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.xp-explorer__list { display: grid; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.xp-tab { display: grid; grid-template-columns: 3.4rem 1fr; gap: .9rem; align-items: center; width: 100%; padding: .9rem 1rem; border: 1px solid transparent; border-radius: 16px; background: none; cursor: pointer; text-align: left; transition: background-color .3s, border-color .3s; }
.xp-tab:hover { background: var(--bg-2); }
.xp-tab[aria-selected="true"] { background: var(--bg-2); border-color: var(--line-2); box-shadow: var(--shadow); }
.xp-tab__year { font: 300 1.35rem/1 var(--f-display); color: var(--ink-3); transition: color .3s; }
.xp-tab[aria-selected="true"] .xp-tab__year { color: var(--accent); }
.xp-tab__body { display: grid; gap: .15rem; min-width: 0; }
.xp-tab__role { font-weight: 500; font-size: .95rem; line-height: 1.3; }
.xp-tab__org { font-size: .8rem; color: var(--ink-3); }
.xp-panel { padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: var(--radius-l); background: var(--bg-2); border: 1px solid var(--line); outline: none; }
.js .xp-panel[data-inactive] { display: none; }
.js .xp-panel { animation: rise .55s var(--ease) both; }
.xp-explorer__panels { display: grid; gap: 16px; }
.xp-panel__when { font: 400 .8rem/1.5 var(--f-mono); color: var(--ink-3); }
.xp-panel__when span { color: var(--line-2); }
.xp-panel__title { font-size: var(--step-3); letter-spacing: -.03em; margin: .3em 0 .1em; }
.xp-panel__org { color: var(--accent); font-weight: 500; }
.xp-panel__summary { color: var(--ink-2); font-size: 1.02rem; max-width: 60ch; }
.xp-panel__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: var(--space-4) 0; }
@media (max-width: 860px) {
	.xp-explorer { grid-template-columns: 1fr; }
	.xp-explorer__list { position: static; display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; padding-bottom: 4px; }
	.xp-explorer__list::-webkit-scrollbar { display: none; }
	.xp-tab { flex: none; width: 250px; }
}

/* Markets */
.markets__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; margin-bottom: var(--space-7); }
.market { display: grid; gap: .5rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.market__code { font: 200 clamp(3rem, 2rem + 3vw, 4.6rem)/.9 var(--f-display); letter-spacing: -.05em; background: linear-gradient(120deg, var(--accent), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.market__note { color: var(--ink-2); font-size: .9rem; }
.cloud { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 0 0 var(--space-8); }
.cloud li { padding: .6em 1.15em; border-radius: 999px; border: 1px solid var(--line-2); font-size: .95rem; transition: all .3s; }
.cloud li:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.matrix__item { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.matrix__icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: var(--space-5); }
.matrix__title { font-size: var(--step-1); }
.matrix__list { color: var(--ink-2); margin: 0; font-size: .93rem; }

/* Poetry */
.poetry { background: var(--paper); color: #1b1b1b; overflow: hidden; isolation: isolate; --ink: #1b1b1b; --ink-2: #5d5548; --ink-3: #8c8273; --line: rgba(27, 27, 27, .12); --line-2: rgba(27, 27, 27, .22); --bg: var(--paper); --bg-2: #f7f0e3; --surface: #e9dfcc; --pattern: rgba(27, 27, 27, .07); --accent: #b23a22; --on-accent: #fff; }
.poetry > .weave { position: absolute; inset: 0; z-index: -1; }
.poetry__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.poem-feature__lang { font: 500 .72rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.poem-feature__title { font: 300 italic var(--step-4)/1.05 var(--f-display); margin: .3em 0 .8em; }
.poem-feature__title a { text-decoration: none; }
.poem-feature__item[lang="ne"] .poem-feature__title { font-family: var(--f-ne); font-style: normal; font-weight: 600; }
.poem-feature__sign { font: italic 400 1.05rem var(--f-display); color: var(--ink-2); margin-top: var(--space-6); }
.poem-feature--empty .poem-feature__title { font-size: var(--step-3); }
.poem-feature--empty p:last-child { color: var(--ink-2); max-width: 46ch; }
.poem-body { font: 300 var(--step-2)/1.6 var(--f-display); }
.poem-body:lang(ne), [lang="ne"] .poem-body { font-family: var(--f-ne); font-weight: 400; font-size: var(--step-1); line-height: 1.9; }
.poem-body p { margin: 0 0 1.4em; }
.poem-list { list-style: none; padding: 0; margin: 0 0 var(--space-6); border-top: 1px solid var(--line-2); }
.poem-list a { display: grid; gap: .35rem; padding: var(--space-5) 0; border-bottom: 1px solid var(--line-2); text-decoration: none; transition: padding .4s var(--ease); }
.poem-list a:hover { padding-left: .6rem; }
.poem-list__line { font: 300 italic var(--step-1)/1.35 var(--f-display); }
.poem-list li[lang="ne"] .poem-list__line { font-family: var(--f-ne); font-style: normal; }
.poem-list__title { font-size: .8rem; color: var(--ink-3); }
.poetry__note { padding: var(--space-5); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
@media (max-width: 860px) { .poetry__grid { grid-template-columns: 1fr; } }

/* Lens */
.lens__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 14px; margin-bottom: 14px; }
.lens__stat { display: grid; align-content: end; gap: .4rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); min-height: 150px; }
.lens__value { font: 300 clamp(2.2rem, 1.5rem + 2vw, 3.4rem)/1 var(--f-display); letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.lens__label { font-size: .82rem; color: var(--ink-2); }
.lens__note { display: grid; align-content: space-between; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); }
.lens__note p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.lens__note .btn { justify-self: start; }
.lens__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; }
.lens__item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.lens__item--0 { grid-column: span 2; grid-row: span 2; }
.lens__item--3 { grid-row: span 2; }
.lens__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lens__item:hover img { transform: scale(1.06); }
.lens__cap { position: absolute; inset: auto 0 0; padding: 2.5rem 1rem 1rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transform: translateY(8px); transition: all .45s var(--ease); }
.lens__item:hover .lens__cap, .lens__item:focus-visible .lens__cap { opacity: 1; transform: none; }
@media (max-width: 1000px) { .lens__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lens__note { grid-column: 1 / -1; } .lens__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } }

.section--journeys > .contours, .journeys-home > .contours { position: absolute; inset: 0; pointer-events: none; }

/* Stage */
.stage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.honours { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.honour { display: flex; align-items: center; gap: .9rem; padding: 1.05rem 1.25rem; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); font: 400 1.1rem/1.3 var(--f-display); }
.honour .icon { width: 1.4em; height: 1.4em; color: #c99a2e; flex: none; }
@media (max-width: 860px) { .stage__grid { grid-template-columns: 1fr; } }
.talks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.talk { position: relative; display: grid; grid-template-columns: 4.5rem 1fr auto 2rem; gap: var(--space-5); align-items: center; padding: var(--space-5) 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), background-color .4s; }
.talk:hover { padding-inline: var(--space-4); background: var(--bg-2); }
.talk__year { font: 300 var(--step-2)/1 var(--f-display); color: var(--ink-3); }
.talk__title { font-size: var(--step-1); margin: 0 0 .2em; }
.talk__title a { text-decoration: none; }
.talk__event { margin: 0; color: var(--ink-2); font-size: .9rem; }
.talk__kind { font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding: .5em .8em; border: 1px solid var(--line-2); border-radius: 999px; }
.talk__kind--award { color: #a77200; border-color: rgba(214, 160, 30, .4); }
.talk__arrow { color: var(--ink-3); transition: transform .4s var(--ease), color .3s; }
.talk:hover .talk__arrow { transform: translateX(4px) rotate(-45deg); color: var(--accent); }
@media (max-width: 640px) { .talk { grid-template-columns: 3.5rem 1fr; } .talk__kind, .talk__arrow { display: none; } }

/* Vedic */
.vedic { background: #0a0f1d; color: #ece6d6; overflow: hidden; isolation: isolate; --ink: #ece6d6; --ink-2: #a9a6b8; --ink-3: #75748a; --line: rgba(236, 230, 214, .1); --line-2: rgba(236, 230, 214, .2); --bg-2: rgba(255, 255, 255, .04); --accent: #e3b45a; --on-accent: #0a0f1d; --spot: #e3b45a; }
.vedic::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 90%; z-index: -1; background: radial-gradient(ellipse at 50% 0%, rgba(227, 180, 90, .18), transparent 60%); }
.stars { position: absolute; inset: 0; z-index: -1; }
.stars svg { width: 100%; height: 100%; }
.stars circle { fill: #fff; }
.vedic__intro { font: 300 var(--step-2)/1.45 var(--f-display); max-width: 40ch; color: var(--ink); margin-bottom: var(--space-7); }
.vedic__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin-bottom: var(--space-6); }
.vedic__card { padding: 1.75rem; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--bg-2); backdrop-filter: blur(6px); }
.vedic__ne { display: block; font: 600 var(--step-3)/1.1 var(--f-ne); color: var(--accent); margin-bottom: var(--space-4); }
.vedic__card h3 { font-size: var(--step-1); }
.vedic__card p { color: var(--ink-2); margin: 0; font-size: .93rem; }
.vedic__notes { list-style: none; padding: 0; margin: 0 0 var(--space-6); border-top: 1px solid var(--line); }
.vedic__notes a { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 var(--step-1) var(--f-display); }
.vedic__notes a span { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); min-width: 11rem; }
.vedic__notes .icon { margin-left: auto; }
.vedic .btn--glass { --b-fg: var(--ink); }

/* Contact (home) */
.contact-home { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section); background: var(--night); color: var(--night-ink); --h-acc: var(--cyan); --h-acc-2: var(--violet); --ink: var(--night-ink); --ink-2: var(--night-ink-2); --line: rgba(239, 235, 227, .1); --line-2: rgba(239, 235, 227, .22); --bg: #0f1a20; --bg-2: rgba(255, 255, 255, .04); --accent: var(--cyan); --on-accent: var(--night); }
.contact-home .aurora { z-index: -1; }
.contact-home__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-home__title { font-size: var(--step-5); font-weight: 300; letter-spacing: -.045em; line-height: 1; }
.contact-home__text { color: var(--night-ink-2); font-size: var(--step-1); max-width: 40ch; }
.contact-home__ways { list-style: none; padding: 0; margin: var(--space-7) 0 0; display: grid; gap: .9rem; }
.contact-home__ways li { display: flex; align-items: center; gap: .8rem; }
.contact-home__ways .icon { color: var(--cyan); }
.contact-home__ways a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.contact-home__form { padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 30px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); backdrop-filter: blur(20px); }
@media (max-width: 900px) { .contact-home__grid { grid-template-columns: 1fr; } }

/* Quotes */
.quotes { display: flex; gap: var(--space-5); overflow-x: auto; padding: 0 var(--gutter) var(--space-4); scroll-snap-type: x mandatory; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quote { flex: none; width: min(85vw, 520px); margin: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-l); background: var(--bg-2); border: 1px solid var(--line); scroll-snap-align: start; display: flex; flex-direction: column; }
.quote__text { margin: 0 0 var(--space-6); font: 300 var(--step-1)/1.5 var(--f-display); flex: 1; }
.quote__text::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--accent); margin-bottom: .2em; }
.quote__by { display: flex; gap: .9rem; align-items: center; }
.quote__by span { display: grid; }
.quote__by small { color: var(--ink-2); }
.quote__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* 9. Cards ----------------------------------------------------------------- */
.cards { display: grid; gap: clamp(1rem, 2.4vw, 2rem); }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s, border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: var(--line-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; top: 1rem; left: 1rem; padding: .4em .75em; border-radius: 999px; background: rgba(13, 22, 27, .7); backdrop-filter: blur(8px); color: #fff; font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.card__eyebrow { font: 400 .74rem/1.4 var(--f-mono); color: var(--ink-3); letter-spacing: .04em; margin-bottom: var(--space-3); }
.card__eyebrow span { color: var(--accent); }
.card__title { font-size: var(--step-2); margin-bottom: .45em; }
.card__title a { text-decoration: none; }
.card__excerpt { color: var(--ink-2); font-size: .95rem; }
.card__meta { margin: auto 0 0; padding-top: var(--space-3); color: var(--ink-3); font-size: .82rem; display: flex; gap: .4em; align-items: center; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Venture card */
.venture { --accent-v: var(--accent); position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-l); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .7s var(--ease), box-shadow .7s, border-color .4s; }
.venture:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); border-color: color-mix(in srgb, var(--accent-v) 45%, transparent); }
.venture__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-2); flex: none; }
.ventures > :nth-child(3n) .venture__media, .ventures > :last-child:nth-child(3n+1) .venture__media { width: 50%; aspect-ratio: auto; min-height: 340px; }
.ventures > :nth-child(3n) .venture__body, .ventures > :last-child:nth-child(3n+1) .venture__body { justify-content: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.venture__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.venture:hover .venture__media img { transform: scale(1.05); }
.venture__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent-v) 45%, var(--night-2)), var(--night) 70%); }
.venture__placeholder .nodes { --pattern: color-mix(in srgb, var(--accent-v) 60%, transparent); }
.venture__placeholder span { position: relative; font: 300 italic clamp(5rem, 12vw, 9rem)/1 var(--f-display); color: rgba(255, 255, 255, .9); transition: transform 1s var(--ease); }
.venture:hover .venture__placeholder span { transform: scale(1.08) rotate(-4deg); }
.venture__body { padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.venture__top { display: flex; align-items: center; gap: .75rem; margin-bottom: var(--space-4); }
.venture__logo { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; background: #fff; }
.venture__years { margin-left: auto; font: 400 .8rem/1 var(--f-mono); color: var(--ink-3); }
.venture__title { font-size: var(--step-3); margin-bottom: .3em; letter-spacing: -.03em; }
.venture__title a { text-decoration: none; }
.venture__title a:hover { color: var(--accent-v); }
.venture__tagline { font: 300 var(--step-1)/1.4 var(--f-display); color: var(--ink-2); }
.venture__note { font: 400 .8rem/1.5 var(--f-mono); color: var(--accent-v); margin-bottom: .5em; }
.venture__role { margin: auto 0 0; padding-top: var(--space-4); font-size: .85rem; color: var(--ink-3); }
@media (max-width: 860px) { .ventures .venture { flex-direction: column !important; } .ventures .venture__media { width: auto !important; min-height: 0 !important; aspect-ratio: 16 / 10 !important; } }

/* Poem card */
.poems { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.poem-card { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--bg); transition: background-color .4s; }
.poem-card:hover { background: var(--bg-2); }
.poem-card__lang { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.poem-card__line { flex: 1; margin: var(--space-5) 0; font: 300 italic var(--step-2)/1.35 var(--f-display); }
.poem-card[lang="ne"] .poem-card__line { font-family: var(--f-ne); font-style: normal; font-size: var(--step-1); line-height: 1.6; }
.poem-card__title { font: 500 1rem/1.3 var(--f-sans); margin: 0; }
.poem-card__title a { text-decoration: none; }
.poem-card__mood { margin: .4em 0 0; color: var(--ink-3); font-size: .82rem; }

/* 9. Archives ---------------------------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.page-hero > .contours, .page-hero > .nodes { position: absolute; inset: 0; z-index: -1; }
.page-hero__title { font-size: var(--step-5); font-weight: 300; letter-spacing: -.045em; line-height: .98; margin-bottom: var(--space-5); max-width: 16ch; }
.page-hero__lede { max-width: 56ch; color: var(--ink-2); font-size: var(--step-1); }
.page-hero__lede p:last-child { margin: 0; }
.page-hero .stats { margin-top: var(--space-7); max-width: 560px; }
.page-hero .btn { margin-top: var(--space-5); }
.section--archive { padding-top: 0 !important; }

.xp-list { list-style: none; margin: 0; padding: 0; position: relative; }
.xp-list::before { content: ""; position: absolute; left: calc(220px + 1.5rem + 5px); top: .5rem; bottom: 0; width: 1px; background: var(--line-2); }
.xp { display: grid; grid-template-columns: 220px 12px 1fr; gap: 1.5rem; padding-bottom: var(--space-8); }
.xp__when { text-align: right; font: 400 .85rem/1.5 var(--f-mono); color: var(--ink-2); padding-top: .35rem; }
.xp__when small { display: block; color: var(--ink-3); }
.xp__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent); background: var(--bg); margin-top: .6rem; position: relative; z-index: 1; }
.xp:first-child .xp__dot { background: var(--accent); }
.xp__title { font-size: var(--step-3); margin-bottom: .2em; }
.xp__title a { text-decoration: none; }
.xp__company { color: var(--accent); font-weight: 500; }
.xp__company a { text-decoration: none; }
.xp__company span { color: var(--ink-3); font-weight: 400; }
.xp__summary { color: var(--ink-2); max-width: 62ch; }
.xp__mix { font: 400 .8rem/1.5 var(--f-mono); color: var(--ink-3); }
.xp__highlights { margin: var(--space-4) 0; padding-left: 1.1em; color: var(--ink-2); max-width: 62ch; }
.xp__highlights li { margin-bottom: .35em; }
.xp__highlights li::marker { color: var(--accent); }
@media (max-width: 760px) {
	.xp-list::before { left: 5px; }
	.xp { grid-template-columns: 12px 1fr; }
	.xp__when { grid-column: 2; grid-row: 1; text-align: left; padding: 0; }
	.xp__dot { grid-column: 1; grid-row: 1; }
	.xp__body { grid-column: 2; }
}

.masonry { columns: 3 300px; column-gap: 1rem; }
.masonry__item { break-inside: avoid; margin: 0 0 1rem; position: relative; border-radius: var(--radius); overflow: hidden; }
.masonry__item img { width: 100%; transition: transform 1.2s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__cap { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 1rem; padding: 2.5rem 1rem 1rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: .85rem; opacity: 0; transition: opacity .4s; }
.masonry__cap a { color: #fff; text-decoration: none; position: relative; z-index: 2; }
.masonry__cap span { display: inline-flex; align-items: center; gap: .35em; }
.masonry__item:hover .masonry__cap, .masonry__item:focus-within .masonry__cap { opacity: 1; }
@media (hover: none) { .masonry__cap { opacity: 1; } }

.pagination { margin-top: var(--space-8); }
.pagination .nav-links { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.pagination .page-numbers.current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.empty { position: relative; text-align: center; padding: var(--space-9) var(--gutter); border: 1px dashed var(--line-2); border-radius: var(--radius-l); overflow: hidden; }
.empty > .contours { position: absolute; inset: 0; z-index: -1; }
.empty__title { font: 300 var(--step-3)/1.1 var(--f-display); }

/* 10. Singles ---------------------------------------------------------------- */
.article__head { position: relative; padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 var(--space-7); overflow: hidden; isolation: isolate; }
.article__head > .contours { position: absolute; inset: 0; z-index: -1; }
.article__title { font-size: var(--step-5); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.article__sub { font: 300 var(--step-1)/1.5 var(--f-display); color: var(--ink-2); }
.article__meta { font: 400 .8rem/1.5 var(--f-mono); color: var(--ink-3); letter-spacing: .04em; margin-top: var(--space-5); }
.article__sanskrit { font: 400 var(--step-1)/1.6 var(--f-ne); color: var(--accent); margin-top: var(--space-5); }
.article__cover { margin: 0 auto var(--space-8); }
.article__cover img { width: 100%; border-radius: var(--radius-l); }
.article__cover figcaption { margin-top: .75em; font-size: .85rem; color: var(--ink-3); text-align: center; }

.prose { font-size: var(--step-0); line-height: 1.8; }
.prose > * + * { margin-top: 1.25em; }
.prose p { margin: 0; }
.prose h2 { font-size: var(--step-3); margin: 2em 0 .6em; }
.prose h3 { font-size: var(--step-2); margin: 1.8em 0 .5em; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 2em 0; padding: 0 0 0 1.5em; border-left: 2px solid var(--accent); font: 300 italic var(--step-1)/1.55 var(--f-display); }
.prose img, .prose figure img { border-radius: var(--radius); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .85rem; color: var(--ink-3); margin-top: .6em; text-align: center; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose code { font: 400 .88em var(--f-mono); background: var(--surface); padding: .15em .4em; border-radius: 5px; }
.prose pre { background: var(--night); color: var(--night-ink); padding: 1.25rem 1.5rem; border-radius: var(--radius-s); overflow-x: auto; font: 400 .88rem/1.7 var(--f-mono); }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: .75em; border-bottom: 1px solid var(--line); text-align: left; }
.prose .alignwide { margin-inline: calc(-1 * min(10vw, 140px)); max-width: none; }
.prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.prose .alignfull img { border-radius: 0; }
.prose--lede > p:first-child, .lede-first > p:first-child, .prose .lede { font: 300 var(--step-2)/1.5 var(--f-display); color: var(--ink); }
.prose--dropcap > p:first-of-type::first-letter { float: left; font: 400 5.2em/.82 var(--f-display); margin: .06em .1em 0 0; color: var(--accent); }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }

.refs { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.refs h2 { font-size: var(--step-1); }

.signature { display: flex; gap: var(--space-5); align-items: center; margin: var(--space-8) 0 var(--space-6); padding: var(--space-5); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.signature__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.signature__name { font: 500 var(--step-1)/1.2 var(--f-display); margin: 0 0 .2em; }
.signature__bio { color: var(--ink-2); font-size: .9rem; margin-bottom: .5em; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: var(--space-7) 0; }
.post-nav__link { display: grid; gap: .4rem; padding: var(--space-5); border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .5s var(--ease); }
.post-nav__link:hover { border-color: var(--accent); transform: translateY(-3px); color: inherit; }
.post-nav__link span { display: inline-flex; gap: .4em; align-items: center; font: 400 .75rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.post-nav__link strong { font: 400 var(--step-1)/1.25 var(--f-display); }
.post-nav__link--next { text-align: right; grid-column: 2; }
.post-nav__link--next span { justify-content: flex-end; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: 1; } }

/* Poem single */
.poem { position: relative; padding: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)) 0 var(--space-9); overflow: hidden; isolation: isolate; }
.poem > .weave { position: absolute; inset: 0; z-index: -1; }
.poem__head { margin-bottom: var(--space-8); }
.poem__title { font: 300 italic var(--step-5)/1 var(--f-display); letter-spacing: -.04em; }
.poem[lang="ne"] .poem__title { font-family: var(--f-ne); font-style: normal; font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.poem__body { font-size: var(--step-2); }
.poem__foot { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line); display: grid; gap: var(--space-4); justify-items: start; }
.poem__sign { font: 400 italic var(--step-1)/1 var(--f-display); margin: 0; }
.poem__meta { font: 400 .8rem/1 var(--f-mono); color: var(--ink-3); margin: 0; }
.poem__audio { margin: 0; width: 100%; }
.poem__audio figcaption { font-size: .85rem; color: var(--ink-2); margin-bottom: .5em; }
.poem__audio audio { width: 100%; }

/* Photo single */
.photo__frame { margin: 0; background: #070b0d; padding-top: var(--header-h); }
.photo__frame img { width: 100%; max-height: calc(100vh - var(--header-h)); object-fit: contain; margin-inline: auto; cursor: zoom-in; }
.photo__grid { display: grid; grid-template-columns: 1fr 320px; gap: var(--space-8); padding-block: var(--space-8); }
.photo__title { font-size: var(--step-4); font-weight: 300; }
.photo__side { display: grid; gap: var(--space-5); align-content: start; }
@media (max-width: 860px) { .photo__grid { grid-template-columns: 1fr; } }

/* Venture & split */
.page-hero--venture { --accent: var(--accent-v, var(--signal)); }
.venture-single__top { display: flex; gap: 1rem; align-items: center; margin-bottom: var(--space-5); }
.venture-single__logo { width: 56px; height: 56px; border-radius: 14px; background: #fff; object-fit: contain; }
.split { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 6vw, 6rem); padding-bottom: var(--space-9); }
.split__side { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.split__main { max-width: 720px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__side { position: static; } }

/* Case */
.case__step { padding: var(--space-6) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: var(--space-5); }
.case__h { font: 500 .78rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: .4em 0 0; }
@media (max-width: 640px) { .case__step { grid-template-columns: 1fr; } }

/* Journey */
.journey__hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; padding-bottom: var(--space-8); background: var(--night); color: var(--night-ink); overflow: hidden; isolation: isolate; }
.journey__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.journey__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 22, 27, .3), rgba(13, 22, 27, .2) 40%, rgba(13, 22, 27, .92)); }
.journey__title { font-size: var(--step-6); font-weight: 300; letter-spacing: -.05em; line-height: .95; max-width: 14ch; }
.journey__profile { margin-block: var(--space-8); }
.altitude { width: 100%; overflow: visible; }
.altitude__area { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.altitude__line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.is-visible .altitude__line, .altitude.is-visible .altitude__line, .no-reveal .altitude__line { stroke-dashoffset: 0; }
.altitude__stop circle { fill: var(--bg); stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.altitude__stop.is-peak circle { fill: var(--accent); }
.altitude__peak { font: 500 13px var(--f-mono); fill: var(--ink-2); text-anchor: middle; }
.altitude--mini { height: 70px; margin: var(--space-3) 0; }
.altitude--mini .altitude__peak, .altitude--mini .altitude__stop:not(.is-peak) { display: none; }
.route { display: flex; justify-content: space-between; gap: 1rem; list-style: none; padding: 0; margin: var(--space-4) 0 0; overflow-x: auto; }
.route li { display: grid; text-align: center; min-width: 80px; font-size: .85rem; }
.route small { color: var(--ink-3); font-family: var(--f-mono); font-size: .72rem; }

/* About */
.about__hero { position: relative; padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 var(--space-8); overflow: hidden; isolation: isolate; }
.about__hero > .contours { position: absolute; inset: 0; z-index: -1; }
.about__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__tag { font: 300 italic var(--step-2)/1.35 var(--f-display); color: var(--ink-2); max-width: 22ch; }
.about__portrait { margin: 0; position: relative; }
.about__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-l); box-shadow: var(--shadow-l); }
.about__portrait figcaption { position: absolute; left: -1.5rem; bottom: 2rem; padding: .6em 1em; background: var(--accent); color: var(--on-accent); border-radius: 8px; font: 500 .8rem/1 var(--f-mono); letter-spacing: .08em; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.about__h { font: 500 .78rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--space-5); }
.about__h:not(:first-child) { margin-top: var(--space-7); }
.edu { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); }
.edu li { display: grid; gap: .2em; padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.edu strong { font: 400 var(--step-1)/1.3 var(--f-display); }
.edu span { color: var(--ink-2); }
.edu small { font-family: var(--f-mono); color: var(--ink-3); }
@media (max-width: 860px) { .about__grid, .about__cols { grid-template-columns: 1fr; } .about__portrait { max-width: 380px; } .about__portrait figcaption { left: 1rem; } }

/* Contact */
.contact { position: relative; padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 var(--space-9); overflow: hidden; isolation: isolate; }
.contact > .nodes { position: absolute; inset: 0; z-index: -1; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.contact__avail { display: flex; align-items: center; gap: .6em; color: var(--ink-2); margin: var(--space-5) 0; }
.contact__form { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-l); background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); align-self: start; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { position: relative; min-height: 90vh; display: grid; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem; overflow: hidden; isolation: isolate; }
.notfound > .contours { position: absolute; inset: 0; z-index: -1; }
.notfound__code { font: 200 italic clamp(6rem, 22vw, 16rem)/.8 var(--f-display); color: var(--accent); opacity: .9; margin-bottom: var(--space-5); letter-spacing: -.06em; }
.notfound .search-form { margin: var(--space-6) 0; }

/* Gallery & lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1rem; margin: var(--space-7) 0; }
.gallery--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.gallery__item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: rgba(7, 11, 13, .94); backdrop-filter: blur(6px); color: #fff; padding: 4rem 1rem; animation: fade .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; gap: 1rem; justify-items: center; max-width: 100%; }
.lightbox__figure img { max-height: 82vh; max-width: min(1600px, 92vw); width: auto; border-radius: 6px; box-shadow: 0 30px 80px #000; }
.lightbox__figure figcaption { font-size: .9rem; color: #c9d1d4; text-align: center; }
.lightbox .icon-btn { position: absolute; border-color: rgba(255, 255, 255, .25); color: #fff; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; }
.lightbox__next { right: 1rem; top: 50%; }
@keyframes fade { from { opacity: 0; } }

/* Comments */
.comments { margin-top: var(--space-8); }
.comments__title { font-size: var(--step-2); }
.comments__list, .comments__list .children { list-style: none; padding: 0; }
.comments__list .children { padding-left: var(--space-6); }
.comment-body { padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: .75em; }
.comment-author img { border-radius: 50%; }
.comment-meta { font-size: .8rem; color: var(--ink-3); }

/* 11. Forms ------------------------------------------------------------------ */
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .5em; }
.field span, .form__topics legend { font: 500 .75rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .search-form__input, .comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; padding: .95em 1.1em; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg);
	color: var(--ink); font: inherit; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .search-form__input:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field textarea { resize: vertical; min-height: 160px; }
.form__topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.form__topics legend { margin-bottom: .9em; }
.form__topics .chip { position: relative; }
.form__topics .chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__topics .chip:has(input:checked) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.form__topics .chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__note { padding: 1em 1.2em; border-radius: 12px; margin: 0; }
.form__note--ok { background: rgba(19, 138, 82, .12); color: #0f7a48; }
.form__note--err { background: rgba(178, 58, 34, .1); color: var(--vermilion); }
.search-form { position: relative; display: flex; max-width: 520px; }
.search-form__input { padding-right: 3.5rem; border-radius: 999px; }
.search-form .icon-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; }



/* Ventures archive grid */
.ventures { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.ventures > * { grid-column: span 6; }
.ventures > :nth-child(3n+1) { grid-column: span 7; }
.ventures > :nth-child(3n+2) { grid-column: span 5; }
.ventures > :nth-child(3n), .ventures > :last-child:nth-child(3n+1) { grid-column: span 12; }
.ventures > .venture:nth-child(3n), .ventures > .venture:last-child:nth-child(3n+1) { flex-direction: row; }
.ventures > :nth-child(3n) .venture__media, .ventures > :last-child:nth-child(3n+1) .venture__media { width: 50%; aspect-ratio: auto; min-height: 340px; }
.ventures > :nth-child(3n) .venture__body, .ventures > :last-child:nth-child(3n+1) .venture__body { justify-content: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 860px) { .ventures > * { grid-column: 1 / -1 !important; } .ventures .venture { flex-direction: column !important; } .ventures .venture__media { width: auto !important; min-height: 0 !important; aspect-ratio: 16 / 10 !important; } }

/* 12. Footer ------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; padding: var(--space-9) 0 var(--space-5); background: var(--bg-2); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: var(--space-8); padding-bottom: var(--space-7); }
.site-footer__big { font: 300 var(--step-3)/1.1 var(--f-display); letter-spacing: -.03em; max-width: 18ch; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-6); }
.site-footer__h { font: 500 .72rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer__cols a { text-decoration: none; color: var(--ink-2); }
.site-footer__cols a:hover { color: var(--accent); }
.wordmark { margin: 0; padding-inline: var(--gutter); font: 300 clamp(3.5rem, 15.5vw, 15rem)/.85 var(--f-display); letter-spacing: -.06em; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; overflow: hidden; }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: var(--space-5); border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }
.site-footer__base p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; } }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: var(--space-5) 0 0; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; color: inherit; transition: all .3s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }

/* Command palette */
.palette { position: fixed; inset: 0; z-index: 600; display: grid; justify-items: center; align-items: start; padding: 12vh 1rem 1rem; background: rgba(5, 9, 11, .55); backdrop-filter: blur(6px); animation: fade .25s var(--ease); }
.palette[hidden] { display: none; }
.palette__box { width: min(640px, 100%); border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); overflow: hidden; animation: pop .35s var(--ease); }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.palette__field { display: flex; align-items: center; gap: .75rem; padding: 0 1.1rem; border-bottom: 1px solid var(--line); }
.palette__field .icon { color: var(--ink-3); }
.palette__input { flex: 1; min-width: 0; height: 62px; border: 0; background: none; color: var(--ink); font: 400 1.1rem var(--f-sans); outline: none; }
.palette__input::-webkit-search-cancel-button { display: none; }
.palette__results { list-style: none; margin: 0; padding: .5rem; max-height: 52vh; overflow-y: auto; }
.palette__group { padding: .7rem .8rem .35rem; font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.palette__item a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem .85rem; border-radius: 12px; text-decoration: none; color: var(--ink); }
.palette__item a small { font: 400 .72rem var(--f-mono); color: var(--ink-3); white-space: nowrap; }
.palette__item.is-active a, .palette__item a:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--ink); }
.palette__empty { padding: 1.5rem; text-align: center; color: var(--ink-3); }
.palette__hint { display: flex; gap: 1.25rem; margin: 0; padding: .7rem 1.1rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .75rem; }
.palette__hint kbd { margin-right: .2rem; }

/* 13. Patterns (generated by JS into these containers) -------------------------- */
.contours, .nodes, .weave, .stars { pointer-events: none; }
.contours svg, .nodes svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.contours path { fill: none; stroke: var(--pattern); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nodes { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.nodes line { stroke: var(--pattern); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nodes circle { fill: var(--pattern); }
.nodes circle.is-hot { fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); }
.weave {
	position: absolute; inset: 0; z-index: -1; opacity: .9;
	background-image: linear-gradient(45deg, var(--pattern) 1px, transparent 1px), linear-gradient(-45deg, var(--pattern) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
}

/* 14. Motion ------------------------------------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .ink > * { opacity: 0; filter: blur(6px); transform: translateY(6px); transition: opacity 1.4s var(--ease), filter 1.4s var(--ease), transform 1.4s var(--ease); transition-delay: calc(var(--ln, 0) * 160ms); }
.js .ink > .is-visible { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal, .js .ink > * { opacity: 1; transform: none; filter: none; }
	.intro__text .w { opacity: 1; }
	.altitude__line { stroke-dashoffset: 0; }
	.marquee__track, .proof__track { animation: none; }
	@view-transition { navigation: none; }
}

/* 15. Utilities / WP core ------------------------------------------------------- */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--ink-3); }
.hero__grid > *, .split > *, .contact__grid > *, .about__grid > *, .photo__grid > *, .intro__grid > *, .poetry__grid > *, .stage__grid > * { min-width: 0; }
@media print {
	.site-header, .site-footer, .progress, .grain, .contours, .nodes, .weave, .stars, .lightbox, .palette, .marquee { display: none !important; }
	body { background: #fff; color: #000; }
	.js .reveal, .js .ink > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}
