/* Atlas & Aperture design system. Tokens first, then layout, components and pages. */
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  /* Brand */
  --obsidian: #111110; --charcoal: #252422; --gold: #C7B299; --ivory: #F5F1EB; --stone: #A8A39B; --bronze: #8C7358;
  /* Derived */
  --ink: #0B0B0A; --graphite: #1A1918; --smoke: #2E2C29; --bronze-ink: #6E5A40; --stone-ink: #5E5A53; --paper: #FBF9F5;
  --line: rgba(245, 241, 235, .12); --line-strong: rgba(245, 241, 235, .24); --line-dark: rgba(17, 17, 16, .14);
  /* Semantic (dark surfaces / light surfaces) */
  --ok: #7FB596; --ok-ink: #2F6B4F; --warn: #E0B06A; --warn-ink: #7E5410; --err: #EB8B7C; --err-ink: #A33A2B; --info: #9DB8D6;
  /* Type */
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-xs: .75rem; --fs-s: .875rem; --fs-m: 1rem; --fs-l: clamp(1.125rem, 1rem + .4vw, 1.3rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem); --fs-h2: clamp(2.25rem, 1.6rem + 2.6vw, 4rem);
  --fs-d1: clamp(3rem, 1.6rem + 6.2vw, 8.6rem); --fs-d2: clamp(2.6rem, 1.6rem + 4.4vw, 6rem);
  /* Space & layout */
  --gutter: clamp(1.25rem, 4.5vw, 5rem); --max: 1440px; --header: 76px;
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: clamp(5rem, 10vw, 9rem); --s7: clamp(6rem, 14vw, 13rem);
  --radius: 2px; --radius-l: 14px;
  /* Motion */
  --ease: cubic-bezier(.2, .7, .1, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); --t: .7s;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--obsidian); color: var(--ivory); font: 400 var(--fs-m)/1.6 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
