/* =========================================================
   SANBOOK — Logistics Solution
   Brand system: Teal #007184 · Gold #C9A227 · Montserrat
   "Nothing Moves Alone."
   ========================================================= */

:root {
  --teal: #007184;
  --teal-600: #00687A;
  --teal-700: #005866;
  --teal-800: #003F4A;
  --teal-900: #002A32;
  --teal-950: #001B21;
  --gold: #C9A227;
  --gold-300: #DDBE5A;
  --gold-100: #F4E9C4;
  --burgundy: #930C36;
  --paper: #EEF0F0;
  --paper-2: #E4E8E9;
  --white: #fff;
  --ink: #0B2227;
  --ink-2: #405659;
  --line: rgba(0, 113, 132, .16);
  --line-light: rgba(255, 255, 255, .13);
  --error: #FF8FA8;

  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'DIN Next LT Arabic', 'Noto Kufi Arabic', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --header-h: 88px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--teal-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--teal-950); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.i { width: 1.1em; height: 1.1em; flex: none; }

/* Logo color contexts (per guideline "Color usage") */
.dark, .footer, .closing, .loader, .menu {
  --lg-b: #fff;
  --lg-t: #fff;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 26px;
}
.eyebrow b { color: var(--gold); font-weight: 700; letter-spacing: .1em; display: inline-flex; align-items: center; gap: 14px; }
.eyebrow b::after { content: ""; width: 38px; height: 1.5px; background: currentColor; opacity: .7; }
.dark .eyebrow, .eyebrow--light { color: rgba(255, 255, 255, .72); }
.eyebrow--sm { margin-bottom: 30px; }
.eyebrow--pill {
  padding: 9px 16px 9px 12px; border-radius: 999px; gap: 10px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  backdrop-filter: blur(8px); letter-spacing: .24em; font-size: 11px;
}
.eyebrow--pill .i { color: var(--gold); }

.display {
  font-size: clamp(2.3rem, 5.2vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--teal-900);
  text-wrap: balance;
}
.dark .display { color: #fff; }
.gold { color: var(--gold); }
.teal { color: var(--teal); }

.section-head { max-width: 980px; }
.section-head__lead { margin-top: 26px; max-width: 44em; font-size: clamp(1rem, 1.15vw, 1.12rem); color: var(--ink-2); }
.dark .section-head__lead { color: rgba(255, 255, 255, .72); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.section-head--split .section-head__lead { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--teal-950); --sweep: #fff; --fg-h: var(--teal-900); --bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  padding: 1.15em 1.75em;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: var(--sweep);
  transform: translateX(-102%) skewX(-18deg); transform-origin: left;
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(0); }
.btn:hover, .btn:focus-visible { color: var(--fg-h); }
.btn .i { transition: transform .45s var(--ease); }
.btn:hover .i { transform: translateX(5px); }
.btn--ghost { --bg: transparent; --fg: var(--teal-800); --bd: var(--teal); --sweep: var(--teal); --fg-h: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); --sweep: #fff; --fg-h: var(--teal-900); }
.btn--teal { --bg: var(--teal); --fg: #fff; --sweep: var(--teal-900); --fg-h: #fff; }
.btn--sm { padding: .95em 1.3em; font-size: 12px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn[hidden] { display: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  pointer-events: all;
  animation: loaderFailsafe 0s 7s forwards;
}
.loader::before, .loader__wipe {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(-30% 0, 115% 0, 130% 50%, 115% 100%, -30% 100%, -15% 50%);
  transition: clip-path 1s var(--ease-in-out);
}
.loader::before { background: var(--teal-900); z-index: 1; }
.loader__wipe { background: var(--gold); z-index: 0; transition-delay: .14s; }
.loader__inner {
  position: relative; z-index: 2;
  width: min(300px, 62vw);
  display: grid; justify-items: center; gap: 18px;
  transition: opacity .35s, transform .6s var(--ease-in-out);
}
.loader__mark { width: 44%; overflow: visible; }
.lm { animation: lmIn .8s var(--ease) both; }
.lm1 { fill: var(--gold); animation-delay: .1s; }
.lm2 { fill: #fff; animation-delay: .24s; }
.lm3 { fill: #fff; animation-delay: .38s; }
.loader__word { width: 100%; animation: wordIn .9s var(--ease-in-out) .55s both; }
.is-loaded .loader { pointer-events: none; }
.is-loaded .loader::before { clip-path: polygon(130% 0, 275% 0, 290% 50%, 275% 100%, 130% 100%, 145% 50%); }
.is-loaded .loader__wipe { clip-path: polygon(130% 0, 275% 0, 290% 50%, 275% 100%, 130% 100%, 145% 50%); }
.is-loaded .loader__inner { opacity: 0; transform: translateX(60px); }
@keyframes lmIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes wordIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes loaderFailsafe { to { visibility: hidden; pointer-events: none; } }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); transform-origin: left; transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.header__bar { height: var(--header-h); display: flex; align-items: center; gap: 32px; transition: height .4s var(--ease); }
.header__logo { display: block; width: 136px; flex: none; transition: width .4s var(--ease); }
.header__logo svg { width: 100%; height: auto; }
.header.is-scrolled {
  background: rgba(238, 240, 240, .84);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 12px 40px rgba(0, 42, 50, .06);
}
.header.is-scrolled .header__bar { height: 70px; }
.header.is-scrolled .header__logo { width: 122px; }
.header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; }
.nav a {
  position: relative; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-900);
  padding: 8px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: rgba(255, 255, 255, .6); cursor: pointer;
  position: relative;
}
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--teal-900); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; right: 20px; }
.menu-open .burger { border-color: rgba(255, 255, 255, .3); background: transparent; }
.menu-open .burger span { background: #fff; right: 14px; top: 23px; }
.menu-open .burger span:first-child { transform: rotate(45deg); }
.menu-open .burger span:last-child { transform: rotate(-45deg); }
.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; --lg-b: #fff; --lg-t: #fff; }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--teal-900);
  display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: 110px var(--gutter) 40px;
  clip-path: polygon(0 0, 0 0, 0 50%, 0 100%, 0 100%, 0 50%);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .menu { clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%, 0 50%); visibility: visible; }
