/* ═══════════════════════════════════════════════════════════════════
   Turner Web Design — stylesheet
   Design system: docs/design-system.md
   Base style: Swiss Modernism 2.0 (ui-ux-pro-max styles.csv)
   Type: Plus Jakarta Sans ("Friendly SaaS" pairing)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Colour. Every pair below is contrast-verified — see design-system.md §2.
     --accent is amber: it is 2.0:1 on paper and must NEVER carry small text
     on a light background. Use --accent-dk where the accent must read. */
  --ink:         #15181B;
  --ink-soft:    #2B3036;
  --muted:       #5E666E;
  --dim:         #A7AEB5;
  --line:        #E2E0DA;
  --line-strong: #8E8A80;
  --paper:       #FAF9F6;
  --white:       #FFFFFF;
  --accent:      #E9A23B;
  --accent-dk:   #8A5A06;
  --on-accent:   #15181B;

  /* Type scale */
  --t-xs:   12px;
  --t-sm:   14px;
  --t-base: 17px;
  --t-md:   19px;
  --t-lg:   clamp(22px, 2.2vw, 28px);
  --t-xl:   clamp(30px, 4vw,   46px);
  --t-2xl:  clamp(38px, 6vw,   72px);

  /* Spacing — 8pt grid */
  --s-1: 8px;   --s-2: 16px;  --s-3: 24px;  --s-4: 32px;
  --s-5: 48px;  --s-6: 64px;  --s-7: 96px;  --s-8: 128px;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;

  /* Elevation — warm-tinted, not pure black, so it sits on paper */
  --sh-1: 0 1px 2px rgba(21,24,27,.05), 0 2px 8px rgba(21,24,27,.04);
  --sh-2: 0 2px 4px rgba(21,24,27,.05), 0 12px 28px rgba(21,24,27,.08);
  --sh-3: 0 4px 8px rgba(21,24,27,.06), 0 24px 56px rgba(21,24,27,.12);

  /* Motion */
  --dur-fast: 150ms; --dur-base: 250ms; --dur-slow: 400ms;
  --ease: cubic-bezier(.16,.84,.44,1);

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --nav-h: 72px;

  /* Z-index scale */
  --z-base: 0; --z-above: 10; --z-nav: 100; --z-overlay: 200;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  /* Anchored sections must not land under the fixed nav */
  scroll-padding-top: calc(var(--nav-h) + var(--s-3));
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  touch-action: manipulation; /* kills the 300ms tap delay */
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

/* ── Accessibility ──────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -200px; left: var(--s-2);
  z-index: var(--z-overlay);
  background: var(--ink); color: var(--paper);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  font-size: var(--t-sm); font-weight: 600;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--s-2); }

:focus-visible {
  outline: 3px solid var(--accent-dk);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Dark sections need a ring that is visible against --ink */
.band-dark :focus-visible { outline-color: var(--accent); }

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

/* ── Layout primitives ──────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-3); }
.wrap-narrow { max-width: var(--wrap-narrow); }

section { padding-block: clamp(var(--s-6), 9vw, var(--s-8)); }
section.tight { padding-block: clamp(var(--s-5), 6vw, var(--s-7)); }

.band-paper { background: var(--paper); }
.band-white { background: var(--white); border-block: 1px solid var(--line); }
.band-dark  { background: var(--ink); color: var(--paper); }
.band-dark .lead, .band-dark .muted { color: var(--dim); }
.band-dark .eyebrow { color: var(--accent); }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
h1 { font-size: var(--t-2xl); letter-spacing: -0.035em; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); letter-spacing: -0.02em; }
h4 { font-size: var(--t-md); letter-spacing: -0.015em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-1);
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: var(--s-2);
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px;
  background: var(--accent); border-radius: 2px; flex-shrink: 0;
}

.lead { font-size: var(--t-md); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }

/* Section header block — repeated on every section, so it is one rule */
.sec-head { max-width: 640px; margin-bottom: clamp(var(--s-5), 5vw, var(--s-6)); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 + .lead { margin-top: var(--s-3); }

/* Highlight a word in a heading with an amber underline rather than
   amber text — amber text on paper is 2.0:1 and would fail. */
.mark {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 0.22em;
  background-position: 0 93%;   /* clear of the descenders — was cutting the "y" */
  padding-inline: 2px;
}
.band-dark .mark { background-size: 100% 0.22em; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-1);
  min-height: 48px;                /* > 44px touch target */
  padding: 0 var(--s-4);
  border-radius: var(--r-pill);
  font-size: var(--t-base); font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--sh-1); }
