/* =====================================================================
   MAGNUS TRANS INC. — Design System
   Premium · Minimal · Motion-led
   ---------------------------------------------------------------------
   01 Tokens              09 Marquee            17 Accordion
   02 Base                10 Statbar            18 Jobs / Tiles / Timeline
   03 Typography          11 Trust strip        19 Forms
   04 Layout              12 Cards              20 Prose / Misc
   05 Overlays            13 Media / Split      21 Footer
   06 Buttons             14 Steps              22 Motion primitives
   07 Header / Nav        15 Fleet              23 Responsive
   08 Hero                16 Quotes / CTA       24 Reduced motion
   ===================================================================== */


/* ============================ 01 · TOKENS ========================== */
:root {
  /* Brand — teal, matched to the logo */
  --brand:        #207479;   /* core brand */
  --brand-lift:   #3DA6AC;   /* lifted for accents on dark backgrounds */
  --brand-deep:   #165458;   /* depth for gradients and hovers */
  --brand-wash:   #E8F1F1;   /* faint tint behind icons */
  --brand-glow:   rgba(32, 116, 121, .28);

  /* Neutrals — warm, editorial */
  --ink:          #0B0B0C;
  --ink-2:        #131315;
  --ink-3:        #1D1D20;
  --ink-4:        #2A2A2F;

  --bone:         #FBFAF8;
  --bone-2:       #F4F2EE;
  --bone-3:       #EBE8E2;
  --white:        #FFFFFF;

  --text:         #101012;
  --muted:        #6E6E76;
  --faint:        #9C9CA5;
  --muted-dark:   #9A9AA4;
  --faint-dark:   #6A6A73;

  --line:         rgba(11, 11, 12, .10);
  --line-soft:    rgba(11, 11, 12, .06);
  --line-dark:    rgba(255, 255, 255, .12);
  --line-dark-s:  rgba(255, 255, 255, .07);

  /* Geometry — minimal means restrained radii */
  --r-xs: 3px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 18px;
  --r-pill: 999px;

  --container: 1280px;
  --gutter: 26px;
  --header-h: 82px;

  /* Type */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;

  /* Motion */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur:  .6s;
  --dur-s: .35s;

  /* Elevation — whisper-quiet */
  --lift:    0 1px 2px rgba(11,11,12,.04), 0 12px 32px -14px rgba(11,11,12,.16);
  --lift-lg: 0 2px 4px rgba(11,11,12,.04), 0 40px 80px -32px rgba(11,11,12,.30);
}


/* ============================= 02 · BASE =========================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -.006em;
  color: var(--text);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-variant-ligatures: common-ligatures;
}

body.nav-open,
body.is-loading { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: fixed;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 3000;
  background: var(--ink);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 18px; }


/* ========================== 03 · TYPOGRAPHY ======================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.038em;
  margin: 0 0 .48em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 7.2vw, 6.1rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.7rem); letter-spacing: -.042em; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.42rem); letter-spacing: -.028em; line-height: 1.2; }
h4 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }

/* Editorial italic accent — the premium signature */
h1 em, h2 em, h3 em, .serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--brand);
}
h1 em { font-size: 1.06em; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.62;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -.012em;
}

/* Micro label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform-origin: left;
  animation: rule-in 1.1s var(--ease) both;
}
.head--center .eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.section--dark .eyebrow { color: var(--brand-lift); }


/* =========================== 04 · LAYOUT =========================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 780px; }

.section { padding: clamp(80px, 11vw, 168px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 104px) 0; }
.section--paper { background: var(--bone-2); }

.section--dark {
  background: var(--ink);
  color: var(--muted-dark);
  isolation: isolate;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 12% 0%, rgba(32,116,121,.13), transparent 62%),
    radial-gradient(50% 60% at 92% 100%, rgba(32,116,121,.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark .lead,
.section--dark .head p { color: var(--muted-dark); }

/* Hairline separators between stacked light sections */
.section + .section:not(.section--dark):not(.section--paper)::before {
  content: '';
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line-soft);
}

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.head { max-width: 62ch; margin-bottom: clamp(46px, 5.5vw, 82px); }
.head--center { margin-inline: auto; text-align: center; }
.head p {
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  color: var(--muted);
  max-width: 58ch;
  margin: 18px 0 0;
  line-height: 1.62;
}
.head--center p { margin-inline: auto; }


/* ========================== 05 · OVERLAYS ========================== */

/* --- Film grain: the single cheapest "premium" tell --- */
.grain {
  position: fixed;
  inset: -30%;
  z-index: 9000;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-drift 7s steps(9) infinite;
  will-change: transform;
}
@keyframes grain-drift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-3%, -4%); }
  20%  { transform: translate(-8%, 2%); }
  30%  { transform: translate(4%, -6%); }
  40%  { transform: translate(-2%, 6%); }
  50%  { transform: translate(-6%, 3%); }
  60%  { transform: translate(5%, 5%); }
  70%  { transform: translate(-4%, -3%); }
  80%  { transform: translate(2%, 7%); }
  90%  { transform: translate(-5%, -2%); }
  100% { transform: translate(0, 0); }
}

