/* Blue Coast Supply — site styles.
   Layout: full-width colour bands (white header, navy hero, light sections, navy quote band),
   each with a centred 1200px content column. Single light theme by design (brand colours). */
:root {
  --navy: #0b2545;
  --navy-2: #0f2d52;
  --mist: #dfe7ef;
  --spark: #4a8fe7;
  --coast: #13579e;
  --tide: #8db8e0;
  --tide-soft: #dceaf7;
  --buoy: #e07a2e;
  --ink: #0f1b2d;
  --muted: #4a5a70;
  --surface: #f5f8fb;
  --band: #e9eff6;
  --white: #ffffff;
  --line: #d3dde8;
  --line-strong: #7f91a8;
  --on-navy: #dce7f3;
  --success: #1d7a4b;
  --danger: #b3261e;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--coast); }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--coast);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1264px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-md);
}
.skip-link:focus { top: 12px; color: var(--white); }

.eyebrow {
  font: 600 12px/16px var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coast);
}
.on-navy .eyebrow { color: var(--tide); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius-md); border: 0;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--coast); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); }
.btn-signal { background: var(--buoy); color: var(--navy); }
.btn-signal:hover { background: #ea8a40; color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.brand { display: flex; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--coast); }
@media (max-width: 900px) {
  .nav { gap: 0; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .brand img { height: 34px; }
  .nav .btn { padding: 0 14px; font-size: 14px; }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  padding-block: 88px 96px;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.hero .lede { max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--on-navy); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.text-link-light { color: var(--white); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--tide); }
.text-link-light:hover { color: var(--tide-soft); }

.order-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  padding: 26px 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0;
}
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.order-head > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.order-label { font: 600 11px/16px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.order-title { font: 700 20px/1.3 var(--font-display); color: var(--navy); }
.order-meta { font-size: 14px; line-height: 1.45; color: var(--muted); }
.doc-no {
  font: 500 12px/16px var(--font-mono); color: var(--coast); background: var(--tide-soft);
  padding: 4px 8px; border-radius: var(--radius-sm); white-space: nowrap;
}
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.timeline li:last-child { border-bottom: 0; }
.timeline .dot { width: 10px; height: 10px; border-radius: 999px; justify-self: center; }
.timeline .done .dot { background: var(--success); }
.timeline .now { background: var(--tide-soft); margin: 0 -10px; padding-inline: 10px; }
.timeline .now .dot { background: var(--coast); box-shadow: 0 0 0 4px var(--white); }
.timeline .next .dot { background: var(--white); box-shadow: inset 0 0 0 2px var(--line-strong); }
.timeline .step { font-weight: 600; }
.timeline .next .step { font-weight: 400; color: var(--muted); }
.timeline .now .step { color: var(--navy); }
.timeline time, .timeline .when { font: 400 13px/1 var(--font-mono); color: var(--muted); white-space: nowrap; }
.timeline .now .when { color: var(--coast); font-weight: 500; }
.order-price {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px;
  padding: 13px 16px; background: var(--surface); border-radius: var(--radius-md);
}
.order-price span:first-child { font-size: 13px; line-height: 1.4; color: var(--muted); }
.order-price strong { font: 500 18px/1.2 var(--font-mono); color: var(--navy); white-space: nowrap; }

/* Terms strip */
.terms { background: var(--white); border-bottom: 1px solid var(--line); }
.terms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 34px; }
.terms-grid div { display: flex; flex-direction: column; gap: 4px; }
.terms-grid strong { font: 500 20px/1.3 var(--font-mono); color: var(--coast); }
.terms-grid span { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Generic section */
.section { padding-block: 88px; }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-band { background: var(--band); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; margin-bottom: 44px; }
.section-head-split {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 48px; flex-wrap: wrap; margin-bottom: 44px;
}
.section-head-split .section-head { margin-bottom: 0; }
.section-head-split > p { max-width: 26rem; color: var(--muted); font-size: 16px; line-height: 1.6; }
.section h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.16; font-weight: 700; letter-spacing: -0.01em; }
.section-head .sub { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* Services */
.card-grid { display: grid; gap: 24px; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.section-white .card { background: var(--surface); }
.card svg { width: 28px; height: 28px; stroke: var(--coast); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card .examples { font-size: 14px; line-height: 1.5; color: var(--ink); padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); }
.card .examples b { font-weight: 600; color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 6px; }

.cert-note { margin-top: 36px; font-size: 13px; color: var(--muted); }

/* Product categories with illustrations */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.product { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.product .tile { background: var(--tide-soft); border-radius: var(--radius-lg); aspect-ratio: 16 / 11; max-width: 100%; display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.product .tile svg { width: 100%; height: 100%; display: block; }
.product h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.product p { font-size: 15px; line-height: 1.5; color: var(--muted); }
/* Horizontal carousel: ~3.3 cards visible on desktop so the next one peeks in */
.carousel {
  grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3.3);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-left: 0; padding-bottom: 14px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.carousel .product { scroll-snap-align: start; }
.product-more .tile { background: var(--navy); }
.product-more .btn { align-self: flex-start; margin-top: 6px; }
.captcha:empty { display: none; }
.carousel:focus-visible { outline: 2px solid var(--coast); outline-offset: 4px; }
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.carousel-side { display: flex; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; justify-content: flex-end; }
.carousel-side > p { max-width: 22rem; color: var(--muted); font-size: 16px; line-height: 1.6; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white);
  display: grid; place-items: center; cursor: pointer; color: var(--navy);
}
.carousel-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: var(--white); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
@media (prefers-reduced-motion: reduce) { .carousel { scroll-behavior: auto; } }
@media (max-width: 960px) { .carousel { grid-auto-columns: calc((100% - 24px) / 2.2); } }
@media (max-width: 520px) { .carousel { grid-auto-columns: 82%; } .carousel-nav { display: none; } }

.ask-band {
  margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap;
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 28px 32px;
}
.ask-band div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ask-band h3 { color: var(--white); font-size: 22px; line-height: 1.3; }
.ask-band p { color: var(--on-navy); font-size: 16px; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--navy); padding-top: 18px; min-width: 0; }
.steps li:last-child { border-top-color: var(--coast); }
.steps .num { font: 500 13px/1 var(--font-mono); color: var(--coast); }
.steps h3 { font-size: 19px; line-height: 1.3; }
.steps p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy p:not(.eyebrow) { font-size: 17px; line-height: 1.65; max-width: 36em; }
.points { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.points li { padding: 20px 26px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.points li:last-child { border-bottom: 0; }
.points strong { font: 700 17px/1.35 var(--font-display); color: var(--navy); }
.points span { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Quote */
.quote { background: var(--navy); color: var(--white); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; padding-block: 88px; }
.quote-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.quote h2 { color: var(--white); font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.quote-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--on-navy); }
.helps { margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(141, 184, 224, 0.35); display: flex; flex-direction: column; gap: 10px; }
.helps h3 { color: var(--white); font-size: 16px; font-family: var(--font-body); font-weight: 600; }
.helps ul { margin: 0; padding-left: 20px; color: var(--on-navy); font-size: 15px; line-height: 1.6; display: grid; gap: 4px; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--on-navy); margin-top: 8px; }
.contact-lines a { color: var(--white); font-weight: 600; }

.quote-form {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 32px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; min-width: 0;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 12px; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--white);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input[type="file"] { padding: 9px 10px; font-size: 14px; background: var(--surface); }
.field .hint { font-size: 13px; line-height: 1.45; color: var(--muted); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-foot p { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 26rem; }
.form-status { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; padding: 12px 14px; border-radius: var(--radius-md); background: var(--tide-soft); color: var(--navy); }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: 24px; padding-block: 44px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer-top img { height: 36px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; font-weight: 600; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover { color: var(--coast); }
.footer-legal {
  display: flex; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--muted);
}

/* Simple inner pages (privacy, thanks) */
.page-main { padding-block: 64px 88px; }
.prose { max-width: 44rem; display: flex; flex-direction: column; gap: 16px; }
.prose h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.prose h2 { font-size: 21px; line-height: 1.3; margin-top: 16px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose .updated { font: 400 13px/1.4 var(--font-mono); color: var(--muted); }
.thanks-card {
  max-width: 40rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; display: flex; flex-direction: column; gap: 16px;
}
.thanks-card .check { width: 44px; height: 44px; border-radius: 999px; background: var(--tide-soft); display: grid; place-items: center; }
.thanks-card .check svg { width: 24px; height: 24px; stroke: var(--coast); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thanks-card h1 { font-size: clamp(28px, 4vw, 36px); line-height: 1.2; font-weight: 800; }
.thanks-card p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.thanks-card .btn { align-self: flex-start; margin-top: 8px; }

/* Responsive */
@media (max-width: 1080px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 960px) {
  .hero-grid, .about-grid, .quote-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-grid { padding-block: 64px 72px; }
  .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .section, .quote-grid { padding-block: 64px; }
  .cols-4, .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .quote-form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .order-card { padding: 22px 18px; }
  .order-head { flex-direction: column-reverse; }
  .ask-band { padding: 24px 20px; }
  .ask-band .btn { width: 100%; }
  .form-foot .btn { width: 100%; }
  .thanks-card { padding: 28px 20px; }
}
@media (max-width: 400px) {
  .terms-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* =========================================================
   Motion: loading screen, hero intro, scroll reveals
   ========================================================= */
html { --intro: 1.75s; }
html.no-preload { --intro: .1s; }

.preloader { display: none; }
.js:not(.no-preload) .preloader {
  display: flex; position: fixed; inset: 0; z-index: 100; background: var(--navy);
  flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  animation: pl-lift .75s cubic-bezier(.7, 0, .2, 1) 1.45s forwards;
}
.pl-box { transform-box: fill-box; transform-origin: center; animation: pl-pop .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.pl-wave { stroke-dasharray: 1; animation: pl-draw .55s ease-out .3s both; }
.pl-bar1, .pl-bar2 { transform-box: fill-box; transform-origin: left center; animation: pl-grow .35s ease-out both; }
.pl-bar1 { animation-delay: .7s; }
.pl-bar2 { animation-delay: .82s; }
.pl-word { font: 800 22px/1 var(--font-display); color: var(--white); letter-spacing: .02em; animation: rise .5s ease-out .85s both; }
.pl-line { width: 140px; height: 2px; background: rgba(141, 184, 224, .25); border-radius: 2px; overflow: hidden; }
.pl-line i { display: block; height: 100%; background: var(--buoy); transform-origin: left; animation: pl-grow 1.3s cubic-bezier(.4, 0, .2, 1) both; }

@keyframes pl-lift { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes pl-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes pl-draw { from { stroke-dashoffset: 1; } }
@keyframes pl-grow { from { transform: scaleX(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes fade { from { opacity: 0; } }

.js .intro { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--intro) + var(--d, 0s)); }
.js .timeline li { animation: rise .5s ease-out both; animation-delay: calc(var(--intro) + .6s + var(--n, 0) * .12s); }
.timeline .step .bar { display: block; height: 4px; margin-top: 7px; max-width: 180px; background: var(--white); border-radius: 2px; overflow: hidden; }
.timeline .step .bar i { display: block; height: 100%; width: 60%; background: var(--coast); border-radius: 2px; }
.js .timeline .step .bar i { animation: fill-60 1.4s cubic-bezier(.4, 0, .2, 1) both; animation-delay: calc(var(--intro) + 1.2s); }
@keyframes fill-60 { from { width: 0; } }
.timeline .now .dot { animation: pulse 2s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 4px var(--white), 0 0 0 4px rgba(19, 87, 158, .5); }
  100% { box-shadow: 0 0 0 4px var(--white), 0 0 0 13px rgba(19, 87, 158, 0); }
}

.scroll-cue { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 15px; font-weight: 600; text-decoration: none; }
.scroll-cue:hover { color: var(--tide-soft); }
.scroll-cue svg { width: 20px; height: 20px; fill: none; stroke: var(--tide); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@keyframes reveal { from { transform: translateY(36px); } }

/* =========================================================
   4-step process: one navy panel, text and animation together
   ========================================================= */
.process { background: var(--navy-2); color: var(--white); overflow-x: clip; }
.process-sticky { padding-block: 80px; }
.process-panel {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "copy visual" "nav nav"; gap: 40px 56px; align-items: center;
}
.process-copy { grid-area: copy; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.process-copy h2 { color: var(--on-navy); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.pslides { display: grid; margin-top: 28px; }
.pslide {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 16px;
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .6s;
}
.pslide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
.pslide-num { font: 500 15px/1 var(--font-mono); color: var(--buoy); letter-spacing: .04em; }
.pslide-num span { color: var(--tide); }
.pslide h3 { color: var(--white); font: 800 clamp(34px, 4.6vw, 60px)/1.04 var(--font-display); letter-spacing: -.02em; }
.pslide p { max-width: 30rem; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--on-navy); }

.process-visual { grid-area: visual; position: relative; aspect-ratio: 4 / 3; width: 100%; max-height: 62vh; min-width: 0; }
.process-visual::before {
  content: ""; position: absolute; inset: -10%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(19, 87, 158, .55), rgba(19, 87, 158, 0));
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s ease; }
.scene.is-active { opacity: 1; }

.pstep-nav { grid-area: nav; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pstep {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0;
  padding: 0 0 4px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.pbar { display: block; width: 100%; height: 3px; margin-bottom: 8px; background: rgba(141, 184, 224, .25); border-radius: 2px; overflow: hidden; }
.pbar i { display: block; height: 100%; width: 0; background: var(--buoy); }
.pstep.is-active .pbar i, .pstep.is-done .pbar i { width: 100%; }
.is-scrolly .pstep.is-active .pbar i { width: calc(var(--sp, 0) * 100%); }
.is-auto .pstep.is-active .pbar i { animation: fill 4.5s linear both; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.pnum { font: 500 13px/1 var(--font-mono); color: var(--tide); }
.ptitle { font: 700 17px/1.3 var(--font-display); color: var(--tide); opacity: .75; transition: color .3s, opacity .3s; }
.pstep:hover .ptitle { opacity: 1; }
.pstep.is-active .ptitle { color: var(--white); opacity: 1; }
.pstep.is-active .pnum { color: var(--buoy); }
.pstep:focus-visible { outline: 2px solid var(--tide); outline-offset: 6px; }

/* Large screens: the panel pins while you scroll through the four steps */
.is-scrolly .process-track { height: 380vh; }
.is-scrolly .process-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-block: 28px; }

/* Scene 1: idea */
.scene .draw { stroke-dasharray: 1; }
.scene.is-active .draw { animation: pl-draw 1s ease-out both; }
.scene.is-active .draw.d2 { animation-delay: .5s; }
.scene.is-active .draw.d3 { animation-delay: 1.3s; }
.scene.is-active .dim { animation: fade .6s ease-out 1.6s both; }
.pencil { transform: translate(330px, 288px); }
.scene.is-active .pencil { animation: pencil 2.2s ease-in-out .1s both; }
@keyframes pencil {
  0% { transform: translate(206px, 96px); }
  18% { transform: translate(294px, 96px); }
  30% { transform: translate(290px, 114px); }
  55% { transform: translate(281px, 262px); }
  72% { transform: translate(219px, 262px); }
  85% { transform: translate(210px, 114px); }
  100% { transform: translate(330px, 288px); }
}
.glow { transform-box: fill-box; transform-origin: center; }
.scene.is-active .glow { animation: glow 2s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.25); opacity: .35; } }

/* Scene 2: factory production */
.gear { transform-box: fill-box; transform-origin: center; }
.scene.is-active .gear { animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scene.is-active .press { animation: press 1s ease-in-out infinite; }
@keyframes press { 50% { transform: translateY(12px); } }
.item { transform: translateX(calc(60px + var(--i) * 100px)); }
.scene.is-active .item { animation: conveyor 4s linear infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes conveyor { from { transform: translateX(10px); } to { transform: translateX(450px); } }
.scene.is-active .belt { animation: belt .8s linear infinite; }
@keyframes belt { to { stroke-dashoffset: -20; } }

/* Scene 3: QC & inspection */
.scene.is-active .lens { animation: scan 2.4s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translate(-26px, -30px); } to { transform: translate(24px, 40px); } }
.scene .tick { stroke-dasharray: 1; }
.scene.is-active .tick { animation: pl-draw .4s ease-out .6s both; }
.scene.is-active .tick.t2 { animation-delay: 1.1s; }
.scene.is-active .tick.t3 { animation-delay: 1.6s; }
.stamp { transform-box: fill-box; transform-origin: center; }
.scene.is-active .stamp { animation: stamp .45s cubic-bezier(.2, .9, .3, 1.4) 2.1s both; }
@keyframes stamp { from { opacity: 0; transform: scale(1.8); } }

/* Scene 4: logistics */
.scene.is-active .waves.front { animation: waves 3s linear infinite; }
.scene.is-active .waves.back { animation: waves 5s linear infinite; }
@keyframes waves { to { transform: translateX(-120px); } }
.ship { transform-box: fill-box; transform-origin: center bottom; }
.scene.is-active .ship { animation: ship 2.6s ease-in-out infinite; }
@keyframes ship { 50% { transform: translateY(5px) rotate(1.2deg); } }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0;
  list-style: none; cursor: pointer; font: 700 18px/1.35 var(--font-display); color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-right: 6px;
  border-right: 2px solid var(--coast); border-bottom: 2px solid var(--coast);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-list summary:hover { color: var(--coast); }
.faq-list summary:focus-visible { outline: 2px solid var(--coast); outline-offset: 4px; }
.faq-list details p { max-width: 40rem; padding-bottom: 22px; font-size: 16px; line-height: 1.65; color: var(--muted); }

@media (max-width: 960px) {
  .process-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "visual" "nav"; gap: 28px; }
  .process-visual { max-height: none; }
  .pslides { margin-top: 12px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .process-sticky { padding-block: 64px; }
  .ptitle { font-size: 13px; }
  .pnode { width: 44px; height: 44px; }
  .ptrack { top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Value points along the bottom of the hero */
.hero-grid { padding-bottom: 64px; }
.hero-terms { border-top: 1px solid rgba(141, 184, 224, .25); padding-block: 28px 40px; }
.hero-terms strong { color: var(--tide); }
.hero-terms span { color: var(--on-navy); }
@media (max-width: 960px) { .hero-grid { padding-bottom: 48px; } }

/* =========================================================
   Light theme for the top of the page (hero + how it works)
   ========================================================= */
.js:not(.no-preload) .preloader { background: var(--white); }
.pl-word { color: var(--navy); }
.pl-line { background: var(--line); }

.hero { background: var(--white); color: var(--ink); }
.hero h1 { color: var(--navy); }
.hero .lede { color: var(--muted); }
.scroll-cue { color: var(--navy); }
.scroll-cue:hover { color: var(--coast); }
.scroll-cue svg { stroke: var(--coast); }
.order-card {
  border: 1px solid var(--line);
  box-shadow: 0 28px 56px -28px rgba(11, 37, 69, .28), 0 2px 6px rgba(11, 37, 69, .06);
}
.hero-terms { border-top-color: var(--line); }
.hero-terms strong { color: var(--coast); }
.hero-terms span { color: var(--muted); }

.process { background: var(--white); color: var(--ink); border-top: 1px solid var(--line); }
.process-copy h2 { color: var(--ink); }
.pslide-num { color: var(--coast); }
.pslide-num span { color: var(--muted); }
.pslide h3 { color: var(--navy); }
.pslide p { color: var(--muted); }
.process-visual {
  border-radius: 20px; overflow: hidden;
  background: radial-gradient(circle at 55% 45%, #18426f 0%, var(--navy) 72%);
  box-shadow: 0 30px 60px -30px rgba(11, 37, 69, .45);
}
.process-visual::before { display: none; }
.pbar { background: var(--line); }
.pnum { color: var(--muted); }
.ptitle { color: var(--muted); opacity: 1; }
.pstep:hover .ptitle { color: var(--navy); }
.pstep.is-active .ptitle { color: var(--navy); }
.pstep.is-active .pnum { color: var(--coast); }
.pstep:focus-visible { outline-color: var(--coast); }

/* Step timeline: icons on a line that fills as you progress */
.pstep-nav { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.ptrack { position: absolute; left: 12.5%; right: 12.5%; top: 26px; height: 2px; background: var(--line); border-radius: 2px; }
.ptrack i { display: block; height: 100%; width: calc(var(--fp, 0) * 100%); background: var(--coast); border-radius: 2px; transition: width .35s ease; }
.is-scrolly .ptrack i { transition: none; }
.pstep { position: relative; align-items: center; text-align: center; gap: 12px; padding: 0 6px 4px; }
.pnode {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px;
  background: var(--white); border: 2px solid var(--line); color: var(--muted);
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.pnode svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pstep:hover .pnode { border-color: var(--coast); color: var(--coast); }
.pstep.is-done .pnode { border-color: var(--coast); color: var(--coast); }
.pstep.is-active .pnode { background: var(--navy); border-color: var(--navy); color: var(--white); transform: scale(1.08); animation: node-pulse 2.2s ease-out infinite; }
@keyframes node-pulse { 0% { box-shadow: 0 0 0 0 rgba(19, 87, 158, .35); } 100% { box-shadow: 0 0 0 12px rgba(19, 87, 158, 0); } }
.pstep .ptitle { font-size: 15px; }

/* =========================================================
   Vectr-inspired restyle: mist ground, pill buttons, centred hero,
   vertical stepper, icon feature grid
   ========================================================= */
.nowrap { white-space: nowrap; }

/* Buttons: pills, navy primary, soft grey secondary */
.btn { border-radius: 999px; }
.btn-primary, .btn-signal { background: var(--navy); color: var(--white); }
.btn-primary:hover, .btn-signal:hover { background: var(--coast); color: var(--white); }
.btn-ghost { background: rgba(11, 37, 69, .08); color: var(--navy); }
.btn-ghost:hover { background: rgba(11, 37, 69, .14); color: var(--navy); }
.product-more .btn-signal { background: var(--white); color: var(--navy); }
.product-more .btn-signal:hover { background: var(--tide-soft); color: var(--navy); }

/* Loading screen on the mist ground */
.js:not(.no-preload) .preloader { background: var(--mist); }
.pl-line { background: rgba(11, 37, 69, .12); }
.pl-line i { background: var(--coast); }

/* Header: links left, logo centred, pills right */
.site-header { background: var(--mist); border-bottom: 0; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 16px; }
.nav-left { display: flex; gap: 28px; }
.nav-left a { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.nav-left a:hover { color: var(--coast); }
.header-inner .brand { justify-self: center; }
.nav-right { justify-self: end; display: flex; gap: 10px; }
@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .nav-left { display: none; }
  .header-inner .brand { justify-self: start; }
}
@media (max-width: 560px) { .nav-right .btn-ghost { display: none; } }

/* Hero: centred and quiet */
.hero { background: radial-gradient(120% 90% at 50% 0%, #f4f7fa 0%, var(--mist) 62%); color: var(--ink); }
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-block: 96px 64px; }
.hero h1 { max-width: 15ch; color: var(--ink); font-size: clamp(40px, 6.4vw, 86px); line-height: 1.02; letter-spacing: -.035em; }
.hero .lede { max-width: 38rem; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.hero .hero-actions { justify-content: center; gap: 12px; }
.scroll-cue {
  margin-top: 36px; font: 600 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); text-decoration: underline; text-underline-offset: 7px; text-decoration-color: var(--line-strong);
}
.scroll-cue:hover { color: var(--coast); }

/* How it works: same mist ground, stepper left, animation right */
.process { background: var(--mist); border-top: 0; }
.process-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "copy visual"; gap: 40px 64px; align-items: center; }
.process-copy { gap: 36px; }
.process-head { display: flex; flex-direction: column; gap: 12px; }
.process-copy h2 { color: var(--navy); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.01em; }
.process-visual { max-height: 70vh; }

.vstep-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.vstep-list .pstep {
  position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 16px; align-items: start;
  width: 100%; padding: 8px 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.vnum {
  width: 40px; height: 32px; display: grid; place-items: center; border-radius: 8px;
  font: 500 12px/1 var(--font-mono); color: var(--muted); transition: background .3s, color .3s, box-shadow .3s, height .3s;
}
.pstep.is-active .vnum { height: 40px; background: var(--white); color: var(--navy); font-size: 13px; box-shadow: 0 8px 18px -10px rgba(11, 37, 69, .45); }
.vbody { display: flex; flex-direction: column; min-width: 0; padding-top: 6px; }
.vtitle { font: 700 15px/1.3 var(--font-display); color: var(--ink); transition: color .3s; }
.pstep.is-active .vbody { padding-top: 4px; }
.pstep.is-active .vtitle { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--navy); }
.vlabel { margin-left: 8px; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); vertical-align: middle; }
.vdesc { max-width: 30rem; max-height: 0; opacity: 0; overflow: hidden; font-size: 16px; line-height: 1.6; color: var(--muted); transition: max-height .45s ease, opacity .3s ease, margin-top .45s ease; }
.pstep.is-active .vdesc { max-height: 150px; opacity: 1; margin-top: 10px; }
.vline { position: absolute; left: 19px; top: 56px; bottom: 8px; width: 2px; border-radius: 2px; background: rgba(11, 37, 69, .12); opacity: 0; transition: opacity .3s; overflow: hidden; }
.pstep.is-active .vline { opacity: 1; }
.vline i { display: block; width: 100%; height: 100%; background: var(--navy); transform-origin: top; }
.is-scrolly .pstep.is-active .vline i { transform: scaleY(var(--sp, 0)); }
.is-auto .pstep.is-active .vline i { animation: vfill 4.5s linear both; }
@keyframes vfill { from { transform: scaleY(0); } }
.pstep:hover .vtitle { color: var(--coast); }
.vstep-list .pstep:focus-visible { outline: 2px solid var(--coast); outline-offset: 4px; border-radius: 8px; }

@media (max-width: 960px) {
  .process-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "visual" "steps"; gap: 28px; }
  .process-copy { display: contents; }
  .process-head { grid-area: head; }
  .vstep-list { grid-area: steps; }
  .process-visual { max-height: none; }
}

/* Why Blue Coast: four features, thin dividers, no cards */
.about { background: var(--white); border-block: 1px solid var(--line); }
.about-head { max-width: 46rem; display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
.about-head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.025em; }
.about-head p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 0; }
.feature { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 4px 28px 8px; border-left: 1px solid var(--line); }
.feature svg { width: 40px; height: 40px; margin-bottom: 28px; fill: none; stroke: var(--navy); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; line-height: 1.3; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } .feature { padding-inline: 20px; } }

/* Continuous carousel: no snapping while it drifts */
.carousel.is-marquee { scroll-snap-type: none; scroll-behavior: auto; }

/* =========================================================
   Accessibility additions
   ========================================================= */
[hidden] { display: none !important; }

/* Pause / play controls for anything that moves on its own */
.i-play { display: none; }
[aria-pressed="true"] .i-pause { display: none; }
[aria-pressed="true"] .i-play { display: block; }
.carousel-btn .i-play { fill: currentColor; stroke: none; }
.stage-pause {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(220, 234, 247, .35); background: rgba(11, 37, 69, .55); color: var(--white);
}
.stage-pause:hover { background: rgba(11, 37, 69, .8); }
.stage-pause:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.stage-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.stage-pause .i-play { fill: currentColor; stroke: none; }
.process.is-paused .scene, .process.is-paused .scene * { animation-play-state: paused !important; }
.process.is-paused .pstep.is-active .vline i { animation-play-state: paused; }

/* Bigger tap area for the small header links */
.nav-left a { padding-block: 12px; }

/* =========================================================
   Blue Coast Vending additions (sub-brand of Blue Coast Supply)
   Accent: Buoy Orange for calls to action, navy text on it.
   ========================================================= */
html { --intro: .1s; }
.btn-buoy { background: var(--buoy); color: var(--navy); }
.btn-buoy:hover { background: #ea8a40; color: var(--navy); }
.footer-legal a { color: var(--coast); }

/* Hero: places the machines work */
.places { list-style: none; margin: 18px 0 0; padding: 0; max-width: 54rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.places li { padding: 9px 14px; border-radius: 999px; background: rgba(11, 37, 69, .07); font: 600 13px/1 var(--font-body); color: var(--navy); }

/* Machine catalogue */
.machine-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.machine { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.machine .tile { background: var(--tide-soft); border-radius: var(--radius-lg); aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; margin-bottom: 8px; }
.machine .tile img { display: block; width: 100%; height: 100%; object-fit: contain; }
.machine h3 { font-size: 19px; line-height: 1.3; }
.machine p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.machine .fit { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.machine .fit b { display: block; margin-bottom: 2px; font: 600 11px/1.6 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* How it works: four steps */
.process-v { background: var(--mist); }
.vsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vstep { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 26px 24px; background: var(--white); border-radius: 16px; }
.vstep-num { font: 500 13px/1 var(--font-mono); color: var(--coast); }
.vstep svg { width: 34px; height: 34px; margin: 8px 0 6px; fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.vstep h3 { font: 800 26px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--navy); }
.vstep p { font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 1080px) {
  .machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .machine-grid, .vsteps { grid-template-columns: minmax(0, 1fr); }
}


/* =========================================================
   Interactive intro (js/intro.js): fineline 3D machine on the mist ground.
   Ported from the Vending Co. concept, Blue Coast colours and type.
   ========================================================= */
.vi-stage, .vi-prompt, .vi-skip { display: none; }
.js:not(.no-preload):not(.revealed) .vi-stage { display: block; }
.js:not(.no-preload):not(.revealed) .vi-prompt { display: flex; }
.js:not(.no-preload):not(.revealed) .vi-skip { display: block; }
.js:not(.no-preload):not(.revealed) body { overflow: hidden; }
.js:not(.no-preload):not(.revealed) #site { clip-path: inset(50% 50% 50% 50% round 8px); }
.js:not(.no-preload):not(.revealed) .intro { animation: none; opacity: 0; }

.vi-stage {
  --vi-surface: #fbfdff; --vi-panel: #edf2f7; --vi-inset: #e1e8f0;
  --vi-ink: #0b2545; --vi-soft: #93a6bd; --vi-accent: #13579e;
  position: fixed; inset: 0; z-index: 90; overflow: hidden; cursor: pointer;
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(255, 255, 255, .75), transparent 60%),
    radial-gradient(1000px 700px at 100% 10%, rgba(141, 184, 224, .28), transparent 60%),
    linear-gradient(180deg, #eef3f8, #dfe7ef);
  transition: opacity 700ms cubic-bezier(0.32, 0.72, 0, 1);
}
.vi-stage.gone { opacity: 0; pointer-events: none; }
.vi-camera { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.vi-persp { position: relative; width: 600px; height: 760px; perspective: 1800px; transform-origin: 50% 55%; }
.vi-box { position: relative; width: 600px; height: 760px; transform-style: preserve-3d; }
.vi-floor { position: absolute; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 37, 69, .38), rgba(11, 37, 69, .12) 60%, transparent); pointer-events: none; }
.vi-face { position: absolute; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.vi-stage { --vi-wrap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='64'%3E%3Cpath d='M-10 20q15-13 30 0t30 0t30 0t30 0t30 0' fill='none' stroke='%23e07a2e' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M-10 48q15-13 30 0t30 0t30 0t30 0t30 0' fill='none' stroke='%238db8e0' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") 0 60% / 120px 64px repeat-x, linear-gradient(90deg, #061629, #123563 45%, #0b2545); }
.vi-front { position: absolute; inset: 0; backface-visibility: hidden; }
.vi-machine { display: block; overflow: visible; }
.vi-t-body { font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; }
.vi-t-display { font-family: var(--font-display); font-weight: 800; }
.vi-t-mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: .06em; }
.vi-machine text { text-rendering: geometricPrecision; }
.vi-tkey .vi-hl { opacity: 0; transition: opacity 160ms cubic-bezier(0.32, 0.72, 0, 1); }
.vi-tkey.on .vi-hl { opacity: .9; }
.vi-item { transform-box: fill-box; transform-origin: 50% 50%; }
.vi-item.picked { opacity: 1; }
.vi-door { transform-box: fill-box; transform-origin: 50% 0; }
.vi-packet { opacity: 0; }

.vi-prompt {
  position: fixed; left: 50%; top: 50%; z-index: 95; transform: translate(-50%, -50%);
  align-items: center; gap: 12px; white-space: nowrap; cursor: pointer;
  padding: 12px 20px 12px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(11, 37, 69, .12);
  box-shadow: 0 2px 4px rgba(11, 37, 69, .06), 0 12px 32px rgba(11, 37, 69, .12);
  font: 600 15px/1.2 var(--font-body); color: var(--navy);
  transition: opacity 350ms cubic-bezier(0.32, 0.72, 0, 1), transform 350ms cubic-bezier(0.32, 0.72, 0, 1);
  animation: vi-breathe 2.6s cubic-bezier(0.32, 0.72, 0, 1) infinite alternate;
}
@keyframes vi-breathe { to { box-shadow: 0 2px 4px rgba(11, 37, 69, .06), 0 12px 32px rgba(11, 37, 69, .12), 0 0 0 8px rgba(19, 87, 158, .1); } }
.vi-prompt.hide { opacity: 0; transform: translate(-50%, -40%); pointer-events: none; }
.vi-kbd {
  display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 -2px 0 var(--line);
  font: 600 14px/1 var(--font-mono); color: var(--navy);
}
.vi-sub { color: var(--muted); font-weight: 400; }
.vi-touch { display: none; }
@media (pointer: coarse) { .vi-touch { display: inline; } .vi-key { display: none; } }
.vi-skip {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 95; transform: translateX(-50%);
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 13px/1 var(--font-body); letter-spacing: .04em; color: var(--muted); text-decoration: underline; text-underline-offset: 4px;
  transition: opacity 300ms ease;
}
.vi-skip:hover { color: var(--navy); }
.vi-skip.hide { opacity: 0; pointer-events: none; }

/* Hero after the vend */
.hero { position: relative; overflow: hidden; }
.hero-center { position: relative; z-index: 1; }
.hero:focus { outline: none; }
.dispensed { font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero .coast { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 130px; pointer-events: none; }
.hero .coast path { fill: none; stroke: var(--tide); stroke-width: 0.8; vector-effect: non-scaling-stroke; }

@media (prefers-reduced-motion: reduce) { .vi-prompt { animation: none; } }

/* Hero: copy beside a blueprint vending machine that draws itself in after the intro */
.hero-split { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 32px 48px; padding-block: 72px 72px; }
.hero-split .hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; text-align: left; min-width: 0; }
/* Headline: one sentence per line, sized to the copy column so neither line wraps */
.hero-copy { container-type: inline-size; }
.hero-split h1 { max-width: none; font-size: clamp(28px, 4.4vw, 60px); }
@supports (font-size: 1cqi) { .hero-split h1 { font-size: min(74px, 9.3cqi); } }
.hero h1 .h1-line { display: block; white-space: nowrap; }
.hero-split .lede { max-width: 34rem; }
.hero-split .hero-actions, .hero-split .places { justify-content: flex-start; }
.hero-art { min-width: 0; }
.sk { display: block; width: 100%; max-width: 470px; height: auto; margin-inline: auto; overflow: visible; }
.sk-draw { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sk-heavy { stroke-width: 2.2; }
.sk-soft { stroke: var(--coast); stroke-width: 1; opacity: .55; }
.sk-prod { stroke: var(--coast); stroke-width: 1.2; }
.sk-coil { stroke: var(--tide); stroke-width: 1.3; }
.sk-acc { stroke: var(--buoy); }
.sk-key { stroke-width: 1; }
.sk-glare { stroke: var(--tide); stroke-width: 1.6; opacity: .8; }
.sk-dim, .sk-lead { stroke: var(--muted); stroke-width: .9; opacity: .75; }
.sk-gridline { stroke: var(--coast); stroke-opacity: .1; stroke-width: 1; }
.sk-t { font-family: var(--font-mono); font-weight: 500; fill: var(--muted); font-size: 9px; letter-spacing: .12em; }
.sk-disp { fill: var(--buoy); letter-spacing: .08em; }
.sk-hit { fill: var(--buoy); opacity: .55; }
.sk-bag { fill: rgba(224, 122, 46, .22); stroke: var(--buoy); stroke-width: 1.6; stroke-linejoin: round; }
.sk-bag-mark { fill: none; stroke: var(--buoy); stroke-width: 1.4; stroke-linecap: round; }
.sk-drop { transform: translateY(227px); }
/* While the intro runs, hold the drawing at its starting point */
.js:not(.no-preload):not(.revealed) .sk-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js:not(.no-preload):not(.revealed) .sk-t, .js:not(.no-preload):not(.revealed) .sk-hit { opacity: 0; }
.js:not(.no-preload):not(.revealed) .sk-drop { transform: none; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js.revealed .sk-draw, .js.no-preload .sk-draw { animation: sk-draw 1.1s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(.15s + var(--i) * 18ms); }
  .js.revealed .sk-t, .js.no-preload .sk-t { animation: sk-fade .6s ease 1.7s both; }
  .js.revealed .sk-disp, .js.no-preload .sk-disp { animation-delay: 2.9s; }
  .js.revealed .sk-hit, .js.no-preload .sk-hit { animation: sk-flash .5s ease 2.5s both; }
  .js.revealed .sk-hit-2, .js.no-preload .sk-hit-2 { animation-delay: 2.75s; }
  .js.revealed .sk-drop, .js.no-preload .sk-drop { animation: sk-fade .5s ease 1.3s both, sk-drop .95s cubic-bezier(.55, 0, 1, .45) 3.15s both; }
}
@keyframes sk-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes sk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sk-flash { 0% { opacity: 0; } 40% { opacity: .95; } 100% { opacity: .55; } }
@keyframes sk-drop { 0% { transform: translateY(0); } 20% { transform: translateY(-3px); } 100% { transform: translateY(227px); } }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); padding-block: 56px 64px; }
  .hero-split .hero-copy { align-items: center; text-align: center; }
  .hero-split .hero-actions, .hero-split .places { justify-content: center; }
  .sk { max-width: 400px; }
}
@media (max-width: 560px) { .sk-call, .sk-dim { display: none; } .sk { max-width: 300px; } }

/* Ship-to address suggestions (js/places.js, Google Places) */
.field.ac { position: relative; }
.ac-pop { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin-top: 6px; padding: 6px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-md); box-shadow: 0 18px 40px -18px rgba(11, 37, 69, .45), 0 2px 6px rgba(11, 37, 69, .08); }
.ac-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ac-opt { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; }
.ac-opt[aria-selected="true"] { background: var(--tide-soft); box-shadow: inset 3px 0 0 var(--coast); }
.ac-main { font: 600 15px/1.35 var(--font-body); color: var(--ink); }
.ac-sub { font: 400 13px/1.35 var(--font-body); color: var(--muted); }
.ac-attr { margin: 4px 8px 2px; text-align: right; font: 400 11px/1.4 Roboto, Arial, sans-serif; color: #5e5e5e; }
.ac-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ==========================================================================
   Background art: contrasting layers and one-time draw-ins behind the blocks
   (decorative, aria-hidden; scroll parallax and draw-ins are off for reduced motion)
   ========================================================================== */
#top, #machines, #process, #why, #faq { position: relative; isolation: isolate; }
.bg-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-draw { fill: none; stroke-linecap: round; stroke-linejoin: round; }
[data-par] { will-change: transform; }

/* Hero: blueprint grid, soft glows, floating outline icons, coast lines */
.bg-grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(19, 87, 158, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 87, 158, .07) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 60% at 50% 38%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 38%, #000, transparent 75%); }
.bg-glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.bg-glow-a { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -12vw; top: -18vw; background: radial-gradient(closest-side, rgba(141, 184, 224, .55), transparent); }
.bg-glow-b { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -10vw; top: 10%; background: radial-gradient(closest-side, rgba(19, 87, 158, .18), transparent); }
.bg-float { position: absolute; width: clamp(44px, 4.4vw, 64px); height: auto; overflow: visible; }
.bg-float .bg-ic { stroke: var(--coast); stroke-width: 1.1; opacity: .5; }
.bg-float.f1 { left: 49%; top: 74%; transform: rotate(-8deg); }
.bg-float.f2 { left: 50%; top: 9%; transform: rotate(6deg); }
.bg-float.f3 { right: 3%; top: 16%; transform: rotate(-6deg); }
.bg-float.f4 { right: 4%; top: 66%; }
.bg-waves { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 190px; }
.bg-waves path { stroke-width: 1.6; }
.w-tide { stroke: var(--tide); opacity: .9; } .w-coast { stroke: var(--coast); opacity: .35; }
.w-buoy { stroke: var(--buoy); opacity: .55; } .w-coast-l { stroke: var(--tide); opacity: .35; }

/* How it works: shipping routes from factory to door */
.bg-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt { stroke: var(--coast); stroke-width: 1.4; opacity: .28; stroke-dasharray: 1; }
.rt-dot { fill: var(--buoy); }
.rt-pins circle { fill: var(--white); stroke: var(--coast); stroke-width: 1.6; }
.rt-t { font: 500 11px var(--font-mono); letter-spacing: .14em; fill: var(--muted); }

/* What we source: dot field and an outline of the wave mark */
.bg-dots { position: absolute; right: -4%; top: -8%; width: 46%; height: 70%;
  background-image: radial-gradient(rgba(19, 87, 158, .22) 1.2px, transparent 1.6px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.bg-mark { position: absolute; right: 22%; top: 28px; width: 150px; height: 150px; overflow: visible; }
.bg-mark .mk { stroke: var(--tide); stroke-width: 1.2; opacity: .5; }
@media (max-width: 900px) { .bg-mark { display: none; } }

/* Why Blue Coast: a navy band with a globe and route */
#why.about { background: radial-gradient(70% 120% at 88% 0%, #19467a 0%, var(--navy) 58%); border-block: 0; color: var(--white); }
.about .eyebrow { color: var(--tide); }
.about-head h2, .about .feature h3 { color: var(--white); }
.about-head p:not(.eyebrow), .about .feature p { color: var(--on-navy); }
.about .feature { border-left-color: rgba(141, 184, 224, .25); }
.about .feature svg { stroke: var(--tide); }
.about a { color: var(--white); }
.bg-globe { position: absolute; right: -6%; top: 50%; width: min(560px, 52vw); height: auto; margin-top: -300px; overflow: visible; }
.bg-globe .gl { stroke: var(--tide); stroke-width: .9; opacity: .22; }
.bg-globe .gl-route { stroke: var(--buoy); stroke-width: 1.4; opacity: .7; }
.bg-globe .gl-pin { fill: var(--navy); stroke: var(--tide); stroke-width: 1.4; }
.bg-waves-about { height: 110px; bottom: -6px; }

/* FAQ: blueprint grid fading from the left */
.bg-grid-left { -webkit-mask-image: radial-gradient(55% 80% at 0% 40%, #000, transparent 75%); mask-image: radial-gradient(55% 80% at 0% 40%, #000, transparent 75%); }

/* Draw-ins: hero after the loading screen, other blocks when they scroll into view */
@media (prefers-reduced-motion: no-preference) {
  .js .bg-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js.revealed .bg-hero .bg-draw, .js.no-preload .bg-hero .bg-draw { animation: bg-draw 1.8s cubic-bezier(.65, 0, .35, 1) both; animation-delay: .5s; }
  .js .bg-art.is-on:not(.bg-hero) .bg-draw { animation: bg-draw 1.6s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(var(--i, 0) * .12s); }
  .js .rt-dot { opacity: 0; transition: opacity .3s; }
  .js .is-on .rt-dot { opacity: 1; transition-delay: .4s; }
  .js:not(.no-preload):not(.revealed) .bg-hero .bg-glow { opacity: 0; }
  .js.revealed .bg-hero .bg-glow, .js.no-preload .bg-hero .bg-glow { animation: bg-fade 1.6s ease both; }
}
@keyframes bg-draw { to { stroke-dashoffset: 0; } }
@keyframes bg-fade { from { opacity: 0; } }
@media (max-width: 900px) {
  .bg-float, .bg-globe { display: none; }
  .bg-waves { height: 120px; }
  .bg-dots { width: 80%; }
}

/* Vending extras: spiral-coil outline in the machines section */
.bg-coil { position: absolute; right: 21%; top: 40px; width: 170px; height: auto; overflow: visible; }
.bg-coil .mk { stroke: var(--tide); stroke-width: 1.2; opacity: .55; }
@media (max-width: 900px) { .bg-coil { display: none; } }

/* Thank-you page: centred card, check mark that draws itself in once */
.thanks-main { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: calc(100svh - 150px); padding-block: 56px 160px; }
.thanks-main .wrap { width: 100%; display: grid; place-items: center; }
.tk-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tk-bg .bg-grid { -webkit-mask-image: radial-gradient(60% 60% at 50% 42%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 42%, #000, transparent 75%); }
.thanks-main .thanks-card { max-width: 36rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.thanks-main .thanks-card h1 { margin-top: 8px; }
.thanks-main .thanks-card .btn { margin-top: 12px; align-self: center; }
.tk-check { position: relative; width: 96px; height: 96px; }
.tk-check svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; }
.tk-track { fill: none; stroke: var(--tide-soft); stroke-width: 3; }
.tk-ring { fill: none; stroke: var(--coast); stroke-width: 3; stroke-linecap: round; }
.tk-fill { fill: var(--coast); }
.tk-tick { fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.tk-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--tide); opacity: 0; }
.tk-waves { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 170px; }
.tk-wave { fill: none; stroke-width: 1.6; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .tk-ring { stroke-dasharray: 1; animation: tk-draw .7s cubic-bezier(.65, 0, .35, 1) .15s both; }
  .tk-fill { transform-origin: 48px 48px; animation: tk-pop .45s cubic-bezier(.34, 1.56, .64, 1) .75s both; }
  .tk-tick { stroke-dasharray: 1; animation: tk-draw .45s cubic-bezier(.65, 0, .35, 1) 1s both; }
  .tk-pulse { animation: tk-pulse 1.1s cubic-bezier(.2, .7, .2, 1) 1.05s both; }
  .tk-in { animation: tk-rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
  .tk-wave { stroke-dasharray: 1; animation: tk-draw 1.8s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(.3s + var(--i, 0) * .15s); }
  .tk-bg .bg-glow { animation: bg-fade 1.6s ease both; }
}
@keyframes tk-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes tk-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes tk-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes tk-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .thanks-main { min-height: calc(100svh - 130px); padding-block: 40px 120px; } .tk-waves { height: 110px; } }
/* Firework sprinkle around the check (plays once) */
.tk-sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.tk-spark { position: absolute; left: -1.5px; top: -6px; width: 3px; height: 12px; border-radius: 2px; background: var(--c); opacity: 0; }
.tk-spark.tk-dot { left: -3.5px; top: -3.5px; width: 7px; height: 7px; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .tk-spark { animation: tk-spark .9s cubic-bezier(.15, .7, .3, 1) both; animation-delay: calc(1.12s + var(--t, 0s)); }
}
@keyframes tk-spark {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(-30px) scale(.4); }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) scale(1); }
}
.vi-hd { position: fixed; pointer-events: none; clip-path: inset(100% 0 0 0); }
.vi-hd svg { display: block; text-rendering: geometricPrecision; }
.vi-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Machine sizes: one line per card, full table in a dialog */
.machine .fit-size { margin-top: 0; }
.machine .fit-size b span { margin-left: 6px; letter-spacing: .04em; text-transform: none; font-weight: 500; }
.size-cta { display: flex; justify-content: center; margin-top: 40px; }
.sizes {
  width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0;
  border-radius: var(--radius-lg); background: var(--white); color: var(--ink);
  box-shadow: 0 24px 64px rgba(11, 37, 69, .28); overflow: auto; overscroll-behavior: contain;
}
.sizes::backdrop { background: rgba(11, 37, 69, .45); backdrop-filter: blur(2px); }
.sizes[open] { animation: sizes-in 220ms cubic-bezier(0.32, 0.72, 0, 1); }
@keyframes sizes-in { from { opacity: 0; transform: translateY(12px); } }
.sizes-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 28px; background: var(--white); border-bottom: 1px solid var(--line); }
.sizes-head h3 { font-size: 22px; }
.sizes-close { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; }
.sizes-close:hover { background: var(--surface, #f2f5f9); }
.sizes-close:focus-visible, #sizes-open:focus-visible { outline: 3px solid var(--coast, #13579e); outline-offset: 2px; }
.sizes-sub { padding: 18px 28px 6px; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 60em; }
.size-table { padding: 8px 28px 0; font-size: 15px; }
.st-row { display: grid; grid-template-columns: 1.35fr 1.55fr .85fr .8fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.st-head { padding: 10px 0; font: 600 11px/1.6 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-strong); }
.st-name b { display: block; color: var(--navy); font-family: var(--font-display); font-size: 16px; }
.st-name { color: var(--muted); }
.st-row small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.st-row [data-label] { font-variant-numeric: tabular-nums; }
.st-note .st-span { grid-column: 2 / -1; color: var(--muted); }
.sizes-notes { margin: 0; padding: 18px 28px 26px 48px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 720px) {
  .sizes { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .sizes-head, .sizes-sub, .size-table { padding-left: 16px; padding-right: 16px; }
  .sizes-notes { padding: 16px 16px 24px 34px; }
  .st-head { display: none; }
  .st-row { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .st-row .st-name { grid-column: 1 / -1; }
  .st-row [data-label]::before { content: attr(data-label); display: block; font: 600 10.5px/1.6 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .st-row [data-label="Size"] { grid-column: 1 / -1; }
  .st-note .st-span { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .sizes[open] { animation: none; } }
