/* ==========================================================================
   Crownline Machinery — design system
   Graphite + warm paper + signal amber. Archivo (variable width) + JetBrains Mono.
   ========================================================================== */

:root {
  --ink: #0e0f11;
  --graphite: #15171a;
  --graphite-2: #1d2024;
  --graphite-3: #2a2e33;
  --paper: #f4f2ee;
  --paper-2: #ebe8e2;
  --white: #ffffff;
  --muted: #5a5f66;
  --muted-dark: #9aa0a8;
  --line: rgba(14, 15, 17, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --amber: #e8a33d;
  --amber-2: #f2b85a;
  --amber-ink: #8a5a10;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.9vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 5.25rem);
  --step-5: clamp(3rem, 1.6rem + 6.2vw, 8.25rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 168px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--dark { background: var(--graphite); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }

/* ---------- Type ---------- */
.display {
  font-size: var(--step-5);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  margin: 0;
  text-wrap: balance;
}
.h1 { font-size: var(--step-4); line-height: 0.98; letter-spacing: -0.03em; font-weight: 700; font-variation-settings: "wdth" 108; margin: 0; text-wrap: balance; }
.h2 { font-size: var(--step-3); line-height: 1.02; letter-spacing: -0.025em; font-weight: 650; font-variation-settings: "wdth" 104; margin: 0; text-wrap: balance; }
.h3 { font-size: var(--step-2); line-height: 1.1; letter-spacing: -0.015em; font-weight: 600; margin: 0; }
.h4 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; margin: 0; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 60ch; margin: 0; text-wrap: pretty; }
.section--dark .lead { color: var(--muted-dark); }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--muted); }
.section--dark .muted { color: var(--muted-dark); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted);
  margin: 0 0 22px;
}
/* Line icons (sprite: /assets/img/icons.svg) */
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eb-ic {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  display: inline-grid; place-items: center;
  color: var(--amber-ink);
  background: linear-gradient(180deg, #fffdf9, #f1ece3);
  box-shadow: inset 0 0 0 1px rgba(138, 90, 16, .18), 0 1px 0 rgba(255,255,255,.8) inset, 0 6px 14px -8px rgba(138, 90, 16, .45);
}
.eb-ic .ic { width: 16px; height: 16px; }
.section--dark .eb-ic, .on-dark .eb-ic, .hero .eb-ic, .page-hero--image .eb-ic, .cta-dark .eb-ic {
  color: var(--amber);
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 1px rgba(232, 163, 61, .35), 0 8px 20px -10px rgba(232, 163, 61, .5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--muted-dark); }

.mono { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 22px 0 26px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), color .35s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--amber); transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn .arrow {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12);
  transition: transform .5s var(--ease-out), background .35s;
}
.btn:hover .arrow { transform: translateX(3px) rotate(-45deg); background: rgba(14,15,17,.1); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light .arrow { background: rgba(14,15,17,.08); }
.btn--amber { --bg: var(--amber); --fg: var(--ink); }
.btn--amber::before { background: var(--paper); }
.btn--amber .arrow { background: rgba(14,15,17,.1); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost .arrow { background: transparent; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--paper);
  transition: background .5s var(--ease-out), color .5s var(--ease-out), transform .6s var(--ease-out), box-shadow .5s;
}
.site-header.is-solid {
  background: rgba(244, 242, 238, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.page--light-top .site-header { color: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.02em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-size: 1.05rem; font-variation-settings: "wdth" 118; letter-spacing: 0.06em; }
.brand-word small { font-family: var(--mono); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.32em; opacity: .7; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 0.92rem; font-weight: 500; opacity: .82; transition: opacity .3s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--amber); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { min-height: 44px; padding: 0 8px 0 20px; font-size: 0.88rem; }
.nav-cta .btn .arrow { width: 28px; height: 28px; }
.site-header:not(.is-solid) .nav-cta .btn { --bg: var(--paper); --fg: var(--ink); }
.page--light-top .site-header:not(.is-solid) .nav-cta .btn { --bg: var(--ink); --fg: var(--paper); }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor;
  background: transparent; cursor: pointer; place-items: center;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .4s var(--ease-out); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--graphite); color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-in-out); }