/* --- Scroll progress --- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 2100;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--brand-lift));
  pointer-events: none;
}

/* --- Custom cursor --- */
.cursor,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 9500;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor {
  width: 7px; height: 7px;
  background: #fff;
  margin: -3.5px 0 0 -3.5px;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s;
}
.cursor-ring {
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(255,255,255,.55);
  transition: width .38s var(--ease), height .38s var(--ease), margin .38s var(--ease),
              border-color .38s var(--ease), opacity .3s, background-color .38s var(--ease);
}
body.cursor-hover .cursor { width: 0; height: 0; margin: 0; }
body.cursor-hover .cursor-ring {
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  background: rgba(255,255,255,.9);
  border-color: transparent;
}
body.cursor-hidden .cursor,
body.cursor-hidden .cursor-ring { opacity: 0; }

/* --- Preloader --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9800;
  background: var(--bone);
  display: grid;
  place-items: center;
  transition: opacity .5s ease;
}
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.loader__logo {
  width: clamp(148px, 20vw, 210px);
  opacity: 0;
  transform: translateY(14px);
  animation: loader-logo .9s var(--ease-out) .1s forwards;
}
.loader__track {
  width: clamp(150px, 20vw, 212px);
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar {
  height: 100%;
  width: 100%;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .25s linear;
}
.loader__pct {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
@keyframes loader-logo {
  to { opacity: 1; transform: translateY(0); }
}

/* Curtain wipe on exit */
.loader.is-done { pointer-events: none; }
.loader.is-done .loader__inner { opacity: 0; transform: translateY(-16px); transition: .45s var(--ease); }
.loader__curtain {
  position: absolute;
  inset: 0;
  display: flex;
}
.loader__curtain i {
  flex: 1;
  background: var(--bone);
  transform-origin: 50% 100%;
  transition: transform .9s var(--ease-in-out);
}
.loader.is-done .loader__curtain i { transform: scaleY(0); }


/* ========================== 06 · BUTTONS =========================== */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .855rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
/* Sliding fill */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill, var(--brand));
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }

.btn svg {
  width: 15px; height: 15px; flex: none;
  transition: transform .45s var(--ease);
}
.btn:hover svg { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--brand); --btn-bd: var(--brand); --btn-fill: var(--ink); }
.btn--primary:hover { border-color: var(--ink); }

.btn--dark { --btn-bg: var(--ink); --btn-bd: var(--ink); --btn-fill: var(--brand); }
.btn--dark:hover { border-color: var(--brand); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line);
  --btn-fill: var(--ink);
}
.btn--ghost:hover { color: #fff; border-color: var(--ink); }

.btn--light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255,255,255,.32);
  --btn-fill: #fff;
}
.btn--light:hover { color: var(--ink); border-color: #fff; }

.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; --btn-fill: var(--brand); }
.btn--white:hover { color: #fff; border-color: var(--brand); }

.btn--sm { padding: 11px 20px; font-size: .78rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Text link with sweeping rule */
.tlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 5px;
}
.tlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.tlink:hover::after { transform: scaleX(0); }
.tlink svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.tlink:hover svg { transform: translateX(5px); }
.tlink:hover { color: var(--brand); }
.section--dark .tlink { color: #fff; }


/* ======================== 07 · HEADER / NAV ======================== */
.topbar {
  background: var(--ink);
  color: var(--faint-dark);
  font-size: .74rem;
  letter-spacing: .01em;
  border-bottom: 1px solid var(--line-dark-s);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
  padding-block: 8px;
}
.topbar__list { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar__list a,
.topbar__list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .3s var(--ease);
}
.topbar__list a:hover { color: #fff; }
.topbar__list svg { width: 13px; height: 13px; color: var(--brand); flex: none; }

.topbar__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.topbar__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.6);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(251,250,248,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease),
              transform .55s var(--ease), box-shadow .45s var(--ease);
  will-change: transform;
}
.header.is-stuck {
  background: rgba(251,250,248,.88);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 30px -12px rgba(11,11,12,.18);
}
.header.is-hidden { transform: translateY(-102%); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

/* --- Logo --- */
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
}
.logo img {
  width: auto;
  height: 34px;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.logo:hover img { transform: scale(1.035); }
.header.is-stuck .logo img { height: 30px; }
.logo--foot img { height: 40px; }

/* Legacy mark fallback (kept so no page can break) */
.logo__mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--brand);
  margin-right: 11px;
}
.logo__mark svg { width: 22px; height: 22px; color: #fff; }
.logo__text { display: flex; flex-direction: column; line-height: 1.06; }
.logo__name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em; }
.logo__sub { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }

