/* ============================================================
   Shinewell Supplies — design system + page styles
   Brand colours and type sampled directly from the logo + 2026 deck.
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* ---------- 2. Tokens ---------- */
:root {
  /* Brand */
  --navy-950: #071726;
  --navy-900: #0A1F35;
  --navy-800: #0E2740;
  --navy:     #12304F;
  --navy-600: #1B4068;
  --navy-500: #2C5480;
  --amber:      #F2A93B;
  --amber-400:  #F8C06B;
  --amber-deep: #C9830F;
  --amber-soft: #FDF1DE;
  --mist:  #DCE3EA;
  --snow:  #F7F8F9;
  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--navy-900);
  --ink: var(--white);
  --ink-soft: rgba(255,255,255,.66);
  --ink-faint: rgba(255,255,255,.42);
  --rule: rgba(255,255,255,.12);

  /* Type */
  --font: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-display: clamp(3rem, 9.6vw, 8rem);
  --fs-h2:      clamp(2.1rem, 5.4vw, 4.25rem);
  --fs-h3:      clamp(1.45rem, 2.6vw, 2.1rem);
  --fs-lead:    clamp(1.0625rem, 1.55vw, 1.375rem);
  --fs-body:    clamp(0.975rem, 1.05vw, 1.0625rem);
  --fs-eyebrow: clamp(0.6875rem, 0.85vw, 0.78rem);

  /* Space */
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --section-y: clamp(6rem, 13vw, 12rem);
  --maxw: 1360px;

  /* Motion — strong curves; the CSS defaults are too weak */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast: 160ms;
  --t-ui: 220ms;
  --t-slow: 420ms;

  --radius: 18px;
  --radius-sm: 12px;
}

/* ---------- 3. Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

h1, h2, h3, h4 { line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
h3 { letter-spacing: -0.025em; font-weight: 700; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 4. WebGL stage ---------- */
#stage {
  position: fixed; inset: 0; z-index: 0;
  /* A canvas is a replaced element — without explicit sizing, `inset:0`
     leaves it at its 300x150 intrinsic size instead of filling the viewport. */
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
#stage.is-ready { opacity: 1; }
@media (max-width: 820px) { #stage.is-ready { opacity: .42; } }

/* Shown until WebGL paints, and permanently if WebGL is unavailable. */
.stage-fallback {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 1;
  transition: opacity 600ms var(--ease-out);
  background:
    radial-gradient(58% 48% at 72% 30%, rgba(242,169,59,.22), transparent 70%),
    radial-gradient(70% 60% at 20% 72%, rgba(44,84,128,.42), transparent 72%);
}
body.stage-live .stage-fallback { opacity: 0; }

.page { position: relative; z-index: 1; }

/* Anchor targets must clear the fixed nav. */
:where(#promise, #converge, #catalogue, #process, #brands, #contact) { scroll-margin-top: 72px; }

/* ---------- 5. Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.nav__inner {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.9rem var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-slow) var(--ease-out),
              backdrop-filter var(--t-slow) var(--ease-out),
              border-color var(--t-slow) var(--ease-out);
}
.nav.is-stuck .nav__inner {
  background: rgba(10, 31, 53, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--rule);
}
/* Over the light sections the dark bar goes muddy, so flip the whole nav. */
.nav__logo .on-light { display: none; }
.nav.is-light .nav__logo .on-dark { display: none; }
.nav.is-light .nav__logo .on-light { display: block; }
.nav.is-light .nav__link { color: rgba(18,48,79,.62); }
.nav.is-light .nav__link.is-current { color: var(--navy); }
.nav.is-light .nav__burger { color: var(--navy); }
.nav.is-light.is-stuck .nav__inner {
  background: rgba(247, 248, 249, 0.78);
  border-bottom-color: rgba(18,48,79,.10);
}
@media (hover: hover) and (pointer: fine) {
  .nav.is-light .nav__link:hover { color: var(--navy); }
}
.nav__logo { display: flex; align-items: center; color: var(--white); }
.nav__logo img { height: 38px; width: auto; }
@media (max-width: 420px) { .nav__logo img { height: 32px; } }
.nav__links { display: flex; gap: clamp(.9rem, 2vw, 1.9rem); margin-left: auto; }
.nav__link {
  font-size: .85rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding-block: .35rem;
  transition: color var(--t-ui) var(--ease-out);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: var(--white); }
  .nav__link:hover::after { transform: scaleX(1); }
}
.nav__link.is-current { color: var(--white); }
.nav__link.is-current::after { transform: scaleX(1); }
.nav__cta { margin-left: .4rem; }

/* Mobile menu */
.nav__burger { display: none; width: 40px; height: 40px; margin-left: .2rem; position: relative; border-radius: 50%; }
.nav__burger span {
  position: absolute; left: 11px; width: 18px; height: 1.5px; border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-ui) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.nav__sheet {
  position: fixed; inset: 0; z-index: -1;
  display: grid; align-content: center; gap: .35rem;
  padding: 0 var(--gutter);
  background: rgba(7, 23, 38, 0.94);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui);
}
.nav.is-open .nav__sheet {
  opacity: 1; visibility: visible;
  transition: opacity var(--t-ui) var(--ease-out), visibility 0s;
}
.nav__sheet a {
  font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: 700; letter-spacing: -0.035em;
  color: var(--white); padding-block: .45rem;
  opacity: 0; transform: translate3d(0, 14px, 0);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.nav.is-open .nav__sheet a { opacity: 1; transform: none; }
.nav.is-open .nav__sheet a:nth-child(1) { transition-delay: 40ms; }
.nav.is-open .nav__sheet a:nth-child(2) { transition-delay: 80ms; }
.nav.is-open .nav__sheet a:nth-child(3) { transition-delay: 120ms; }
.nav.is-open .nav__sheet a:nth-child(4) { transition-delay: 160ms; }
.nav.is-open .nav__sheet a:nth-child(5) { transition-delay: 200ms; }
.nav__sheet .n { color: var(--amber); font-size: .8rem; font-weight: 700; letter-spacing: .18em; margin-right: .9rem; vertical-align: middle; }
body.is-locked { overflow: hidden; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-size: .925rem; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; flex: none;
  transition: transform var(--t-fast) var(--ease-out),
              background-color var(--t-ui) var(--ease-out),
              color var(--t-ui) var(--ease-out),
              border-color var(--t-ui) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--sm { padding: .55rem 1.1rem; font-size: .82rem; }
.btn--primary { background: var(--amber); color: var(--navy); }
.btn--ghost { border: 1px solid rgba(255,255,255,.26); color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--amber-400); }
  .btn--ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
}
.btn__arrow { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__arrow { transform: translateX(3px); }
}