.menu__nav { display: grid; gap: 6px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  color: #fff; text-decoration: none;
  opacity: 0; transform: translateX(-30px); transition: opacity .5s, transform .6s var(--ease), color .3s;
}
.menu__nav a i { font-style: normal; font-size: 13px; color: var(--gold); letter-spacing: .1em; font-weight: 600; }
.menu__nav a:hover { color: var(--gold); }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: .5s; }
.menu > .btn { align-self: flex-start; }
.menu__ar { font-family: var(--font-ar); color: var(--gold); font-size: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 30px);
  background:
    radial-gradient(1200px 700px at 85% 30%, rgba(0, 113, 132, .10), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(201, 162, 39, .10), transparent 60%),
    linear-gradient(180deg, #F3F4F4 0%, var(--paper) 55%, var(--paper-2) 100%);
}
.hero__routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.watermark { position: absolute; pointer-events: none; }
.watermark svg { width: 100%; height: auto; }
.watermark--hero { width: min(900px, 80vw); left: -14vw; bottom: -10vh; opacity: .05; --lg-a: var(--teal-900); --lg-b: var(--teal-900); }
.hero__grid {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(20px, 3vw, 50px); align-items: center;
  padding-bottom: 40px;
}
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 5.4rem);
  font-weight: 700; line-height: 1.01; letter-spacing: -.035em;
  color: var(--teal-900);
  margin: 28px 0 28px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal; color: var(--teal);
  background: linear-gradient(var(--gold), var(--gold)) left 94% / 0% .1em no-repeat;
  transition: background-size 1.2s var(--ease) 1.1s;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.is-ready .hero__title em, html:not(.js) .hero__title em { background-size: 100% .1em; }
.hero__lead { max-width: 35em; font-size: clamp(1rem, 1.2vw, 1.14rem); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__note { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201, 162, 39, .6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(201, 162, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); } }

.hero__visual { position: relative; width: 112%; margin-right: -12%; }
.collage { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 42, 50, .18)); }
.collage .stroke { transform-box: fill-box; }
.trail { stroke: var(--teal); stroke-width: .3; opacity: .45; transform: translateX(-7px); }
.trail--2 { opacity: .2; transform: translateX(-14px); stroke: var(--gold); }
.hero__tags { position: absolute; inset: 0; pointer-events: none; }
.hero__tags li {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-800);
  white-space: nowrap;
}
.hero__tags b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-900); color: var(--gold); font-size: 10px; letter-spacing: 0; }

/* hero intro states */
.js [data-hero-fade] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .is-ready [data-hero-fade] { opacity: 1; transform: none; }
.js .is-ready .hero__lead { transition-delay: .55s; }
.js .is-ready .hero__ctas { transition-delay: .7s; }
.js .is-ready .hero__note { transition-delay: .85s; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms + .1s); }
.is-ready .w > span { transform: none; }
.js .collage .stroke, .js .collage__trails { opacity: 0; transform: translateX(-16px); transition: opacity 1s var(--ease), transform 1.3s var(--ease); }
.js .is-ready .collage .stroke, .js .is-ready .collage__trails { opacity: 1; transform: none; }
.is-ready .collage .stroke[data-s="1"] { transition-delay: .25s; }
.is-ready .collage .stroke[data-s="2"] { transition-delay: .4s; }
.is-ready .collage .stroke[data-s="3"] { transition-delay: .55s; }
.is-ready .collage__trails { transition-delay: .8s; }
.js .hero__tags li { opacity: 0; transition: opacity .8s 1.2s; }
.js .is-ready .hero__tags li { opacity: 1; }

.scroll-cue {
  position: absolute; z-index: 3; left: max(12px, calc((100vw - var(--maxw)) / 2 - 44px)); bottom: 96px;
  display: flex; align-items: center; gap: 10px;
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600;
  color: var(--teal-800); text-decoration: none;
}
.scroll-cue .i { transform: rotate(90deg); color: var(--gold); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: rotate(90deg) translateX(6px); } }

