/* GoVend (usgovend.com) — design tokens + site styles
   Palette locked 2026-08-19: marine blue / aqua-mint / warm off-white.
   Surface rebuilt 2026-08-19 (impeccable, surface-level): real HaHa product
   photography replaces AI concept renders and stock imagery; the dark navy
   bookends the page top (hero) and bottom (closing) with light cream in
   between. Self-hosted Manrope replaces the system font stack. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/Manrope-Variable.woff2") format("woff2");
}

:root {
  --navy: #123c5c;
  --navy-deep: #0c2a40;
  --mint: #4fd1c5;
  --mint-text: #157b71; /* deepened mint, passes AA on cream for text/links */
  --cream: #f5f1e8;
  --cream-raised: #fbf8f2;
  --ink: #123c5c;
  --ink-dim: #52697c;
  --ink-faint: #8296a5;
  --on-navy: #f5f1e8;
  --on-navy-dim: #b7c4cd;
  --line: rgba(18, 60, 92, 0.12);
  --line-on-navy: rgba(245, 241, 232, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --max: 1160px;
  --section-pad: clamp(3.5rem, 2.6rem + 4vw, 6.5rem);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  padding-right: clamp(1.25rem, 1rem + 2vw, 2.5rem);
}

h1, h2, h3, p {
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 10px 24px -12px rgba(18, 60, 92, 0.45);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}
.btn-ghost:hover {
  border-color: var(--mint-text);
  color: var(--mint-text);
}
.btn-ghost-on-navy {
  border-color: var(--line-on-navy);
  color: var(--on-navy);
}
.btn-ghost-on-navy:hover {
  border-color: var(--mint);
  color: var(--mint);
}
.btn-on-navy {
  background: var(--mint);
  color: var(--navy-deep);
}
.btn-on-navy:hover {
  background: #6fe0d5;
  box-shadow: 0 10px 24px -12px rgba(79, 209, 197, 0.5);
}
.btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 241, 232, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.site-header .wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 1rem + 1vw, 2.25rem);
}
.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink-dim);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.main-nav a:not(.btn):hover {
  color: var(--navy);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 1rem + 1vw, 2.25rem);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--cream-raised);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem clamp(1.25rem, 1rem + 2vw, 2.5rem);
    gap: 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a:not(.btn) {
    font-size: 1.05rem;
    padding: 0.4rem 0;
  }
  .nav-links .btn {
    align-self: flex-start;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
/* Dark navy bookend (mirrors .closing at the foot). Real cutout product
   photo, no card frame — a genuine drop-shadow follows the machine's own
   silhouette instead of a rectangle, staged large against a soft glow. */

.hero {
  position: relative;
  /* A photography-studio "sweep": the backdrop curves from a dark wall into
     a slightly lighter floor plane, the same way an infinity-cove product
     shot is lit. Without it a cutout on a flat color reads as pasted into
     a void; the floor line gives the machine somewhere to stand. */
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(18, 60, 92, 0) 0%, rgba(6, 18, 28, 0.35) 100%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-deep) 62%, #163f5e 100%);
  color: var(--on-navy);
  padding-top: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  padding-bottom: clamp(3rem, 2.2rem + 3vw, 5rem);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 60%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(79, 209, 197, 0.16), transparent 72%);
  pointer-events: none;
}
.hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
.hero-copy,
.hero-visual {
  min-width: 0;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 1.7rem + 2.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--on-navy);
}
.hero-copy p {
  margin-top: 1.35rem;
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.15rem);
  color: var(--on-navy-dim);
  max-width: 44ch;
}
.hero-actions {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-facts {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}
.hero-fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-fact strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mint);
}
.hero-fact span {
  font-size: 0.85rem;
  color: var(--on-navy-dim);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(0.5rem, 2vh, 1.5rem);
}
/* Two things a bare cutout-on-dark-color is missing, both fixed here
   without touching the source photo: a contact shadow so the machine
   reads as standing on a floor instead of floating in a void, and a soft
   stage-light pool behind it so the dark hero reads as "spotlit product
   display" (Apple/Dyson-style hero staging) instead of "appliance found
   in the dark." */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(closest-side, rgba(2, 10, 16, 0.55), rgba(2, 10, 16, 0) 75%),
    radial-gradient(closest-side, rgba(245, 241, 232, 0.16), rgba(245, 241, 232, 0) 72%);
  background-position: 50% 97%, 50% 38%;
  background-size: min(72%, 300px) 42px, 100% 82%;
  filter: blur(1px);
}
.hero-visual img {
  position: relative;
  width: min(100%, 380px);
  /* Slightly desaturated so the harsher highlights of a high-key studio
     shot settle into the spotlit scene instead of reading like a flash
     photo pasted on top of it. */
  filter:
    drop-shadow(0 36px 46px rgba(2, 8, 13, 0.5))
    drop-shadow(0 8px 14px rgba(2, 8, 13, 0.35))
    saturate(0.92);
}
.hero-status {
  position: absolute;
  top: clamp(0.5rem, 4vh, 2.5rem);
  right: clamp(0, 4vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(245, 241, 232, 0.08);
  border: 1px solid var(--line-on-navy);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.95rem 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--on-navy-dim);
  backdrop-filter: blur(8px);
}
.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(79, 209, 197, 0.6);
  animation: statusPulse 2.2s ease-out infinite;
}
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 209, 197, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(79, 209, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 209, 197, 0); }
}
.hero-caption {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: var(--on-navy-dim);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .hero-status-dot {
    animation: none;
  }
}