.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; }
.mobile-menu ul { list-style: none; margin: 0 0 40px; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu .btn { align-self: flex-start; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 2rem; font-weight: 650; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; }
.mobile-menu .mono { color: var(--muted-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,17,.55) 0%, rgba(14,15,17,0) 28%),
    linear-gradient(90deg, rgba(14,15,17,.72) 0%, rgba(14,15,17,.45) 45%, rgba(14,15,17,0) 80%),
    linear-gradient(0deg, rgba(14,15,17,.95) 0%, rgba(14,15,17,.55) 38%, rgba(14,15,17,.05) 70%),
    radial-gradient(120% 80% at 80% 30%, rgba(232,163,61,.10), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(28px, 4vw, 48px); }
.hero .display { max-width: 15ch; }
.hero-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero-row .lead { color: rgba(244,242,238,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.hero-strip {
  position: relative; z-index: 2; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding-block: 20px;
}
.hero-strip .brands { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 44px); justify-content: center; }
.hero-strip .brands span { font-weight: 700; font-variation-settings: "wdth" 120; letter-spacing: 0.12em; font-size: 0.92rem; opacity: .9; }
.hero-strip .mono { color: var(--muted-dark); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; color: var(--muted-dark); }
.scroll-cue i { width: 1px; height: 32px; background: linear-gradient(var(--amber), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--paper); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding-top: clamp(150px, 18vw, 230px); padding-bottom: clamp(56px, 7vw, 100px); }
.page-hero--image { color: var(--paper); background: var(--ink); overflow: hidden; min-height: 78svh; display: flex; align-items: flex-end; }
.page-hero--image .hero-media::after {
  background:
    linear-gradient(180deg, rgba(14,15,17,.7) 0%, rgba(14,15,17,0) 22%),
    linear-gradient(0deg, rgba(14,15,17,.92) 0%, rgba(14,15,17,.45) 55%, rgba(14,15,17,.3) 100%);
}
.page-hero--image .container { position: relative; z-index: 2; }
.page-hero--image .lead { color: rgba(244,242,238,.8); }
.page-hero .h1 { max-width: 16ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.crumbs { font-family: var(--mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 28px; display: flex; gap: 10px; }

/* ---------- Split-word reveal helpers ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Statement ---------- */
.statement { font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.022em; font-weight: 600; font-variation-settings: "wdth" 104; max-width: 22ch; margin: 0; }
.statement .sw { transition: none; }
.statement em { font-style: normal; color: var(--amber-ink); }
.section--dark .statement em { color: var(--amber); }
.statement-grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.statement-grid > .eyebrow { margin-top: 0.9em; }

/* ---------- Facts row ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 110px); }
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: var(--step-3); font-weight: 650; letter-spacing: -0.03em; font-variation-settings: "wdth" 110; line-height: 1; margin-bottom: 12px; }
.fact span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Horizontal equipment rail ---------- */
.rail-wrap { position: relative; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); }
.rail { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); will-change: transform; }
.rail-card {
  position: relative; flex: 0 0 clamp(300px, 34vw, 520px);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--graphite-2); color: var(--paper);
  aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.rail-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.rail-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,15,17,.92) 0%, rgba(14,15,17,.2) 55%, rgba(14,15,17,0) 80%, rgba(14,15,17,.45) 100%); }
