/* Gamma Web Innovations — Daybreak (night into daylight, marigold accent). Every value comes from docs/brand-kit.md. */

/* ---------- 1. Fonts ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: "Gamma Wordmark"; src: url("/fonts/wordmark-gamma.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Gamma Wordmark Sub"; src: url("/fonts/wordmark-sub.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- 2. Tokens ---------- */
:root {
  /* Primitives: the Daybreak palette (docs/brand-kit.md) */
  --night: #000000; --graphite: #0E0F11; --slate-900: #17191C; --steel: #26292D; --iron: #6B7076;
  --chalk: #F4F4F2; --ash: #A3A8AE; --marigold: #FFC21A; --marigold-light: #FFD04D; --ink: #0A0B0C;
  --daylight: #F2F3F1; --white: #FFFFFF; --slate: #52575D; --pebble: #858B91; --mist: #D7DAD6;

  /* Semantic tokens: night (default). The .day class below swaps them for daylight. */
  --ground: var(--night);
  --surface: var(--graphite);
  --raised: var(--slate-900);
  --text: var(--chalk);
  --text-muted: var(--ash);
  --accent: var(--marigold);
  --accent-hover: var(--marigold-light);
  --on-accent: var(--ink);
  --field: var(--iron);
  --line: var(--steel);
  --error: #FF8A7A;
  --glass: rgba(14, 15, 17, .72);
  --glass-line: rgba(244, 244, 242, .12);

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --display-stretch: 100%;
  --display-weight: 480;
  --display-tracking: -.035em;

  --fs-h1: clamp(2.5rem, 1.3rem + 4.6vw, 5rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --fs-h3: clamp(1.3125rem, 1.2rem + .45vw, 1.625rem);
  --fs-lg: clamp(1.1875rem, 1.14rem + .2vw, 1.3125rem);
  --fs-base: clamp(1.0625rem, 1.04rem + .1vw, 1.125rem);
  --fs-sm: clamp(.875rem, .86rem + .06vw, .9375rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section-pad: clamp(56px, 2rem + 4vw, 104px);
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1200px;
  --header-h: 84px;

  --r-lg: 22px; --r-md: 12px; --r-sm: 8px;

  --dur-fast: 150ms; --dur-base: 240ms; --dur-entrance: 600ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);

  color-scheme: dark;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 var(--fs-base)/1.65 var(--font); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding-block: var(--section-pad); }

.display { font-family: var(--font); font-stretch: var(--display-stretch); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-wrap: balance; }
h1.display { font-size: var(--fs-h1); line-height: 1; }
h2.display { font-size: var(--fs-h2); line-height: 1.04; }
h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 650; }
.lede { font-size: var(--fs-lg); line-height: 1.6; color: var(--text-muted); max-width: 46ch; }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.measure { max-width: 62ch; }
.stack > * + * { margin-top: var(--s-4); }

.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: var(--s-3); }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 4. Buttons and labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); touch-action: manipulation; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 32px -14px rgba(255, 194, 26, .6); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: color-mix(in srgb, var(--text) 4%, transparent); color: var(--text); border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.btn-secondary:hover { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.text-link .icon { width: 18px; height: 18px; }

.tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--field); border-radius: 999px; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.4; }

.checked { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: var(--fs-sm); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; margin-top: .5em; }

/* The Γ corner and the dot, from the icon */

/* Seated on the panel's outer edge, so it never touches the content inside */

/* ---------- 5. Header and navigation: a floating glass pill ---------- */
.site-header { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 50; margin-top: 12px; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); pointer-events: none; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--night); z-index: 60; }
.site-header .header-inner { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); max-width: var(--wrap); min-height: 60px; margin-inline: auto; padding: 8px 8px 8px 18px; border: 1px solid var(--glass-line); border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8); color: var(--chalk); transition: min-height var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out); }
.is-scrolled .header-inner { min-height: 54px; padding-block: 5px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--chalk); flex: none; }
.brand:hover { color: var(--chalk); }
.brand-icon { width: 38px; height: 38px; border-radius: 9px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-name { font-family: "Gamma Wordmark", "Arial Black", Arial, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.wm-sub { font-family: "Gamma Wordmark Sub", "Century Gothic", Arial, sans-serif; font-weight: 500; font-size: 8px; letter-spacing: .44em; color: var(--marigold); margin-top: 5px; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: var(--s-5); }
.nav-list { display: flex; gap: var(--s-2); }
.nav-list a { display: inline-block; padding: 10px 12px; border-radius: 999px; color: var(--ash); text-decoration: none; font-size: .975rem; transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.nav-list a:hover { color: var(--chalk); background: rgba(244, 244, 242, .06); }
.nav-list a[aria-current] { color: var(--chalk); background: rgba(244, 244, 242, .08); }
.nav-list a[aria-current]::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--marigold); vertical-align: middle; }
.site-header .nav-cta { min-height: 44px; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--glass-line); border-radius: 999px; background: rgba(244, 244, 242, .06); color: var(--chalk); font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer; }
.menu-toggle:hover { color: var(--chalk); background: rgba(244, 244, 242, .12); }
.menu-toggle .icon { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
/* Very narrow phones (under 380px): icon-only button; the word stays available to screen readers */
@media (max-width: 380px) {
  .site-header .header-inner { gap: var(--s-3); padding-left: 12px; }
  .menu-toggle { min-width: 44px; justify-content: center; padding: 0 10px; }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
/* Phones and tablets: a full-screen menu with large, thumb-sized links */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; position: relative; z-index: 2; }
  .site-nav { display: none; }
  .nav-open .site-nav { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: var(--s-6); position: fixed; inset: 0; z-index: 1; padding: calc(env(safe-area-inset-top, 0px) + 104px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 32px) max(var(--gutter), env(safe-area-inset-left, 0px)); background: var(--night); overflow-y: auto; }
  .nav-open .brand { position: relative; z-index: 2; }
  .nav-open .nav-list { flex-direction: column; gap: 0; }
  .nav-open .nav-list a { display: block; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--steel); color: var(--chalk); font-size: clamp(1.6rem, 1rem + 3vw, 2.2rem); letter-spacing: -.02em; background: none; }
  .nav-open .nav-cta { min-height: 56px; font-size: 1.05rem; background: var(--marigold); color: var(--ink); border-color: transparent; }
  .nav-open .menu-toggle .icon-menu { display: none; }
  .nav-open .menu-toggle .icon-close { display: block; }
  .nav-open .header-inner { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- 6. Hero ---------- */
.hero { padding-block: clamp(36px, 1rem + 5vw, 88px) clamp(56px, 2rem + 5vw, 104px); }

.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line > span { animation: rise var(--dur-entrance) var(--ease-out) both; }
  .hero-title .line:nth-child(2) > span { animation-delay: 100ms; }
}
@keyframes rise { from { transform: translateY(105%); } }