@media (max-width: 860px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .hero-status {
    position: static;
    margin-top: 1.25rem;
  }
}

/* ---------- Section shell ---------- */

.section {
  padding: var(--section-pad) 0;
}
.section--raised {
  background: var(--cream-raised);
}
.section-head {
  max-width: 56ch;
  margin-bottom: clamp(2rem, 1.6rem + 1.5vw, 3rem);
}
.section-head h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.15;
}
.section-head p {
  margin-top: 0.9rem;
  color: var(--ink-dim);
  font-size: 1.02rem;
}

/* ---------- Offer bento ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}
.offer-tile {
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  border: 1px solid var(--line);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.offer-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -22px rgba(18, 60, 92, 0.28);
}
.offer-icon {
  width: 30px;
  height: 30px;
  color: var(--mint-text);
  margin-bottom: 0.9rem;
}
.offer-tile--lead .offer-icon {
  color: var(--mint);
}
.offer-tile h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}
.offer-tile p {
  margin-top: 0.6rem;
  color: var(--ink-dim);
  font-size: 0.96rem;
}

/* Staggered reveal for grouped items - each tile/step animates in slightly
   after the previous one, so the group reads as a sequence, not a blanket
   fade. Motivated: communicates "these are a set" (hierarchy/storytelling). */
.offer-grid .reveal-armed:nth-child(1) { transition-delay: 0ms; }
.offer-grid .reveal-armed:nth-child(2) { transition-delay: 90ms; }
.offer-grid .reveal-armed:nth-child(3) { transition-delay: 180ms; }
.offer-grid .reveal-armed:nth-child(4) { transition-delay: 270ms; }
.offer-tile--lead {
  grid-column: span 3;
  background: var(--navy);
  color: var(--on-navy);
}
.offer-tile--lead h3 {
  color: var(--mint);
  font-size: 1.5rem;
}
.offer-tile--lead p {
  color: var(--on-navy-dim);
}
.offer-tile--a { grid-column: span 3; background: var(--cream-raised); }
.offer-tile--b { grid-column: span 3; background: var(--cream-raised); }
/* c sits at span 3 (not 6) specifically so every row fills edge to edge -
   a lone half-width tile with dead space beside it was the actual bug
   here, not the asymmetry itself. Two full rows of two, no orphan gap;
   c now matches a/b's plain vertical layout at this narrower width. */
.offer-tile--c { grid-column: span 3; background: var(--cream-raised); }

@media (max-width: 860px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer-tile,
  .offer-tile--lead,
  .offer-tile--a,
  .offer-tile--b,
  .offer-tile--c {
    grid-column: span 1;
  }
}

/* ---------- Restock signal (signature component) ---------- */

.restock {
  max-width: 860px;
}
.restock-copy p {
  margin-top: 0.9rem;
  color: var(--ink-dim);
  font-size: 1.02rem;
  max-width: 58ch;
}
.restock-demo {
  margin-top: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem) clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}