.arr { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class], nav ul, footer ul, .fcol ul { list-style: none; padding: 0; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--obsidian); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--obsidian); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.display, .h1, .h2, h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: .98; text-wrap: balance; }
.display { font-size: var(--fs-d1); line-height: .92; letter-spacing: -.025em; }
.display-2 { font-family: var(--serif); font-size: var(--fs-d2); line-height: .95; letter-spacing: -.02em; font-weight: 400; text-wrap: balance; }
.h1, h1 { font-size: var(--fs-d2); }
.h2, h2 { font-size: var(--fs-h2); line-height: 1.02; }
.h3, h3 { font-family: var(--sans); font-size: var(--fs-h3); line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.display em, .h1 em, .h2 em, h1 em, h2 em, .display-2 em { font-style: italic; color: var(--gold); }
.lede { font-size: var(--fs-l); line-height: 1.55; color: color-mix(in srgb, var(--ivory) 82%, transparent); max-width: 38em; text-wrap: pretty; }
.eyebrow, .label { font: 500 var(--fs-xs)/1.2 var(--sans); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: .9em; }
.eyebrow .num { color: var(--stone); letter-spacing: .1em; }
.eyebrow + .h2, .eyebrow + h2 { margin-top: 1rem; }
.eyebrow .num::after { content: ''; display: inline-block; width: 2.4em; height: 1px; background: currentColor; vertical-align: middle; margin-left: .9em; opacity: .6; }
.muted { color: var(--stone); }
.small { font-size: var(--fs-s); }
.prose { max-width: 44rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.2em; color: color-mix(in srgb, var(--ivory) 86%, transparent); line-height: 1.75; text-wrap: pretty; }
.prose h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin: 2em 0 .6em; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.25rem; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--gold); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s6); position: relative; }
.section-tight { padding-block: var(--s5); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.light { background: var(--ivory); color: var(--obsidian); color-scheme: light; }
.light .lede, .light .prose p, .light .prose ul { color: color-mix(in srgb, var(--obsidian) 78%, transparent); }
.light .eyebrow, .light .label { color: var(--bronze-ink); }
.light .muted, .light .eyebrow .num { color: var(--stone-ink); }
.light .display em, .light .h1 em, .light .h2 em, .light h1 em, .light h2 em, .light .display-2 em { color: var(--bronze-ink); }
.light :focus-visible { outline-color: var(--bronze-ink); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.light .rule { background: var(--line-dark); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--gold); --fg: var(--obsidian); display: inline-flex; align-items: center; gap: .9em; min-height: 52px; padding: .85em 1.5em; background: var(--bg); color: var(--fg); border: 1px solid var(--bg); border-radius: var(--radius); font: 500 var(--fs-s)/1 var(--sans); font-stretch: 112%; letter-spacing: .06em; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); white-space: nowrap; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--ivory); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn > * { position: relative; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .arr { width: 1.15em; height: 1.15em; transition: transform .45s var(--ease); flex: none; }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--ivory); border-color: var(--line-strong); }
.btn-ghost::before { background: color-mix(in srgb, var(--ivory) 8%, transparent); }
.light .btn { --bg: var(--obsidian); --fg: var(--ivory); }
.light .btn::before { background: var(--charcoal); }
.light .btn-ghost { --bg: transparent; --fg: var(--obsidian); border-color: rgba(17, 17, 16, .3); }
.light .btn-ghost::before { background: rgba(17, 17, 16, .06); }
.btn-small { min-height: 42px; padding: .7em 1.1em; font-size: .8rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.link { display: inline-flex; gap: .6em; align-items: center; color: var(--gold); text-decoration: none; font-weight: 500; border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent); padding-bottom: 2px; }
.link .arr { width: 1em; height: 1em; transition: transform .35s var(--ease); }
.link:hover .arr { transform: translateX(4px); }
.light .link { color: var(--bronze-ink); }
.link-quiet { color: var(--stone); text-decoration: none; font-size: var(--fs-s); }
.link-quiet:hover { color: var(--ivory); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); display: flex; align-items: center; gap: 2rem; padding-inline: var(--gutter); transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: color-mix(in srgb, var(--obsidian) 86%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ivory); flex: none; }
.brand .mark { width: 34px; height: 34px; color: var(--gold); }
.wordmark { display: inline-flex; align-items: baseline; gap: .42em; font: 500 .82rem/1 var(--sans); font-stretch: 125%; letter-spacing: .26em; text-transform: uppercase; }
.wordmark i { font: italic 400 1.35em/1 var(--serif); letter-spacing: 0; color: var(--gold); text-transform: none; }
.primary { margin-left: auto; }
.primary ul { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.primary a { text-decoration: none; font-size: var(--fs-s); color: color-mix(in srgb, var(--ivory) 78%, transparent); letter-spacing: .02em; position: relative; padding-block: .5rem; transition: color .3s; }
.primary a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.primary a:hover, .primary a[aria-current] { color: var(--ivory); }
.primary a:hover::after, .primary a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: transparent; border-radius: 50%; position: relative; cursor: pointer; }
.menu-toggle i { position: absolute; left: 14px; right: 14px; height: 1px; background: var(--ivory); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle i:first-of-type { top: 19px; } .menu-toggle i:last-of-type { top: 26px; }
.menu-toggle[aria-expanded="true"] i:first-of-type { top: 22.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-of-type { top: 22.5px; transform: rotate(-45deg); }
.mobile-cta { display: none; }
/* Compact Start button for phones and small tablets (owner-approved fix, 26 Nov 2026): the full header button is hidden
   below 860px and the bottom bar only appears after scrolling, so the first screen needs its own. */
.header-start { display: none; }
/* ---------- Site menu (full-screen navigation, phones and tablets) ----------
   A sibling of .site-header, never a child: the header's backdrop-filter/transform would make it the containing
   block of any fixed child and clip the overlay to the header strip. tools/nav-guard.mjs enforces this. */
.site-menu { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: 200; display: flex; flex-direction: column; background-color: var(--obsidian); background-image: radial-gradient(110% 60% at 100% 0%, rgba(199, 178, 153, .09), transparent 62%), radial-gradient(90% 55% at 0% 100%, rgba(140, 115, 88, .10), transparent 60%); color: var(--ivory); isolation: isolate; overscroll-behavior: contain; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); }
.site-menu[hidden] { display: none !important; }
.site-menu.is-open { -webkit-clip-path: inset(0); clip-path: inset(0); transition: clip-path .72s var(--ease-io), -webkit-clip-path .72s var(--ease-io); }
.site-menu.is-closing { -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); transition: clip-path .56s var(--ease-io) .2s, -webkit-clip-path .56s var(--ease-io) .2s; }
.site-menu-bar { flex: none; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: calc(var(--header) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.site-menu-bar::after { content: ''; position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 0; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line) 38%, var(--line)); transform: scaleX(0); transform-origin: left; }
.site-menu-bar .brand { opacity: 0; }
.site-menu-close { flex: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: transparent; border-radius: 50%; position: relative; cursor: pointer; color: var(--ivory); transition: border-color .3s, background-color .3s; }
.site-menu-close i { position: absolute; left: 14px; right: 14px; top: 22.5px; height: 1px; background: currentColor; transform: rotate(0); }
.site-menu-close:hover { border-color: var(--gold); background: rgba(199, 178, 153, .08); }
.site-menu-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(1.75rem, 4.5vh, 3rem); padding: clamp(1.1rem, 3.2vh, 2.6rem) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(clamp(1.25rem, 3.5vh, 2.25rem) + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.site-menu-list { list-style: none; margin: 0; padding: 0; display: grid; }
.site-menu-list li { position: relative; }
.site-menu-list li::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; }
.site-menu-link { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: baseline; padding: clamp(.3rem, 1.05vh, .7rem) 0; color: var(--ivory); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.site-menu-num { font: 500 .66rem/1 var(--sans); font-stretch: 112%; letter-spacing: .2em; color: var(--stone); font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(.5em); }
.site-menu-mask { display: block; overflow: hidden; padding: .04em 0 .1em; margin: -.04em 0 -.1em; }
.site-menu-label { display: inline-block; font: 400 clamp(1.85rem, min(8.6vw, 5.4vh), 3.5rem)/1.06 var(--serif); letter-spacing: -.012em; transform: translateY(108%); transition: color .3s; }
.site-menu-link[aria-current] .site-menu-label { color: var(--gold); font-style: italic; }
.site-menu-link[aria-current] .site-menu-num { color: var(--gold); }
.site-menu-link:focus-visible { outline: none; }
.site-menu-link:focus-visible .site-menu-label { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .14em; }
.site-menu-close:focus-visible, .site-menu-bar .brand:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .site-menu-link:hover .site-menu-label { color: var(--gold); } }
.site-menu-foot { display: grid; gap: 1.1rem; justify-items: start; opacity: 0; transform: translateY(14px); }
.site-menu-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-menu-meta a { overflow-wrap: anywhere; }
.site-menu-tag { margin: 0; font: italic 400 1.05rem/1.3 var(--serif); color: var(--stone); }
/* Entrance: curtain falls, hairline draws, links rise from their masks one after another. */
.site-menu.is-open .site-menu-bar::after { transform: scaleX(1); transition: transform 1s var(--ease) .3s; }
.site-menu.is-open .site-menu-bar .brand { opacity: 1; transition: opacity .6s var(--ease) .32s; }
.site-menu.is-open .site-menu-close i:first-of-type { transform: rotate(45deg); transition: transform .6s var(--ease) .36s; }
.site-menu.is-open .site-menu-close i:last-of-type { transform: rotate(-45deg); transition: transform .6s var(--ease) .36s; }
.site-menu.is-open .site-menu-label { transform: none; transition: transform .95s var(--ease) calc(.3s + var(--i) * 55ms), color .3s; }
.site-menu.is-open .site-menu-num { opacity: 1; transform: none; transition: opacity .7s var(--ease) calc(.42s + var(--i) * 55ms), transform .7s var(--ease) calc(.42s + var(--i) * 55ms); }
.site-menu.is-open .site-menu-list li::after { transform: scaleX(1); transition: transform 1.1s var(--ease) calc(.34s + var(--i) * 55ms); }
.site-menu.is-open .site-menu-foot { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(.38s + var(--i) * 55ms), transform .8s var(--ease) calc(.38s + var(--i) * 55ms); }
/* Exit: links lift away last-to-first, then the curtain rises. */
.site-menu.is-closing .site-menu-label { transform: translateY(-108%); transition: transform .38s var(--ease-io) calc((var(--n) - var(--i)) * 18ms); }
.site-menu.is-closing .site-menu-num, .site-menu.is-closing .site-menu-foot, .site-menu.is-closing .site-menu-bar .brand { opacity: 0; transition: opacity .25s linear; }
.site-menu.is-closing .site-menu-list li::after, .site-menu.is-closing .site-menu-bar::after { transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-io); }
/* While open: the page underneath is frozen in place (iOS-safe) and the floating enquiry bar steps aside. */
html.menu-locked { overflow: hidden; }
body.menu-open { overflow: hidden; position: fixed; left: 0; right: 0; width: 100%; }
body.menu-open .mobile-cta { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(160%) !important; transition: transform .3s var(--ease), opacity .2s linear, visibility 0s linear .3s; }
@media (min-width: 700px) {
  .site-menu-body { padding-left: max(calc(var(--gutter) + 3vw), env(safe-area-inset-left, 0px)); padding-right: max(calc(var(--gutter) + 3vw), env(safe-area-inset-right, 0px)); }
  .site-menu-link { grid-template-columns: 3.6rem minmax(0, 1fr); }
  .site-menu-foot { grid-template-columns: auto 1fr; align-items: center; column-gap: 2rem; }
  .site-menu-tag { grid-column: 1 / -1; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .site-menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .site-menu-label { font-size: clamp(1.6rem, 7.5vh, 2.2rem); }
}
@media (min-width: 1101px) { .site-menu { display: none !important; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: var(--s5) var(--gutter) 7rem; max-width: var(--max); margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer-brand .brand .mark { width: 44px; height: 44px; }
.footer-tag { font: italic 400 1.6rem/1.2 var(--serif); margin: 1.4rem 0 .6rem; color: var(--ivory); }
.footer-note { color: var(--stone); font-size: var(--fs-s); max-width: 26em; }
.footer-mail { display: inline-block; margin-top: 1.2rem; color: var(--gold); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.fcol h2 { font: 500 var(--fs-xs)/1 var(--sans); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin-bottom: 1.2rem; }
.fcol ul { display: grid; gap: .1rem; }
.fcol a { display: inline-block; min-height: 24px; padding: .3rem 0; text-decoration: none; font-size: var(--fs-s); color: color-mix(in srgb, var(--ivory) 80%, transparent); }
.fcol a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: var(--s5); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--stone); }
.footer-bottom ul { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom a { display: inline-block; min-height: 24px; padding: .3rem 0; text-decoration: none; }
.footer-bottom a:hover { color: var(--ivory); }

/* ---------- Reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-lines] .line-inner { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--l, 0) * 45ms); }
.js [data-reveal-lines] .line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-reveal-lines].in .line-inner { transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }

/* ---------- Intro (homepage, first visit only) ---------- */
.intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--ink); pointer-events: auto; }
.intro svg.iris { width: min(46vmin, 360px); height: auto; overflow: visible; }
.intro .iris-mark { color: var(--gold); opacity: 0; }
.intro.play .iris-mark { animation: introMark 1.2s var(--ease) .35s forwards; }
.intro .blades path { fill: #0d0d0c; stroke: rgba(199, 178, 153, .35); stroke-width: .6; transform-origin: 60px 60px; transform-box: view-box; }
.intro.play .blades path { animation: blade 1.15s var(--ease-io) forwards; animation-delay: calc(var(--b) * 25ms); }
.intro.done { animation: introOut .7s var(--ease) forwards; }
.intro-skip { position: absolute; right: var(--gutter); bottom: 2rem; background: none; border: 1px solid var(--line-strong); color: var(--stone); padding: .6rem 1rem; border-radius: 99px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
@keyframes blade { to { transform: rotate(var(--r)) translate(var(--tx), var(--ty)) scale(.2); opacity: 0; } }
@keyframes introMark { 0% { opacity: 0; transform: scale(.92); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; clip-path: circle(0 at 50% 50%); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); transform-origin: 70% 55%; }
.js .hero-media img { transition: transform 2.6s var(--ease); }
.hero.lit .hero-media img { transform: scale(1); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 9, .92) 0%, rgba(10, 10, 9, .72) 34%, rgba(10, 10, 9, .08) 64%, rgba(10, 10, 9, 0) 100%), linear-gradient(0deg, rgba(10, 10, 9, .95) 0%, rgba(10, 10, 9, 0) 34%); }
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 75%) var(--my, 40%), rgba(214, 186, 140, .12), transparent 60%); mix-blend-mode: screen; transition: opacity .6s; }
.hero-inner { padding: calc(var(--header) + 6vh) var(--gutter) clamp(3rem, 9vh, 7rem); width: 100%; max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.hero h1 { font-size: var(--fs-d1); line-height: .9; letter-spacing: -.03em; max-width: 11.5em; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l2 { color: var(--gold); font-style: italic; }
.hero .lede { margin-top: 1.6rem; max-width: 31em; }
.hero .cta-row { margin-top: 2.2rem; }
.hero-side { display: grid; gap: 1.4rem; justify-items: end; text-align: right; }
.chapter-tag { font: 500 var(--fs-xs)/1.4 var(--sans); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.chapter-tag b { color: var(--gold); font-weight: 500; display: block; }
.scroll-cue { display: inline-flex; align-items: center; gap: .8rem; color: var(--stone); text-decoration: none; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; font-stretch: 125%; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ivory); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
.hero-meta { position: absolute; top: calc(var(--header) + 1.2rem); right: var(--gutter); color: var(--stone); font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; font-stretch: 125%; display: flex; gap: 2rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header) + clamp(3.5rem, 9vw, 8rem)) 0 clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden; }
.page-hero .eyebrow { margin-bottom: 1.6rem; }
.page-hero h1 { max-width: 15em; }
.page-hero .lede { margin-top: 1.6rem; }
.page-hero .cta-row { margin-top: 2.2rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s4); align-items: end; }
.hero-aside { border-left: 1px solid var(--line); padding-left: 1.6rem; display: grid; gap: 1rem; color: var(--stone); font-size: var(--fs-s); }
.hero-aside strong { display: block; color: var(--ivory); font: 400 1.9rem/1 var(--serif); margin-bottom: .2rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; font-size: var(--fs-xs); color: var(--stone); letter-spacing: .06em; }
.crumbs li + li::before { content: '/'; margin-right: .5rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ivory); }
.page-hero .crumbs { margin-bottom: 2rem; }
.aperture-bg { position: absolute; right: -8vw; top: 50%; width: min(60vw, 760px); aspect-ratio: 1; transform: translateY(-50%); opacity: .07; color: var(--gold); pointer-events: none; }
.aperture-bg svg { width: 100%; height: 100%; }