/* Signature: the example preview */

.browser { container-type: inline-size; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 24px 48px -24px rgba(0, 0, 0, .7); }
.chrome { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #E9EEEE; border-bottom: 1px solid #D6DEDE; color: #3F4F56; font: 500 12px/1 var(--font); }
.chrome-lights { display: flex; gap: 5px; }
.chrome-lights i { width: 9px; height: 9px; border-radius: 50%; background: #C3CDCD; }
.chrome-url { flex: 1; min-width: 0; background: #fff; border-radius: 6px; padding: 6px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.screen { position: relative; aspect-ratio: 16 / 10; }
.preview-caption { margin-top: var(--s-3); color: var(--text-muted); font-size: var(--fs-sm); }

/* Example homepages (fictional), sized in container units so they scale with the frame */
.mini { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; background: var(--m-bg); color: var(--m-fg); font-family: var(--m-font); }
.mini[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .mini { animation: fade-in 420ms var(--ease-out); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
/* Shown close to true scale and cropped by the frame, so the example's text stays readable (about 12px and up) */
.m-nav { display: flex; align-items: center; justify-content: space-between; gap: 2.4cqw; padding: 2.8cqw 4cqw; font-size: 2cqw; }
.m-logo { display: flex; align-items: center; gap: 1.2cqw; font-weight: 700; font-size: 2.5cqw; }
.m-logo i { width: 3.2cqw; height: 3.2cqw; border-radius: .7cqw; background: var(--m-acc); }
.m-links { display: flex; gap: 3cqw; opacity: .8; }
.m-btn { display: inline-block; background: var(--m-acc); color: var(--m-on); border-radius: 1cqw; padding: 1.4cqw 2.6cqw; font-weight: 700; font-size: 1.95cqw; }
.m-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.4cqw; align-items: center; padding: 1.6cqw 4cqw; }
.m-title { font-size: 5.2cqw; line-height: 1.04; text-wrap: balance; letter-spacing: -.02em; font-weight: 800; margin-bottom: 2.2cqw; }
.m-text { font-size: 2.15cqw; line-height: 1.45; opacity: .85; margin-bottom: 3cqw; max-width: 36ch; }
.m-photo { position: relative; aspect-ratio: 4 / 3.6; border-radius: 1.4cqw; background: var(--m-photo); display: grid; place-items: end start; padding: 2.6cqw; font-size: 1.9cqw; color: var(--m-photo-t); }
/* "your photo goes here" slot: a dashed inner edge and a simple picture glyph, so it reads as deliberate */
.m-photo::before { content: ""; position: absolute; inset: 1cqw; border: max(1px, .15cqw) dashed currentColor; border-radius: .8cqw; opacity: .45; }
.m-photo::after { content: ""; position: absolute; left: 50%; top: 44%; width: 7cqw; height: 5.2cqw; transform: translate(-50%, -50%); border: max(1.5px, .3cqw) solid currentColor; border-radius: .6cqw; opacity: .55; background: linear-gradient(135deg, transparent 52%, currentColor 52% 60%, transparent 60%); }
/* A free stock photo standing in for the client's own, labelled as stock so it never reads as their work */
.m-photo.is-photo { overflow: hidden; }
.m-photo.is-photo::before, .m-photo.is-photo::after { content: none; }
.m-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--m-photo-pos, 50% 50%); }
.m-chip { position: relative; padding: .45em .8em; border-radius: 99px; background: rgba(9, 19, 26, .8); color: var(--text); font-family: var(--font); font-size: max(11px, 1.1em); font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.mini[data-trade="landscaping"] { --m-photo-pos: 50% 60%; }
.mini[data-trade="pressure"] { --m-photo-pos: 100% 40%; }
.mini[data-trade="detailing"] { --m-photo-pos: 40% 50%; }
.mini[data-trade="painting"] { --m-photo-pos: 50% 30%; }
.m-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 2.4cqw 4cqw 3cqw; font-size: 1.95cqw; font-weight: 600; }
.m-strip span { border-top: .35cqw solid var(--m-acc); padding-top: 1.4cqw; }
.mini[data-trade="landscaping"] { --m-bg: #F2F4EE; --m-fg: #1D2A1F; --m-acc: #2F5D3A; --m-on: #fff; --m-photo: #4E6B46; --m-photo-t: #EAF2E4; --m-font: Georgia, "Times New Roman", serif; }
.mini[data-trade="pressure"] { --m-bg: #EEF4FA; --m-fg: #0F2236; --m-acc: #1D5FA8; --m-on: #fff; --m-photo: #9DB7D3; --m-photo-t: #0F2236; --m-font: "Trebuchet MS", system-ui, sans-serif; }
.mini[data-trade="detailing"] { --m-bg: #131416; --m-fg: #F1F1F1; --m-acc: #D2B48C; --m-on: #131416; --m-photo: #2A2C31; --m-photo-t: #B9BDC6; --m-font: "Helvetica Neue", Arial, sans-serif; }
.mini[data-trade="painting"] { --m-bg: #F7F3EE; --m-fg: #2B2220; --m-acc: #8C3B2E; --m-on: #fff; --m-photo: #D9C7B0; --m-photo-t: #3A2C24; --m-font: "Palatino Linotype", Palatino, Georgia, serif; }

/* Narrow frame: show the phone layout of each example so its text stays readable */
@container (max-width: 480px) {
  
  
  .screen { aspect-ratio: 4 / 5; }
  .m-nav { padding: 4cqw 5cqw; }
  .m-logo { font-size: 4.4cqw; gap: 2cqw; }
  .m-logo i { width: 5cqw; height: 5cqw; border-radius: 1.2cqw; }
  .m-links { display: none; }
  .m-nav .m-btn { font-size: 3.4cqw; padding: 2cqw 3.2cqw; border-radius: 1.6cqw; }
  .m-hero { grid-template-columns: 1fr; gap: 4cqw; padding: 1cqw 5cqw; align-content: start; }
  .m-title { font-size: 8.6cqw; margin-bottom: 3cqw; }
  .m-text { font-size: 3.8cqw; margin-bottom: 4cqw; }
  .m-hero .m-btn { font-size: 3.8cqw; padding: 2.6cqw 4cqw; border-radius: 1.6cqw; }
  .m-photo { aspect-ratio: 16 / 9; border-radius: 2.4cqw; font-size: 3.2cqw; padding: 4.4cqw; }
  .m-photo::before { inset: 2cqw; border-radius: 1.6cqw; }
  .m-photo::after { width: 12cqw; height: 9cqw; border-radius: 1.2cqw; top: 42%; }
  .m-strip { display: none; }
}

/* ---------- 7. The deal ---------- */

.deal-table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ground); overflow: hidden; }
.deal-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.deal-table th, .deal-table td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--line); line-height: 1.5; }
.deal-table thead th { border-top: 0; font-stretch: var(--display-stretch); font-weight: 700; font-size: 1.05rem; }
.deal-table tbody th { width: 22%; color: var(--text-muted); font-weight: 600; font-size: .95rem; }
.deal-cta { grid-column: 2; justify-self: start; }
@media (max-width: 960px) { .deal-cta { grid-column: auto; } }
/* Phones: two answer columns side by side, the row topic as a small caption above */
@media (max-width: 640px) {
  .deal-table, .deal-table thead, .deal-table tbody { display: block; }
  .deal-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
  .deal-table thead tr { border-top: 0; padding-block: 14px 10px; }
  .deal-table thead th:first-child { display: none; }
  .deal-table th, .deal-table td { padding: 0; border: 0; }
  .deal-table thead th { font-size: 1rem; }
  .deal-table tbody th { grid-column: 1 / -1; width: auto; font-size: var(--fs-sm); margin-bottom: 4px; }
  .deal-table td { font-size: .975rem; }
}

/* ---------- 8. Services ---------- */

.included { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5) clamp(32px, 5vw, 72px); }
@media (max-width: 960px) { .included { grid-column: auto; grid-template-columns: minmax(0, 1fr); } }

.included-note { margin-top: var(--s-5); color: var(--text-muted); font-size: var(--fs-sm); grid-column: 2; }
@media (max-width: 960px) { .included-note { grid-column: auto; } }

/* ---------- 9. Work ---------- */

/* Desktop and phone views side by side, nothing covering the demo's headline */

.decisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-7); }
@media (max-width: 860px) { .decisions { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } }
.decisions li { border-top: 1px solid var(--field); padding-top: var(--s-4); }
.decisions h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.decisions p { color: var(--text-muted); font-size: 1rem; }