.rail-card:hover img { transform: scale(1.0); }
.rail-card .body { padding: clamp(22px, 2.4vw, 34px); }
.rail-card .idx { position: absolute; top: 22px; left: 26px; font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; opacity: .8; }
.rail-card .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); }
.light-chips .chip { border-color: var(--line); background: rgba(14,15,17,.03); }
.rail-card .go {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(244,242,238,.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .4s, transform .5s var(--ease-out);
}
.rail-card:hover .go { background: var(--amber); color: var(--ink); transform: rotate(-45deg); }
.rail-progress { height: 2px; background: var(--line-dark); margin-top: 40px; position: relative; overflow: hidden; border-radius: 2px; }
.rail-progress i { position: absolute; inset: 0; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 3D icon tiles ---------- */
.icon3d { width: 100%; aspect-ratio: 1; position: relative; }
.icon3d svg { width: 100%; height: 100%; overflow: visible; }
.tile {
  position: relative; border-radius: var(--radius-lg); padding: clamp(22px, 2.4vw, 32px);
  background: linear-gradient(180deg, #fbfaf8, #f0ede8);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px var(--line), 0 30px 60px -40px rgba(14,15,17,.35);
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(14,15,17,.16), 0 40px 70px -40px rgba(14,15,17,.45); }
.tile .icon3d { width: clamp(120px, 12vw, 168px); margin: -6px 0 4px -8px; }
.tile p { color: var(--muted); margin: 0; font-size: .97rem; }
.tile .h4 { margin-top: 4px; }
.hero .eyebrow, .page-hero--image .eyebrow { color: rgba(244,242,238,.82); }
.section--dark .tile { background: linear-gradient(180deg, #23262b, #1a1c20); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 0 0 1px var(--line-dark); }
.section--dark .tile p { color: var(--muted-dark); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Split feature ---------- */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.split-feature--rev > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.media-frame--wide { aspect-ratio: 16 / 11; }
.media-frame img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; left: 0; }
.media-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 999px;
  background: rgba(14,15,17,.6); color: var(--paper); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em;
}
.media-tag .ic { width: 14px; height: 14px; color: var(--amber); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232,163,61,0); } 100% { box-shadow: 0 0 0 0 rgba(232,163,61,0); } }

.check-list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 0; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.section--dark .check-list li { border-color: var(--line-dark); }
.check-list svg { margin-top: 3px; color: var(--amber-ink); }
.section--dark .check-list svg { color: var(--amber); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 100px); }
.process-sticky { position: sticky; top: 120px; align-self: start; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
.steps .bar { position: absolute; left: 23px; top: 8px; width: 1px; height: calc(100% - 16px); background: var(--amber); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding-bottom: clamp(40px, 5vw, 72px); }
.step:last-child { padding-bottom: 0; }
.step .n {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--graphite-2); box-shadow: inset 0 0 0 1px var(--line-dark);
  font-family: var(--mono); font-size: .8rem; position: relative; z-index: 1;
  transition: background .4s, color .4s;
}
.step.is-active .n { background: var(--amber); color: var(--ink); box-shadow: none; }
.step p { color: var(--muted-dark); margin: 10px 0 0; max-width: 52ch; }

/* ---------- Brands marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(24px, 3vw, 40px); }
.section--dark .marquee { border-color: var(--line-dark); }
.marquee-track { display: flex; gap: clamp(40px, 6vw, 96px); width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); font-weight: 700; letter-spacing: 0.02em;
  font-variation-settings: "wdth" 125; white-space: nowrap; display: inline-flex; align-items: center; gap: clamp(40px, 6vw, 96px);
  color: transparent; -webkit-text-stroke: 1px rgba(14,15,17,.55);
  transition: color .4s;
}
.marquee-track span:hover { color: var(--ink); }
.section--dark .marquee-track span { -webkit-text-stroke-color: rgba(244,242,238,.45); }
.section--dark .marquee-track span:hover { color: var(--paper); }
.marquee-track span::after { content: ""; width: .42em; height: .42em; background: var(--amber); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17V7l4.5 4L12 4l4.5 7L21 7v10z'/%3E%3Crect x='3' y='19' width='18' height='2' rx='1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17V7l4.5 4L12 4l4.5 7L21 7v10z'/%3E%3Crect x='3' y='19' width='18' height='2' rx='1'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: var(--paper); background: var(--ink); min-height: clamp(420px, 52vw, 640px); display: flex; align-items: flex-end; isolation: isolate; }
.cta-band img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,15,17,.9) 0%, rgba(14,15,17,.55) 55%, rgba(14,15,17,.2) 100%); }
.cta-band .inner { padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; width: 100%; }
.cta-band .lead { color: rgba(244,242,238,.78); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Equipment detail (equipment page) ---------- */
.subnav {
  position: sticky; top: 76px; z-index: 50; background: rgba(244,242,238,.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.subnav { transition: top .6s var(--ease-out); }
.site-header.is-hidden ~ main .subnav { top: 0; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; font-size: .92rem; font-weight: 500; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.subnav a .mono { font-size: .7rem; }
.subnav a.is-active, .subnav a:hover { color: var(--ink); border-color: var(--amber); }

.equip { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(72px, 9vw, 130px); border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.equip:last-of-type { border-bottom: 0; }
.equip-media { position: sticky; top: 150px; }
.equip-media .media-frame { aspect-ratio: 5 / 4; }
.equip-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.equip-head .icon3d { width: 92px; flex: none; }
.spec { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: .95rem; }
.spec caption { text-align: left; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; color: var(--muted); width: 46%; padding-right: 16px; }
.spec td { font-weight: 600; font-variant-numeric: tabular-nums; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.equip .note { font-size: .82rem; color: var(--muted); margin-top: -14px; }
.equip-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }

/* ---------- Services ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 90px 1.1fr 1.4fr 140px; gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line); align-items: start;
}
.svc .n { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--muted); padding-top: 8px; }
.svc p { color: var(--muted); margin: 0 0 14px; }
.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc .icon3d { width: 130px; margin-top: -24px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { padding: 24px 26px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; transition: box-shadow .4s; }
.ccard:hover { box-shadow: 0 0 0 1px rgba(14,15,17,.25); }
.ccard .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.ccard .mono { color: var(--muted); display: block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.ccard a, .ccard address { font-style: normal; font-weight: 600; font-size: 1.05rem; line-height: 1.5; }
.ccard a:hover { color: var(--amber-ink); }

.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -60px rgba(14,15,17,.4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid transparent; border-radius: 12px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(232,163,61,.25); }
.field .err { color: #b42318; font-size: .82rem; min-height: 1em; }
.field [aria-invalid="true"] { border-color: #b42318; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { cursor: pointer; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper); font-weight: 500; font-size: .9rem; border: 1px solid transparent; transition: background .25s, color .25s; }
.seg label:hover { border-color: var(--line); }
.seg input:checked + label { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + label { outline: 2px solid var(--amber); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.form-foot small { color: var(--muted); max-width: 40ch; }
.form-status { margin-top: 16px; font-weight: 500; }

.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; background: var(--paper-2); box-shadow: 0 0 0 1px var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.value { padding: 36px 32px 8px 0; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.value p { color: var(--muted-dark); }
.credits { font-size: .8rem; color: var(--muted); columns: 2; column-gap: 40px; }
.credits p { margin: 0 0 8px; break-inside: avoid; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(72px, 9vw, 130px); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.footer-top h2 { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 28px; max-width: 18ch; line-height: 1.12; }
.footer-col h3 { font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin: 6px 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { display: inline-flex; min-height: 34px; align-items: center; color: rgba(244,242,238,.85); transition: color .3s; }
.footer-col a:hover { color: var(--amber); }
.footer-col address { font-style: normal; color: rgba(244,242,238,.85); line-height: 1.7; }
.footer-word {
  font-size: clamp(3.4rem, 15.5vw, 16rem); line-height: .8; font-weight: 800; letter-spacing: -0.04em;
  font-variation-settings: "wdth" 125; white-space: nowrap; margin: 0 0 -0.08em;
  background: linear-gradient(180deg, rgba(244,242,238,.16), rgba(244,242,238,.02));
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
  text-align: center;
}
.footer-bottom { border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px; font-size: .85rem; color: var(--muted-dark); }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- Page transition curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 300; background: var(--ink); pointer-events: none; transform: scaleY(0); transform-origin: bottom; }
.curtain.is-in { animation: curtainIn .55s var(--ease-in-out) forwards; }
.curtain.is-out { transform: scaleY(1); transform-origin: top; animation: curtainOut .75s var(--ease-in-out) .05s forwards; }
@keyframes curtainIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes curtainOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* ---------- Motion initial states (only when JS motion is active) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.motion .split .w > span { transform: translateY(110%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 70px 1fr; }
  .svc > :nth-child(3) { grid-column: 2; }
  .svc .icon3d { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: grid; }
  .hero-row, .page-hero-grid, .statement-grid, .split-feature, .process, .contact-grid, .equip, .cta-band .inner { grid-template-columns: 1fr; }
  .split-feature--rev > :first-child { order: 0; }
  .hero-actions, .cta-band .actions { justify-content: flex-start; }
  .hero-strip { grid-template-columns: 1fr; text-align: left; }
  .hero-strip .brands { justify-content: flex-start; }
  .hero-strip .scroll-cue { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact { padding-bottom: 24px; }
  .rail-head { flex-direction: column; align-items: flex-start; }
  .rail { flex-direction: column; padding-inline: var(--gutter); }
  .rail-card { flex-basis: auto; aspect-ratio: 4 / 3.4; }
  .rail-progress { display: none; }
  .process-sticky, .equip-media { position: relative; top: 0; }
  .values { grid-template-columns: 1fr; }
  .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .credits { columns: 1; }
  .tiles--3 { grid-template-columns: 1fr 1fr; }
  .media-frame { aspect-ratio: 4 / 3.6; }
}
@media (max-width: 600px) {
  .tiles, .tiles--3 { grid-template-columns: 1fr; }
  .tile { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .tile .icon3d { width: 104px; margin: -8px 0; }
  .tile .h4 { margin-top: 0; flex: 1; min-width: 50%; }
  .tile p { flex-basis: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .map { aspect-ratio: 4 / 3; }
  .btn { min-height: 50px; }
  .svc { grid-template-columns: 1fr; gap: 10px; }
  .svc > :nth-child(3) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.allow-motion) *, html:not(.allow-motion) *::before, html:not(.allow-motion) *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html:not(.allow-motion) .marquee-track { animation: none; }
  .motion [data-reveal], .motion .split .w > span { opacity: 1; transform: none; }
}

/* ==========================================================================
   v2 — seamless photo blending, hero slideshow, photo-rich sections
   ========================================================================== */

/* Feathered photos: every content photo dissolves into whatever is behind it */
.media-frame img, .rail-card img, .cta-band > img, .ind-card img, .gallery img, .svc-photo img, .thumbs img, .photo-band img {
  --fx: 9%; --ft: 9%; --fb: 14%;
  -webkit-mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.6) calc(var(--fx) * .5), #000 var(--fx), #000 calc(100% - var(--fx)), rgba(0,0,0,.6) calc(100% - var(--fx) * .5), transparent), linear-gradient(to bottom, transparent, rgba(0,0,0,.6) calc(var(--ft) * .5), #000 var(--ft), #000 calc(100% - var(--fb)), rgba(0,0,0,.6) calc(100% - var(--fb) * .5), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.6) calc(var(--fx) * .5), #000 var(--fx), #000 calc(100% - var(--fx)), rgba(0,0,0,.6) calc(100% - var(--fx) * .5), transparent), linear-gradient(to bottom, transparent, rgba(0,0,0,.6) calc(var(--ft) * .5), #000 var(--ft), #000 calc(100% - var(--fb)), rgba(0,0,0,.6) calc(100% - var(--fb) * .5), transparent);
  mask-composite: intersect;
}
.media-frame { border-radius: 0; background: transparent; overflow: visible; }
.media-frame img { height: 112%; top: -6%; }
.media-tag { left: 9%; bottom: 9%; }
.rail-card { border-radius: 0; background: transparent; }
.rail-card img { --fx: 6%; --ft: 6%; --fb: 4%; }
.rail-card::after { background: linear-gradient(0deg, var(--graphite) 2%, rgba(21,23,26,.55) 45%, rgba(21,23,26,0) 75%); }
.rail-card .go { top: 9%; right: 8%; }
.rail-card .idx { top: 10%; left: 9%; }
.rail-card .body { padding: 0 clamp(22px, 2.4vw, 34px) clamp(14px, 1.6vw, 22px); }

/* Hero + image page-heroes melt into the page below */
.hero, .page-hero--image { isolation: isolate; }
.hero::after, .page-hero--image::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(90px, 12vw, 170px); z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(244,242,238,0) 0%, rgba(244,242,238,.06) 30%, rgba(244,242,238,.55) 70%, var(--paper) 100%);
}
.page-hero--image { padding-bottom: clamp(120px, 14vw, 200px); }
.hero .hero-strip { margin-bottom: clamp(70px, 9vw, 130px); position: relative; z-index: 3; }

/* CTA band lives on dark and dissolves into it */
.cta-dark { background: var(--graphite); color: var(--paper); }
.cta-band { border-radius: 0; background: transparent; min-height: clamp(460px, 56vw, 680px); }
.cta-band::after { background: linear-gradient(90deg, var(--graphite) 6%, rgba(21,23,26,.7) 45%, rgba(21,23,26,.1) 100%); }

/* ---------- Hero slideshow: glass panel, photos and copy travel left -> right together ---------- */
.hero--slides .hero-media { overflow: hidden; }
.slide-img {
  position: absolute; inset: -2%; margin: 0; opacity: 0;
  transform: translate3d(-7%, 0, 0) scale(1.08); filter: blur(22px) saturate(1.2);
  transition: opacity 1.3s var(--ease-in-out), transform 1.6s var(--ease-in-out), filter 1.3s var(--ease-in-out);
  will-change: transform, opacity, filter;
}
.slide-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.slide-img.is-active { opacity: 1; z-index: 2; transform: none; filter: blur(0) saturate(1); }
.slide-img.is-active img { animation: kenburns 9s linear both; }
.slide-img.is-prev { opacity: 0; z-index: 1; transform: translate3d(7%, 0, 0) scale(1.08); filter: blur(22px) saturate(1.2); }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.hero--slides .hero-media::after { z-index: 3; }

.hero--slides .hero-inner { padding-top: 130px; }
.glass {
  position: relative; max-width: 780px; padding: clamp(26px, 3.4vw, 46px);
  border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 60%);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -40px rgba(0,0,0,.6);
}
.glass-sheen {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 48%, rgba(255,255,255,.05) 55%, transparent 70%);
  transform: translateX(-120%);
}
.glass.is-switching .glass-sheen { animation: sheen 1.4s var(--ease-in-out); }
@keyframes sheen { to { transform: translateX(120%); } }