/* --- Menu --- */
.menu { display: flex; align-items: center; gap: 4px; }
/* The mobile CTA is a .btn — it must keep its own display/padding. */
.menu > li:not(.menu__mobile-cta) > a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--muted);
  transition: color .35s var(--ease);
  overflow: hidden;
}
.menu > li > a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.menu > li > a:hover { color: var(--text); }
.menu > li > a:hover::after,
.menu > li > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu > li > a.is-active { color: var(--text); font-weight: 600; }
.menu__mobile-cta { display: none; }

.nav__cta { display: flex; align-items: center; gap: 16px; flex: none; }

.nav__phone { display: flex; align-items: center; gap: 11px; }
.nav__phone-ic {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
}
.nav__phone:hover .nav__phone-ic {
  background: var(--brand);
  border-color: var(--brand);
  transform: rotate(-14deg);
}
.nav__phone-ic svg { width: 15px; height: 15px; color: var(--brand); transition: color .4s var(--ease); }
.nav__phone:hover .nav__phone-ic svg { color: #fff; }
.nav__phone-txt { display: flex; flex-direction: column; line-height: 1.25; }
.nav__phone-txt small {
  font-size: .61rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); font-weight: 700;
}
.nav__phone-txt strong { font-size: .88rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }

/* --- Burger --- */
.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  z-index: 1400;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 50%;
  width: 17px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .45s var(--ease), background .3s, opacity .3s;
}
.burger span { top: 50%; transform: translate(-50%, -50%); }
.burger span::before,
.burger span::after { content: ''; left: 0; }
.burger span::before { top: -5.5px; }
.burger span::after  { top: 5.5px; }
.burger.is-open { border-color: var(--line-dark); }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); background: #fff; }
.burger.is-open span::after  { top: 0; transform: rotate(-45deg); background: #fff; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(11,11,12,.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }


/* ============================ 08 · HERO ============================ */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(620px, 94vh, 1000px);
  padding: clamp(120px, 16vh, 190px) 0 clamp(56px, 7vh, 92px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -6%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.08) brightness(.55);
  transform: scale(1.06);
  animation: hero-drift 26s var(--ease-in-out) infinite alternate;
  will-change: transform;
}
@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,12,.86) 0%, rgba(11,11,12,.42) 38%, rgba(11,11,12,.94) 100%),
    radial-gradient(70% 60% at 78% 18%, rgba(32,116,121,.20), transparent 62%);
}
/* Hairline grid — quiet architectural detail */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

.hero__inner { position: relative; max-width: 1000px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 18px 7px 8px;
  margin-bottom: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  color: rgba(255,255,255,.82);
}
.hero__badge b {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.hero h1 { color: #fff; margin-bottom: 30px; max-width: 17ch; }
.hero h1 em { color: var(--brand-lift); }

.hero__text {
  max-width: 54ch;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.68;
  color: rgba(255,255,255,.68);
  margin-bottom: 38px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  color: rgba(255,255,255,.62);
}
.hero__points svg { width: 16px; height: 16px; color: var(--brand-lift); flex: none; }

/* Scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  z-index: 2;
}
.hero__cue i {
  display: block;
  width: 1px; height: 44px;
  background: linear-gradient(180deg, rgba(255,255,255,.45), transparent);
  position: relative;
  overflow: hidden;
}
.hero__cue i::after {
  content: '';
  position: absolute;
  top: -44px; left: 0;
  width: 1px; height: 44px;
  background: var(--brand);
  animation: cue-run 2.2s var(--ease-in-out) infinite;
}
@keyframes cue-run {
  0%   { transform: translateY(0); }
  100% { transform: translateY(88px); }
}


/* =========================== 09 · MARQUEE ========================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.6vw, 46px) 0;
  background: var(--ink);
  border-block: 1px solid var(--line-dark-s);
  user-select: none;
}
.marquee--light { background: var(--bone); border-color: var(--line-soft); }
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee-run 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4vw, 64px);
  padding-right: clamp(34px, 4vw, 64px);
}
.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.04em;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}
.marquee--light .marquee__group span { color: var(--text); }
.marquee__group span em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.marquee__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(50px, 9vw, 150px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.marquee--light::before { background: linear-gradient(90deg, var(--bone), transparent); }
.marquee--light::after  { background: linear-gradient(270deg, var(--bone), transparent); }

@keyframes marquee-run {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}


/* =========================== 10 · STATBAR ========================== */
.statbar {
  background: var(--bone);
  border-bottom: 1px solid var(--line-soft);
}
.statbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(44px, 5.5vw, 78px) 0;
}
.statbar__item {
  padding: 6px clamp(16px, 2.4vw, 38px);
  border-right: 1px solid var(--line-soft);
  transition: transform .55s var(--ease);
}
.statbar__item:first-child { padding-left: 0; }
.statbar__item:last-child { border-right: 0; padding-right: 0; }
.statbar__item:hover { transform: translateY(-5px); }

.statbar__num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.statbar__num i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: .52em;
  color: var(--brand);
  letter-spacing: 0;
}
.statbar__label {
  margin-top: 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--faint);
}
.section--dark .statbar__num { color: #fff; }


/* ========================= 11 · TRUST STRIP ======================== */
.strip {
  padding: clamp(46px, 5.5vw, 76px) 0;
  background: var(--bone);
  border-bottom: 1px solid var(--line-soft);
}
.strip__title {
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 34px;
}
.strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 62px);
}
.strip__row div {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--faint);
  filter: grayscale(1);
  opacity: .72;
  transition: color .4s var(--ease), opacity .4s var(--ease),
              filter .4s var(--ease), transform .5s var(--ease);
}
.strip__row div svg { width: 18px; height: 18px; }
.strip__row div:hover {
  color: var(--text);
  opacity: 1;
  filter: none;
  transform: translateY(-3px);
}


