/* ==========================================================================
   Elgin Designs — coming-soon site
   Colours, fonts and spacing live in :root. Motion lives at the bottom of the
   file and only runs when the visitor hasn't asked for reduced motion and
   hasn't pressed "Pause animations" (html[data-motion="off"]).
   ========================================================================== */

/* ---------- Fonts (self-hosted, subset) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-normal.woff2") format("woff2");
  font-weight: 400 620;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks so the swap to web fonts doesn't shift the layout */
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Georgia");
  size-adjust: 87.9%;
  ascent-override: 83.6%;
  descent-override: 30.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial");
  size-adjust: 101.7%;
  ascent-override: 95.4%;
  descent-override: 24.6%;
  line-gap-override: 0%;
}

/* ---------- Design tokens ---------- */
:root {
  /* night */
  --night: #110e16;
  --night-2: #18141f;
  --night-3: #221d2b;
  --night-line: rgba(245, 239, 230, 0.11);
  --cream: #f5efe6;
  --cream-2: #ddd4ca;
  --cream-muted: #b3a99f;
  --amber: #f2a65a;
  --amber-2: #f7c07f;
  --amber-ink: #1a1208;
  --amber-soft: #ffdcb5;
  --rose: #e8798b;
  --violet: #a99cff;
  --sage-light: #8fbfa5;

  /* day */
  --paper: #f6f1e7;
  --paper-2: #fffdf8;
  --ink: #1f1a17;
  --ink-muted: #5c534b;
  --rule: #e3dacb;
  --terracotta: #b4452a;
  --sage: #3f6b55;
  --marigold: #e9b949;

  --font-display: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", "Instrument Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --radius-lg: clamp(20px, 2.4vw, 30px);
  --header-h: 68px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  background: var(--night);
  scroll-padding-top: calc(var(--header-h) + 12px);
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--cream);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
strong { font-weight: 650; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}
.day :focus-visible { outline-color: var(--terracotta); }