/* ---------- 7. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(6px);
  transition: opacity 700ms var(--ease-out),
              transform 700ms var(--ease-out),
              filter 700ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
  padding-block: clamp(6.5rem, 14vh, 8.5rem) clamp(3rem, 7vh, 5rem);
}
.hero__strap {
  display: flex; align-items: center; gap: .7rem;
  margin-top: clamp(1.1rem, 2.2vw, 1.6rem);
}
.hero__strap .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex: none; }
@media (max-width: 520px) { .hero__strap { align-items: flex-start; } .hero__strap .dot { margin-top: .45rem; } }
.hero h1 {
  font-size: var(--fs-display);
  letter-spacing: -0.045em;
  line-height: 0.92;
  max-width: 14ch;
}
.hero h1 .amber { color: var(--amber); }
.hero__sub {
  margin-top: clamp(1.1rem, 2.2vw, 1.6rem);
  font-size: var(--fs-lead); color: var(--ink-soft); max-width: 40ch; line-height: 1.5;
}
.hero__cta { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__meta {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 5vw, 4.5rem);
  padding-top: 1.75rem; border-top: 1px solid var(--rule);
  max-width: 920px;
}
.hero__stat .n {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums;
}
.hero__stat .l {
  margin-top: .45rem; font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 600;
}
.scroll-hint {
  position: absolute; bottom: clamp(1.25rem, 3vh, 2.25rem); left: var(--gutter);
  display: flex; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}
.scroll-hint__line { width: 46px; height: 1px; background: var(--rule); position: relative; overflow: hidden; }
.scroll-hint__line::after {
  content: ''; position: absolute; inset: 0; background: var(--amber);
  transform: translateX(-100%); animation: sweep 2.4s var(--ease-in-out) infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

/* ---------- 9. Section primitives ---------- */
.sec { position: relative; padding-block: var(--section-y); }
.sec--solid { background: var(--navy-900); }
.sec--light { background: var(--snow); color: var(--navy); }
.sec--light .eyebrow { color: var(--amber-deep); }
.sec--light .lead { color: rgba(18,48,79,.68); }
.sec__head h2 { font-size: var(--fs-h2); max-width: 18ch; }
.sec__head .lead { margin-top: 1.25rem; max-width: 48ch; }