.slide-stack { display: grid; }
.slide-text { grid-area: 1 / 1; visibility: hidden; transition: visibility 0s 1.1s; }
.slide-text.is-active { visibility: visible; transition: none; }
.slide-text .display { font-size: clamp(2.5rem, 1.5rem + 4vw, 5.4rem); line-height: .96; max-width: 14ch; }
.slide-text .hero-row { display: block; margin-top: 22px; }
.slide-text .lead { color: rgba(244,242,238,.82); font-size: clamp(1rem, .95rem + .3vw, 1.18rem); max-width: 54ch; }
.slide-text .hero-actions { justify-content: flex-start; margin-top: 26px; }
.slide-text .eyebrow, .slide-text .display, .slide-text .lead, .slide-text .hero-actions, .slide-text .slide-points {
  opacity: 0; transform: translate3d(-70px, 0, 0); filter: blur(10px);
  transition: opacity .9s var(--ease-in-out), transform 1.2s var(--ease-in-out), filter .9s var(--ease-in-out);
}
.slide-text.is-leaving .eyebrow, .slide-text.is-leaving .display, .slide-text.is-leaving .lead, .slide-text.is-leaving .hero-actions, .slide-text.is-leaving .slide-points {
  opacity: 0; transform: translate3d(90px, 0, 0); filter: blur(10px);
}
.slide-text.is-active .eyebrow, .slide-text.is-active .display, .slide-text.is-active .lead, .slide-text.is-active .hero-actions, .slide-text.is-active .slide-points {
  opacity: 1; transform: none; filter: blur(0);
}
.slide-text.is-active .display { transition-delay: .08s; }
.slide-text.is-active .lead { transition-delay: .16s; }
.slide-text.is-active .hero-actions { transition-delay: .22s; }
.slide-text.is-active .slide-points { transition-delay: .28s; }
.slide-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.14); }
.slide-points li { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: rgba(244,242,238,.88); }