::selection { background: var(--amber); color: var(--amber-ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: fixed;
  left: 16px; top: -120px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.15em; height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.022em;
  line-height: 1.02;
}
.display em { font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

h2.display { font-size: clamp(1.8rem, 1.1rem + 2.9vw, 3.3rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--compact { margin-bottom: clamp(24px, 3vw, 36px); }
.section-sub {
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: var(--cream-2);
}

.shine {
  background: linear-gradient(100deg, var(--amber-2) 0%, var(--amber) 22%, var(--rose) 55%, var(--violet) 88%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline-end: 0.08em;
}

.dot {
  position: relative;
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.35s var(--ease-out), color 0.2s;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn-xl { min-height: 64px; padding: 0 30px; font-size: clamp(1.02rem, 0.9rem + 0.7vw, 1.35rem); }

.btn-primary {
  color: var(--amber-ink);
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  box-shadow: 0 12px 32px -12px rgba(242, 166, 90, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover { box-shadow: 0 16px 44px -10px rgba(242, 166, 90, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.55); }

.btn-ghost {
  color: var(--cream);
  background: rgba(245, 239, 230, 0.06);
  border-color: rgba(245, 239, 230, 0.2);
}
.btn-ghost:hover { background: rgba(245, 239, 230, 0.12); border-color: rgba(245, 239, 230, 0.34); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 14, 22, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--night-line); background: rgba(17, 14, 22, 0.94); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
}
.brand-logo { display: block; flex: none; width: auto; height: 36px; }
.brand-logo--print { display: none; }

.site-nav ul { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--cream-2);
  font-size: 0.97rem;
  font-weight: 550;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.site-nav a:not(.btn):hover { color: var(--cream); background: rgba(245, 239, 230, 0.07); }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.status-chip {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 11px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  color: var(--cream-muted);
  font-size: 0.82rem;
  font-weight: 550;
  white-space: nowrap;
}

.motion-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--night-line);
  border-radius: 50%;
  background: transparent;
  color: var(--cream-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.motion-toggle:hover { background: rgba(245, 239, 230, 0.07); color: var(--cream); }
.motion-toggle .icon { width: 18px; height: 18px; grid-area: 1 / 1; }
.motion-toggle .icon-play { display: none; fill: currentColor; stroke: none; }
html[data-motion="off"] .motion-toggle .icon-pause { display: none; }
html[data-motion="off"] .motion-toggle .icon-play { display: block; }
.motion-toggle--text {
  display: inline-flex;
  gap: 10px;
  width: auto;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 550;
}

.header-cta-short, .header-cta-icon { display: none; }

.menu-toggle {
  order: 1;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--night-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { transform: translateY(-6px); }
.menu-toggle-bars::after { transform: translateY(6px); }
.site-header.is-open .menu-toggle-bars { background: transparent; }
.site-header.is-open .menu-toggle-bars::before { transform: rotate(45deg); }
.site-header.is-open .menu-toggle-bars::after { transform: rotate(-45deg); }

/* mobile nav panel */
@media (max-width: 959.98px) {
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    padding: 8px var(--gutter) 22px;
    background: var(--night-2);
    border-bottom: 1px solid var(--night-line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) {
    display: flex;
    min-height: 54px;
    padding: 0 4px;
    border-bottom: 1px solid var(--night-line);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--cream);
  }
  .site-nav a:not(.btn):hover { background: none; }
  .nav-extra { display: block; padding-top: 16px; }
  .nav-extra .btn, .nav-extra .motion-toggle { width: 100%; min-height: 52px; justify-content: center; }
  .header-actions .motion-toggle { display: none; }
}
@media (max-width: 519.98px) {
  .header-cta { padding-inline: 16px; }
  .header-cta-long { display: none; }
  .header-cta-short { display: inline; }
}
@media (max-width: 359.98px) {
  .header-cta { position: relative; width: 44px; padding: 0; }
  .header-cta-short { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta-icon { display: block; }
}
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav { margin-left: auto; }
  .header-actions { margin-left: 8px; }
  .brand { margin-right: 0; }
}
@media (min-width: 960px) and (max-width: 1179.98px) {
  .site-nav a:not(.btn) { padding: 0 10px; font-size: 0.93rem; }
}
@media (min-width: 1320px) {
  .status-chip { display: inline-flex; }
}

/* ---------- Hero ---------- */
.night { position: relative; background: var(--night); color: var(--cream); }

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(rgba(17, 14, 22, 0), var(--night));
}
.hero {
  overflow: clip;
  isolation: isolate;
  padding-block: clamp(36px, 6vw, 88px) clamp(56px, 7vw, 104px);
}

/* Fixed top/bottom offsets (not % of height) so the glow never moves when web fonts swap in (no layout shift). */
.aurora {
  position: absolute;
  inset: -180px -10% -120px;
  z-index: -2;
  overflow: clip;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  width: 64vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent 72%);
  opacity: 0.34;
}
.aurora i:nth-child(1) { --c: #f2a65a; left: -22vmax; top: -24vmax; }
.aurora i:nth-child(2) { --c: #e8798b; right: -26vmax; top: -6vmax; opacity: 0.26; }
.aurora i:nth-child(3) { --c: #7b68f0; left: 12vw; bottom: -40vmax; opacity: 0.3; }
.aurora--soft i { opacity: 0.22; }

/* Film grain: a tiny SVG noise tile, rendered once and repeated. */
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  gap: clamp(44px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(242, 166, 90, 0.38);
  border-radius: 999px;
  background: rgba(242, 166, 90, 0.1);
  color: var(--amber-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 0.62rem + 0.35vw, 0.8rem);
  letter-spacing: clamp(0.06em, 0.02em + 0.3vw, 0.14em);
  text-transform: uppercase;
  color: var(--cream-muted);
}

/* Sized so the three designed lines never wrap: the widest line is ~9.1em. */
.hero-title {
  margin: 0 0 26px;
  font-size: clamp(1.9rem, 9.4vw, 3.2rem);
  line-height: 0.98;
  font-weight: 570;
}
@media (min-width: 1024px) {
  .hero-title { font-size: clamp(2.9rem, 0.75rem + 3.5vw, 3.9rem); }
}
.hero-title .line {
  display: block;
  overflow: clip;
  overflow-clip-margin: 0.12em;
  padding-block: 0.02em 0.08em;
}
.hero-title .w { display: inline-block; }
.hero-title .shine { font-weight: 400; }

.lede {
  max-width: 58ch;
  margin: 0 0 18px;
  font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.22rem);
  line-height: 1.6;
  color: var(--cream-2);
}

.twist {
  display: flex;
  align-items: baseline;
  gap: 10px;
  max-width: 52ch;
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.45;
  color: var(--amber-soft);
}
.twist a { color: inherit; text-decoration-color: rgba(242, 166, 90, 0.6); text-underline-offset: 0.2em; }
.twist, .contact-lede { text-wrap: balance; }
.twist::before {
  content: "";
  flex: none;
  width: 28px; height: 1px;
  background: var(--amber);
  transform: translateY(-0.3em);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 419.98px) {
  .cta-row .btn { flex: 1 1 100%; }
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}
@media (min-width: 1200px) {
  .hero-visual { max-width: none; width: calc(100% + clamp(0px, (100vw - 1200px) / 2 - 48px, 150px)); margin-inline: 0; }
}
@media (max-width: 599.98px) {
  .build .toast-inner { transform: scale(1.55); }
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 6% 4%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(60% 60% at 40% 40%, rgba(242, 166, 90, 0.28), transparent 70%),
              radial-gradient(60% 60% at 70% 70%, rgba(169, 156, 255, 0.22), transparent 70%);
  filter: blur(30px);
}
.build { width: 100%; height: auto; overflow: visible; }

/* build visual — final (static) state */
.build .win { fill: url(#winFill); stroke: rgba(245, 239, 230, 0.13); }
.build .win-divider { stroke: rgba(245, 239, 230, 0.09); }
.build .light { fill: rgba(245, 239, 230, 0.16); }
.build .url-pill { fill: rgba(245, 239, 230, 0.06); }
.build .url-text { font-family: var(--font-sans); font-size: 10.5px; fill: var(--cream-muted); letter-spacing: 0.02em; }
.build .loadbar { fill: var(--amber); opacity: 0; transform-box: fill-box; transform-origin: left center; }
.build .bp path { fill: none; stroke: rgba(122, 167, 255, 0.16); stroke-width: 1; }
.build .wf { opacity: 0.09; }
.build .wf path { fill: none; stroke: #8fb3ff; stroke-width: 1.5; }
.build .p, .build .phone-inner, .build .toast-inner, .build .cursor, .build .ripple {
  transform-box: fill-box;
  transform-origin: center;
}
.build .mock-brand { font-family: var(--font-display); font-size: 12px; font-weight: 600; fill: var(--cream); }
.build .mock-h { font-family: var(--font-display); font-size: 31px; font-weight: 560; fill: var(--cream); letter-spacing: -0.02em; }
.build .mock-h--sm { font-size: 14.5px; }
.build .mock-h-it { font-style: italic; font-weight: 400; fill: var(--amber-2); }
.build .caret { fill: var(--amber); font-weight: 300; }
.build .mock-line { fill: rgba(245, 239, 230, 0.2); }
.build .mock-card { fill: rgba(245, 239, 230, 0.05); stroke: rgba(245, 239, 230, 0.09); }
.build .mock-btn-text { font-family: var(--font-sans); font-size: 12px; font-weight: 700; fill: var(--amber-ink); }
.build .ripple { fill: none; stroke: var(--amber); stroke-width: 2; opacity: 0; }
.build .cursor { transform: translate(152px, 262px); }
.build .toast-text { font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; fill: var(--cream); }

/* ---------- Proof strip ---------- */
.proof { padding-block: 0 clamp(56px, 7vw, 96px); }
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: clip;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: var(--night-line);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(20px, 2.4vw, 30px);
  background: linear-gradient(180deg, var(--night-2), var(--night));
}
.stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  font-variant-numeric: lining-nums;
}
.stat:first-child dd { color: var(--amber-2); }
.stat dt { color: var(--cream-muted); font-size: 0.93rem; line-height: 1.4; }

/* ---------- Marquee (static by default; animated in the motion block) ---------- */
.marquee {
  --gap: clamp(28px, 4vw, 56px);
  display: flex;
  gap: var(--gap);
  margin-top: clamp(48px, 6vw, 80px);
  padding-block: 26px;
  border-block: 1px solid var(--night-line);
  overflow: clip;
}
.marquee-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px var(--gap);
  flex: 1 0 100%;
  min-width: 0;
  padding-inline: var(--gutter);
}
.marquee-track--clone { display: none; }
.marquee li {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 2px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 0.95rem + 1.2vw, 1.95rem);
  font-weight: 480;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.marquee li span {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

/* ---------- Work ---------- */
.work {
  padding-block: clamp(80px, 10vw, 140px) clamp(48px, 6vw, 80px);
  background:
    radial-gradient(1100px 620px at 85% 420px, rgba(169, 156, 255, 0.1), transparent 62%),
    radial-gradient(900px 600px at 0% 40%, rgba(242, 166, 90, 0.07), transparent 60%),
    var(--night);
}

.projects {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}
@media (min-width: 900px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project--flagship { grid-column: 1 / -1; }
}

.project {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  gap: clamp(22px, 3vw, 32px);
  padding: clamp(16px, 2.4vw, 28px);
  overflow: clip;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(245, 239, 230, 0.05), rgba(245, 239, 230, 0.015));
  transition: border-color 0.4s, box-shadow 0.4s;
}
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 166, 90, 0.13), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s;
}
.project:is(:hover, :focus-within) { border-color: rgba(242, 166, 90, 0.32); box-shadow: 0 30px 80px -40px rgba(242, 166, 90, 0.35); }
.project:is(:hover, :focus-within)::before { opacity: 1; }

@media (min-width: 900px) {
  .project--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .project--flagship {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 56px);
    padding: clamp(24px, 3vw, 40px);
  }
  .project--wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 56px);
  }
  .project--wide .project-media { order: 2; }
}

/* device frames */
.project-media {
  position: relative;
  min-width: 0;
  padding: 0 13% 7% 0;
}
.device { position: relative; }
.browser {
  overflow: clip;
  border: 1px solid rgba(245, 239, 230, 0.13);
  border-radius: 14px;
  background: #0c0a10;
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 12px;
  background: #1e1a26;
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
}
.lights { display: flex; gap: 6px; }
.lights i { width: 9px; height: 9px; border-radius: 50%; background: rgba(245, 239, 230, 0.18); }
.lights i:nth-child(1) { background: #f0857a; }
.lights i:nth-child(2) { background: #f2c162; }
.lights i:nth-child(3) { background: #7fcf96; }
.url {
  flex: 0 1 auto;
  min-width: 0;
  margin-inline: auto;
  padding: 3px 12px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(245, 239, 230, 0.07);
  color: var(--cream-muted);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-18px);
}
.screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: clip;
  container-type: size;
  background: #f3f3f3;
}
.screen img {
  width: 100%;
  transform: translateY(0);
  transition: transform 1.4s var(--ease-out);
}

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  padding: 15px 5px 5px;
  border: 1px solid rgba(245, 239, 230, 0.2);
  border-radius: clamp(16px, 2.6vw, 28px);
  background: #0b090f;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.9), -12px 0 40px -20px rgba(0, 0, 0, 0.6);
}
.phone::before {
  content: "";
  position: absolute;
  top: 5px; left: 50%;
  z-index: 2;
  width: 26%; height: 4%;
  max-height: 10px;
  border-radius: 999px;
  background: #050407;
  transform: translateX(-50%);
}
.phone .screen {
  aspect-ratio: 9 / 19;
  border-radius: clamp(11px, 2vw, 22px);
  background: #fff;
}

/* project copy */
.project-body { min-width: 0; }
.project-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.project-index { color: var(--amber); font-weight: 700; }
.project-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.project--flagship .project-title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
.project-years {
  margin: 0 0 14px;
  color: var(--amber-soft);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.project-summary { margin: 0 0 20px; color: var(--cream-2); }

.label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.label--inline { display: inline; margin: 0 8px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 11px;
  border: 1px solid rgba(242, 166, 90, 0.3);
  border-radius: 999px;
  background: rgba(242, 166, 90, 0.09);
  color: #ffe6cc;
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.25;
}
.chips li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.platform { margin: 0 0 22px; color: var(--cream-2); font-size: 0.97rem; }

.project-links { display: flex; flex-wrap: wrap; gap: 10px; }
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(245, 239, 230, 0.18);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.link-btn:hover { background: rgba(245, 239, 230, 0.08); border-color: rgba(245, 239, 230, 0.34); }
.link-btn .icon { width: 1.05em; height: 1.05em; }
.link-btn--primary { border-color: rgba(242, 166, 90, 0.55); color: var(--amber-soft); }
.link-btn--primary:hover { background: rgba(242, 166, 90, 0.12); border-color: var(--amber); color: #fff3e4; }

/* ---------- At a glance matrix ---------- */
.glance { padding-block: clamp(32px, 4vw, 56px) clamp(96px, 10vw, 140px); }
.matrix-wrap {
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: rgba(245, 239, 230, 0.025);
  padding: clamp(8px, 1.5vw, 18px) clamp(12px, 2vw, 26px);
}
.matrix { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.matrix th, .matrix td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--night-line);
  text-align: center;
  vertical-align: middle;
}
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix thead th {
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--cream-muted);
  vertical-align: bottom;
}
.matrix thead th:first-child, .matrix tbody th { text-align: left; }
.matrix tbody th {
  padding-right: 18px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 520;
  line-height: 1.25;
}
.matrix tbody tr { transition: background-color 0.2s; }
.matrix tbody tr:hover { background: rgba(245, 239, 230, 0.035); }
.yes {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-2), var(--rose));
  color: var(--amber-ink);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 6px 18px -8px rgba(242, 166, 90, 0.8);
}
.no { color: rgba(245, 239, 230, 0.22); }
.cell-note {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

@media (max-width: 899.98px) {
  .matrix-wrap { border: 0; background: none; padding: 0; }
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; }
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix tr {
    position: relative;
    margin-bottom: 8px;
    padding: 14px 16px;
    border: 1px solid var(--night-line);
    border-radius: 20px;
    background: rgba(245, 239, 230, 0.03);
  }
  .matrix tbody tr:hover { background: rgba(245, 239, 230, 0.03); }
  .matrix tbody th { padding: 0 0 4px; border: 0; font-size: 1.08rem; }
  .matrix td { padding: 0; border: 0; }
  /* "No" cells: hidden on screen but kept for screen readers so every "Yes" stays under its real column header */
  .matrix td:not(.is-yes) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .matrix td.is-yes { display: inline-flex; align-items: baseline; color: var(--cream-2); font-size: 0.92rem; font-weight: 500; }
  .matrix td.is-yes .yes, .matrix td.is-yes .cell-note { display: none; }
  .matrix td.is-yes::after { content: attr(data-label); }
  .matrix td.is-yes ~ td.is-yes::before { content: "·"; content: "·" / ""; margin: 0 0.5em; color: var(--amber); }
}