/* ---------- 10. Process ---------- */

.steps { margin-top: var(--s-7); }
.steps > li { display: grid; grid-template-columns: 72px minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-2) var(--s-5); padding-block: var(--s-5); border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--fs-h3); color: var(--text-muted); font-variant-numeric: tabular-nums; line-height: 1.2; }
.steps dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-1) var(--s-4); color: var(--text-muted); }
.steps dt { color: var(--text); font-weight: 600; }
/* Wide screens: a horizontal five-step timeline */
@media (min-width: 1024px) {
  .steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5); }
  .steps > li, .steps > li:last-child { display: flex; flex-direction: column; gap: var(--s-3); padding-block: var(--s-4) 0; border-bottom: 0; border-top: 2px solid var(--field); }
  .steps dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps dt { margin-top: var(--s-2); }
}
/* Phones: number and title on one line, the details across the full width */
@media (max-width: 760px) {
  .steps > li { grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; }
  .steps dl { grid-column: 1 / -1; gap: var(--s-1) var(--s-3); }
}
.process-note { margin-top: var(--s-5); color: var(--text-muted); font-size: var(--fs-sm); max-width: 70ch; }

/* ---------- 11. About ---------- */
/* One centred column: the person first, then the commitments */

.about-statement { font-stretch: var(--display-stretch); font-weight: 700; font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.5rem); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.about-copy { margin-top: var(--s-5); color: var(--text-muted); font-size: var(--fs-lg); max-width: 58ch; }
.principles { margin-top: var(--s-7); }
.principles h3 { font-size: 1.125rem; margin-bottom: var(--s-3); }
.principle-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
@media (max-width: 640px) { .principle-list { grid-template-columns: minmax(0, 1fr); } }
.principle-list li { padding-block: var(--s-3); border-top: 1px solid var(--field); }

/* ---------- 12. FAQ ---------- */
/* One readable column, headline above */
.faq-grid { display: grid; gap: var(--s-6); }
.faq-grid > * { max-width: 800px; }
.faq-intro > * + * { margin-top: var(--s-4); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding-block: var(--s-4); cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 20px; height: 20px; color: var(--accent); transition: transform var(--dur-base) var(--ease-out); }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details > div { padding-bottom: var(--s-5); color: var(--text-muted); max-width: 62ch; }
.faq-list details > div > * + * { margin-top: var(--s-3); }

/* ---------- 13. Preview request form ---------- */
.request-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .request-grid { grid-template-columns: minmax(0, 1fr); } }
.request-intro > * + * { margin-top: var(--s-4); }
.next-list { margin-top: var(--s-5); }
.next-list li { padding-block: var(--s-3); border-top: 1px solid var(--line); color: var(--text-muted); }
.next-list li:last-child { border-bottom: 1px solid var(--line); }
.next-list strong { color: var(--text); font-weight: 600; }
.request-email { margin-top: var(--s-5); }
.form-panel { background: var(--ground); border: 1px solid var(--field); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .975rem; }
.field .hint { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--raised); color: var(--text); border: 1.5px solid var(--field); border-radius: var(--r-sm); font: 400 1rem/1.4 var(--font); transition: border-color var(--dur-fast) var(--ease-out); }
.field textarea { min-height: 140px; resize: vertical; }
.field ::placeholder { color: var(--text-muted); opacity: 1; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--fs-sm); display: flex; gap: 6px; align-items: flex-start; }
.field-error[hidden] { display: none; }
.field-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: var(--ground); font-weight: 800; font-size: 12px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-6); }
.form-foot .btn { align-self: flex-start; }
@media (max-width: 640px) { .form-foot .btn { align-self: stretch; } }
.form-privacy { color: var(--text-muted); font-size: var(--fs-sm); }
.error-summary { margin-bottom: var(--s-5); padding: var(--s-4) var(--s-5); border: 2px solid var(--error); border-radius: var(--r-sm); }
.error-summary[hidden] { display: none; }
.error-summary h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.error-summary ul { padding-left: 1.2em; }
.error-summary a { color: var(--error); }
.form-status { margin-top: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--r-sm); border: 1.5px solid var(--field); }
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: var(--error); }
.form-success > * + * { margin-top: var(--s-4); }
.form-success h3 { font-stretch: var(--display-stretch); font-size: var(--fs-h3); }