.restock-bars {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.5rem, 0.4rem + 0.6vw, 1rem);
  height: 120px;
}
.restock-bar {
  flex: 1;
  background: var(--mint);
  border-radius: 5px 5px 2px 2px;
  transform-origin: bottom center;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1), background-color 0.7s ease;
}
.restock-bar.is-low {
  background: rgba(245, 241, 232, 0.28);
  transform: scaleY(0.3);
}
.restock-status {
  margin-top: 1.4rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--on-navy-dim);
}
@media (prefers-reduced-motion: reduce) {
  .restock-bar {
    transition: none;
  }
}

/* ---------- Hardware ("meet the machine") ---------- */

.hardware-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: center;
}
.hardware-visual,
.hardware-copy {
  min-width: 0;
}
.hardware-visual img {
  width: min(100%, 380px);
  margin: 0 auto;
  filter: drop-shadow(0 26px 34px rgba(18, 60, 92, 0.22));
}
.spec-list {
  margin: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}
.spec-list li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.spec-list li:first-child {
  padding-top: 0;
  border-top: none;
}
.spec-index {
  flex-shrink: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mint-text);
  padding-top: 0.15rem;
}
.spec-list h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.spec-list p {
  margin-top: 0.4rem;
  color: var(--ink-dim);
  font-size: 0.96rem;
}

@media (max-width: 860px) {
  .hardware-wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sizes (real capacity comparison, not a generic card grid) ---------- */
/* Three peer options genuinely are best read side by side, but the grid
   avoids the "same-size icon+heading+text card" tell two ways: the images
   keep their own real proportions instead of being forced into a uniform
   box (so the size difference between models is honestly visible), and
   columns are divided by hairlines in the spec-sheet vocabulary already
   established above, not boxed into cards. */
.sizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.size-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(0.5rem, 0.3rem + 1vw, 1.25rem);
  border-left: 1px solid var(--line);
}
.size-card:first-child {
  border-left: none;
}
.size-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 200px;
  width: 100%;
}
.size-visual img {
  width: auto;
  filter: drop-shadow(0 18px 22px rgba(18, 60, 92, 0.18));
}
.size-visual--sm img { max-height: 155px; }
.size-visual--md img { max-height: 172px; }
.size-visual--lg img { max-height: 200px; }
.size-card h3 {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.size-tag {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mint-text);
}
.size-specs {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}
.size-specs li {
  font-size: 0.88rem;
  color: var(--ink-dim);
}
.size-fit {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
  max-width: 22ch;
}
.sizes-grid .reveal-armed:nth-child(1) { transition-delay: 0ms; }
.sizes-grid .reveal-armed:nth-child(2) { transition-delay: 100ms; }
.sizes-grid .reveal-armed:nth-child(3) { transition-delay: 200ms; }

@media (max-width: 720px) {
  .sizes-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .size-card {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 2rem 0 0;
  }
  .size-card:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 1.2rem + 1vw, 2.5rem);
  position: relative;
}
/* Connecting line threading through the three step-nodes, desktop only. */
.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
}
.step-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-text);
}
.step-node svg {
  width: 24px;
  height: 24px;
}
.step h3 {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.step p {
  margin-top: 0.55rem;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.steps .reveal-armed:nth-child(1) { transition-delay: 0ms; }
.steps .reveal-armed:nth-child(2) { transition-delay: 110ms; }
.steps .reveal-armed:nth-child(3) { transition-delay: 220ms; }

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .steps::before {
    display: none;
  }
}

/* ---------- Service area (authored coverage graphic, no stock photo) ---------- */

.area .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 1.2rem + 3vw, 4rem);
  align-items: center;
}
.area-copy,
.area-visual {
  min-width: 0;
}
.area-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
  padding: 0;
}
.area-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  list-style: none;
  color: var(--ink-dim);
  font-size: 0.98rem;
}
.area-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--mint-text);
  margin-top: 0.1rem;
}
.area-list strong {
  color: var(--navy);
}

.area-visual {
  display: flex;
  justify-content: center;
}
.coverage {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  overflow: visible;
}
.coverage-ring {
  fill: none;
  stroke: var(--mint-text);
  stroke-width: 1.4;
  stroke-dasharray: 3 7;
  opacity: 0.35;
  transform-origin: 200px 200px;
}
.coverage-ring-1 { animation: ringPulse 3.6s ease-out infinite; }
.coverage-ring-2 { animation: ringPulse 3.6s ease-out infinite 1.2s; }
.coverage-ring-3 { animation: ringPulse 3.6s ease-out infinite 2.4s; }
@keyframes ringPulse {
  0% { opacity: 0.55; transform: scale(0.94); }
  70% { opacity: 0.12; }
  100% { opacity: 0; transform: scale(1.04); }
}
.coverage-pin {
  fill: var(--navy);
}
.coverage-node circle {
  fill: var(--mint-text);
}
@media (prefers-reduced-motion: reduce) {
  .coverage-ring-1,
  .coverage-ring-2,
  .coverage-ring-3 {
    animation: none;
    opacity: 0.3;
  }
}