/* ---------- Day ---------- */
.day {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--radius-lg) * -1.4);
  border-radius: calc(var(--radius-lg) * 1.4);
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, 0.6);
}
.day .kicker { color: var(--terracotta); }
.day .display em { color: var(--terracotta); }
.day a { color: var(--terracotta); }
.day .section-sub { color: var(--ink-muted); }
.day ::selection { background: var(--marigold); color: var(--ink); }

/* ---------- Audiences (bento) ---------- */
.audiences { padding-block: clamp(80px, 10vw, 140px) clamp(16px, 3vw, 40px); }
.bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .tile--local { grid-column: span 6; }
  .tile--church { grid-column: span 6; }
  .tile--personal { grid-column: span 5; }
  .tile--photo { grid-column: span 7; }
}
.tile {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  padding: clamp(16px, 2vw, 22px);
  overflow: clip;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 24px 50px -38px rgba(60, 40, 20, 0.45);
}
.tile-copy { padding: 0 clamp(4px, 1vw, 10px) clamp(6px, 1vw, 12px); }
.tile h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.8rem);
  font-weight: 560;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.tile p { margin: 0; color: var(--ink-muted); }
.tile-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 650; text-underline-offset: 0.2em; }

.tile-art {
  position: relative;
  height: clamp(150px, 16vw, 190px);
  overflow: clip;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* local businesses: map */
.tile--local .tile-art {
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(180, 69, 42, 0.07) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(180, 69, 42, 0.07) 23px 24px),
    #f3e3d6;
}
.art-map { width: 100%; height: 100%; }
.art-map .road { fill: none; stroke: #fffdf8; stroke-width: 12; stroke-linecap: round; }
.art-map .road--thin { stroke-width: 6; opacity: 0.85; }
.art-map .ring { fill: none; stroke: #b4452a; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.art-map .pin, .art-map .call { transform-box: fill-box; transform-origin: 50% 100%; }

/* personal: typing page */
.tile--personal .tile-art { display: grid; place-items: center; background: #dfe8e0; }
.mini-page {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: repeat(3, auto);
  align-items: center;
  gap: 10px 14px;
  width: min(78%, 280px);
  padding: 20px;
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 20px 40px -24px rgba(31, 60, 45, 0.5);
}
.avatar {
  grid-row: 1 / span 3;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #f3d6b8 0 26%, transparent 27%), radial-gradient(circle at 50% 100%, #3f6b55 0 46%, transparent 47%), #cfe0d4;
}
.type-line { display: block; height: 8px; border-radius: 4px; background: #c9d8cd; }
.type-line--1 { width: 100%; background: #1f1a17; height: 10px; }
.type-line--2 { width: 86%; }
.type-line--3 { width: 62%; }

/* photography: viewfinder */
.tile--photo .tile-art { display: grid; place-items: center; background: #1d1824; }
.viewfinder { position: relative; width: min(82%, 300px); aspect-ratio: 3 / 2; }
.photo {
  position: absolute;
  inset: 12%;
  overflow: clip;
  border-radius: 6px;
  background: linear-gradient(180deg, #5b4bc4 0%, #e8798b 58%, #f7b76a 100%);
}
.photo-sun {
  position: absolute;
  left: 58%; top: 52%;
  width: 22%; aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe7c4;
  box-shadow: 0 0 30px 12px rgba(255, 220, 170, 0.55);
}
.photo-hill {
  position: absolute;
  left: -10%; right: -10%; bottom: -30%;
  height: 70%;
  border-radius: 50% 50% 0 0;
  background: #3a2c52;
}
.photo-hill--2 { left: 30%; right: -30%; bottom: -40%; background: #241b36; }
.vf-corner { position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.85); }
.vf-corner--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.vf-corner--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.vf-corner--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.vf-corner--br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.focus-box {
  position: absolute;
  left: 50%; top: 50%;
  width: 22%; aspect-ratio: 1;
  border: 1.5px solid #8fbfa5;
  border-radius: 3px;
  transform: translate(-50%, -50%);
}

/* non-profits & churches: stained glass */
.tile--church .tile-art {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #efe1c6, #f5ecdb);
}
.window-glass {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1.2fr 1fr;
  gap: 5px;
  width: 112px;
  height: 138px;
  padding: 6px;
  overflow: clip;
  border-radius: 999px 999px 10px 10px;
  background: #5a4636;
  box-shadow: 0 0 0 4px #efe1c6, 0 0 0 6px #5a4636, 0 0 50px 10px rgba(233, 185, 73, 0.45);
}
.window-glass span { display: block; }
.window-glass span:nth-child(1) { background: #e9b949; border-top-left-radius: 999px; }
.window-glass span:nth-child(2) { background: #b4452a; }
.window-glass span:nth-child(3) { background: #3f6b55; border-top-right-radius: 999px; }
.window-glass span:nth-child(4) { background: #2c5a8c; }
.window-glass span:nth-child(5) { background: #e9b949; }
.window-glass span:nth-child(6) { background: #b4452a; }
.light-beam {
  position: absolute;
  left: 50%; top: 58%;
  width: 70%; height: 90%;
  background: linear-gradient(180deg, rgba(233, 185, 73, 0.4), transparent 75%);
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
  opacity: 0.7;
}

/* ---------- Capabilities ---------- */
.capabilities { padding-block: clamp(56px, 7vw, 100px); }
.cap-grid { display: grid; gap: clamp(20px, 4vw, 64px); }
@media (min-width: 1024px) {
  .cap-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: start; }
  .cap-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.cap-list { counter-reset: cap; display: grid; }
@media (min-width: 720px) { .cap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; } }
.cap-list li {
  position: relative;
  padding: 18px 0 18px 44px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 520;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.cap-list li::before {
  counter-increment: cap;
  content: counter(cap, decimal-leading-zero);
  content: counter(cap, decimal-leading-zero) / "";
  position: absolute;
  left: 0; top: 23px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--terracotta);
}
.cap-list li span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--ink-muted);
}

/* ---------- Pricing ---------- */
.pricing { padding-block: clamp(56px, 7vw, 100px); }
.price-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.price-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 24px 50px -38px rgba(60, 40, 20, 0.45);
}
.price-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.55rem);
  font-weight: 560;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
/* Fits "Churches & non-profits" (~9.7em) on one line in the four-column layout */
@media (min-width: 1200px) { .price-name { font-size: clamp(1.2rem, 0.4rem + 1.2vw, 1.45rem); } }
.price-for { margin: 0 0 10px; color: var(--ink-muted); font-size: 0.97rem; line-height: 1.45; }
.price { display: flex; flex-direction: column; margin: auto 0 0; }
.price-from {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.3rem);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--terracotta);
}
.price-unit { font-size: 1rem; font-weight: 600; color: var(--ink-muted); }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price-was {
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration-thickness: 2px;
}
.sale-tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--marigold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.price-card--consult { background: #eef2ec; border-color: #d9e2d6; }
.price-card--consult .price-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  font-weight: 540;
  line-height: 1.1;
  color: var(--sage);
}
.price-monthly {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.price-asterisk { max-width: 68ch; margin: 14px 0 0; color: var(--ink-muted); font-size: 0.95rem; }

.price-extras {
  display: grid;
  gap: 16px 48px;
  margin-top: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: rgba(233, 185, 73, 0.14);
  border: 1px solid rgba(233, 185, 73, 0.35);
}
@media (min-width: 900px) { .price-extras { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; } }
.price-extras-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem);
  font-weight: 560;
  letter-spacing: -0.01em;
}
.price-addons ul { display: grid; gap: 8px; }
.price-addons li { position: relative; padding-left: 22px; line-height: 1.5; }
.price-addons li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}
.price-note { margin: 12px 0 0; font-weight: 600; }
.price-fine { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

/* ---------- About ---------- */
.about { padding-block: clamp(56px, 7vw, 100px); }
.about-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.about-photo {
  width: min(100%, 420px);
  margin: 0;
  padding: 10px;
  border-radius: calc(var(--radius-lg) + 8px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -36px rgba(60, 40, 20, 0.55);
  transform: rotate(-2deg);
}
@media (max-width: 899.98px) { .about-photo { width: min(62%, 260px); } }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
.about-copy p { max-width: 60ch; margin: 0 0 16px; font-size: 1.08rem; color: var(--ink); }
.about-copy h2 { margin-bottom: 20px; }
.about-aside {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--terracotta);
}
.about-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.about-facts li {
  padding: 7px 13px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 550;
}
.about-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-underline-offset: 0.2em; }

/* ---------- Timeline ---------- */
.story { padding-block: clamp(56px, 7vw, 100px); }
.timeline { position: relative; max-width: 920px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 10px; bottom: 10px;
  left: 7px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--terracotta), var(--marigold) 70%, var(--sage));
  transform-origin: top;
}
.timeline li {
  position: relative;
  display: grid;
  gap: 4px 32px;
  padding: 0 0 clamp(26px, 3vw, 40px) 40px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 2px var(--terracotta);
}
.timeline li.t-now::before { background: var(--marigold); box-shadow: 0 0 0 2px var(--marigold), 0 0 0 8px rgba(233, 185, 73, 0.25); }
.t-year {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--terracotta);
}
.t-body { margin: 0; max-width: 60ch; font-size: 1.08rem; color: var(--ink); }
.t-body strong { font-weight: 650; }
@media (min-width: 720px) { .t-body strong { white-space: nowrap; } }
@media (min-width: 720px) {
  .timeline::before { left: calc(150px + 7px); }
  .timeline li { grid-template-columns: 150px minmax(0, 1fr); padding-left: 0; }
  .timeline li::before { left: 150px; }
  .t-body { padding-left: 40px; padding-top: 6px; }
}

/* ---------- Status ---------- */
.status { padding-block: clamp(24px, 4vw, 48px); }
.status-card {
  display: grid;
  gap: 22px 48px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 40px 80px -50px rgba(31, 26, 23, 0.8);
  background-image:
    radial-gradient(600px 240px at 100% 0%, rgba(233, 185, 73, 0.18), transparent 70%),
    linear-gradient(rgba(245, 239, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 230, 0.035) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}
@media (min-width: 900px) { .status-card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; } }
.status-card .kicker { color: var(--marigold); }
.status-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.checklist { display: grid; gap: 4px; font-family: var(--font-mono); font-size: 0.92rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 239, 230, 0.1);
  line-height: 1.5;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li > span:last-child { min-width: 0; }
.checklist a { color: var(--marigold); }
.status-card :focus-visible { outline-color: var(--marigold); }
.check {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.is-done .check { border-color: var(--sage-light); background: var(--sage-light); }
.is-done .check::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 6px; height: 11px;
  border: solid var(--ink);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.is-progress .check { border-color: var(--marigold); background: conic-gradient(var(--marigold) 0 50%, transparent 0); }
.is-next .check { border-color: rgba(245, 239, 230, 0.4); border-style: dashed; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(56px, 7vw, 100px); }
.faq-grid { display: grid; gap: clamp(8px, 3vw, 48px); }
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-family: var(--font-display);
  font-size: clamp(1.14rem, 1rem + 0.55vw, 1.42rem);
  font-weight: 540;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.faq-item summary:hover h3 { color: var(--terracotta); }
.faq-icon {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper-2);
  transition: transform 0.35s var(--ease-out), background-color 0.2s, border-color 0.2s;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--terracotta); border-color: var(--terracotta); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--paper-2); }
