/* Containerservice AS — design 4, Terminal style (playbooks/designs/terminal/DNA.md).
   Inter (variable) + Geist Mono, both OFL, served from /fonts with their licences. */

@font-face { font-family: "Inter"; src: url("/fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --dg: #0b3d1d;          /* dark green: text on white, dark bands */
  --g: #12632f;           /* truck green: buttons, fields */
  --y: #f5cf1b;           /* stripe yellow: only on dark/green */
  --ink: #0b3d1d;
  --night: #0a120c;       /* hero near-black */
  --white: #fff;
  --dirty: #f0f0ec;
  --l1: #dcdcd6;          /* sweep start */
  --l2: #b9bdb6;          /* inactive step text on white (large text only) */
  --mid: #5f655f;         /* secondary text on white, 5.9:1 */
  --hair: rgba(11, 61, 29, .12);
  --hair-d: rgba(255, 255, 255, .14);
  --m: min(3.646vw, 56px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease2: cubic-bezier(.39, .575, .565, 1);
  --hdr-top: 24px;
}
@media (max-width: 700px) { :root { --m: 19px; --hdr-top: 12px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 1.0625rem/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html.home body { background: var(--night); }
html.home main { background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--y); color: var(--dg); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--m); max-width: 1440px; margin-inline: auto; }
.narrow { max-width: 900px; }
.center { text-align: center; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.label { color: var(--mid); text-align: center; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g); }
.label--y { color: var(--y); }
.label--y::before { background: var(--y); }
.lead { font-size: 1.125rem; line-height: 1.45; letter-spacing: .01em; max-width: 60ch; margin: 22px auto 0; text-align: center; color: var(--mid); }
.lead--dark { color: rgba(255, 255, 255, .78); }

/* ---------- type ---------- */
.t-seq { font-weight: 400; font-size: clamp(2.3rem, 5.8vw, 5.4rem); line-height: .98; letter-spacing: -.035em; hyphens: manual; overflow-wrap: normal; }
.t-si { font-weight: 400; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; text-align: center; max-width: 15ch; margin-inline: auto; hyphens: manual; text-wrap: balance; }
.t-si strong { font-weight: inherit; }
h1.t-si { max-width: 16ch; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 42px; padding: .55rem 1.1rem; border-radius: 8px; border: 1px solid transparent;
  font: 600 .74rem/1.15 "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background-color .3s var(--ease2) .1s, color .3s var(--ease2), border-color .3s var(--ease2);
}
.btn::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: 9px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.btn:hover::after { transform: scaleX(1); }
.btn--lg { min-height: 52px; padding: .8rem 1.4rem; font-size: .78rem; }
.btn--full { width: 100%; }
.btn--y { background: var(--y); color: var(--dg); }
.btn--y:hover { background: var(--dg); color: var(--y); border-color: var(--y); }
.btn--w { background: #fff; color: var(--dg); }
.btn--w:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--g { background: var(--g); color: #fff; }
.btn--g:hover { background: var(--dg); }
.btn--line { border-color: var(--hair); color: var(--dg); background: var(--dirty); }
.btn--line:hover { background: #fff; border-color: var(--dg); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btns--c { justify-content: center; margin-top: 30px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; }
.logo__mark { width: 26px; height: 22px; flex: none; }
.logo__word { font-weight: 500; font-size: 1.15rem; letter-spacing: -.035em; }

/* ---------- header (smoked green glass, fixed, never hides) ---------- */
.hdr { position: fixed; z-index: 50; left: 0; right: 0; top: var(--hdr-top); pointer-events: none; }
.hdr__bar {
  pointer-events: auto; margin: 0 auto; width: min(1040px, calc(100% - 2 * var(--m)));
  display: flex; align-items: center; gap: 18px; padding: 12px 12px 12px 18px; border-radius: 8px;
  background: rgba(11, 61, 29, .74); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2);
  color: #fff;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 10px; font-size: .875rem; font-weight: 450; letter-spacing: .02em; text-decoration: none; color: #fff; transition: color .3s var(--ease2); border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--y); }
.hdr__tel { white-space: nowrap; flex-direction: column; gap: 1px; min-height: 44px; padding: .4rem .9rem; }
.hdr__tel .btn__k { font-size: .6rem; opacity: .75; }
.hdr__tel::after { bottom: 5px; }
.burger { display: none; }
@media (max-width: 980px) {
  .hdr__bar { gap: 8px; padding: 8px 8px 8px 14px; }
  .hdr__tel { margin-left: auto; }
  .burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: rgba(255,255,255,.12); cursor: pointer; }
  .burger i { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform 1s var(--ease), background-color .4s; }
  .burger[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); background: var(--y); }
  .nav { position: absolute; left: var(--m); right: var(--m); top: calc(100% + 8px); margin: 0; border-radius: 8px; background: rgba(11, 61, 29, .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); padding: 10px; }
  .js .nav { visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .6s var(--ease), visibility 0s .35s; }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .6s var(--ease); }
  .nav ul { flex-direction: column; }
  .nav a { font-size: 1.5rem; letter-spacing: -.03em; padding: 10px 12px; }
  html:not(.js) .nav { position: static; background: none; padding: 0; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .nav a { font-size: .8rem; padding: 4px 6px; }
  html:not(.js) .hdr__bar { flex-wrap: wrap; }
}
@media (max-width: 420px) { .logo__word { font-size: 1rem; } .hdr__tel .btn__k { display: none; } .hdr__tel { padding: .4rem .7rem; } }

/* ---------- preloader (once per session, motion only) ---------- */
.pl { display: none; }
.pl-on .pl { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.pl__half { position: absolute; left: 0; right: 0; height: calc(50% + 40px); background: #ededed; overflow: hidden; will-change: transform; }
.pl__half--t { top: 0; }
.pl__half--b { bottom: 0; }
.pl__in { position: absolute; left: 0; right: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--dg); }
.pl__half--t .pl__in { top: 0; }
.pl__half--b .pl__in { bottom: 0; }
.pl__in svg { width: 54px; height: 46px; }
.pl__in svg path { transform-origin: 50% 100%; transform: scaleY(0); animation: plStripe .7s var(--ease) forwards; }
.pl__in svg path + path { animation-delay: .12s; }
.pl__word { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; clip-path: inset(0 100% 0 0); animation: plWord .8s var(--ease) .25s forwards; }
@keyframes plStripe { to { transform: none; } }
@keyframes plWord { to { clip-path: inset(0 0 0 0); } }

/* ---------- hero (scroll film from stills) ---------- */
.hero { position: relative; background: var(--night); color: #fff; }
.hero__sticky { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.motion .hero { height: 300vh; height: 300svh; }
.motion .hero__sticky { position: sticky; top: 0; }
@media (max-width: 700px) { .motion .hero { height: 240vh; height: 240svh; } }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.motion .hero__ph:not([data-ph="0"]) { opacity: 0; }
html:not(.motion) .hero__ph:not([data-ph="0"]) { display: none; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10,18,12,.55) 0%, rgba(10,18,12,0) 26%, rgba(10,18,12,0) 42%, rgba(10,18,12,.78) 78%, rgba(10,18,12,.92) 100%); }
.hero__titles { position: absolute; left: var(--m); right: var(--m); bottom: clamp(150px, 24vh, 230px); text-align: center; }
.hero__titles .t-seq { max-width: min(14ch, 100%); margin-inline: auto; text-wrap: balance; }
.hero__titles p.t-seq { font-size: clamp(1.25rem, 2.4vw, 2rem); letter-spacing: -.02em; color: var(--y); margin-top: 14px; max-width: none; }
.motion .hero__titles { display: grid; }
.motion .hero__titles .t-seq { grid-area: 1 / 1; align-self: end; font-size: clamp(2.3rem, 5.8vw, 5.4rem); letter-spacing: -.035em; color: #fff; margin: 0 auto; }
.motion .hero__titles .t-seq .ch { opacity: 0; transition: color .25s linear; }
.motion .hero__titles .t-seq .ch.cur { color: var(--y); }
.hero__foot { position: absolute; left: var(--m); right: var(--m); bottom: clamp(28px, 6vh, 56px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hero__sub { max-width: 36ch; font-size: 1rem; color: rgba(255,255,255,.82); }
.hero__act { position: absolute; right: var(--m); top: 50%; color: rgba(255,255,255,.6); display: flex; gap: 0; align-items: baseline; }
.hero__act .odo__of { margin-left: .6em; }
.scrollcue { display: none; }
@media (max-width: 700px) {
  .hero__titles { bottom: 236px; }
  .hero__titles .t-seq { max-width: none; }
  .motion .hero__titles .t-seq { font-size: clamp(2.1rem, 9.6vw, 3rem); }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__foot .btns .btn { flex: 1 1 auto; }
  .hero__act { top: auto; bottom: 250px; display: none; }
  .motion .scrollcue { display: flex; position: absolute; right: var(--m); top: 110px; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .58rem; writing-mode: vertical-rl; transition: opacity .4s; }
  .scrollcue__bar { position: relative; width: 2px; height: 46px; background: rgba(255,255,255,.2); overflow: hidden; border-radius: 2px; }
  .scrollcue__bar i { position: absolute; left: 0; top: 0; width: 2px; height: 14px; background: var(--y); animation: cue 1.6s var(--ease) infinite; }
}
@keyframes cue { 0% { transform: translateY(-14px); } 100% { transform: translateY(46px); } }
.cursorlab { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; color: #fff; font-size: .62rem; opacity: 0; transition: opacity 1.2s var(--ease); white-space: nowrap; }
.cursorlab.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursorlab { display: none; } }

/* odometer */
.odo__col { display: inline-block; height: 1.2em; line-height: 1.2em; overflow: hidden; vertical-align: top; }
.odo__reel { display: flex; flex-direction: column; transition: transform .6s var(--ease); }
.odo__reel > span { height: 1.2em; }
.odo__fixed, .odo__of { line-height: 1.2em; }

/* ---------- dark grid canvas bands ---------- */
.gridcv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro, .cta, .fleet, .danger { position: relative; background: var(--dg); color: #fff; isolation: isolate; }
.intro { background: var(--night); padding: clamp(110px, 16vw, 200px) 0 clamp(120px, 15vw, 210px); }
.intro__in { position: relative; text-align: center; }
.intro__txt { max-width: 760px; margin: 34px auto 30px; display: grid; gap: 16px; font-size: clamp(1.125rem, 1.6vw, 1.4rem); line-height: 1.45; color: rgba(255,255,255,.86); letter-spacing: -.005em; }
.intro .t-si { max-width: 14ch; }

/* ---------- colour sweep ---------- */
.sweep .ch { color: var(--l1); }
.sweep--dark .ch { color: rgba(255,255,255,.22); }
.sweep.in .ch { animation: sweepL .9s var(--ease2) both; animation-delay: var(--d, 0s); }
.sweep--dark.in .ch { animation-name: sweepD; }
@keyframes sweepL { 0% { color: var(--l1); } 40% { color: var(--g); } 100% { color: var(--dg); } }
@keyframes sweepD { 0% { color: rgba(255,255,255,.22); } 40% { color: var(--y); } 100% { color: #fff; } }
html:not(.motion) .sweep .ch { color: inherit; animation: none; }

/* ---------- reveals ---------- */
.motion .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease2), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.motion .rv.in { opacity: 1; transform: none; }

/* ---------- hairline grids with + marks ---------- */
[data-lines] { position: relative; display: grid; margin: clamp(50px, 7vw, 90px) auto 0; padding-inline: var(--m); max-width: 1440px; }
[data-lines]::before, [data-lines]::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--hair) 12%, var(--hair) 88%, transparent); transform-origin: 50% 50%; }
[data-lines]::before { top: 0; }
[data-lines]::after { bottom: 0; }
[data-lines] > * { position: relative; padding: clamp(20px, 2.2vw, 30px); }
[data-lines] > *::before { content: ""; position: absolute; left: 0; top: -30px; bottom: -30px; width: 1px; background: linear-gradient(180deg, transparent, var(--hair) 30px, var(--hair) calc(100% - 30px), transparent); transform-origin: 50% 0; }
[data-lines] > *:last-child::after { content: ""; position: absolute; right: 0; top: -30px; bottom: -30px; width: 1px; background: linear-gradient(180deg, transparent, var(--hair) 30px, var(--hair) calc(100% - 30px), transparent); transform-origin: 50% 0; }
.x { position: absolute; left: -5px; top: -5px; width: 11px; height: 11px; z-index: 1; }
.x::before, .x::after { content: ""; position: absolute; background: var(--dg); opacity: .45; }
.x::before { left: 5px; top: 0; width: 1px; height: 11px; }
.x::after { top: 5px; left: 0; height: 1px; width: 11px; }
.x--r { left: auto; right: -6px; }
.motion [data-lines]::before, .motion [data-lines]::after { transform: scaleX(0); transition: transform 2.5s cubic-bezier(.87,0,.13,1); }
.motion [data-lines] > *::before, .motion [data-lines] > *:last-child::after { transform: scaleY(0); transition: transform 2.5s cubic-bezier(.87,0,.13,1); }
.motion [data-lines] .x { opacity: 0; transition: opacity .8s var(--ease2) 1s; }
.motion [data-lines] > * > :not(.x) { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease2), transform .9s var(--ease); transition-delay: calc(.4s + var(--i, 0) * .08s); }
.motion [data-lines].in::before, .motion [data-lines].in::after { transform: none; }
.motion [data-lines].in > *::before, .motion [data-lines].in > *:last-child::after { transform: none; }
.motion [data-lines].in .x { opacity: 1; }
.motion [data-lines].in > * > :not(.x) { opacity: 1; transform: none; }

/* ---------- history (home) ---------- */
.history { padding: clamp(100px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); }
.hgrid { grid-template-columns: repeat(4, 1fr); }
.hcell__yr { color: var(--mid); margin-bottom: 16px; }
.hcell__fig { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--dirty); }
.hcell__fig img { width: 100%; height: 100%; object-fit: cover; }
.hcell__fig--logo { display: grid; place-items: center; background: #fff; border: 1px solid var(--hair); }
.hcell__fig--logo img { width: 46%; height: auto; }
.hcell__p { margin-top: 16px; font-size: 1rem; line-height: 1.45; }
.stats { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.stats::before { display: none; }
.stat { padding-block: clamp(30px, 4vw, 54px) !important; }
.stat__n { font-size: clamp(3rem, 7vw, 6.2rem); font-weight: 300; letter-spacing: -.06em; line-height: 1; color: var(--g); white-space: nowrap; }
.stat__l { color: var(--mid); margin-top: 14px; }
@media (max-width: 1000px) { .hgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .hgrid, .stats { grid-template-columns: 1fr; }
  [data-lines] > * { border-bottom: 1px solid var(--hair); }
  [data-lines] > *:last-child { border-bottom: 0; }
}

/* ---------- service path cards ---------- */
.services { padding: clamp(60px, 9vw, 130px) 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: clamp(40px, 5vw, 70px); }
.card { background: var(--dirty); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; }
.card__n { color: var(--mid); }
.card__h { font-weight: 400; font-size: clamp(1.4rem, 1.9vw, 1.6rem); letter-spacing: -.03em; line-height: 1.15; margin-top: 30px; hyphens: manual; }
.card__p { color: var(--mid); margin-top: 10px; font-size: .98rem; line-height: 1.45; flex: 1; }
.card__fig { margin-top: 22px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.card__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__fig img { transform: scale(1.05); }
.bar { display: flex; justify-content: center; align-items: center; margin-top: 12px; min-height: 44px; border-radius: 8px; background: #e2e2dc; text-decoration: none; color: var(--dg); transition: background-color .3s var(--ease2), color .3s; }
.bar:hover { background: var(--dg); color: var(--y); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- pinned steps ---------- */
.steps { padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 6vw, 80px); }
.steps__sticky { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 5vw, 70px); }
.odo { font-size: .8rem; color: var(--mid); display: flex; align-items: baseline; margin-bottom: 26px; }
.odo .odo__of { margin-left: .7em; color: var(--l2); }
.steps__list { display: grid; gap: 28px; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; }
.step__n { color: var(--mid); padding-top: .55em; }
.step__h { font-weight: 400; font-size: clamp(1.5rem, 2.5vw, 2.35rem); letter-spacing: -.035em; line-height: 1.08; transition: color .6s var(--ease2); }
.step__p { margin-top: 8px; font-size: 1.05rem; color: var(--mid); transition: color .6s var(--ease2); }
.step__fig { grid-column: 1 / -1; margin-top: 14px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.step__fig img { width: 100%; height: 100%; object-fit: cover; }
.steps__stage { display: none; }
@media (min-width: 900px) {
  .steps__sticky { align-items: start; }
  .steps .step__fig { display: none; }
  .steps__stage { display: block; position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--night); max-height: 78vh; width: 100%; justify-self: end; }
  .steps__ph { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease2); }
  .steps__ph.is-on { opacity: 1; }
  .steps__ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 7s cubic-bezier(.25,.1,.25,1); }
  .steps__ph.is-on img { transform: scale(1.12); }
  html:not(.motion) .steps__ph.is-on img { transform: none; }
  .steps:not(.steps--pin) .steps__stage { display: none; }
  .steps:not(.steps--pin) .step__fig { display: block; }
  .steps:not(.steps--pin) .steps__sticky { grid-template-columns: 1fr; }
  .steps:not(.steps--pin) .steps__list { grid-template-columns: repeat(4, 1fr); gap: 15px; }
  .steps:not(.steps--pin) .step { grid-template-columns: 1fr; }
  .steps:not(.steps--pin) .step__h { font-size: 1.45rem; }
  .steps:not(.steps--pin) .odo { display: none; }
  .motion .steps--pin .steps__pin { height: 290vh; }
  .motion .steps--pin .steps__sticky { position: sticky; top: 0; height: 100vh; align-items: center; margin-top: 0; }
  .motion .steps--pin .step__h, .motion .steps--pin .step__p { color: var(--l2); }
  .motion .steps--pin .step.is-on .step__h { color: var(--dg); }
  .motion .steps--pin .step.is-on .step__p { color: var(--mid); }
}
@media (max-width: 899px) { .steps .odo { display: none; } .steps__sticky { grid-template-columns: 1fr; } }

/* ---------- trust (full-bleed dusk photo) ---------- */
.trust { position: relative; color: #fff; overflow: hidden; background: var(--night); padding: clamp(140px, 18vw, 260px) 0; text-align: center; isolation: isolate; }
.trust__bg { position: absolute; inset: -10% 0; z-index: -1; }
.trust__bg img { width: 100%; height: 100%; object-fit: cover; }
.trust__bg::after { content: ""; position: absolute; inset: 0; background: rgba(8, 16, 10, .66); }
.trust__q { font-weight: 400; font-size: clamp(2rem, 4.3vw, 3.9rem); line-height: 1.05; letter-spacing: -.04em; max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.trust__p { max-width: 52ch; margin: 24px auto 0; font-size: 1.125rem; color: rgba(255,255,255,.82); }
.ft-chip { display: inline-grid; place-items: center; background: #fff; border-radius: 12px; padding: 8px; margin-top: 22px; }
.ft-chip img { width: 56px; height: auto; }
.ft-chip--lg { margin-top: 34px; padding: 12px; }
.ft-chip--lg img { width: 88px; }

/* ---------- facebook feed ---------- */
.fbsec { padding: clamp(90px, 11vw, 160px) 0; }
.fbwrap { margin-top: clamp(40px, 5vw, 64px); }
.fb-fallback { text-align: center; }
.fb-feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 15px; }
.fb-post { background: var(--dirty); border-radius: 24px; overflow: hidden; }
.fb-post__link { display: flex; flex-direction: column; height: 100%; padding: 12px 12px 22px; text-decoration: none; color: var(--ink); }
.fb-post__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #e2e2dc; transition: transform 1.2s var(--ease); }
.fb-post__link:hover .fb-post__img { transform: scale(1.03); }
.fb-post__date { font: 600 .7rem/1 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); margin: 18px 10px 0; }
.fb-post__text { margin: 10px 10px 0; font-size: 1rem; line-height: 1.45; }
.fbsec .center { margin-top: 34px; }
.motion .fb-post { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease2), transform .9s var(--ease); }
.motion .fb-feed.in .fb-post { opacity: 1; transform: none; }
.motion .fb-feed.in .fb-post:nth-child(2) { transition-delay: .08s; }
.motion .fb-feed.in .fb-post:nth-child(3) { transition-delay: .16s; }
.motion .fb-feed.in .fb-post:nth-child(4) { transition-delay: .24s; }

/* ---------- CTA band + footer ---------- */
.cta { padding: clamp(120px, 14vw, 200px) 0 clamp(80px, 9vw, 120px); text-align: center; }
.cta__in { position: relative; padding-inline: var(--m); }
.cta .t-si { max-width: 13ch; }
.cta__p { max-width: 46ch; margin: 24px auto 30px; font-size: 1.125rem; color: rgba(255,255,255,.82); }
.cta .btns { justify-content: center; }
.ftr { background: var(--dg); color: #fff; padding: 30px var(--m) 30px; border-top: 1px solid var(--hair-d); }
.ftr__top { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 30px 0 50px; }
.ftr__sub { margin-top: 14px; color: rgba(255,255,255,.7); font-size: .95rem; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(30px, 6vw, 90px); }
.ftr__lab { color: var(--y); margin-bottom: 14px; }
.ftr__cols li { font-size: .9rem; margin: 7px 0; color: rgba(255,255,255,.82); }
.ftr__cols a { text-decoration: none; }
.ftr__cols a:hover { color: var(--y); }
.ftr__copy { max-width: 1440px; margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--hair-d); color: rgba(255,255,255,.6); font-weight: 400; font-size: .64rem; }
@media (max-width: 700px) { .ftr__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- sub-page hero ---------- */
.phero { position: relative; padding: clamp(170px, 18vw, 250px) 0 clamp(70px, 8vw, 120px); text-align: center; overflow: hidden; }
.phero__in { position: relative; }
.phero .lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

/* ---------- alternating notched rows ---------- */
.rows { padding: clamp(60px, 8vw, 120px) 0; }
.rows--tight { padding-top: 20px; }
.rows .wrap + .wrap { margin-top: clamp(40px, 5vw, 70px); }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 90px); align-items: center; padding: clamp(30px, 4vw, 60px) 0; }
.row--rev { grid-template-columns: 7fr 5fr; }
.row--rev .row__txt { order: 2; }
.row__k { color: var(--mid); margin-bottom: 16px; }
.row__h { font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.8rem); letter-spacing: -.04em; line-height: 1.05; hyphens: manual; }
.row__txt p:not(.row__k) { margin-top: 16px; font-size: 1.08rem; color: var(--mid); max-width: 48ch; }
.row__txt .btn { margin-top: 6px; }
.row__fig { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--dirty); }
.row__fig img { width: 100%; height: 112%; object-fit: cover; }
.row__logo { position: absolute; inset: 0; display: grid; place-items: center; background: var(--dirty); }
.row__logo img { width: 34%; height: auto; mix-blend-mode: multiply; }
@media (max-width: 800px) {
  .row, .row--rev { grid-template-columns: 1fr; gap: 24px; }
  .row--rev .row__txt { order: 0; }
}

/* why / guide / size grids */
.why { padding: clamp(70px, 8vw, 120px) 0 clamp(90px, 10vw, 150px); }
.wgrid { grid-template-columns: repeat(3, 1fr); }
.wgrid--4 { grid-template-columns: repeat(4, 1fr); }
.wcell__n { color: var(--mid); }
.wcell__h { font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.03em; line-height: 1.12; margin: 34px 0 12px; }
.wcell p:not(.wcell__n) { color: var(--mid); }
.gsize { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 300; letter-spacing: -.05em; color: var(--g); line-height: 1; margin: 10px 0 16px; white-space: nowrap; }
.sub-h { font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.035em; text-align: center; margin-top: clamp(70px, 9vw, 120px); }
@media (max-width: 1000px) { .wgrid, .wgrid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wgrid, .wgrid--4 { grid-template-columns: 1fr; } }

/* fleet gallery (om oss) */
.fleet { padding: clamp(130px, 14vw, 200px) 0; }
.fleet__in { position: relative; text-align: center; }
.fleet .t-si { max-width: 16ch; }
.gal { margin-top: clamp(40px, 5vw, 70px); columns: 3 280px; column-gap: 15px; text-align: left; }
.gal__it { break-inside: avoid; margin-bottom: 15px; border-radius: 12px; overflow: hidden; }
.gal__it img { width: 100%; }

/* people */
.people { padding: clamp(40px, 6vw, 90px) 0 clamp(100px, 12vw, 160px); }
.persons { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 15px; margin-top: clamp(40px, 5vw, 60px); }
.person { display: flex; gap: 20px; align-items: center; background: var(--dirty); border-radius: 24px; padding: 24px; }
.person__i { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--g); color: #fff; font-size: 1.5rem; letter-spacing: -.03em; }
.person__n { font-weight: 450; font-size: 1.3rem; letter-spacing: -.02em; }
.person__r { color: var(--mid); margin-top: 6px; }
.person__t { display: inline-block; margin-top: 10px; font-size: 1.2rem; color: var(--g); font-weight: 500; }
@media (max-width: 700px) { .persons { grid-template-columns: 1fr; } }

/* containerutleie */
.sizes { padding: clamp(40px, 6vw, 90px) 0 clamp(80px, 9vw, 130px); }
.sizecards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: clamp(40px, 5vw, 70px); }
.sizecard { position: relative; background: var(--dg); color: #fff; border-radius: 24px; padding: clamp(28px, 3.4vw, 50px); min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background-image: radial-gradient(120% 90% at 85% 100%, rgba(18,99,47,.9), transparent 60%); }
.sizecard__n { font-size: clamp(3.6rem, 8vw, 7.5rem); font-weight: 300; letter-spacing: -.06em; line-height: .95; white-space: nowrap; }
.sizecard__n span { font-size: .4em; letter-spacing: -.02em; color: var(--y); }
@media (max-width: 700px) { .sizecards { grid-template-columns: 1fr; } .sizecard { min-height: 220px; } }
.price { padding: clamp(40px, 6vw, 90px) 0 clamp(110px, 12vw, 170px); text-align: center; }

/* kildesortering */
.danger { padding: clamp(130px, 14vw, 200px) 0; }
.danger__in { position: relative; text-align: center; }
.danger__in p:not(.label):not(.lead) { max-width: 60ch; margin: 18px auto 0; color: rgba(255,255,255,.78); }
.guide { padding: clamp(90px, 11vw, 150px) 0 clamp(40px, 6vw, 80px); }
.ggrid { grid-template-columns: repeat(4, 1fr); }
.ggrid > * { border-bottom: 1px solid var(--hair); }
.gcell__i { color: var(--mid); }
.gcell__h { font-weight: 450; font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.15; margin: 22px 0 10px; hyphens: manual; }
.gcell p { font-size: .95rem; line-height: 1.45; }
.gcell__not, .gcell__res { margin-top: 12px; }
.gcell__not span, .gcell__res span { display: block; font-size: .6rem; color: var(--mid); margin-bottom: 4px; }
.gcell__res { color: var(--g); font-weight: 500; }
@media (max-width: 1100px) { .ggrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .ggrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ggrid { grid-template-columns: 1fr; } }

/* kontakt */
.contact { padding: 0 0 clamp(100px, 12vw, 160px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.bigtel { display: block; text-decoration: none; font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 300; letter-spacing: -.06em; line-height: 1; color: var(--g); }
.bigtel .mono { display: block; font-size: .72rem; letter-spacing: .14em; color: var(--mid); margin-bottom: 14px; }
.dots { margin-top: 36px; display: grid; gap: 14px; }
.dots li { position: relative; padding-left: 22px; font-size: 1.05rem; }
.dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 3px rgba(245,207,27,.25); }
.dots .mono { display: block; color: var(--mid); font-size: .62rem; margin-bottom: 2px; }
.contact__fig { margin-top: 40px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.contact__fig img { width: 100%; height: 112%; object-fit: cover; }
.form { position: relative; background: var(--dg); color: #fff; border-radius: 24px; padding: clamp(26px, 3.4vw, 46px); box-shadow: 0 40px 80px -30px rgba(11,61,29,.45); scroll-margin-top: 110px; }
.form__h { font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; margin-bottom: 18px; }
.form__status { padding: 12px 14px; border-radius: 8px; background: var(--y); color: var(--dg); margin-bottom: 16px; }
.f { margin-top: 18px; }
.f--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f label { display: block; font: 600 .64rem/1.2 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 6px; }
.f input, .f select, .f textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); border-radius: 0; padding: 10px 0; color: #fff; font-size: 1.05rem; transition: border-color .3s; }
.f select option { color: var(--dg); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--y); }
.f input[type="date"] { color-scheme: dark; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 28px; }
.form__note { margin-top: 16px; font-size: .9rem; color: rgba(255,255,255,.72); }
.form__note a { color: var(--y); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .f--2 { grid-template-columns: 1fr; } }

/* parallax drift images */
.drift { will-change: transform; }

/* ---------- 3D stages (design 4-3d) ---------- */
.truck-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.truck-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease2); touch-action: pan-y; }
.truck-canvas.on { opacity: 1; }
.truck-canvas canvas { display: block; width: 100% !important; height: 100% !important; touch-action: pan-y; }
.stage__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .58rem; background: rgba(11,61,29,.55); padding: 6px 10px; border-radius: 6px; opacity: 0; transition: opacity .6s; white-space: nowrap; pointer-events: none; }
.is-live .stage__hint { opacity: 1; }
.hero__media--3d { background: linear-gradient(180deg, #2a2340 0%, #6b5a8e 38%, #f2a65a 72%, #1a120c 100%); }
.hero--3d .hero__shade { background: linear-gradient(180deg, rgba(10,18,12,.45) 0%, rgba(10,18,12,0) 22%, rgba(10,18,12,0) 50%, rgba(10,18,12,.7) 82%, rgba(10,18,12,.9) 100%); pointer-events: none; }
.steps__stage--3d { background: #f0f0ec; }
.steps__stage--3d .stage__hint { color: var(--dg); background: rgba(255,255,255,.8); }
.steps--3d .step__fig { display: none !important; }
@media (max-width: 899px) {
  .steps--3d .steps__stage--3d { display: block; position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; margin-top: 30px; }
}
.sizecards--3d { grid-template-columns: 1fr 1fr 1.2fr; }
.mini3d { position: relative; border-radius: 24px; overflow: hidden; background: var(--dirty); min-height: 300px; }
.mini3d .stage__hint { color: var(--dg); background: rgba(255,255,255,.8); }
@media (max-width: 1000px) { .sizecards--3d { grid-template-columns: 1fr 1fr; } .mini3d { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }
@media (max-width: 700px) { .sizecards--3d { grid-template-columns: 1fr; } .mini3d { aspect-ratio: 1 / 1; } }

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