/* ==========================================================================
   Busy Season — design system
   Implements BusySeason_Master_Build_Brief.md §8.

   House rules this file encodes, so they don't get undone by accident:
   - No serif anywhere (§8.3). Serif is reserved for the other brand.
   - Amber is the single CTA colour; every page has one primary action (§8.1).
   - 8px base grid; every spacing value below is a multiple of it (§8.4).
   ========================================================================== */

:root {
  /* Palette — §8.2, values are verbatim from the brief */
  --paper: #fafaf9;          /* background, primary */
  --paper-alt: #f2f1ef;      /* derived: alternating band on light pages */
  --char: #16181c;           /* background, dark section */
  --char-soft: #1f2229;      /* derived: cards/inputs inside dark sections */
  --ink: #1a1b1e;            /* primary text */
  --ink-light: #5a5d63;      /* derived: secondary text — 6.6:1 on --paper */
  --on-dark: #f2f2f0;        /* text on dark background */
  --on-dark-dim: rgba(242, 242, 240, 0.68);
  --amber: #e8862e;          /* accent, primary / CTA */
  --amber-hover: #d4741d;
  --steel: #3e5c76;          /* accent, secondary */
  --steel-hover: #33506a;
  --line: #e2e2e0;           /* borders / dividers */
  --line-dark: rgba(242, 242, 240, 0.14);
  --green: #3f8f5f;          /* success / confirmation */

  /* CONTRAST RULE (§8.9, WCAG AA) — amber is 2.6:1 on --paper, which fails
     for text. So: amber may fill a shape on light backgrounds, but never
     sets type there. The amber CTA button therefore takes NEAR-BLACK type
     (7.3:1), not white (2.9:1, fails). Amber as *text* is allowed only on
     --char, where it reaches 6.4:1. Steel blue is the eyebrow/label colour
     on light (6.9:1). Don't swap these without re-checking the ratios. */

  --radius: 6px;             /* §8.5 — crisper than the sibling brand */
  --radius-lg: 10px;
  --max: 80rem;              /* 1280px content width — §8.4 */
  --gutter: 1.5rem;          /* 24px — §8.4 */
  --shadow: 0 18px 40px -24px rgba(22, 24, 28, 0.45);
  --shadow-lift: 0 24px 56px -24px rgba(22, 24, 28, 0.5);
  --t: 130ms cubic-bezier(0.4, 0, 0.2, 1); /* §8.8 — 100–150ms */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;      /* 17px — §8.3 body 16–18 */
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.625rem, 3.4vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.375rem; line-height: 1.25; }
h4 { font-size: 1.0625rem; line-height: 1.3; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

img, svg, video {
  max-width: 100%;
  display: block;
}

strong { font-weight: 600; }

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

/* Focus — §8.9, visible and consistent everywhere */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--char);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: 46rem;
}

/* ==========================================================================
   Header / navigation — §8.5
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.brand em {
  font-style: normal;
  font-weight: 400;
  color: var(--ink-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-light);
  transition: color var(--t);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;          /* "Get a Free Sample Ad" must never wrap */
  transition: background var(--t), transform var(--t);
}

.nav-cta:hover {
  background: var(--amber-hover);
}

/* On desktop this wrapper has zero layout effect — its children act as
   direct flex items of .site-header .container. It only becomes a real box
   on mobile, so the "Get a Quote" button lives inside the same toggled
   dropdown as the nav links. (Without this, the CTA is unreachable on
   mobile: the media query hides it and .open only revealed .nav-links.) */
.nav-panel {
  display: contents;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.625rem;
  margin-right: -0.625rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ==========================================================================
   Sections — §8.4: 96–120px desktop, 64px mobile
   ========================================================================== */

.section {
  padding: 7rem 0;
}

.section-tight {
  padding: 5rem 0;
}

.section-alt {
  background: var(--paper-alt);
}

.section-dark {
  background: var(--char);
  color: var(--on-dark);
}

/* Every dark surface on the site shares one set of on-dark overrides. Keep
   .hero / .cta-band / .site-footer in these selector lists — split them out
   and the steel-blue eyebrow and outline button silently drop to ~2.6:1
   against the charcoal, which is what §8.9 asks us to check for. */
.section-dark h1, .hero h1, .cta-band h1, .site-footer h1,
.section-dark h2, .hero h2, .cta-band h2, .site-footer h2,
.section-dark h3, .hero h3, .cta-band h3, .site-footer h3,
.section-dark h4, .hero h4, .cta-band h4, .site-footer h4 {
  color: var(--on-dark);
}

.section-dark .muted,
.hero .muted,
.cta-band .muted,
.site-footer .muted {
  color: var(--on-dark-dim);
}

.section-dark .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow,
.site-footer .eyebrow {
  color: var(--amber);            /* 6.4:1 on --char; steel would fail here */
}

.section-dark .section-head p,
.hero .section-head p,
.cta-band .section-head p {
  color: var(--on-dark-dim);
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--steel);
  margin: 0 0 1rem;
}