.hero-strip--slides { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
.slide-nav {
  display: grid; grid-template-columns: 44px repeat(5, 1fr); gap: clamp(8px, 1.4vw, 20px); align-items: center;
  padding: 10px 18px 10px 10px; border-radius: 999px;
  background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.slide-pause { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--paper); transition: background .3s, transform .3s var(--ease-out); }
.slide-pause:hover { background: var(--amber); color: var(--ink); transform: scale(1.06); }
.ico-pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.slide-pause[aria-pressed="true"] .ico-pause { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.slide-btn {
  appearance: none; background: none; border: 0; padding: 12px 0 4px; text-align: left; cursor: pointer;
  color: rgba(244,242,238,.6); position: relative; min-height: 44px; transition: color .4s;
}
.slide-btn::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: rgba(244,242,238,.2); border-radius: 2px; }
.slide-btn i { position: absolute; top: 4px; left: 0; height: 2px; width: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); border-radius: 2px; }
.slide-btn:hover { color: var(--paper); }
.slide-btn.is-active { color: var(--paper); }
.slide-btn.is-done i { transform: scaleX(1); opacity: .35; }
.slide-btn b { font-weight: 600; font-size: .95rem; }

@media (max-width: 900px) {
  .glass { border-radius: 22px; }
  .slide-nav { grid-template-columns: 44px repeat(5, minmax(0, 1fr)); padding-right: 12px; }
  .slide-btn b { font-size: .74rem; }
  .slide-points { display: none; }
}
/* Reduced motion: slides still change, as a calm crossfade with nothing travelling */
@media (prefers-reduced-motion: reduce) {
  html:not(.allow-motion) .slide-img, html:not(.allow-motion) .slide-text * { transform: none !important; filter: none !important; transition-property: opacity !important; transition-duration: .8s !important; }
  html:not(.allow-motion) .slide-img.is-active img { animation: none; }
}
/* ---------- Facts with icons ---------- */
.fact .fic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; color: var(--amber-ink); background: linear-gradient(180deg, #fffdf9, #f0ebe2); box-shadow: inset 0 0 0 1px rgba(138,90,16,.16), 0 10px 20px -14px rgba(138,90,16,.6); }
.fact .fic .ic { width: 20px; height: 20px; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.ind-card { position: relative; display: flex; flex-direction: column; min-height: clamp(380px, 38vw, 520px); justify-content: flex-end; isolation: isolate; color: var(--ink); }
.ind-card .ph { position: absolute; inset: 0 0 26% 0; z-index: -1; overflow: hidden; }
.ind-card img { width: 100%; height: 100%; object-fit: cover; --fx: 4%; --ft: 4%; --fb: 38%; transition: transform 1.4s var(--ease-out); }
.ind-card:hover img { transform: scale(1.06); }
.ind-card .meta { padding: 0 6px; }
.ind-card .meta .row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ind-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Gallery (bento) ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 15vw, 220px); gap: 0; }
.gallery figure { position: relative; margin: 0; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; --fx: 7%; --ft: 7%; --fb: 9%; }
.gallery figcaption { position: absolute; left: 12%; bottom: 14%; z-index: 2; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); background: rgba(14,15,17,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 7px 11px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.gallery figcaption .ic { width: 13px; height: 13px; color: var(--amber); }
.g-a { grid-column: 1 / 8; grid-row: span 2; }
.g-b { grid-column: 8 / 13; grid-row: span 1; }
.g-c { grid-column: 8 / 13; grid-row: span 1; }
.g-d { grid-column: 1 / 5; grid-row: span 2; }
.g-e { grid-column: 5 / 13; grid-row: span 2; }

/* ---------- Photo band (full-bleed) ---------- */
.photo-band { position: relative; min-height: clamp(380px, 46vw, 620px); display: flex; align-items: flex-end; overflow: hidden; }
.photo-band img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; --fx: 0%; --ft: 16%; --fb: 16%; }
.photo-band .container { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 100px); }
.photo-band .quote { max-width: 26ch; font-size: var(--step-3); line-height: 1.08; letter-spacing: -.02em; font-weight: 650; font-variation-settings: "wdth" 106; color: var(--paper); text-shadow: 0 2px 40px rgba(14,15,17,.5); margin: 0; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(14,15,17,.65), rgba(14,15,17,.05) 60%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); }