/* ---------- 14. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ground); padding-top: var(--s-7); padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--s-5) var(--s-6); align-items: start; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-brand p { margin-top: var(--s-3); color: var(--text-muted); max-width: 32ch; font-size: var(--fs-sm); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
@media (max-width: 640px) { .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-4); } }
.footer-nav a { display: inline-block; padding-block: 10px; color: var(--text); text-decoration: none; font-size: .975rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-contact > * + * { margin-top: var(--s-2); }
.footer-contact p { color: var(--text-muted); overflow-wrap: anywhere; font-size: var(--fs-sm); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- 15. Inner pages ---------- */
.page-hero { padding-block: clamp(40px, 1.5rem + 5vw, 96px) var(--s-7); }
.page-hero > * + * { margin-top: var(--s-5); }
.crumbs { color: var(--text-muted); font-size: var(--fs-sm); }
.crumbs a { color: var(--text-muted); }
/* Screenshots always sit on a framed surface panel, never directly on the page */

.case-body > * + * { margin-top: var(--s-4); }
.case-body p, .case-body li { color: var(--text-muted); }
.case-body h3 { color: var(--text); font-size: 1.125rem; margin-top: var(--s-6); }
.case-body h3:first-child { margin-top: 0; }
.case-body h3 + p { margin-top: var(--s-2); }
.case-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6) clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 760px) { .case-split { grid-template-columns: minmax(0, 1fr); } }
.case-body ul, .prose ul { list-style: none; padding: 0; }
.case-body ul li, .prose ul li { position: relative; padding-left: 22px; }
.case-body ul li::before, .prose ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--text-muted); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: var(--fs-h3); font-stretch: var(--display-stretch); font-weight: 700; margin-top: var(--s-7); }
.prose p, .prose li { color: var(--text-muted); }
.prose li + li { margin-top: var(--s-2); }
.prose-page { border-top: 1px solid var(--line); padding-top: var(--s-7); padding-bottom: var(--section-pad); }
.not-found { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; }
.not-found > * + * { margin-top: var(--s-5); }

/* ---------- 16. Drafting table: the visual upgrade ---------- */
:root { --grid-line: rgba(234, 241, 242, .065); --accent-glow: rgba(255, 194, 26, .1); }

/* A fine measuring grid, faded toward the edges, behind the hero and the request form */
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 72% 42%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 72% 42%, #000 15%, transparent 72%); }

/* One soft light behind the work, as if over a drafting table */
.hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(1000px, 90vw); aspect-ratio: 1; right: -12%; top: 14%; background: radial-gradient(closest-side, var(--accent-glow), transparent 72%); }

/* Workbench: the example site on desktop and phone, with measured dimension lines */

.phone { position: relative; padding: 7px; border-radius: 26px; background: #05090C; border: 2px solid var(--field); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }

@keyframes bench-in { from { opacity: 0; transform: translateY(28px); } }
@keyframes phone-in { from { opacity: 0; transform: translate(28px, 24px); } }
@keyframes dim-in { from { transform: scaleX(0); } }

/* The trades the site is built for */
.trades { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin-top: clamp(40px, 5vw, 72px); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--text-muted); font-size: var(--fs-sm); }
.trades li { display: inline-flex; align-items: center; gap: 10px; }
.trades .icon { width: 22px; height: 22px; color: var(--text); }

/* The deal: the project column sits on a raised surface */
@media (min-width: 641px) { .deal-table td:last-child, .deal-table thead th:last-child { background: var(--raised); } }

/* Services: tiles of different sizes, each drawing a real piece of the deliverable */