.muted {
  color: var(--ink-light);
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-light);
  max-width: 38rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 4rem;
}

.section-head p {
  color: var(--ink-light);
  font-size: 1.125rem;
}

/* Page header for interior pages */
.page-head {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  max-width: 20ch;
}

/* ==========================================================================
   Buttons — §8.5
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;                  /* ≥44px touch target — §8.9 */
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);                 /* see CONTRAST RULE above */
}

.btn-primary:hover {
  background: var(--amber-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 27, 30, 0.28);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.section-dark .btn-secondary,
.hero .btn-secondary,
.cta-band .btn-secondary,
.site-footer .btn-secondary {
  color: var(--on-dark);
  border-color: rgba(242, 242, 240, 0.42);
}

.section-dark .btn-secondary:hover,
.hero .btn-secondary:hover,
.cta-band .btn-secondary:hover,
.site-footer .btn-secondary:hover {
  border-color: var(--on-dark);
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Inline text link with the amber underline treatment */
.link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 1px;
  transition: border-color var(--t), color var(--t);
}

.link:hover {
  border-color: var(--ink);
}

.section-dark .link:hover,
.hero .link:hover,
.cta-band .link:hover {
  border-color: var(--on-dark);
}

/* ==========================================================================
   Grid & cards
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--gutter);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-wide { gap: 3rem; }
.grid-split { grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.section-alt .card {
  background: #fff;
}

.section-dark .card,
.hero .card,
.cta-band .card {
  background: var(--char-soft);
  border-color: var(--line-dark);
}

.card-lift {
  box-shadow: var(--shadow);
}

/* ==========================================================================
   Hero — §8.6, dark for drama
   ========================================================================== */

.hero {
  background: var(--char);
  color: var(--on-dark);
  padding: 6rem 0 6.5rem;
  overflow: hidden;
}

.hero h1 {
  color: var(--on-dark);
  max-width: 16ch;
}

.hero .lede {
  color: var(--on-dark-dim);
  margin-top: 1.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9375rem;
  color: var(--on-dark-dim);
  max-width: 34rem;
}

/* Reel frame — 9:16, the flagship delivery format. Holds a muted looping
   <video> once real work exists (§8.6/§8.7); until then it renders the
   honest placeholder below rather than stock footage. */
.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  /* margin-left:auto suppresses grid stretch, so the width has to be
     stated explicitly — the frame holds only absolutely-positioned
     children and would otherwise collapse to nothing. */
  width: 100%;
  max-width: 17.5rem;
  margin-left: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(232, 134, 46, 0.22), transparent 60%),
    linear-gradient(160deg, #23262d, #16181c 70%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem 1.5rem;
}

.reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sound toggle — the clips have to autoplay muted (every browser requires it),
   so this button is the only way a visitor ever hears one. Bottom-right, clear
   of the 9:16 badge. The scrim keeps the icon legible over a bright frame;
   on hover it takes the amber fill with near-black type, per the §8.9 contrast
   rule that amber never sets type on a light ground. */
.video-sound {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(242, 242, 240, 0.28);
  background: rgba(22, 24, 28, 0.62);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t);
}

.video-sound:hover {
  background: var(--amber);
  border-color: transparent;
  color: var(--ink);
}

.video-sound:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.video-sound svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Icon follows the button state: crossed-out speaker while muted. */
.video-sound .icon-unmuted,
.video-sound[aria-pressed="true"] .icon-muted {
  display: none;
}

.video-sound[aria-pressed="true"] .icon-unmuted {
  display: block;
}

.reel-play {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--amber);
  display: grid;
  place-items: center;
  flex: none;
}

.reel-play svg {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--ink);
  margin-left: 3px;
}

.reel-label {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--on-dark-dim);
  margin: 0;
}