.faq-item p { max-width: 68ch; margin: 0 0 24px; padding-right: 48px; color: var(--ink-muted); font-size: 1.04rem; }

/* ---------- How it works ---------- */
.how { padding-block: clamp(56px, 7vw, 100px) clamp(110px, 12vw, 170px); }
@media (max-width: 719.98px) {
  .how { padding-bottom: 72px; }
  .contact { padding-top: 112px; }
}
.steps-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem);
  font-weight: 560;
  letter-spacing: -0.01em;
}
.steps + .steps-title { margin-top: clamp(32px, 4vw, 48px); }
.steps { display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.step {
  position: relative;
  padding: 22px 22px 22px 76px;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.step-num {
  position: absolute;
  left: 22px; top: 20px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-2);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}
.step h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 560;
  letter-spacing: -0.01em;
}
.step p { margin: 0; color: var(--ink-muted); }
.step a { overflow-wrap: anywhere; }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { padding: 22px; }
  .step-num { position: static; margin-bottom: 14px; }
}

/* ---------- Contact ---------- */
.contact {
  isolation: isolate;
  overflow: clip;
  margin-top: calc(var(--radius-lg) * -1.4);
  padding-block: clamp(150px, 16vw, 230px) clamp(90px, 10vw, 140px);
  text-align: center;
}
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .kicker::after {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
h2.contact-title {
  max-width: 14ch;
  font-size: clamp(2.7rem, 1.3rem + 6vw, 6rem);
  line-height: 0.98;
}
.contact-title .shine { font-weight: 400; }
.contact-lede {
  max-width: 44ch;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  color: var(--cream-2);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.contact-actions [data-copy].is-copied { border-color: var(--sage-light); color: var(--sage-light); }
.contact-hint { max-width: 44ch; margin: 4px 0 0; color: var(--cream-muted); font-size: 0.95rem; }
.copy-status { min-height: 1.6em; margin: 14px 0 0; color: var(--sage-light); font-size: 0.95rem; }
@media (max-width: 419.98px) {
  .contact-actions { width: 100%; }
  .contact-actions .btn { width: 100%; padding-inline: 16px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 36px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--night-line);
  color: var(--cream-muted);
  font-size: 0.93rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.footer-inner .brand { margin-right: 0; color: var(--cream); }
.footer-inner .brand-logo { height: 52px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--cream-2);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--cream); text-decoration: underline; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--night-line);
}
.footer-base p { margin: 0; }
.footer-soon { display: inline-flex; align-items: center; gap: 10px; color: var(--amber-soft); }
.footer-areas { flex-basis: 100%; order: -1; color: var(--cream-muted); }

