/* Worldwide Trucking Services - proposal B
   Theme: locked light, editorial. Palette comes from the logo: navy ink + one red accent.
   Type: Barlow Condensed caps (highway signage) over Barlow. Radius rule: 10px everywhere. */

/* Self-hosted so nothing depends on third-party CDNs (ad blockers and flaky networks drop them) */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); }

:root {
  --paper: #f3f5f9;
  --surface: #ffffff;
  --ink: #141b3a;
  --navy: #333f6f;
  --muted: #56607f;
  --line: rgba(20, 27, 58, 0.14);
  --accent: #d9252b;
  --accent-hover: #bd1c22;
  --on-dark: #f4f6fa;

  --radius: 10px;
  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --z-media: 0;
  --z-content: 2;
  --z-nav: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

h1, h2, h3, .hero__statement, .ticker li {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); }
h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 700; line-height: 1; }
em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap, .hero__intro, .stack, .voices, .footer {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 52px; padding: 0 1.6rem;
  border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: 1.1rem; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
@media (hover: hover) {
  .btn--accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
  .btn--line:hover { background: var(--ink); color: var(--paper); }
  .btn--light:hover { background: #fff; color: var(--ink); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2));
  display: flex; align-items: center; gap: 1.5rem;
  background: rgba(243, 245, 249, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.is-solid { border-bottom-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; min-width: 0; }
.nav__brand img { height: 48px; width: auto; flex: none; }
.nav__brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__links { display: flex; gap: 0.25rem; }
.nav__links a { position: relative; padding: 0.5rem 0.9rem; font-weight: 600; color: var(--muted); transition: color 0.25s; }
/* underline wipes in from the left; the active section keeps it */
.nav__links a::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.2rem; height: 3px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out);
}
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a:active { transform: translateY(1px); }
@media (hover: hover) {
  .nav__links a:hover { color: var(--ink); }
  .nav__links a:hover::after { transform: scaleX(1); }
}
/* "Order Online" is the one nav link that must catch the eye: red pill, live dot that pings and
   a light sheen that sweeps across every few seconds. Only transform/opacity are animated. */
.nav__links a.nav__order { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 999px; overflow: hidden; isolation: isolate; background: rgba(217, 37, 43, 0.1); color: var(--accent); font-weight: 700; transition: background-color 0.3s, color 0.3s; }
.nav__links a.nav__order::after { left: 0; right: auto; top: 0; bottom: 0; width: 45%; height: auto; border-radius: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent); transform-origin: center; transition: none; animation: nav-sheen 3.8s ease-in-out infinite; }
.nav__order-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.nav__order-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: nav-ping 1.9s var(--ease-out) infinite; }
.nav__links a.nav__order.is-active { background: var(--accent); color: #fff; }
@media (hover: hover) { .nav__links a.nav__order:hover { background: var(--accent); color: #fff; } }
@keyframes nav-sheen { 0%, 60% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(380%) skewX(-18deg); } }
@keyframes nav-ping { from { transform: scale(1); opacity: 0.7; } to { transform: scale(3); opacity: 0; } }
.nav__toggle { display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; place-content: center; gap: 6px; }
.nav__toggle span { display: block; width: 26px; height: 3px; border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ease-out), opacity 0.2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 860px) {
  /* no-JS fallback: links wrap onto a second row so they are never unreachable */
  .nav { flex-wrap: wrap; height: auto; min-height: var(--nav-h); gap: 0.5rem 0.75rem; }
  .nav__links { order: 4; width: 100%; padding-bottom: 0.5rem; }

  /* with JS (nav-b.js): hamburger + drop-down panel */
  .nav--js { flex-wrap: nowrap; height: var(--nav-h); }
  .nav--js .nav__toggle { display: grid; order: 3; }
  .nav--js .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; width: auto;
    flex-direction: column; gap: 0; padding: 0 var(--gutter) 1.25rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 40px -28px rgba(20, 27, 58, 0.5);
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity 0.3s, transform 0.45s var(--ease-out), visibility 0s 0.3s;
  }
  .nav--js.is-open { background: var(--paper); }
  .nav--js.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav--js .nav__links a { padding: 1.1rem 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: var(--ink); }
  .nav--js .nav__links a:first-child { border-top: 0; }
  .nav--js .nav__links a::after { display: none; }
  .nav--js .nav__links a.is-active { color: var(--accent); }
  /* in the phone menu it is a plain big row like the others, in red, keeping the live dot */
  .nav--js .nav__links a.nav__order, .nav--js .nav__links a.nav__order.is-active { display: flex; gap: 0.75rem; padding: 1.1rem 0; border-radius: 0; overflow: visible; background: none; color: var(--accent); }
  .nav--js .nav__links a.nav__order::after { display: none; }
  .nav--js .nav__order-dot { width: 12px; height: 12px; }
}
@media (max-width: 520px) { .nav__brand span { display: none; } }