.reel-format {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--on-dark-dim);
  background: rgba(22, 24, 28, 0.7);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* ==========================================================================
   Stat / fact strip — §8.3 allows prominent numeric treatment here
   ========================================================================== */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.fact {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

/* Scoped as .fact .fact-value so it outranks the .fact p rule below —
   otherwise the stat renders at body size. */
.fact .fact-value {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.fact-value small {
  font-size: 1.25rem;
  color: var(--ink-light);
}

.fact p {
  color: var(--ink-light);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Numbered steps — "How it works"
   ========================================================================== */

.steps {
  counter-reset: step;
  display: grid;
  gap: var(--gutter);
  grid-template-columns: repeat(3, 1fr);
}

.step {
  counter-increment: step;
  padding-top: 2rem;
  border-top: 2px solid var(--ink);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.section-dark .step {
  border-top-color: var(--amber);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--ink-light);
  font-size: 0.9375rem;
}

.section-dark .step p {
  color: var(--on-dark-dim);
}

/* Vertical variant for the full workflow page */
.steps-stacked {
  grid-template-columns: 1fr;
  gap: 0;
}

.steps-stacked .step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.steps-stacked .step::before {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--steel);
}

.steps-stacked .step:last-child {
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   Pricing — §8.5: two columns, Growth emphasised in steel blue
   ========================================================================== */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.plan-featured {
  border: 2px solid var(--steel);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -0.875rem;
  left: 2.5rem;
  background: var(--steel);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
}

.plan-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 0.375rem;
}

.plan-kicker {
  font-size: 0.9375rem;
  color: var(--ink-light);
  margin-bottom: 1.75rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.plan-price span {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-light);
}

.plan-unit {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-alt);
  border-radius: 4px;
  padding: 0.375rem 0.625rem;
  margin-bottom: 2rem;
}

.plan-featured .plan-unit {
  background: rgba(62, 92, 118, 0.12);
  color: var(--steel);
}

.plan ul {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.plan li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.plan li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green);
  margin-top: 0.125rem;
  flex: none;
}

.plan .btn {
  margin-top: auto;
}

/* When a card carries the ad-spend note, that block absorbs the slack so the
   two cards' buttons still line up on desktop. */
.plan .allin-inline {
  margin-top: auto;
}

.plan .allin-inline + .btn {
  margin-top: 1.75rem;
}

.plan-terms {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-light);
  text-align: center;
}

/* All-in cost callout — §8.5. The fee alone is never the number a contractor
   pays, so fee + spend + total travel together everywhere the price appears.
   Deliberately not muted: §8.1.5 makes the money a design element, and
   grey-on-grey here reads as something being hidden. */
.allin {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.allin-op {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-light);
}

.allin-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  margin-bottom: 0.375rem;
}

.allin-value {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

.allin-value small {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-light);
  margin-top: 0.25rem;
}

.allin-total .allin-value {
  color: var(--steel);
}

.section-dark .allin,
.hero .allin,
.cta-band .allin {
  background: var(--char-soft);
  border-color: var(--line-dark);
}

.section-dark .allin-value,
.hero .allin-value,
.cta-band .allin-value {
  color: var(--on-dark);
}

.section-dark .allin-label,
.section-dark .allin-value small,
.section-dark .allin-op,
.hero .allin-label,
.hero .allin-value small,
.hero .allin-op,
.cta-band .allin-label,
.cta-band .allin-value small,
.cta-band .allin-op {
  color: var(--on-dark-dim);
}

.section-dark .allin-total .allin-value,
.hero .allin-total .allin-value,
.cta-band .allin-total .allin-value {
  color: var(--amber);          /* steel fails on charcoal; amber is 6.4:1 */
}

/* Compact variant for inside a pricing card */
.allin-inline {
  display: block;
  border: 0;
  border-top: 1px dashed var(--line);
  border-radius: 0;
  padding: 1.25rem 0 0;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-light);
}

.allin-inline strong {
  color: var(--ink);
}

.allin-inline .allin-sum {
  display: block;
  margin-top: 0.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ==========================================================================
   Guarantee block — §8.5. Its own full-width component, green accent, short
   enough to be read on a phone without scrolling past it.

   CONTRAST: --green is 3.9:1 on --paper. That clears AA for large text and
   for non-text UI, and fails it for body copy — so green sets the headline
   and the borders here, never the paragraph.
   ========================================================================== */

.guarantee {
  background: rgba(63, 143, 95, 0.07);
  border-top: 1px solid rgba(63, 143, 95, 0.28);
  border-bottom: 1px solid rgba(63, 143, 95, 0.28);
  padding: 4.5rem 0;
}

.guarantee-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.guarantee-mark {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  flex: none;
}

.guarantee-mark svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #fff;
}