.btn-primary:hover { background: #F0AE4F; box-shadow: var(--sh-2); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-soft); box-shadow: var(--sh-2); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.band-dark .btn-ghost { color: var(--paper); border-color: rgba(250,249,246,.35); }
.band-dark .btn-ghost:hover { border-color: var(--paper); background: rgba(250,249,246,.08); }

.btn-lg { min-height: 56px; padding: 0 var(--s-5); font-size: var(--t-md); }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.btn-row.center { justify-content: center; }

/* Arrow nudges on hover — motion that means "forward", not decoration */
.btn svg { flex-shrink: 0; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Text link with an underline that grows from the left */
.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--accent-dk);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 2px; background-position: 0 100%;
  transition: background-size var(--dur-base) var(--ease);
}
.link:hover { background-size: 100% 2px; }
.band-dark .link { color: var(--accent); }

/* ── Navigation ─────────────────────────────────────────────────── */
#nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(250,249,246,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
#nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-1); }

.nav-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--s-3);
  display: flex; align-items: center; gap: var(--s-3);
}

.nav-logo {
  display: inline-flex; align-items: center;
  min-height: 44px;              /* was 31px tall — under the 44px minimum */
  font-weight: 800; font-size: 19px; letter-spacing: -0.03em;
  margin-right: auto;
}
.nav-logo .dot { color: var(--accent-dk); }

.nav-links { display: flex; align-items: center; gap: var(--s-1); }
.nav-links a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding-inline: var(--s-2);
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(21,24,27,.04); }
.nav-links a.active { color: var(--ink); }
/* `.nav-links a` (0,1,1) outranks `.btn-primary` (0,1,0), so without this
   the nav CTA inherited --muted and rendered at 2.69:1 on amber. */
.nav-links .btn {
  margin-left: var(--s-2); min-height: 44px;
  padding-inline: var(--s-3); font-size: 15px;
  color: var(--on-accent);
}
.nav-links .btn:hover { color: var(--on-accent); background: #F0AE4F; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-fast) var(--ease);
}
#nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
#nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 auto 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: var(--s-2) var(--s-3) var(--s-4);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-2);
  /* Collapsed by default. visibility + transform keeps it out of the tab
     order while hidden, which `opacity: 0` alone would not. */
  visibility: hidden; opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease),
              visibility var(--dur-base);
}
.nav-mobile.open { visibility: visible; opacity: 1; transform: none; }
.nav-mobile a {
  display: flex; align-items: center;
  min-height: 52px;
  font-size: var(--t-md); font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .btn { margin-top: var(--s-3); justify-content: center; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + clamp(var(--s-5), 7vw, var(--s-7)));
  padding-bottom: clamp(var(--s-5), 6vw, var(--s-7));
  position: relative;
  overflow: hidden;
}
/* A single soft amber wash, top-right. No gradient mesh, no mesh blobs. */
.hero::before {
  content: '';
  position: absolute; top: -220px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(233,162,59,.16) 0%, rgba(233,162,59,0) 68%);
  pointer-events: none;
  z-index: var(--z-base);
}
.hero > * { position: relative; z-index: var(--z-above); }

.hero-inner { max-width: 820px; }
.hero h1 { margin-bottom: var(--s-3); }
.hero .lead { max-width: 620px; font-size: clamp(18px, 2vw, 21px); }
.hero .btn-row { margin-top: var(--s-5); }

/* Trust strip under the hero CTAs — facts, not invented statistics */
.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.hero-trust li {
  display: flex; align-items: center; gap: var(--s-1);
  font-size: var(--t-sm); font-weight: 600; color: var(--muted);
}
.hero-trust svg { color: var(--accent-dk); flex-shrink: 0; }