/* ---------- 404 ---------- */
.not-found { display: grid; align-items: center; min-height: 100vh; min-height: 100svh; }
.not-found-inner { display: grid; justify-items: start; gap: 8px; }
.not-found .brand { margin-bottom: clamp(40px, 8vw, 72px); }
.not-found-title { max-width: 16ch; margin-bottom: 20px; font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem); }

/* ---------- Scroll progress (only where scroll-driven animations exist) ---------- */
.scroll-progress { display: none; }

/* ==========================================================================
   MOTION — everything below only runs when motion is welcome.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) { scroll-behavior: smooth; }

  /* pulsing status dots */
  html:not([data-motion="off"]) .dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: ping 2.4s var(--ease-out) infinite;
  }

  /* aurora drift */
  html:not([data-motion="off"]) .aurora i { animation: drift 30s ease-in-out infinite alternate; will-change: transform; }
  html:not([data-motion="off"]) .aurora i:nth-child(2) { animation-duration: 38s; animation-direction: alternate-reverse; }
  html:not([data-motion="off"]) .aurora i:nth-child(3) { animation-duration: 46s; }

  /* hero headline: words rise into place */
  html:not([data-motion="off"]) .hero-title .w {
    animation: rise 0.95s var(--ease-out) both;
    animation-delay: calc(var(--i) * 55ms + 60ms);
  }
  html:not([data-motion="off"]) .shine { animation: shimmer 9s ease-in-out 2 alternate; }
  html:not([data-motion="off"]) .hero .pill,
  html:not([data-motion="off"]) .hero .eyebrow { animation: fade-up 0.8s var(--ease-out) both; }
  html:not([data-motion="off"]) .hero .lede { animation: fade-up 0.9s 0.45s var(--ease-out) both; }
  html:not([data-motion="off"]) .hero .twist { animation: fade-up 0.9s 0.6s var(--ease-out) both; }
  html:not([data-motion="off"]) .hero .cta-row { animation: fade-up 0.9s 0.72s var(--ease-out) both; }
  html:not([data-motion="off"]) .hero-visual { animation: fade-in 1s 0.2s var(--ease-out) both; }

  /* hero build sequence: blueprint → wireframe → paint → click → phone → done */
  html:not([data-motion="off"]) .build .loadbar { animation: load 4.6s 0.2s var(--ease-in-out) both; }
  html:not([data-motion="off"]) .build .bp path {
    stroke-dasharray: 1;
    animation: draw 1.6s var(--ease-in-out) both;
    animation-delay: 0.2s;
  }
  html:not([data-motion="off"]) .build .bp path + path { animation-delay: 0.45s; }
  html:not([data-motion="off"]) .build .wf { animation: wf-dim 0.9s 2.5s var(--ease-out) both; }
  html:not([data-motion="off"]) .build .wf path {
    stroke-dasharray: 1;
    animation: draw 1s var(--ease-out) both;
    animation-delay: calc(0.7s + var(--d) * 0.11s);
  }
  html:not([data-motion="off"]) .build .p { animation: paint 0.8s var(--ease-out) both; animation-delay: calc(1.9s + var(--d) * 0.13s); }
  html:not([data-motion="off"]) .build .mock-img { animation: wipe 1s 2.05s var(--ease-in-out) both; }
  html:not([data-motion="off"]) .build .caret { animation: blink 1.1s 3.2s steps(1) 16; }
  html:not([data-motion="off"]) .build .sun-glow { animation: glow 5s 3s ease-in-out 4 alternate; transform-box: fill-box; transform-origin: center; }
  html:not([data-motion="off"]) .build .cursor {
    animation: cursor-in 1.5s 2.7s var(--ease-in-out) both, cursor-idle 7s 5.4s ease-in-out 3 alternate forwards;
  }
  html:not([data-motion="off"]) .build .mock-btn { animation: paint 0.8s 2.42s var(--ease-out) both, press 0.4s 4.05s var(--ease-out); }
  html:not([data-motion="off"]) .build .ripple { animation: ripple 0.9s 4.1s var(--ease-out) forwards; }
  html:not([data-motion="off"]) .build .phone-inner { animation: phone-in 1s 4.4s var(--spring) both; }
  html:not([data-motion="off"]) .build .toast-inner { animation: toast-in 0.7s 5.1s var(--spring) both; }
  html:not([data-motion="off"]) .hero.is-offscreen *,
  html:not([data-motion="off"]) .hero.is-offscreen *::before,
  html:not([data-motion="off"]) .hero.is-offscreen *::after,
  html:not([data-motion="off"]) .contact.is-offscreen *,
  html:not([data-motion="off"]) .contact.is-offscreen *::before,
  html:not([data-motion="off"]) .contact.is-offscreen *::after,
  html:not([data-motion="off"]) .hero-visual.is-waiting * { animation-play-state: paused !important; }

  /* marquee */
  html:not([data-motion="off"]) .marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  html:not([data-motion="off"]) .marquee-track {
    flex: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: 100%;
    padding-inline: 0;
    animation: marquee 55s linear infinite;
  }
  html:not([data-motion="off"]) .marquee-track--clone { display: flex; }
  html:not([data-motion="off"]) .marquee li { flex-wrap: nowrap; white-space: nowrap; max-width: none; }
  html:not([data-motion="off"]) .marquee li::after {
    content: "";
    flex: none;
    align-self: center;
    width: 0.7em; height: 0.7em;
    margin-left: calc(var(--gap) - 12px);
    background: var(--amber);
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  }
  html:not([data-motion="off"]) .marquee.is-offscreen .marquee-track { animation-play-state: paused; }

  /* project screenshots pan through the whole page */
  @media (hover: hover) and (pointer: fine) {
    html:not([data-motion="off"]) .project:is(:hover, :focus-within) .screen img {
      transform: translateY(calc(-100% + 100cqh));
      transition: transform 9s var(--ease-in-out);
    }
    html:not([data-motion="off"]) .project:is(:hover, :focus-within) .phone .screen img { transition-duration: 11s; }
  }
  @media (hover: none), (pointer: coarse) {
    html:not([data-motion="off"]) .project.is-visible .screen img { animation: pan 14s 0.8s var(--ease-in-out) 2 alternate; }
    html:not([data-motion="off"]) .project.is-visible .phone .screen img { animation-duration: 16s; animation-delay: 1.6s; }
  }

  /* audience tiles come alive when they scroll into view (and on hover) */
  html:not([data-motion="off"]) .tile.is-visible .pin { animation: pin-drop 0.9s 0.2s var(--spring) both; }
  html:not([data-motion="off"]) .tile.is-visible .ring { animation: ring 2.6s 1s var(--ease-out) infinite; }
  html:not([data-motion="off"]) .tile.is-visible .ring--2 { animation-delay: 2.3s; }
  html:not([data-motion="off"]) .tile.is-visible .call { animation: pop 0.7s 1.1s var(--spring) both; }
  html:not([data-motion="off"]) .tile.is-visible .type-line--1 { animation: type 1.1s 0.2s steps(14) both; }
  html:not([data-motion="off"]) .tile.is-visible .type-line--2 { animation: type 1s 1.3s steps(12) both; }
  html:not([data-motion="off"]) .tile.is-visible .type-line--3 { animation: type 0.8s 2.3s steps(9) both; }
  html:not([data-motion="off"]) .tile.is-visible .photo { animation: focus 1.6s 0.3s var(--ease-out) both; }
  html:not([data-motion="off"]) .tile.is-visible .focus-box { animation: focus-box 1.6s 0.3s var(--ease-out) both; }
  html:not([data-motion="off"]) .tile.is-visible .window-glass { animation: glass-glow 4s 0.4s ease-in-out infinite alternate; }
  html:not([data-motion="off"]) .tile.is-visible .light-beam { animation: beam 4s 0.4s ease-in-out infinite alternate; }
  html:not([data-motion="off"]) .tile:not(.is-visible) * { animation-play-state: paused; }

  /* scroll-driven reveals (Chrome, Edge, Safari 26+; others simply show everything) */
  @supports (animation-timeline: view()) {
    html:not([data-motion="off"]) .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    html:not([data-motion="off"]) .timeline::before {
      animation: grow-y linear both;
      animation-timeline: view();
      animation-range: entry 20% cover 55%;
    }
    html:not([data-motion="off"]) .scroll-progress {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 60;
      display: block;
      height: 3px;
      background: linear-gradient(90deg, var(--amber), var(--rose), var(--violet));
      transform-origin: 0 50%;
      animation: progress linear both;
      animation-timeline: scroll(root);
    }
  }

  /* smooth FAQ open where supported */
  @supports selector(::details-content) {
    html:not([data-motion="off"]) .faq-item::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
    }
    html:not([data-motion="off"]) .faq-item[open]::details-content { block-size: auto; }
  }

  .btn[data-magnetic] { transition: transform 0.6s var(--spring), background-color 0.2s, border-color 0.2s, box-shadow 0.35s var(--ease-out); }
}