/* ---------- Hero ---------- */
/* centered, and sized so the first line runs almost the full width of the content column */
.hero__intro { padding: clamp(28px, 4.4vw, 56px) 0 clamp(24px, 3vw, 40px); text-align: center; }
/* first line is ~9.2em wide in Barlow Condensed 800, so 9.6vw / 8.7rem makes it span ~96% of the column */
.hero h1 { font-size: min(9.6vw, 8.7rem); line-height: 0.9; }
.hero h1 em { display: block; }
.hero__row { margin-top: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.hero__row p { max-width: 52ch; font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--muted); text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
@media (max-width: 600px) { .hero h1 { font-size: clamp(2.9rem, 14.4vw, 4.5rem); } }

.hero__stage { position: relative; height: 100dvh; }
.hero__panel {
  --inset: var(--gutter); --r: 20px;
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 var(--inset) round var(--r));
  background: #0b1020 url("../img/hero_poster.jpg") 62% center / cover no-repeat;
}
/* continuously playing loop; scroll only drives what happens around and over it */
.loop-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; will-change: transform; }
/* scrim hugs the copy corner only, so bright footage never washes out the text
   while the sky, the truck and the trailer logo stay clean */
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8, 11, 28, 0.9) 0%, rgba(8, 11, 28, 0.5) 26%, rgba(8, 11, 28, 0) 52%),
    radial-gradient(ellipse 62% 58% at 0% 100%, rgba(8, 11, 28, 0.72) 0%, rgba(8, 11, 28, 0) 72%);
}
.hero__statement {
  position: absolute; z-index: var(--z-content);
  left: max(calc(var(--gutter) * 2), calc((100% - var(--max)) / 2)); right: var(--gutter);
  bottom: clamp(40px, 9vh, 96px); max-width: 16ch;
  font-size: clamp(2.75rem, 7vw, 6.5rem); color: #fff;
  text-shadow: 0 2px 18px rgba(8, 11, 28, 0.65), 0 1px 2px rgba(8, 11, 28, 0.5);
  visibility: hidden;
}
/* brighter red than --accent: the brand red is too dark to read over footage */
.hero__statement em { color: #ff4a50; }

/* Phones and tablets: the landscape footage cannot fill a tall screen without cropping the
   truck away, so the panel becomes a square card in the flow (no pinning, see main-b.js) */
@media (max-width: 860px) {
  .hero__stage { height: auto; }
  .hero__panel { position: relative; inset: auto; aspect-ratio: 1 / 1; }
  .loop-video { object-position: 56% center; }
  .hero__statement {
    left: calc(var(--inset) + 20px); right: calc(var(--inset) + 16px); bottom: 22px;
    max-width: none; font-size: clamp(1.75rem, 8vw, 3.25rem);
  }
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: clamp(14px, 2vw, 24px) 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; font-size: clamp(2.5rem, 6vw, 5rem); color: var(--navy); padding-inline: clamp(16px, 2.4vw, 36px); white-space: nowrap; }
.ticker li::after { content: ""; width: 0.22em; height: 0.22em; margin-left: clamp(32px, 4.8vw, 72px); background: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Services grid: 12 columns on desktop, 2 on tablet, 1 on phones ---------- */
.services { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding: clamp(48px, 7vw, 104px) 0; }
.services__head p { margin-top: 1rem; color: var(--muted); font-size: 1.2rem; max-width: 44ch; }
.services__grid { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.services__grid .card:nth-child(1) { grid-column: span 5; }
.services__grid .card:nth-child(2) { grid-column: span 3; }
.services__grid .card:nth-child(3) { grid-column: span 4; }
.services__grid .card:nth-child(4) { grid-column: span 3; }
.services__grid .card:nth-child(5) { grid-column: span 5; }
.services__grid .card:nth-child(6) { grid-column: span 4; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 400px;
  display: flex; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
@media (hover: hover) { .card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -24px rgba(20, 27, 58, 0.45); } }
.card__body { position: relative; z-index: var(--z-content); width: 100%; display: flex; flex-direction: column; padding: 28px; }
/* icon anchors the top of the card, copy sits at the bottom, so tall cards never read as empty */
.card__body i { display: block; font-size: clamp(3.5rem, 5vw, 5rem); color: var(--accent); margin-bottom: auto; }
.card__body h3 { margin-top: 2rem; }
.card__body p { margin-top: 0.6rem; color: var(--muted); }
.card--navy { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.card--navy .card__body p { color: #cfd6ee; }
.card--navy .card__body i { color: #fff; }
.card--photo { color: var(--on-dark); border: 0; }
.card--photo img { position: absolute; inset: 0; z-index: var(--z-media); width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .card--photo:hover img { transform: scale(1.06); } }
.card--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10, 14, 32, 0.92) 12%, rgba(10, 14, 32, 0.15) 70%); }
.card--photo .card__body p { color: #d6dcef; }
.card--photo .card__body i { color: #fff; }

/* the action line makes the whole card one link (its ::after covers the card) */
.card__go { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.card__go::after { content: ""; position: absolute; inset: 0; }
.card .card__body .card__go i, .card:not(.card--photo) .card__body .card__go i { display: inline-block; margin: 0; font-size: 1em; color: inherit; transition: transform 0.4s var(--ease-out); }
.card--photo .card__go, .card--navy .card__go { color: #fff; }
.card:has(.card__go:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.card__go:focus-visible { outline: none; }
@media (hover: hover) { .card:hover .card__go i { transform: translateX(8px); } }
.services__foot { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.services__foot .shop__note { margin-top: 0; }
.shop__group { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* photo is taller than its card so main-b.js can drift it for an in-card parallax */
.card--photo img { top: -8%; bottom: -8%; height: 116%; }

@media (max-width: 960px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid .card:nth-child(n) { grid-column: auto; }
  .card { min-height: 340px; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; gap: 12px; }
  .card { min-height: 0; }
  .card--photo { min-height: 300px; }
  /* plain cards turn into compact rows: icon left, copy right */
  .card:not(.card--photo) .card__body { flex-direction: row; align-items: center; gap: 1.1rem; padding: 22px; }
  .card:not(.card--photo) .card__body i { margin: 0; font-size: 2.75rem; flex: none; }
  .card:not(.card--photo) .card__body h3 { margin-top: 0; }
  .card__copy { min-width: 0; }
}

/* ---------- Process stack ---------- */
.stack { padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 7vw, 104px); }
.stack__cards { margin-top: clamp(28px, 4vw, 56px); }
.sheet {
  position: sticky; top: calc(var(--nav-h) + 24px);
  min-height: min(56vh, 460px); margin-bottom: 24px;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 64px); align-items: center;
  padding: clamp(24px, 4vw, 64px);
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 -12px 40px -28px rgba(20, 27, 58, 0.5);
  transform-origin: center top;
}
.sheet:nth-child(2) { top: calc(var(--nav-h) + 44px); }
.sheet:nth-child(3) { top: calc(var(--nav-h) + 64px); }
/* icon spans both rows on the left; title and copy stack in the right column */
.sheet i { grid-column: 1; grid-row: 1 / span 2; align-self: center; font-size: clamp(4rem, 9vw, 8rem); color: var(--navy); }
.sheet h3, .sheet p { grid-column: 2; }
.sheet h3 { align-self: end; }
.sheet p { align-self: start; }
.sheet h3 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); font-weight: 800; }
.sheet p { margin-top: 1rem; max-width: 48ch; color: var(--muted); font-size: 1.2rem; }
.sheet--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.sheet--accent i, .sheet--accent p { color: #fff; }
/* stacking needs room: on small screens the sheets are a plain, evenly aligned list */
@media (max-width: 860px) {
  .sheet, .sheet:nth-child(2), .sheet:nth-child(3) { position: static; min-height: 0; margin-bottom: 12px; box-shadow: none; }
}
@media (max-width: 640px) {
  .sheet { grid-template-columns: auto 1fr; gap: 0.35rem 1.1rem; padding: 22px; }
  .sheet i { font-size: 2.75rem; align-self: start; }
  .sheet p { font-size: 1.05rem; }
}

/* ---------- Voices (reviews) ---------- */
.voices { padding-bottom: clamp(48px, 7vw, 104px); }
.voices__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(24px, 3vw, 40px); }
.voices__lead { margin-top: 0.9rem; max-width: 46ch; color: var(--muted); font-size: 1.15rem; }
.voices__score { margin-top: 0.9rem; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; color: var(--muted); font-weight: 600; }
.voices__score > i { font-size: 1.6rem; color: var(--navy); }
.voices__score strong { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--ink); }
.voices__write i { font-size: 1.25rem; }
/* one element draws the stars: a gold bar masked by a repeating star, as wide as the rating */
.stars { --size: 1.3rem; display: inline-block; flex: none; width: calc(var(--rating, 5) * var(--size)); height: var(--size); background: #f5a623; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.5 7.1.9-5.2 4.9 1.3 7L12 17.7l-6.3 3.4 1.3-7-5.2-4.9 7.1-.9z'/%3E%3C/svg%3E") left center / var(--size) var(--size) repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.5 7.1.9-5.2 4.9 1.3 7L12 17.7l-6.3 3.4 1.3-7-5.2-4.9 7.1-.9z'/%3E%3C/svg%3E") left center / var(--size) var(--size) repeat-x; }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voice { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
@media (hover: hover) { .voice:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(20, 27, 58, 0.45); } }
.voice__mark { position: absolute; top: 0.6rem; right: 1rem; font-size: 4.5rem; color: var(--navy); opacity: 0.1; }
.voice blockquote { flex: 1; font-size: 1.2rem; font-weight: 500; line-height: 1.45; }
.voice figcaption { display: flex; align-items: center; gap: 0.8rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.voice__avatar { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.voice__who { display: grid; min-width: 0; }
.voice__who strong { color: var(--ink); }
.voice__who small { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.9rem; }
/* the first card carries the brand colour so the row is not three identical boxes */
.voices__grid .voice:first-child { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.voices__grid .voice:first-child .voice__mark { color: #fff; opacity: 0.16; }
.voices__grid .voice:first-child figcaption { border-top-color: rgba(255, 255, 255, 0.2); }
.voices__grid .voice:first-child .voice__avatar { background: var(--accent); }
.voices__grid .voice:first-child .voice__who strong { color: #fff; }
.voices__grid .voice:first-child .voice__who small { color: #cfd6ee; }
@media (max-width: 960px) { .voices__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .voices__grid { grid-template-columns: 1fr; gap: 12px; } .voices__write { width: 100%; justify-content: center; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; min-height: min(84dvh, 760px); display: grid; align-items: center; color: #fff; }
.cta__media { position: absolute; inset: -12% 0; z-index: var(--z-media); }
.cta__media { will-change: transform; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 19, 46, 0.82) 0%, rgba(14, 19, 46, 0.45) 40%, rgba(14, 19, 46, 0) 70%); }
.cta__inner { position: relative; z-index: var(--z-content); width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding: 64px 0; }
.cta__inner h2 { max-width: 12ch; font-size: clamp(3rem, 7.6vw, 7rem); }
.cta__inner p { margin-top: 1.25rem; max-width: 40ch; font-size: 1.25rem; color: #d6dcef; }
.cta__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Footer ---------- */
.footer { padding: 28px 0 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; color: var(--muted); font-size: 0.975rem; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; overflow-wrap: anywhere; transition: color 0.2s; }
@media (hover: hover) { .footer__contact a:hover { color: var(--ink); } }

/* ---------- Page transition curtain (js/transitions-b.js) ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}
.curtain img { width: min(38vw, 220px); height: auto; opacity: 0; transform: translateY(16px); transition: opacity 0.35s 0.15s, transform 0.5s 0.15s var(--ease-out); }
.curtain { visibility: hidden; }
.curtain.is-covering, .curtain.is-leaving, .is-entering .curtain { visibility: visible; }
.curtain.is-covering { transform: translateY(0); pointer-events: auto; }
.curtain.is-covering img { opacity: 1; transform: none; }
.curtain.is-leaving { transform: translateY(-101%); }
/* set by the inline head script so an incoming page starts covered, with no flash of content */
.is-entering .curtain { transform: translateY(0); transition: none; }
.is-entering .curtain img { opacity: 1; transform: none; transition: none; }

/* ---------- Quote / contact page ---------- */
.quote { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.quote > * { min-width: 0; } /* grid children must be allowed to shrink below their content width */
.quote h1 { font-size: clamp(3.25rem, 8vw, 7.25rem); line-height: 0.9; overflow-wrap: anywhere; }
.quote__lead { margin-top: 1.5rem; max-width: 40ch; font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--muted); }
.quote__direct { margin-top: clamp(24px, 3vw, 40px); display: grid; gap: 4px; }
.quote__direct a { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.25rem); text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; transition: color 0.25s, padding-left 0.45s var(--ease-out); }
.quote__direct a i { flex: none; font-size: 1.6rem; color: var(--accent); }
.quote__direct a span { font-family: var(--font-body); font-weight: 500; font-size: 1rem; text-transform: none; color: var(--muted); margin-left: auto; white-space: nowrap; }
@media (hover: hover) { .quote__direct a:hover { color: var(--accent); padding-left: 0.75rem; } }
.quote__map { margin-top: clamp(24px, 3vw, 40px); position: relative; }
.quote__map-shape { width: 100%; aspect-ratio: 1.62; background: linear-gradient(120deg, var(--navy), #5a6bb0); -webkit-mask: url("../img/us_map.svg") center / contain no-repeat; mask: url("../img/us_map.svg") center / contain no-repeat; }
/* animated coverage map (js/map-b.js) */
.usmap svg { display: block; width: 100%; height: auto; overflow: visible; }
.usmap__state {
  fill: #d3d9e8; stroke: var(--paper); stroke-width: 1.2; stroke-linejoin: round; cursor: pointer;
  transition: fill 0.7s var(--ease-out) var(--delay, 0ms);
}
.usmap.is-lit .usmap__state { fill: var(--tone, var(--navy)); }
.usmap.is-lit .usmap__state--home { fill: var(--accent); }
.usmap .usmap__state:hover { fill: var(--accent); transition: fill 0.18s; }
/* thin dark halo keeps the white routes readable where they cross open water (page background) */
.usmap__routes { pointer-events: none; filter: drop-shadow(0 0 1.5px rgba(20, 27, 58, 0.75)); }
.usmap__route {
  fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.9;
  transition: stroke-dashoffset 1.3s var(--ease-out) var(--delay, 0ms);
}
.usmap.is-routed .usmap__route { stroke-dashoffset: 0; }
.usmap__hub { fill: #fff; stroke: var(--accent); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity 0.4s calc(var(--delay, 0ms) + 1000ms), transform 0.6s var(--ease-out) calc(var(--delay, 0ms) + 1000ms); }
.usmap.is-routed .usmap__hub { opacity: 1; transform: scale(1); }
.usmap__dot { fill: var(--accent); stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity 0.4s 1.2s; }
.usmap.is-routed .usmap__dot { opacity: 1; }
.usmap__home { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.usmap__beacon { fill: none; stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: beacon 2.2s var(--ease-out) infinite; }
@keyframes beacon { from { transform: scale(1); opacity: 0.9; } to { transform: scale(4.5); opacity: 0; } }
.usmap--still .usmap__state, .usmap--still .usmap__route, .usmap--still .usmap__hub { transition: none; }
.usmap--still .usmap__beacon { animation: none; opacity: 0; }
#mapCount { display: inline-block; min-width: 1.1em; color: var(--accent); font-variant-numeric: tabular-nums; }

.quote__map p { margin-top: 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--navy); }

.form { position: sticky; top: calc(var(--nav-h) + 24px); padding: clamp(24px, 3vw, 44px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 32px 64px -40px rgba(20, 27, 58, 0.55); }
.form h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.form__note { margin-top: 0.5rem; color: var(--muted); }
.form fieldset { margin: 1.75rem 0 0; padding: 0; border: 0; min-width: 0; }
.form legend, .field label { display: block; padding: 0; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field label small, .form legend small { font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); font-weight: 600; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.35s var(--ease-out); }
.chip span::before { content: "+"; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1; transition: transform 0.35s var(--ease-out); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.04); }
.chip input:checked + span::before { transform: rotate(45deg); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .chip:hover span { border-color: var(--navy); } }

.field { margin-top: 0.6rem; }
.form fieldset + .field-row { margin-top: 0.9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.25s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7592; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--surface); box-shadow: 0 0 0 4px rgba(51, 63, 111, 0.16); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--accent); }
.field__error { display: block; min-height: 1.25rem; margin-top: 0.35rem; font-size: 0.9rem; color: #b3151b; }
.field__hint { display: block; margin-top: 0.45rem; color: var(--muted); font-size: 0.9rem; }

.form__submit { margin-top: 1rem; width: 100%; justify-content: center; position: relative; }
.form__submit i { transition: transform 0.4s var(--ease-out); }
@media (hover: hover) { .form__submit:hover i { transform: translateX(6px); } }
.form__submit.is-sending { pointer-events: none; opacity: 0.85; }
.form__submit.is-sending i { animation: send-nudge 0.8s ease-in-out infinite; }
@keyframes send-nudge { 50% { transform: translateX(10px); } }
.form__privacy { margin-top: 0.85rem; font-size: 0.9rem; color: var(--muted); text-align: center; }

.alert { margin-top: 1.25rem; padding: 0.9rem 1rem; border-radius: var(--radius); border: 2px solid; font-weight: 500; }
.alert--success { background: #eaf7ef; border-color: #1f8a4c; color: #14532d; }
.alert--error { background: #fdecec; border-color: var(--accent); color: #8f1116; }

/* Django flash messages shown outside the form (e.g. on the landing page) */
.flash { position: fixed; z-index: 60; top: calc(var(--nav-h) + 12px); left: 50%; transform: translateX(-50%); width: min(calc(100% - 2 * var(--gutter)), 560px); display: grid; gap: 8px; }
.flash .alert { margin: 0; box-shadow: 0 18px 40px -22px rgba(20, 27, 58, 0.6); }

.next { border-top: 1px solid var(--line); }
.next__inner { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding: clamp(40px, 6vw, 88px) 0; }
.next__grid { margin-top: clamp(24px, 3vw, 48px); display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 16px; }
.next__item { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.next__item:nth-child(2) { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.next__item:nth-child(2) p { color: #cfd6ee; }
.next__item:nth-child(3) { background: var(--accent); border-color: var(--accent); color: #fff; }
.next__item:nth-child(3) p, .next__item:nth-child(3) i, .next__item:nth-child(2) i { color: #fff; }
.next__item i { font-size: 2.5rem; color: var(--accent); }
.next__item h3 { margin-top: 1.25rem; }
.next__item p { margin-top: 0.5rem; color: var(--muted); }

@media (max-width: 960px) {
  .quote { grid-template-columns: 1fr; }
  .form { position: static; }
  .next__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .quote__direct a span { display: none; }
}

/* ---------- Reduced motion / transparency ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .ticker__track { animation: none; }
  .nav__order-dot::after { animation: none; }
  .nav__links a.nav__order::after { animation: none; display: none; }
  .curtain { display: none; }
  /* videos never start under reduced motion (see main-b.js); their poster stays as a still */
  .hero__stage { height: 70dvh; }
  .cta__media { inset: 0; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Order online: catalogue, order form, thank-you ---------- */
.shop { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.shop__head { max-width: 62ch; }
.shop__head h1 { font-size: clamp(3rem, 7.4vw, 6.5rem); line-height: 0.9; }
.shop__head p { margin-top: 1.25rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); }
/* legitimacy note next to "Order online": official site + payments collected through Stripe */
.trust { margin-top: 1.1rem; display: inline-flex; align-items: flex-start; gap: 0.6rem; padding: 0.7rem 1rem; border: 1px solid #bfe3cd; border-radius: var(--radius); background: #eaf7ef; color: #14532d; font-size: 0.98rem; line-height: 1.4; }
.trust i { flex: none; font-size: 1.5rem; color: #1c7c4a; }
.trust strong { font-weight: 700; }
.shop__head .trust { margin-top: 1.25rem; }
.trust--compact { font-size: 0.92rem; padding: 0.55rem 0.85rem; }
.shop__grid { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offer { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
@media (hover: hover) { .offer:hover { transform: translateY(-6px); box-shadow: 0 28px 48px -28px rgba(20, 27, 58, 0.45); } }
.offer > i { font-size: 2.75rem; color: var(--accent); }
.offer h2 { margin-top: 1rem; font-size: clamp(1.75rem, 2.4vw, 2.25rem); }
.offer__lead { margin-top: 0.5rem; font-weight: 600; }
.offer__body { margin-top: 0.5rem; color: var(--muted); font-size: 0.975rem; }
.offer__foot { margin-top: auto; padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.offer__price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--navy); }
.shop__empty { margin-top: 2rem; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.shop__empty a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.shop__note { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.shop__note i { color: var(--navy); font-size: 1.2rem; }

.order__back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1rem; font-weight: 600; color: var(--muted); }
.order__back:hover { color: var(--accent); }
.order .quote__intro h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); }
.order__price { margin-top: 0.75rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: var(--accent); }
.order__price small { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--muted); text-transform: none; }
.order__steps { margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.order__steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.order__steps li::before { content: counter(step); grid-row: 1 / span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.order__steps strong { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; }
.order__steps span { color: var(--muted); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert--info { background: #eaf0fb; border-color: var(--navy); color: var(--ink); }

.thanks { width: min(calc(100% - 2 * var(--gutter)), 880px); margin-inline: auto; padding: clamp(40px, 7vw, 96px) 0; }
.thanks__card { text-align: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 32px 64px -40px rgba(20, 27, 58, 0.5); }
.thanks__card > i { font-size: 4.5rem; color: #1f8a4c; }
.thanks__card h1 { margin-top: 1rem; font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
.thanks__card p { margin: 1.25rem auto 0; max-width: 52ch; font-size: 1.15rem; color: var(--muted); }
.thanks__actions { margin-top: 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 960px) { .shop__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shop__grid { grid-template-columns: 1fr; } }

/* ---------- Embedded checkout page ---------- */
.pay { grid-template-columns: 5fr 7fr; }
.pay__summary h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
.pay__lines { margin: clamp(20px, 3vw, 32px) 0 0; display: grid; }
.pay__lines div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.pay__lines dt { color: var(--muted); }
.pay__lines dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.pay__total { border-top-width: 2px !important; border-color: var(--ink) !important; }
.pay__total dt, .pay__total dd { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; color: var(--ink); }
.pay__total dd { color: var(--accent); }
.pay__trust { margin-top: 1.5rem; display: flex; gap: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.pay__trust i { flex: none; color: var(--navy); font-size: 1.2rem; }
.pay__panel { position: sticky; top: calc(var(--nav-h) + 24px); padding: clamp(12px, 1.6vw, 20px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 32px 64px -40px rgba(20, 27, 58, 0.55); }
.pay__frame { min-height: 520px; }
.pay__loading { display: flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 520px; color: var(--muted); font-weight: 500; }
.pay__loading span { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
.pay__loading.is-error { color: #b3151b; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) { .pay { grid-template-columns: 1fr; } .pay__panel { position: static; } }

/* ---------- Confirmation: drawn check mark, then content rises in sequence ---------- */
.done { width: min(calc(100% - 2 * var(--gutter)), 920px); margin-inline: auto; padding: clamp(32px, 6vw, 88px) 0; }
.done__card { text-align: center; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 32px 64px -40px rgba(20, 27, 58, 0.5); }
.done__mark { width: clamp(96px, 14vw, 136px); height: auto; display: block; margin: 0 auto; }
.done__ring { fill: none; stroke: #1f8a4c; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; transform: rotate(-90deg); transform-origin: center; animation: ring 0.9s var(--ease-out) forwards; }
.done__fill { fill: #1f8a4c; transform: scale(0); transform-origin: center; animation: fill 0.5s 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.done__check { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: check 0.45s 1.05s var(--ease-out) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes fill { to { transform: scale(1); } }
@keyframes check { to { stroke-dashoffset: 0; } }
.done__eyebrow, .done h1, .done__lead, .done__steps, .done__actions { opacity: 0; animation: rise 0.8s var(--ease-out) forwards; }
.done__eyebrow { animation-delay: 1.3s; } .done h1 { animation-delay: 1.4s; } .done__lead { animation-delay: 1.5s; } .done__steps { animation-delay: 1.65s; } .done__actions { animation-delay: 1.85s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.done__eyebrow { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; color: #1f8a4c; }
.done h1 { margin-top: 0.5rem; font-size: clamp(2.4rem, 5.4vw, 4.25rem); }
.done__lead { margin: 1.25rem auto 0; max-width: 56ch; font-size: 1.15rem; color: var(--muted); }
.done__steps { margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: left; }
.done__steps li { position: relative; padding: 16px 14px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); display: grid; gap: 2px; }
.done__steps li i { font-size: 1.6rem; color: var(--muted); margin-bottom: 6px; }
.done__steps li strong { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; line-height: 1; }
.done__steps li span { color: var(--muted); font-size: 0.9rem; }
.done__steps li.is-done { background: #eaf7ef; border-color: #bfe3cc; }
.done__steps li.is-done i { color: #1f8a4c; }
.done__steps li.is-done::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 0 0 var(--radius) var(--radius); background: #1f8a4c; transform: scaleX(0); transform-origin: left; animation: bar 0.6s 2s var(--ease-out) forwards; }
.done__steps li.is-done:nth-child(2)::after { animation-delay: 2.3s; }
@keyframes bar { to { transform: scaleX(1); } }
.done__actions { margin-top: 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 760px) { .done__steps { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .done__ring, .done__fill, .done__check, .done__eyebrow, .done h1, .done__lead, .done__steps, .done__actions, .done__steps li.is-done::after { animation: none; opacity: 1; stroke-dashoffset: 0; transform: none; }
  .done__fill { transform: scale(1); } .done__steps li.is-done::after { transform: scaleX(1); }
}

.order__breakdown { margin: 1rem 0 0; max-width: 420px; display: grid; }
.order__breakdown div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.order__breakdown dd { margin: 0; font-weight: 600; color: var(--ink); }
.order__breakdown-total { border-top: 2px solid var(--ink) !important; }
.order__breakdown-total dt, .order__breakdown-total dd { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; color: var(--ink); }
.order__breakdown-total dd { color: var(--accent); }

/* ---------- Order form extras: groups, quantity stepper, file picker ---------- */
.form__group { margin: 1.5rem 0 0; padding: 0; border: 0; min-width: 0; }
.form__group legend { padding: 0; margin-bottom: 0.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; color: var(--ink); }
.form__group legend small { font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; text-transform: none; color: var(--muted); }
.field-row--3 { grid-template-columns: 2fr 1.2fr 1fr; }
.field select { width: 100%; min-height: 52px; padding: 0.8rem 1rem; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); }
.field select:focus { outline: none; border-color: var(--navy); background: var(--surface); box-shadow: 0 0 0 4px rgba(51, 63, 111, 0.16); }
.field--qty { padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.qty { display: inline-flex; align-items: stretch; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.qty input { width: 76px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 1.25rem; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn { width: 48px; border: 0; background: var(--paper); color: var(--ink); font-size: 1.5rem; font-weight: 700; cursor: pointer; transition: background-color 0.2s; }
.qty__btn:hover { background: var(--line); }
.upload { display: flex; align-items: center; gap: 0.6rem; min-height: 52px; padding: 0.8rem 1rem; border: 2px dashed var(--navy); border-radius: var(--radius); background: var(--surface); color: var(--navy); font-weight: 600; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.upload i { font-size: 1.4rem; }
.upload:hover { background: #eaf0fb; }
.has-file .upload { border-style: solid; background: #eaf7ef; border-color: #1f8a4c; color: #14532d; }
/* visually hidden but focusable; overrides the generic .field input sizing so it never widens the page */
.field .upload__input { position: absolute; left: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; }
.upload__input:focus-visible + .field__error, .upload__input:focus-visible ~ * { outline: none; }
.field:has(.upload__input:focus-visible) .upload { outline: 3px solid var(--accent); outline-offset: 2px; }
.order__desc { white-space: pre-line; }
.offer__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; letter-spacing: 0; color: var(--muted); text-transform: none; }
.offer h3 { margin-top: 1rem; font-size: clamp(1.6rem, 2.2vw, 2rem); }
.offer--featured { grid-column: span 2; background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.offer--featured > i { color: #fff; }
.offer--featured .offer__lead, .offer--featured .offer__price small { color: #cfd6ee; }
.offer--featured .offer__price { color: #fff; }
.services__empty { grid-column: 1 / -1; color: var(--muted); }
.services__empty a { color: var(--accent); font-weight: 600; text-decoration: underline; }
@media (max-width: 960px) { .offer--featured { grid-column: span 2; } }
@media (max-width: 600px) { .field-row--3 { grid-template-columns: 1fr 1fr; } .field-row--3 .field:first-child { grid-column: span 2; } .offer--featured { grid-column: auto; } }


/* ---------- Announcement bar ---------- */
.announce { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.7rem var(--gutter); background: var(--navy); color: #fff; font-weight: 600; transition: background-color 0.2s; }
.announce:hover { background: var(--ink); }
.announce__tag { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.announce__cta { display: inline-flex; align-items: center; gap: 0.35rem; color: #ff8a8e; }
@media (max-width: 600px) { .announce { font-size: 0.95rem; gap: 0.5rem; } .announce__text { display: none; } .announce::after { content: "Order and pay online in minutes"; order: 1; } .announce__cta { order: 2; } }

/* ---------- Compact grouped price list on the home page ---------- */
.menu__groups { margin-top: clamp(24px, 3.5vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.menu__group { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.menu__group h3 { padding: 0.9rem 1.1rem; background: var(--navy); color: #fff; font-size: 1.25rem; letter-spacing: 0.02em; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__row { display: grid; grid-template-columns: 28px 1fr auto 20px; align-items: center; gap: 0.75rem; padding: 0.95rem 1.1rem; border-top: 1px solid var(--line); color: var(--ink); transition: background-color 0.2s; }
.menu__list li:first-child .menu__row { border-top: 0; }
.menu__row > i:first-child { font-size: 1.5rem; color: var(--accent); }
.menu__name { font-weight: 600; line-height: 1.2; }
.menu__price { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1; color: var(--navy); white-space: nowrap; text-align: right; }
.menu__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--muted); }
.menu__go { color: var(--muted); transition: transform 0.3s var(--ease-out), color 0.2s; }
@media (hover: hover) { .menu__row:hover { background: var(--paper); } .menu__row:hover .menu__go { transform: translateX(4px); color: var(--accent); } }
.menu__row:active { background: var(--paper); }
.shop__note a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.shop__group { margin-top: clamp(28px, 4vw, 48px); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--navy); }
.shop__group + .shop__grid { margin-top: 1rem; }
@media (max-width: 960px) { .menu__groups { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Ticker items are links ---------- */
.ticker li a { color: inherit; transition: color 0.2s; }
.ticker li a:hover { color: var(--accent); }

/* ---------- Phone sticky bar ---------- */
.stickybar { display: none; }
@media (max-width: 860px) {
  .stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 245, 249, 0.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.45s var(--ease-out); }
  .stickybar.is-visible { transform: none; }
  .stickybar .btn { justify-content: center; min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .stickybar { transition: none; } }