/* ── Marquee gallery (Framer: moving/sliding gallery) ───────────── */
.marquee {
  position: relative;
  padding-block: var(--s-5);
  /* Fade the edges so the track appears to run on past the viewport */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; gap: var(--s-3);
  width: max-content;
  animation: marquee 48s linear infinite;
}
/* The track holds the cards twice; translating by exactly -50% puts the copy
   where the original was, so the loop has no visible seam. */
@keyframes marquee { to { transform: translateX(-50%); } }

/* Hover deliberately does not pause the track. Focus still does, so that if a
   card ever becomes a link, a keyboard user is not chasing a moving target. */
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.marquee-item {
  width: clamp(240px, 30vw, 340px);
  flex-shrink: 0;
  position: relative;
}
/* The enlarged card has to paint over its neighbours, and a flex item only
   does that once it has a stacking order of its own. */
.marquee-item:hover { z-index: 2; }

.marquee-item img {
  display: block;
  width: 100%; height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
}
.marquee-item:hover img {
  transform: scale(1.035);
  border-color: var(--line-strong);
  box-shadow: var(--sh-2);
}

/* ── Services grid (Framer: compact label + one line) ───────────── */
.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
}
.card h2, .card h3 { margin-bottom: var(--s-1); font-size: var(--t-md); letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.6; }

a.card:hover, .card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: #D6D3CA;
}

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  margin-bottom: var(--s-3);
  border-radius: var(--r-md);
  background: rgba(233,162,59,.16);
  color: var(--accent-dk);
}
.band-dark .card {
  background: var(--ink-soft);
  border-color: rgba(250,249,246,.1);
}
.band-dark .card p { color: var(--dim); }
.band-dark .card-icon { background: rgba(233,162,59,.18); color: var(--accent); }

/* ── Pill cloud (Framer: "all the tools to make it yours") ──────── */
.pills { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.pills li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px var(--s-2);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: var(--t-sm); font-weight: 600; color: var(--muted);
}
.pills svg { color: var(--accent-dk); flex-shrink: 0; }
.band-dark .pills li {
  background: rgba(250,249,246,.06);
  border-color: rgba(250,249,246,.14);
  color: var(--paper);
}
.band-dark .pills svg { color: var(--accent); }

/* ── Work cards (Design.com: template gallery) ──────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }

.work-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }

/* Fake browser chrome, so a flat screenshot reads as a website */
.work-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px var(--s-2);
  background: #F1EFEA;
  border-bottom: 1px solid var(--line);
}
.work-chrome i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #D4D0C6; display: block;
}
.work-chrome .bar {
  flex: 1; height: 16px; margin-left: 6px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
}
.work-shot {
  /* The screenshot is a tall page capture. Pin it to the top of a fixed-ratio
     box so every card is the same height regardless of page length. */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}
.work-shot img { width: 100%; height: auto; object-fit: cover; object-position: top center; }
.work-body { padding: var(--s-3) var(--s-4) var(--s-4); }
.work-body h2, .work-body h3 { font-size: var(--t-md); letter-spacing: -0.02em; margin-bottom: 4px; }
.work-tag {
  display: inline-block; margin-bottom: var(--s-2);
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dk);
}
.work-body p { color: var(--muted); font-size: 16px; }
.work-body .link { margin-top: var(--s-2); font-size: 15px; }

/* ── Process stepper (Yellowball) ───────────────────────────────── */
.steps { display: grid; gap: var(--s-4); grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: var(--s-4); }
/* The rule across the top of each step, with the number sitting on it */
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--line);
}
.step.done::before { background: var(--accent); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: var(--s-2);
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-size: var(--t-sm); font-weight: 800;
}
.step h3 { font-size: var(--t-md); margin-bottom: var(--s-1); }
.step p { color: var(--muted); font-size: 16px; }
.band-dark .step::before { background: rgba(250,249,246,.16); }
.band-dark .step-n { background: var(--accent); color: var(--on-accent); }
.band-dark .step p { color: var(--dim); }