/* ============================ 12 · CARDS =========================== */
/* Editorial index card — no box, just hairlines and air */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3vw, 42px) clamp(26px, 2.4vw, 34px) clamp(30px, 3vw, 40px);
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  transition: transform .6s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
  will-change: transform;
}
/* Ink wash sweep on hover */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.card::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--lift); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }

.card__ic {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 26px;
  border-radius: var(--r-sm);
  background: var(--brand-wash);
  transition: background .5s var(--ease), transform .6s var(--ease);
}
.card__ic svg { width: 22px; height: 22px; color: var(--brand); transition: color .45s var(--ease); }
.card:hover .card__ic { background: var(--brand); transform: rotate(-8deg); }
.card:hover .card__ic svg { color: #fff; }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .93rem; margin-bottom: 22px; line-height: 1.62; }

.card__list { margin-bottom: 26px; display: grid; gap: 9px; }
.card__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .855rem;
  color: var(--muted);
}
.card__list svg { width: 14px; height: 14px; color: var(--brand); flex: none; margin-top: 5px; }

.card__num {
  position: absolute;
  top: clamp(24px, 2.4vw, 32px);
  right: clamp(24px, 2.4vw, 32px);
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-style: italic;
  color: var(--bone-3);
  line-height: 1;
  transition: color .5s var(--ease), transform .6s var(--ease);
}
.card:hover .card__num { color: var(--brand-wash); transform: translateY(-4px); }

.card .tlink { margin-top: auto; align-self: flex-start; }

/* Dark variant */
.card--dark {
  border-color: var(--line-dark-s);
  color: var(--muted-dark);
}
.card--dark::before { background: rgba(255,255,255,.045); }
.card--dark:hover { box-shadow: none; border-color: var(--line-dark); }
.card--dark p { color: var(--muted-dark); }
.card--dark .card__ic { background: rgba(32,116,121,.14); }
.card--dark .card__num { color: rgba(255,255,255,.06); }
.card--dark .card__list li { color: var(--muted-dark); }

/* Value tile */
.vcard {
  position: relative;
  padding: clamp(28px, 2.8vw, 38px) clamp(24px, 2.2vw, 30px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: transparent;
  overflow: hidden;
  transition: transform .6s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.vcard::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.vcard:hover { transform: translateY(-6px); background: var(--white); border-color: transparent; box-shadow: var(--lift); }
.vcard:hover::after { transform: scaleX(1); }
.vcard__ic {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease);
}
.vcard__ic svg { width: 19px; height: 19px; color: var(--brand); transition: color .45s var(--ease); }
.vcard:hover .vcard__ic { background: var(--brand); border-color: var(--brand); transform: rotate(-10deg); }
.vcard:hover .vcard__ic svg { color: #fff; }
.vcard h3 { margin-bottom: 9px; }
.vcard p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.section--dark .vcard { border-color: var(--line-dark-s); }
.section--dark .vcard:hover { background: rgba(255,255,255,.05); box-shadow: none; }
.section--dark .vcard p { color: var(--muted-dark); }
.section--dark .vcard__ic { border-color: var(--line-dark); }


/* ======================== 13 · MEDIA / SPLIT ======================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5.5vw, 92px);
  align-items: center;
}
.split--wide { grid-template-columns: 1.06fr .94fr; }

.media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.35;
  background: var(--bone-3);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.85) contrast(1.04);
  transform: scale(1.02);
  transition: filter .9s var(--ease), transform 1.2s var(--ease);
  will-change: transform;
}
.media:hover img { filter: grayscale(0) contrast(1); transform: scale(1.06); }

/* Offset hairline frame */
.media--offset::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-lg);
  margin: 14px;
  pointer-events: none;
  transition: margin .8s var(--ease), border-color .6s var(--ease);
}
.media--offset:hover::before { margin: 22px; border-color: rgba(255,255,255,.4); }