@media (max-width: 860px) {
  .area .wrap {
    grid-template-columns: 1fr;
  }
  .area-visual {
    order: -1;
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.35rem 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}
.faq-q svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--ink-faint);
}
.faq-item.is-open .faq-q svg {
  transform: rotate(45deg);
}
/* Default: answers fully visible/expanded, no JS required to read them.
   script.js opts individual .faq-a elements into the collapsible behavior
   (adds .faq-collapsible) only once its click handlers are actually
   attached — so a failed/blocked script.js can never leave an answer
   stuck closed with no way to open it.
   Collapse uses grid-template-rows (0fr -> 1fr) rather than max-height:
   no layout-property animation (no reflow thrash) and no arbitrary height
   cap that could clip a longer answer. */
.faq-a {
  overflow: hidden;
}
.faq-a p {
  padding-bottom: 1.35rem;
  color: var(--ink-dim);
  font-size: 0.98rem;
  max-width: 62ch;
}
.faq-a.faq-collapsible {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-a.faq-collapsible > p {
  overflow: hidden;
  min-height: 0;
  /* Padding/margin on this element would never reach true 0 height even
     at grid-template-rows: 0fr (padding is added outside min-height's
     reach) - so it's zeroed here and restored only once actually open. */
  padding-bottom: 0;
}
.faq-item.is-open .faq-a.faq-collapsible {
  grid-template-rows: 1fr;
}
.faq-item.is-open .faq-a.faq-collapsible > p {
  padding-bottom: 1.35rem;
}

/* ---------- Closing (dark block: tagline + CTA + footer) ---------- */

.closing {
  background: var(--navy);
  color: var(--on-navy);
}
.closing-tagline {
  padding: var(--section-pad) 0 clamp(2.5rem, 2rem + 2vw, 4rem);
  text-align: center;
}
.closing-tagline h2 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 18ch;
  margin: 0 auto;
}
.closing-tagline p {
  margin: 1.1rem auto 0;
  max-width: 48ch;
  color: var(--on-navy-dim);
  font-size: 1.05rem;
}

.contact {
  padding-bottom: clamp(3rem, 2.4rem + 2vw, 4.5rem);
}
.contact .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1.2rem + 2vw, 3.5rem);
}
.contact-info,
.contact-form {
  min-width: 0;
}
.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
}
.contact-links {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.9rem;
}
.contact-links a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--on-navy);
}
.contact-links a svg {
  width: 20px;
  height: 20px;
  color: var(--mint);
  flex-shrink: 0;
}
.contact-hours {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--on-navy-dim);
}

.contact-form {
  display: grid;
  gap: 1rem;
}
.hp-field {
  position: absolute;
  left: -9999px;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--on-navy-dim);
}
.field input,
.field textarea {
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid var(--line-on-navy);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  color: var(--on-navy);
  font: inherit;
  font-size: 0.98rem;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(207, 216, 222, 0.78);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
  background: rgba(245, 241, 232, 0.1);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.form-note {
  font-size: 0.82rem;
  color: var(--on-navy-dim);
}
.form-status {
  font-size: 0.9rem;
  color: var(--mint);
  min-height: 1.2em;
}
.form-status.is-error {
  color: #f3b6a8;
}

@media (max-width: 860px) {
  .contact .wrap {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  border-top: 1px solid var(--line-on-navy);
  padding: 1.75rem 0;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: var(--on-navy);
  text-decoration: none;
}
.footer-brand svg {
  width: 26px;
  height: 26px;
}
.footer-meta {
  font-size: 0.85rem;
  color: var(--on-navy-dim);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--on-navy-dim);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--on-navy);
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */

/* Default: fully visible, no JS required to read the page. script.js
   opts elements into the animated-hidden state (adds .reveal-armed) only
   once the IntersectionObserver that will reveal them again is actually
   running — so a failed/blocked script.js can never leave content stuck
   invisible. */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.reveal-armed {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal-armed.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-armed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