/* ---------- Chapters (homepage) ---------- */
.chapter-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s4); align-items: end; margin-bottom: var(--s5); }
.chapter-head .lede { justify-self: end; }
.craft { overflow: hidden; }
.craft-statement { font-size: var(--fs-d1); line-height: .9; letter-spacing: -.03em; }
.craft-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s5); align-items: center; margin-top: var(--s5); }
.craft-pairs { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.craft-pairs > div { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line-dark); }
.craft-pairs span { font: 500 var(--fs-xs)/1.6 var(--sans); font-stretch: 125%; letter-spacing: .16em; color: var(--bronze-ink); }
.craft-pairs h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.craft-pairs p { color: var(--stone-ink); font-size: var(--fs-s); }
/* The lens: an aperture that reveals the engineering beneath the design */
.lens { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-l); overflow: hidden; background: var(--obsidian); box-shadow: 0 40px 80px -30px rgba(17, 17, 16, .45); cursor: crosshair; touch-action: pan-y; }
.lens-layer { position: absolute; inset: 0; }
.lens-design { background: radial-gradient(120% 90% at 85% 15%, #2a2723 0%, #141312 55%); color: var(--ivory); padding: 7% 8%; display: grid; grid-template-rows: auto 1fr auto; }
.lens-code { background: #0c0d0c; color: #b9c5b6; font: 400 clamp(.55rem, .45rem + .4vw, .8rem)/1.75 ui-monospace, 'SF Mono', Menlo, monospace; padding: 7% 8%; clip-path: circle(var(--lr, 0px) at var(--lx, 50%) var(--ly, 50%)); transition: clip-path .5s var(--ease); }
.lens.active .lens-code { transition: clip-path .12s linear; }
.lens-code .c-k { color: #C7B299; } .lens-code .c-s { color: #9fc29a; } .lens-code .c-c { color: #6c736a; } .lens-code .c-t { color: #9DB8D6; }
.lens-ring { position: absolute; left: var(--lx, 50%); top: var(--ly, 50%); width: calc(var(--lr, 0px) * 2); height: calc(var(--lr, 0px) * 2); transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(199, 178, 153, .7); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), inset 0 0 40px rgba(199, 178, 153, .15); pointer-events: none; transition: width .5s var(--ease), height .5s var(--ease); }
.lens.active .lens-ring { transition: none; }
.lens-ui-nav { display: flex; justify-content: space-between; align-items: center; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.lens-ui-nav b { color: var(--ivory); font-weight: 500; }
.lens-ui-title { align-self: center; font: 400 clamp(1.4rem, .8rem + 2.6vw, 3.2rem)/.95 var(--serif); letter-spacing: -.02em; max-width: 10em; }
.lens-ui-title em { color: var(--gold); }
.lens-ui-foot { display: flex; gap: .6rem; align-items: center; }
.lens-ui-foot span { font-size: .6rem; padding: .55rem .9rem; border-radius: 2px; background: var(--gold); color: var(--obsidian); letter-spacing: .08em; }
.lens-ui-foot span + span { background: transparent; border: 1px solid var(--line-strong); color: var(--ivory); }
.lens-code, .lens-ring, .lens-hint { pointer-events: none; }
.lens-cta { position: absolute; left: 8%; bottom: 9.3%; z-index: 4; }
.lens-cta a { font-size: .6rem; padding: .55rem .9rem; border-radius: 2px; background: var(--gold); color: var(--obsidian); letter-spacing: .08em; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; transition: background .3s; }
.lens-cta a + a { background: rgba(17, 17, 16, .55); border: 1px solid var(--line-strong); color: var(--ivory); }
.lens-cta a:hover { background: var(--ivory); color: var(--obsidian); }
@media (pointer: coarse) { .lens-cta a { font-size: .68rem; min-height: 40px; padding: .6rem 1rem; } }
.lens-hint { position: absolute; left: 1rem; bottom: 1rem; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); background: rgba(17, 17, 16, .7); padding: .4rem .7rem; border-radius: 99px; pointer-events: none; }

/* Exhibition (selected work) */
.exhibit { display: grid; gap: var(--s6); }
.exhibit-item { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--s4); align-items: center; }
.exhibit-item:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.exhibit-item:nth-child(even) .stage { order: 2; }
.exhibit-meta .label { margin-bottom: 1.2rem; }
.exhibit-meta h3 { font: 400 clamp(2.2rem, 1.4rem + 2.6vw, 4rem)/.95 var(--serif); letter-spacing: -.02em; }
.exhibit-meta p { color: color-mix(in srgb, var(--ivory) 78%, transparent); margin: 1.1rem 0 1.6rem; max-width: 28em; }
.concept-flag { display: inline-flex; align-items: center; gap: .5em; font: 500 .68rem/1 var(--sans); font-stretch: 125%; letter-spacing: .18em; text-transform: uppercase; color: var(--obsidian); background: var(--gold); padding: .45em .75em; border-radius: 99px; }
.light .concept-flag { background: var(--obsidian); color: var(--ivory); }
.meta-list { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: var(--fs-xs); color: var(--stone); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; }

/* Device stage: desktop / mobile frames with a live concept preview */
.stage { position: relative; }
.stage-frame { position: relative; border-radius: 12px; background: #0a0a0a; border: 1px solid var(--line-strong); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6); overflow: hidden; transition: width .7s var(--ease), aspect-ratio .7s var(--ease), border-radius .7s var(--ease); margin-inline: auto; }
.stage[data-device="desktop"] .stage-frame { width: 100%; aspect-ratio: 16 / 10.4; }
.stage[data-device="mobile"] .stage-frame { width: min(46%, 300px); aspect-ratio: 9 / 19.2; border-radius: 34px; border-width: 6px; border-color: #1d1c1b; }
.stage-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding-inline: 12px; background: #161615; border-bottom: 1px solid var(--line); }
.stage-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3936; }
.stage-bar span { margin-left: 10px; font-size: .62rem; color: var(--stone); letter-spacing: .04em; }
.stage[data-device="mobile"] .stage-bar { height: 22px; justify-content: center; }
.stage[data-device="mobile"] .stage-bar i, .stage[data-device="mobile"] .stage-bar span { display: none; }
.stage[data-device="mobile"] .stage-bar::before { content: ''; width: 70px; height: 6px; border-radius: 99px; background: #000; }
.stage-view { position: absolute; inset: 28px 0 0; overflow: hidden; background: #111; }
.stage[data-device="mobile"] .stage-view { inset: 22px 0 0; }
.stage-view iframe { max-width: none; border: 0; transform-origin: 0 0; position: absolute; left: 0; top: 0; }
.stage-poster { position: absolute; inset: 0; display: grid; place-items: center; color: var(--stone); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; }
.stage-switch { display: inline-flex; flex-wrap: wrap; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 22px; padding: 3px; gap: 2px; margin-top: 1.2rem; }
.stage-switch button { background: none; border: 0; padding: .45rem .9rem; border-radius: 99px; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); cursor: pointer; }
.stage-switch button[aria-pressed="true"] { background: var(--ivory); color: var(--obsidian); }
.stage-controls { display: flex; justify-content: center; }
/* Poster stage: real projects that are private or pre-launch (no faked screenshots) */
.poster { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 6%; text-align: center; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--pac) 22%, transparent), transparent 60%), var(--pbg); color: var(--pfg); }
.poster-rule { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--pac), transparent); }
.poster-mark { font-family: var(--serif, 'Cormorant Garamond', Georgia, serif); font-size: clamp(1.8rem, 1rem + 4.2vw, 4.6rem); line-height: 1; letter-spacing: -.01em; }
.poster-sub { font-size: clamp(.62rem, .5rem + .4vw, .9rem); letter-spacing: .26em; text-transform: uppercase; opacity: .78; }
.poster-chip { margin-top: .6rem; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; padding: .45rem .8rem; border: 1px solid color-mix(in srgb, var(--pfg) 35%, transparent); border-radius: 99px; opacity: .85; }
.stage.is-large .poster-mark { font-size: clamp(2.4rem, 1rem + 6vw, 6.4rem); }

