/* =====================================================================
   Web Leads Made Easy — Websites for service trades
   Mobile-first: base styles are the 375px layout; every media query is
   min-width (640 / 768 / 1024 / 1280). WCAG 2.2 AA throughout.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces and ink */
  --charcoal: #1A191D;      /* dark sections, cards, footer, phone body, body text on white */
  --ink: #0C0C0E;           /* utility bar, work-section field, phone island, chip base */
  --white: #FFFFFF;
  --light: #F5F5F5;         /* input fills, pricing note band */
  --screen-slate: #26252B;  /* placeholder field on dark: "asset goes here" */

  /* Blues. Two custom properties enforce the contrast rule. */
  --brand-blue: #278AD5;    /* LINE + LARGE: borders, video frame, prices, blue strip field */
  --deep-blue: #0170B9;     /* FILL + SMALL: solid buttons, angled tags, small blue text on light, focus ring */
  --deep-blue-hover: #015A95;   /* solid button hover/active on every surface; white on it 7.3:1 */
  --blue-on-light: var(--deep-blue);
  --blue-on-dark: var(--brand-blue);

  /* Secondary text */
  --body-gray: #4B4F58;                    /* 8.2:1 on white */
  --text-on-dark-2: rgba(255,255,255,.82); /* 12:1 on charcoal */

  /* Hairlines: decorative only, never the sole boundary of a control */
  --hairline-light: #CCD6DF;
  --hairline-dark: #2E2D33;
  --rule-dark: rgba(255,255,255,.12);
  --chip-border: rgba(255,255,255,.30);

  /* Overlays over media placeholders */
  --overlay-hero: rgba(26,25,29,.88);
  --overlay-hero-lo: rgba(26,25,29,.65);
  --overlay-contact: rgba(26,25,29,.75);
  --overlay-process: rgba(26,25,29,.80);
  --ghost-fill: rgba(26,25,29,.68);
  --form-card: rgba(26,25,29,.92);

  /* Focus ring: white / deep-blue / white sandwich, visible on every surface */
  --focus-outline: 3px solid var(--deep-blue);
  --focus-offset: 2px;
  --focus-halo: 0 0 0 8px #FFFFFF;

  /* Type */
  --ff-display: 'Work Sans', Arial, Helvetica, sans-serif;
  --ff-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-h1: clamp(38px, 28px + 2.5vw, 60px);
  --fs-h2: clamp(30px, 22px + 2vw, 46px);
  --fs-h3: clamp(22px, 19px + 0.6vw, 26px);
  --fs-price: clamp(52px, 40px + 2vw, 64px);
  --fs-num: clamp(40px, 32px + 2vw, 56px);
  --fs-body: clamp(16px, 15.5px + 0.15vw, 17px);
  --fs-btn: 17px;
  --fs-strip: 20px;   /* never lower: large-text threshold for white on #278AD5 */
  --fs-nav: 14px;
  --fs-nav-m: 20px;
  --fs-small: 12px;

  /* Geometry */
  --container: 1140px;
  --gutter: 16px;
  --phone-radius: 26px;
  --video-radius: 5px;
  --callbar-h: 57px; /* 6 + 44 + 6 padding/button + 1px top border */
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 500 var(--fs-body)/1.6 var(--ff-body);
  color: var(--charcoal);
  background: var(--white);

}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
.icon { width: 18px; height: 18px; flex: none; }

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
  box-shadow: var(--focus-halo);
}
:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; top: -100px; left: 8px; z-index: 100;
  padding: 12px 16px; background: var(--deep-blue); color: #fff;
  font: italic 700 var(--fs-btn)/1 var(--ff-display); text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 8px; }