.media__badge {
  position: absolute;
  left: 22px; bottom: 22px; right: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  border-radius: var(--r);
  background: rgba(251,250,248,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--lift);
  transform: translateY(0);
  transition: transform .6s var(--ease);
}
.media:hover .media__badge { transform: translateY(-4px); }
.media__badge-ic {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.media__badge-ic svg { width: 19px; height: 19px; color: #fff; }
.media__badge strong { display: block; font-size: .95rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.media__badge span { font-size: .8rem; color: var(--muted); }

.floatcard {
  position: absolute;
  right: 22px; bottom: 22px;
  z-index: 3;
  padding: 22px 26px;
  border-radius: var(--r);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 24px 50px -20px rgba(32,116,121,.7);
  animation: float-soft 5.5s var(--ease-in-out) infinite alternate;
}
.floatcard b {
  display: block;
  font-size: 2.3rem;
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.floatcard span {
  display: block;
  margin-top: 7px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .9;
}
@keyframes float-soft {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

/* Check list */
.checks { display: grid; gap: 24px; margin: 34px 0; }
.checks li { display: flex; gap: 16px; align-items: flex-start; }
.checks__ic {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand-wash);
  flex: none;
  margin-top: 3px;
  transition: transform .5s var(--ease), background .4s var(--ease);
}
.checks li:hover .checks__ic { background: var(--brand); transform: scale(1.12); }
.checks__ic svg { width: 12px; height: 12px; color: var(--brand); transition: color .4s; }
.checks li:hover .checks__ic svg { color: #fff; }
.checks strong { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -.022em; margin-bottom: 4px; color: var(--text); }
.checks p { font-size: .91rem; color: var(--muted); margin: 0; line-height: 1.6; }
.section--dark .checks strong { color: #fff; }
.section--dark .checks p { color: var(--muted-dark); }
.section--dark .checks__ic { background: rgba(32,116,121,.16); }

/* Coverage list */
.coverage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line-dark-s);
  border: 1px solid var(--line-dark-s);
  border-radius: var(--r);
  overflow: hidden;
}
.coverage li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--ink);
  font-size: .85rem;
  color: var(--muted-dark);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.coverage li:hover { background: var(--ink-3); color: #fff; }
.coverage svg { width: 14px; height: 14px; color: var(--brand); flex: none; }


/* ============================ 14 · STEPS =========================== */
.steps { display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.step {
  position: relative;
  padding: clamp(34px, 3.6vw, 52px) clamp(24px, 2.4vw, 34px);
  background: var(--bone);
  overflow: hidden;
  transition: background .5s var(--ease);
}
.section--paper .step { background: var(--bone-2); }
.step::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.step:hover { background: var(--white); }
.step:hover::after { transform: scaleX(1); }

.step__n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--bone-3);
  margin-bottom: 24px;
  transition: color .5s var(--ease), transform .6s var(--ease);
}
.step:hover .step__n { color: var(--brand); transform: translateY(-4px); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }


/* ============================ 15 · FLEET =========================== */
.fleet-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s var(--ease);
  will-change: transform;
}
.fleet-card:hover { transform: translateY(-8px); box-shadow: var(--lift-lg); border-color: transparent; }

.fleet-card__img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bone-3);
}
.fleet-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.9) contrast(1.05);
  transform: scale(1.01);
  transition: transform 1.1s var(--ease), filter .8s var(--ease);
}
.fleet-card:hover .fleet-card__img img { transform: scale(1.08); filter: grayscale(0); }

.fleet-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: rgba(251,250,248,.92);
  backdrop-filter: blur(10px);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.fleet-card:hover .fleet-card__tag { background: var(--brand); color: #fff; }

.fleet-card__body {
  padding: clamp(26px, 2.6vw, 34px);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fleet-card__body h3 { margin-bottom: 10px; }
.fleet-card__body p { font-size: .9rem; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }

.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.spec div small {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.spec div strong { font-size: .93rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }


/* ======================== 16 · QUOTES / CTA ======================== */
.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 3.2vw, 44px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: transform .6s var(--ease), background .5s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease);
}
.quote::before {
  content: '”';
  position: absolute;
  top: -18px; right: 22px;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--bone-3);
  transition: color .5s var(--ease);
  pointer-events: none;
}
.quote:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: transparent;
  box-shadow: var(--lift);
}
.quote:hover::before { color: var(--brand-wash); }

.quote__stars { display: flex; gap: 4px; margin-bottom: 22px; }
.quote__stars svg { width: 15px; height: 15px; color: var(--brand); }
.quote p {
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--text);
  letter-spacing: -.014em;
  margin-bottom: 30px;
}
.quote__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote__av {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  flex: none;
  transition: background .45s var(--ease);
}
.quote:hover .quote__av { background: var(--brand); }
.quote__who strong { display: block; font-size: .92rem; font-weight: 700; letter-spacing: -.02em; }
.quote__who span { font-size: .8rem; color: var(--faint); }

/* CTA slab */
.cta {
  position: relative;
  padding: clamp(48px, 6vw, 92px) clamp(32px, 5vw, 84px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: rgba(255,255,255,.7);
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(32,116,121,.28), transparent 60%),
    radial-gradient(50% 90% at 0% 100%, rgba(32,116,121,.14), transparent 60%);
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 12.5% 100%;
  pointer-events: none;
}
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.62); max-width: 46ch; }
.cta__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}
.cta .btn-row { justify-content: flex-end; }