/* ── Pricing ────────────────────────────────────────────────────── */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3); align-items: start;
  padding-top: 13px;   /* .price-flag overhangs the card by 13px */
}

.price {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
}
.price.featured {
  border-color: var(--ink);
  border-width: 2px;
  box-shadow: var(--sh-2);
}
.price-flag {
  position: absolute; top: -13px; left: var(--s-4);
  padding: 4px var(--s-2);
  border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent);
  font-size: var(--t-xs); font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.price h3 { font-size: var(--t-md); margin-bottom: 4px; }
.price-sub { font-size: var(--t-sm); color: var(--muted); margin-bottom: var(--s-3); }
.price-fig {
  display: flex; align-items: baseline; gap: 6px;
  padding-bottom: var(--s-3); margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.price-from { font-size: var(--t-sm); font-weight: 700; color: var(--muted); }
.price-num { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-list { display: grid; gap: 10px; margin-bottom: var(--s-4); }
.price-list li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; }
.price-list svg { flex-shrink: 0; margin-top: 4px; color: var(--accent-dk); }
.price .btn { margin-top: auto; }

/* Intro-offer banner */
.offer {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-lg);
  background: var(--ink); color: var(--paper);
  margin-bottom: var(--s-5);
}
.offer-badge {
  padding: 5px var(--s-2);
  border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent);
  font-size: var(--t-xs); font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  flex-shrink: 0;
}
.offer p { flex: 1 1 340px; font-size: 16px; color: var(--dim); margin-right: auto; }
.offer strong { color: var(--paper); font-weight: 700; }

/* Care-plan strip */
.care {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3);
  margin-top: var(--s-4);
  padding: var(--s-4);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--white);
}
.care-fig { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.care-fig span { font-size: var(--t-sm); font-weight: 700; color: var(--muted); letter-spacing: 0; }
.care div:first-of-type { min-width: 150px; }
.care p { flex: 1 1 280px; color: var(--muted); font-size: 16px; }

/* ── FAQ (Yellowball) ───────────────────────────────────────────── */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) 0;
  min-height: 56px;
  font-size: var(--t-md); font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--dur-base) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--accent-dk); }
.faq-body { padding-bottom: var(--s-3); color: var(--muted); max-width: 62ch; }
.faq-body p + p { margin-top: var(--s-2); }

/* ── Forms ──────────────────────────────────────────────────────── */
.form { display: grid; gap: var(--s-3); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--t-sm); font-weight: 700; }
.field .hint { font-size: var(--t-sm); color: var(--muted); font-weight: 400; }

.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 14px var(--s-2);
  font-size: var(--t-base);     /* 17px — under 16px makes iOS zoom on focus */
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-dk);
  box-shadow: 0 0 0 3px rgba(233,162,59,.3);
}
.field input::placeholder, .field textarea::placeholder { color: #8A8F95; }

.req { color: var(--accent-dk); font-weight: 800; }

.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 24px; height: 24px; min-height: 0; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent-dk); cursor: pointer; }
.consent label { font-weight: 400; font-size: var(--t-sm); color: var(--muted); }

/* Honeypot — a bot fills this, a human never sees it */
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ── Contact details list ───────────────────────────────────────── */
.contact-list { display: grid; gap: var(--s-3); }
.contact-item { display: flex; gap: var(--s-2); align-items: flex-start; }
.contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-dk); }
.contact-item .k { font-size: var(--t-sm); font-weight: 700; color: var(--muted); }
.contact-item .v { font-weight: 700; }