@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
@keyframes drift { to { transform: translate(16vmax, 10vmax) rotate(35deg) scale(1.12); } }
@keyframes rise { from { transform: translateY(0.55em); opacity: 0.12; } }
@keyframes fade-up { from { transform: translateY(14px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; transform: scale(0.97); } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes load { 0% { opacity: 1; transform: scaleX(0); } 85% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wf-dim { from { opacity: 1; } to { opacity: 0.09; } }
@keyframes paint { from { opacity: 0; transform: scale(0.94); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes blink { 50% { fill: transparent; opacity: 0; } }
@keyframes glow { to { transform: scale(1.25); opacity: 0.7; } }
@keyframes cursor-in {
  0% { transform: translate(520px, 400px); opacity: 0; }
  15% { opacity: 1; }
  85% { transform: translate(92px, 256px); }
  100% { transform: translate(92px, 256px); }
}
@keyframes cursor-idle {
  0% { transform: translate(92px, 256px); }
  40% { transform: translate(210px, 214px); }
  100% { transform: translate(152px, 262px); }
}
@keyframes press { 50% { transform: scale(0.92); } }
@keyframes ripple { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotate(4deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(0.85); } }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
@keyframes pan { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
@keyframes pin-drop { 0% { transform: translateY(-70px); opacity: 0; } 60% { opacity: 1; } }
@keyframes ring { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes focus { from { filter: blur(10px) saturate(0.6); transform: scale(1.08); } }
@keyframes focus-box { 0% { opacity: 0; width: 60%; } 60% { opacity: 1; width: 20%; } 100% { width: 22%; } }
@keyframes glass-glow { to { box-shadow: 0 0 0 4px #efe1c6, 0 0 0 6px #5a4636, 0 0 80px 22px rgba(233, 185, 73, 0.6); } }
@keyframes beam { from { opacity: 0.35; } to { opacity: 0.85; } }
@keyframes reveal { from { opacity: 0; transform: translateY(32px); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- High-contrast / forced colours ---------- */
@media (forced-colors: active) {
  .aurora, .grain, .hero-visual::before, .project::before { display: none; }
  .shine { color: CanvasText; background: none; }
  .btn, .link-btn, .chips li, .motion-toggle, .menu-toggle { border: 1px solid ButtonText; }
  .yes { forced-color-adjust: none; }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { background: ButtonText; }
  .site-header.is-open .menu-toggle-bars { background: transparent; }
  .faq-icon::before, .faq-icon::after, .faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: CanvasText; }
}

/* Visitors who asked for reduced motion never see anything move, so the pause buttons would do nothing. */
@media (prefers-reduced-motion: reduce) {
  .motion-toggle, .nav-extra:has(> .motion-toggle) { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .skip-link, .scroll-progress, .aurora, .grain, .hero::after, .hero-visual, .marquee, .motion-toggle, [data-copy], .copy-status, .contact-hint, .status-chip, .project::before, .tile-art, .faq-icon { display: none !important; }
  *, *::before, *::after { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
  .shine { -webkit-text-fill-color: currentColor; }
  .brand-logo--screen { display: none !important; }
  .brand-logo--print { display: block !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .day, .contact { margin-top: 0 !important; border-radius: 0 !important; }
  .hero, .contact { padding-block: 0 24px !important; }
  .section-head, h2, h3 { break-after: avoid; }
  .project, .tile, .timeline li, .faq-item, .matrix tr, .status-card, .price-card, .step { break-inside: avoid; }
  .project-links a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; font-weight: 400; }
  .faq-item::details-content { content-visibility: visible; block-size: auto; }
  .faq-item p { padding-right: 0; }
}

@media (max-width: 599.98px) {
  .project-meta { font-size: 0.8125rem; letter-spacing: 0.06em; }
}
