/* Sonora Express — single stylesheet, no preprocessor.
   Brand system matched to sonora.lv (2026-07-13): slate navy #1E2D3B on every
   dark surface, logo-swoosh red #C83838 as the only accent, #F2F2F2 section
   tint, #DCDCDC watermark circles, rounded navy/white stat chips, gray-filled
   form fields on navy, and Futura PT — the same Light/Book/Medium/Demi files
   sonora.lv itself serves (Sonora's own uploaded webfonts). */

:root {
  --navy: #1E2D3B;        /* sonora.lv surface navy (header, chips, form, hero) */
  --navy-deep: #18242F;   /* footer, one step darker than --navy */
  --red: #C83838;         /* swoosh red from the Sonora wordmark */
  --white: #FFFFFF;
  --gray-50: #F2F2F2;     /* sonora.lv section tint */
  --gray-200: #E3E6E8;
  --gray-300: #C4CBD1;
  --mark: #DCDCDC;        /* sonora.lv watermark-circle gray */
  --slate-500: #5C6974;   /* secondary text on light */
  --ink: #22303D;         /* body text, near-navy */
  --on-navy-soft: #C9D2D9;   /* secondary text on navy */
  --on-navy-faint: #9FB0BC;  /* tertiary text on navy */
  --field: #626C76;       /* form input fill on navy, sampled from sonora.lv */
  --radius: 8px;          /* chips, cards */
  --radius-sm: 4px;       /* buttons, inputs */
}

/* Futura PT, the four weights sonora.lv uploads: Light 300, Book 400,
   Medium 500, Demi 600–700 (the parent site has no Bold; Demi covers it). */
