/* ==========================================================================
   Elevate Digital Studio: "Midnight" design system (v2.1)
   White header and hero, dark chapters below. See brand/design-system/DESIGN.md.
   ========================================================================== */
:root {
  --paper: #f3f3f0;        /* header, hero, text on dark */
  --white: #ffffff;        /* cards and buttons on dark */
  --ink: #000000;          /* page body */
  --green: #1e5a47;        /* logo, buttons and accents on white */
  --green-hover: #164536;
  --mint: #9fd0bd;         /* signals on black */
  --soft: #c3c8d2;         /* body copy on black */
  --mist: #a4b1b3;         /* secondary text on black */
  --dim: #6f6f6a;          /* quiet words in headings */
  --moss: #4c564b;         /* secondary text on white, hairlines on black */
  --line-dark: #2a2a28;
  --card-1: #9fd0bd;
  --card-2: #dbe8e1;
  --card-3: #b9dccc;
  --card-4: #e5eae6;

  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-body: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1376px;
  --gutter: 32px;
  --chapter: 120px;
  --radius: 16px;
  --header-h: 80px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --chapter: 80px; --header-h: 68px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html.smooth-scroll { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 450;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

a { color: var(--mint); text-underline-offset: 3px; }
a:hover { color: var(--paper); }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.form-card :focus-visible { outline-color: var(--green); }

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

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Shown only when JavaScript runs (they need it to work). */
html:not(.js) .js-only { display: none !important; }

/* ==========================================================================
   Type
   ========================================================================== */
.label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0;
}
.display-lg { font-size: clamp(56px, 7.6vw, 120px); }
.price-xl { font-size: clamp(64px, 7vw, 116px); }
.price-lg { font-size: clamp(52px, 5.6vw, 92px); }

/* Headings ease lighter and wider on hover. */
.swell {
  transition: font-weight 0.45s var(--ease), letter-spacing 0.45s var(--ease);
}
.display .swell:hover,
.display.swell:hover { font-weight: 500; letter-spacing: 0.025em; }

.chapter-title {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.dim { color: var(--dim); }
.lead { font-size: 20px; line-height: 1.45; }
.soft { color: var(--soft); font-size: 18px; }
.muted-dark { color: var(--mist); font-size: 16px; }
.muted { color: var(--moss); }
.kicker { color: var(--mint); }
.center { text-align: center; }
.narrow { max-width: 980px; margin-left: auto; margin-right: auto; }
.section-gap { margin-bottom: 48px; }
.note { margin-top: 20px; font-size: 15px; color: var(--mist); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-hover); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-outline { border: 1.5px solid currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: rgba(0, 0, 0, 0.06); color: var(--ink); }
.btn-outline-light { border: 1.5px solid var(--paper); color: var(--paper); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(0, 0, 0, 0.12); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "nav brand actions";
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand { grid-area: brand; display: block; }
.brand img { height: 44px; width: auto; }

.site-nav { grid-area: nav; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-link.is-active { background: var(--ink); color: var(--paper); }

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s 1s 3;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 90, 71, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(30, 90, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 90, 71, 0); }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .status { display: none; }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand actions" "nav nav";
    row-gap: 0;
  }
  .brand img { height: 38px; }
  .header-actions { gap: 10px; }
  .site-nav ul { padding: 0 0 14px; }

  /* With JavaScript the links collapse behind the menu button. */
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    padding-bottom: 16px;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; padding: 0; }
  .js .nav-link { width: 100%; min-height: 48px; font-size: 17px; }
}

@media (max-width: 420px) {
  .header-actions .btn-sm { padding: 0 14px; }
}

/* ==========================================================================
   Hero and page heroes (the white top of each page)
   ========================================================================== */
.hero,
.page-hero {
  background: var(--paper);
  color: var(--ink);
}
.hero a:not(.btn),
.page-hero a:not(.btn) { color: var(--green); }
.hero a:not(.btn):hover,
.page-hero a:not(.btn):hover { color: var(--ink); }

