/* ============================================================
   BETTERHALF — PAGE MODULES
   Hero · provenance · featured builds · comparison · care plan
   · CTA band · argument · spectrum · bands · contact · builds
   archive & single · intake form · prose
   ============================================================ */

/* ---- HERO ------------------------------------------------------------ */
.hero { position: relative; padding-block: clamp(4rem, 11vw, 9rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__bg {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(60% 55% at 22% 12%, rgba(231, 255, 0, 0.10), transparent 60%),
    radial-gradient(55% 50% at 88% 8%, rgba(77, 196, 255, 0.12), transparent 62%);
  filter: blur(6px);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 960px; }
.hero__kicker { margin-bottom: 1.4rem; }
.hero__title { max-width: 15ch; }
.hero__title .grad-text { display: block; }
.hero__sub { max-width: 60ch; margin-top: 1.75rem; }
.hero__cta { margin-top: 2.25rem; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; }
.hero__ticks li { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--dim); font-size: 0.95rem; font-weight: 500; }
.hero__ticks .icon { width: 18px; height: 18px; color: var(--acc); }

/* ---- PROVENANCE STRIP ------------------------------------------------ */
.provenance { border-block: 1px solid var(--line); background: var(--ink-2); padding-block: 1.5rem; }
.provenance__text { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; color: var(--dim); font-size: 0.98rem; }
.provenance__link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--cream); font-weight: 600; white-space: nowrap; }
.provenance__link .icon { width: 16px; height: 16px; color: var(--acc); }
.provenance__link:hover { color: var(--acc); }

/* ---- FEATURED / BUILD GRID ------------------------------------------- */
.featured-builds__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.build-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .build-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .build-grid { grid-template-columns: 1fr; } .featured-builds__head { flex-direction: column; align-items: flex-start; } }

.build-card { padding: 0; overflow: hidden; }
.build-card__link { display: block; height: 100%; }
.build-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-4); }
.build-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.build-card:hover .build-card__media img { transform: scale(1.04); }
.build-card__body { padding: clamp(1.25rem, 2vw, 1.6rem); display: flex; flex-direction: column; gap: 0.75rem; height: 100%; }
.build-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.build-card__time { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--dim-2); font-size: 0.8rem; }
.build-card__time .icon { width: 14px; height: 14px; }
.build-card__title { margin-top: 0.15rem; }
.build-card__problem { color: var(--dim); font-size: 0.96rem; }
.build-card__foot { margin-top: auto; padding-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; }
.build-card__go { color: var(--acc); font-weight: 600; font-size: 0.9rem; }
.build-card__go .arrow { display: inline-block; transition: transform var(--t); }
.build-card:hover .build-card__go .arrow { transform: translateX(4px); }
.build-card__proof { display: flex; gap: 0.4rem; }
.proof-badge { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); color: var(--dim); }
.proof-badge .icon { width: 15px; height: 15px; }

/* ---- COMPARISON MODULE ----------------------------------------------- */
.comparison__scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); -webkit-overflow-scrolling: touch; }
.comparison__scroll:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.comparison__table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.comparison__table th, .comparison__table td { padding: 1.1rem 1.35rem; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.comparison__table thead td, .comparison__table thead th { border-bottom: 1px solid var(--line-2); }
.comparison__table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim-2); font-weight: 700; }
.comparison__table tbody th[scope="row"] { color: var(--cream); font-weight: 600; width: 20%; }
.comparison__table td { color: var(--dim); }
.comparison__corner { width: 20%; background: transparent; }
.comparison__us-col { color: var(--ink) !important; background: var(--acc); border-radius: 10px 10px 0 0; }
.comparison__us { color: var(--cream) !important; font-weight: 600; background: rgba(231, 255, 0, 0.06); }
.comparison__table tbody tr:last-child .comparison__us { border-radius: 0 0 10px 10px; }
.comparison__table tbody tr:last-child th, .comparison__table tbody tr:last-child td { border-bottom: 0; }
.comparison__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.75rem; }
/* Desktop: the per-cell labels are redundant (column headers are visible). */
.cell-label { display: none; }

/* ---- CARE PLAN ------------------------------------------------------- */
.care__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
/* .care__lead isn't a .section-head, so it needs its own rhythm. */
.care__lead .eyebrow { margin-bottom: 1.1rem; }
.care__lead .lede { margin-top: 1.1rem; }
.care__price { margin-top: 1.5rem; font-size: 1.05rem; color: var(--dim); }
.care__price strong { font-size: 2rem; color: var(--acc); font-weight: 800; letter-spacing: -0.02em; }
.care__list { display: grid; gap: 1rem; }
.care__list li { display: flex; align-items: flex-start; gap: 0.85rem; padding: 1rem 1.25rem; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.care__list .icon { width: 20px; height: 20px; color: var(--acc); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 800px) { .care__inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ---- CTA BAND -------------------------------------------------------- */
.cta-band { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); border-top: 1px solid var(--line); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
@media (max-width: 760px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } }

/* ---- PAGE HERO (interior pages) -------------------------------------- */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3.5rem); }
.page-hero .h-display { max-width: 16ch; }
.page-hero .grad-text { display: inline; }