/* ---------- 10. Promise ---------- */
.promise h2 { font-size: var(--fs-h2); max-width: 17ch; }
.promise h2 + .lead { margin-top: clamp(1.5rem, 2.5vw, 2.25rem); }
.promise h2 .muted { color: rgba(255,255,255,.52); }
.promise__grid {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.promise__item { padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.promise__item .mark { width: 13px; height: 13px; margin-bottom: 1rem; }
.promise__item h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; }
.promise__item p { margin-top: .5rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }

/* ---------- 11. Verticals — convergence ---------- */
/* Tall track gives the satellites room to spiral in while the copy stays put. */
.converge { height: 300vh; }
@media (max-width: 820px) { .converge { height: 230vh; } }
.converge__sticky {
  position: sticky; top: 0; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
  padding-block: clamp(5rem, 12vh, 8rem);
}
.converge h2 { font-size: var(--fs-h2); max-width: 15ch; }
.converge .lead { margin-top: 1.25rem; }
.converge__list {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: 0 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  max-width: 920px;
}
.converge__row {
  display: flex; align-items: baseline; gap: .9rem;
  padding-block: .72rem; border-top: 1px solid var(--rule);
  font-size: .95rem; font-weight: 500;
  opacity: .32;
  transition: opacity var(--t-slow) var(--ease-out), color var(--t-slow) var(--ease-out);
}
.converge__row.is-lit { opacity: 1; }
.converge__row .n { color: var(--amber); font-weight: 700; font-size: .78rem; letter-spacing: .06em; flex: none; }

/* ---------- 11b. Category icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--row   { width: 17px; height: 17px; color: var(--amber); opacity: .9; }
.icon--tab   { width: 19px; height: 19px; color: currentColor; opacity: .75; }
.tab.is-active .icon--tab { opacity: 1; color: var(--amber); }
.icon--panel { width: 26px; height: 26px; color: var(--amber-deep); }

/* ---------- 12. Explorer ---------- */
.explorer {
  display: grid; grid-template-columns: minmax(230px, 310px) 1fr;
  gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3rem, 6vw, 4.5rem);
}
.explorer__tabs { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 96px; align-self: start; }
.tab {
  display: flex; align-items: center; gap: .85rem; width: 100%;
  text-align: left; padding: .9rem 1rem; border-radius: var(--radius-sm);
  color: rgba(18,48,79,.6); font-weight: 600; font-size: .95rem; letter-spacing: -0.012em;
  transition: background-color var(--t-ui) var(--ease-out),
              color var(--t-ui) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.tab .n {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; flex: none;
  color: rgba(18,48,79,.35); transition: color var(--t-ui) var(--ease-out);
}
.tab:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .tab:hover { background: rgba(18,48,79,.045); color: var(--navy); }
}
.tab.is-active { background: var(--navy); color: var(--white); }
.tab.is-active .n { color: var(--amber); }

.panel { min-height: 430px; }
.panel__inner {
  transition: opacity var(--t-ui) var(--ease-out),
              filter var(--t-ui) var(--ease-out),
              transform var(--t-ui) var(--ease-out);
}
.panel.is-swapping .panel__inner { opacity: 0; filter: blur(5px); transform: translate3d(0, 8px, 0); }
.panel__head { display: flex; align-items: center; gap: .7rem; }
.panel__num { font-size: .78rem; font-weight: 700; letter-spacing: .2em; color: var(--amber-deep); }
.panel h3 { margin-top: .7rem; font-size: var(--fs-h3); color: var(--navy); }
.panel__lede { margin-top: .8rem; font-size: 1.0625rem; color: rgba(18,48,79,.66); max-width: 48ch; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.6rem; }
.chip {
  padding: .34rem .78rem; border-radius: 999px; font-size: .78rem; font-weight: 500;
  background: rgba(18,48,79,.055); color: rgba(18,48,79,.72);
}
.group { margin-top: 2.1rem; }
.group__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(18,48,79,.42); padding-bottom: .8rem; border-bottom: 1px solid rgba(18,48,79,.1);
}
.brands {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0 1.25rem; margin-top: .25rem;
}
.brand {
  padding: .85rem 0; font-size: .92rem; font-weight: 600; color: var(--navy);
  letter-spacing: -0.012em; display: flex; align-items: center; gap: .55rem;
  border-bottom: 1px solid rgba(18,48,79,.07);
}
.brand .mark { width: 9px; height: 9px; opacity: .9; flex: none; }
.mark { overflow: visible; }
.panel__foot {
  margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(18,48,79,.12);
  font-size: .82rem; color: rgba(18,48,79,.5);
}

/* Verticals with categories: chips jump to a category, each item opens an enquiry. */
.panel__head, .group { scroll-margin-top: 96px; }
h4.group__label { line-height: 1.6; }   /* same box as the <p> labels on brand groups */
.chip--link { transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out); }
.brand__arrow {
  margin-left: auto; padding-left: .4rem; color: rgba(18,48,79,.3);
  transition: transform var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .chip--link:hover { background: rgba(18,48,79,.1); color: var(--navy); }
  .brand--link:hover .brand__arrow { color: var(--amber-deep); transform: translateX(3px); }
}