/* ===================== 17 · PAGE HERO / ACCORDION ================== */
.phero {
  position: relative;
  padding: clamp(120px, 15vw, 190px) 0 clamp(70px, 9vw, 116px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.phero__bg {
  position: absolute;
  inset: -5%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(.66) contrast(1.06);
  transform: scale(1.05);
  animation: hero-drift 30s var(--ease-in-out) infinite alternate;
}
.phero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,12,.82), rgba(11,11,12,.5) 55%, rgba(11,11,12,.92)),
    radial-gradient(60% 70% at 85% 10%, rgba(32,116,121,.2), transparent 60%);
}
.phero h1 { color: #fff; margin-bottom: 20px; max-width: 15ch; }
.phero p { color: rgba(255,255,255,.66); max-width: 60ch; font-size: clamp(1rem, 1.2vw, 1.1rem); }

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.crumb a { transition: color .3s var(--ease); }
.crumb a:hover { color: var(--brand-lift); }
.crumb span { color: #fff; }
.crumb svg { width: 11px; height: 11px; opacity: .5; }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: clamp(22px, 2.4vw, 30px) 44px clamp(22px, 2.4vw, 30px) 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -.026em;
  color: var(--text);
  cursor: pointer;
  transition: color .35s var(--ease), padding-left .45s var(--ease);
}
.acc__btn::before,
.acc__btn::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  background: var(--brand);
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.acc__btn::before { width: 14px; height: 1.5px; transform: translateY(-50%); }
.acc__btn::after  { width: 1.5px; height: 14px; right: 12.25px; transform: translateY(-50%) rotate(0deg); }
.acc__btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.acc__btn:hover { color: var(--brand); padding-left: 10px; }

.acc__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .55s var(--ease);
}
.acc__panel > div {
  padding: 0 60px clamp(24px, 2.6vw, 32px) 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7;
}
.section--dark .acc,
.section--dark .acc__item { border-color: var(--line-dark-s); }
.section--dark .acc__btn { color: #fff; }
.section--dark .acc__panel > div { color: var(--muted-dark); }


/* ================= 18 · JOBS / TILES / TIMELINE =================== */
.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: clamp(26px, 2.8vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .5s var(--ease);
}
.job:first-child { border-top: 1px solid var(--line); }
.job:hover { padding-left: 14px; }
.job h3 { margin-bottom: 12px; transition: color .4s var(--ease); }
.job:hover h3 { color: var(--brand); }
.job p { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.job__meta span { display: inline-flex; align-items: center; gap: 8px; }
.job__meta svg { width: 13px; height: 13px; color: var(--brand); }

.itile {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: var(--r);
  background: var(--brand-wash);
  border: 1px solid rgba(32,116,121,.16);
}
.itile__ic {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
  animation: float-soft 4.5s var(--ease-in-out) infinite alternate;
}
.itile__ic svg { width: 18px; height: 18px; color: #fff; }
.itile strong { display: block; font-size: .96rem; font-weight: 700; letter-spacing: -.02em; }
.itile span, .itile p { font-size: .88rem; color: var(--muted); margin: 0; }
.section--dark .itile { background: rgba(32,116,121,.1); border-color: rgba(32,116,121,.22); }
.section--dark .itile strong { color: #fff; }
.section--dark .itile span, .section--dark .itile p { color: var(--muted-dark); }

/* Timeline */
.tl { position: relative; padding-left: 30px; display: grid; gap: 34px; }
.tl::before {
  content: '';
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand), var(--line));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease);
}
.tl.is-in::before, [data-reveal].is-in .tl::before, .is-in > .tl::before { transform: scaleY(1); }
.tl__item { position: relative; }
.tl__item::before {
  content: '';
  position: absolute;
  left: -30px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bone);
  border: 2px solid var(--brand);
  transition: transform .45s var(--ease), background .4s var(--ease);
}
.tl__item:hover::before { transform: scale(1.35); background: var(--brand); }
.tl__year {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.tl__item p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.65; }
.tl__item h3, .tl__item strong { display: block; margin-bottom: 6px; }
.section--paper .tl__item::before { background: var(--bone-2); }
.section--dark .tl__item::before { background: var(--ink); }
.section--dark .tl__item p { color: var(--muted-dark); }


/* ============================ 19 · FORMS =========================== */
.form-card {
  padding: clamp(30px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--lift);
}
.section--dark .form-card {
  background: var(--ink-2);
  border-color: var(--line-dark-s);
  box-shadow: none;
}

.field { position: relative; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 9px;
  transition: color .35s var(--ease);
}
.field label span { color: var(--brand); }
.field:focus-within label { color: var(--brand); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 0;
  font: inherit;
  font-size: .95rem;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .4s var(--ease);
  appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.field 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' fill='none' stroke='%236E6E76' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 26px;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); opacity: .8; }

/* Animated focus underline */
.field::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; }