.trustbar { position: relative; z-index: 3; background: var(--teal-900); color: #fff; padding: 20px 0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.marquee__track .i { color: var(--gold); width: 18px; height: 18px; }
.trustbar:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Kinetic band ---------- */
.kinetic { padding: clamp(60px, 9vw, 120px) 0; overflow: hidden; background: var(--paper-2); display: grid; gap: .1em; }
.kinetic__row {
  display: flex; align-items: center; gap: .35em; width: max-content;
  font-size: clamp(3.2rem, 10.5vw, 10.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02;
  text-transform: uppercase; color: var(--teal-900); white-space: nowrap;
  will-change: transform;
}
.kinetic__row--outline { color: transparent; -webkit-text-stroke: 1.5px var(--teal); }
.kinetic__mark { height: .62em; width: auto; flex: none; }
.kinetic__row--outline .kinetic__mark { --lg-b: transparent; --lg-a: var(--gold); opacity: .9; }

/* ---------- Dark base ---------- */
.dark {
  color: #fff;
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(0, 113, 132, .45), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(0, 113, 132, .25), transparent 60%),
    var(--teal-900);
}

/* ---------- About ---------- */
.about { overflow: hidden; }
.watermark--about { width: min(1100px, 95vw); right: -25vw; top: 8%; opacity: .06; --lg-a: #fff; --lg-b: #fff; }
.about__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 7vw, 110px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.about__statement { font-size: clamp(1.4rem, 2.5vw, 2.35rem); line-height: 1.32; font-weight: 500; letter-spacing: -.01em; color: #fff; }
.about__statement .wd { opacity: .16; transition: opacity .3s; }
html:not(.js) .about__statement .wd, .no-motion .about__statement .wd { opacity: 1; }
.about__side > p { color: rgba(255, 255, 255, .72); }
.promise { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-light); display: grid; gap: 10px; }
.promise__label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 600; margin-bottom: 6px; }
.promise__line { display: flex; align-items: center; gap: 14px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 600; }
.promise__line .i { color: var(--gold); }
.promise__line--gold { color: var(--gold); }
.mv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(60px, 9vw, 120px); }
.mv__card {
  padding: clamp(26px, 3vw, 40px); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-light);
  transition: transform .5s var(--ease), border-color .4s;
}
.mv__card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 39, .5); }
.mv__card p { color: rgba(255, 255, 255, .78); font-size: 15.5px; }
.mv__tag { display: inline-block; margin-bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.mv__card--gold { background: var(--gold); border-color: var(--gold); }
.mv__card--gold p { color: var(--teal-950); font-weight: 500; font-size: 17px; }
.mv__card--gold .mv__tag { color: var(--teal-900); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Flow diagram ---------- */
.flow { background: #fff; overflow: hidden; }
.flow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0, 113, 132, .14) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 60% 60%, #000 20%, transparent 75%);
}
.flow__stage {
  position: relative; margin-top: clamp(40px, 6vw, 70px);
  border-radius: 30px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(238, 240, 240, .7), rgba(255, 255, 255, .9));
  padding: clamp(10px, 2vw, 30px);
}
.flow__svg { width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.fl-path { fill: none; stroke: rgba(0, 113, 132, .22); stroke-width: 2; transition: stroke .35s, stroke-width .35s, opacity .35s; }
.fl-path--main { stroke: var(--teal); stroke-width: 5; stroke-linecap: round; }
.fl-node rect { fill: #fff; stroke: rgba(0, 113, 132, .25); stroke-width: 1.2; transition: fill .35s, stroke .35s; }
.fl-node text { font-size: 15px; font-weight: 600; fill: var(--teal-900); transition: fill .35s; }
.fl-node .fl-num { font-size: 11px; font-weight: 700; fill: var(--gold); letter-spacing: .1em; }
.fl-node { cursor: pointer; }
.fl-node:hover rect, .fl-node.is-hot rect, .fl-node:focus-visible rect { fill: var(--teal-900); stroke: var(--teal-900); }
.fl-node:hover text:not(.fl-num), .fl-node.is-hot text:not(.fl-num), .fl-node:focus-visible text:not(.fl-num) { fill: #fff; }
.fl-node:focus { outline: none; }
.flow__svg.has-hot .fl-path:not(.is-hot):not(.fl-path--main) { opacity: .35; }
.fl-path.is-hot { stroke: var(--gold); stroke-width: 3.5; }
.fl-hub-ring { fill: none; stroke: rgba(201, 162, 39, .5); stroke-width: 1.5; stroke-dasharray: 4 7; transform-box: fill-box; transform-origin: center; animation: spin 26s linear infinite; }
.fl-hub-core { fill: var(--teal-900); }
.fl-hub-label { font-size: 12px; font-weight: 700; letter-spacing: .22em; fill: var(--teal-900); text-transform: uppercase; }
.fl-hub-sub { font-size: 13px; font-weight: 500; fill: var(--ink-2); }
.fl-out rect { fill: var(--gold); }
.fl-out text { fill: var(--teal-950); font-weight: 700; }
.fl-out .fl-out-sub { font-weight: 500; font-size: 13px; }
.fl-dot { fill: var(--teal); }
.fl-dot--gold { fill: var(--gold); }
.fl-tip { font-size: 13px; fill: var(--ink-2); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Services convoy ---------- */
.services {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(0, 113, 132, .35), transparent 60%),
    linear-gradient(180deg, var(--teal-950), var(--teal-900));
}
.services__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 60px; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.services__meta { max-width: 420px; display: grid; gap: 22px; }
.services__meta p { color: rgba(255, 255, 255, .7); font-size: 15px; }
.services__counter { display: flex; align-items: baseline; gap: 10px; font-weight: 700; }
.services__counter b { font-size: 54px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.services__counter span { color: rgba(255, 255, 255, .5); letter-spacing: .1em; }
.services__viewport { margin-top: clamp(36px, 5vw, 60px); }
.services__track {
  display: flex; gap: 22px; width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  will-change: transform;
}
.svc {
  position: relative; overflow: hidden; isolation: isolate;
  flex: 0 0 clamp(290px, 25vw, 370px);
  min-height: 470px;
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-light);
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
.svc::after {
  content: ""; position: absolute; z-index: -1; right: -40px; bottom: -30px; width: 230px; height: 165px;
  background: url("../logo/sanbook-symbol.svg") center / contain no-repeat;
  opacity: .05; transform: translateX(-30px); transition: opacity .5s, transform .8s var(--ease);
}
.svc:hover { border-color: rgba(201, 162, 39, .55); transform: translateY(-8px); background: linear-gradient(165deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); }
.svc:hover::after { opacity: .16; transform: none; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc__num { font-size: 58px; font-weight: 800; line-height: .9; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .45); letter-spacing: -.04em; }
.svc__top svg { width: 36px; height: 36px; color: var(--gold); stroke-width: 1.6; }
.svc h3 { font-size: 21px; font-weight: 700; line-height: 1.22; letter-spacing: -.01em; margin-top: 10px; }
.svc p { color: rgba(255, 255, 255, .7); font-size: 14.5px; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .82); }
.svc__fine { font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, .5); }
.svc__cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1.5px solid rgba(201, 162, 39, .35);
  transition: border-color .3s, gap .4s var(--ease);
}
.svc__cta:hover { border-color: var(--gold); gap: 16px; }
.svc--end { background: var(--gold); border-color: var(--gold); color: var(--teal-950); justify-content: center; }
.svc--end:hover { background: var(--gold-300); }
.svc--end::after { display: none; }
.svc--end h3 { font-size: 30px; line-height: 1.08; letter-spacing: -.02em; }
.svc--end p { color: var(--teal-900); font-size: 16px; }
.svc--end .btn { --bg: var(--teal-900); --fg: #fff; --sweep: #fff; --fg-h: var(--teal-900); align-self: flex-start; margin-top: 10px; }
.svc__endmark { width: 90px; --lg-a: var(--teal-900); --lg-b: #fff; }
.road { position: relative; height: 30px; margin-top: 40px; }
.road__line { position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.road__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal), var(--gold)); transform-origin: left; transform: scaleX(0); }
.road__marker { position: absolute; top: 0; left: 0; width: 42px; transform: translateX(-50%); }

/* Pinned scroll scenes (sticky; overflow: clip keeps sticky working) */
.services.is-pinned, .process.is-pinned { overflow: clip; }
.is-pinned > .services__pin, .is-pinned > .process__pin { position: sticky; top: 0; height: 100vh; min-height: 0; }
.services:not(.is-pinned) .services__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.services:not(.is-pinned) .svc { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
@media (max-height: 860px) and (min-width: 1024px) {
  .services__pin { padding-top: 96px; padding-bottom: 36px; }
  .services .display { font-size: clamp(2.2rem, 4vw, 3.6rem); }
  .services__viewport { margin-top: 28px; }
  .svc { min-height: 400px; padding: 24px; gap: 12px; }
  .svc__num { font-size: 46px; }
  .svc p { font-size: 14px; }
  .road { margin-top: 24px; }
  .process__pin { padding-top: 96px; padding-bottom: 40px; }
  .process .display { font-size: clamp(2.2rem, 4vw, 3.6rem); }
  .process__stage { width: min(100% - 2 * var(--gutter), 1100px); }
}

/* ---------- Industries ---------- */
.industries { background: var(--paper); }
.ind { margin-top: clamp(40px, 6vw, 70px); border-top: 1px solid var(--line); }
.ind__row { border-bottom: 1px solid var(--line); }
.ind__btn {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; display: grid; grid-template-columns: 90px 1fr auto; column-gap: 24px; align-items: center;
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: clamp(22px, 2.6vw, 34px) 20px;
  transition: padding .6s var(--ease), color .4s;
}
.ind__btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal-900);
  clip-path: polygon(0 0, 0 0, 0 50%, 0 100%, 0 100%, 0 50%);
  transition: clip-path .7s var(--ease-in-out);
}
.ind__num { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--teal); transition: color .4s; }
.ind__name { font-size: clamp(1.25rem, 2.6vw, 2.4rem); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; color: var(--teal-900); transition: color .4s; }
.ind__desc {
  grid-column: 2; grid-row: 2;
  max-height: 0; opacity: 0; overflow: hidden;
  max-width: 62ch; color: rgba(255, 255, 255, .78); font-size: 15px;
  transition: max-height .6s var(--ease), opacity .5s, margin .6s var(--ease);
}
.ind__go {
  grid-column: 3; grid-row: 1;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateX(-20px); transition: opacity .4s, transform .6s var(--ease);
}
.ind__btn:hover, .ind__btn:focus-visible { padding-left: 44px; }
.ind__btn:hover::before, .ind__btn:focus-visible::before { clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%, 0 50%); }
.ind__btn:hover .ind__name, .ind__btn:focus-visible .ind__name { color: #fff; }
.ind__btn:hover .ind__num, .ind__btn:focus-visible .ind__num { color: var(--gold); }
.ind__btn:hover .ind__desc, .ind__btn:focus-visible .ind__desc { max-height: 140px; opacity: 1; margin-top: 12px; }
.ind__btn:hover .ind__go, .ind__btn:focus-visible .ind__go { opacity: 1; transform: none; }
.ind__btn:focus-visible { outline-offset: -3px; }

/* ---------- Process ---------- */
.process {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 600px at 80% 100%, rgba(201, 162, 39, .12), transparent 60%),
    linear-gradient(160deg, var(--teal-700), var(--teal-900) 70%);
}
.process__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 70px; }
.process__stage { position: relative; aspect-ratio: 1200 / 420; margin-top: clamp(30px, 5vw, 60px); }
.process__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.process__road { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.process__draw { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.process__marker { position: absolute; left: 0; top: 0; width: clamp(40px, 4.4vw, 62px); z-index: 3; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); will-change: transform; }
.steps { position: absolute; inset: 0; }
.step { position: absolute; width: clamp(200px, 21vw, 270px); transform: translate(-50%, 30px); opacity: .28; transition: opacity .6s, filter .6s; }
.step.is-above { transform: translate(-50%, calc(-100% - 30px)); }
.step.is-on { opacity: 1; }
.step__dot { position: absolute; left: 50%; top: -38px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--teal-900); border: 2px solid rgba(255, 255, 255, .4); transition: background .4s, border-color .4s, box-shadow .4s; }
.step.is-above .step__dot { top: auto; bottom: -38px; }
.step.is-on .step__dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 8px rgba(201, 162, 39, .18); }
.step__num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--gold); margin-bottom: 6px; }
.step h3 { font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.step p { font-size: 14px; color: rgba(255, 255, 255, .72); line-height: 1.55; }

/* ---------- Why / bento ---------- */
.why { background: var(--paper); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px; margin-top: clamp(40px, 6vw, 70px); }
.bento__photo { grid-column: span 2; grid-row: span 2; margin: 0; position: relative; border-radius: 26px; overflow: hidden; min-height: 420px; }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.bento__photo:hover img { transform: scale(1.12); }
.bento__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 80px 28px 26px;
  background: linear-gradient(180deg, transparent, rgba(0, 27, 33, .85));
  color: #fff; font-weight: 600; font-size: 15px;
}
.bento__photo figcaption .i { color: var(--gold); width: 22px; height: 22px; }
.tile {
  display: flex; flex-direction: column; gap: 12px;
  padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.tile:nth-of-type(5), .tile:nth-of-type(6) { grid-column: span 2; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 42, 50, .1); border-color: rgba(201, 162, 39, .6); }