.guarantee h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--green);
  margin-bottom: 0.5rem;
}

.guarantee p {
  color: var(--ink);
  max-width: 46rem;
  margin: 0;
}

.guarantee .btn-row {
  margin-top: 0;
}

/* ==========================================================================
   Before/after showcase — §8.5, the real-footage differentiator.
   The "before" is deliberately unpolished (§8.6): the contrast between a
   phone snapshot and the finished ad is the sales argument, so don't
   prettify the left-hand side.
   ========================================================================== */

.showcase {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2.5rem;
}

.showcase-arrow {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--amber);
  flex: none;
}

.section-dark .showcase-arrow,
.hero .showcase-arrow {
  border-color: var(--line-dark);
}

.showcase-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.showcase-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  color: var(--steel);
}

.section-dark .showcase-label,
.hero .showcase-label {
  color: var(--on-dark-dim);
}

.section-dark .showcase-after .showcase-label,
.hero .showcase-after .showcase-label {
  color: var(--amber);
}

/* Raw phone photos — a loose, slightly untidy tile grid on purpose.
   Two columns because the set is four shots of one job (before, tear-off,
   cleanup, finished): 2x2 keeps them big enough to actually read the roof,
   which is the whole before/after argument, and avoids orphaning a fourth
   tile on a second row. */
.showcase-raw {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}

.showcase-raw span {
  /* Portrait, because that is how the source material actually arrives —
     these are photos off a phone, not landscape stills. */
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: #eceae6;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-align: center;
  padding: 0.25rem;
}

.section-dark .showcase-raw span,
.hero .showcase-raw span {
  background: linear-gradient(150deg, #2b2f36, #1c1f25);
  border-color: var(--line-dark);
  color: rgba(242, 242, 240, 0.45);
}

/* A tile holding a real photo drops the placeholder caption padding and
   lets the image bleed to the edges. */
.showcase-raw span:has(img) {
  padding: 0;
}

.showcase-raw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-raw span:nth-child(3n + 2) {
  transform: rotate(-1.2deg);
}

.showcase-raw span:nth-child(4n) {
  transform: rotate(0.9deg);
}

/* Finished ad frame, 9:16 like the delivered file */
.showcase-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 14rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(232, 134, 46, 0.24), transparent 62%),
    linear-gradient(165deg, #262a31, #16181c 72%);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
}

.showcase-frame video,
.showcase-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-frame p {
  font-size: 0.8125rem;
  color: var(--on-dark-dim);
  margin: 0;
}

/* ==========================================================================
   Portfolio — §8.5: thumbnail dominant, hover reveals a watch affordance
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(62, 92, 118, 0.35), transparent 65%),
    linear-gradient(165deg, #262a31, #16181c 72%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform var(--t), box-shadow var(--t);
}

.work-card:hover .work-thumb,
.work-card:focus-visible .work-thumb {
  transform: scale(1.02);          /* §8.8 — subtle scale on hover */
  box-shadow: var(--shadow-lift);
}

.work-thumb video,
.work-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-empty {
  text-align: center;
  padding: 2rem;
  color: var(--on-dark-dim);
  font-size: 0.875rem;
  line-height: 1.5;
}

.work-empty strong {
  display: block;
  color: var(--on-dark);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.work-meta strong {
  font-weight: 600;
}

.work-meta span {
  color: var(--ink-light);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Format chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-light);
}

.section-dark .chip,
.hero .chip {
  background: var(--char-soft);
  border-color: var(--line-dark);
  color: var(--on-dark-dim);
}

/* ==========================================================================
   FAQ — native <details> keeps it keyboard-accessible with no JS
   ========================================================================== */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0;
  cursor: pointer;
  list-style: none;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq .faq-body {
  padding: 0 0 1.75rem;
  max-width: 44rem;
  color: var(--ink-light);
}

/* ==========================================================================
   Forms — §8.5: short, single-column, large targets
   ========================================================================== */

.form-field {
  margin-bottom: 1.5rem;
}