.section--dark .field input,
.section--dark .field select,
.section--dark .field textarea {
  color: #fff;
  border-bottom-color: var(--line-dark);
}
.section--dark .field label { color: var(--faint-dark); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--muted);
  margin: 6px 0 24px;
  line-height: 1.55;
}
.consent input[type="checkbox"] {
  width: 17px; height: 17px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--brand);
  cursor: pointer;
}
.consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.form-note {
  font-size: .8rem;
  color: var(--faint);
  margin-top: 18px;
  line-height: 1.55;
}


/* ======================= 20 · PROSE / MISC ========================= */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--muted); font-size: 1rem; line-height: 1.78; }
.prose ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .72em;
  width: 7px; height: 1px;
  background: var(--brand);
}
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--brand-wash);
  border: 1px solid rgba(32,116,121,.18);
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-deep);
  margin-bottom: 34px;
}

.map-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 16 / 9;
  background: var(--bone-3);
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.04);
  transition: filter .7s var(--ease);
}
.map-wrap:hover iframe { filter: grayscale(0); }

.blank { text-align: center; padding: clamp(60px, 10vw, 130px) 0; }
.blank .btn-row { justify-content: center; margin-top: 34px; }
.blank h1 { margin-inline: auto; }
.blank__code {
  font-size: clamp(6rem, 20vw, 15rem);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .9;
  background: linear-gradient(180deg, var(--ink) 12%, var(--brand) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: var(--muted-dark);
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .5s var(--ease);
}
.socials a svg { width: 16px; height: 16px; }
.socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-4px);
}


/* =========================== 21 · FOOTER =========================== */
.footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding: clamp(64px, 8vw, 112px) 0 0;
  font-size: .91rem;
  position: relative;
  isolation: isolate;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 50% 0%, rgba(32,116,121,.09), transparent 60%);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.55fr .8fr .8fr 1.2fr;
  gap: clamp(34px, 4.5vw, 66px);
  padding-bottom: clamp(48px, 6vw, 78px);
}
.footer__about { margin-top: 24px; max-width: 40ch; color: var(--faint-dark); line-height: 1.72; }
.footer h4 { color: #fff; margin-bottom: 24px; font-size: .68rem; letter-spacing: .2em; }

.fmenu { display: grid; gap: 13px; }
.fmenu a {
  position: relative;
  display: inline-block;
  color: var(--muted-dark);
  transition: color .35s var(--ease), transform .4s var(--ease);
}
.fmenu a::before {
  content: '';
  position: absolute;
  left: -14px; top: 50%;
  width: 7px; height: 1px;
  background: var(--brand);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.fmenu a:hover { color: #fff; transform: translateX(14px); }
.fmenu a:hover::before { transform: translateY(-50%) scaleX(1); }

.fcontact { display: grid; gap: 20px; }
.fcontact li { display: flex; gap: 14px; align-items: flex-start; }
.fcontact svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 4px; }
.fcontact strong {
  display: block;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.fcontact span { color: var(--faint-dark); line-height: 1.55; }
.fcontact a { transition: color .3s var(--ease); }
.fcontact a:hover { color: var(--brand-lift); }

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line-dark-s);
  font-size: .82rem;
  color: var(--faint-dark);
}
.footer__bar p { margin: 0; }
.footer__bar ul { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__bar a { transition: color .3s var(--ease); }
.footer__bar a:hover { color: #fff; }

/* Oversized watermark wordmark */
.footer__mark {
  overflow: hidden;
  line-height: 0;
  padding-bottom: 8px;
  opacity: .055;
  pointer-events: none;
  user-select: none;
}
.footer__mark span {
  display: block;
  /* Sized to sit just inside the container at every width — the wordmark
     should read as a deliberate flourish, never as clipped text. */
  font-size: clamp(2.4rem, 11.4vw, 11rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .85;
  color: #fff;
  white-space: nowrap;
  text-align: center;
}

/* Back to top */
.totop {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bone);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.85);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s,
              background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  box-shadow: var(--lift);
}
.totop.is-show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.totop:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.totop svg { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.totop:hover svg { transform: translateY(-3px); }


/* ====================== 22 · MOTION PRIMITIVES ===================== */

/* Generic reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .95s var(--ease-out), transform .95s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="left"]  { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="blur"]  { filter: blur(10px); transform: translateY(20px); }
[data-reveal="blur"].is-in { filter: blur(0); }

/* Split-text — each word rides up out of its own mask.
   The padding/negative-margin pair keeps descenders visible while the
   overflow still clips the word during its travel. */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: .09em .04em .18em;
  margin: -.09em -.04em -.18em;
}
.split-word > i {
  display: inline-block;
  font-style: inherit;
  font-family: inherit;
  color: inherit;
  transform: translateY(118%) rotate(2.5deg);
  opacity: 0;
  transition: transform 1.05s var(--ease-out), opacity .8s var(--ease-out);
  will-change: transform;
}
.split-ready.is-in .split-word > i,
.is-in .split-word > i { transform: translateY(0) rotate(0); opacity: 1; }

/* A split heading animates through its words, not as a block. */
[data-reveal="text"] { opacity: 1; transform: none; }

/* Clip reveal for media */
[data-clip] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.25s var(--ease-out);
}
[data-clip].is-in { clip-path: inset(0 0 0 0); }
[data-clip] img { transform: scale(1.28); transition: transform 1.6s var(--ease-out), filter .9s var(--ease); }
[data-clip].is-in img { transform: scale(1.02); }

/* Hairline draw-in */
[data-rule] { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); }
[data-rule].is-in { transform: scaleX(1); }
@keyframes rule-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Magnetic + tilt helpers */
[data-magnetic] { will-change: transform; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* Parallax */
[data-parallax] { will-change: transform; }

/* Staggered grid children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }

/* Ambient float */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}