.tile svg { width: 34px; height: 34px; color: var(--teal); stroke-width: 1.6; margin-bottom: auto; transition: color .4s, transform .6s var(--ease); }
.tile:hover svg { color: var(--gold); transform: translateX(6px); }
.tile h3 { font-size: 19px; font-weight: 700; color: var(--teal-900); margin-top: 26px; }
.tile p { font-size: 15px; color: var(--ink-2); }
.tile--teal { background: var(--teal); border-color: var(--teal); }
.tile--teal h3, .tile--teal p { color: #fff; }
.tile--teal svg { color: var(--gold); }
.values { margin-top: clamp(80px, 10vw, 130px); }
.values__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 36px; }
.value { border-top: 2px solid var(--line); padding-top: 22px; display: grid; gap: 10px; transition: border-color .4s; }
.value__word { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; color: var(--teal-900); line-height: 1; transition: transform .6s var(--ease), color .4s; }
.value__meaning { font-size: 15px; color: var(--ink-2); max-width: 32ch; }
.value:hover { border-color: var(--gold); }
.value:hover .value__word { transform: translateX(10px); color: var(--teal); }

/* ---------- Numbers ---------- */
.numbers { position: relative; overflow: hidden; background: var(--gold); padding: clamp(70px, 9vw, 120px) 0; color: var(--teal-950); }
.watermark--numbers { width: min(900px, 90vw); right: -12vw; top: 50%; transform: translateY(-50%); opacity: .22; --lg-a: #fff; --lg-b: #fff; }
.numbers__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.num { display: grid; gap: 14px; border-left: 2px solid rgba(0, 27, 33, .18); padding-left: 24px; }
.num b { font-size: clamp(4.4rem, 9.5vw, 9rem); font-weight: 800; line-height: .85; letter-spacing: -.05em; color: var(--teal-950); font-variant-numeric: tabular-nums; }
.num span { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-900); line-height: 1.6; }

