/* ==========================================================================
   Ares Experience Systems — design system
   One canvas per section. Black carries weight, warm white carries reading,
   burgundy carries character, gold marks what matters.

   Colour roles (contrast measured, WCAG 2.2):
     gold  on ink      9.4:1   actions, highlights, accent text on dark
     gold  on deep     7.5:1   accent text on burgundy surfaces
     white on burgundy 11.2:1
     burgundy on paper 10.0:1  accent text on light sections
   Never: burgundy text on ink (1.8:1), gold text on paper (1.9:1).
   ========================================================================== */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-stretch: 75% 100%; font-display: optional; src: url('/assets/fonts/bricolage-grotesque-var-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-var-latin.woff2') format('woff2'); }
/* Heading fonts use font-display: optional with a preload: they render on first paint or not at all for that
   page view (then from cache), so headings never re-wrap mid-view. Metric-matched fallbacks keep the
   fallback look close. */
@font-face { font-family: 'Display Narrow Fallback'; font-weight: 100 900; src: local('Arial Narrow Bold'), local('ArialNarrow-Bold'), local('Arial Narrow'); size-adjust: 74.5%; }
@font-face { font-family: 'Display Fallback'; font-weight: 100 900; src: local('Arial Bold'), local('Arial-BoldMT'), local('Arial'), local('Roboto'); size-adjust: 61.1%; }
@font-face { font-family: 'Serif Fallback'; font-style: italic; src: local('Georgia Italic'), local('Georgia-Italic'), local('Georgia'); size-adjust: 80.7%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 100 900; src: local('Arial'), local('ArialMT'), local('Roboto'); size-adjust: 101.1%; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500 700; font-display: optional; src: url('/assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2'); }

:root {
  /* Brand */
  --ink: #090909;
  --ink-2: #121112;          /* raised surface on ink */
  --ink-3: #1A1819;
  --white: #FFFFFF;
  --paper: #F5F2ED;          /* warm white */
  --paper-2: #ECE7DF;
  --burgundy: #6B1F35;
  --burgundy-deep: #40111F;
  --gold: #D5AD55;
  --gold-hi: #E4C578;
  --wa: #3FD67A;             /* WhatsApp green, for the icon only */

  /* Semantic (dark canvas by default) */
  --bg: var(--ink);
  --fg: #F2EEE8;
  --muted: #A9A39A;
  --accent: var(--gold);     /* accent text */
  --line: rgba(242, 238, 232, .12);
  --line-strong: rgba(242, 238, 232, .26);
  --surface: var(--ink-2);
  --focus: var(--gold);
  --error: #F0B4BA;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Display Narrow Fallback', 'Display Fallback', sans-serif;
  --font-body: 'Inter', 'Inter Fallback', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Serif Fallback', Georgia, serif;
  --fs-display: clamp(2.6rem, 1.1rem + 5.6vw, 6.6rem);
  --fs-h1: clamp(2.4rem, 1.3rem + 4.2vw, 5.2rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.9vw, 3.9rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .8vw, 1.75rem);
  --fs-lead: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  /* Space */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --section: clamp(72px, 9vw, 136px);
  --gap: clamp(16px, 2vw, 24px);
  --header-h: 72px;

  /* Shape & motion */
  --r-sm: 10px;
  --r-md: 6px;              /* panels, screens */
  --r-lg: 8px;              /* large frames */
  --r-pill: 999px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --t: .2s var(--ease);
}