@font-face {
  font-family: "Futura PT";
  src: url("assets/futura-pt-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("assets/futura-pt-book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("assets/futura-pt-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("assets/futura-pt-demi.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: "Futura PT", "Century Gothic", system-ui, "Segoe UI", Arial, sans-serif;
  /* Futura PT has a small x-height; a slightly larger base keeps it readable. */
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  color: var(--navy);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Red fails 3:1 against the navy surfaces; use white outlines there. */
.site-header :focus-visible,
.hero :focus-visible,
.cta-band :focus-visible,
#quote :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

.container {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 1rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
}

.skip-link:focus-visible {
  top: 1rem;
}

/* ---------- Motion: scroll reveals ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.js .reveal-d1.is-visible { transition-delay: 0.1s; }
html.js .reveal-d2.is-visible { transition-delay: 0.2s; }
html.js .reveal-d3.is-visible { transition-delay: 0.3s; }
html.js .reveal-d4.is-visible { transition-delay: 0.4s; }

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

.btn {
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

/* Every primary button sits on a navy surface (header, hero, CTA band, quote
   form), so it takes the sonora.lv "Iesniegt" treatment: white on navy.
   Hover borrows the brand red, the same accent the parent site's nav uses. */
.btn-primary {
  background: var(--white);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-large {
  font-family: inherit;
  font-size: 1.0625rem;
  padding: 0.9375rem 2.25rem;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-small {
  font-size: 0.9375rem;
  padding: 0.5rem 1.125rem;
}

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

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: padding 0.25s ease;
}

.site-header.is-scrolled .header-row {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  display: block;
}

.brand-express {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

/* Nav takes the parent site's treatment: uppercase, widely tracked, red on
   hover like sonora.lv's active item. */
.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.nav-list a.btn-primary {
  color: var(--navy); /* wins over .nav-list a's white */
  letter-spacing: 0.08em;
}

.nav-list a.btn-primary:hover {
  color: var(--white);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.hero-grid {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}

.hero-text {
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
  max-width: 42rem;
  margin: 0 auto;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  display: block;
}

.hero h1 {
  font-size: clamp(2rem, 1.1rem + 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.eyebrow-on-dark {
  color: var(--on-navy-faint);
}

.hero-sub {
  font-size: 1.1875rem;
  font-weight: 300;
  color: var(--on-navy-soft);
  margin-bottom: 2rem;
}

/* Hero entrance: one orchestrated sequence on load. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes hero-photo-settle {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

html.js .hero-in { animation: hero-rise 0.55s ease both; }
html.js .hero-in-1 { animation-delay: 0.05s; }
html.js .hero-in-2 { animation-delay: 0.15s; }
html.js .hero-in-3 { animation-delay: 0.28s; }
html.js .hero-in-4 { animation-delay: 0.4s; }
html.js .hero-in-5 { animation-delay: 0.55s; }
html.js .hero-photo { animation: hero-photo-settle 8s ease-out both; }

/* ---------- Hero stats ---------- */

/* The sonora.lv stat chip, inverted for the navy hero: white rounded chip,
   navy numeral, label underneath. */
/* Default at every width below 80rem: compact aligned rows — one fixed-width
   chip + its label per line. This never overflows or crowds, whatever the
   hero column width. Wide screens get the three-block row (see the 80rem
   media query at the bottom). */
.stats {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.875rem;
  margin: 2.5rem 0 0;
  padding: 0;
}

.stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.stat dd {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  /* line-height 1 + more bottom padding: Futura PT's tall ascent otherwise
     leaves the digits riding high inside the chip */
  padding: 0.5rem 1.375rem 0.625rem;
  flex: none;
  width: 11.5rem; /* one fixed width for all three chips so labels align */
  text-align: center;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stat-unit {
  font-size: 0.9375rem;
  font-weight: 600;
}

.stat dt {
  font-size: 0.875rem;
  color: var(--on-navy-soft);
  text-align: left;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tint {
  background: var(--gray-50);
}

/* Watermark circles, the sonora.lv background motif. */
#who {
  background-image: radial-gradient(circle 18rem at 90% -4rem, var(--mark) 0 99.4%, transparent 100%);
}

#why {
  background-image: radial-gradient(circle 17rem at -5% 108%, var(--mark) 0 99.4%, transparent 100%);
}

#coverage {
  background-image: radial-gradient(circle 20rem at 104% 0%, rgba(255, 255, 255, 0.8) 0 99.4%, transparent 100%);
}

/* Product tiles: pictogram + label, echoing sonora.lv's service icon strip. */
.product-grid {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.product-grid li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 0.75rem 1.125rem;
  font-weight: 500;
  color: var(--navy);
}

.product-grid svg {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--navy);
}

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

.split-top {
  align-items: start;
}

/* The photo centers against the taller card column instead of floating at
   the top next to the heading. */
.split-top .split-figure {
  align-self: center;
}

/* Coverage stacks into a single column when it sits beside a photo. */
.split .coverage {
  grid-template-columns: 1fr;
}

.split-figure {
  margin: 0;
}

.split-figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px -22px rgba(30, 45, 59, 0.5);
}

.split-figure figcaption {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-top: 0.625rem;
}

/* ---------- Service tiers ---------- */

.tiers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.tier-lanes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tier {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Assembly is the add-on layered onto either lane above, not a third equal
   choice: it gets its own wide treatment instead of matching the lane cards. */
.tier-assembly {
  border-color: var(--navy);
}

.tier:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: 0 14px 28px -14px rgba(30, 45, 59, 0.35);
}

.tier-media,
.tier > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--gray-200);
}

.tier-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

/* Service names: geometric caps with a short red swoosh-echo underneath. */
.tier-body h3 {
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.tier-body h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.25rem;
  height: 2px;
  background: var(--red);
}

.tier-facts {
  margin: 0;
}

.tier-facts dt {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.tier-facts dd {
  margin: 0.125rem 0 1rem;
}

.tier-facts dd:last-child {
  margin-bottom: 0;
}

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

.steps {
  list-style: none;
  counter-reset: step;
  margin: 2.5rem 0 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2rem 4rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 50%;
  transition: background-color 0.4s ease 0.25s, color 0.4s ease 0.25s;
}

/* The number circle fills navy as its step comes into view. */
html.js .steps li.is-visible::before {
  background: var(--navy);
  color: var(--white);
}

/* The rail draws itself downward, step by step. */
.steps li::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  bottom: 0.25rem;
  width: 1px;
  background: var(--gray-300);
}

html.js .steps li::after {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s ease 0.35s;
}

html.js .steps li.is-visible::after {
  transform: scaleY(1);
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:last-child::after {
  display: none;
}

.steps h3 {
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--slate-500);
}

/* ---------- Coverage ---------- */

.coverage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0 0;
}

.coverage-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.375rem 1.5rem;
  margin: 0;
  box-shadow: 0 10px 24px -20px rgba(30, 45, 59, 0.45);
}

.coverage-item dt {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.coverage-item dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-500);
}

/* ---------- Why Sonora ---------- */

/* The sonora.lv stat chip, verbatim: navy rounded chip with a white numeral,
   plain label underneath on the light background. */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin: 2.25rem 0 2.25rem;
}

.fact {
  display: flex;
  flex-direction: column-reverse; /* DOM order dt→dd; chip shows above label */
  /* same left-aligned rhythm as the hero stats */
  align-items: flex-start;
  text-align: left;
}

.fact dt {
  font-size: 0.9375rem;
  color: var(--navy);
  margin-top: 0.625rem;
}

.fact dd {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  /* same optical centering as .stat dd */
  padding: 0.625rem 1.75rem 0.75rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.members-line {
  margin: 0;
  color: var(--slate-500);
}

/* ---------- Checklist ---------- */

.checklist {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.375rem 0 0.375rem 2rem;
  font-weight: 500;
}

.checklist li::before {
  content: "\2713"; /* check mark */
  position: absolute;
  left: 0;
  top: 0.375rem;
  color: var(--red);
  font-weight: 700;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--on-navy-soft);
}