/* ---------- RFQ ---------- */
.rfq {
  padding: clamp(90px, 12vw, 160px) 0;
  background:
    radial-gradient(900px 700px at 0% 0%, rgba(0, 113, 132, .4), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(201, 162, 39, .12), transparent 60%),
    var(--teal-950);
}
.rfq__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); margin-top: clamp(40px, 6vw, 70px); align-items: start; }
.rfq__form {
  position: relative;
  padding: clamp(22px, 3.2vw, 46px);
  border-radius: 30px;
  background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line-light);
}
.rfq__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 36px; }
.rfq__steps button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  border-top: 3px solid rgba(255, 255, 255, .12); padding: 14px 0 0;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
  transition: color .3s, border-color .4s;
}
.rfq__steps b { display: block; color: rgba(201, 162, 39, .7); font-size: 13px; margin-bottom: 4px; }
.rfq__steps .is-done button { border-color: var(--teal); color: rgba(255, 255, 255, .8); }
.rfq__steps .is-active button { border-color: var(--gold); color: #fff; }
.rfq__steps .is-active b { color: var(--gold); }
.panel { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.panel.is-active { display: block; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.panel legend { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 24px; padding: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--wide, .consent { grid-column: 1 / -1; }
.field > span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.field > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, .42); font-weight: 500; }
.rfq input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .rfq select, .rfq textarea {
  width: 100%; min-width: 0;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15);
  color: #fff; font: 500 15px/1.4 var(--font);
  transition: border-color .3s, background .3s, box-shadow .3s;
  color-scheme: dark;
}
.rfq textarea { resize: vertical; }
.rfq select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23C9A227' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.rfq select option { color: var(--ink); background: #fff; }
.rfq input::placeholder, .rfq textarea::placeholder { color: rgba(255, 255, 255, .32); }
.rfq input:focus, .rfq select:focus, .rfq textarea:focus { outline: none; border-color: var(--gold); background-color: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(201, 162, 39, .18); }
.rfq .is-invalid { border-color: var(--error) !important; box-shadow: 0 0 0 4px rgba(255, 143, 168, .14) !important; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pills span {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .82);
  transition: background .3s, color .3s, border-color .3s;
}
.pills label:hover span { border-color: rgba(201, 162, 39, .7); }
.pills input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--teal-950); }
.pills input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.drop {
  position: relative; display: block; cursor: pointer;
  border: 1.5px dashed rgba(255, 255, 255, .25); border-radius: 16px; padding: 28px 20px; text-align: center;
  transition: border-color .3s, background .3s;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop__ui { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.drop__ui b { color: #fff; }
.drop__ui svg { width: 22px; height: 22px; color: var(--gold); }
.drop:hover, .drop.is-drag { border-color: var(--gold); background: rgba(201, 162, 39, .07); }
.drop__list { display: grid; gap: 6px; margin-top: 8px; }
.drop__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 13px; }
.drop__list li span:last-child { color: rgba(255, 255, 255, .5); flex: none; }
.drop__list li.is-bad { color: var(--error); }
.consent, .check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .78); cursor: pointer; }
.consent input, .check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); flex: none; cursor: pointer; }
.consent.is-invalid span { color: var(--error); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.items { display: grid; gap: 14px; margin-bottom: 18px; }
.item { padding: 22px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); animation: panelIn .5s var(--ease); }
.item.is-flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201, 162, 39, .25); } 100% { border-color: rgba(255, 255, 255, .12); box-shadow: none; } }
.item__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.item__n { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.item__rm { background: none; border: 0; cursor: pointer; color: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.item__rm:hover { color: var(--error); }
.items.is-single .item__rm { display: none; }
.item .fields { grid-template-columns: repeat(6, 1fr); }
.item .field { grid-column: span 3; }
.item .field--sm { grid-column: span 2; }
.item .field--wide, .item .check { grid-column: 1 / -1; }
.rfq__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.rfq__error { flex: 1; text-align: center; color: var(--error); font-size: 13px; font-weight: 500; }
.rfq__done { text-align: center; padding: 30px 10px 10px; display: grid; justify-items: center; gap: 16px; animation: panelIn .7s var(--ease); }
.rfq__done[hidden] { display: none; }
.rfq__done-mark { width: 96px; animation: lmIn 1s var(--ease); }
.rfq__done h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; }
.rfq__done-msg { color: rgba(255, 255, 255, .75); max-width: 46ch; }
.rfq__done-msg b { color: var(--gold); }
.is-submitted .rfq__steps, .is-submitted .panel, .is-submitted .rfq__nav { display: none; }

/* Manifest */
.manifest { position: sticky; top: 96px; }
.manifest__card {
  position: relative; overflow: hidden;
  background: #FBFAF6; color: var(--ink);
  border-radius: 24px; padding: 26px 26px 22px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(0, 63, 74, .08);
  transform: rotate(-1.2deg);
  transition: transform .6s var(--ease);
  --lg-b: var(--teal); --lg-t: var(--teal);
}
.manifest__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: linear-gradient(90deg, var(--teal) 0 70%, var(--gold) 70%); }
.manifest__card:hover { transform: rotate(0deg) translateY(-4px); }
.manifest__card.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: rotate(-1.2deg) scale(1.015); } }
.manifest__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0 18px; border-bottom: 2px dashed rgba(0, 63, 74, .18); }
.manifest__logo { width: 124px; flex: none; }
.manifest__type { text-align: right; line-height: 1; }
.manifest__type span { display: block; font-size: 10px; letter-spacing: .34em; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.manifest__type b { font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: var(--teal-900); }
.manifest__ref { position: relative; display: grid; gap: 4px; padding: 16px 0; border-bottom: 2px dashed rgba(0, 63, 74, .18); }
.manifest__ref span, .manifest__rows dt, .manifest__items p span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: rgba(11, 34, 39, .5); }
.manifest__ref b { font-size: 21px; font-weight: 800; letter-spacing: .04em; color: var(--teal-900); font-variant-numeric: tabular-nums; }
.manifest__status { position: absolute; right: 0; top: 18px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--gold-100); color: var(--teal-900); }
.manifest__status.is-sent { background: var(--teal); color: #fff; }
.manifest__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 0; padding: 6px 0; border-bottom: 2px dashed rgba(0, 63, 74, .18); }
.manifest__rows div { padding: 10px 0; min-width: 0; }
.manifest__rows dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; line-height: 1.35; }
.manifest__items { padding: 14px 0 8px; }
.manifest__items p { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.manifest__items p b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--teal-900); color: var(--gold); font-size: 12px; }
.manifest__items ul { display: grid; max-height: 210px; overflow: auto; }
.manifest__items li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px dotted rgba(0, 63, 74, .2); font-size: 13px; font-weight: 500; line-height: 1.4; animation: panelIn .45s var(--ease); }
.manifest__items li b { flex: none; color: var(--teal); font-weight: 800; font-variant-numeric: tabular-nums; }
.manifest__items li.empty { color: rgba(11, 34, 39, .45); border: 0; }
.manifest__incl { font-size: 12px; color: var(--ink-2); min-height: 1em; }
.manifest__foot { margin-top: 14px; display: grid; gap: 8px; }
.barcode { width: 100%; height: 46px; }
.barcode rect { fill: var(--teal-950); }
.manifest__foot p { text-align: center; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; font-weight: 700; color: var(--teal); }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__intro { position: sticky; top: 120px; display: grid; gap: 24px; justify-items: start; }
.faq__intro > p:not(.eyebrow) { color: var(--ink-2); }
.faq__intro .eyebrow { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 28px 60px 28px 0;
  font-size: clamp(1.02rem, 1.35vw, 1.25rem); font-weight: 600; line-height: 1.4; color: var(--teal-900);
  transition: color .3s, padding .5s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 18px; height: 2px; background: var(--teal);
  transition: transform .5s var(--ease), background .3s;
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa[open] summary::before, .qa[open] summary::after { background: var(--gold); }
.qa summary:hover { color: var(--teal); padding-left: 10px; }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 60px 28px 0; color: var(--ink-2); max-width: 64ch; }
.qa[open] .qa__a { animation: faqIn .55s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Closing / contact ---------- */
.closing {
  position: relative; overflow: hidden;
  padding: clamp(110px, 14vw, 190px) 0 clamp(80px, 10vw, 120px);
  background:
    radial-gradient(900px 600px at 90% 10%, rgba(201, 162, 39, .18), transparent 60%),
    linear-gradient(150deg, var(--teal) 0%, var(--teal-700) 55%, var(--teal-800) 100%);
  color: #fff;
}
.closing__convoy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); opacity: .09; pointer-events: none; }
.convoy { display: flex; gap: 60px; width: max-content; animation: convoy 30s linear infinite; }
.convoy svg { height: clamp(140px, 18vw, 260px); width: auto; --lg-a: #fff; --lg-b: #fff; }
@keyframes convoy { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.closing .container { position: relative; }
.closing__title { font-size: clamp(2.3rem, 5.4vw, 5.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; max-width: 15ch; text-wrap: balance; }
.closing__lead { margin-top: 24px; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, .82); }
.closing__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(60px, 8vw, 100px); }
.contact__card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 26px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(0, 27, 33, .12); backdrop-filter: blur(6px);
  color: #fff; text-decoration: none;
  transition: background .4s, color .4s, transform .5s var(--ease), border-color .4s;
}
.contact__tag { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .72; padding-right: 30px; }
.contact__card b { font-size: clamp(1rem, 1.3vw, 1.18rem); font-weight: 700; overflow-wrap: anywhere; line-height: 1.35; }
.contact__go { position: absolute; top: 24px; right: 22px; color: var(--gold); transition: transform .5s var(--ease); }
a.contact__card:hover { background: #fff; color: var(--teal-900); transform: translateY(-6px); border-color: #fff; }
a.contact__card:hover .contact__go { transform: translateX(6px); }

/* ---------- Footer ---------- */
.footer { background: var(--teal-950); color: rgba(255, 255, 255, .68); padding: clamp(70px, 9vw, 110px) 0 28px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.footer__logo { width: 180px; flex: none; }
.footer__logo svg { width: 100%; height: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(30px, 6vw, 90px); }
.footer h4 { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__cols a, .footer__cols span { display: block; font-size: 14px; padding: 5px 0; text-decoration: none; transition: color .3s, transform .4s var(--ease); }
.footer__cols a:hover { color: #fff; transform: translateX(4px); }
.footer__giant {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 30px;
  margin: clamp(60px, 9vw, 120px) 0 clamp(30px, 4vw, 50px);
  font-size: clamp(2.4rem, 8.4vw, 8.6rem); font-weight: 800; line-height: .95; letter-spacing: -.045em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .26);
  transition: color .8s var(--ease);
}
.footer__giant:hover > span:first-child { color: rgba(201, 162, 39, .9); -webkit-text-stroke-color: transparent; }
.footer__giant > span:first-child { transition: color .6s, -webkit-text-stroke-color .6s; }
.footer__ar { margin-left: auto; font-family: var(--font-ar); font-size: .36em; letter-spacing: 0; font-weight: 600; color: var(--gold); -webkit-text-stroke: 0; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer__bottom nav { display: flex; gap: 22px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Mobile bar / toast ---------- */
.mobilebar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50;
  display: none; gap: 10px; padding: 8px;
  background: rgba(0, 27, 33, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.mobilebar.is-on { transform: none; }
.mobilebar .btn { flex: 1; }
.mobilebar__call { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; flex: none; }
.mobilebar__call svg { width: 20px; height: 20px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--teal-950); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35); border: 1px solid rgba(201, 162, 39, .5);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
  max-width: calc(100% - 32px);
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .header__cta + .burger { margin-left: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-of-type(5), .tile:nth-of-type(6) { grid-column: span 1; }
  .contact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .services__pin { min-height: 0; padding: clamp(90px, 12vw, 140px) 0 80px; }
  .services__head { flex-direction: column; align-items: flex-start; }
  .services__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 10px; }
  .services__viewport::-webkit-scrollbar { display: none; }
  .svc { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .road { display: none; }
  .rfq__grid { grid-template-columns: 1fr; }
  .manifest { position: relative; top: 0; max-width: 520px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 10px; }
  .hero__visual { width: 100%; margin: 10px 0 0; max-width: 620px; justify-self: center; }
  .hero__tags { display: none; }
  .hero__routes { opacity: .45; }
  .scroll-cue { display: none; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .about__grid { grid-template-columns: 1fr; }
  .mv { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .values__list { grid-template-columns: repeat(2, 1fr); }

  /* process: vertical timeline */
  .process__pin { min-height: 0; padding: clamp(90px, 12vw, 140px) 0; }
  .process__stage { aspect-ratio: auto; }
  .process__svg, .process__marker { display: none; }
  .steps { position: relative; display: grid; gap: 34px; padding-left: 36px; border-left: 2px solid rgba(255, 255, 255, .14); margin-left: 8px; }
  .step, .step.is-above { position: relative; left: auto !important; top: auto !important; width: auto; transform: none; opacity: 1; }
  .step__dot, .step.is-above .step__dot { left: -46px; top: 4px; bottom: auto; margin: 0; background: var(--gold); border-color: var(--gold); }

  .ind__btn { grid-template-columns: 54px 1fr; padding-left: 0; padding-right: 0; }
  .ind__btn:hover, .ind__btn:focus-visible { padding-left: 14px; }
  .ind__desc { max-height: none; opacity: 1; margin-top: 10px; color: var(--ink-2); }
  .ind__go { grid-column: 2; grid-row: 3; opacity: 1; transform: none; margin-top: 12px; color: var(--teal); }
  .ind__btn:hover .ind__go, .ind__btn:focus-visible .ind__go { color: var(--gold); }
  .ind__btn:hover .ind__desc { color: rgba(255, 255, 255, .8); }
}

@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .header__cta { display: none; }
  .header__cta + .burger { margin-left: auto; }
  .header__logo { width: 120px; }
  .header.is-scrolled .header__logo { width: 120px; }
  .hero { padding-top: calc(var(--header-h) + 14px); }
  .hero__title { margin: 22px 0; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .bento { grid-template-columns: 1fr; }
  .bento__photo { grid-column: auto; grid-row: auto; min-height: 380px; }
  .values__list { grid-template-columns: 1fr; gap: 30px; }
  .fields, .item .fields { grid-template-columns: 1fr; }
  .item .field, .item .field--sm { grid-column: 1 / -1; }
  .rfq__steps { gap: 6px; }
  .rfq__steps button { font-size: 9.5px; letter-spacing: .08em; }
  .rfq__nav { flex-wrap: wrap; }
  .rfq__error { order: -1; flex-basis: 100%; }
  .rfq__nav .btn { flex: 1; }
  .manifest__card { transform: none; }
  .contact { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .numbers__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .num { padding-left: 16px; }
  .mobilebar { display: flex; }
  .footer { padding-bottom: 110px; }
  .toast { bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee__track, .convoy { animation: none !important; }
}