/* ---------- Equipment thumbnails ---------- */
.thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: -2%; }
.thumbs figure { margin: 0; aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; --fx: 10%; --ft: 8%; --fb: 14%; }

/* ---------- Services with photos ---------- */
.svc { grid-template-columns: 70px 1fr 1.25fr 1fr; align-items: center; }
.svc .ttl { display: grid; gap: 14px; }
.svc .ttl .icon3d { width: 96px; margin: -10px 0 -6px -10px; }
.svc-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; --fx: 8%; --ft: 8%; --fb: 12%; transition: transform 1.2s var(--ease-out); }
.svc:hover .svc-photo img { transform: scale(1.05); }

/* Process photo under sticky copy */
.process-photo { position: relative; aspect-ratio: 5 / 4; margin-top: 40px; overflow: hidden; }
.process-photo img { width: 100%; height: 100%; object-fit: cover; --fade: 16%; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }

@media (max-width: 1100px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 60px 1fr; }
  .svc > :nth-child(3), .svc > :nth-child(4) { grid-column: 2; }
  .svc .ttl .icon3d { display: block; }
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-a, .g-d, .g-e { grid-column: 1 / -1; grid-row: span 1; }
  .g-b, .g-c { grid-column: span 1; }
  .process-photo { display: none; }
}
@media (max-width: 600px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card { min-height: 380px; }
  .svc { grid-template-columns: 1fr; }
  .svc > :nth-child(3), .svc > :nth-child(4) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.allow-motion) .slide-text .display .w > span { transform: none; }
}
/* hide sub-pixel seam under image heroes */
.hero + section, .page-hero--image + section, .page-hero--image + nav { position: relative; z-index: 2; margin-top: -3px; background-color: var(--paper); }
.page-hero--image + nav.subnav { position: sticky; }


.photo-band--to-dark { background: linear-gradient(180deg, var(--paper) 25%, var(--graphite) 75%); }
.photo-band--from-dark { background: linear-gradient(180deg, var(--graphite) 25%, var(--paper) 75%); }
.gallery { gap: clamp(10px, 1.4vw, 18px); }


.photo-band img { inset: 0; height: 100%; --fx: 0%; --ft: 22%; --fb: 24%; }


/* ==========================================================================
   v3 — full-colour 3D icons (Microsoft Fluent Emoji 3D, MIT) with idle float + hover pop
   ========================================================================== */
.i3d { --s: 34px; width: var(--s); height: var(--s); flex: none; display: inline-grid; place-items: center; position: relative; }
.i3d img { width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 85%;
  filter: drop-shadow(0 6px 7px rgba(14,15,17,.2));
  animation: i3dFloat 4.6s ease-in-out infinite; }
.i3d--sm { --s: 22px; }
.i3d--sm img { filter: drop-shadow(0 3px 3px rgba(14,15,17,.25)); animation-duration: 5.2s; }
.i3d--md { --s: 44px; }
.i3d--lg { --s: 58px; }
.i3d--xl { --s: clamp(84px, 7.5vw, 116px); }
.i3d--xl img { filter: drop-shadow(0 16px 18px rgba(14,15,17,.22)); }
.section--dark .i3d img, .hero .i3d img { filter: drop-shadow(0 8px 12px rgba(0,0,0,.45)); }
@keyframes i3dFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5%) rotate(-3deg); } }
@keyframes i3dPop {
  0% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.22) rotate(-12deg) translateY(-8%); }
  58% { transform: scale(.96) rotate(6deg) translateY(0); }
  80% { transform: scale(1.1) rotate(-2deg) translateY(-4%); }
  100% { transform: scale(1.08) rotate(0deg) translateY(-4%); }
}
:is(a, button, article, li, .eyebrow, .fact, .ccard, .tile, .svc, .ind-card, .equip-head, .value):hover .i3d img,
.i3d:hover img { animation: i3dPop .85s cubic-bezier(.34, 1.56, .64, 1) both; }
/* stagger the idle float so a row of icons never bobs in unison */
li:nth-child(2) .i3d img, .fact:nth-child(2) .i3d img, .tile:nth-child(2) .i3d img, .ccard:nth-child(2) .i3d img, .ind-card:nth-child(2) .i3d img { animation-delay: -1.2s; }
li:nth-child(3) .i3d img, .fact:nth-child(3) .i3d img, .tile:nth-child(3) .i3d img, .ccard:nth-child(3) .i3d img, .ind-card:nth-child(3) .i3d img { animation-delay: -2.4s; }
li:nth-child(4) .i3d img, .fact:nth-child(4) .i3d img, .tile:nth-child(4) .i3d img, .ccard:nth-child(4) .i3d img, .ind-card:nth-child(4) .i3d img { animation-delay: -3.5s; }