/* ---- ARGUMENT / SPECTRUM / BANDS ------------------------------------- */
.argument__grid, .spectrum__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.argument__col { display: flex; flex-direction: column; gap: 0.85rem; }
.argument__col .num-index { font-size: 1.4rem; }
.spectrum__card { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; }
.spectrum__icon, .process__icon, .contact-routes__icon, .care .icon-lg { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(231, 255, 0, 0.1); color: var(--acc); border: 1px solid var(--line-acc); }
.spectrum__icon .icon, .process__icon .icon, .contact-routes__icon .icon { width: 22px; height: 22px; }
@media (max-width: 860px) { .argument__grid, .spectrum__grid { grid-template-columns: 1fr; } }

.bands__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.bands__price { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--cream); }
.bands__note { color: var(--dim); font-size: 0.95rem; margin-top: 0.5rem; }
@media (max-width: 860px) { .bands__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bands__grid { grid-template-columns: 1fr; } }

/* ---- PROCESS --------------------------------------------------------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.process__step { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; position: relative; }
.process__step .num-index { font-size: 0.95rem; }
@media (max-width: 900px) { .process__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process__grid { grid-template-columns: 1fr; } }

/* ---- CONTACT --------------------------------------------------------- */
.contact-routes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.contact-routes__grid .card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
@media (max-width: 720px) { .contact-routes__grid { grid-template-columns: 1fr; } }

/* ---- BUILDS ARCHIVE -------------------------------------------------- */
.builds-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.builds-filter button {
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--dim); font-size: 0.9rem; font-weight: 500; transition: color var(--t), background var(--t), border-color var(--t);
}
.builds-filter button:hover { color: var(--cream); }
.builds-filter button[aria-pressed="true"] { background: var(--acc); color: var(--ink); border-color: var(--acc); font-weight: 700; }

/* ---- BUILDS SINGLE --------------------------------------------------- */
.build-single__hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2.5rem); }
.build-single__back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--dim); font-size: 0.9rem; margin-bottom: 1.5rem; }
.build-single__back:hover { color: var(--acc); }
.build-single__title { max-width: 20ch; }
.build-single__problem { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--dim); max-width: 60ch; margin-top: 1.25rem; line-height: 1.45; }
.build-single__metabar { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.build-single__metabar dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim-2); font-weight: 600; }
.build-single__metabar dd { margin-top: 0.3rem; color: var(--cream); font-weight: 600; }
.build-single__cover { margin-block: clamp(2rem, 4vw, 3rem); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.build-body { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
.build-block h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.build-block h2 .num-index { margin-right: 0.5rem; }
.build-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.build-gallery img { border-radius: var(--radius-sm); border: 1px solid var(--line); width: 100%; }
@media (max-width: 620px) { .build-gallery { grid-template-columns: 1fr; } }
.embed-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.embed-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* ---- PROSE ----------------------------------------------------------- */
.prose { color: var(--dim); font-size: 1.06rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2, .prose h3 { color: var(--cream); margin-top: 2rem; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.25rem; }
.prose strong { color: var(--cream); }
.prose ul { display: grid; gap: 0.6rem; padding-left: 1.2rem; list-style: disc; }
.prose a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--line-acc); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--acc); }
.page-prose { min-height: 40vh; }

/* ============================================================
   INTAKE FORM — "Start your build brief"
   ============================================================ */
.brief { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 7rem); }
.brief__head { max-width: 720px; margin-bottom: 2.5rem; }

.brief__progress { margin-bottom: 2rem; }
.brief__progress-track { height: 6px; border-radius: 999px; background: var(--ink-3); overflow: hidden; }
.brief__progress-bar { height: 100%; width: 14%; background: var(--grad); border-radius: 999px; transition: width 0.4s var(--ease); }
.brief__progress-label { margin-top: 0.6rem; font-size: 0.82rem; color: var(--dim-2); letter-spacing: 0.04em; }

.brief__form { max-width: 720px; }
.brief__step { display: none; }
.brief__step.is-active { display: block; animation: brief-in 0.35s var(--ease); }
@media (prefers-reduced-motion: reduce) { .brief__step.is-active { animation: none; } }
@keyframes brief-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.brief__step-eyebrow { color: var(--acc); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.brief__step-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 0.5rem; letter-spacing: -0.02em; }
.brief__step-intro { color: var(--dim); margin-top: 0.75rem; max-width: 54ch; }
.brief__fields { display: grid; gap: 1.5rem; margin-top: 2rem; }