main:focus { outline: none; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: 64px 0; }
section[id] { scroll-margin-top: 24px; }
.surface-dark { background: var(--charcoal); color: #fff; }

/* ---------- 4. Type ---------- */
h1, h2, h3 {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 18ch; }
h1, h2 { text-wrap: balance; }   /* no one-word last lines; browsers without it wrap as before */
h3 { font-size: var(--fs-h3); line-height: 1.15; }
.lead { max-width: 60ch; margin-top: 24px; }

/* ---------- 5. Components ---------- */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  width: 100%; min-height: 44px; min-width: 44px; padding: 12px 24px;
  border: 2px solid var(--brand-blue); border-radius: 0;
  background: transparent; color: #fff;
  font: italic 700 var(--fs-btn)/1 var(--ff-display);
  text-transform: uppercase; letter-spacing: -0.01em; text-decoration: none;
  cursor: pointer;
  transition: background-color .12s, border-color .12s, color .12s;
}
.btn--solid { background: var(--deep-blue); border-color: var(--deep-blue); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--deep-blue-hover); border-color: var(--deep-blue-hover); color: #fff; }
.btn--ghost { color: #fff; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--deep-blue); border-color: var(--deep-blue); color: #fff; }
.btn--ghost-light { color: var(--charcoal); }
.btn--ghost-dark { background: var(--ghost-fill); box-shadow: 0 6px 7px rgba(0,0,0,.5); }
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible { background: var(--deep-blue); border-color: var(--deep-blue); }
.btn--ghost-dark:focus-visible { box-shadow: var(--focus-halo), 0 6px 7px rgba(0,0,0,.5); }
.btn--inverse { background: var(--charcoal); border-color: #fff; }
.btn--inverse:hover, .btn--inverse:focus-visible { background: #fff; color: var(--charcoal); }
.btn:disabled { cursor: default; opacity: .7; }

/* Angled tag (pricing, job cards). One height everywhere. */
.tag {
  display: inline-block; align-self: flex-start;
  height: 28px; padding: 0 28px 0 12px; margin: 0;
  background: linear-gradient(115deg, var(--deep-blue) calc(100% - 18px), transparent calc(100% - 18px));
  color: #fff;
  font: italic 800 13px/28px var(--ff-display);
  text-transform: uppercase; letter-spacing: .04em;
  white-space: normal; max-width: 100%;
}

/* Chips (scope list, legend) */
.chip {
  display: inline-block; padding: 4px 8px;
  border: 1px solid var(--chip-border);
  font: 700 var(--fs-small)/1 var(--ff-body);
  text-transform: uppercase; letter-spacing: .04em;
  color: #fff;
}
.chip--light { background: var(--charcoal); border-color: var(--charcoal); }

/* Placeholder: one language sitewide. Three-tone hierarchy: ink section / charcoal card / slate slot. */
.ph {
  position: relative;
  background-color: var(--screen-slate);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 6px, transparent 6px 12px);
  outline: 1px dashed rgba(255,255,255,.3);
  outline-offset: -12px;
  color: rgba(255,255,255,.7);
}
.ph__label {
  display: block; padding: 12px 16px;
  font: 700 var(--fs-small)/1.3 var(--ff-body);
  text-transform: uppercase; letter-spacing: .04em;
}
.ph--media { position: absolute; inset: 0; }
.ph--media .ph__label { position: absolute; right: 0; bottom: 0; z-index: 2; max-width: 32ch; text-align: right; }
.ph--logo-client { width: 160px; height: 48px; margin-top: 24px; outline-offset: -8px; }
.ph--logo-client .ph__label { padding: 6px 10px; font-size: 9px; }
.ph--video { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; aspect-ratio: 16/9; text-align: center; }
.ph--video .ph__label { max-width: 40ch; }
.ph__play { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 2px solid rgba(255,255,255,.5); border-radius: 50%; }
.ph__play .icon { width: 24px; height: 24px; margin-left: 3px; }

/* ---------- 6. Header ---------- */
.site-header { position: relative; z-index: 10; }
.util {
  background: var(--ink); color: #fff;
  font: 700 var(--fs-small)/1 var(--ff-body);
  text-transform: uppercase; letter-spacing: .04em;
}
.util__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.util a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: #fff; text-decoration: none; white-space: nowrap; }
.util a:hover { text-decoration: underline; text-underline-offset: 4px; }
.util .icon { width: 14px; height: 14px; }
.util .util__mail { display: none; }
.util__hours { white-space: nowrap; }

.bar { background: var(--charcoal); color: #fff; }
.bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 64px; }
.logo { display: block; text-decoration: none; }
.logo__img { display: block; width: auto; height: 36px; }
.bar__controls { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 2px solid var(--brand-blue); color: #fff;
}
.icon-btn .icon { width: 20px; height: 20px; }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  background: transparent; border: 2px solid var(--brand-blue); color: #fff;
  font: 700 var(--fs-small)/1 var(--ff-body); text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer;
}
.js .nav-toggle { display: inline-flex; }
.nav-toggle .icon { width: 20px; height: 20px; }

/* Drawer: in-flow disclosure that pushes the page down. Without JS it renders open. */
.nav-wrap { flex-basis: 100%; width: 100%; }
.js .nav-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease-out; }
.js .nav-wrap > * { overflow: hidden; visibility: hidden; transition: visibility .2s; }
.js .site-header.is-open .nav-wrap { grid-template-rows: 1fr; }
.js .site-header.is-open .nav-wrap > * { visibility: visible; }
.nav { min-height: 0; }
.js .nav { padding: 10px 10px 4px; } /* keeps the focus ring inside the clipped drawer */
.nav__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline-dark); }
.nav__list a {
  display: flex; align-items: center; min-height: 56px; padding: 0 4px;
  border-bottom: 1px solid var(--hairline-dark);
  color: #fff; text-decoration: none;
  font: italic 800 var(--fs-nav-m)/1 var(--ff-display); text-transform: uppercase; letter-spacing: -0.01em;
}
.nav__list a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--brand-blue); text-underline-offset: 4px; }
.nav__cta { margin: 16px 0; background: var(--deep-blue); border-color: var(--deep-blue); }
.nav__cta:hover, .nav__cta:focus-visible { background: var(--deep-blue-hover); border-color: var(--deep-blue-hover); }