.eyebrow .i3d { --s: 30px; margin: -6px 0; }
.fact .i3d { display: grid; margin-bottom: 18px; }
.tile .i3d { margin: 4px 0 10px; }
.equip-head .i3d { --s: 64px; }
.svc .ttl .i3d { margin-bottom: 2px; }
.ccard .i3d { margin-top: 2px; }
.check-list li { align-items: center; }
.check-list .i3d { --s: 24px; }

/* ==========================================================================
   v3 — lively header
   ========================================================================== */
.site-header { animation: headerIn 1s var(--ease-out) .1s backwards; }
@keyframes headerIn { from { transform: translateY(-110%); opacity: 0; } to { transform: none; opacity: 1; } }
.site-header.is-hidden { animation: none; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; transition: opacity .4s; }
.site-header.is-solid .scroll-progress { opacity: 1; }

/* nav words roll up to a copy of themselves, a pill glides behind the hovered word */
.site-header nav { position: relative; }
.nav-pill { position: absolute; top: 50%; left: 0; height: 38px; width: 0; margin-top: -19px; border-radius: 999px; background: currentColor; opacity: 0; pointer-events: none; z-index: -1;
  transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .3s; }
.site-header nav.is-hovering .nav-pill { opacity: .1; }
.nav-links a { opacity: .85; }
.nl { display: inline-block; position: relative; overflow: hidden; line-height: 1.35; vertical-align: middle; }
.nl > span { display: inline-block; transition: transform .5s var(--ease-out); }
.nl > span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--amber); }
.site-header.is-solid .nl > span::after { color: var(--amber-ink); }
.nav-links a:hover .nl > span, .nav-links a:focus-visible .nl > span { transform: translateY(-100%); }
.nav-links a[aria-current="page"]::after { transition: transform .5s var(--ease-out); transform-origin: 50% 50%; }
.nav-links a[aria-current="page"]:hover::after { transform: scaleX(1.6); }

/* logo: crown lifts and tips, the line under it draws, the wordmark opens up */
.brand svg path, .brand svg rect:last-child { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.brand svg rect:last-child { transform-origin: 0 50%; }
.brand:hover svg path { transform: translateY(-2px) rotate(-8deg) scale(1.08); }
.brand:hover svg rect:last-child { animation: lineDraw .6s var(--ease-out); }
@keyframes lineDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.brand svg rect:first-child { transition: stroke-opacity .4s; }
.brand:hover svg rect:first-child { stroke-opacity: .8; }
.brand-word b, .brand-word small { transition: letter-spacing .6s var(--ease-out), opacity .4s; }
.brand:hover .brand-word b { letter-spacing: .1em; }
.brand:hover .brand-word small { letter-spacing: .4em; opacity: 1; }

/* header CTA: soft amber glow ring on hover */
.nav-cta .btn { box-shadow: 0 0 0 0 rgba(232,163,61,0); transition: transform .5s var(--ease-out), color .35s var(--ease-out), box-shadow .5s var(--ease-out); }
.nav-cta .btn:hover { box-shadow: 0 0 0 6px rgba(232,163,61,.18); }
.menu-toggle { transition: transform .4s var(--ease-out), background .3s; }
.menu-toggle:hover { transform: rotate(90deg); background: rgba(232,163,61,.18); }
@media (prefers-reduced-motion: reduce) {
  html:not(.allow-motion) .i3d img { animation: none !important; }
}
/* no dark dip: the incoming photo is up before the outgoing one lets go */
.slide-img.is-active { transition: opacity .9s var(--ease-out), transform 1.6s var(--ease-in-out), filter 1.1s var(--ease-out); }
.slide-img.is-prev { transition: opacity 1.1s var(--ease-in-out) .4s, transform 1.6s var(--ease-in-out), filter 1.2s var(--ease-in-out); }


/* hero copy sits straight on the photo (no glass panel) */
.glass { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-radius: 0; padding: 0; overflow: visible; max-width: 820px; }
.glass-sheen { display: none; }
.hero--slides .slide-text .display, .hero--slides .slide-text .lead { text-shadow: 0 2px 30px rgba(14,15,17,.35); }


.hero--slides .hero-inner { padding-bottom: clamp(130px, 15vw, 200px); }


/* ---------- Fleet: continuous, seamless marquee of equipment cards ---------- */
.fleet {
  display: flex; overflow: hidden; padding-block: 8px 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.fleet-track { display: flex; flex: none; animation: fleetScroll 48s linear infinite; will-change: transform; }
.fleet:hover .fleet-track, .fleet:focus-within .fleet-track { animation-play-state: paused; }
@keyframes fleetScroll { to { transform: translate3d(-100%, 0, 0); } }
.fleet-card {
  position: relative; flex: 0 0 clamp(250px, 24vw, 380px); aspect-ratio: 4 / 5; margin-right: clamp(14px, 1.6vw, 24px);
  border-radius: 20px; overflow: hidden; isolation: isolate; color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.fleet-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.fleet-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,15,17,.88) 0%, rgba(14,15,17,.25) 45%, rgba(14,15,17,0) 70%); }