/* Service explorer */
.explorer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: var(--s5); align-items: start; }
.explorer-list { border-top: 1px solid var(--line); }
.explorer-tab { width: 100%; display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: 1rem; padding: 1.35rem 0; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; color: var(--stone); transition: color .35s; }
.explorer-tab .n { font: 500 var(--fs-xs)/1 var(--sans); font-stretch: 125%; letter-spacing: .16em; }
.explorer-tab .t { font: 400 clamp(1.7rem, 1.2rem + 1.6vw, 2.7rem)/1 var(--serif); letter-spacing: -.01em; transition: transform .5s var(--ease), color .35s; }
.explorer-tab .arr { width: 1.3rem; height: 1.3rem; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .45s var(--ease); }
.explorer-tab:hover, .explorer-tab[aria-selected="true"] { color: var(--ivory); }
.explorer-tab[aria-selected="true"] .t { color: var(--gold); font-style: italic; transform: translateX(.4rem); }
.explorer-tab[aria-selected="true"] .arr { opacity: 1; transform: none; color: var(--gold); }
.explorer-panel { position: sticky; top: calc(var(--header) + 2rem); }
.explorer-panel[hidden] { display: none; }
.demo { aspect-ratio: 16 / 11; border: 1px solid var(--line); border-radius: var(--radius-l); background: linear-gradient(160deg, #1b1a18, #121211); position: relative; overflow: hidden; }
.panel-copy { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; }
.panel-copy p { color: color-mix(in srgb, var(--ivory) 80%, transparent); max-width: 32em; }

/* Demos (pure CSS/SVG illustrations, labelled as illustrations) */
.demo-label { position: absolute; top: .9rem; left: 1rem; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); z-index: 2; }
.d-resp { position: absolute; inset: 14% 8% 10%; display: flex; gap: 4%; align-items: flex-end; justify-content: center; }
.d-resp .dev { border: 1px solid var(--line-strong); border-radius: 8px; padding: 3%; display: grid; gap: 6%; align-content: start; background: #171615; animation: devIn 1s var(--ease) both; }
.d-resp .dev:nth-child(1) { width: 58%; aspect-ratio: 16/10; } .d-resp .dev:nth-child(2) { width: 24%; aspect-ratio: 3/4; animation-delay: .12s; } .d-resp .dev:nth-child(3) { width: 12%; aspect-ratio: 9/19; animation-delay: .24s; }
.d-resp .dev b { display: block; height: 6px; border-radius: 3px; background: var(--line-strong); }
.d-resp .dev b.g { background: var(--gold); width: 40%; }
.d-resp .dev b.h { height: 14px; width: 80%; background: rgba(245, 241, 235, .5); }
@keyframes devIn { from { opacity: 0; transform: translateY(16px); } }
.d-commerce { position: absolute; inset: 14% 8% 10%; display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; }
.d-commerce .prod { aspect-ratio: 4/5; border-radius: 10px; background: radial-gradient(circle at 50% 35%, #3b332b, #1a1816); display: grid; place-items: center; }
.d-commerce .prod i { width: 42%; aspect-ratio: 3/4; border-radius: 6px; background: linear-gradient(160deg, var(--gold), var(--bronze)); box-shadow: 0 20px 30px -10px #000; animation: float 5s ease-in-out infinite; }
.d-commerce .info { display: grid; gap: .7rem; }
.d-commerce .info b { font: 400 1.5rem/1 var(--serif); } .d-commerce .info small { color: var(--stone); }
.d-commerce .sw { display: flex; gap: .4rem; } .d-commerce .sw i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); }
.d-commerce .add { margin-top: .4rem; padding: .7rem; text-align: center; background: var(--gold); color: var(--obsidian); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; border-radius: 2px; }
.d-commerce .pay { font-size: .62rem; color: var(--stone); display: flex; gap: .4rem; align-items: center; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-2deg); } }
.d-identity { position: absolute; inset: 12% 8% 10%; display: grid; grid-template-columns: 1fr 1fr; gap: 5%; }
.d-identity .spec { font: 400 clamp(3rem, 2rem + 5vw, 7rem)/.8 var(--serif); color: var(--ivory); align-self: center; }
.d-identity .spec em { color: var(--gold); }
.d-identity .chips { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; align-content: center; }
.d-identity .chips i { aspect-ratio: 1.4; border-radius: 6px; display: flex; align-items: flex-end; padding: .4rem; font: normal .55rem/1 var(--sans); letter-spacing: .06em; }
.d-auto { position: absolute; inset: 16% 6% 12%; }
.d-auto svg { width: 100%; height: 100%; overflow: visible; }
.d-auto .node rect { fill: #1d1c1a; stroke: rgba(245, 241, 235, .25); }
.d-auto .node text { fill: var(--ivory); font: 500 9px var(--sans); letter-spacing: .04em; }
.d-auto .node.h rect { stroke: var(--gold); } .d-auto .node.h text { fill: var(--gold); }
.d-auto .wire { fill: none; stroke: rgba(245, 241, 235, .2); stroke-width: 1; }
.d-auto .pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 10 300; animation: pulse 3.2s linear infinite; }
@keyframes pulse { from { stroke-dashoffset: 310; } to { stroke-dashoffset: 0; } }
.d-app { position: absolute; inset: 12% 7% 10%; display: grid; grid-template-columns: 22% 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #151514; }
.d-app aside { border-right: 1px solid var(--line); padding: 10%; display: grid; gap: 10%; align-content: start; }
.d-app aside i { height: 6px; border-radius: 3px; background: var(--line-strong); } .d-app aside i:first-child { background: var(--gold); width: 70%; }
.d-app .main { padding: 5%; display: grid; gap: 5%; grid-template-rows: auto 1fr; }
.d-app .kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.d-app .kpi i { aspect-ratio: 2.2; border: 1px solid var(--line); border-radius: 6px; }
.d-app .chart { border: 1px solid var(--line); border-radius: 6px; position: relative; }
.d-app .chart svg { position: absolute; inset: 10%; width: 80%; height: 80%; }
.d-exp { position: absolute; inset: 0; perspective: 900px; display: grid; place-items: center; }
.d-exp .layer { position: absolute; width: 46%; aspect-ratio: 1; border: 1px solid rgba(199, 178, 153, .5); transform-style: preserve-3d; animation: spin 14s linear infinite; }
.d-exp .layer:nth-child(2) { width: 34%; animation-duration: 10s; animation-direction: reverse; border-color: rgba(245, 241, 235, .3); }
.d-exp .layer:nth-child(3) { width: 22%; animation-duration: 7s; background: radial-gradient(circle, rgba(199, 178, 153, .25), transparent 70%); }
@keyframes spin { from { transform: rotateX(62deg) rotateZ(0); } to { transform: rotateX(62deg) rotateZ(360deg); } }

/* Process */
.process-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: var(--s5); }
.process-sticky { position: sticky; top: calc(var(--header) + 2rem); align-self: start; }
.steps { position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 1.4rem; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps-progress { position: absolute; left: 1.4rem; top: 0; width: 1px; height: var(--p, 0%); background: var(--gold); transition: height .3s linear; }
.step { position: relative; padding: 0 0 var(--s4) 4.5rem; }
.step-dot { position: absolute; left: calc(1.4rem - 6px); top: .55rem; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gold); background: var(--obsidian); transition: background .4s; }
.step.on .step-dot { background: var(--gold); }
.step .n { font: 500 var(--fs-xs)/1 var(--sans); font-stretch: 125%; letter-spacing: .2em; color: var(--stone); }
.step h3 { font: 400 clamp(2rem, 1.5rem + 1.6vw, 3rem)/1 var(--serif); margin: .5rem 0 .7rem; }
.step p { color: color-mix(in srgb, var(--ivory) 80%, transparent); max-width: 34em; }
.step dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin-top: 1rem; font-size: var(--fs-s); }
.step dt { color: var(--gold); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; padding-top: .2em; }
.step dd { color: var(--stone); }
.light .steps::before { background: var(--line-dark); }
.light .step-dot { background: var(--ivory); border-color: var(--bronze-ink); }
.light .step.on .step-dot, .light .steps-progress { background: var(--bronze-ink); }
.light .step p { color: color-mix(in srgb, var(--obsidian) 78%, transparent); }
.light .step dt { color: var(--bronze-ink); } .light .step dd { color: var(--stone-ink); }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pkg { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 1.6rem 2.2rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.pkg.featured { background: linear-gradient(180deg, rgba(199, 178, 153, .09), transparent 60%); }
.pkg.featured::before { content: 'Most chosen'; position: absolute; top: -1px; right: 1.2rem; transform: translateY(-50%); }
.pkg .for { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--stone); font-stretch: 125%; }
.pkg h3 { font: 400 2.4rem/1 var(--serif); }
.price { font: 400 clamp(2.2rem, 1.8rem + 1vw, 2.9rem)/1 var(--serif); }
.price small { display: block; font: 500 var(--fs-xs)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-bottom: .4rem; font-stretch: 125%; }
.pkg p.blurb { color: color-mix(in srgb, var(--ivory) 78%, transparent); font-size: var(--fs-s); }
.ticks { display: grid; gap: .55rem; font-size: var(--fs-s); margin: .4rem 0 0; }
.ticks li { display: grid; grid-template-columns: 1rem 1fr; gap: .6rem; color: color-mix(in srgb, var(--ivory) 88%, transparent); }
.ticks li::before { content: ''; width: .5rem; height: .5rem; margin-top: .45rem; border: 1px solid var(--gold); transform: rotate(45deg); }
.ticks.x li::before { border: 0; height: 1px; width: .6rem; margin-top: .7rem; background: var(--stone); transform: none; }
.ticks.x li { color: var(--stone); }
.pkg .btn { margin-top: auto; justify-content: space-between; }
.pkg .pkg-note { font-size: var(--fs-xs); color: var(--stone); }
.light .packages, .light .pkg { border-color: var(--line-dark); }
.light .pkg p.blurb, .light .ticks li { color: color-mix(in srgb, var(--obsidian) 82%, transparent); }
.light .ticks li::before { border-color: var(--bronze-ink); }
.light .pkg .for, .light .price small, .light .pkg .pkg-note, .light .ticks.x li { color: var(--stone-ink); }
.light .ticks.x li::before { background: var(--stone-ink); }
.light .pkg.featured { background: linear-gradient(180deg, rgba(140, 115, 88, .1), transparent 60%); }
.pkg.featured::before { font: 500 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: var(--gold); color: var(--obsidian); padding: .45rem .7rem; border-radius: 99px; font-stretch: 125%; }
.light .pkg.featured::before { background: var(--obsidian); color: var(--ivory); }
.care { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.care-card { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.8rem; display: flex; flex-direction: column; gap: .9rem; }
.care-card.featured { border-color: var(--gold); }
.care-card h3 { font: 400 1.9rem/1 var(--serif); }
.care-card .btn { margin-top: auto; }
.terms-list { display: grid; gap: .6rem; font-size: var(--fs-s); color: var(--stone); max-width: 52em; }
.terms-list li { padding-left: 1.2rem; position: relative; }
.terms-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.compare th, .compare td { text-align: left; padding: .9rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 400 1.4rem/1 var(--serif); }
.compare tbody th { font-weight: 400; color: var(--stone); }
.compare td.y::before { content: '✓'; color: var(--gold); }
.compare td.n::before { content: '—'; color: var(--stone); }
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Cards & lists */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--obsidian); padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: .8rem; text-decoration: none; position: relative; transition: background .4s var(--ease); }
a.card:hover { background: var(--graphite); }
.card .n { font: 500 var(--fs-xs)/1 var(--sans); font-stretch: 125%; letter-spacing: .18em; color: var(--gold); }
.card h3 { font: 400 1.9rem/1.05 var(--serif); }
.card p { color: color-mix(in srgb, var(--ivory) 76%, transparent); font-size: var(--fs-s); }
.card .link { margin-top: auto; align-self: start; }
.light .cards { background: var(--line-dark); border-color: var(--line-dark); }
.light .card { background: var(--ivory); }
.light a.card:hover { background: var(--paper); }
.light .card p { color: color-mix(in srgb, var(--obsidian) 76%, transparent); }
.light .card .n { color: var(--bronze-ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.split-wide { grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.feature-list > div { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.feature-list h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: .4rem; }
.feature-list p { color: var(--stone); font-size: var(--fs-s); }
.light .feature-list, .light .feature-list > div { border-color: var(--line-dark); }
.light .feature-list p { color: var(--stone-ink); }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { border: 1px solid var(--line-strong); border-radius: 99px; padding: .45rem .9rem; font-size: var(--fs-s); }
.light .pill-list li { border-color: rgba(17, 17, 16, .25); }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: f; }
.flow li { padding: 1.4rem 1.2rem 1.4rem 0; border-top: 1px solid var(--gold); position: relative; font-size: var(--fs-s); }
.flow li::before { counter-increment: f; content: '0' counter(f); display: block; font: 500 var(--fs-xs)/1 var(--sans); letter-spacing: .18em; color: var(--gold); margin-bottom: .7rem; font-stretch: 125%; }
.flow li::after { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.light .flow li { border-color: var(--bronze-ink); } .light .flow li::before { color: var(--bronze-ink); } .light .flow li::after { background: var(--bronze-ink); }
.stat-note { font-size: var(--fs-xs); color: var(--stone); letter-spacing: .04em; }
.big-quote { font: italic 400 clamp(2rem, 1.4rem + 2.4vw, 3.6rem)/1.08 var(--serif); letter-spacing: -.01em; max-width: 20em; text-wrap: balance; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); margin-top: var(--s4); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1.4rem 0; cursor: pointer; font: 400 clamp(1.2rem, 1.05rem + .5vw, 1.55rem)/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 14px; height: 14px; position: relative; flex: none; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 0 1.5rem; color: color-mix(in srgb, var(--ivory) 78%, transparent); max-width: 46em; }
.light .faq-list, .light .faq details { border-color: var(--line-dark); }
.light .faq details p { color: color-mix(in srgb, var(--obsidian) 78%, transparent); }
.light .faq summary i::before, .light .faq summary i::after { background: var(--bronze-ink); }

/* Invitation */
.invitation { position: relative; text-align: center; padding: var(--s7) var(--gutter); overflow: hidden; display: grid; justify-items: center; gap: 1.6rem; isolation: isolate; }
.invitation::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 55% at 50% 45%, rgba(199, 178, 153, .12), transparent 70%); }
.invitation > * { max-width: 100%; min-width: 0; }
.invitation { grid-template-columns: minmax(0, 1fr); }
.invitation .cta-row { justify-content: center; }
.invitation .btn { white-space: normal; text-align: center; line-height: 1.25; }
.invitation h2 { max-width: 10em; }
.invitation p { color: color-mix(in srgb, var(--ivory) 78%, transparent); max-width: 34em; }
.invitation-aperture { position: absolute; z-index: -1; inset: 50% auto auto 50%; width: min(70vw, 720px); aspect-ratio: 1; transform: translate(-50%, -50%); color: var(--gold); opacity: .08; }
.invitation-aperture .mark-xl { width: 100%; height: 100%; }
.invitation .invitation-alt { font-size: var(--fs-s); color: var(--stone); }
.invitation .invitation-alt a { color: var(--ivory); }
.monolith-slot { position: relative; width: min(460px, 78vw); aspect-ratio: 1.1; margin-bottom: -1rem; display: grid; place-items: center; }
.monolith-slot > svg { width: 46%; height: auto; color: var(--gold); filter: drop-shadow(0 20px 40px rgba(199, 178, 153, .18)); transition: opacity .8s var(--ease); }
.monolith-slot canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); }
.monolith-slot.live canvas { opacity: 1; }
.monolith-slot.live > svg { opacity: 0; }