/* ── CTA band ───────────────────────────────────────────────────── */
.cta { text-align: center; }
.cta h2 { max-width: 16ch; margin-inline: auto; }
.cta .lead { max-width: 52ch; margin: var(--s-3) auto 0; }
.cta .btn-row { margin-top: var(--s-5); }

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  background: var(--ink); color: var(--paper);
  padding-block: var(--s-6) var(--s-4);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(250,249,246,.14);
}
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.footer-brand .dot { color: var(--accent); }
.footer-top p { color: var(--dim); font-size: 16px; margin-top: var(--s-2); max-width: 36ch; }
.footer-col h2 { font-size: var(--t-sm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-2); }
.footer-col li a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  min-width: 44px;               /* short labels ("Work") were 40px wide */
  color: var(--dim); font-size: 16px;
  transition: color var(--dur-fast) var(--ease);
}
.footer-col li a:hover { color: var(--paper); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3);
  justify-content: space-between; align-items: center;
  padding-top: var(--s-4);
  font-size: var(--t-sm); color: var(--dim);
}

/* ── Utilities ─────────────────────────────────────────────────── */
.mt-2 { margin-top: var(--s-2); }
.mt-6 { margin-top: var(--s-6); }
.text-center { text-align: center; }

/* ── Scroll reveal (Yellowball: info arriving as you scroll) ────── */
/* transform + opacity only — neither triggers layout */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; will-change: auto; }
.reveal.d1 { transition-delay: 60ms; }
.reveal.d2 { transition-delay: 120ms; }
.reveal.d3 { transition-delay: 180ms; }
.reveal.d4 { transition-delay: 240ms; }

/* ── Page header (inner pages) ──────────────────────────────────── */
.page-head {
  padding-top: calc(var(--nav-h) + clamp(var(--s-5), 6vw, var(--s-6)));
  padding-bottom: clamp(var(--s-4), 5vw, var(--s-6));
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: var(--t-xl); max-width: 18ch; }
.page-head .lead { max-width: 58ch; margin-top: var(--s-3); }

/* ── Prose (privacy policy) ─────────────────────────────────────── */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--t-lg); margin-top: var(--s-5); margin-bottom: var(--s-2); }
.prose h3 { font-size: var(--t-md); margin-top: var(--s-4); margin-bottom: var(--s-1); }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: var(--s-2); }
.prose ul { list-style: disc; padding-left: var(--s-3); margin-top: var(--s-2); display: grid; gap: 6px; }
.prose a { color: var(--accent-dk); font-weight: 600; text-decoration: underline; }
.prose > p:first-child { font-size: var(--t-md); color: var(--ink); }

/* ── Centred message pages (thank-you, 404) ─────────────────────── */
.msg {
  min-height: 72vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h);
  text-align: center;
}
.msg-inner { max-width: 620px; margin-inline: auto; }
.msg-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: var(--s-3);
  border-radius: 50%;
  background: rgba(233,162,59,.18);
  color: var(--accent-dk);
}
.msg .lead { margin-top: var(--s-3); }
.msg ol {
  display: grid; gap: var(--s-2);
  margin: var(--s-5) auto 0;
  max-width: 440px; text-align: left;
  counter-reset: step;
}
.msg ol li {
  display: flex; gap: var(--s-2); align-items: flex-start;
  color: var(--muted); font-size: 16px;
  counter-increment: step;
}
.msg ol li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-size: var(--t-xs); font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive — mobile-first breakpoints checked at 375/768/1024/1440
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .price-grid { grid-template-columns: 1fr; }
  .price.featured { order: -1; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--s-3); }
  .hero .btn-row .btn { width: 100%; }
  .marquee-item { width: clamp(200px, 62vw, 260px); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-col:first-child { grid-column: auto; }
  .offer { flex-direction: column; align-items: flex-start; }
  .care { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .page-head h1, .cta h2 { max-width: none; }
}

@media (max-width: 420px) {
  .wrap { padding-inline: var(--s-2); }
  .card, .price { padding: var(--s-3); }
}

/* ── Reduced motion ─────────────────────────────────────────────── */
/* Nothing moves. The marquee stops where it is and the reveals are simply
   already visible — the content must never depend on the animation. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; transform: none; }
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none; mask-image: none;
  }
  /* The card still answers to the pointer, it just does not grow. */
  .marquee-item:hover img { transform: none; }
}

/* ── Print ──────────────────────────────────────────────────────── */
@media print {
  #nav, .nav-mobile, .marquee, footer, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