/* Mobile bottom call bar */
.callbar { display: none; }
.js .callbar {
  display: flex; gap: 8px;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
  background: var(--charcoal); border-top: 1px solid var(--hairline-dark);
  transform: translateY(100%); visibility: hidden;
  transition: transform .15s ease-out, visibility .15s;
}
.js .callbar.is-visible { transform: none; visibility: visible; }
.callbar .btn { flex: 1; width: auto; min-height: 44px; padding: 10px 12px; }
html.has-callbar { scroll-padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); }
html.has-callbar body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 560px; overflow: hidden;
  background: var(--charcoal); color: #fff;
}
.hero__overlay { position: absolute; inset: 0; background: var(--overlay-hero); }
.hero__inner { position: relative; z-index: 3; display: flex; flex-direction: column; padding-top: 48px; padding-bottom: 88px; }
.hero .lead { order: 3; }          /* mobile: offer line + buttons sit directly under the H1, lead below them */
.hero__offer { order: 1; margin-top: 20px; font-weight: 700; }
.hero__actions { order: 2; margin-top: 16px; }
.hero .lead { color: #fff; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* ---------- 8. Strips ---------- */
.strip { color: #fff; }
.strip--charcoal { background: var(--charcoal); border-top: 1px solid var(--hairline-dark); }
.strip--blue { background: var(--brand-blue); }
.strip__inner { display: flex; flex-direction: column; gap: 16px; min-height: 56px; padding-top: 16px; padding-bottom: 16px; }
.strip__line { flex: 1; min-width: 0; font: italic 800 var(--fs-strip)/1.2 var(--ff-display); text-transform: uppercase; letter-spacing: -0.01em; }
.strip .btn { flex: none; white-space: nowrap; }
.strip__line a { color: #fff; text-underline-offset: 4px; white-space: nowrap; }
.strip--blue .btn--inverse:hover, .strip--blue .btn--inverse:focus-visible { border-color: #fff; }

/* ---------- 9. Work (signature) ---------- */
.work { padding: 80px 0; background: var(--ink); color: #fff; }
.work__head { margin-bottom: 40px; }
.work__more { margin-top: 12px; }
.work__more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 var(--fs-small)/1.3 var(--ff-body); text-transform: uppercase; letter-spacing: .04em; color: var(--blue-on-dark); }
.work__more .icon { width: 16px; height: 16px; }
.work__status { min-height: 1.3em; margin-top: 12px; font: 700 var(--fs-small)/1.3 var(--ff-body); text-transform: uppercase; letter-spacing: .04em; color: var(--blue-on-dark); }

.jobs { display: grid; gap: 2px; align-items: stretch; margin: 0; padding: 0; list-style: none; background: var(--ink); }
.job { display: flex; flex-direction: column; min-width: 0; background: var(--charcoal); }
/* Four cards visible below 768 until the reveal; only when JS runs (cards 5 and up hide; data-count is the total). */
.js .jobs:not(.is-expanded) .job:nth-child(n+5) { display: none; }
.jobs__foot { margin-top: 24px; }
.jobs__reveal { display: none; }
.js .jobs__reveal { display: inline-flex; min-height: 48px; }

.scene { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ink); }
.scene__ph { position: absolute; inset: 0; }
.scene__ph .ph__label { max-width: 76%; font-size: 11px; }
/* Path B scene (README "Dropping real assets in"): the photo was generated with the phone and its screen in it,
   so it is the whole visual and links to the live site the way the phone screen does. */
.scene__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.scene__link { position: absolute; inset: 0; z-index: 1; display: block; } /* empty, aria-hidden overlay: the tap target */
.job:hover .scene__photo, .job:focus-within .scene__photo { transform: scale(1.03); }

/* The phone: a CSS object, not an image. Position/rotation per scene via custom properties. */
.phone {
  position: absolute; z-index: 2;
  left: var(--phone-x); top: var(--phone-y); width: var(--phone-w);
  aspect-ratio: 9/19.5;
  transform: rotate(var(--phone-rot)) translateZ(0);
  transform-origin: 50% 50%;
  padding: 8px;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--phone-radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 18px 30px rgba(0,0,0,.55);
  transition: transform .22s ease-out, box-shadow .22s ease-out, border-color .12s;
}
.phone::before { /* island */
  content: ''; position: absolute; top: 14px; left: 50%; z-index: 2;
  width: 24px; height: 6px; transform: translateX(-50%);
  background: var(--ink); border-radius: 3px;
}
.phone::after { /* side button */
  content: ''; position: absolute; right: -3px; top: 22%;
  width: 2px; height: 11%; background: var(--ink); border-radius: 1px;
}
.phone__screen {
  display: block; position: relative; width: 100%; height: 100%;
  border-radius: 18px; overflow: hidden; background: var(--screen-slate);
}
.phone__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ph--screen { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; outline-offset: -8px; text-align: center; }
.ph--screen .ph__label { padding: 8px; font-size: 10px; }
.job:hover .phone, .job:focus-within .phone {
  transform: rotate(var(--phone-rot)) translateY(-6px) scale(1.03) translateZ(0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 26px 40px rgba(0,0,0,.65);
}
.job[data-phone="in-photo"] .phone { display: none; }

/* Phone geometry (percent of scene). Portrait 4:5 scenes: the phone starts below the 2-line label and stays inside
   the scene from 320px up (checked by tools/behave.mjs). Path A cards only; every current card is a path B photo. */
.job[data-scene="counter"]     { --phone-w: 37%; --phone-x: 30%; --phone-y: 20%; --phone-rot: -7deg; }
.job[data-scene="cab"]         { --phone-w: 37%; --phone-x: 14%; --phone-y: 20%; --phone-rot: -8deg; }
.job[data-scene="sawhorse"]    { --phone-w: 37%; --phone-x: 32%; --phone-y: 20%; --phone-rot: 4deg; }
.job[data-scene="stump"]       { --phone-w: 37%; --phone-x: 28%; --phone-y: 20%; --phone-rot: -5deg; }
.job[data-scene="desk"]        { --phone-w: 37%; --phone-x: 34%; --phone-y: 20%; --phone-rot: 6deg; }
.job[data-scene="log"]         { --phone-w: 37%; --phone-x: 30%; --phone-y: 20%; --phone-rot: -3deg; }

.job__body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 20px 20px 24px; }
.job__main, .job__aside { display: flex; flex-direction: column; gap: 12px; }
.job__aside { flex: 1; }
.job h3 .tag { display: inline-block; max-width: 100%; margin-bottom: 12px; font-size: 13px; line-height: 28px; letter-spacing: .04em; white-space: normal; }
.job h3 .job__name { display: block; }
.job__aside .btn { margin-top: auto; }

/* ---------- 10. Build (the legend) ---------- */
.build__grid { display: grid; gap: 40px; }
.legend { display: grid; }
.legend__item { padding: 24px 0; border-bottom: 1px solid var(--hairline-light); }
.legend__item:first-child { padding-top: 0; }
.legend__item:last-child { border-bottom: 0; }
.legend dt { margin-bottom: 12px; }
.legend dd { max-width: 60ch; }

/* ---------- 11. Pricing ---------- */
.tiers { display: grid; gap: 16px; margin-top: 40px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 32px 20px; }
.tier__price { font: italic 800 var(--fs-price)/1 var(--ff-display); color: var(--brand-blue); margin-top: 8px; }
.tier__per { font-size: .4em; letter-spacing: 0; }
.tier__term, .tier__care { font: 700 var(--fs-small)/1.3 var(--ff-body); text-transform: uppercase; letter-spacing: .04em; }
.tier__care { color: var(--text-on-dark-2); }
.tier .btn { margin-top: auto; padding-left: 12px; padding-right: 12px; }
.tier__care { margin-bottom: 16px; }
.pricing__note { margin-top: 24px; padding: 16px; background: var(--light); color: var(--body-gray); font-size: 15px; line-height: 1.5; }

/* ---------- 12. Process ---------- */
.process { position: relative; overflow: hidden; }
.process__overlay { position: absolute; inset: 0; background: var(--overlay-process); }
.process > .container { position: relative; z-index: 3; }
.process__head { text-align: center; margin-bottom: 40px; }
.process__head h2 { margin-inline: auto; }
.steps { list-style: none; margin: 0; padding: 24px; background: var(--charcoal); counter-reset: step; }
.step { counter-increment: step; padding: 24px 0; border-top: 1px solid var(--rule-dark); }
.step:first-child { padding-top: 0; border-top: 0; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 8px;
  font: italic 800 var(--fs-num)/1 var(--ff-display); color: var(--brand-blue);
}
.step h3 { margin-bottom: 8px; font-size: 15px; letter-spacing: .02em; }
.step p { max-width: 44ch; }

/* ---------- 13. Proof ---------- */
.proof { overflow-x: clip; }
.proof__grid { display: grid; }
.proof__light { padding: 64px 0; }
.proof__dark { position: relative; padding: 64px 0; }
.proof__dark::before { content: ''; position: absolute; top: 0; bottom: 0; left: -100vw; right: -100vw; background: var(--charcoal); }
.proof__dark > * { position: relative; z-index: 1; }
.ratings { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.rating { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.rating > .icon { width: 22px; height: 22px; }
.rating__stars { display: inline-flex; gap: 2px; color: var(--brand-blue); }
.rating__stars .icon { width: 16px; height: 16px; }
.video-frame { border: 6px solid var(--brand-blue); border-radius: var(--video-radius); overflow: hidden; background: var(--screen-slate); }
.video__caption { margin-top: 12px; font-size: 15px; }
.transcript summary { cursor: pointer; min-height: 24px; text-decoration: underline; text-underline-offset: 4px; }
.transcript p { margin-top: 8px; color: var(--text-on-dark-2); }
.quote { margin-top: 24px; font-size: 18px; line-height: 1.5; }
.quote__name { margin-top: 16px; font: italic 800 20px/1.2 var(--ff-display); text-transform: uppercase; }
.quote__role { color: var(--text-on-dark-2); font-size: 15px; }

/* ---------- 14. Contact ---------- */
.contact { position: relative; overflow: hidden; }
.section.contact { padding-bottom: 112px; }
.contact__overlay { position: absolute; inset: 0; background: var(--overlay-contact); }
.contact__grid { position: relative; z-index: 3; display: grid; gap: 40px; }
.contact .lead { color: #fff; }
.contact__aside { margin-top: 24px; font-weight: 700; }
.contact__aside a { display: inline-block; padding: 2px 0; color: #fff; text-underline-offset: 4px; }
.form-card { padding: 24px; background: var(--form-card); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font: 700 13px/1.3 var(--ff-body); text-transform: uppercase; letter-spacing: .04em; }
.req { font-weight: 500; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 12px;
  background: var(--light); color: var(--charcoal);
  border: 1px solid var(--hairline-light); border-radius: 0;
  font: 500 16px/1.4 var(--ff-body);
}
.field textarea { min-height: 120px; padding: 12px; resize: vertical; }
.field select {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231A191D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field--consent { grid-template-columns: 24px 1fr; gap: 6px 12px; align-items: start; }
.field--consent input { width: 24px; height: 24px; min-height: 0; margin: 0; accent-color: var(--deep-blue); }
.field--consent label { font: 500 15px/1.5 var(--ff-body); text-transform: none; letter-spacing: 0; }
.field--consent label a { color: #fff; text-underline-offset: 3px; }
.field--consent .error, .field--consent .help { grid-column: 1 / -1; }
.help { color: var(--text-on-dark-2); font-size: 14px; line-height: 1.4; }
.error { padding-left: 8px; border-left: 2px solid var(--brand-blue); font-size: 14px; line-height: 1.4; }
.field [aria-invalid="true"] { border: 2px solid var(--brand-blue); }
.form__status { min-height: 1.5em; font-weight: 700; }
.form__status a { color: #fff; }
.form__next { color: var(--text-on-dark-2); font-size: 14px; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 14b. FAQ (native details, no JS) ---------- */
.faq__list { margin-top: 32px; border-top: 1px solid var(--hairline-light); }
.faq__item { border-bottom: 1px solid var(--hairline-light); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 16px 0; cursor: pointer; list-style: none;
  font: italic 800 var(--fs-h3)/1.2 var(--ff-display); text-transform: uppercase; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 22px; height: 22px; color: var(--blue-on-light); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--blue-on-light); }
.faq__answer { max-width: 65ch; padding: 0 0 24px; }
.faq__answer p + p { margin-top: 12px; }
.faq__answer a:not(.btn) { color: var(--blue-on-light); }
.faq__item summary h3 { font: inherit; margin: 0; }
.faq__foot { margin-top: 32px; font-weight: 700; }
.faq__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
@media (min-width: 768px) { .faq__actions { flex-direction: row; } }

/* ---------- 15. Footer ---------- */
.site-footer { padding: 64px 0 48px; }
.footer__grid { display: grid; }
.footer__col { padding: 24px 0; border-top: 1px solid var(--hairline-dark); }
.footer__brand { padding-top: 0; border-top: 0; }
.footer__logo { display: block; width: 200px; max-width: 100%; height: auto; }
.footer__slogan { margin-top: 16px; font: 700 var(--fs-small)/1.4 var(--ff-body); text-transform: uppercase; letter-spacing: .06em; color: var(--blue-on-dark); }
.footer__tagline { margin-top: 8px; color: var(--text-on-dark-2); font-size: 15px; }
.footer__h { margin-bottom: 8px; font: italic 800 13px/1.2 var(--ff-display); text-transform: uppercase; letter-spacing: .02em; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.footer__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__text { min-height: 44px; display: flex; align-items: center; color: var(--text-on-dark-2); }
.footer__bottom { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--hairline-dark); color: var(--text-on-dark-2); font-size: 13px; }
.footer__bottom a { display: inline-block; padding: 4px 0; color: #fff; text-underline-offset: 3px; }
.social { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; }
.social .icon { width: 24px; height: 24px; }

/* ---------- 16. Legal pages ---------- */
.legal { padding: 64px 0; }
.legal__body { max-width: 68ch; }
.legal__updated { margin: 16px 0 32px; color: var(--body-gray); font-weight: 700; font-size: 15px; }
.legal__body h2 { margin: 40px 0 12px; font-size: 26px; max-width: none; }
.legal__body p, .legal__body ul { margin-bottom: 16px; }
.legal__body ul { padding-left: 24px; }
.legal__body a:not(.btn) { color: var(--blue-on-light); }
.legal__note { padding: 16px; margin-bottom: 32px; background: var(--light); color: var(--body-gray); font-size: 15px; }

/* ---------- 17. Inner pages ---------- */
.page-hero { background: var(--charcoal); color: #fff; padding: 56px 0 64px; }
.page-hero .lead { color: #fff; }
.page-hero h1 { max-width: 20ch; }
.breadcrumb { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font: 700 var(--fs-small)/1.3 var(--ff-body); text-transform: uppercase; letter-spacing: .04em; color: var(--text-on-dark-2); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--chip-border); }
.prose { max-width: 68ch; }
.prose h2 { margin: 40px 0 12px; max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 8px; font-size: 20px; }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 6px; }
.prose a:not(.btn) { color: var(--blue-on-light); }
.surface-dark .prose a:not(.btn) { color: #fff; }
.answer { padding: 20px 24px; border-left: 4px solid var(--brand-blue); background: var(--light); margin-bottom: 24px; }
.answer p { margin: 0; }
.answer p + p { margin-top: 8px; }
.pagegrid { display: grid; gap: 40px; }
.compare { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; margin-top: 32px; font-size: 15px; line-height: 1.45; border: 2px solid var(--brand-blue); }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--hairline-light); text-align: center; vertical-align: top; }
.compare th + th, .compare td + td, .compare th + td { border-left: 2px solid var(--brand-blue); }
.compare thead th { background: var(--charcoal); color: #fff; border-bottom: 2px solid var(--brand-blue); font: italic 800 14px/1.3 var(--ff-display); text-transform: uppercase; letter-spacing: .04em; }
.compare thead th:first-child { text-align: left; color: var(--brand-blue); }
.compare tbody th { text-align: left; font-weight: 700; background: var(--light); }
.compare thead th:first-child, .compare tbody th { position: sticky; left: 0; z-index: 1; box-shadow: 2px 0 0 var(--brand-blue); } /* row labels stay put while the table scrolls sideways on phones */
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--blue-on-light); font-weight: 700; }
.compare thead th:first-child, .compare tbody th { width: 132px; padding-left: 12px; padding-right: 12px; }
.compare-wrap { overflow-x: auto; }
.pagelist { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.pagelist li { padding: 12px 16px; border-left: 2px solid var(--brand-blue); background: var(--light); }
.surface-dark .pagelist li { background: rgba(255,255,255,.04); }
.prose .pagelist { padding-left: 0; }
.prose .pagelist li + li { margin-top: 0; }
.pagegrid .pagelist { grid-template-columns: 1fr; }   /* beside another column the cards stay one per row until 1280 */
.pagelist strong { font: italic 800 15px/1.3 var(--ff-display); text-transform: uppercase; letter-spacing: .02em; display: block; margin-bottom: 2px; }
.cta-band { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.jobs--single, .jobs--pair { max-width: none; }
/* Industry pages: one example card lies sideways (scene left, details right); two cards share a row */
@media (min-width: 640px) {
  .jobs.jobs--single { grid-template-columns: 1fr; }
  .jobs.jobs--pair { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .jobs--single .job { flex-direction: row; }
  .jobs--single .scene { flex: 0 0 44%; }
  .jobs--single .job__body { flex: 1; justify-content: center; }
  .jobs--single .job__aside { flex: 0 0 auto; }
  .jobs--single .job__aside .btn { align-self: flex-start; margin-top: 4px; }
}
@media (min-width: 1024px) {
  .jobs.jobs--single { grid-template-columns: 1fr; }
  .jobs.jobs--pair { grid-template-columns: repeat(2, 1fr); }
  .jobs--single .scene { flex-basis: 40%; }
  .jobs--single .job__body { padding: 32px; }
}
@media (min-width: 768px) { .cta-band { flex-direction: row; } .page-hero { padding: 80px 0 88px; } .pagegrid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; } .pagelist { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .page-hero { padding-top: 96px; } }

/* =====================================================================
   Breakpoints (min-width only)
   ===================================================================== */
@media (min-width: 640px) {
  .tier { padding: 32px; }
  .util .util__mail { display: inline-flex; }
  .jobs { grid-template-columns: repeat(2, 1fr); }
  /* Seven cards on two columns leave one over: the last card takes the whole row, laid sideways like the
     single example on the industry pages (scene left, body right). Reset at 1024 where the grid is three wide. */
  .jobs--grid > .job:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .jobs--grid > .job:last-child:nth-child(odd) .scene { flex: 0 0 44%; }
  .jobs--grid > .job:last-child:nth-child(odd) .job__body { flex: 1; justify-content: center; }
  .jobs--grid > .job:last-child:nth-child(odd) .job__aside { flex: 0 0 auto; }
  .jobs--grid > .job:last-child:nth-child(odd) .job__aside .btn { align-self: flex-start; margin-top: 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .tier { padding: 32px; }
  .tier .btn { align-self: flex-start; }   /* full-width cards on tablet: a button sized to its label, not 900px wide */
  .compare { min-width: 720px; }
  .compare thead th:first-child, .compare tbody th { width: auto; padding-left: 16px; padding-right: 16px; }
  :root { --gutter: 24px; }
  .section { padding: 96px 0; }
  .btn { width: auto; }
  .hero__actions { flex-direction: row; order: 3; }
  .hero .lead { order: 1; }
  .hero__offer { order: 2; margin-top: 24px; }
  .hero__inner { padding-top: 64px; }
  .hero h1 { max-width: 28ch; }
  .hero h1 .line { display: block; }
  .strip__inner { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }

  .work { padding: 112px 0; }
  .js .jobs:not(.is-expanded) .job:nth-child(n+5) { display: flex; }
  .js .jobs__reveal { display: none; }
  .js .work.is-filtered .jobs__reveal { display: inline-flex; }
  .job__body { padding: 28px; }
  .job__aside .btn { align-self: flex-start; }

  .steps { display: grid; grid-template-columns: 1fr 1fr; padding: 48px; }
  .step { padding: 0; border-top: 0; }
  .step:nth-child(1) { padding: 0 48px 48px 0; border-right: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
  .step:nth-child(2) { padding: 0 0 48px 48px; border-bottom: 1px solid var(--rule-dark); }
  .step:nth-child(3) { padding: 48px 48px 0 0; border-right: 1px solid var(--rule-dark); }
  .step:nth-child(4) { padding: 48px 0 0 48px; }

  .form { grid-template-columns: 1fr 1fr; }
  .field--full, .form .btn, .form__status, .form__next, .form .hp, .form noscript { grid-column: 1 / -1; }
  /* Side-by-side fields share label / control / helper rows so everything lines up across the two columns */
  .field:not(.field--full) { grid-row: span 4; }
  @supports (grid-template-rows: subgrid) {
    .field:not(.field--full) { grid-template-rows: subgrid; row-gap: 6px; }
    .field:not(.field--full) > label { align-self: end; }
  }
  .form .btn { justify-self: start; }

  .footer__grid { grid-template-columns: 4fr 2fr 2fr 3fr; gap: 32px; }
  .footer__brand { grid-column: auto; }
  .footer__col { padding: 0; border-top: 0; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 48px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; }
  .section { padding: 112px 0; }

  /* Header: utility bar in flow, nav row transparent over the hero */
  .bar { position: absolute; top: 100%; left: 0; right: 0; background: transparent; }
  .bar__inner { flex-wrap: nowrap; min-height: 96px; gap: 32px; }
  .bar__controls { display: none; }
  .logo__img { height: 42px; }
  .nav-wrap, .js .nav-wrap { flex: 1; width: auto; flex-basis: auto; display: flex; grid-template-rows: none; }
  .js .nav-wrap > * { overflow: visible; visibility: visible; }
  .nav { flex: 1; display: flex; align-items: center; gap: 32px; }
  .nav__list { display: flex; gap: 24px; margin-inline: auto; border: 0; }
  .nav__list a { min-height: 44px; padding: 0 2px; border: 0; font-size: var(--fs-nav); }
  .nav__list a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--brand-blue); text-underline-offset: 4px; }
  .nav__cta { margin: 0; background: var(--ghost-fill); border-color: var(--brand-blue); box-shadow: 0 6px 7px rgba(0,0,0,.5); }
  .nav__cta:hover, .nav__cta:focus-visible { background: var(--deep-blue); border-color: var(--deep-blue); }
  .nav__cta:focus-visible { box-shadow: var(--focus-halo), 0 6px 7px rgba(0,0,0,.5); }
  .js .callbar { display: none; }
  .site-header--solid .bar { position: static; background: var(--charcoal); }

  .hero { min-height: 680px; padding-top: 96px; }
  .hero__overlay { background: linear-gradient(90deg, var(--overlay-hero) 0 45%, var(--overlay-hero-lo) 100%); }

  .work { padding: 128px 0; }
  /* Two landscape scenes (cab, sawhorse) span two columns and alternate sides:
     [cab, counter] / [stump, sawhorse] / [desk, log, rock]. Rows one and two = one wide scene + one portrait;
     row three = three portraits, so the seven cards fill the grid. */
  .jobs { grid-template-columns: repeat(3, 1fr); }
  .jobs--grid > .job:last-child:nth-child(odd) { grid-column: auto; flex-direction: column; }
  .jobs--grid > .job:last-child:nth-child(odd) .scene { flex: initial; }
  .jobs--grid > .job:last-child:nth-child(odd) .job__body { justify-content: flex-start; }
  .jobs--grid > .job:last-child:nth-child(odd) .job__aside { flex: 1; }
  .jobs--grid > .job:last-child:nth-child(odd) .job__aside .btn { margin-top: auto; }
  .job--feature { grid-column: span 2; }
  .job--feature .scene { aspect-ratio: 8/5; }
  .job--feature .scene__ph { display: flex; justify-content: flex-end; }
  .job--feature .scene__ph .ph__label { max-width: 46%; text-align: right; }
  .job--feature-r .scene__ph { justify-content: flex-start; }
  .job--feature-r .scene__ph .ph__label { text-align: left; }
  .job--feature[data-scene="cab"]      { --phone-w: 20%; --phone-x: 6%;  --phone-y: 10%; --phone-rot: -8deg; }
  .job--feature[data-scene="sawhorse"] { --phone-w: 20%; --phone-x: 74%; --phone-y: 10%; --phone-rot: 4deg; }
  .jobs__foot { text-align: right; }

  .build__grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .build__intro { position: sticky; top: 32px; }
  .legend { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .legend__item:nth-child(2) { padding-top: 0; }
  .legend__item:nth-last-child(2) { border-bottom: 0; }

  .tiers { grid-template-columns: repeat(3, 1fr); gap: 0; }   /* three plans: 5, 20 and 40 pages */
  .tier { padding: 32px 20px; }
  .tier .btn { align-self: stretch; }
  .tiers .tier + .tier { border-left: 1px solid var(--hairline-dark); }

  .proof__grid { grid-template-columns: 58fr 42fr; }
  .proof__light { padding: 112px 48px 112px 0; }
  .proof__dark { padding: 112px 0 112px 48px; }
  .proof__dark::before { left: 0; }

  .contact { min-height: 700px; }
  .contact__grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .form-card { padding: 32px; }

  .site-footer { padding: 80px 0 56px; }
}

@media (min-width: 1280px) {
  .pagegrid .pagelist { grid-template-columns: 1fr 1fr; }
  .hero__inner { padding-top: 96px; padding-bottom: 96px; }
  .tier { padding: 40px 36px; }
}

/* =====================================================================
   Reduced motion: no transforms, no transitions; affordances survive
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .job:hover .phone, .job:focus-within .phone {
    transform: rotate(var(--phone-rot)) translateZ(0);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 18px 30px rgba(0,0,0,.55);
    border: 2px solid var(--brand-blue);
  }
  .job:hover .scene__photo, .job:focus-within .scene__photo { transform: none; }
}