.field { display: grid; gap: 0.5rem; }
.field--half { }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.field > label, .fieldset > legend { font-weight: 600; font-size: 0.96rem; color: var(--cream); }
.field .hint { font-size: 0.85rem; color: var(--dim-2); }
.field .required { color: var(--acc); }

.brief input[type="text"],
.brief input[type="email"],
.brief input[type="tel"],
.brief input[type="url"],
.brief input[type="number"],
.brief select,
.brief textarea {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--cream);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.brief textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.brief input:focus, .brief select:focus, .brief textarea:focus {
  outline: none; border-color: var(--acc); background: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(231, 255, 0, 0.18);
}
.brief input::placeholder, .brief textarea::placeholder { color: var(--dim-2); }

.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.choice-grid { display: grid; gap: 0.65rem; }
.choice-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .choice-grid--2 { grid-template-columns: 1fr; } }
.choice {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.85rem 1rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--ink-2); cursor: pointer; transition: border-color var(--t), background var(--t);
}
.choice:hover { border-color: var(--line-acc); }
.choice input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--acc); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--acc); background: rgba(231, 255, 0, 0.06); }
.choice__label { font-weight: 500; }
.choice__label small { display: block; color: var(--dim-2); font-weight: 400; font-size: 0.85rem; margin-top: 2px; }