/* Redesign: drag to compare a dated homepage with a redesign */
.redesign-head > * + * { margin-top: var(--s-4); }
.compare { position: relative; margin-top: var(--s-7); border-radius: var(--r-md); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.compare .chrome { border-radius: var(--r-md) var(--r-md) 0 0; }
.compare-stage { --pos: 50%; position: relative; container-type: inline-size; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0 0 var(--r-md) var(--r-md); touch-action: pan-y; }
@media (max-width: 640px) { .compare-stage { aspect-ratio: 4 / 5; } }
.cmp-after, .cmp-before { position: absolute; inset: 0; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; border-left: 2px solid var(--accent); transform: translateX(-1px); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.cmp-handle .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.cmp-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-stage:has(.cmp-range:focus-visible) .cmp-handle span { outline: 3px solid var(--text); outline-offset: 3px; }
.cmp-labels { display: flex; justify-content: space-between; margin-top: var(--s-3); color: var(--text-muted); font-size: var(--fs-sm); }

.old { position: absolute; inset: 0; background: #E7E7E0; color: #333; font-family: "Times New Roman", Times, serif; text-align: center; }
.old-banner { padding: 2.4cqw 0; background-color: #2F5A88; background-image: linear-gradient(#5D87B5, #2F5A88); border-bottom: .4cqw solid #C8A640; color: #fff; font: 700 3.4cqw/1 "Times New Roman", Times, serif; letter-spacing: .06em; text-shadow: .2cqw .2cqw 0 #1B3550; }
.old-nav { padding: 1cqw 0; background: #D6D6CD; color: #4A4A4A; font-size: 1.45cqw; }
.old-nav span { color: #1A3590; text-decoration: underline; }
.old-body { padding: 2.6cqw 10cqw; }
.old-h { margin-bottom: 1.4cqw; color: #2F5A88; font-size: 3cqw; font-style: italic; }
.old-p { max-width: 62cqw; margin: 0 auto 2.2cqw; color: #5A5A5A; font-size: 1.45cqw; line-height: 1.4; }
.old-row { display: flex; justify-content: center; gap: 2cqw; margin-bottom: 2.2cqw; }
.old-photo { display: grid; place-items: center; width: 14cqw; height: 9cqw; background: #BFC4B8; border: .3cqw solid #fff; box-shadow: 0 0 0 .1cqw #999; color: #3F4540; font-size: 1.2cqw; }
.old-call { color: #B01515; font: 700 2cqw/1.2 Arial, sans-serif; }
@container (max-width: 480px) {
  .old-banner { font-size: 6.4cqw; padding: 4cqw 2cqw; }
  .old-nav { font-size: 3.2cqw; padding: 2cqw 3cqw; }
  .old-body { padding: 5cqw 6cqw; }
  .old-h { font-size: 6.4cqw; }
  .old-p { max-width: none; font-size: 3.4cqw; }
  .old-row { gap: 3cqw; }
  .old-photo { width: 26cqw; height: 18cqw; font-size: 3cqw; }
  .old-call { font-size: 4.2cqw; }
}

.changes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
@media (max-width: 960px) { .changes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .changes { grid-template-columns: minmax(0, 1fr); } }
.changes li { padding-top: var(--s-3); border-top: 2px solid var(--field); }
.changes h3 { margin-bottom: 6px; font-size: 1.125rem; }
.changes p { color: var(--text-muted); font-size: 1rem; }

/* Process: a progress line that fills as you read; finished steps get the dot */
.steps { position: relative; }
@media (min-width: 1024px) {
  .steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; }
  .steps::before { right: 0; background: var(--field); }
  .steps::after { width: calc(var(--progress, 1) * 100%); background: var(--accent); transition: width 120ms linear; }
  .steps > li, .steps > li:last-child { border-top: 0; padding-top: 22px; }
}
.step-num { transition: color var(--dur-base) var(--ease-out); }

/* The request form now sits on the page ground, so its panel uses the surface tone */

/* ---------- 17. Motion layer (owner request; ui-ux-pro-max guidance) ----------
   Everything below runs only when the visitor hasn't asked for reduced motion.
   Content is hidden for a reveal only after the script adds .reveal-ready, so it is always visible without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  /* Reveals: a short fade and 14px rise, once, with a small stagger inside groups */
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

  /* Service tiles: each drawing assembles itself once its tile appears */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Tiles and screenshots respond to the pointer */
  
  
  
  .btn-primary .btn-dot { transition: transform var(--dur-fast) var(--ease-out); }
  .btn-primary:hover .btn-dot { transform: scale(1.5); }
  .text-link .icon { transition: transform var(--dur-fast) var(--ease-out); }
  .text-link:hover .icon { transform: translateX(3px); }
  .text-link[href^="#redesign"]:hover .icon { transform: translateY(3px); }

  /* FAQ answers ease in when opened */
  .faq-list details[open] > div { animation: fade-up 300ms var(--ease-out); }

  /* Example cycle: a thin line under the selected trade shows when the next one is coming */
  
  
  
}
@keyframes pop-in { from { opacity: 0; transform: scale(.82); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tab-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Play and pause for the example cycle (added by the script, only when motion is allowed) */

/* ---------- 18. Case page: the demo on the drafting table ---------- */

/* The project facts set like a drawing's title block */

.case-phone .phone img, .feature-shot img { display: block; width: 100%; height: auto; }
.case-phone .phone img { border-radius: 19px; }
.feature-shot figcaption, .case-phone figcaption { margin-top: var(--s-4); color: var(--text-muted); font-size: var(--fs-sm); max-width: 70ch; }

/* The brief: what the site had to do, each one checked */
.case-label { color: var(--text); font-weight: 600; }

/* Decisions: two pictured, three drawn */

.feature-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5) clamp(32px, 5vw, 72px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(48px, 6vw, 88px); }
.feature-shot { margin: 0; }
.feature-shot .browser { overflow: visible; background: var(--ground); }
.feature-shot .chrome { border-radius: var(--r-md) var(--r-md) 0 0; }
.feature-shot picture { display: block; overflow: hidden; border-radius: 0 0 var(--r-md) var(--r-md); }
.feature-copy h3 { font-stretch: var(--display-stretch); font-weight: 700; font-size: var(--fs-h3); line-height: 1.15; margin-bottom: var(--s-3); }
.feature-copy p { color: var(--text-muted); max-width: 52ch; }
@media (min-width: 861px) {
  .feature-row:not(.is-flipped) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature-row:not(.is-flipped) .feature-shot { order: -1; }
}
@media (max-width: 860px) { .feature-row { grid-template-columns: minmax(0, 1fr); } }

/* Phone first: the screenshot annotated like a drawing, with leader lines to what fits the first screen */
.case-phone { margin: 0; container-type: inline-size; }
.annotated { --pw: min(240px, 55cqw); display: grid; grid-template-columns: var(--pw) minmax(0, 1fr); }
.annotated .phone { grid-column: 1; grid-row: 1; }
.annotated .callouts { grid-column: 2; grid-row: 1; position: relative; }

.callouts li { position: absolute; left: -22px; right: 0; top: calc(var(--y) - 12px); height: 24px; display: flex; align-items: center; gap: 10px; padding-left: 66px; font-size: var(--fs-sm); font-weight: 600; color: var(--text); white-space: nowrap; }
.callouts li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 52px; border-top: 1px solid var(--text-muted); transform-origin: left; }
.callouts li::after { content: ""; position: absolute; left: -4px; top: calc(50% - 4px); width: 8px; height: 8px; border: 1.5px solid var(--text); border-radius: 50%; background: var(--ground); }
.callouts .dot { margin-top: 0; }
.at-headline { --y: 34%; }
.at-buttons { --y: 68.5%; }
.at-facts { --y: 84%; }
@container (max-width: 340px) {
  .annotated { grid-template-columns: minmax(0, 1fr); }
  .annotated .phone { width: min(240px, 80%); }
  .annotated .callouts { grid-row: 3; grid-column: 1; display: grid; gap: 8px; margin-top: var(--s-5); }
  .callouts li { position: static; height: auto; padding-left: 0; white-space: normal; }
  .callouts li::before, .callouts li::after { display: none; }
}
.case-cta .wrap > * + * { margin-top: var(--s-5); }

/* The Work link marks where a case page belongs */
.nav-list a[aria-current] { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* Case page motion: the checks tick and the leader lines draw once they come into view */
@media (prefers-reduced-motion: no-preference) {
  
  .reveal-ready .callouts li.is-visible::after { animation: pop-in 300ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
  .reveal-ready .callouts li.is-visible::before { animation: grow-x 420ms var(--ease-out) both; animation-delay: calc(var(--d, 0ms) + 120ms); }
  .reveal-ready .callouts li.is-visible .dot { animation: pop-in 320ms var(--ease-out) both; animation-delay: calc(var(--d, 0ms) + 480ms); }
  
  
  
}
@keyframes switch-on { from { transform: translateX(-16px); } }

/* ---------- 20. Daybreak: the home page (inspired by AW Media and Gian Media; see docs/brand-kit.md) ---------- */

/* Daylight: the same components on the light sheet. Only the semantic tokens change. */
.day { --ground: var(--daylight); --surface: var(--white); --raised: var(--white); --text: var(--ink); --text-muted: var(--slate); --accent: var(--ink); --accent-hover: #2A2D31; --on-accent: var(--white); --field: var(--pebble); --line: var(--mist); --error: #B42318; color-scheme: light; position: relative; z-index: 1; background: var(--ground); color: var(--text); border-radius: 40px 40px 0 0; margin-top: -40px; }
.day a:not(.btn) { color: var(--ink); }
.day .btn-primary { box-shadow: none; }
.day .btn-primary::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--marigold); flex: none; }
.day .btn-secondary { border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.day ::selection { background: var(--ink); color: var(--white); }
.btn-primary .btn-dot { display: none; }

.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-4) clamp(32px, 5vw, 72px); align-items: end; margin-bottom: var(--s-7); }
.section-head .muted { max-width: 46ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }
.soft { color: var(--fog, #8D9298); }
.day .soft { color: #6B7076; }
.tag { border-color: color-mix(in srgb, var(--text) 25%, transparent); }

/* Hero: a large, light headline on the left, the next step on the right; the whole card settles as you scroll */
.home-hero { padding: var(--s-4) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); }
.hero-card { position: relative; isolation: isolate; overflow: clip; max-width: 1440px; margin: 0 auto; padding-block: clamp(48px, 2rem + 6vw, 112px) clamp(40px, 2rem + 3vw, 72px); border: 1px solid rgba(244, 244, 242, calc(var(--p, 0) * .12)); border-radius: calc(var(--p, 0) * 36px); background: radial-gradient(ellipse 55% 60% at 88% 0%, rgba(255, 194, 26, .15), transparent 70%), radial-gradient(ellipse 40% 40% at 0% 100%, rgba(255, 194, 26, .05), transparent 70%), linear-gradient(#0B0C0E, var(--night) 60%); transform-origin: 50% 0; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--s-6) clamp(32px, 5vw, 80px); align-items: end; }
@media (max-width: 960px) { .hero-intro { grid-template-columns: minmax(0, 1fr); } }
.hero-title { font-size: clamp(2.75rem, 1rem + 6.6vw, 6.5rem); line-height: .98; letter-spacing: -.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: block; }
.hero-title .line-soft { color: var(--fog, #8D9298); }
.hero-side { display: grid; gap: var(--s-5); padding-bottom: .5em; }
.hero-side .lede { color: rgba(244, 244, 242, .78); max-width: 38ch; }
.hero-trades { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: clamp(40px, 5vw, 64px); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--text-muted); font-size: var(--fs-sm); }
.hero-trades li { display: inline-flex; align-items: center; gap: 9px; }
.hero-trades li:not(.trades-more)::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--marigold); }
.hero-shot { margin-top: clamp(40px, 5vw, 64px); }
.hero-shot figcaption { margin-top: var(--s-3); color: var(--text-muted); font-size: var(--fs-sm); }
:root { --fog: #8D9298; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-card { transform: scale(calc(1 - var(--p, 0) * .05)); }
  .hero-title .line > span { animation: rise var(--dur-entrance) var(--ease-out) both; }
  .hero-title .line:nth-child(2) > span { animation-delay: 110ms; }
}

/* Dark browser frame used for real screenshots */
.dark-browser { border: 1px solid rgba(244, 244, 242, .14); border-radius: 18px; overflow: hidden; background: var(--graphite); box-shadow: 0 50px 120px -50px rgba(255, 194, 26, .28), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.dark-browser img { width: 100%; height: auto; }
.dark-chrome { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(244, 244, 242, .1); color: var(--ash); font: 500 12.5px/1 var(--font); }
.dark-chrome .chrome-lights i { background: #3A3D42; }
.dark-chrome .chrome-url { flex: 0 1 auto; background: #1A1C1F; color: var(--ash); border-radius: 999px; padding: 6px 12px; }
.dark-chrome .chrome-tag { margin-left: auto; padding: 4px 10px; border: 1px solid rgba(244, 244, 242, .2); border-radius: 999px; color: var(--chalk); white-space: nowrap; }
@media (max-width: 480px) { .dark-chrome .chrome-url { display: none; } }

/* What every project includes: a slow moving row with a pause button */
.included-strip { display: flex; align-items: center; gap: var(--s-4); margin-top: clamp(48px, 6vw, 88px); padding: var(--s-5) max(var(--gutter), env(safe-area-inset-right, 0px)) var(--s-5) 0; border-block: 1px solid var(--line); }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-list { display: flex; }
.marquee-list li { display: inline-flex; align-items: center; padding-inline: clamp(20px, 2.4vw, 32px); color: #8A8F95; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem); font-weight: 450; letter-spacing: -.03em; white-space: nowrap; }
.marquee-list li::after { content: ""; width: 7px; height: 7px; margin-left: clamp(40px, 5vw, 64px); border-radius: 50%; background: var(--marigold); }
.marquee-toggle { display: none; flex: none; place-items: center; width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.marquee-toggle .icon { width: 18px; height: 18px; }
.marquee-toggle .icon-play, .marquee-toggle[aria-pressed="true"] .icon-pause { display: none; }
.marquee-toggle[aria-pressed="true"] .icon-play { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .marquee-toggle { display: grid; }
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .is-paused .marquee-track { animation-play-state: paused; }
}
/* Without motion, the row simply wraps */
@media (prefers-reduced-motion: reduce) {
  .included-strip { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; }
  .marquee-list { flex-wrap: wrap; gap: var(--s-2) 0; }
  .marquee-list[aria-hidden="true"] { display: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Examples by trade: the names light up in turn; the example beside them follows */
.trades-section { position: relative; padding-block: var(--section-pad); }
.trades-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 960px) { .trades-grid { grid-template-columns: minmax(0, 1fr); } }
.trades-copy > * + * { margin-top: var(--s-4); }
.trades-copy .muted { max-width: 40ch; }
.trade-list { margin-top: var(--s-6) !important; display: grid; gap: 2px; visibility: hidden; }
.js .trade-list { visibility: visible; }
.trade-pick { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 4px 0; border: 0; background: none; color: #707479; font: 450 clamp(1.8rem, 1.1rem + 2.4vw, 3.2rem)/1.08 var(--font); letter-spacing: -.04em; text-align: left; cursor: pointer; transition: color 300ms var(--ease-out); touch-action: manipulation; }
.trade-pick:hover { color: var(--ash); }
.trade-pick[aria-pressed="true"] { color: var(--chalk); }
.pick-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--marigold); opacity: 0; transform: scale(.4); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); flex: none; }
.trade-pick[aria-pressed="true"] .pick-dot { opacity: 1; transform: none; }
.trade-frame .browser { border-radius: 16px; box-shadow: 0 50px 120px -50px rgba(255, 194, 26, .25), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.trade-frame .chrome { padding: 9px 12px; }
.trade-frame .preview-caption { margin-top: var(--s-3); }
/* Wide screens with motion: the section holds still while you scroll through the four trades */
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .js .trades-section.is-pinned { height: 260vh; padding-block: 0; }
  .js .trades-section.is-pinned .trades-pin { position: sticky; top: 0; min-height: 100vh; display: grid; align-items: center; padding-block: calc(var(--header-h) + 24px) 48px; }
}

/* Statement: words light up as you scroll */
.statement { padding-block: clamp(48px, 2rem + 4vw, 104px); }
.statement-text { max-width: 18ch; font-size: clamp(2.4rem, 1rem + 5.4vw, 5.6rem); font-weight: 450; line-height: 1.02; letter-spacing: -.045em; }
.statement-text .w { opacity: var(--o, 1); transition: opacity 180ms linear; }

/* Services: one glass panel, a 3 by 2 grid with hairlines */
.service-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--glass-line); border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(244, 244, 242, .045), rgba(244, 244, 242, .012)); }
.service-cell { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(24px, 2.6vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color var(--dur-base) var(--ease-out); }
.service-cell:nth-child(3n) { border-right: 0; }
.service-cell:nth-last-child(-n+3) { border-bottom: 0; }
.service-cell:hover { background: rgba(244, 244, 242, .035); }
.service-cell .icon { width: 28px; height: 28px; color: var(--marigold); margin-bottom: var(--s-3); }
.service-cell h3 { font-size: 1.3rem; font-weight: 550; letter-spacing: -.015em; }
.service-cell p { color: var(--text-muted); font-size: 1rem; }
.service-cell .text-link { margin-top: auto; padding-top: var(--s-3); color: var(--chalk); }
.service-lead h3 { font-size: 1.55rem; }
@media (max-width: 960px) {
  .service-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-cell, .service-cell:nth-child(3n), .service-cell:nth-last-child(-n+3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .service-cell:nth-child(2n) { border-right: 0; }
  .service-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .service-panel { grid-template-columns: minmax(0, 1fr); }
  .service-cell, .service-cell:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-cell:last-child { border-bottom: 0; }
}
.included-note { margin-top: var(--s-5); color: var(--text-muted); font-size: var(--fs-sm); }

/* The deal: a clean two-column comparison, the project column lifted */
#deal .deal-table-wrap { border-radius: 24px; border-color: var(--glass-line); background: var(--surface); }
#deal .deal-table thead th { font-stretch: 100%; font-weight: 550; font-size: 1.25rem; letter-spacing: -.015em; padding-block: 22px; }
#deal .deal-table thead th:last-child::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--marigold); vertical-align: middle; }
@media (min-width: 641px) { #deal .deal-table td:last-child, #deal .deal-table thead th:last-child { background: var(--raised); } }
.deal-cta { margin-top: var(--s-6); }

/* Redesign slider and the four notes, on the night page */
#redesign .compare .chrome { background: #E9EEEE; }
.cmp-handle { border-left-color: var(--marigold); }
.cmp-handle span { background: var(--marigold); color: var(--ink); }
.changes li { border-top-color: var(--line); }

/* Work: the screenshot grows to full width as you reach it, then one clean project row */
@media (prefers-reduced-motion: no-preference) { .js .hero-shot { transform: scale(calc(.9 + var(--g, 1) * .1)); transform-origin: 50% 0; } }
.project-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-5) clamp(24px, 3vw, 48px); align-items: start; margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line); }
@media (max-width: 1100px) { .project-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .project-strip { grid-column: 1 / -1; } }
@media (max-width: 640px) { .project-row { grid-template-columns: minmax(0, 1fr); } }
.project-name h3 { font-size: 1.6rem; font-weight: 550; letter-spacing: -.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-3); }
.chips li { padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--text) 22%, transparent); border-radius: 999px; color: var(--text-muted); font-size: .85rem; }
.project-points { display: grid; gap: var(--s-3); color: var(--text-muted); font-size: 1rem; }
.project-points li { padding-left: 18px; position: relative; }
.project-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--marigold); }
.project-strip { display: grid; grid-template-columns: .5fr 1fr 1fr; gap: 10px; align-items: end; }
.project-strip img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--glass-line); }
.project-actions { grid-column: 1 / -1; }

/* Daylight sheet: rises over the night page with rounded corners */
@media (prefers-reduced-motion: no-preference) {
  .js .day { border-radius: calc((1 - var(--q, 1)) * 48px + 0px) calc((1 - var(--q, 1)) * 48px + 0px) 0 0; transform: translateY(calc((1 - var(--q, 1)) * 48px)); }
}

/* Process: the side holds the step counter; each step shows your part and ours */
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6) clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .process-grid { grid-template-columns: minmax(0, 1fr); } }
.process-side > * + * { margin-top: var(--s-4); }
@media (min-width: 961px) { .process-side { position: sticky; top: calc(var(--header-h) + 32px); } }
.step-counter { display: none; align-items: baseline; gap: 10px; margin-top: var(--s-7) !important; font-variant-numeric: tabular-nums; }
.js .step-counter { display: flex; }
.step-counter [data-step-count] { font-size: clamp(4rem, 2rem + 6vw, 7.5rem); font-weight: 400; letter-spacing: -.05em; line-height: .9; }
.step-of { color: var(--text-muted); font-size: 1.1rem; }
@media (max-width: 960px) { .js .step-counter { display: none; } }
.step-cards { display: grid; gap: var(--s-4); }
.step-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-2) var(--s-4); padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.step-card.is-active { border-color: #B9BDB8; box-shadow: 0 20px 40px -28px rgba(10, 11, 12, .35); }
.step-card .step-num { font-size: 1.5rem; font-weight: 450; letter-spacing: -.03em; color: var(--text-muted); font-stretch: 100%; line-height: 1.2; }
.step-card h3 { font-size: 1.35rem; font-weight: 550; letter-spacing: -.015em; }
.parts { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--s-3) var(--s-5); margin-top: var(--s-2); }
@media (max-width: 640px) { .step-card { grid-template-columns: minmax(0, 1fr); } .parts { grid-column: 1; grid-template-columns: minmax(0, 1fr); } }
.parts dt { font-size: .8rem; letter-spacing: .04em; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.part-you dd { margin: 0; color: var(--text-muted); font-size: .98rem; }
.part-we { padding-left: var(--s-4); border-left: 2px solid var(--marigold); }
.part-we dd { margin: 0; font-size: 1.05rem; }
.process-note { grid-column: 2; margin-top: var(--s-2); color: var(--text-muted); font-size: var(--fs-sm); max-width: 70ch; }
@media (max-width: 960px) { .process-note { grid-column: auto; } }

/* About: the statement, then the principles as calm cards */
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-7) clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.about-statement { font-size: var(--fs-h2); line-height: 1.04; font-stretch: 100%; font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
.about-copy { margin-top: var(--s-5); color: var(--text-muted); font-size: var(--fs-lg); max-width: 52ch; }
.principles h3 { font-size: 1.05rem; margin-bottom: var(--s-4); }
.principle-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 640px) { .principle-list { grid-template-columns: minmax(0, 1fr); } }
.principle-list li { padding: var(--s-5); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); border-top: 1px solid var(--line); }

/* FAQ: intro on the left, answers on the right */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6) clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid > * { max-width: none; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 961px) { .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-list summary .icon { color: var(--text); }

/* Request: the form on a white card */
.form-panel { background: var(--surface); border-color: var(--line); border-radius: 28px; box-shadow: 0 30px 60px -40px rgba(10, 11, 12, .35); }
.day .field input, .day .field select, .day .field textarea { background: var(--white); }
#preview { padding-bottom: calc(var(--section-pad) + 24px); }

/* Footer: dark again, with a way back to the top */
.site-footer { position: relative; z-index: 1; background: var(--night); border-top: 0; }
.back-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 4px; color: var(--chalk); font-weight: 600; text-decoration: none; }
.back-top .icon { width: 18px; height: 18px; }
.site-footer .text-link { color: var(--marigold); }
.footer-nav a:hover { color: var(--marigold); }

