/* Web AI Solutions. Black and gold, after the look of the partners' own Top Dynamos site (their request):
   Playfair Display capitals, Inter text, gold labels with a hairline. Version 2, Nov 24, 2026.
   The first (burgundy and pink) design is kept in site-v1/. */

@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-var.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/assets/fonts/playfair-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0a0a;
  --panel: #121212;
  --raise: #1a1a1a;
  --gold: #c9a74a;
  --gold-dim: #6d5c2c;
  --line: rgba(201, 167, 74, 0.24);
  --ink: #f3efe6;
  --text: #bdb7aa;
  --muted: #a39e93;
  --device: #17140d;

  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --m: clamp(18px, 4vw, 60px);
  --title: clamp(20px, 1.7vw, 24px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
::selection { background: var(--gold); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--m); top: -80px; z-index: 60; background: var(--gold); color: #0a0a0a; padding: 12px 16px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1320px; margin-inline: auto; }
.section { padding: clamp(84px, 12vh, 150px) var(--m); }
.section--panel { background: var(--panel); }

.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; font: 600 13px/1.2 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ''; flex: none; width: 46px; height: 1px; background: var(--gold); }
.eyebrow--mid { justify-content: center; }
.eyebrow--mid::after { content: ''; flex: none; width: 46px; height: 1px; background: var(--gold); }
.h2 { font: 700 clamp(24px, 3.7vw, 56px)/1.1 var(--display); text-transform: uppercase; color: var(--ink); letter-spacing: 0.005em; text-wrap: balance; }
.rule { width: 96px; height: 1px; background: var(--gold); margin: 28px 0; }
.lede { font-size: clamp(17px, 1.3vw, 20px); color: #cdbf9a; max-width: 36em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px;
  background: var(--gold); color: #0a0a0a; border: 1px solid var(--gold); cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 700 13px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--line { background: none; color: var(--gold); }
.more { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); text-decoration: none; font: 700 13px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.more i { font-style: normal; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #dcbb5e; border-color: #dcbb5e; }
  .btn--line:hover { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
  .more:hover i { transform: translateX(5px); }
}

/* ---------- Navigation ---------- */
.nav { position: absolute; z-index: 30; inset: 0 0 auto 0; display: flex; align-items: center; gap: 34px; padding: 20px var(--m); }
.mark { margin-right: auto; display: grid; gap: 6px; text-decoration: none; }
.mark b { font: 700 24px/1 var(--display); letter-spacing: 0.07em; color: var(--gold); white-space: nowrap; }
.mark i { font: 600 9px/1 var(--sans); letter-spacing: 0.34em; color: var(--gold); opacity: 0.78; font-style: normal; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font: 600 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 8px 0; transition: color 180ms ease; }
.nav__menu { display: none; background: none; border: 0; padding: 12px 0 12px 12px; font: 700 13px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover, .foot a:hover { color: var(--gold); } }
.sheet { position: fixed; z-index: 40; inset: 0; background: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 96px var(--m) 40px; }
.sheet nav { display: flex; flex-direction: column; gap: 14px; }
.sheet nav a { font: 700 clamp(30px, 9vw, 44px)/1.1 var(--display); text-transform: uppercase; color: var(--ink); text-decoration: none; }
.sheet .btn { align-self: stretch; }
body.has-sheet { overflow: hidden; }
body.has-sheet .nav { position: fixed; z-index: 50; }

/* ---------- Hero: words on the left, the app in front of a real site on the right ---------- */
.hero { position: relative; overflow: hidden; }
.hero > .stage3d { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { font: 800 clamp(40px, 5.15vw, 80px)/1.03 var(--display); text-transform: uppercase; color: var(--ink); }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.stage { --bx: 0.02; --by: 0.3; --bw: 0.98; --px: 0.3; --py: 0; --pw: 0.36; }
.still { position: absolute; inset: 0; transition: opacity 500ms ease; }
.still__browser { position: absolute; left: calc(var(--bx) * 100%); top: calc(var(--by) * 100%); width: calc(var(--bw) * 100%); background: var(--device); border-radius: 1.3% / 2%; overflow: hidden; padding: 0 0.6% 0.6%; }
.still__bar { display: flex; align-items: center; gap: 1.1%; aspect-ratio: 1 / 0.042; padding-left: 1.4%; }
.still__bar i { display: block; width: 1.25%; aspect-ratio: 1; border-radius: 50%; background: var(--gold-dim); }
.still__bar i:first-child { background: var(--gold); }
.still__screen { position: relative; aspect-ratio: 16 / 10; background: #050505; overflow: hidden; }
.still__phone { position: absolute; left: calc(var(--px) * 100%); top: calc(var(--py) * 100%); width: calc(var(--pw) * 100%); background: var(--device); border-radius: 16% / 7.6%; padding: 1.6%; }
.still__glass { position: relative; aspect-ratio: 540 / 1168; border-radius: 12% / 5.6%; overflow: hidden; background: #050505; }
.still__screen img, .still__glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 260ms ease; }
.still__screen img.is-on, .still__glass img.is-on { opacity: 1; }
.hero.has-3d .still { opacity: 0; visibility: hidden; transition: opacity 500ms ease, visibility 0s linear 500ms; }
.picker { position: relative; z-index: 2; }
.picker__label { margin: 0 0 8px; font: 600 13px/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.picker__list { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.picker__list button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 6px 0; cursor: pointer; color: var(--muted); font: 500 16px/1.2 var(--sans); transition: color 180ms ease, border-color 180ms ease; }
.picker__list button[aria-pressed='true'] { color: var(--gold); border-bottom-color: var(--gold); }
.picker__now { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 1.6em; }
.picker__now b { color: var(--ink); font-weight: 500; }
.picker__now a { color: var(--gold); margin-left: 8px; text-underline-offset: 0.2em; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .picker__list button:hover { color: var(--ink); } }

@media (min-width: 1000px) {
  .hero { height: 100svh; min-height: 740px; max-height: 1080px; }
  .hero__copy { position: absolute; left: var(--m); top: 50%; transform: translateY(-46%); width: min(46vw, 660px); }
  .stage { position: absolute; z-index: 1; right: calc(var(--m) * -0.2); top: 13svh; width: min(49vw, 86svh, 760px); aspect-ratio: 16 / 13; }
  .picker { position: absolute; right: var(--m); bottom: 22px; width: min(46vw, 720px); }
  .picker__list { justify-content: flex-end; }
  .picker__label, .picker__now { text-align: right; }
}
@media (max-width: 999.98px) {
  .nav__links, .nav__action { display: none; }
  .nav__menu { display: block; }
  .mark b { font-size: 20px; }
  .hero { padding: 108px var(--m) 44px; }
  .hero h1 { font-size: clamp(38px, 10.6vw, 72px); }
  .stage { position: relative; z-index: 1; width: 100%; max-width: 640px; margin: 44px auto 0; aspect-ratio: 1 / 1.05; --by: 0.32; --px: 0.32; --pw: 0.4; }
  .picker { margin-top: 30px; }
  .picker__list { gap: 6px 18px; }
}

/* ---------- What we do ---------- */
.grid8 { list-style: none; margin: clamp(48px, 7vh, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 5vh, 56px) clamp(24px, 3vw, 48px); }
.grid8 li::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); margin-bottom: 18px; }
.grid8 h3 { font: 700 var(--title)/1.2 var(--display); color: var(--gold); margin-bottom: 10px; }
.grid8 p { line-height: 1.6; color: var(--muted); }
.what__more { margin-top: clamp(48px, 7vh, 72px); text-align: center; }
@media (max-width: 1099.98px) { .grid8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559.98px) { .grid8 { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- The app: a sample to tap through ---------- */
.app__head { max-width: 900px; }
.app__head p { margin-top: 22px; max-width: 40em; }
.app__stage { margin-top: clamp(44px, 7vh, 76px); display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.phone { position: relative; width: 100%; max-width: 360px; margin-inline: auto; background: var(--device); border-radius: 13.5% / 6.4%; padding: 3.2%; }
.phone__screen { position: relative; aspect-ratio: 390 / 844; border-radius: 10.5% / 4.9%; overflow: hidden; background: #0a0a0a; container-type: inline-size; }
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone__island { position: absolute; z-index: 3; left: 50%; top: 1.6%; width: 28%; height: 3.3%; transform: translateX(-50%); background: #050505; border-radius: 999px; }
.app__note { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }

/* inside the phone: everything in em, sized from the screen's own width */
.ap { position: absolute; inset: 0; font: 400 3.846cqw/1.4 var(--sans); color: var(--ink); display: flex; flex-direction: column; }
.ap__body { flex: 1; overflow: hidden; padding: 3.9em 1.35em 0; display: flex; flex-direction: column; }
.ap__top { display: flex; justify-content: space-between; align-items: flex-end; }
.ap__top h3 { font: 700 2em/1 var(--display); color: var(--ink); }
.ap__top span { color: var(--gold); font-weight: 600; font-size: 0.86em; }
.ap__hello { margin: 0.45em 0 1.15em; color: var(--muted); }
.ap__h { font: 700 1.5em/1.1 var(--display); color: var(--ink); margin: 0.2em 0 0.8em; }
.ap__back { align-self: flex-start; background: none; border: 0; padding: 0.4em 0; margin-bottom: 0.3em; color: var(--gold); font-weight: 600; font-size: 0.86em; cursor: pointer; }
.ap__book { background: var(--gold); color: #0a0a0a; padding: 1.15em; }
.ap__book b { display: block; font: 700 1.45em/1.1 var(--display); }
.ap__book small { display: block; margin-top: 0.3em; font-size: 0.86em; font-weight: 500; }
.ap__times { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: 0.9em; }
.ap__times button { border: 0; cursor: pointer; background: #0a0a0a; color: var(--ink); font-weight: 600; font-size: 0.93em; padding: 0.62em 0.82em; }
.ap__times--pick button { background: var(--raise); padding: 0.8em 1em; }
.ap__times--pick button[aria-pressed='true'] { background: var(--gold); color: #0a0a0a; }
.ap__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65em; margin-top: 0.65em; }
.ap__tile { background: #161616; border: 0; cursor: pointer; text-align: left; color: inherit; padding: 1.05em; min-height: 6.6em; display: flex; flex-direction: column; justify-content: space-between; }
.ap__tile b { font: 700 1.2em/1.1 var(--display); }
.ap__tile small { color: var(--muted); font-size: 0.86em; }
.ap__dots { display: flex; gap: 0.3em; margin-top: 0.5em; }
.ap__dots i { width: 0.78em; height: 0.78em; border-radius: 50%; background: var(--gold); }
.ap__dots i.off { background: #33302a; }
.ap__ai { margin-top: 0.65em; background: #161616; padding: 1.05em; display: flex; flex-direction: column; min-height: 0; }
.ap__ai .ap__msgs { flex: none; }
.ap__tile--wide { margin-top: 0.65em; min-height: 0; width: 100%; gap: 0.35em; }
.ap__label { margin: 0 0 0.9em; font: 600 0.78em/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.ap__msgs { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5em; }
.ap__q { align-self: flex-end; max-width: 84%; background: #2a2823; padding: 0.58em 0.85em; border-radius: 1em 1em 0.25em 1em; }
.ap__a { align-self: flex-start; max-width: 90%; background: var(--ink); color: #0a0a0a; padding: 0.58em 0.85em; border-radius: 1em 1em 1em 0.25em; }
.ap__a button { display: block; margin-top: 0.55em; border: 0; cursor: pointer; background: #0a0a0a; color: var(--gold); font-weight: 600; font-size: 0.93em; padding: 0.55em 0.8em; }
.ap__chips { display: flex; flex-wrap: wrap; gap: 0.45em; margin-top: 0.75em; }
.ap__chips button { cursor: pointer; background: #0a0a0a; color: var(--ink); font-size: 0.9em; padding: 0.58em 0.8em; border: 1px solid #3a362c; }
.ap__list { display: grid; gap: 0.55em; }
.ap__row { display: flex; justify-content: space-between; align-items: center; gap: 0.8em; background: #161616; border: 0; width: 100%; text-align: left; color: inherit; cursor: pointer; padding: 0.95em 1.05em; }
.ap__row b { font-weight: 600; display: block; }
.ap__row small { color: var(--muted); font-size: 0.86em; }
.ap__row em { font-style: normal; color: var(--gold); font-weight: 600; }
.ap__row[aria-pressed='true'] { outline: 1px solid var(--gold); outline-offset: -1px; }
.ap__qty { display: flex; align-items: center; gap: 0.7em; }
.ap__qty button { width: 2.1em; height: 2.1em; border: 0; cursor: pointer; background: #0a0a0a; color: var(--gold); font-weight: 700; }
.ap__go { margin-top: auto; margin-bottom: 1em; border: 0; cursor: pointer; background: var(--gold); color: #0a0a0a; font: 700 0.86em/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 1.25em; }
.ap__go[disabled] { background: #2a2823; color: #6f6a5f; cursor: default; }
.ap__sum { display: flex; justify-content: space-between; margin: 1em 0 0.8em; font-weight: 600; }
.ap__done { margin: auto 0; text-align: center; display: grid; gap: 0.7em; justify-items: center; }
.ap__done i { width: 3.4em; height: 3.4em; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-style: normal; color: #0a0a0a; font-weight: 700; font-size: 1.3em; }
.ap__done b { font: 700 1.5em/1.15 var(--display); }
.ap__done span { color: var(--muted); max-width: 16em; }
.ap__tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: #101010; padding: 0.55em 0 1.6em; }
.ap__tabs button { background: none; border: 0; cursor: pointer; padding: 0.7em 0; color: var(--muted); font: 600 0.8em/1 var(--sans); }
.ap__tabs button[aria-current='page'] { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .ap__in { animation: ap-in 320ms var(--ease-out) both; }
  .ap__q, .ap__a { animation: ap-in 300ms var(--ease-out) both; }
}
@keyframes ap-in { from { opacity: 0; transform: translateY(0.6em); } to { opacity: 1; transform: none; } }

/* what the owner sees, beside the phone */
.owner { background: var(--panel); padding: clamp(22px, 2.6vw, 36px); }
.section--panel .owner { background: var(--bg); }
.owner__title { font: 700 var(--title)/1.15 var(--display); color: var(--ink); text-transform: uppercase; }
.owner__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.owner__num { background: var(--raise); padding: 18px 16px; }
.owner__num b { display: block; font: 700 clamp(26px, 2.9vw, 42px)/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.owner__num span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.owner__feed { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.owner__feed li { display: flex; justify-content: space-between; gap: 16px; background: var(--raise); padding: 12px 16px; font-size: 16px; color: var(--ink); }
.owner__feed li span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.owner__feed li.is-new { box-shadow: inset 3px 0 0 var(--gold); }
@media (prefers-reduced-motion: no-preference) { .owner__feed li.is-new { animation: ap-in 420ms var(--ease-out) both; } }

.swap { margin-top: clamp(28px, 4vh, 44px); }
.swap__title { font: 700 var(--title)/1.15 var(--display); color: var(--ink); text-transform: uppercase; }
.swap table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 16px; }
.swap th, .swap td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.swap th { color: var(--ink); }
.swap td { color: var(--muted); }
.swap td:last-child, .swap th:last-child { text-align: right; color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.swap tfoot th, .swap tfoot td { border-bottom: 0; padding-top: 18px; font: 700 var(--title)/1.2 var(--display); color: var(--ink); }
.swap tfoot td:last-child { color: var(--gold); }
.swap__src { margin-top: 14px; max-width: 66ch; font-size: 14px; line-height: 1.5; color: var(--muted); }

.film { margin-top: clamp(64px, 9vh, 110px); }
.film__frame { position: relative; margin-top: 26px; aspect-ratio: 16 / 9; background: #050505; overflow: hidden; }
.film__frame video, .film__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.film__frame.is-playing .film__play, .film__frame.is-playing > img { display: none; }
/* in a narrow frame the button covers a third of the picture: push the picture back so the button reads */
@media (max-width: 899.98px) { .film__frame > img { opacity: .42; } }

@media (max-width: 899.98px) {
  .app__stage { grid-template-columns: 1fr; }
  .phone { max-width: 330px; }
  .owner__nums { gap: 8px; }
  .owner__num { padding: 14px 12px; }
}

/* ---------- Our approach ---------- */
.creed { box-shadow: inset 3px 0 0 var(--gold-dim); }
.creed .h2 { max-width: 22em; }
.nb { display: inline-block; }
.creed__body { margin-top: 44px; max-width: 760px; display: grid; }
.creed__body p { padding: 22px 0; border-top: 1px solid var(--line); }
.creed .more { margin-top: 26px; }
@media (min-width: 1000px) {
  .creed .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(48px, 7vw, 120px); }
  .creed .eyebrow, .creed .h2 { grid-column: 1; }
  .creed .more { grid-column: 1; grid-row: 3; justify-self: start; align-self: start; margin-top: 40px; }
  .creed__body { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; max-width: none; }
  .creed__body p:first-child { border-top: 0; padding-top: 6px; }
}

/* ---------- Who we serve ---------- */
.serve { text-align: center; }
.serve .h2 { max-width: 16em; margin-inline: auto; }
.serve ul { list-style: none; margin: clamp(44px, 7vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 28px; text-align: left; }
.serve li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; }
.serve li::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@media (max-width: 1099.98px) { .serve ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599.98px) { .serve ul { grid-template-columns: repeat(2, 1fr); gap: 16px 18px; } }

/* ---------- Our work ---------- */
.work__grid { list-style: none; margin: clamp(44px, 7vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 48px); }
.work__card a, .work__card > div { display: block; text-decoration: none; color: inherit; }
.work__pic { overflow: hidden; background: #050505; aspect-ratio: 16 / 10; }
.work__pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 900ms var(--ease-out); }
.work__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.work__meta h3 { font: 700 var(--title)/1.15 var(--display); color: var(--ink); }
.work__meta b { font: 600 13px/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.work__card p { margin-top: 6px; color: var(--muted); }
.work__key { margin-top: clamp(40px, 6vh, 64px); font-size: 14px; color: var(--muted); max-width: 66ch; }
@media (hover: hover) and (pointer: fine) { .work__card a:hover .work__pic img { transform: scale(1.03); } .work__card a:hover h3 { color: var(--gold); } }
@media (max-width: 719.98px) { .work__grid { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.how__fields { margin-top: clamp(40px, 6vh, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.how__stages { display: grid; gap: 30px; }
.js .how__stages { gap: 0; }
.js .how__stage { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 200ms; }
.js .how__stage.is-on { opacity: 1; visibility: visible; transition: opacity 200ms ease; }
.how__clause { font: 700 clamp(26px, 2.9vw, 42px)/1.12 var(--display); color: var(--gold); max-width: 13em; }
.how__detail { margin-top: 18px; max-width: 34em; }
.how__track { margin-top: 44px; }
.range-wrap { position: relative; height: 32px; }
.range { -webkit-appearance: none; appearance: none; position: relative; z-index: 2; width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.range::-moz-range-track { height: 2px; background: transparent; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -10px; background: var(--gold); border: 0; border-radius: 0; }
.range::-moz-range-thumb { width: 22px; height: 22px; background: var(--gold); border: 0; border-radius: 0; }
.range-track, .range-fill { position: absolute; left: 0; top: 15px; height: 2px; }
.range-track { right: 0; background: var(--gold-dim); }
.range-fill { background: var(--gold); width: calc(var(--p, 0) * (100% - 22px) + 11px); }
.how__names { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; }
.how__names button { background: none; border: 0; padding: 10px 0; cursor: pointer; color: var(--muted); font: 600 13px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.how__names button[aria-current='step'] { color: var(--gold); }
.thread { width: 100%; max-width: 480px; margin-left: auto; background: var(--panel); padding: 20px; font-size: 16px; line-height: 1.4; color: var(--ink); }
.section--panel .thread { background: var(--bg); }
.thread__head { display: flex; justify-content: space-between; margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.thread__head b { color: var(--gold); font-weight: 600; letter-spacing: 0.08em; }
.thread__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 340px; overflow: hidden; }
.msg { margin: 0; max-width: 84%; padding: 10px 14px; }
.msg--you { align-self: flex-end; background: var(--gold); color: #0a0a0a; border-radius: 16px 16px 4px 16px; }
.msg--us { align-self: flex-start; background: var(--raise); border-radius: 16px 16px 16px 4px; }
.msg--card { align-self: flex-start; background: var(--raise); display: grid; gap: 2px; box-shadow: inset 3px 0 0 var(--gold); }
.msg--card b, .msg--note b { font-weight: 600; }
.msg--card span { color: var(--muted); font-size: 14px; }
.msg--note { align-self: stretch; max-width: none; margin-top: 6px; background: var(--ink); color: #0a0a0a; display: flex; justify-content: space-between; gap: 12px; }
.msg--note span { font-size: 14px; }
@media (max-width: 899.98px) {
  .how__fields { grid-template-columns: 1fr; }
  .thread { margin-inline: 0; max-width: none; }
  .thread__body { height: 300px; }
}

/* ---------- Call to act, in a frame with gold corners ---------- */
.cta__box { position: relative; text-align: center; padding: clamp(56px, 9vh, 104px) clamp(20px, 5vw, 80px); box-shadow: inset 0 0 0 1px rgba(201, 167, 74, 0.16); }
.cta__box::before, .cta__box::after { content: ''; position: absolute; width: 26px; height: 26px; }
.cta__box::before { left: 0; top: 0; box-shadow: inset 2px 2px 0 var(--gold); }
.cta__box::after { right: 0; bottom: 0; box-shadow: inset -2px -2px 0 var(--gold); }
.cta__box .h2 { max-width: 14em; margin-inline: auto; }
.cta__box p { margin: 24px auto 0; max-width: 38em; }
.cta__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }

/* ---------- Contact ---------- */
.contact__grid { margin-top: clamp(36px, 6vh, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.contact__cell { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.contact__cell small { display: block; font: 600 13px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.contact__cell .slot, .contact__cell span { font: 700 var(--title)/1.25 var(--display); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.slot[href] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* ---------- Footer ---------- */
.foot { padding: clamp(56px, 8vh, 88px) var(--m) 28px; border-top: 1px solid var(--line); }
.foot__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot__about p { margin-top: 18px; max-width: 30em; color: var(--muted); }
.foot__tag { margin-top: 22px; font: 600 13px/1.4 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.foot h3 { font: 600 13px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--text); text-decoration: none; transition: color 180ms ease; }
.foot__legal { margin-top: clamp(40px, 6vh, 64px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
@media (max-width: 799.98px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__about { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(120ms + var(--i, 0) * 90ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(14px); animation: rise 600ms var(--ease-out) forwards; animation-delay: var(--d, 300ms); }
  /* sections rise into place; they are never hidden, so nothing is lost if a scroll trigger is missed */
  .js [data-reveal] { transform: translateY(26px); transition: transform 900ms var(--ease-expo); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { transform: none; }
  /* a cover lifts off the picture; the picture is never clipped, so it loads as it nears the screen and is there when the cover goes */
  .js .shutter .shutter__mask { position: relative; }
  .js .shutter .shutter__mask::after { content: ''; position: absolute; inset: -1px; background: #050505; transform-origin: 50% 100%; transition: transform 800ms var(--ease-in-out); }
  .js .shutter .shutter__mask img { transform: scale(1.08); transition: transform 1300ms var(--ease-out); }
  .js .shutter.is-in .shutter__mask::after { transform: scaleY(0); }
  .js .shutter.is-in .shutter__mask img { transform: none; }
  .msg.is-new { animation: ap-in 420ms var(--ease-out) both; }
}
.shutter__mask { display: block; width: 100%; height: 100%; }
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
