/* True North Drafting Solutions — site styles
   V3 "Team Capacity": docs/mockups/v3-team-capacity.html (16 Nov 2026)
   Built on the V1 minrims styles (V1 is backed up in backups/v1-overnight-relay/).
   Tokens: docs/website-build-v2.md, Section 0. Phones first. */

:root {
  /* minrims design tokens */
  --navy: #25304A;        /* headlines, dark bands, Our Work, CTA panel, footer */
  --blue: #2B6FE6;        /* ALL CTA buttons, links, accent card, step 3, slider handle */
  --light: #EAF2FB;       /* stats strip, tiles, hero gradient start */
  --pill: #DDE9FB;        /* eyebrow pills */
  --border: #D9E4F1;      /* card borders, dividers */
  --text: #3F4757;        /* paragraphs */
  --muted: #5F6A7C;       /* small text (passes 4.5:1) */
  --green: #1B6B3F;       /* Dollar Green: money and growth only ("Up to 50%", "Take on more lots") */
  --green-text: #E3F2E8;
  --white: #FFFFFF;
  --navy-2: #34405E;      /* slider ground */
  --navy-line: #3A4766;   /* dividers on navy */
  --input-border: #7D8DA6;
  --ph: #A14A0B;          /* placeholder text on white */
  --ph-dark: #F3D9B1;     /* placeholder text on navy */

  --display: Quicksand, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(80px, 10vw, 144px);
  --radius: 18px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 92px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, ul, ol { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: 8px; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid #D3E0F3; box-shadow: 0 1px 3px rgba(37, 48, 74, .06); color: var(--blue); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; } /* white pill, blue text: the "Our Work" style, used on every eyebrow. The thin border keeps it visible on white sections. */
.eyebrow-sm { font-size: 12px; }
.h2 { margin-top: 16px; max-width: 820px; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.01em; color: var(--navy); }
.lead { margin-top: 16px; max-width: 700px; font-size: 18px; line-height: 1.55; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; color: var(--navy); }
.p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.small-caps { margin-top: 6px; color: var(--muted); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.body-gap { margin-top: clamp(36px, 4vw, 56px); }
.sec { padding-top: var(--sec); }
.split-wrap { padding-bottom: var(--sec); } /* "Who does what" is now followed by a coloured band, so it needs room underneath */
.ph { font-weight: 700; font-size: 12px; color: var(--ph); }
.ph-dark { color: var(--ph-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 2px solid transparent; border-radius: 999px;
  font-family: var(--body); font-size: 16px; font-weight: 600; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .35s var(--ease-spring);
}
.btn span { display: inline-block; transition: transform .35s var(--ease-spring); }
.btn:hover { transform: translateY(-2px); }
.btn:hover span { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.97); }
/* Blue buttons: a gentle top-to-bottom blue with a glow, and a soft shine that sweeps across now and then (and again on hover) */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: linear-gradient(180deg, #4C8BFA 0%, var(--blue) 55%, #2160D0 100%); box-shadow: 0 10px 24px rgba(43, 111, 230, .38), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .35s var(--ease-spring), box-shadow .35s ease; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .5) 50%, transparent 100%); transform: skewX(-20deg); animation: btn-shine 4.5s ease-in-out 1.5s infinite; pointer-events: none; z-index: -1; }
.btn-primary:hover { color: var(--white); background: linear-gradient(180deg, #5A97FF 0%, #2F76F0 55%, #2463D8 100%); box-shadow: 0 16px 34px rgba(43, 111, 230, .5), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-primary:hover::after { animation: btn-shine .9s ease-out 1; }
.btn-primary:active { background: linear-gradient(180deg, #2F76F0 0%, #2160D0 55%, #184AA3 100%); box-shadow: 0 4px 10px rgba(43, 111, 230, .3), inset 0 1px 0 rgba(255, 255, 255, .2); }
@keyframes btn-shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.btn-secondary { background: var(--white); border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--light); color: var(--navy); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- 1. Announcement bar ---------- */

/* ---------- 2. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 4px 16px rgba(37, 48, 74, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; min-height: 76px; }
.brand { display: block; flex: none; padding-block: 2px; }
.brand img { height: 40px; width: auto; }
/* bigger finger targets for small inline links, same look */
.hero-note a, .site-nav a { white-space: nowrap; color: var(--navy); font-size: 14px; font-weight: 500; text-decoration: none; }
.site-nav a:not(.btn):hover, .site-nav nav a.is-current { color: var(--blue); }
.site-nav .btn { color: var(--white); }
.menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; margin-right: -8px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); cursor: pointer; }
.menu-toggle:hover { background: var(--light); }
.menu-toggle:active { background: var(--pill); }
.menu-toggle svg { grid-area: 1 / 1; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: opacity .2s; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { opacity: 0; }
.menu-toggle[aria-expanded="true"] .icon-close { opacity: 1; }

/* Phone and tablet header: a short blue button sits beside the menu button (hidden on desktop, where the full button is in the nav) */
.header-mobile { display: flex; align-items: center; gap: 6px; }
.header-cta { min-height: 42px; padding: 0 16px; font-size: 14px; }
@media (min-width: 1100px) { .header-mobile { display: none; } }
.header-cta { white-space: nowrap; }
@media (max-width: 599px) { .brand img { height: 34px; } .header-cta { padding: 0 12px; font-size: 13px; } .header-mobile .menu-toggle { width: 44px; } } /* the longer label needs the room */
@media (max-width: 380px) { .brand img { height: 28px; } .header-cta { padding: 0 10px; font-size: 12px; } }

@media (max-width: 1099px) {
  .header-actions { display: none; } /* the same button is now always visible in the bar, so it is not repeated in the open menu */
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 8px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px -18px rgba(37, 48, 74, .35);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s ease, transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .3s var(--ease-out); }
  .site-nav nav a, .header-actions .text-link { display: block; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .header-actions .btn { width: 100%; margin-top: 20px; min-height: 52px; }
}
@media (min-width: 1100px) {
  .brand img { height: 44px; }
  .menu-toggle { display: none; }
  .site-nav { display: contents; }
  .site-nav nav { display: flex; gap: 4px 22px; }
  .site-nav nav a { padding: 10px 0; }
  .header-actions { display: flex; align-items: center; gap: 18px; }
}
@media (min-width: 1100px) and (max-width: 1279px) { /* eight links plus the button: tighter spacing so the logo keeps its size */
  .header-inner { gap: 12px 16px; }
  .site-nav nav { gap: 4px 14px; }
  .site-nav nav a { font-size: 13.5px; }
  .header-actions .btn { padding-inline: 18px; }
}

/* ---------- 3. Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%); }
.hero-grid { position: relative; display: grid; align-items: center; gap: clamp(40px, 5vw, 72px); padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
@media (min-width: 900px) {
  /* Desktop: the collage column is about 10% wider (so both cards are 10% bigger), and the collage rides up into the hero's top space. Phones are unchanged. */
  .hero-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 2.2vw, 32px); }
  .collage { margin-top: calc(-1 * clamp(24px, 4.2vw, 62px)); }
  .hero .actions .btn { padding-inline: 22px; } /* keeps the two hero buttons side by side in the slightly narrower text column */
}
.hero-copy { max-width: 580px; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid #D3E0F3; box-shadow: 0 1px 3px rgba(37, 48, 74, .06); color: var(--blue); font-weight: 800; font-size: 12px; letter-spacing: .06em; } /* same white pill, blue text as the section eyebrows */
.hero h1 { margin-top: 20px; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.02em; color: var(--navy); }
.hero-sub { margin-top: 24px; font-size: 18px; line-height: 1.6; }
.hero-note { margin-top: 16px; font-size: 14px; }
.hero-note a { color: var(--navy); }

.h1-accent { color: var(--blue); }

/* Day / Night collage: two cards the same size. The night card sits lower and to the right,
   with a slight overlap (Rucel, 16 Nov). */
.collage { position: relative; width: 100%; aspect-ratio: 1 / 1.04; }
.card-day { position: absolute; left: 0; top: 0; width: 54%; height: 72%; overflow: hidden; border-radius: 24px; background: #efe5d4; border: 0px solid #EFE3BF; } /* soft daylight-yellow tint */
.card-day img:not(.map-bg) { position: absolute; left: 2%; bottom: 1%; width: 82%; height: auto; z-index: 1; }
/* Layers in the day card, bottom to top: Georgia map, surveyor, the "Day · Georgia" tag */
.card-day .map-bg { position: absolute; left: 50%; top: 62px; width: 67.2%; height: auto; transform: translateX(-50%); opacity: .15; pointer-events: none; }
.card-night { position: absolute; left: 46%; top: 28%; width: 54%; height: 72%; border-radius: 24px; background: var(--navy); box-shadow: 0 18px 40px rgba(37, 48, 74, .25); }
.card-night-art { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.card-night-art img { position: absolute; left: 11.2%; bottom: 23%; width: 77.6%; height: auto; } /* raised so the note doesn't cover the desk */
.tag { position: absolute; z-index: 2; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.tag-day { left: 18px; top: 18px; background: var(--white); color: var(--navy); }
.tag-night { right: 14px; top: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(221, 233, 251, .35); color: var(--pill); } /* not solid blue: blue is for buttons */

.night-note { position: absolute; left: 12px; right: 12px; bottom: 12px; /* inside the night card */ display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--white); color: var(--navy); font-weight: 700; font-size: 14px; line-height: 1.3; box-shadow: 0 10px 24px rgba(37, 48, 74, .18); }
.night-note svg { flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; }

/* Small screens: a slightly smaller surveyor, smaller tags and a smaller night note. */
@media (max-width: 639px) {
  .card-day img:not(.map-bg) { left: 2%; width: 68%; }
  .card-day .map-bg { top: 52px; } /* clears the smaller tag */
  .card-night-art img { left: 14%; bottom: 34%; width: 72%; }
  .tag { padding: 5px 10px; font-size: 11px; }
  .tag-day { left: 12px; top: 12px; }
  .tag-night { right: 10px; top: 10px; }
  .night-note { left: 8px; right: 8px; bottom: 8px; gap: 6px; padding: 7px 9px; border-radius: 12px; font-size: 12px; }
  .night-note svg { width: 17px; height: 17px; }
}

/* Phones and tablets, up to 899px ("Option B", Rucel, 23 Nov): a centred stack. Order is headline, then the day and
   night cards side by side, then the sentence, the buttons and the small note. The eyebrow pill is hidden.
   display: contents lets the text pieces and the collage be re-ordered as one list.
   The headline grows smoothly with the screen: 28px on phones up to 40px just before the desktop layout. */
@media (max-width: 899px) {
  .hero-grid { gap: 20px; padding-top: 50px; padding-bottom: 50px; justify-items: center; text-align: center; }
  .hero-copy { display: contents; }
  .hero .pill { display: none; }
  .hero h1, .hero-sub, .collage, .hero .actions, .hero-note { width: 100%; max-width: 640px; }
  .hero h1 { order: 1; max-width: 560px; margin-top: 0; font-size: clamp(28px, 5.3vw, 40px); line-height: 1.12; }
  .collage { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; aspect-ratio: auto; }
  .hero-sub { order: 3; max-width: 540px; margin-top: 0; font-size: 17px; line-height: 1.55; }
  .hero .actions { order: 4; justify-content: center; margin-top: 0; }
  .hero .actions .btn { min-height: 48px; }
  .hero-note { order: 5; margin-top: 0; }

  .card-day, .card-night { position: relative; left: auto; top: auto; width: auto; height: auto; aspect-ratio: 1 / 1.1; border-radius: 20px; text-align: left; }
  .card-day img:not(.map-bg) { left: 9%; bottom: 0; width: 82%; }
  .card-day .map-bg { top: 40px; width: 70%; }
  .card-night-art img { left: 10%; bottom: 8%; width: 80%; }
  .night-note { display: none; } /* too long for a half-width card */
}
@media (max-width: 599px) { /* phones only: smaller gaps and sentence, buttons stacked full width */
  .hero-grid { gap: 16px; }
  .collage { gap: 10px; }
  .card-day, .card-night { border-radius: 18px; }
  .hero-sub { font-size: 16px; }
  .hero .actions { flex-direction: column; align-items: center; }
  .hero .actions .btn { width: 100%; max-width: 300px; } /* centred, not edge to edge */
}

/* ---------- 4. Stats strip ---------- */
.stats { background: var(--light); }
.stats .wrap { padding-top: 40px; padding-bottom: 76px; }
.stats-title { margin-bottom: 44px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; }
.stat-icon { display: block; width: 32px; height: 32px; margin-bottom: 10px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.stat-icon-green { stroke: var(--green); }
/* Hand-inked Dollar Green circle around the "Up to 50%" stat; drawn by main.js about 1 s after it is seen */
.stats { overflow-x: clip; }
.ink-ring path { fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* Before the pen touches down there is no ink at all (the line is pushed fully out of sight), then the stroke is drawn from its start to its end. */
.motion .ink-ring path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.motion .ink-wrap.is-drawn .ink-ring path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s cubic-bezier(.4, .1, .35, 1); }
.stat-num { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1.2; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-green { color: var(--green); }
.stat-num + p { margin-top: 4px; font-size: 15px; }
.stat-num .ink-under-line { bottom: -.34em; } /* just under the "p" tail, leaving the caption clear */
.stat-num:has(.ink-under) + p { margin-top: 20px; }
@media (max-width: 599px) { .stats-grid { gap: 20px; } .stats .wrap { padding-bottom: 76px; } }
@media (min-width: 600px) { .stats-grid { column-gap: 44px; row-gap: 64px; } }

/* ---------- 5. Our Work (Pill Blue band, option B chosen 17 Nov; was navy) ---------- */
.work { padding-block: var(--sec); background: var(--pill); color: var(--text); }
.work .h2 { color: var(--navy); }
.work-lead { margin-top: 16px; max-width: 620px; font-size: 18px; line-height: 1.55; }

/* "What we draft" chips: a plain list, not buttons. Not solid blue (blue = buttons). */
.svc { display: flex; flex-wrap: wrap; gap: 0; row-gap: 6px; margin: 28px 0 0; padding: 0; list-style: none; }
.svc li { color: var(--text); font-weight: 600; font-size: 15px; line-height: 1.4; }
.svc li:not(:last-child)::after { content: "\00B7"; margin: 0 12px; color: var(--muted); font-weight: 800; } /* a dot between the words */

/* Slides: a row that snaps one drawing at a time (swipe on phones, arrows or arrow keys anywhere) */
.reel { position: relative; margin-top: 28px; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 20px; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.slide { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); overflow: hidden; border-radius: 20px; background: var(--white); color: var(--text); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(37, 48, 74, .10); }
.slide-art { position: relative; display: block; padding: 16px; background: #F7FAFE; }
.slide-art img { width: 100%; height: 100%; max-height: 560px; object-fit: contain; border: 1px solid var(--border); background: var(--white); }
.slide-art { cursor: zoom-in; }
/* The drawing popped up inside the page: fits the screen, any click closes it */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; display: none; place-items: center; cursor: zoom-out; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(37, 48, 74, .88); }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; background: var(--white); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
/* Opening and closing ease: the picture grows from the thumbnail and fades in; the dark backdrop fades with it. */
.lightbox[open]::backdrop { animation: lb-fade .4s ease both; }
.lightbox[open] img { animation: lb-in .5s cubic-bezier(.22, 1, .36, 1) both; }
.lightbox.is-closing::backdrop { animation: lb-fade-out .32s ease both; }
.lightbox.is-closing img { animation: lb-out .32s cubic-bezier(.4, 0, .6, 1) both; }
@keyframes lb-fade { from { opacity: 0; } }
@keyframes lb-fade-out { to { opacity: 0; } }
@keyframes lb-in { from { opacity: 0; transform: scale(.35); } }
@keyframes lb-out { to { opacity: 0; transform: scale(.6); } }
.work .slide-art:focus-visible { outline: 3px solid var(--blue); outline-offset: -4px; } /* the light outline would vanish on the white slide */
.slide-info { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-left: 1px solid var(--border); }
.slide-type { align-self: flex-start; padding: 5px 10px; border-radius: 6px; background: var(--light); color: var(--navy); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.slide-info .h3 { font-size: 24px; }
.slide-list { margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; }
.slide-list li { position: relative; padding-left: 18px; margin-top: 6px; }
.slide-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.slide-meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

/* Arrows and counter */
.reel-nav { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; }
.arrow:hover { background: var(--white); }
.arrow:disabled { opacity: .35; cursor: default; background: transparent; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reel-count { font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.reel-note { margin-left: auto; font-size: 14px; }

/* Quality Assurance: the story in five chapters, with a line down the left. It sits in the .stats band. */
.stats.quality .wrap { padding-block: var(--sec); } /* same generous space above and below as the other bands */
.qa-title { margin-top: 14px; max-width: 640px; font-size: clamp(26px, 3.2vw, 36px); }
.qa-list { position: relative; margin: 40px 0 0; padding: 0; list-style: none; max-width: 820px; }
.qa-list li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: -22px; width: 2px; background: #C5D6EE; } /* from one circle's centre to the next, so nothing hangs below the last one */
.qa-list li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding-bottom: 34px; }
.qa-list li:last-child { padding-bottom: 0; }
.qa-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); }
.qa-dot svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.qa-chapter { font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.q-title { margin-top: 2px; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--navy); }
.q-body { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--text); }
@media (max-width: 599px) { .qa-list li { gap: 16px; } }

@media (max-width: 820px) {
  .slide { grid-template-columns: 1fr; }
  .slide-art { padding: 10px; }
  .slide-info { border-left: 0; border-top: 1px solid var(--border); padding: 24px; }
  .svc li { font-size: 14px; }
  .svc li:not(:last-child)::after { margin: 0 9px; }
  .reel-note { display: none; }
}

/* ---------- Cards, tiles, grids ---------- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.card-pad { padding: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }

/* ---------- 6. Who does what ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.split-card { padding: 100px 28px; border: 1px solid var(--border); border-radius: 20px; }
.split-day { background: #efe5d4; border-color: #efe5d4; color: var(--navy); } /* same colour as the hero day card (.card-day): change both together */
.split-day .split-icon { background: var(--navy); }
.split-day .dot-list li { border-color: rgba(37, 48, 74, .2); }
.split-day .dot-list li::before { color: var(--navy); }
.split-art { display: block; width: 100%; height: 240px; margin: 0 0 20px; object-fit: contain; object-position: bottom center; }
.split-dark { background: var(--navy); border-color: var(--navy); color: var(--pill); }
.split-head { display: flex; align-items: center; gap: 12px; }
.split-head .h3 { font-size: 22px; }
.split-dark .h3 { color: var(--white); }
.split-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); }
.split-icon svg { fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.split-dark .split-icon { background: var(--pill); }
.split-dark .split-icon svg { stroke: var(--navy); }
.dot-list { margin-top: 16px; padding: 0; list-style: none; font-size: 15px; }
.dot-list li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
.dot-list li::before { content: "\25CF"; color: var(--blue); }
.split-dark .dot-list li { border-color: var(--navy-line); }
.split-dark .dot-list li::before { color: var(--pill); }
@media (max-width: 599px) { .split-card { padding: 64px 20px; } }

/* ---------- 7. Hours calculator ---------- */
.calc { display: flex; flex-wrap: wrap; gap: 20px; }
.calc-inputs, .calc-result { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 20px; }
.calc-band { padding-block: var(--sec); background: var(--light); overflow-x: clip; } /* light-blue band, so it stands apart from the white sections around it */
.calc-inputs { background: var(--white); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(37, 48, 74, .06); }
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-field label { color: var(--navy); font-size: 15px; font-weight: 700; }
.calc-field input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--input-border); border-radius: 12px; background: var(--white); color: var(--navy); font-family: var(--body); font-size: 20px; font-weight: 700; }
.calc-field input:hover { border-color: var(--navy); }
.calc-field input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.calc-field input[aria-invalid="true"] { border: 2px solid var(--ph); background: #FFF7F0; }
.calc-hint { color: var(--ph); font-size: 13px; font-weight: 700; }
.calc-source { color: var(--muted); font-size: 13px; }
.calc-label { color: var(--navy); font-size: 15px; font-weight: 700; }
.seg { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--input-border); }
.seg label { position: relative; padding: 7px 16px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--navy); color: var(--white); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 1px; }
.calc-foot { color: var(--muted); font-size: 13px; }

/* The result is a till receipt standing on its own, no panel (option A, chosen 18 Nov) */
.calc-result { align-items: center; justify-content: center; gap: 36px; padding: 28px 0 8px; background: none; } /* no panel: the receipt sits straight on the page */
.paper { position: relative; width: 100%; max-width: 380px; padding: 30px 26px 26px; background: var(--white); color: var(--navy); font-family: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Courier New", monospace; font-size: 14px; line-height: 1.5; filter: drop-shadow(0 10px 22px rgba(37, 48, 74, .22)) drop-shadow(0 1px 2px rgba(37, 48, 74, .25)); } /* drop-shadow follows the torn edges */
.paper::before, .paper::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: linear-gradient(135deg, #fff 6px, transparent 0) 0 0 / 16px 12px, linear-gradient(225deg, #fff 6px, transparent 0) 0 0 / 16px 12px; } /* torn paper edges */
.paper::before { top: -12px; transform: scaleY(-1); }
.paper::after { bottom: -12px; }
.paper h3 { font: 800 15px/1.3 var(--body); letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.paper-sub { margin-top: 2px; text-align: center; font-size: 12px; color: var(--muted); }
.paper hr { margin: 16px 0; border: 0; border-top: 2px dashed #B8C3D6; }
.rc { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.rc i { flex: 1; min-width: 12px; border-bottom: 2px dotted #B8C3D6; transform: translateY(-3px); }
.rc b { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc.sm { font-size: 12px; color: var(--muted); }
.rc-key { margin-top: 12px; font-weight: 800; }
.rc-total { margin: 28px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 14px; font-weight: 800; }
.rc-total b { font-size: 38px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ink-wrap { position: relative; isolation: isolate; display: inline-block; padding: 8px 14px; margin: -8px -14px; } /* holds the hand-inked ring round the total, same style as the stats strip */
.ink-ring { position: absolute; z-index: -1; left: -22%; top: -26%; width: 130%; height: 152%; max-width: none; overflow: visible; pointer-events: none; }
.money { color: var(--green); } /* the $ amounts are Dollar Green */
.paper .bars { height: 30px; margin-top: 14px; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 9px, var(--navy) 9px 12px, transparent 12px 14px); opacity: .85; }
.thanks { margin-top: 12px; text-align: center; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 599px) {
  .calc-inputs { padding: 24px 20px; }
  .calc-result { padding: 24px 0 4px; }
  .paper { padding: 26px 18px 22px; }
}

/* Hand-inked Dollar Green underline under "current clients" (Our Work heading), drawn about 1 s after it is seen */
.ink-under { position: relative; display: inline-block; white-space: nowrap; }
.ink-under-line { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .42em; max-width: none; overflow: visible; pointer-events: none; }
.ink-under-line path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ink-under-low .ink-under-line { bottom: -.5em; } /* for words with descenders (g, y, comma) so the line passes under their tails */
.motion .ink-under-line path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.motion .ink-under.is-drawn .ink-under-line path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.4, .1, .35, 1); }
.motion .ink-under.is-drawn .ink-under-line .p2 { transition-duration: .7s; transition-delay: 1.05s; }

/* ---------- 8. How it works ---------- */
#how { padding-bottom: var(--sec); } /* the coloured Cost Savings band follows, so it needs the same room below as it has above */
.how-lead { margin-top: 18px; max-width: 640px; }
.duo { max-width: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 3vw, 28px); }
.duo-card { position: relative; margin: 0; aspect-ratio: 1 / 1.02; border-radius: 24px; overflow: hidden; }
.duo-day { background: #efe5d4; } /* same colour as the hero day card */
.duo-night { background: var(--navy); box-shadow: 0 18px 40px rgba(37, 48, 74, .22); }
.duo-card img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 80%; height: auto; }
.duo-night img { width: 94%; bottom: 0; }
.duo-card .tag-day { left: 14px; top: 14px; }
.duo-card .tag-night { right: 14px; left: auto; top: 14px; }
.relay { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 599px) { .duo-card { border-radius: 18px; } .duo-card .tag { padding: 4px 8px; font-size: 10px; } .duo-card .tag-day { left: 8px; top: 8px; } .duo-card .tag-night { right: 8px; top: 8px; } }
.relay { position: relative; max-width: 760px; margin-left: 0; margin-bottom: 0; padding: 0; list-style: none; } /* vertical timeline (option 2, chosen 18 Nov): the same on every screen */
.relay li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: -20px; width: 2px; background: #C5D6EE; } /* each line runs from one circle's centre to the next, so nothing hangs below circle 4 */
.relay li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding-bottom: 32px; }
.relay li:last-child { padding-bottom: 0; }
.relay-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); font-weight: 800; font-size: 15px; color: var(--navy); }
.relay-night .relay-dot { background: var(--navy); color: var(--white); }
.relay-when { font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.relay-night .relay-when { color: var(--navy); }
.relay .q-title { margin-top: 2px; }
.relay .q-body { margin-top: 6px; }
.relay-note { display: flex; align-items: flex-start; gap: 10px; max-width: 720px; margin-top: 40px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.relay-note svg { flex: none; margin-top: 2px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
#trial { padding-bottom: var(--sec); } /* the light-blue FAQ band follows, so it needs the same room below as above */
/* ---------- 10. The offer: "the trial ticket", Dollar Green stub with green badges (chosen 20 Nov) ---------- */
.tk { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; border-radius: 24px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 14px 40px rgba(37, 48, 74, .10); overflow: hidden; }
.tk-stub { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 40px 32px; background: var(--green); color: var(--white); }
.tk-big { font-family: var(--display); font-weight: 700; font-size: clamp(96px, 11vw, 150px); line-height: .9; letter-spacing: -.04em; color: var(--white); }
.tk-unit { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--white); }
.tk-stub::after { content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 14px; background: radial-gradient(circle at 14px 50%, var(--white) 0 7px, transparent 7.5px) 0 0 / 14px 28px repeat-y; } /* the punched ticket edge */
.tk-body { display: flex; align-items: center; padding: 34px 38px; }
.tk-list { width: 100%; margin: 0; padding: 0; list-style: none; }
.tk-list li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px dashed #C9D6E8; }
.tk-list li:first-child { padding-top: 0; }
.tk-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green); }
.ic svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tk .t { font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--navy); }
.tk .r { margin-top: 3px; font-size: 15px; line-height: 1.45; font-weight: 700; color: var(--green); }
.offer { max-width: 760px; } /* ticket and form share one narrower width */
.signup { margin-top: 24px; max-width: 560px; } /* the form is narrower than the ticket above it, so each reads as its own block */
@media (max-width: 820px) {
  .tk { grid-template-columns: 1fr; }
  .tk-stub { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 18px; padding: 28px 24px; }
  .tk-big { font-size: 84px; }
  .tk-unit { margin-top: 0; }
  .tk-stub::after { display: none; }
  .tk-body { padding: 26px 22px; }
}

/* ---------- 11. FAQ ---------- */
.faq-band { padding-block: var(--sec); background: var(--white); } /* white, so it does not blend into the light-blue Our Team band above */
.faq { max-width: 880px; }
.faq-list { border-bottom: 1px solid #C5D6EE; }
.faq-list details { padding: 10px 0; border-top: 1px solid #C5D6EE; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--navy); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover span:first-child { color: var(--blue); }
.plus { color: var(--blue); font-size: 24px; line-height: 1; transition: transform .35s var(--ease-out); }
.faq-list details[open] .plus, .faq-list details.is-open .plus { transform: rotate(45deg); }
.faq-list details:not(.is-open) .plus { transform: none; }
.faq-list .p { margin: 0; padding: 12px 0 10px; overflow: hidden; } /* js/main.js eases its height and fade when it opens and closes */

/* ---------- 12. Final CTA ---------- */

.trial-form { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 30px 32px 32px; border-radius: 24px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 14px 40px rgba(37, 48, 74, .10); color: var(--navy); } /* one column on every screen: easier to answer */
.form-title { margin: 0 0 4px; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
@media (max-width: 599px) { .form-title { font-size: 22px; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.field input { height: 46px; padding: 0 14px; border: 1px solid var(--input-border); border-radius: 12px; background: var(--white); color: var(--navy); font-family: var(--body); font-size: 16px; }
.field input::placeholder { color: var(--muted); opacity: .8; }
.field input:hover { border-color: var(--navy); }
.field input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input[aria-invalid="true"] { border: 2px solid var(--ph); background: #FFF7F0; }
.field-error { color: var(--ph); font-size: 13px; font-weight: 700; }
.trial-form .btn { margin-top: 4px; min-height: 52px; padding-inline: 18px; }
.form-note { text-align: center; font-size: 13px; line-height: 1.6; color: var(--text); }
.form-note a { color: var(--navy); font-weight: 700; text-decoration: underline; overflow-wrap: anywhere; }
.form-note a:hover { color: var(--green); }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: 12px; background: var(--light); color: var(--navy); font-size: 15px; font-weight: 700; line-height: 1.5; }
.form-status .ph { display: block; margin-top: 6px; font-weight: 600; }
@media (max-width: 599px) {
  .trial-form { padding: 22px 16px; }
  .trial-form .btn { font-size: 15px; padding-inline: 12px; }
  .trial-form .btn span { display: none; } /* keeps the button text on one line */
}

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--navy); color: var(--pill); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-about { max-width: 400px; }
.footer-about img { height: 44px; width: auto; }
.footer-about p { margin-top: 14px; font-size: 14px; line-height: 1.6; }
.footer-contact { font-size: 14px; line-height: 1.9; }
.footer-contact span { color: var(--pill); opacity: .8; }
.footer-contact a, .footer-contact .fc-val { color: var(--white); font-weight: 600; overflow-wrap: anywhere; } /* the email, phone, name and address all share one look */
.footer-contact a:hover { color: var(--pill); text-decoration: underline; }
.footer-base { padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--navy-line); font-size: 13px; }
.site-footer :focus-visible, .calc-result :focus-visible { outline-color: var(--pill); }

/* =========================================================
   Animations: calm and one-time. Only transform and opacity move.
   They switch on only when html has .motion (JavaScript on, reduce-motion off).
   ========================================================= */

/* A. Hero entrance on page load: text rises in, then the day card */
/* Hover: uses the separate `scale` property so the page-load animations (which move `transform`) can never cut it short. The card under the pointer grows (day 20%, night 10%) and comes to the front. Mouse only, and only when motion is allowed. */
@media (hover: hover) {
  .motion .card-day, .motion .card-night { transition: scale 1.5s cubic-bezier(.45, .05, .25, 1), box-shadow 1.5s cubic-bezier(.45, .05, .25, 1); }
  .motion .card-day { transform-origin: top left; }
  .motion .card-night { transform-origin: bottom right; }
  .motion .card-day:hover { scale: 1.2; z-index: 3; box-shadow: 0 22px 44px rgba(37, 48, 74, .22); }
  .motion .card-night:hover { scale: 1.1; z-index: 3; box-shadow: 0 26px 52px rgba(37, 48, 74, .35); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.motion .enter { animation: rise .8s var(--ease-out) backwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }

/* Hero collage (about 2 s, once, when first seen): the day card fades in, then the night card
   slides in and its note appears last.
   No looping. With reduced motion everything simply shows in its final place. */
@keyframes slide-in { from { opacity: 0; transform: translate(28px, 10px); } }
.motion .collage:not(.play) :is(.card-night, .night-note) { opacity: 0; }
.motion .collage.play .card-night { animation: slide-in .8s var(--ease-out) 1250ms backwards; }
.motion .collage.play .night-note { animation: rise .5s var(--ease-out) 1750ms backwards; }

/* B. Scroll reveal: blocks fade up once as they come into view, cards in a short cascade */
.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.motion .reveal.is-in { opacity: 1; transform: none; }

/* Safety net for the reduce-motion setting */
/* ===== Our Team: two profile cards, then the office with a photo mosaic. Photos are placeholders until real ones arrive. ===== */
.team { padding-block: var(--sec); background: var(--light); }
.ph-img { position: relative; display: block; overflow: hidden; border: 2px dashed #9FB3D1; background: #EEF3FA; }
.ph-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-img small { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: #fff; font: 800 10px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.team-people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.team-card { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 20px; border-radius: 22px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(37, 48, 74, .07); }
.team-photo { aspect-ratio: 4 / 5; border-radius: 16px; }
.team-role { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--green); }
.team-office { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; margin-top: 56px; }
.team-office-h { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--navy); }
.team-office-p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--text); }
.team-mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 340px; }
.team-mosaic .office-photo { height: 100%; border-radius: 16px; }
.team-mosaic .office-photo:first-child { grid-row: 1 / 3; }
@media (max-width: 860px) {
  .team-people { grid-template-columns: 1fr; }
  .team-office { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  .team-card { grid-template-columns: 110px 1fr; gap: 16px; }
  .team-mosaic { height: 280px; }
}

/* =========================================================
   Phones, whole page (Rucel, 22 Nov). Under 600px wide only: tablets and desktop are untouched.
   Fixed sizes that were too big get smaller. Body text stays at 15px or more and form fields at 16px,
   so it stays readable outdoors and iPhones do not zoom in when a field is tapped.
   (The hero has its own phone block above.)
   ========================================================= */
@media (max-width: 599px) {
  :root { --sec: 56px; --radius: 14px; }

  /* Text sizes */
  .lead, .work-lead { font-size: 16px; line-height: 1.55; }
  .h3 { font-size: 18px; }
  .slide-info .h3, .split-head .h3 { font-size: 20px; }
  .stat-num { font-size: 32px; }
  .qa-title { font-size: 24px; }
  .q-title { font-size: 18px; }
  .faq-list summary { font-size: 16px; gap: 16px; }
  .tk-big { font-size: 72px; }
  .tk-unit { font-size: 20px; }
  .rc-total b { font-size: 30px; }
  .team-office-h { font-size: 22px; }
  .team-office-p { font-size: 16px; }

  /* Spacing */
  .stats .wrap { padding-top: 32px; padding-bottom: 48px; }
  .stats-title { margin-bottom: 28px; }
  .stats.quality .wrap { padding-block: var(--sec); }
  .qa-list { margin-top: 32px; }
  .split-card { padding: 40px 20px; }
  .split-art { height: 200px; }
  .slide-info { padding: 20px; }
  .tk-stub { padding: 24px 20px; }
  .tk-body { padding: 22px 18px; }
  .footer-top { padding-top: 40px; padding-bottom: 32px; gap: 24px; }
}

/* Hero cards on phones and tablets (up to 899px): both appear together right away with one soft fade-up
   (no waiting, no slide), and no growing-on-hover effect. Kept down here so it comes after the hover rules. */
@media (max-width: 899px) {
  .motion .card-day.enter { animation-delay: 80ms; }
  .motion .collage.play .card-night { animation: rise .8s var(--ease-out) 80ms backwards; }
  .motion .card-day, .motion .card-night { transition: none; }
  .motion .card-day:hover, .motion .card-night:hover { scale: none; z-index: auto; }
  .motion .card-day:hover { box-shadow: none; }
  .motion .card-night:hover { box-shadow: 0 18px 40px rgba(37, 48, 74, .25); } /* its normal shadow */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 404 page (site/404.html) ---------- */
.notfound-page { min-height: 100vh; display: flex; flex-direction: column; }
.notfound-page main { flex: 1; }
.notfound { padding-block: clamp(64px, 12vw, 140px); background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%); text-align: center; }
.notfound .lead { margin-inline: auto; }
.notfound-title { margin: 16px auto 0; max-width: 640px; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 5.3vw, 44px); line-height: 1.12; letter-spacing: -.02em; color: var(--navy); }
.notfound-action { margin-top: 32px; }