/* ---------- 21. Daybreak: the Evergreen case page ---------- */
.case-top .crumbs { margin-bottom: clamp(24px, 3vw, 40px); }
.case-title-col > * + * { margin-top: var(--s-5); }
.case-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); margin: clamp(40px, 5vw, 64px) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-facts dt { color: var(--text-muted); font-size: var(--fs-sm); }
.case-facts dd { margin: 4px 0 0; font-weight: 550; font-size: 1.05rem; }
/* The demo on desktop with the phone resting on its corner */
.case-devices { position: relative; padding-bottom: 6%; }
.case-devices .dark-browser { width: 86%; }
.case-phone-float { position: absolute; right: 0; bottom: 0; width: 21%; }
.case-phone-float .phone, .case-phone .phone { background: #05060A; border-color: #3A3D42; }
.case-phone-float .phone img, .case-phone .phone img { display: block; width: 100%; height: auto; border-radius: 19px; }
@media (max-width: 640px) { .case-devices { padding-bottom: 0; } .case-devices .dark-browser { width: 100%; } .case-phone-float { display: none; } }
/* The brief: four needs, each its own glass card */
.case-label { margin-bottom: var(--s-4); color: var(--text-muted); font-weight: 600; }
.case-needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 960px) { .case-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .case-needs { grid-template-columns: minmax(0, 1fr); } }
.case-needs li { display: flex; flex-direction: column; gap: var(--s-4); padding: clamp(20px, 2.2vw, 28px); border: 1px solid var(--glass-line); border-radius: 20px; background: linear-gradient(180deg, rgba(244, 244, 242, .045), rgba(244, 244, 242, .012)); font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.need-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--marigold); }
/* Decisions: screenshots in dark frames, then the three smaller choices in one glass panel */
.feature-row + .feature-row { margin-top: clamp(48px, 6vw, 88px); }
.feature-copy h3 { font-stretch: 100%; font-weight: 550; letter-spacing: -.02em; }
.case-decisions { margin-top: clamp(48px, 6vw, 88px); }
@media (max-width: 960px) {
  .panel-3 { grid-template-columns: minmax(0, 1fr); }
  .panel-3 .service-cell, .panel-3 .service-cell:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .panel-3 .service-cell:last-child { border-bottom: 0; }
}
/* Daylight half: the annotated phone, the comparison and the next step */
.case-body h2.display { margin-bottom: var(--s-5); }
.case-phone figcaption { margin-top: var(--s-4); }
.day .callouts .dot { background: var(--marigold); }
.day .callouts li::before { border-top-color: var(--slate); }
.day .deal-table-wrap { background: var(--white); border-color: var(--line); border-radius: 24px; }
@media (min-width: 641px) { .day .deal-table td:last-child, .day .deal-table thead th:last-child { background: #F7F8F6; } }
.case-table .deal-table thead th { font-stretch: 100%; font-weight: 550; font-size: 1.2rem; letter-spacing: -.015em; padding-block: 20px; }
.case-table .deal-table thead th:last-child::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--marigold); vertical-align: middle; }
.case-cta-inner { display: grid; justify-items: start; gap: var(--s-5); }
.case-cta-inner h2 { max-width: 16ch; font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4rem); line-height: 1.02; }
.case-cta-inner .muted { max-width: 44ch; }