.hero { padding: 48px 0 72px; text-align: center; }
.hero-title { font-size: clamp(56px, 10vw, 150px); }
.hero-title .swell { display: block; }
.accent-line { color: var(--green); }

.star {
  margin: 36px auto 16px;
  color: var(--green);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-lead { max-width: 620px; margin: 0 auto; color: #2a2f3a; }
.page-hero { padding: 48px 0 80px; }
.page-hero .lead { max-width: 680px; margin-top: 28px; color: #2a2f3a; }
.back-link { display: inline-block; margin-bottom: 28px; text-decoration: none; }
.page-hero .back-link { color: var(--moss); }
.simple-hero { padding: 96px 0 120px; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.marquee:hover { color: var(--paper); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-visible .marquee-track { animation-play-state: paused; }
.marquee-track > span {
  padding-right: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track b { color: var(--mint); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-pill {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  transition: transform 0.3s var(--ease);
}
.marquee:hover .marquee-pill { transform: translateY(-50%) scale(1.06); }

@media (max-width: 760px) {
  .marquee-track > span { font-size: 40px; }
  .marquee-pill { display: none; }
}

/* ==========================================================================
   Chapters (dark sections)
   ========================================================================== */
.chapter { padding: var(--chapter) 0; }
.chapter-tight { padding-top: 40px; }
.chapter .kicker { margin-bottom: 16px; }

.chapter-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.chapter-head > p { max-width: 420px; }
/* Pricing: the intro always sits under the title, whatever the title's length. */
.chapter-head-stacked { flex-direction: column; align-items: flex-start; gap: 16px; }
.chapter-head-stacked > p { max-width: 54ch; }

/* --- Flip cards ---------------------------------------------------------- */
.flip-hint { margin: 20px 0 56px; }
.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  perspective: 1600px;
}
.flip-card {
  position: relative;
  display: block;
  width: 100%;
  height: 400px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.flip-card.is-hinting .flip-inner { animation: nudge 4s var(--ease) infinite; }
@keyframes nudge {
  0%, 70%, 100% { transform: rotateY(0); }
  78% { transform: rotateY(-22deg); }
  86% { transform: rotateY(6deg); }
}
.flip-card:hover .flip-inner { transform: rotateY(-10deg) translateY(-6px); animation: none; }
.flip-card[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); animation: none; }
.flip-card[aria-pressed="true"]:hover .flip-inner { transform: rotateY(170deg) translateY(-6px); }
/* Without JavaScript, cards flip on hover or keyboard focus instead. */
html:not(.js) .flip-card:hover .flip-inner,
html:not(.js) .flip-card:focus-visible .flip-inner { transform: rotateY(180deg); }

.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: var(--radius);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip-front { background: var(--white); }
.flip-back { transform: rotateY(180deg); }
.back-1 { background: var(--card-1); }
.back-2 { background: var(--card-2); }
.back-3 { background: var(--card-3); }
.back-4 { background: var(--card-4); }
.flip-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.flip-title { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.flip-line { font-size: 17px; line-height: 1.45; }
.flip-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.flip-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 1000px) { .flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .flip-grid { grid-template-columns: minmax(0, 1fr); }
  .flip-card { height: 320px; }
}

/* --- Work rows ----------------------------------------------------------- */
.work-rows { list-style: none; border-top: 1.5px solid var(--paper); }
.work-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 208px 56px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1.5px solid var(--paper);
  color: var(--paper);
  text-decoration: none;
}
.work-row:hover { color: var(--mint); }
.work-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.work-name {
  font-size: clamp(40px, 5vw, 76px);
  transition: letter-spacing 0.4s var(--ease), transform 0.4s var(--ease);
}
.work-row:hover .work-name { letter-spacing: 0.02em; transform: translateX(12px); }
.work-cat { color: var(--mist); }
.work-shot {
  display: block;
  padding: 5px;
  border-radius: 10px;
  background: var(--paper);
  transition: transform 0.4s var(--ease);
}
.work-shot-img {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background-color: var(--line-dark);
  background-size: cover;
  background-position: top left;
}
.work-row:hover .work-shot { transform: rotate(-3deg) scale(1.04); }
.work-arrow { color: var(--mint); }

@media (max-width: 760px) {
  .work-row { grid-template-columns: minmax(0, 1fr) 104px 28px; gap: 14px; padding: 24px 0; }
  .work-num { display: none; }
  .work-text { gap: 8px; }
  .work-name { font-size: clamp(30px, 8.5vw, 44px); }
  .work-shot { padding: 3px; border-radius: 8px; }
  .work-shot-img { border-radius: 5px; }
  .work-arrow { width: 28px; height: 28px; }
}

/* --- Before / after ------------------------------------------------------ */
.ba-frame { padding: 14px; border-radius: var(--radius); background: var(--white); }
.ba {
  --pos: 52%;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}
.ba > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ba-old {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px;
  overflow: hidden;
  background: #c0c0c0;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.old-title { font-size: clamp(16px, 2.2vw, 30px); font-weight: 700; color: #800000; text-align: center; }
.old-sub { text-align: center; }
.old-link { color: #0000ee; text-decoration: underline; }
.old-table { flex: 1; display: grid; grid-template-columns: 150px 1fr; gap: 10px; min-height: 0; }
.old-side { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: #000080; color: #ff0; }
.old-uc { margin-top: auto; }
.old-main { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #fff; border: 3px ridge #808080; }
.old-new { color: #f00; }
.old-counter { padding: 2px 6px; background: #000; color: #0f0; font-family: "Courier New", monospace; letter-spacing: 2px; }
.ba-tag {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--green);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%; left: 50%;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba:focus-within { outline: 3px solid var(--mint); outline-offset: 6px; }
html:not(.js) .ba-handle,
html:not(.js) .ba-range { display: none; }

@media (max-width: 560px) {
  .ba-old { padding: 10px; font-size: 10px; }
  .old-table { grid-template-columns: 80px 1fr; }
  .ba-knob { padding: 8px 12px; }
}

/* --- Two ways in --------------------------------------------------------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.path {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 420px;
  padding: 40px;
  border-radius: var(--radius);
}
.path-light { background: var(--white); color: var(--ink); }
.path-outline { border: 1.5px solid var(--paper); }
.path-title { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.path p:not(.label) { font-size: 18px; }
.path ul { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.path .btn { margin-top: auto; align-self: flex-start; }
.path-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.path-actions .btn { margin-top: 0; }

/* --- Pricing teaser ------------------------------------------------------ */
.teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.teaser-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.teaser-copy .soft { max-width: 480px; }
.teaser-copy .display-lg { font-size: clamp(52px, 5.8vw, 96px); }
.teaser-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.teaser-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 340px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s var(--ease);
}
.teaser-card:hover { color: var(--ink); transform: translateY(-6px); }
.teaser-link { margin-top: auto; padding-top: 14px; border-top: 1.5px solid var(--ink); }

/* --- Process ------------------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 22px;
  height: 1.5px;
  background: var(--paper);
}
.tstep { position: relative; display: flex; flex-direction: column; gap: 14px; }
.tstep h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.tstep p { font-size: 16px; line-height: 1.55; color: var(--mist); }
.tnum {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
}
.tnum-on { border-color: var(--mint); background: var(--mint); color: var(--ink); }

/* --- Closing chapter ----------------------------------------------------- */
.final { border-top: 1px solid var(--line-dark); padding-top: 80px; }
.big-cta { display: block; color: var(--paper); text-decoration: none; }
.big-cta:hover { color: var(--paper); }
.big-cta-line { display: block; font-size: clamp(56px, 10.4vw, 168px); }
.big-cta-arrow { display: inline-block; width: clamp(56px, 8vw, 120px); height: auto; margin-left: 0.15em; vertical-align: middle; color: var(--mint); transition: transform 0.5s var(--ease); }
.big-cta:hover .big-cta-arrow { transform: translateX(24px); }

.quick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; margin-top: 72px; }
.quick-copy { display: flex; flex-direction: column; gap: 20px; }
.quick-copy .chapter-title { font-size: clamp(30px, 3.4vw, 48px); }
.quick-copy .soft { max-width: 460px; }

.closing {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.closing-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 380px; }

@media (max-width: 1000px) {
  .paths, .teaser, .quick { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline::before { display: none; }
  .teaser-cards { grid-template-columns: minmax(0, 1fr); }
  .teaser-card, .path { min-height: 0; padding: 28px; }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.form-card a { color: var(--green); }
.form-card .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label,
.field legend { padding: 0; font-size: 14px; font-weight: 600; }
.field legend { margin-bottom: 8px; }
.optional { font-weight: 450; color: var(--moss); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #6b6f78; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid rgba(30, 90, 71, 0.35); outline-offset: 0; border-color: var(--green); }

.chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.checks { display: flex; flex-direction: column; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.field .check label { font-size: 15px; font-weight: 450; cursor: pointer; }
.field .check input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; border: 0; accent-color: var(--green); }
.form-context { padding: 12px 16px; border-radius: 12px; background: var(--card-4); font-size: 15px; }
#quote-form { scroll-margin-top: 8px; }
.field .chip-input {
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 1px;
  min-height: 0;
  margin: 0; padding: 0;
  border: 0;
  opacity: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500 !important;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.field .chip { padding: 0 16px; font-size: 15px; }
.chip:hover { background: rgba(0, 0, 0, 0.06); }
.chip-input:checked + .chip { background: var(--ink); color: var(--paper); }
.chip-input:focus-visible + .chip { outline: 3px solid var(--green); outline-offset: 2px; }

.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; }
.form-actions .btn { margin-left: auto; }
.form-status { flex: 1 1 260px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-error { color: #a3271c; }
.form-status a { overflow-wrap: anywhere; }

.hidden-field { position: absolute; left: -9999px; }

.form-done { display: flex; flex-direction: column; gap: 14px; padding: 48px 40px; }
.form-done:focus { outline: none; }
.form-done-title { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }

.copy-btn {
  min-height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--paper);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.copy-btn:hover { background: var(--paper); color: var(--ink); }
.copy-btn.is-copied { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.form-status .copy-btn { border-color: var(--ink); color: var(--ink); }

@media (max-width: 640px) {
  .form-card { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .form-actions .btn { width: 100%; }
}

/* ==========================================================================
   Pricing page
   ========================================================================== */
/* Hero: headline and intro on the left, the two prices on the right. */
.pricing-hero { padding: 48px 0 88px; }
.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "copy side" "jump side";
  grid-template-rows: auto 1fr;
  gap: 28px 56px;
}
.pricing-hero-copy { grid-area: copy; }
.pricing-hero .hero-title { font-size: clamp(52px, 6.6vw, 96px); }
.pricing-hero .lead { max-width: 600px; }
.pricing-hero-side { grid-area: side; display: flex; flex-direction: column; gap: 12px; align-self: end; }
.pricing-hero-side .hero-quote { width: 100%; }

/* Quiet "on this page" links: text, not chips, so they don't compete with the prices. */
.jump-links { grid-area: jump; display: flex; flex-wrap: wrap; align-content: start; gap: 0 24px; }
.page-hero .jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(0, 0, 0, 0.35);
}
.page-hero .jump-links a:hover { color: var(--green); text-decoration-color: currentColor; }

.price-prefix {
  font-family: var(--font-body);
  font-size: max(15px, 0.3em);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: 0.9em;
}
.price-board {
  padding: 6px 28px 20px;
  border-radius: var(--radius);
  background: var(--white);
}
.price-rows { list-style: none; }
.price-rows li { border-bottom: 1px solid rgba(0, 0, 0, 0.15); }
.page-hero .price-board a.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 -12px;
  padding: 22px 12px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.page-hero .price-board a.price-row:focus-visible { outline-color: var(--green); outline-offset: 0; }
.price-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.price-row-more { display: inline-flex; align-items: center; gap: 4px; color: var(--green); }
.price-row-more .icon-arrow-down { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.page-hero .price-board a.price-row:hover .icon-arrow-down { transform: translateY(3px); }
.price-board-note { padding-top: 16px; color: var(--moss); font-size: 15px; }
.price-row-text { display: flex; flex-direction: column; gap: 8px; }
.price-row-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.price-row-note { color: var(--moss); }
.price-row-price {
  font-size: clamp(44px, 4.4vw, 64px);
  line-height: 1;
  white-space: nowrap;
  transition: color 0.25s var(--ease), transform 0.35s var(--ease);
}
.page-hero .price-board a.price-row:hover .price-row-price { color: var(--green); }

.page-hero a.audit-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 28px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  color: var(--green);
  font-size: 17px;
  text-decoration: none;
  text-wrap: balance;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.page-hero a.audit-link:hover { background: var(--green); color: var(--white); }
.audit-link .icon-arrow { flex: none; transition: transform 0.25s var(--ease); }
.audit-link:hover .icon-arrow { transform: translateX(4px); }

/* Package cards: details left, features right, the ask under the details. */
.site-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "main features" "cta features";
  grid-template-rows: auto 1fr;
  gap: 32px 48px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.site-card + .site-card { margin-top: 20px; }
/* Wide screens: the two packages side by side, rows lined up across both cards. */
@media (min-width: 1101px) {
  .site-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .site-cards .site-card { display: flex; flex-direction: column; gap: 32px; padding: 44px; }
  .site-cards .site-card + .site-card { margin-top: 0; }
  .site-cards .feature-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .site-cards .feature-list li { padding: 10px 0; }
  .site-cards .site-card-cta { margin-top: auto; align-self: stretch; }
}
.site-card-main { grid-area: main; display: flex; flex-direction: column; gap: 20px; }
.site-card-features { grid-area: features; }
.site-card-cta { grid-area: cta; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; align-self: end; }
.site-card-main > p { font-size: 18px; }
.site-card-name { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.site-card-price { display: flex; flex-direction: column; gap: 12px; }
.site-card-price .price-xl { font-size: clamp(56px, 6vw, 96px); line-height: 1; }
.price-note { color: var(--green); }
.best-for { padding: 16px 18px; border-radius: 12px; background: var(--card-4); }
.site-card-main > p.best-for { font-size: 17px; }
.ask-note { font-size: 14px; color: var(--moss); }
.ask-note-dark { margin-top: 16px; color: var(--mist); }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  align-content: start;
  list-style: none;
  font-size: 16px;
}
.feature-list li {
  display: flex;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.feature-list li::before { content: "✦"; color: var(--green); }
.feature-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.see-work { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--green); font-weight: 600; text-decoration: none; }
.see-work:hover { text-decoration: underline; }
.cost-example { padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 12px; color: var(--paper); font-size: 15px; }
.chapter-compact .chapter-title { font-size: clamp(30px, 3.2vw, 44px); }
.compare-table thead a { display: inline-flex; align-items: center; min-height: 44px; }
.reveal[id] { scroll-margin-top: 24px; }
.feature-intro { margin-bottom: 16px; color: var(--green); }
.revisions { margin-top: 20px; font-size: 16px; color: var(--moss); }
.revisions strong { color: var(--ink); font-weight: 600; }

/* Starter vs Premium at a glance. */
.compare { margin: 56px 0 20px; padding: 36px 40px; border: 1.5px solid var(--paper); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare-title { margin-bottom: 18px; caption-side: top; text-align: left; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.compare-table th,
.compare-table td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; }
.compare-table thead th { padding-bottom: 12px; font-size: 18px; font-weight: 600; }
.compare-table thead a { color: var(--mint); text-decoration: none; }
.compare-table thead a:hover { color: var(--paper); text-decoration: underline; }
.compare-table tbody tr { border-top: 1px solid var(--line-dark); }
.compare-table tbody th { width: 22%; color: var(--mist); font-weight: 500; }
.compare-table td { width: 39%; color: var(--paper); }

.pick-help { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; color: var(--soft); font-size: 18px; }
.pick-help p { max-width: 560px; }

/* Concept projects under the packages. */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1.5px solid var(--paper);
}
.proof-copy { display: flex; flex-direction: column; gap: 14px; }
.proof-title, .costs-title { font-size: clamp(24px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.proof-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.proof-card { display: flex; flex-direction: column; gap: 10px; color: var(--paper); text-decoration: none; }
.proof-card:hover { color: var(--mint); }
.proof-shot {
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 6px;
  border: 5px solid var(--white);
  border-radius: 12px;
  background-color: var(--white);
  background-size: cover;
  background-position: top left;
  transition: transform 0.5s var(--ease);
}
.proof-card:hover .proof-shot { transform: rotate(-2deg) scale(1.03); }
.proof-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.proof-cat { color: var(--mist); }
.proof-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--mint); }
.proof-card:hover .proof-tag { color: var(--paper); }

/* Third-party costs. */
.costs {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1.5px solid var(--paper);
}
.costs-copy { display: flex; flex-direction: column; gap: 14px; }
.cost-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin: 0; }
.cost { display: flex; flex-direction: column; gap: 8px; }
.cost dt { font-size: 18px; font-weight: 600; }
.cost dd { margin: 0; color: var(--soft); font-size: 16px; }
.cost-price { display: block; margin-bottom: 2px; color: var(--paper); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.optional-tag { color: var(--mist); font-weight: 450; }

/* Extras: each group's title on the left, its rows on the right. */
.extras-group {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}
.extras-group + .extras-group { margin-top: 56px; }
.extras-copy { display: flex; flex-direction: column; gap: 10px; }
.extras-title { font-size: clamp(24px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }

/* Add-ons and standalone services: one price treatment for every row. */
.addon-list,
.service-list { list-style: none; border-top: 1.5px solid var(--paper); }
.addon-name { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.addon-price { font-size: 30px; line-height: 1; color: var(--paper); white-space: nowrap; }
.addon-price-label { flex: none; color: var(--mint); }
/* Name and price together with the ask beside them, then what it covers. */
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 24px;
  padding: 18px 0 22px;
  border-bottom: 1.5px solid var(--paper);
}
.service-desc { grid-column: 1 / -1; }
.service > .service-link { grid-column: 2; grid-row: 1; }
.service-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.service-desc { max-width: 720px; color: var(--soft); font-size: 17px; line-height: 1.5; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--mint);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.service-link:hover { color: var(--paper); text-decoration: underline; }
.service-link .icon-arrow { transition: transform 0.25s var(--ease); }
.service-link:hover .icon-arrow { transform: translateX(4px); }

.audit-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding: 36px 40px;
  border: 1.5px solid var(--mint);
  border-radius: var(--radius);
}
.audit-callout > div { display: flex; flex-direction: column; gap: 10px; }
.audit-callout p { max-width: 54ch; }
.audit-title { font-size: clamp(22px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }

/* Care plans: all three side by side on one white panel. */
.care-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
/* Subgrid lines up name, price, description, includes and button across the three plans. */
.care-plan { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 16px; padding: 40px; }
.care-plan + .care-plan { border-left: 1px solid rgba(0, 0, 0, 0.15); }
.care-name { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.care-plan .price-lg { font-size: clamp(52px, 4.8vw, 76px); line-height: 1; }
.care-plan .per { font-family: var(--font-body); font-size: 16px; font-weight: 500; text-transform: none; color: var(--moss); }
.care-desc { font-size: 17px; }
.care-includes { display: flex; flex-direction: column; gap: 10px; list-style: none; font-size: 16px; }
.care-includes li { display: flex; gap: 10px; }
.care-includes li::before { content: "✓"; color: var(--green); font-weight: 700; }
.care-cta { align-self: end; padding-top: 8px; }
.chapter-head .muted-dark a { display: inline-block; margin: -12px 0; padding: 12px 0; color: var(--mint); }
.chapter-head .muted-dark a:hover { color: var(--paper); }

.care-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.care-details { align-items: start; }
.care-terms { padding: 0 32px; border: 1.5px solid var(--paper); border-radius: var(--radius); }
.care-terms summary.care-details-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 80px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.care-terms summary::-webkit-details-marker { display: none; }
.care-terms summary:hover { color: var(--mint); }
.care-terms[open] .plus { transform: rotate(45deg); background: var(--mint); border-color: var(--mint); color: var(--ink); }
.care-terms > dl, .care-terms > ul { padding-bottom: 32px; }
.care-terms dl { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.care-terms dt { font-weight: 600; font-size: 16px; }
.care-terms dd { margin: 2px 0 0; color: var(--soft); font-size: 15px; }
.care-terms ul { display: flex; flex-direction: column; gap: 12px; list-style: none; color: var(--soft); font-size: 15px; }

/* How it works: the homepage timeline with five steps. */
.timeline-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.faq { border-top: 1.5px solid var(--paper); }
.faq details { border-bottom: 1.5px solid var(--paper); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding: 20px 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--mint); }
.plus {
  position: relative;
  flex: none;
  width: 40px; height: 40px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--mint); border-color: var(--mint); color: var(--ink); }
.faq details p { max-width: 860px; padding: 0 0 28px; color: var(--soft); font-size: 17px; line-height: 1.55; }

.back-up { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 24px; color: var(--mint); font-weight: 600; text-decoration: none; }
.back-up:hover { color: var(--paper); text-decoration: underline; }

.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.closing-copy:has(.closing-actions) { max-width: 460px; }

/* Focus rings on white panels: mint is too faint on white, so use green. */
.site-card :focus-visible,
.care-plans :focus-visible { outline-color: var(--green); }

@media (max-width: 1100px) {
  .pricing-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "side" "jump"; grid-template-rows: none; gap: 32px; }
  .pricing-hero-side { max-width: 640px; align-self: start; }
}
@media (max-width: 1000px) {
  .site-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "features" "cta"; grid-template-rows: none; }
  .proof, .costs { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .extras-group { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .extras-group + .extras-group { margin-top: 44px; }
  .care-plans { grid-template-columns: minmax(0, 1fr); }
  .care-plan + .care-plan { border-left: 0; border-top: 1px solid rgba(0, 0, 0, 0.15); }
  .care-details { grid-template-columns: minmax(0, 1fr); }
  .timeline-5 { grid-template-columns: minmax(0, 1fr); }
  .timeline-5::before { display: none; }
}
@media (max-width: 760px) {
  .pricing-hero { padding-bottom: 64px; }
  .price-board { padding: 4px 20px; }
  .page-hero .price-board a.price-row { padding: 18px 12px; gap: 12px; }
  .price-board-note { padding-top: 14px; font-size: 14px; }
  .pricing-hero-grid { gap: 24px; }
  .pricing-hero .lead { margin-top: 20px; }
  .jump-links { gap: 0 20px; }
  .compare { padding: 24px 20px; }
  .compare-table { font-size: 15px; }
  .compare-table thead tr,
  .compare-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .compare-table thead td { display: none; }
  .compare-table th, .compare-table td { width: auto; padding-right: 0; }
  .compare-table tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 4px; }
  .compare-table tbody td { padding-top: 0; }
  .care-details { gap: 0; margin-top: 28px; border-top: 1.5px solid var(--paper); }
  .care-terms { padding: 0; border: 0; border-radius: 0; }
  .care-terms summary.care-details-title { min-height: 72px; font-size: 18px; }
  .care-terms + .care-terms { border-top: 1px solid var(--line-dark); }
  .price-row-price { font-size: clamp(34px, 10vw, 44px); }
  .page-hero a.audit-link { padding: 12px 20px; font-size: 16px; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .site-card, .care-plan { padding: 28px; }
  .site-card-cta { align-self: stretch; }
  .site-card-cta .btn { width: 100%; padding: 0 20px; }
  .feature-list { gap: 0; }
  .feature-list li { padding: 10px 0; }
  .proof { margin-top: 36px; }
  .proof-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .proof-list li + li { border-top: 1px solid var(--line-dark); }
  .proof-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "shot name" "shot cat" "shot tag"; align-content: center; column-gap: 16px; row-gap: 6px; padding: 14px 0; }
  .proof-shot { grid-area: shot; margin: 0; border-width: 3px; border-radius: 8px; }
  .proof-name { grid-area: name; align-self: end; font-size: 18px; }
  .proof-cat { grid-area: cat; align-self: start; }
  .proof-tag { grid-area: tag; }
  .cost-list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .addon-name { font-size: 19px; }
  .addon-price { font-size: 26px; }
  .service { grid-template-columns: minmax(0, 1fr); padding: 18px 0 8px; }
  .service > .service-link { grid-column: auto; grid-row: auto; }
  .audit-callout { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .audit-callout .btn { justify-self: start; }
  .faq summary { font-size: 19px; }
}
@media (max-width: 420px) {
  .page-hero .price-board a.price-row { flex-direction: column; align-items: flex-start; }
  .price-row-end { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}


/* ==========================================================================
   Who we build for
   ========================================================================== */
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  min-height: 64px;
  margin: 28px 0 16px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
}
.search:focus-within { box-shadow: 0 0 0 4px rgba(30, 90, 71, 0.3); }
.search input {
  flex: 1;
  min-width: 0;
  min-height: 60px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
}
.page-hero [data-industry-summary] { margin-top: 16px; }

.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.industry-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}
.industry-card:hover { transform: translateY(-6px); }
.industry-name { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.types { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  font-size: 14px;
}
.type.is-hit { background: var(--mint); border-color: var(--mint); font-weight: 600; }
.needs { display: flex; flex-direction: column; gap: 8px; list-style: none; font-size: 15px; }
.needs li::before { content: "✦  "; color: var(--green); }
.concept-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 8px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.concept-link:hover { color: var(--mint); }
.concept-link .label { display: block; font-size: 11px; color: var(--mist); }
.concept-img {
  flex: none;
  width: 72px;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background-size: cover;
  background-position: top left;
}
.concept-name { display: block; font-weight: 600; }
.ask-link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1.5px solid var(--ink);
  color: var(--ink) !important;
  font-weight: 600;
  text-decoration: none;
}
.ask-link:hover { color: var(--green) !important; }

.empty-state {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding: 40px;
  border: 1.5px solid var(--paper);
  border-radius: var(--radius);
}
.empty-title { margin-top: 10px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }

@media (max-width: 1100px) { .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .industry-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 32px; }
.steps { display: flex; flex-direction: column; list-style: none; border-top: 1.5px solid var(--moss); }
.steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1.5px solid var(--moss);
  font-size: 16px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.contact-details li { display: flex; flex-direction: column; gap: 6px; }
.contact-details .label { color: var(--mist); }
.contact-email { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.contact-email a { overflow-wrap: anywhere; }

@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 72px 0 40px; border-top: 1.5px solid var(--moss); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-heading { margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.site-footer ul { display: flex; flex-direction: column; gap: 0; list-style: none; color: var(--mist); }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mist); text-decoration: none; overflow-wrap: anywhere; }
.site-footer ul a:hover { color: var(--paper); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; text-align: right; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { max-width: 320px; color: var(--mist); font-size: 15px; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  color: var(--mist);
  font-size: 14px;
}
/* The hairline lines up with the footer content, inside the gutters. */
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line-dark);
}
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mist); }

@media (max-width: 760px) {
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { align-items: flex-start; text-align: left; }
}

/* ==========================================================================
   Scroll reveal (main.js adds .is-pending only to content below the fold)
   ========================================================================== */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(24px); }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  html.smooth-scroll { scroll-behavior: auto; }
}