/* ========================= 23 · RESPONSIVE ========================= */
@media (max-width: 1140px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .fcontact { grid-template-columns: repeat(2, 1fr); display: grid; gap: 20px 34px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav__phone { display: none; }
  .split, .split--wide { grid-template-columns: 1fr; gap: 44px; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }
  .statbar__inner { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .statbar__item:nth-child(2) { border-right: 0; padding-right: 0; }
  .statbar__item:nth-child(3) { padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 960px) {
  .topbar__list li:nth-child(3) { display: none; }
  .burger { display: block; }

  /* The menu overlay is position:fixed and lives inside .header, so the
     header must not become its containing block. backdrop-filter and
     will-change both do exactly that — drop them at mobile widths. */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    will-change: auto;
    background: rgba(251,250,248,.95);
  }
  .header.is-stuck { background: rgba(251,250,248,.98); }

  /* Keep the logo legible on top of the dark overlay. */
  body.nav-open .logo { position: relative; z-index: 1400; }

  /* Full-screen menu overlay */
  .menu {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 110px 34px 44px;
    background: var(--ink);
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path .8s var(--ease-in-out);
    overflow-y: auto;
  }
  .menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); }

  .menu > li { width: 100%; overflow: hidden; }
  .menu > li:not(.menu__mobile-cta) > a {
    display: block;
    padding: 12px 0;
    font-size: clamp(1.9rem, 8vw, 2.9rem);
    font-weight: 500;
    letter-spacing: -.045em;
    color: rgba(255,255,255,.55);
    transform: translateY(110%);
    opacity: 0;
    transition: transform .75s var(--ease-out), opacity .6s var(--ease-out), color .3s;
    transition-delay: 0s;
  }
  .menu.is-open > li:not(.menu__mobile-cta) > a { transform: translateY(0); opacity: 1; }
  .menu.is-open > li:nth-child(1) > a { transition-delay: .16s; }
  .menu.is-open > li:nth-child(2) > a { transition-delay: .22s; }
  .menu.is-open > li:nth-child(3) > a { transition-delay: .28s; }
  .menu.is-open > li:nth-child(4) > a { transition-delay: .34s; }
  .menu.is-open > li:nth-child(5) > a { transition-delay: .40s; }
  .menu.is-open > li:nth-child(6) > a { transition-delay: .46s; }
  .menu.is-open > li:nth-child(7) > a { transition-delay: .52s; }
  .menu > li:not(.menu__mobile-cta) > a:hover,
  .menu > li:not(.menu__mobile-cta) > a.is-active { color: #fff; }
  .menu > li > a::after { display: none; }

  .menu__mobile-cta { display: block; margin-top: 34px; overflow: visible; }
  .menu__mobile-cta a { font-size: .9rem; }

  .nav__cta { gap: 10px; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .grid { gap: 22px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr !important; }
  .topbar__list li:nth-child(2) { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .job { grid-template-columns: 1fr; }
  .hero__points { gap: 12px 24px; }
  .cta .btn-row .btn { flex: 1 1 auto; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .topbar__inner { justify-content: center; }
  .topbar__list li:nth-child(2),
  .topbar__list li:nth-child(3) { display: none; }
  .topbar__tag { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .statbar__inner { grid-template-columns: 1fr 1fr; }
  .statbar__item { padding-inline: 0 !important; border-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .fcontact { grid-template-columns: 1fr; }
  .footer__mark { display: none; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  /* flex-start shrink-wraps children to max-content, which stops the link
     row from wrapping — cap it back to the bar's width. */
  .footer__bar > * { max-width: 100%; }
  .footer__bar ul { gap: 12px 24px; }
  .btn { padding: 14px 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  .logo img { height: 28px; }
  .cursor, .cursor-ring { display: none; }
  .totop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .media--offset::before { margin: 10px; }
  .quote::before { font-size: 5.5rem; }
}


/* ======================= 24 · REDUCED MOTION ======================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .split-word { overflow: visible !important; }
  .split-word > i { opacity: 1 !important; transform: none !important; }
  [data-clip] { clip-path: none !important; }
  [data-clip] img { transform: none !important; }
  [data-rule], .tl::before { transform: none !important; }
  .grain, .cursor, .cursor-ring, .hero__cue { display: none !important; }
  .hero__bg, .phero__bg { animation: none !important; }
}