.cta-band p:last-child {
  margin: 1.75rem 0 0;
}

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

#faq details {
  border-bottom: 1px solid var(--gray-300);
}

#faq details:first-of-type {
  border-top: 1px solid var(--gray-300);
  margin-top: 2rem;
}

#faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

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

/* The plus mark rotates into a close mark when open. */
#faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--red);
  transition: transform 0.25s ease;
}

#faq details[open] summary::after {
  transform: rotate(45deg);
}

#faq summary:hover {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#faq details p {
  margin: 0 0 1.25rem;
  max-width: 44em;
  color: var(--slate-500);
}

/* ---------- Quote form ---------- */

/* The sonora.lv contact block: navy surface, centered white headings,
   gray-filled borderless fields, white submit button. */
#quote {
  background: var(--navy);
  color: var(--white);
}

#quote h2 {
  color: var(--white);
  text-align: center;
}

#quote h2 + p,
#quote h2 + p + p {
  color: var(--on-navy-soft);
  text-align: center;
}

#quote form {
  margin-top: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.field label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.375rem;
}

.optional {
  font-weight: 300;
  color: var(--on-navy-faint);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  color: var(--white);
  caret-color: var(--white);
  background: var(--field);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.75rem;
  transition: box-shadow 0.2s ease;
}

.field select {
  height: 2.875rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* The OS-rendered dropdown list stays light; keep its text dark. */
.field select option {
  color: var(--ink);
  background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #D6DCE1;
}

/* Keep the field fill when the browser autofills. */
.field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--field) inset;
  -webkit-text-fill-color: var(--white);
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 0;
}

/* Honeypot: moved off-screen, skipped by keyboard and screen readers. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  min-height: 1.5em;
  margin: 1rem 0 0;
  color: var(--on-navy-soft);
}

.form-note.is-success {
  color: var(--white);
  font-weight: 500;
}

.form-note.is-error {
  color: #F2A6A6;
  font-weight: 500;
}

.form-privacy {
  font-size: 0.875rem;
  color: var(--on-navy-faint);
  margin: 0.5rem 0 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy-faint);
  padding: 3.5rem 0;
  font-size: 0.9375rem;
}

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

.site-footer a {
  color: var(--white);
}

.site-footer address {
  font-style: normal;
}

.footer-line {
  margin-top: 1rem;
}

.footer-meta {
  margin: 0;
}

/* ---------- Breakpoints ---------- */

/* Phones: calmer hero. The header scrolls away instead of pinning, buttons go
   full-width, and each stat becomes one chip + label row so labels never
   wrap into orphans. */
@media (max-width: 47.9375rem) {
  .site-header {
    position: static;
  }

  .nav-list {
    gap: 0.375rem 1.25rem;
  }

  .nav-list a {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  .hero-text {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-sub {
    font-size: 1.0625rem;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

}

/* Wide screens only: the hero column is broad enough for the three-block
   stat row (chip stretched over its centered label, no crowding). */
@media (min-width: 80rem) {
  .stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.75rem;
  }

  .stat {
    flex: 0 0 auto; /* never shrink into the neighbor — wrap instead */
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
  }

  .stat dd {
    width: auto;
    font-size: 1.5rem;
  }

  .stat dt {
    margin-top: 0.5rem;
    text-align: center;
  }
}

@media (min-width: 48rem) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  .field-wide {
    grid-column: 1 / -1;
  }

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

  .tier-lanes {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
  }

  .hero-text {
    padding: clamp(3rem, 6vw, 6rem) 3rem clamp(3rem, 6vw, 6rem) clamp(1.25rem, 4vw, 4rem);
    max-width: none;
    margin: 0;
  }

  .split {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }

  .tier-assembly {
    display: grid;
    grid-template-columns: minmax(0, 22rem) 1fr;
    align-items: stretch;
  }

  .tier-assembly > img {
    height: 100%;
    aspect-ratio: auto;
    border-bottom: none;
    border-right: 1px solid var(--gray-200);
  }

  .tier-assembly .tier-body {
    padding: 1.75rem 2rem;
  }

  .tier-assembly .tier-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    column-gap: 2rem;
    row-gap: 0.25rem;
  }

  .tier-assembly .tier-facts dd {
    margin-bottom: 0;
  }

  .coverage {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- Reduced motion: everything static ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  html.js .hero-in,
  html.js .hero-photo {
    animation: none;
  }

  html.js .steps li::after {
    transform: none;
  }

  html.js .steps li::before {
    background: var(--white);
    color: var(--navy);
  }
}