/* Section canvases */
.tone-ink { --bg: var(--ink); background: var(--bg); color: var(--fg); }
.tone-paper {
  --bg: var(--paper); --fg: #141213; --muted: #5C5650; --accent: var(--burgundy);
  --line: rgba(20, 18, 19, .12); --line-strong: rgba(20, 18, 19, .24); --surface: var(--white);
  --focus: var(--burgundy); --error: #9B1C1C;
  background: var(--bg); color: var(--fg);
}
.tone-burgundy, .tone-deep {
  --fg: #FFFFFF; --muted: #DCC9CE; --accent: var(--gold);
  --line: rgba(255, 255, 255, .16); --line-strong: rgba(255, 255, 255, .32); --surface: rgba(0, 0, 0, .18);
  background: var(--bg); color: var(--fg);
}
.tone-burgundy { --bg: var(--burgundy); }
.tone-deep { --bg: var(--burgundy-deep); --muted: #C9B5BB; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
svg:has(> use) { fill: currentColor; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 300; padding: 12px 18px; border-radius: var(--r-sm); background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--flush-top { padding-top: 0; }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase;
  letter-spacing: -.01em; line-height: .94; text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: .9; letter-spacing: -.015em; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1; letter-spacing: -.004em; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 600; text-transform: none; letter-spacing: -.01em; color: var(--accent); }
:is(.display, .h1, .h2) .serif { font-size: 1.14em; line-height: .8; letter-spacing: -.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 44ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.price-line { margin: -12px 0 24px; color: var(--muted); }
.price-line strong { color: var(--accent); font-weight: 600; }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.prose-width { max-width: 64ch; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font: 600 .9375rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--gold-hi); --btn-bd: var(--gold-hi); }
.btn:active { transform: scale(.97); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: transparent; --btn-bd: var(--fg); --btn-fg: var(--fg); }
.tone-paper .btn:not(.btn--ghost) { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.tone-paper .btn:not(.btn--ghost):hover { --btn-bg: var(--burgundy); --btn-bd: var(--burgundy); --btn-fg: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow, .link-arrow:hover .btn__arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.btn-row .btn { white-space: normal; text-align: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 6px; }
.link-arrow:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); color: #F2EEE8; transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--ease); }
.site-header.is-scrolled { background: rgba(9, 9, 9, .86); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 rgba(242, 238, 232, .07); }
.site-header.is-tucked { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; min-height: 44px; }
.brand__mark { width: 28px; height: 27px; color: var(--gold); flex: none; }
.brand__word { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.2rem; letter-spacing: .2em; text-transform: uppercase; }
.brand__sub { font-size: .5625rem; line-height: 1.25; letter-spacing: .16em; text-transform: uppercase; opacity: .62; padding-left: 10px; border-left: 1px solid rgba(242, 238, 232, .3); }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a { display: block; padding: 10px 14px; border-radius: var(--r-pill); text-decoration: none; font-size: .9rem; font-weight: 500; color: rgba(242, 238, 232, .8); transition: color var(--t), background var(--t); }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current='page'] { color: var(--gold); }
.site-header .btn--sm { margin-left: 4px; }

/* Menu toggle (compact screens) */
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 16px; border-radius: var(--r-pill); border: 1px solid rgba(242, 238, 232, .22); background: rgba(9, 9, 9, .4); color: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.menu-toggle:hover { border-color: rgba(242, 238, 232, .5); }
.menu-toggle__bars { position: relative; width: 16px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle__bars::before { top: 1px; }
.menu-toggle__bars::after { top: 7.5px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars::before { top: 4.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars::after { top: 4.5px; transform: rotate(-45deg); }
.menu-toggle[aria-expanded='true'] { border-color: var(--gold); color: var(--gold); }

/* Menu: a contained floating panel, not a full-screen sheet.
   Near-black surface; the gold marble shows at full strength across the top and fades behind the list;
   burgundy marks hover and the current page. */
.menu-scrim { position: fixed; inset: 0; z-index: -1; background: rgba(5, 5, 5, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.menu {
  position: absolute; top: calc(var(--header-h) - 6px); right: var(--gutter);
  width: min(380px, calc(100vw - 2 * var(--gutter))); max-height: calc(100dvh - var(--header-h) - 16px); overflow: hidden auto;
  padding: 104px 12px 14px; border-radius: 22px; isolation: isolate;
  background: #0C0A0B; color: #fff; --focus: var(--gold);
  box-shadow: 0 0 0 1px rgba(213, 173, 85, .35), 0 0 0 6px rgba(12, 10, 11, .55), 0 40px 80px -24px rgba(0, 0, 0, .9);
  transform-origin: top right; counter-reset: m;
}
.menu__art { position: absolute; inset: 0 0 auto 0; height: 260px; z-index: -1; }
.menu__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; /* dune: the moon above, the ridge running into the panel */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); }
/* A burgundy wash at the band's lower edge, so the marble meets the list instead of stopping */
.menu__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(40, 14, 22, .5) 54%, rgba(12, 10, 11, .9) 64%, #0C0A0B 78%); }
.menu__nav li { counter-increment: m; }
.menu__nav li + li { border-top: 1px solid rgba(255, 255, 255, .07); }
.menu__nav a { position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 6px; padding: 11px 14px 11px 10px; border-radius: 12px; text-decoration: none; transition: background var(--t); }
.menu__nav a::before { content: counter(m, decimal-leading-zero); grid-row: 1 / span 2; padding-top: 5px; font-size: .75rem; font-weight: 600; color: rgba(213, 173, 85, .7); font-variant-numeric: tabular-nums; }
.menu__nav a::after { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--burgundy); opacity: 0; transition: opacity var(--t); }
.menu__nav a:hover { background: rgba(107, 31, 53, .32); }
.menu__nav a:hover::after, .menu__nav a[aria-current='page']::after { opacity: 1; }
.menu__nav a[aria-current='page']::after { background: #B23A5E; }
.menu__nav b { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; letter-spacing: -.005em; }
.menu__nav span { font-size: .8125rem; color: #B9B1AA; }
.menu__nav a[aria-current='page'] b { color: var(--gold); }
.menu .btn { margin-top: 12px; }
.menu__contact { display: flex; justify-content: center; gap: 4px 8px; flex-wrap: wrap; margin: 10px 0 0; font-size: .875rem; }
.menu__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); color: #fff; text-decoration: none; transition: background var(--t); }
.menu__contact a:hover { background: rgba(107, 31, 53, .45); }
.menu__contact .wa-icon { width: 18px; height: 18px; color: var(--wa); }
@media (prefers-reduced-motion: no-preference) {
  .menu-scrim:not([hidden]) { animation: fade-in .2s ease; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }

@media (max-width: 1060px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1061px) { .menu, .menu-scrim { display: none !important; } }

/* Phones and tablets: the menu is a bottom sheet within thumb reach. Links arrive one after another,
   and the sheet can be dragged down by its handle or artwork band to close. */
@media (max-width: 1060px) {
  .menu { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: min(100%, 560px); margin-inline: auto;
    max-height: min(90dvh, 800px); padding: 156px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0;
    box-shadow: 0 -1px 0 rgba(213, 173, 85, .4), 0 -30px 80px -20px rgba(0, 0, 0, .85); transform-origin: bottom center; }
  .menu:not(.is-dragging) { transition: transform .3s var(--ease); }
  .menu__art { height: 250px; }
  .menu__handle { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 40px; display: grid; place-items: center; cursor: grab; touch-action: none; }
  .menu__handle i { width: 44px; height: 4px; border-radius: 4px; background: rgba(9, 9, 9, .45); }
  .menu__art { touch-action: none; }
  .menu__nav a { padding: 13px 14px 13px 10px; }
  .menu__nav b { font-size: 1.55rem; }
  .menu__nav a:active { background: rgba(107, 31, 53, .55); }
  .menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; } /* keep the fixed sheet relative to the viewport */
}
@media (max-width: 1060px) and (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) { animation: sheet-up .42s var(--ease); }
  .menu:not([hidden]) .menu__nav li, .menu:not([hidden]) > .btn, .menu:not([hidden]) .menu__contact { animation: item-in .5s var(--ease) both; animation-delay: calc(var(--n, 5) * 45ms + 120ms); }
  .menu:not([hidden]) > .btn { --n: 5; }
  .menu:not([hidden]) .menu__contact { --n: 6; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes item-in { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 560px) { .site-header__cta { display: none; } }
@media (max-width: 400px) { .brand__sub { display: none; } }
.menu-open .site-header { background: rgba(9, 9, 9, .92); transform: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(32px, 5vw, 72px)) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(50% 60% at 82% 38%, rgba(213, 173, 85, .10), transparent 70%), radial-gradient(60% 50% at 10% 110%, rgba(107, 31, 53, .45), transparent 70%), var(--ink); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy { position: relative; z-index: 1; }
.hero__title { max-width: 16ch; font-size: clamp(2.5rem, 1rem + 4.7vw, 5.6rem); }
.hero .lead { color: #D2CBC1; margin: clamp(24px, 3vw, 36px) 0 clamp(28px, 3.4vw, 40px); max-width: 46ch; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: clamp(28px, 4vw, 44px); font-size: .875rem; color: var(--muted); }
.hero__proof a { display: inline-flex; align-items: center; min-height: 32px; color: #F2EEE8; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero visual: the heart in gold rings, one composition ----------
   No stacking context on .hero__visual, so the heart's screen blend reaches the hero background. */
.hero__visual { position: relative; justify-self: end; width: min(100%, 500px); aspect-ratio: 1; }
.hero__visual::before, .hero__visual::after { content: ''; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(calc(-50% + var(--tx, 0) * -10px), calc(-50% + var(--ty, 0) * -10px)); transition: transform .8s var(--ease); }
.hero__visual::before { width: 96%; aspect-ratio: 1; background: radial-gradient(circle, rgba(107, 31, 53, .6) 0%, rgba(64, 17, 31, .28) 42%, transparent 68%); box-shadow: inset 0 0 0 1px rgba(213, 173, 85, .3); }
.hero__visual::after { width: 70%; aspect-ratio: 1; box-shadow: inset 0 0 0 1px rgba(213, 173, 85, .16); }
.hero__orbit { position: absolute; inset: 2%; border-radius: 50%; pointer-events: none; }
.hero__orbit i { position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(213, 173, 85, .18), 0 0 18px rgba(213, 173, 85, .7); }
.hero__art { position: absolute; left: 50%; top: 50%; height: 132%; aspect-ratio: 750 / 1333; mix-blend-mode: screen; /* the artwork's black drops out */
  transform: translate(calc(-50% + var(--tx, 0) * 14px), calc(-52% + var(--ty, 0) * 14px)); transition: transform .8s var(--ease);
  -webkit-mask-image: radial-gradient(ellipse 48% 40% at 50% 47%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 48% 40% at 50% 47%, #000 62%, transparent 100%); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero__orbit { animation: orbit 36s linear infinite; }
  .hero__visual::before { animation: ring-in 1.4s var(--ease) both; }
  .hero__visual::after { animation: ring-in 1.4s var(--ease) .15s both; }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes ring-in { from { opacity: 0; scale: .86; } }
@media (max-width: 900px) {
  .hero__visual { justify-self: center; width: min(86vw, 420px); margin-top: 8px; }
}

/* ---------- Page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 8vw, 112px)) 0 clamp(48px, 7vw, 96px);
  background: radial-gradient(55% 70% at 100% 0%, rgba(107, 31, 53, .5), transparent 70%), var(--ink); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px var(--gap); align-items: end; }
.page-hero__title { max-width: 16ch; }
.page-hero .lead { margin: 0 0 28px; }
.page-hero__visual { margin-top: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.page-hero--plain { padding-bottom: 32px; background: var(--ink); }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px var(--gap); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > :last-child:not(:first-child) p:last-child { margin-bottom: 0; }
.section-head--stack { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
@media (max-width: 900px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Credibility strip (facts only) ---------- */
.cred { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line-strong); }
.cred li { padding: 18px 20px 4px 0; display: grid; gap: 4px; }
.cred li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.cred b { font-weight: 600; font-size: .9375rem; color: var(--fg); }
.cred span { font-size: .875rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .cred { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cred li:nth-child(3) { padding-left: 0; border-left: 0; } .cred li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 14px; } }
@media (max-width: 480px) { .cred { grid-template-columns: minmax(0, 1fr); } .cred li, .cred li + li { padding-left: 0; border-left: 0; } .cred li + li { border-top: 1px solid var(--line); margin-top: 14px; } }

/* ---------- Selected work (home): editorial, varied scale ---------- */
.sw-list { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 56px); align-items: start; }
.sw { display: grid; gap: 18px; }
.sw--lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; gap: 24px clamp(24px, 4vw, 56px); }
.sw--b { margin-top: clamp(0px, 12vw, 160px); }
.sw__shot { display: block; overflow: hidden; border-radius: var(--r-md); background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.sw__shot img { width: 100%; height: auto; aspect-ratio: 1600 / 926; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.sw__shot:hover img { transform: scale(1.02); }
.sw__meta { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.sw__index { margin: 0; font-family: var(--font-display); font-stretch: 90%; font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.sw__body h3 { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); line-height: .95; margin: 4px 0 10px; }
.sw__body h3 a { text-decoration: none; }
.sw__body h3 a:hover { color: var(--accent); }
.sw__body p { color: var(--muted); max-width: 52ch; }
.sw__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin: 6px 0 0; }
.sw-more { margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .sw-list, .sw--lead { grid-template-columns: minmax(0, 1fr); } .sw--b { margin-top: 0; } }

/* ---------- Service pathways (home) ---------- */
.svc { border-top: 2px solid var(--fg); counter-reset: none; }
.svc__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 20px clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line-strong); align-items: start; }
.svc__row:not(.svc__row--lead) .svc__body { grid-column: 2 / -1; }
.svc__row--lead { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); }
.svc__head { display: grid; gap: 6px; }
.svc__n { font-size: .875rem; font-weight: 600; color: var(--accent); }
.svc__head h3 { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); line-height: .95; }
.svc__row--lead .svc__head h3 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.4rem); }
.svc__price { margin: 6px 0 0; font-weight: 600; color: var(--accent); }
.svc__body p { margin-bottom: 12px; }
.svc__problem { font-size: var(--fs-lead); line-height: 1.45; color: var(--fg); }
.svc__shot { margin: 0; border-radius: var(--r-md); overflow: hidden; }
.svc__shot img { width: 100%; height: auto; }
@media (max-width: 1000px) { .svc__row, .svc__row--lead { grid-template-columns: minmax(0, 1fr); } .svc__row:not(.svc__row--lead) .svc__body { grid-column: auto; } }

/* ---------- Annotated interface ---------- */
.anno { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px clamp(24px, 4vw, 56px); align-items: start; counter-reset: a; }
.anno__fig { margin: 0; }
.anno__stage { position: relative; }
.anno__stage img { width: 100%; height: auto; display: block; }
.anno__pin { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .75rem; font-weight: 700; box-shadow: 0 0 0 4px rgba(213, 173, 85, .25), 0 6px 16px rgba(0, 0, 0, .5); }
.anno__list { counter-reset: a; border-top: 1px solid var(--line-strong); }
.anno__list li { counter-increment: a; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--line); }
.anno__list li::before { content: counter(a); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); font-size: .75rem; font-weight: 700; }
.anno__list b, .anno__list span { grid-column: 2; }
.anno__list b { display: block; font-weight: 600; }
.anno__list span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 1000px) { .anno { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .anno__pin { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: .625rem; box-shadow: 0 0 0 3px rgba(213, 173, 85, .25); } }

/* ---------- Buying questions ---------- */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: clamp(48px, 6vw, 72px) 0 0; border-top: 1px solid var(--line-strong); }
.qa > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.qa dt { font-weight: 600; margin-bottom: 6px; }
.qa dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .qa { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Portfolio index ---------- */
.pi-list { display: grid; gap: clamp(72px, 10vw, 140px); }
.pi { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px clamp(24px, 4vw, 56px); align-items: center; }
.pi--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.pi--flip .pi__shots { order: 2; }
.pi__shots { position: relative; display: block; padding-bottom: 12%; text-decoration: none; }
.pi__main { display: block; }
.pi__main img, .pi__second img { width: 100%; height: auto; aspect-ratio: 1600 / 926; object-fit: cover; object-position: top; display: block; }
.pi__second { position: absolute; right: -2%; bottom: 0; width: 46%; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.pi--flip .pi__second { right: auto; left: -2%; }
.pi__meta h2 { margin: 4px 0 6px; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem); }
.pi__meta h2 a { text-decoration: none; }
.pi__meta h2 a:hover { color: var(--accent); }
.pi__sector { color: var(--accent); font-size: .875rem; font-weight: 600; }
.pi__meta > p:not(.pi__sector):not(.sw__links) { color: var(--muted); }
.pi__role { margin: 16px 0 18px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9375rem; }
.pi__role dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pi__role dd { margin: 2px 0 0; }
.pi-note { margin: clamp(64px, 8vw, 112px) 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; max-width: 72ch; }
@media (max-width: 1000px) { .pi, .pi--flip { grid-template-columns: minmax(0, 1fr); } .pi--flip .pi__shots { order: 0; } .pi__second { right: 0; } .pi--flip .pi__second { left: auto; right: 0; } }

/* ---------- Case study ---------- */
.cs-back { margin: 0 0 18px; }
.cs-back a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--muted); text-decoration: none; font-size: .9375rem; }
.cs-back a:hover { color: var(--accent); }
.cs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(32px, 4vw, 48px) 0 0; border-top: 1px solid var(--line-strong); }
.cs-facts > div { padding: 16px 20px 0 0; }
.cs-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.cs-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.cs-facts dd { margin: 0; font-size: .9375rem; }
.cs-facts .link-arrow { min-height: 32px; }
@media (max-width: 900px) { .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cs-facts > div:nth-child(3) { padding-left: 0; border-left: 0; } .cs-facts > div:nth-child(n+3) { margin-top: 16px; border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .cs-facts { grid-template-columns: minmax(0, 1fr); } .cs-facts > div, .cs-facts > div + div { padding-left: 0; border-left: 0; } .cs-facts > div + div { margin-top: 16px; border-top: 1px solid var(--line); } }
.cs-brief { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(24px, 5vw, 80px); }
.cs-brief__body { max-width: 68ch; }
.cs-label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 28px 0 8px; }
.cs-label:first-child { margin-top: 0; }
.cs-brief__body p { font-size: 1.0625rem; }
.cs-brief__body .checklist { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .cs-brief { grid-template-columns: minmax(0, 1fr); } }
.cs-screens { display: grid; gap: clamp(48px, 7vw, 96px); }
.cs-screen { margin: 0; display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); gap: 20px clamp(24px, 3vw, 40px); align-items: end; }
.cs-screen--flip { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.cs-screen--flip figcaption { order: -1; }
.cs-screen figcaption { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.cs-screen__n { font-weight: 700; color: var(--accent); }
.cs-screen figcaption b { font-family: var(--font-display); font-stretch: 90%; text-transform: uppercase; font-size: 1.25rem; }
.cs-screen figcaption span:last-child { color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) { .cs-screen, .cs-screen--flip { grid-template-columns: minmax(0, 1fr); } .cs-screen--flip figcaption { order: 0; } }
.cs-details { display: grid; grid-template-columns: minmax(0, 615fr) minmax(0, 376fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.cs-details figure { margin: 0; }
.cs-detail { border-radius: var(--r-md); overflow: hidden; background: #0E0E10; box-shadow: 0 0 0 1px var(--line-strong), 0 24px 48px -24px rgba(0, 0, 0, .5); }
.cs-detail img { width: 100%; height: auto; }
.cs-details figcaption { margin-top: 12px; color: var(--muted); font-size: .9375rem; max-width: 46ch; }
@media (max-width: 760px) { .cs-details { grid-template-columns: minmax(0, 1fr); } .cs-details figure:last-child { max-width: 376px; } }

/* ---------- Founder ---------- */
.ft { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(24px, 5vw, 80px); align-items: center; }
.ft__photo, .fd__photo { margin: 0; }
.ft__photo img, .fd__photo img { width: 100%; height: auto; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.ft__body .lead { max-width: 56ch; margin: 24px 0 20px; color: var(--fg); font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); line-height: 1.35; }
.ft__by, .fd__photo figcaption { display: grid; gap: 2px; margin: 0 0 8px; font-size: .9375rem; }
.ft__by span, .fd__photo figcaption span { color: var(--muted); }
.fd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px clamp(24px, 5vw, 88px); align-items: start; scroll-margin-top: calc(var(--header-h) + 24px); }
.fd__photo { position: sticky; top: calc(var(--header-h) + 32px); }
.fd__photo figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.fd__body { max-width: 62ch; }
.fd__body .h2 { margin-bottom: 28px; }
.fd__body p { font-size: 1.0625rem; }
.fd__intro { font-size: var(--fs-lead) !important; font-weight: 600; }
.fd__pull { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem) !important; line-height: 1.25; color: var(--accent); }
.fd__cta { margin: 32px 0 18px; font-size: var(--fs-lead) !important; }
@media (max-width: 900px) { .ft, .fd { grid-template-columns: minmax(0, 1fr); } .ft__photo { max-width: 320px; } .fd__photo { position: static; max-width: 440px; } }
.cf { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 32px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cf img { width: 64px; height: 64px; object-fit: cover; object-position: 50% 18%; border-radius: 50%; }
.cf p { margin: 0; display: grid; gap: 2px; font-size: .9375rem; }
.cf span { color: var(--muted); }
.sys-proof { margin: 0; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px clamp(24px, 4vw, 56px); align-items: end; }
@media (max-width: 1000px) { .sys-proof { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 6px; background: color-mix(in srgb, var(--fg) 8%, transparent); font-size: .75rem; font-weight: 500; }
.tag--real { background: var(--gold); color: var(--ink); }
.tag--portfolio { background: rgba(107, 31, 53, .55); color: #fff; }
.tone-paper .tag--portfolio { background: var(--burgundy); }
.tag--concept { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); }
.tag--note { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); }

/* ---------- Project viewers (real builds) ---------- */
.builds { display: grid; gap: clamp(64px, 9vw, 128px); }
.build { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px clamp(24px, 3vw, 48px); align-items: start; scroll-margin-top: calc(var(--header-h) + 24px); }
.build--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.build--flip .build__stage { order: 2; }
.build__plate { padding: clamp(10px, 2vw, 24px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.build--navy .build__plate { background: linear-gradient(160deg, #1A2A42, #0E1520); }
.build--sage .build__plate { background: linear-gradient(160deg, #2A352E, #161C18); }
.build--ink .build__plate { background: linear-gradient(160deg, var(--burgundy-deep), #120A0D); }
.shot { position: relative; aspect-ratio: 1600 / 926; overflow: hidden; background: #0E0E0D; border-radius: 0 0 10px 10px; touch-action: pan-y; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (prefers-reduced-motion: no-preference) { .shot img:not([hidden]) { animation: fade-in .35s ease; } }
.build__bar { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.build__tabs { display: flex; gap: 2px; padding: 3px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; border-radius: var(--r-pill); background: color-mix(in srgb, var(--fg) 7%, transparent); }
.build__tabs::-webkit-scrollbar { display: none; }
.build__tab { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font-size: .8125rem; font-weight: 500; cursor: pointer; transition: color var(--t), background var(--t); }
.build__tab:hover { color: var(--fg); }
.build__tab[aria-pressed='true'] { background: var(--gold); color: var(--ink); }
.build__step { flex: none; display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--fg); cursor: pointer; transition: background var(--t), color var(--t); }
.icon-btn:hover { background: var(--gold); color: var(--ink); }
.build__meta :is(h2, h3) { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: .92; margin: 4px 0 8px; }
.build__sector { color: var(--accent); font-size: .875rem; font-weight: 600; margin-bottom: 16px; }
.build__summary { color: var(--muted); }
.build__role { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--r-md); background: color-mix(in srgb, var(--fg) 6%, transparent); font-size: .9375rem; }
.build__role dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.build__role dd { margin: 0; }
.build__h { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.build__note { margin-top: 16px; font-size: .875rem; color: var(--muted); }
@media (max-width: 1000px) { .build, .build--flip { grid-template-columns: minmax(0, 1fr); } .build--flip .build__stage { order: 0; } }

/* Frame around real screenshots (adds the "this is a website" context) */
.frame { border-radius: 12px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 24px 48px -24px rgba(0, 0, 0, .9); }
.frame__bar { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px; background: #1C1B1C; }
.frame__dots { display: flex; gap: 5px; }
.frame__dots i { width: 8px; height: 8px; border-radius: 50%; background: #3A393A; }
.frame__url { flex: 1; max-width: 50%; margin: 0 auto; transform: translateX(-20px); text-align: center; font-size: 11px; line-height: 20px; color: #A8A49F; background: #262526; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Lists ---------- */
.checklist { display: grid; gap: 4px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; }
.checklist li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
@media (max-width: 640px) { .checklist--cols { grid-template-columns: minmax(0, 1fr); } }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 2px solid var(--line-strong); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-display); font-stretch: 90%; font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.8rem); line-height: 1; color: var(--accent); margin-bottom: 18px; }
.steps h3 { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .9688rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Points: short reasons, numbered */
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); }
.points li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 12px; }
.points li > span { font-weight: 600; font-size: .875rem; color: var(--accent); padding-top: 3px; font-variant-numeric: tabular-nums; }
.points h3 { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; margin-bottom: 6px; }
.points p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .points { grid-template-columns: minmax(0, 1fr); } }

/* Split: heading left, content right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px clamp(24px, 5vw, 80px); align-items: start; }
.split__head--sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split__head--sticky { position: static; } }

/* ---------- Website types (Websites page) ---------- */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px); }
.type { display: flex; flex-direction: column; gap: 10px; padding: 22px 0 8px; border-top: 1px solid var(--line-strong); }
.type h3 { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.type p { margin: 0; color: var(--muted); font-size: .9688rem; }
.type dl { margin: 6px 0 0; display: grid; gap: 10px; font-size: .9375rem; }
.type dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.type dd { margin: 2px 0 0; }
.type button { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 12px 0 0; font-weight: 600; color: var(--accent); cursor: pointer; display: inline-flex; gap: 8px; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.type button:hover { text-decoration-color: currentColor; }
.type--feature { border-top: 2px solid var(--fg); }
.type--feature h3 { font-size: 1.9rem; }
@media (max-width: 1000px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .types { grid-template-columns: minmax(0, 1fr); } }

/* Includes panel */
.includes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .includes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--fg) 8%, transparent); font-weight: 400; font-size: 1.25rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Capabilities (Digital systems) ---------- */
.caps { display: grid; border-top: 2px solid var(--fg); }
.cap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(24px, 4vw, 56px); padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header-h) + 24px); }
.cap h3 { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: .98; margin-top: 6px; }
.cap__num { font-size: .875rem; font-weight: 600; color: var(--accent); }
.cap__body > p { margin-bottom: 18px; font-size: 1.0625rem; }
.cap__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--gap); margin: 0; }
.cap__facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.cap__facts dd { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) { .cap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cap__facts { grid-template-columns: minmax(0, 1fr); } }

/* Callout */
.callout { padding: 16px 20px; border-radius: var(--r-md); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: .9688rem; max-width: 64ch; }
.callout p:last-child { margin: 0; }

/* ---------- Systems map (illustrative) ---------- */
.sysmap2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; }
.sysmap { margin: 0; padding: clamp(18px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--surface); }
.sysmap__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; font-size: .8125rem; color: var(--muted); }
.sysmap__head b { color: var(--accent); font-weight: 600; }
.sysmap__layers { display: grid; gap: 8px; }
.layer { display: grid; grid-template-columns: minmax(0, 14rem) 1fr; gap: 10px 20px; align-items: center; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: var(--r-md); background: color-mix(in srgb, var(--fg) 5%, transparent); text-align: left; color: inherit; font: inherit; cursor: pointer; transition: border-color var(--t), background var(--t); }
.layer:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.layer[aria-pressed='true'] { border-color: var(--gold); background: rgba(213, 173, 85, .1); }
.tone-paper .layer[aria-pressed='true'] { border-color: var(--burgundy); background: rgba(107, 31, 53, .07); }
.tone-paper .node::before { background: var(--burgundy); }
.tone-paper .node--ext::before { background: transparent; box-shadow: inset 0 0 0 1px var(--burgundy); }
.layer__name b { display: block; font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: 1rem; }
.layer__name span { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.layer__nodes { display: flex; flex-wrap: wrap; gap: 6px; }
.node { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 11px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .78rem; white-space: nowrap; }
.node::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.node--ext { box-shadow: none; outline: 1px dashed var(--line-strong); outline-offset: -1px; }
.node--ext::before { background: transparent; box-shadow: inset 0 0 0 1px var(--gold); }
.sysmap__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: .8125rem; color: var(--muted); }
.sysmap__legend span { display: inline-flex; gap: 8px; align-items: center; }
.sysmap__legend i { width: 18px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.sysmap__legend i.ext { box-shadow: none; outline: 1px dashed var(--line-strong); outline-offset: -1px; }
.sysdetail { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--burgundy-deep); color: #fff; --muted: #C9B5BB; --accent: var(--gold); }
.sysdetail h3 { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; margin-bottom: 12px; }
.sysdetail p { color: var(--muted); }
.sysdetail dl { margin: 16px 0 0; display: grid; gap: 12px; }
.sysdetail dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.sysdetail dd { margin: 2px 0 0; font-size: .9375rem; }
@media (max-width: 900px) { .sysmap2 { grid-template-columns: minmax(0, 1fr); } .sysdetail { position: static; } }
@media (max-width: 700px) { .layer { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Concept projects (clearly labelled) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) var(--gap); }
.work { display: flex; flex-direction: column; }
.work--full { grid-column: 1 / -1; }
.work__visual { position: relative; display: grid; place-items: center; padding: 7%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); }
.work--full .work__visual { aspect-ratio: 16 / 8; }
.work__stage { width: 100%; }
.work__stage > .phone { width: 44%; max-width: 280px; margin-inline: auto; }
.work__meta { padding-top: 20px; }
.work__title { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1; margin-bottom: 6px; }
.work__type { color: var(--muted); margin-bottom: 14px; }
.work__facts { margin: 0; display: grid; gap: 10px; font-size: .9375rem; }
.work__facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.work__facts dd { margin: 2px 0 0; color: var(--muted); }
@media (max-width: 900px) { .work-grid { grid-template-columns: minmax(0, 1fr); } .work--full .work__visual { aspect-ratio: 4 / 3; } }

/* Device frames for concept mockups (detailed styles in mocks.css) */
.systems-stage { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); gap: var(--gap); align-items: center; }
@media (max-width: 820px) { .systems-stage { grid-template-columns: minmax(0, 1fr); } .systems-stage__phone { max-width: 220px; margin-inline: auto; } }
.figcap { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.figcap a { display: inline-flex; align-items: center; min-height: 32px; flex: none; }

/* ---------- Closing CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta__mark { position: absolute; z-index: -1; right: -4%; bottom: -14%; width: min(46vw, 560px); color: rgba(0, 0, 0, .18); pointer-events: none; }
.cta__inner { max-width: 820px; }
.cta .lead { margin: 24px 0 0; }
.choices2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 44px); }
.choice2 { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; border-radius: var(--r-md); text-decoration: none; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--t), color var(--t), transform .4s var(--ease); }
.choice2:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.choice2 b { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: 1.4rem; line-height: 1; }
.choice2 span { font-size: .9375rem; color: var(--muted); }
.choice2 em { margin-top: 10px; font-style: normal; font-weight: 600; color: var(--accent); }
.choice2:hover span, .choice2:hover em { color: var(--ink); }
.choice2--primary { background: var(--gold); color: var(--ink); box-shadow: none; }
.choice2--primary span, .choice2--primary em { color: var(--ink); }
.choice2--primary:hover { background: var(--gold-hi); }
@media (max-width: 600px) { .choices2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Direct contact ---------- */
.wa-icon { width: 20px; height: 20px; flex: none; }
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 12px; }
.direct__lead { margin: 28px 0 0; color: var(--muted); font-size: .9375rem; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--fg); text-decoration: none; font-weight: 600; font-size: .9375rem; transition: background var(--t), color var(--t); }
.wa-btn .wa-icon { color: var(--wa); }
.tone-paper .wa-btn .wa-icon { color: #12803F; }
.wa-btn:hover { background: var(--wa); color: #06210F; }
.wa-btn:hover .wa-icon { color: #06210F; }
.direct__link { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; color: var(--fg); font-size: .9375rem; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 5px; }
.direct__link:hover { color: var(--accent); }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: minmax(0, 1fr); } }
.form-card { padding: clamp(22px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .9rem; font-weight: 600; padding: 0; }
.opt { color: var(--muted); font-weight: 400; }
.req { color: var(--accent); }
.hint { font-size: .8125rem; color: var(--muted); margin: -2px 0 0; }
.input { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--fg) 4%, var(--bg)); font-size: 1rem; line-height: 1.4; -webkit-appearance: none; appearance: none; transition: border-color var(--t), box-shadow var(--t); }
.tone-paper .input, .tone-paper .form-card .input { background: var(--white); }
.input:hover { border-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { padding-right: 40px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
select.input option { background: #fff; color: #141213; }
.field.has-error .input { border-color: var(--error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 22%, transparent); }
.field__error { display: flex; gap: 6px; align-items: baseline; margin: 0; font-size: .8438rem; font-weight: 500; color: var(--error); }
.field__error::before { content: '!'; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: var(--bg); font-size: .6875rem; font-weight: 700; transform: translateY(2px); }
.field__error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { width: 100%; float: left; margin-bottom: 10px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .9rem; transition: background var(--t), color var(--t), box-shadow var(--t); }
.choice input:hover + span { box-shadow: inset 0 0 0 1px var(--fg); }
.choice input:checked + span { background: var(--fg); color: var(--bg); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-top: 4px; }
.form__foot p { font-size: .8125rem; color: var(--muted); margin: 0; max-width: 46ch; }
.form__alt { grid-column: 1 / -1; margin: -6px 0 0; font-size: .875rem; color: var(--muted); }
.form__alt button { background: none; border: 0; padding: 0; color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 32px; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--error) 14%, transparent); font-size: .9375rem; }
.form-success { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.form-success:focus { outline: none; }
.form-success .h3 { margin-bottom: 14px; }
.next-steps { counter-reset: n; display: grid; gap: 14px; margin-top: 28px; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 2.25rem 1fr; font-size: .9688rem; }
.next-steps li::before { content: counter(n, decimal-leading-zero); color: var(--accent); font-weight: 600; font-size: .875rem; padding-top: 2px; }
.next-steps b { display: block; }
.next-steps span { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 28px; background: var(--ink); color: #E9E4DC; --focus: var(--gold); border-top: 1px solid rgba(213, 173, 85, .22); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px var(--gap); padding-bottom: clamp(40px, 6vw, 72px); }
.site-footer__brand p { color: #A9A39A; margin-top: 18px; max-width: 34ch; font-size: .9375rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); }
.site-footer__h { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer li { font-size: .9375rem; }
.site-footer li a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #D8D2C8; text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.site-footer .wa-icon { width: 16px; height: 16px; color: var(--wa); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(242, 238, 232, .08); font-size: .8125rem; color: #8F8A84; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 20px; }
.site-footer__bottom li { font-size: .8125rem; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Floating WhatsApp ---------- */
.wa-fab { position: fixed; z-index: 50; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: var(--r-pill);
  background: #0F0F0F; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
  box-shadow: 0 0 0 1px rgba(63, 214, 122, .45), 0 14px 32px -12px rgba(0, 0, 0, .8);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background var(--t), color var(--t), visibility 0s; }
.wa-fab .wa-icon { width: 24px; height: 24px; color: var(--wa); }
.wa-fab:hover { background: var(--wa); color: #06210F; }
.wa-fab:hover .wa-icon { color: #06210F; }
.wa-fab.is-hidden { opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s linear .3s; }
@media (max-width: 700px) { .wa-fab { width: 52px; padding: 0; justify-content: center; } .wa-fab__text { display: none; } }
.menu-open .wa-fab, .page-start .wa-fab { display: none; }
@media print { .wa-fab, .site-header { display: none; } }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: .875rem; line-height: 1.5; }
.notice p { margin: 0; }
.form .notice { grid-column: 1 / -1; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: 1.35rem; margin: 2.2em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent); }

/* ---------- Onboarding (/start) ---------- */
.ob { max-width: 920px; scroll-margin-top: calc(var(--header-h) + 16px); }
.ob__progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ob__bar { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(.2); transition: transform .6s var(--ease); }
.ob__steps { display: flex; gap: 6px; margin: 16px 0 clamp(28px, 4vw, 44px); overflow-x: auto; scrollbar-width: none; }
.ob__steps::-webkit-scrollbar { display: none; }
.ob__steps li { flex: none; padding: 8px 14px; border-radius: var(--r-pill); font-size: .8125rem; color: var(--muted); }
.ob__steps li.is-done { color: var(--fg); }
.ob__steps li.is-done::before { content: '✓ '; color: var(--gold); }
.ob__steps li.is-current { background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--gold); }
.ob__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.ob__title { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1; margin-bottom: clamp(24px, 3vw, 36px); padding: 0; }
.ob__title:focus { outline: none; }
.ob__nav { display: flex; align-items: center; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.ob__nav [data-next], .ob__nav [data-submit] { margin-left: auto; }
.ob__saved { margin: 0; font-size: .8125rem; color: var(--muted); }
.ob__saved:empty { display: none; }
.ob__review { display: grid; gap: 12px; margin-bottom: 24px; }
.ob__card { padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); }
.ob__card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ob__card h3 { font-size: .8125rem; font-weight: 600; color: var(--gold); }
.ob__edit { background: none; border: 0; color: var(--muted); font-size: .875rem; cursor: pointer; padding: 6px 10px; border-radius: var(--r-pill); min-height: 36px; }
.ob__edit:hover { background: var(--line); color: var(--fg); }
.ob__card dl { margin: 0; display: grid; gap: 8px; }
.ob__card dl > div { display: grid; grid-template-columns: 11rem 1fr; gap: 12px; }
.ob__card dt { color: var(--muted); font-size: .875rem; }
.ob__card dd { margin: 0; font-size: .9375rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.ob__consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: rgba(213, 173, 85, .08); font-size: .9375rem; cursor: pointer; }
.ob__consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.ob__done { max-width: 720px; }
@media (max-width: 640px) {
  .ob__card dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ob__nav { position: sticky; bottom: 8px; z-index: 5; padding: 8px; border-radius: var(--r-lg); background: rgba(18, 17, 18, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}

/* ==========================================================================
   Motion
   Content is never hidden behind motion: everything is visible without JS,
   and with prefers-reduced-motion nothing moves.
   ========================================================================== */

/* Brand intro: logo, name and tagline (first page of a visit, and when the logo is tapped). Click or key skips. */
.intro { display: none; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 400; cursor: pointer;
  background: radial-gradient(50% 50% at 50% 50%, rgba(107, 31, 53, .55), transparent 75%), #070607; color: #F2EEE8; }
.intro__inner { display: grid; justify-items: center; gap: 18px; padding: 24px; text-align: center; }
.intro__mark { width: clamp(64px, 9vw, 104px); height: auto; color: var(--gold); animation: intro-mark .9s var(--ease) both; filter: drop-shadow(0 0 28px rgba(213, 173, 85, .35)); }
.intro__name { margin: 0; font-family: var(--font-display); font-stretch: 100%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); letter-spacing: .22em; padding-left: .22em; animation: intro-name .9s var(--ease) .2s both; }
.intro__name span + span { color: var(--gold); }
.intro__tag { margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); color: #D2CBC1; animation: intro-fade .8s var(--ease) .55s both; }
.intro-out .intro { animation: intro-lift .5s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes intro-mark { from { opacity: 0; transform: translateY(12px) scale(.86); } }
@keyframes intro-name { from { opacity: 0; letter-spacing: .5em; } }
@keyframes intro-fade { from { opacity: 0; transform: translateY(8px); } }
@keyframes intro-lift { to { clip-path: inset(0 0 100% 0); } }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }

/* Reveal on scroll: once, short distance, no blur */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Page-to-page transition (browsers with cross-document View Transitions; others navigate normally) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .22s ease both; }
  ::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.76, 0, .24, 1) both; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(site-header) { animation: none; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