/* Honeypot. Positioned off-screen rather than display:none — the field has to
   look real enough to a form-filling bot to be worth filling in. Paired with
   aria-hidden and tabindex="-1" on the markup so no real visitor reaches it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-field .hint {
  font-weight: 400;
  color: var(--ink-light);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 27, 30, 0.22);
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color var(--t);
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: rgba(26, 27, 30, 0.4);
}

.radio-row {
  display: grid;
  gap: 0.75rem;
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 1rem;
  border: 1px solid rgba(26, 27, 30, 0.22);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-size: 0.9375rem;
  transition: border-color var(--t), background var(--t);
}

.radio-card:hover {
  border-color: var(--ink);
}

.radio-card input {
  margin: 0.2rem 0 0;
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--amber);
  flex: none;
}

.radio-card:has(input:checked) {
  border-color: var(--amber);
  background: rgba(232, 134, 46, 0.06);
}

.radio-card span small {
  display: block;
  color: var(--ink-light);
  font-size: 0.8125rem;
}

.notice {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  background: #fff;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-light);
}

.notice strong {
  color: var(--ink);
}

.notice-success {
  border-left-color: var(--green);
}

/* ==========================================================================
   Prose (legal pages)
   ========================================================================== */

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
}

.prose h3 {
  font-size: 1.125rem;
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--ink-light);
}

.prose ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   Final CTA band + footer — §8.5: dark footer, contact prominent
   ========================================================================== */

.cta-band {
  background: var(--char);
  color: var(--on-dark);
  padding: 6rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--on-dark);
  max-width: 18ch;
  margin: 0 auto 1.25rem;
}

.cta-band p {
  color: var(--on-dark-dim);
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.125rem;
}

.cta-band .btn-row {
  justify-content: center;
}

.site-footer {
  background: var(--char);
  color: var(--on-dark);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--line-dark);
}

.site-footer .brand {
  color: var(--on-dark);
  margin-bottom: 1rem;
}

.site-footer .brand em {
  color: var(--on-dark-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-blurb {
  color: var(--on-dark-dim);
  font-size: 0.9375rem;
  max-width: 22rem;
}

.footer-email {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

.footer-grid h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-dark-dim);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-grid ul a {
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--on-dark-dim);
  transition: color var(--t);
}

.footer-grid ul a:hover {
  color: var(--on-dark);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--on-dark-dim);
}

/* ==========================================================================
   Responsive — §8.9 mobile-first in priority, desktop-down in source
   ========================================================================== */

@media (max-width: 1000px) {
  .hero-grid,
  .grid-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero h1 {
    max-width: 100%;
  }

  .reel {
    margin: 0 auto;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 4rem 0;
  }

  .section-tight,
  .cta-band {
    padding: 4rem 0;
  }

  .page-head {
    padding: 3rem 0 2.5rem;
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  .hero {
    padding: 3.5rem 0 4rem;
  }

  h2 { font-size: 1.625rem; }   /* 26px floor — §8.3 mobile scale */

  .grid-2,
  .grid-3,
  .grid-4,
  .facts,
  .steps,
  .pricing {
    grid-template-columns: 1fr;
  }

  /* The all-in callout reads as fee / spend / total stacked, so the "+" and
     "=" become row separators rather than columns. */
  .allin {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }

  .allin-op {
    display: none;
  }

  .allin > div + div {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }

  .section-dark .allin > div + div,
  .hero .allin > div + div,
  .cta-band .allin > div + div {
    border-top-color: var(--line-dark);
  }

  .guarantee {
    padding: 3.5rem 0;
  }

  .guarantee-inner {
    grid-template-columns: auto 1fr;
    gap: 1.25rem 1.5rem;
  }

  .guarantee-inner .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
  }

  .showcase > div {
    width: 100%;
  }

  .showcase-arrow {
    transform: rotate(90deg);
  }

  .showcase-frame {
    margin: 0 auto;
  }

  .plan {
    padding: 2rem;
  }

  .plan-badge {
    left: 2rem;
  }

  .steps-stacked .step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 2rem 0;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta-wrap {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.open .nav-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.5rem;
  }

  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header.open .nav-links a {
    padding: 0.875rem 0;             /* ≥44px touch target */
    font-size: 1rem;
  }

  .site-header.open .nav-cta-wrap {
    display: block;
    margin-top: 0.75rem;
  }

  .site-header.open .nav-cta {
    width: 100%;
    min-height: 3rem;                /* comfortably clear of the 44px floor */
  }

  .work-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .btn-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