/* Forms */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .5rem; }
.field label, .field legend, .label-text { font-size: var(--fs-s); font-weight: 500; color: var(--ivory); }
.field .hint { font-size: var(--fs-xs); color: var(--stone); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 52px; padding: .85rem 1rem; background: rgba(245, 241, 235, .04); border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ivory); transition: border-color .3s, background .3s; font-size: 1rem; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field select option { background: var(--charcoal); color: var(--ivory); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: rgba(245, 241, 235, .07); outline: none; box-shadow: 0 0 0 3px rgba(199, 178, 153, .18); }
.field [aria-invalid="true"] { border-color: var(--err) !important; }
.field-error { color: var(--err); font-size: var(--fs-s); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.check { display: grid; grid-template-columns: 1.3rem 1fr; gap: .8rem; align-items: start; font-size: var(--fs-s); color: color-mix(in srgb, var(--ivory) 84%, transparent); cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; accent-color: var(--gold); }
.form-note { font-size: var(--fs-xs); color: var(--stone); }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: var(--fs-s); border: 1px solid; }
.form-status.err { border-color: var(--err); color: var(--err); background: rgba(235, 139, 124, .08); }
.form-status.ok { border-color: var(--ok); color: var(--ok); background: rgba(127, 181, 150, .08); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.light .field label, .light .label-text { color: var(--obsidian); }
.light .field input:not([type="checkbox"]):not([type="radio"]), .light .field select, .light .field textarea { background: #fff; border-color: rgba(17, 17, 16, .22); color: var(--obsidian); }
.light .field .hint, .light .form-note { color: var(--stone-ink); }
.turnstile { min-height: 65px; }

/* Choice tiles (Atelier) */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .7rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice span { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.1rem 1.15rem; border: 1px solid var(--line-strong); border-radius: 10px; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.choice b { font-weight: 500; font-size: 1rem; }
.choice small { color: var(--stone); font-size: var(--fs-xs); line-height: 1.45; }
.choice input:hover + span { border-color: rgba(199, 178, 153, .6); }
.choice input:checked + span { border-color: var(--gold); background: rgba(199, 178, 153, .1); }
.choice input:checked + span b::after { content: ''; display: inline-block; width: .45rem; height: .45rem; margin-left: .55rem; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.choices.compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.choices.compact span { padding: .85rem 1rem; }
.swatch { display: flex; gap: 4px; margin-bottom: .3rem; } .swatch i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); }

.atelier { min-height: 100svh; padding: calc(var(--header) + 2rem) 0 5rem; }
.atelier-shell { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); gap: var(--s5); align-items: start; }
.atelier-side { position: sticky; top: calc(var(--header) + 2rem); display: grid; gap: 1.6rem; }
.atelier-progress { display: grid; gap: .15rem; counter-reset: st; }
.atelier-progress li { display: grid; grid-template-columns: 2rem 1fr; align-items: center; font-size: var(--fs-s); color: var(--stone); padding: .35rem 0; }
.atelier-progress li::before { counter-increment: st; content: counter(st, decimal-leading-zero); font: 500 var(--fs-xs)/1 var(--sans); letter-spacing: .1em; }
.atelier-progress li[aria-current="step"] { color: var(--gold); }
.atelier-progress li.done { color: var(--ivory); }
.atelier-bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.atelier-bar i { position: absolute; inset: 0 auto 0 0; width: var(--pct, 10%); background: var(--gold); transition: width .6s var(--ease); }
.atelier-step { display: grid; gap: 1.6rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.js .atelier-step:not(.current) { display: none; }
.atelier-step.current { animation: stepIn .6s var(--ease); }
.atelier-step.back { animation: stepBack .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } }
.atelier-step h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.atelier-nav { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); margin-top: .5rem; }
.no-js .atelier-nav [data-next], .no-js .atelier-nav [data-back] { display: none; }
.summary { border: 1px solid var(--line); border-radius: var(--radius-l); }
.summary dl { display: grid; grid-template-columns: minmax(8rem, .5fr) 1fr; }
.summary dt, .summary dd { padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.summary dt { color: var(--stone); }
.summary dd button { background: none; border: 0; color: var(--gold); font-size: var(--fs-xs); cursor: pointer; text-decoration: underline; float: right; }
.estimate { border-left: 2px solid var(--gold); padding: .4rem 0 .4rem 1rem; font-size: var(--fs-s); color: color-mix(in srgb, var(--ivory) 84%, transparent); }

/* Success / notice pages */
.notice { max-width: 46rem; padding: calc(var(--header) + var(--s6)) var(--gutter) var(--s6); margin-inline: auto; display: grid; gap: 1.4rem; }
.notice .mark { width: 64px; height: 64px; color: var(--gold); }
/* Grid children may shrink below their content, so a long button or form never pushes a 320px phone sideways. */
.notice > * { min-width: 0; }
.notice form .btn { max-width: 100%; white-space: normal; text-align: left; line-height: 1.3; }

/* Portal */
.portal { padding: calc(var(--header) + 3rem) 0 5rem; min-height: 80vh; }
.portal-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.6rem; background: rgba(245, 241, 235, .015); }
.panel + .panel { margin-top: 1.5rem; }
.panel h2 { font: 400 1.7rem/1.1 var(--serif); margin-bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.panel h2 small { font: 400 var(--fs-xs)/1 var(--sans); color: var(--stone); letter-spacing: .1em; text-transform: uppercase; }
.timeline { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; margin: 1rem 0 .6rem; }
.timeline i { height: 6px; border-radius: 3px; background: var(--line-strong); }
.timeline i.done { background: var(--gold); }
.timeline i.now { background: var(--ivory); box-shadow: 0 0 0 2px rgba(245, 241, 235, .2); }
.stage-labels { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--stone); }
.rows { display: grid; }
.rows > * { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--line); align-items: center; }
.rows > *:first-child { border-top: 0; }
.rows small { display: block; color: var(--stone); font-size: var(--fs-xs); margin-top: .15rem; }
.badge { display: inline-flex; align-items: center; gap: .4em; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--stone); white-space: nowrap; }
.badge.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.badge.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, transparent); }
.badge.err { color: var(--err); border-color: color-mix(in srgb, var(--err) 50%, transparent); }
.badge.gold { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.empty { color: var(--stone); font-size: var(--fs-s); padding: 1rem 0; }
.thread { display: grid; gap: .8rem; max-height: 420px; overflow-y: auto; padding-right: .3rem; }
.msg { padding: .9rem 1rem; border-radius: 10px; background: rgba(245, 241, 235, .04); font-size: var(--fs-s); }
.msg.studio { background: rgba(199, 178, 153, .08); border-left: 2px solid var(--gold); }
.msg small { display: block; color: var(--stone); font-size: var(--fs-xs); margin-bottom: .3rem; }
.doc-body { white-space: pre-wrap; font-size: var(--fs-s); line-height: 1.75; color: color-mix(in srgb, var(--ivory) 86%, transparent); max-height: 60vh; overflow: auto; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.inline-form { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
/* Project workspace: conversation studio, next step, milestones, visual review */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.studio-grid > div { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.studio-grid > div > .panel + .panel { margin-top: 0; }
.stage-pill { display: inline-flex; gap: .7rem; align-items: center; border: 1px solid var(--line-strong); border-radius: 99px; padding: .5rem 1rem .5rem .5rem; font-size: var(--fs-s); }
.stage-pill span { background: var(--gold); color: var(--obsidian); border-radius: 99px; padding: .2rem .6rem; font-size: var(--fs-xs); font-weight: 600; }
.next-step { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); background: rgba(199, 178, 153, .07); border-radius: var(--radius-l); padding: 1.2rem 1.4rem; margin-bottom: 1.5rem; }
.next-step p:last-child { margin-top: .4rem; font-size: 1.05rem; }
.convo-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.convo-head h2 { margin: 0; }
.convo-search .input { min-height: 40px; padding: .5rem .9rem; width: 220px; font-size: var(--fs-s); }
.convo .thread { max-height: min(62vh, 640px); min-height: 260px; padding: .2rem .3rem .2rem 0; }
.msg { max-width: 86%; justify-self: start; overflow-wrap: anywhere; }
.msg.client { justify-self: end; background: rgba(245, 241, 235, .08); }
.msg.studio { justify-self: start; }
.msg.assistant { background: rgba(120, 150, 190, .09); border-left: 2px solid #8fa8c8; }
.msg.system { justify-self: center; max-width: 100%; background: none; text-align: center; color: var(--stone); font-size: var(--fs-xs); padding: .4rem 1rem; }
.msg.system small { display: none; }
.msg.k-proposal, .msg.k-preview, .msg.k-payment { justify-self: stretch; max-width: 100%; text-align: left; border: 1px solid var(--line-strong); color: var(--ivory); font-size: var(--fs-s); padding: .9rem 1rem; }
.ai-tag { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 99px; padding: .05rem .4rem; margin-left: .2rem; }
.att { display: flex; gap: .5rem; margin-top: .5rem; color: var(--gold); text-decoration: none; font-size: var(--fs-xs); }
.att span { color: var(--stone); }
.composer { margin-top: 1rem; border: 1px solid var(--line-strong); border-radius: 12px; padding: .6rem; display: grid; gap: .4rem; }
.composer textarea { width: 100%; border: 0; background: none; color: var(--ivory); font: inherit; font-size: var(--fs-m); padding: .5rem; resize: vertical; min-height: 84px; }
.composer textarea:focus { outline: none; }
.composer:focus-within { border-color: var(--gold); }
.composer-bar { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.composer-bar .btn { margin-left: auto; }
.composer .form-note { margin: 0 .3rem; }
.attach { position: relative; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 99px; padding: .45rem .9rem; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.attach:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.mlist { list-style: none; display: grid; gap: .1rem; }
.mlist li { display: flex; gap: .8rem; align-items: center; padding: .45rem 0; color: var(--stone); font-size: var(--fs-s); }
.mlist i { width: .7rem; height: .7rem; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.mlist li.done { color: var(--ivory); }
.mlist li.done i { background: var(--ok); border-color: var(--ok); }
.mlist li.active, .mlist li.in_review { color: var(--ivory); font-weight: 500; }
.mlist li.active i, .mlist li.in_review i { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199, 178, 153, .25); background: var(--gold); }
.brief-sec + .brief-sec { margin-top: 1.5rem; }
.brief-sec { display: grid; gap: 1.3rem; }
.brief-sec fieldset, .portal fieldset, .notice fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.notice fieldset legend { margin-bottom: .6rem; }
.brief-sec legend, .portal legend { padding: 0; margin-bottom: .6rem; }
.brief-sec [hidden] { display: none !important; }
.field-error { color: var(--err); font-size: var(--fs-xs); }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; }
.review-frame { position: relative; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: #fff; height: min(78vh, 900px); margin-inline: auto; transition: width .4s var(--ease); width: 100%; }
.review-stage[data-device="mobile"] .review-frame { width: 390px; max-width: 100%; height: min(78vh, 844px); }
.review-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.pin-layer { position: absolute; inset: 0; cursor: crosshair; background: rgba(17, 17, 16, .12); }
.pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--obsidian); border: 2px solid var(--obsidian); font: 600 12px/24px var(--sans); text-align: center; cursor: help; z-index: 2; padding: 0; }
.pin.new { background: var(--ivory); }
.comment-list { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.2rem; font-size: var(--fs-s); }
.review-side .form { gap: 1rem; }
.review-actions { border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 1.2rem; display: grid; gap: .8rem; }
.review-actions .btn[disabled] { opacity: .45; cursor: not-allowed; }
.review-actions .btn, .review-side .form .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
.comment-list li { line-height: 1.7; }
.crumb-back { margin-bottom: 1.2rem; }
[data-pinmode][aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
@media (max-width: 900px) { .studio-grid, .review-grid { grid-template-columns: minmax(0, 1fr); } .msg { max-width: 94%; } .convo-search .input { width: 100%; } .convo-search { width: 100%; } }
/* Payments & Checkout */
.pay-hero .h3 { font: 400 clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem)/1.05 var(--serif); margin: .6rem 0 .8rem; }
.pay-hero .lede { font-size: 1.02rem; }
.pay-status { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; text-decoration: underline; cursor: pointer; }
.checks { list-style: none; display: grid; gap: .2rem; }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; column-gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: var(--fs-s); }
.checks li:first-child { border-top: 0; }
.checks li span { grid-row: span 2; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; border: 1px solid var(--line-strong); }
.checks li.ok span { color: var(--ok); border-color: var(--ok); }
.checks li.err span { color: var(--err); border-color: var(--err); }
.checks li small { color: var(--stone); font-size: var(--fs-xs); }
.items { display: grid; gap: .7rem; }
.item-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: .5rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.item-row input[name="item_desc"] { grid-column: 1 / -1; }
.item-row input, .item-row select { min-height: 46px !important; }
.pay-info details { border-top: 1px solid var(--line); padding: .8rem 0; }
.pay-info details:first-of-type { border-top: 0; }
.pay-info summary { cursor: pointer; font-weight: 500; }
.pay-info details p { margin-top: .5rem; font-size: var(--fs-s); color: color-mix(in srgb, var(--ivory) 82%, transparent); }
.choices.mini { grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr)); }
.choices.mini span { padding: .7rem .9rem; }
@media (max-width: 600px) { .item-row { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); } .item-row input[name="item_name"] { grid-column: 1 / -1; } .item-row select { font-size: .95rem; padding-right: 2.2rem; } }
.drop { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 1.4rem; text-align: center; color: var(--stone); font-size: var(--fs-s); }
.drop.over { border-color: var(--gold); color: var(--ivory); }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--header) var(--gutter) 4rem; }
.lost .mark { width: min(40vw, 220px); height: auto; color: var(--gold); margin: 0 auto 2rem; opacity: .9; }
.lost h1 { font-size: var(--fs-d2); }