.fleet-card .body { padding: clamp(20px, 2vw, 28px); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.fleet-card .h3 { font-size: clamp(1.3rem, 1rem + .9vw, 1.9rem); }
.fleet-card .go {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(244,242,238,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .4s, color .4s, transform .5s var(--ease-out);
}
.fleet-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(232,163,61,.45), 0 30px 60px -30px rgba(0,0,0,.7); }
.fleet-card:hover img { transform: scale(1.1); }
.fleet-card:hover .go { background: var(--amber); color: var(--ink); transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  html:not(.allow-motion) .fleet { overflow-x: auto; }
  html:not(.allow-motion) .fleet-track[aria-hidden="true"] { display: none; }
}
/* ==========================================================================
   v4 — type pass (taste skill: one family, Archivo; labels in sentence case;
   weights 400-600; tight tracking on big type; nothing under 13px; larger scale)
   ========================================================================== */
:root {
  --step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);   /* 14-15 */
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);       /* 17-19 body */
  --step-1: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);          /* 20-24 lead */
  --step-2: clamp(1.6rem, 1.35rem + 1vw, 2.25rem);            /* h3 */
  --step-3: clamp(2.15rem, 1.6rem + 2.2vw, 3.5rem);           /* h2 */
  --step-4: clamp(2.6rem, 1.7rem + 3.8vw, 5rem);              /* h1 */
  --step-5: clamp(2.9rem, 1.6rem + 5.6vw, 6.5rem);            /* display */
  --mono: var(--font);
}
body { line-height: 1.62; }

/* headings: medium weight, size and tight tracking do the work */
.display { font-weight: 500; font-variation-settings: "wdth" 110; letter-spacing: -0.035em; line-height: .95; }
.h1 { font-weight: 500; font-variation-settings: "wdth" 108; letter-spacing: -0.032em; }
.h2 { font-weight: 500; font-variation-settings: "wdth" 106; letter-spacing: -0.028em; line-height: 1.04; }
.h3 { font-weight: 500; letter-spacing: -0.018em; }
.h4 { font-weight: 600; letter-spacing: -0.01em; font-size: clamp(1.2rem, 1.1rem + .35vw, 1.4rem); }
.statement { font-weight: 500; letter-spacing: -0.026em; }
.fact b { font-weight: 500; letter-spacing: -0.03em; }
.photo-band .quote { font-weight: 500; }
.slide-text .display { font-size: clamp(2.8rem, 1.6rem + 4.6vw, 6rem); }
.footer-word { font-weight: 600; }
.brand-word b { font-weight: 600; }
.btn { font-weight: 500; font-size: 1rem; }
strong, b { font-weight: 600; }

/* labels: sentence case in the text face, no wide tracking, no code font */
.eyebrow {
  font-family: var(--font); font-size: clamp(0.95rem, 0.9rem + .15vw, 1.05rem); font-weight: 500;
  letter-spacing: -0.005em; text-transform: none; color: var(--amber-ink); gap: 12px; margin-bottom: 18px;
}
.section--dark .eyebrow, .on-dark .eyebrow, .hero .eyebrow, .page-hero--image .eyebrow { color: var(--amber); }
.eyebrow .i3d { --s: 28px; }
.crumbs { font-family: var(--font); font-size: .95rem; letter-spacing: 0; text-transform: none; opacity: .8; }
.mono, .chip, .spec caption, .footer-col h3, .ccard .mono, .media-tag, .step .n, .svc .n, .subnav .mono, .gallery figcaption {
  font-family: var(--font); letter-spacing: 0; text-transform: none;
}
.chip { font-size: .9rem; font-weight: 500; padding: 7px 12px; }
.spec caption { font-size: .95rem; font-weight: 600; color: var(--ink); }
.spec { font-size: 1.02rem; }
.equip .note { font-size: .92rem; }
.footer-col h3 { font-size: .95rem; font-weight: 600; color: var(--paper); margin-bottom: 14px; }
.footer-col a, .footer-col address { font-size: 1rem; }
.footer-bottom { font-size: .92rem; }
.footer-top h2 { font-size: var(--step-2); font-weight: 500; }
.ccard .mono { font-size: .88rem; font-weight: 500; color: var(--muted); }
.ccard a, .ccard address, .ccard span[style] { font-size: 1.12rem !important; }
.step .n { font-size: .95rem; font-weight: 600; }
.svc .n { font-size: .95rem; font-weight: 600; color: var(--amber-ink); }
.subnav a { font-size: 1rem; }
.subnav .mono { font-size: .85rem; color: var(--amber-ink); font-weight: 600; }

/* body copy sizes up */
.nav-links a { font-size: 1rem; }
.nav-cta .btn { font-size: .95rem; }
.mobile-menu li a { font-size: 2.2rem; font-weight: 500; }
.lead { font-size: var(--step-1); line-height: 1.5; }
.tile p, .ind-card p, .svc p, .value p, .step p, .fact span, .check-list li { font-size: 1.05rem; line-height: 1.6; }
.fact span { color: var(--muted); }
.slide-points li { font-size: 1rem; }
.field label { font-size: .98rem; }
.field input, .field select, .field textarea { font-size: 1.05rem; }
.seg label { font-size: .98rem; }
.form-foot small { font-size: .92rem; }
.marquee + .container .muted, .muted[style*=".82rem"] { font-size: .92rem !important; }
.credits { font-size: .95rem; }
.link-arrow { font-size: 1.05rem; font-weight: 500; }
.mobile-menu .mono, .check-list .mono { font-size: .95rem; font-weight: 600; }
.brand-word small { font-size: .7rem; }