/* ---------- 13. Process ---------- */
.process__grid {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  align-items: stretch;
}
/* Keep the four cards on one row until there is genuinely no space. */
@media (min-width: 1040px) { .process__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1039px) and (min-width: 560px) { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .process__grid { grid-template-columns: 1fr; } }
.step {
  position: relative; display: flex; flex-direction: column;
  padding: 1.9rem 1.6rem 1.9rem;
  overflow: hidden;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: rgba(255,255,255,.028);
  transition: transform var(--t-slow) var(--ease-out),
              background-color var(--t-slow) var(--ease-out),
              border-color var(--t-slow) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .step:hover { transform: translate3d(0,-5px,0); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
}
/* The number is a <p>, so it needs to outrank `.step p` below. */
.step .step__n {
  font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--amber); line-height: 1;
}
.step h3 { margin-top: 1.3rem; font-size: 1.0625rem; font-weight: 700; }
.step p { margin-top: .6rem; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
/* Amber tab at the top edge: same place on every card, whatever the text length. */
.step::before {
  content: ''; position: absolute; top: 0; left: 1.6rem;
  width: 30px; height: 2px; border-radius: 0 0 2px 2px;
  background: var(--amber); opacity: .55;
  transition: opacity var(--t-slow) var(--ease-out), width var(--t-slow) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .step:hover::before { opacity: 1; width: 44px; }
}
.process__note {
  margin-top: 2.5rem; display: flex; align-items: center; gap: .8rem;
  font-size: var(--fs-lead); font-weight: 600; letter-spacing: -0.02em;
}
.process__note .mark { width: 16px; height: 16px; flex: none; }

/* ---------- 14. Brand marquee ---------- */
.marquee {
  overflow: hidden; padding-block: .3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 68s linear infinite; }
.marquee--rev { margin-top: clamp(.75rem, 1.6vw, 1.5rem); }
.marquee--rev .marquee__track { animation-duration: 84s; animation-direction: reverse; }
.marquee__group { display: flex; flex: none; }
.marquee__item {
  flex: none; padding-inline: clamp(1.1rem, 2.4vw, 2.1rem);
  font-size: clamp(1rem, 1.9vw, 1.5rem); font-weight: 700; letter-spacing: -0.03em;
  color: rgba(18,48,79,.28); white-space: nowrap;
  transition: color var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .marquee__item:hover { color: var(--navy); }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- 15. Contact + enquiry form ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact h2 { font-size: var(--fs-h2); max-width: 13ch; }
.contact__main { min-width: 0; }
.contact h2 + .lead { margin-top: clamp(1rem, 2vw, 1.5rem); }

.form { margin-top: clamp(2.25rem, 4.5vw, 3rem); }
.form__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem clamp(1rem, 2vw, 1.5rem);
}
.f { display: flex; flex-direction: column; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: .5rem;
}
.f label abbr { color: var(--amber); text-decoration: none; margin-left: .15rem; }
.f input, .f select, .f textarea {
  width: 100%; padding: .8rem .95rem;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--rule); border-radius: 12px;
  color: var(--white); font-size: .975rem; font-family: inherit;
  transition: border-color var(--t-ui) var(--ease-out),
              background-color var(--t-ui) var(--ease-out),
              box-shadow var(--t-ui) var(--ease-out);
  /* iOS zooms the page when a focused field is under 16px. */
  -webkit-appearance: none; appearance: none;
}
.f textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.f select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23F2A93B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.f select option { background: var(--navy-800); color: var(--white); }
.f ::placeholder { color: rgba(255,255,255,.3); }
.f input:focus, .f select:focus, .f textarea:focus {
  outline: none; border-color: var(--amber);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px rgba(242,169,59,.16);
}
.f.has-error input, .f.has-error select, .f.has-error textarea {
  border-color: #E8705F; background: rgba(232,112,95,.07);
}
.f__err { font-size: .8rem; color: #F09486; margin-top: .4rem; min-height: 0; }
.f__err:empty { display: none; }

/* Honeypot — off-screen, never shown, never announced. */
.form__trap {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.form__foot {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem clamp(1rem, 2vw, 1.75rem);
}
.form__hint { font-size: .82rem; color: var(--ink-faint); max-width: 36ch; }
.form__hint abbr { color: var(--amber); text-decoration: none; }
.form__error {
  margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px;
  background: rgba(232,112,95,.12); border: 1px solid rgba(232,112,95,.4);
  color: #F6B5AA; font-size: .9rem;
}
#quoteSubmit.is-busy { opacity: .72; cursor: progress; }

.form__done {
  margin-top: clamp(2.25rem, 4.5vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(242,169,59,.34); border-radius: var(--radius);
  background: rgba(242,169,59,.07);
}
.form__done .mark { width: 22px; height: 22px; margin-bottom: 1rem; }
.form__done h3 { font-size: var(--fs-h3); letter-spacing: -0.03em; }
.form__done p { margin-top: .75rem; color: var(--ink-soft); max-width: 48ch; }
.form__done-alt a { color: var(--amber); font-weight: 600; }

.field__value--addr { font-style: normal; line-height: 1.55; align-items: flex-start; display: block; }
.req { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.req__row {
  display: flex; gap: 1.1rem; padding: 1.25rem .2rem; align-items: baseline;
  border-top: 1px solid var(--rule);
}
.req__row:last-child { border-bottom: 1px solid var(--rule); }
.req__row .n { font-size: .75rem; font-weight: 700; color: var(--amber); letter-spacing: .1em; flex: none; width: 16px; }
.req__row h3 { font-size: 1rem; font-weight: 700; }
.req__row p { font-size: .9rem; color: var(--ink-soft); margin-top: .2rem; }
.card {
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.4rem); background: rgba(255,255,255,.03);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.card h3 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.field { margin-top: 1.5rem; }
.field + .field { margin-top: 1.35rem; padding-top: 1.35rem; border-top: 1px solid var(--rule); }
.field__label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.field__value { margin-top: .4rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: .5rem; }
a.field__value { transition: color var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.field__value:hover { color: var(--amber); } }
.field__value .tbd { color: var(--ink-faint); font-weight: 500; font-size: .95rem; letter-spacing: 0; }

/* ---------- 16. Footer ---------- */
.footer { border-top: 1px solid var(--rule); padding-block: 3rem 2.5rem; background: var(--navy-950); }
.footer__top { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.footer__logo { color: var(--white); }
.footer__logo img { width: clamp(200px, 22vw, 260px); height: auto; }
.footer__tag { margin-top: .9rem; font-size: .85rem; color: var(--ink-faint); max-width: 34ch; }
.footer__contact {
  margin-top: 1.25rem; font-style: normal; display: grid; gap: .3rem;
  font-size: .85rem; color: var(--ink-soft); max-width: 36ch;
}
.footer__contact a { transition: color var(--t-ui) var(--ease-out); width: fit-content; padding-block: .12rem; }
@media (hover: hover) and (pointer: fine) { .footer__contact a:hover { color: var(--amber); } }
.footer__contact span { color: var(--ink-faint); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a {
  font-size: .85rem; color: var(--ink-soft);
  padding-block: .35rem;            /* lifts the tap target to >=24px */
  transition: color var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--white); } }
.footer__base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .76rem; color: var(--ink-faint);
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 620px) {
  .form__grid { grid-template-columns: 1fr; }
  /* 16px minimum stops iOS Safari zooming on focus. */
  .f input, .f select, .f textarea { font-size: 16px; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { justify-content: center; }
}
@media (max-width: 980px) {
  .explorer { grid-template-columns: 1fr; }
  .explorer__tabs {
    position: static; flex-direction: row; overflow-x: auto;
    gap: .4rem; padding-bottom: .5rem; scrollbar-width: none;
  }
  .explorer__tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; width: auto; white-space: nowrap; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__inner { gap: .5rem; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 420px) {
  .nav__cta { padding: .5rem .85rem; font-size: .78rem; }
  .nav__cta .btn__arrow { display: none; }
}
@media (max-width: 720px) {
  .hero h1 { max-width: 12ch; }
  .hero__meta {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.4rem 1.5rem;
  }
  .scroll-hint { display: none; }
  .panel { min-height: 0; }
  .btn { padding: .8rem 1.35rem; }
}

/* ---------- 18. Reduced motion ----------
   Fewer and gentler, not zero: keep the opacity cues, drop the movement. */
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; filter: none; transition: opacity 300ms ease; }
  .panel.is-swapping .panel__inner { transform: none; filter: none; }
  .step:hover { transform: none; }
  .converge__row { opacity: 1; }
  .nav__sheet a { transform: none; }
  /* No sticky scroll-track to drive: collapse it to a normal section. */
  .converge { height: auto; }
  .converge__sticky { position: static; min-height: 0; }
  .marquee__track { animation: none !important; }
  .scroll-hint__line::after { animation: none !important; transform: none; }
}