/* Opening-soon gate */
.soon { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; position: relative; isolation: isolate; overflow: hidden; }
.soon .hero-media img { object-position: 72% 50%; }
.soon-inner { align-self: center; padding: 6rem var(--gutter) 3rem; max-width: var(--max); width: 100%; margin-inline: auto; display: grid; gap: 1.6rem; }
.soon-inner .brand .mark { width: 48px; height: 48px; }
.soon-foot { padding: 1.5rem var(--gutter); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--stone); font-size: var(--fs-xs); border-top: 1px solid var(--line); }
.soon-foot a { color: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .primary, .header-actions .link-quiet { display: none; }
  .menu-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
  .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header: 66px; }
  .header-actions .btn { display: none; }
  .header-start { display: inline-block; line-height: 40px; min-height: 40px; padding: 0 .95rem; border-radius: 99px; background: var(--gold); color: var(--obsidian); font-size: .8rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
  body.menu-open .header-start { visibility: hidden; }
  .site-header { gap: 1rem; }
  .brand .wordmark { font-size: .72rem; letter-spacing: .2em; }
  .mobile-cta { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; padding: 6px; background: color-mix(in srgb, var(--charcoal) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: 14px; transform: translateY(160%); transition: transform .5s var(--ease); }
  .mobile-cta.show { transform: none; }
  .mobile-cta a { display: grid; place-items: center; min-height: 46px; padding: 0 .9rem; border-radius: 9px; text-decoration: none; font-size: .85rem; font-weight: 500; }
  .mobile-cta-main { background: var(--gold); color: var(--obsidian); }
  .mobile-cta-alt { border: 1px solid var(--line-strong); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-side { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: space-between; align-items: end; }
  .hero-side .chapter-tag { display: none; }
  .hero-media { bottom: auto; height: 64svh; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 10, 9, .45) 0%, rgba(10, 10, 9, 0) 18%, rgba(10, 10, 9, 0) 34%, rgba(17, 17, 16, .9) 56%, var(--obsidian) 64%); }
  .hero-media img { object-position: 62% 50%; }
  .hero .hero-inner { padding-top: 54svh; }
  .hero-meta { display: none; }
  .chapter-head, .craft-grid, .explorer, .process-grid, .split, .split-wide, .page-hero-grid, .portal-grid, .atelier-shell { grid-template-columns: 1fr; }
  .split, .split-wide { gap: 1.75rem; }
  .chapter-head .lede { justify-self: start; }
  .exhibit-item, .exhibit-item:nth-child(even) { grid-template-columns: 1fr; }
  .exhibit-item:nth-child(even) .stage { order: 0; }
  .explorer-panel, .process-sticky, .atelier-side { position: static; }
  .atelier-side .atelier-progress { display: none; }
  .care { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 8rem; }
  .hero-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
  .stage[data-device="mobile"] .stage-frame { width: min(62%, 280px); }
}
@media (max-width: 560px) {
  .packages { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .brand .wordmark span:last-child, .brand .wordmark i { display: inline; }
  .summary dl { grid-template-columns: 1fr; }
  .summary dt { border-bottom: 0; padding-bottom: 0; }
  .timeline { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lens-hint { display: none; }
}
@media (max-width: 380px) { .brand .wordmark { display: none; } }
@media (max-width: 480px) { .hs-more { display: none; } .header-start { padding: 0 .85rem; } .site-header, .header-actions { gap: .6rem; } }
@media (max-width: 360px) { .mobile-cta a { padding: 0 .55rem; font-size: .78rem; white-space: nowrap; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-reveal-lines] .line-inner { opacity: 1 !important; transform: none !important; }
  .hero-media img { transform: none !important; }
  .scroll-cue i::after { display: none; }
  .site-menu, .site-menu.is-open, .site-menu.is-closing { -webkit-clip-path: none; clip-path: none; }
  .site-menu .site-menu-label, .site-menu .site-menu-num, .site-menu .site-menu-foot { transform: none !important; }
  .site-menu.is-open .site-menu-num, .site-menu.is-open .site-menu-foot, .site-menu.is-open .site-menu-bar .brand { opacity: 1; }
}
@media print { .site-header, .site-menu, .mobile-cta, .site-footer, .intro { display: none !important; } body { background: #fff; color: #000; } }

/* Flagship concept showcase (Maison & Meadow) */
.stage-poster.has-still { display: block; z-index: 1; }
.stage-shot .stage-view picture, .stage-shot .stage-view img, .stage-poster.has-still picture, .stage-poster.has-still img, .showcase-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.stage-view .shot-mobile, .stage[data-device="mobile"] .stage-view .shot-desktop { display: none; }
.stage[data-device="mobile"] .stage-view .shot-mobile { display: block; }
.showcase-devices { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: 1.6rem; }
.showcase-desktop { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9); }
.showcase-desktop img { display: block; width: 100%; height: auto; }
.showcase-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.showcase-phone { border-radius: 22px; overflow: hidden; border: 5px solid #1d1c1b; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); aspect-ratio: 393 / 852; }
.showcase-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.showcase-phone:nth-child(2) { transform: translateY(-6%); }
.showcase-list { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); margin-top: 2rem; }
.showcase-item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.showcase-item:nth-child(even) .showcase-img { order: 2; }
.showcase-img { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); }
.showcase-img img { display: block; width: 100%; height: auto; }
.showcase-copy p { margin-top: 1rem; }
.showcase-benefit { padding-top: 1rem; border-top: 1px solid var(--line); }
.cta-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.showcase-thumb { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 16 / 10; }
@media (max-width: 900px) {
  .showcase-devices, .showcase-item { grid-template-columns: 1fr; } .showcase-item:nth-child(even) .showcase-img { order: 0; }
  .showcase-phones { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 28px; scroll-padding-inline: var(--gutter); }
  .showcase-phones::-webkit-scrollbar { display: none; }
  .showcase-phone { flex: 0 0 min(66%, 290px); scroll-snap-align: start; border-radius: 28px; border-width: 6px; }
  .showcase-phone:nth-child(2) { transform: none; }
  .showcase-swipe { display: block; }
}
.showcase-swipe { display: none; margin-top: -8px; color: var(--stone); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-stretch: 125%; }

/* a meta item that opens the live demonstration: looks and behaves like a link */
.meta-list .meta-link { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; display: inline-block; padding-block: .35rem; margin-block: -.35rem; }
.meta-list .meta-link:hover, .meta-list .meta-link:focus-visible { color: var(--ivory, #F5F1EB); }