.field-error { color: #FF6B6B; font-size: 0.85rem; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select,
.fieldset.has-error { border-color: #FF6B6B; }
.field.has-error .field-error, .fieldset.has-error .field-error { display: block; }

/* Branch reveals — only shown when their condition is met (JS toggles hidden). */
.brief__branch[hidden] { display: none; }
.brief__branch {
  margin-top: 1.25rem; padding: 1.25rem; border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm); background: rgba(77, 196, 255, 0.04);
}
.brief__branch > legend, .brief__branch > p.branch-note { color: var(--blue); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 0.85rem; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.brief__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.brief__nav .btn--back { visibility: hidden; }
.brief__nav .btn--back.is-shown { visibility: visible; }
.consent { align-items: flex-start; }
.consent a { color: var(--acc); text-decoration: underline; }

.brief__status { margin-top: 1rem; font-size: 0.92rem; }
.brief__status[data-state="error"] { color: #FF8A8A; }
.cf-turnstile { margin-top: 1rem; }

.brief__done { text-align: center; padding: clamp(2rem, 5vw, 4rem) 0; }
.brief__done-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; border-radius: 50%; background: rgba(231, 255, 0, 0.12); border: 1px solid var(--line-acc); display: flex; align-items: center; justify-content: center; color: var(--acc); }
.brief__done-icon .icon { width: 30px; height: 30px; }


/* ---- HERO WEBGL PARTICLE MARK --------------------------------------- */
/* Canvas is injected by assets/js/main.js. Particle field sits clear to
   the right of the hero copy, behind it in z-order. Desktop only —
   mobile skips it entirely, protecting the Lighthouse 90+ mobile target. */
.hero__bg    { z-index: 0; }
.hero__webgl {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}
.hero__inner { z-index: 2; }

/* The lede at 60ch was the widest thing in the hero and ran under the
   particles. Tightening it to a 44ch measure keeps the copy in a clean
   left column (and reads better anyway). The headline keeps its natural
   15ch measure. */
@media (min-width: 901px) {
  .hero__sub { max-width: 44ch; }
}
@media (max-width: 900px) { .hero__webgl { display: none; } }

/* ============================================================
   MOBILE PASS
   Goal: parity with desktop, not a squeezed-down copy of it.
   ============================================================ */

/* ---- Comparison: linearise into per-row cards ------------------------ */
/* A 4-column table can't be read on a 375px screen, and side-scrolling a
   720px table is a poor answer. Each ROW becomes a card: the attribute is
   the card title, and the three options are labelled values beneath it.
   Real table semantics are preserved via explicit ARIA roles in the
   template (display:block strips the implicit ones). */
@media (max-width: 760px) {
  .comparison__scroll {
    overflow: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
  }
  .comparison__table { min-width: 0; width: 100%; }
  .comparison__table,
  .comparison__table tbody,
  .comparison__table tr,
  .comparison__table th,
  .comparison__table td { display: block; }

  /* Column headers are surfaced per-cell instead; keep them for AT only. */
  .comparison__table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .comparison__corner { display: none; }

  .comparison__table tr {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    margin-bottom: 0.85rem;
  }
  .comparison__table tbody th[scope="row"] {
    width: auto;
    padding: 0 0 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    font-weight: var(--fw-bold);
    letter-spacing: -0.01em;
    color: var(--cream);
  }
  .comparison__table td {
    padding: 0;
    border-bottom: 0;
    margin-bottom: 0.9rem;
  }
  .comparison__table td:last-child { margin-bottom: 0; }

  .cell-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: var(--fw-bold);
    color: var(--dim-2);
    margin-bottom: 0.2rem;
  }
  .cell-val { display: block; color: var(--dim); font-size: 0.98rem; line-height: 1.5; }

  /* Our column still has to win the eye, as it does on desktop. */
  .comparison__table td.comparison__us {
    background: rgba(231, 255, 0, 0.07);
    border: 1px solid var(--line-acc);
    border-radius: var(--radius-sm);
    padding: 0.8rem 0.9rem;
    margin-top: 1rem;
  }
  .comparison__table td.comparison__us .cell-label { color: var(--acc); }
  .comparison__table td.comparison__us .cell-val { color: var(--cream); font-weight: var(--fw-semi); }
  .comparison__table tbody tr:last-child .comparison__us { border-radius: var(--radius-sm); }
  .comparison__cta { gap: 1rem; }
  .comparison__cta .btn { width: 100%; justify-content: center; }
}

/* ---- Hero ------------------------------------------------------------ */
@media (max-width: 900px) {
  /* The 15ch/44ch measures were tuned around the desktop particle field;
     on mobile there's no canvas, so let the copy use the full column. */
  .hero__title { max-width: 18ch; }
  .hero__sub   { max-width: none; }
  .hero__cta { flex-direction: column-reverse; align-items: stretch; gap: 0.75rem; }
  .hero__cta .btn { width: 100%; justify-content: center; min-height: 52px; }
  /* Stacked, not a cramped wrapped row. */
  .hero__ticks { flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
}

/* ---- Buttons / touch targets ---------------------------------------- */
@media (max-width: 900px) {
  .btn { min-height: 48px; }
  .btn--link { min-height: 44px; }
  /* Any CTA row goes full-width rather than wrapping awkwardly. */
  .cta-band__inner .btn,
  .contact-routes__grid .btn,
  .page-hero .btn-row .btn { width: 100%; justify-content: center; }
  .cta-band__inner .btn-row,
  .page-hero .btn-row { width: 100%; flex-direction: column-reverse; align-items: stretch; gap: 0.75rem; }
}

/* ---- Provenance strip ------------------------------------------------ */
@media (max-width: 760px) {
  .provenance { padding-block: 1.25rem; }
  .provenance__text { display: block; font-size: 0.92rem; line-height: 1.55; }
  .provenance__link { margin-top: 0.6rem; min-height: 44px; align-items: center; }
}

/* ---- Featured builds head ------------------------------------------- */
@media (max-width: 620px) {
  .featured-builds__head { gap: 1rem; }
  .featured-builds__head .btn--link { min-height: 44px; }
}

/* ---- Care plan ------------------------------------------------------- */
@media (max-width: 760px) {
  .care__list li { padding: 0.9rem 1rem; }
  .care__price strong { font-size: 1.75rem; }
}

/* ---- Builds single / archive ---------------------------------------- */
@media (max-width: 760px) {
  .build-single__metabar { gap: 1.15rem 2rem; }
  .builds-filter { gap: 0.5rem; }
  .builds-filter button { min-height: 44px; }
  .build-single__back { min-height: 44px; align-items: center; }
}

/* ---- Intake form ----------------------------------------------------- */
@media (max-width: 760px) {
  /* 16px minimum stops iOS Safari zooming the viewport on focus. */
  .brief input[type="text"],
  .brief input[type="email"],
  .brief input[type="tel"],
  .brief input[type="url"],
  .brief input[type="number"],
  .brief select,
  .brief textarea { font-size: 16px; }
  .choice { padding: 0.9rem 1rem; min-height: 48px; align-items: center; }
  .choice input { width: 22px; height: 22px; }
  .brief__nav { gap: 0.75rem; }
  .brief__nav .btn { min-height: 48px; }
  /* Back is visually hidden on step 1; don't let it eat the row. */
  .brief__nav .btn--back:not(.is-shown) { display: none; }
  .brief__nav .btn-row { flex: 1; }
  .brief__nav .btn-row .btn { width: 100%; justify-content: center; }
}

/* ---- Footer ---------------------------------------------------------- */
@media (max-width: 720px) {
  .footer__col a, .footer__bottom a { display: inline-block; min-height: 44px; line-height: 44px; }
  .footer__col ul { gap: 0; }
  .site-footer { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom)); }
}