/* ---------- 22. Hero background video: slow trade footage, darkened, under the headline ---------- */
.hero-card.has-video > .wrap { position: relative; z-index: 2; }
.hero-media { position: absolute; z-index: 0; inset: 0 0 auto 0; height: min(100%, 880px); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); mask-image: linear-gradient(#000 55%, transparent 100%); }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
/* Darker on the left, where the headline sits; the marigold glow stays on top of the footage */
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 88% 0%, rgba(255, 194, 26, .16), transparent 70%),
    linear-gradient(90deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .32) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .42)); }
/* Brightness checked against the brightest frames of each clip: the gray headline line keeps at least 3.6:1, the intro 7.2:1, the trades row 6.6:1 */
.hero-media-bar { position: absolute; z-index: 3; top: 16px; right: max(16px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 10px; }
.stock-note { padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: var(--ash); font-size: 12.5px; line-height: 1.4; }
.round-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: 50%; background: rgba(0, 0, 0, .45); color: var(--text); cursor: pointer; }
.round-toggle .icon { width: 18px; height: 18px; }
.round-toggle .icon-play, .round-toggle[aria-pressed="true"] .icon-pause { display: none; }
.round-toggle[aria-pressed="true"] .icon-play { display: block; }
.round-toggle[hidden] { display: none !important; }
@media (max-width: 760px) { .hero-media { height: min(100%, 620px); } .hero-media-bar { top: 10px; } }

/* ---------- 19. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
