:root {
  --ink: #111111;
  --ink-2: #1a1a1a;
  --paper: #f3f1ec;
  --white: #ffffff;
  --red: #b10e24;
  --red-bright: #d3132c;
  --grey: #74736f;
  --line: rgba(17, 17, 17, 0.16);
  --shell: min(1440px, calc(100vw - 96px));
  --display: "Bahnschrift", var(--font-display, "Arial Narrow"), "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Segoe UI", var(--font-geist-sans, Inter), Inter, Arial, sans-serif;
  --mono: "Cascadia Mono", ui-monospace, "Consolas", "Segoe UI Mono", "Roboto Mono", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; } /* flagship guard: no page-level horizontal scroll from decorative bleeds/scrollers */
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #f3b21b;
  outline-offset: 3px;
}
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 12px 18px; color: white; background: var(--red); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.utility-bar {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  color: #d6d3cd;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.utility-track { display: flex; align-items: center; gap: 12px; }
.utility-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--red-bright); }
.utility-bar > a:hover { color: white; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 0 48px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(17,17,17,.12);
  backdrop-filter: blur(18px);
  transition: min-height .3s ease, box-shadow .3s ease, background .35s ease, border-color .35s ease;
}
.site-header.scrolled { min-height: 68px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.brand-dark { display: none; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(20px, 2.5vw, 42px); }
.desktop-nav a { position: relative; font-size: 14px; font-weight: 600; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--red); transition: right .25s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: clamp(14px, 2vw, 30px); }
.icon-button { width: 43px; height: 43px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.icon-button svg { width: 20px; height: 20px; }
.header-link { position: relative; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.header-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--red); transition: right .25s ease; }
.header-link:hover::after { right: 0; }
.brand:focus-visible, .header-link:focus-visible, .page-mobile-menu nav a:focus-visible, .site-footer a:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; }
.quote-count { min-width: 19px; height: 19px; padding: 0 4px; display: grid; place-items: center; border-radius: 20px; color: white; background: var(--red); font-size: 10px; }
.header-cta { height: 43px; display: flex; align-items: center; padding: 0 20px; color: white; background: var(--ink); font-size: 12px; font-weight: 700; transition: background .2s ease; }
.header-cta:hover { background: var(--red); }

/* --- Premium hamburger: 3 lines morph to X --- */
.menu-toggle { position: relative; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: transform .3s cubic-bezier(.23,1,.32,1), color .25s ease; }
.menu-toggle:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
/* open state: the X spins 90° on hover (an X maps onto itself, so it reads as a flourish) */
.menu-toggle[aria-expanded="true"]:hover { transform: rotate(90deg); }
.menu-toggle span { width: 24px; height: 2px; background: currentColor; transform-origin: center; transition: transform .35s cubic-bezier(.23,1,.32,1), opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Full-screen ink menu (all viewports) --- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  display: flex; flex-direction: column;
  padding: 0; color: white; background: var(--ink);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(120% 90% at 80% 10%, black, transparent 70%);
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .45s ease; }
.menu-inner {
  position: relative; z-index: 1; width: var(--shell); margin-inline: auto;
  flex: 1; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(110px, 16vh, 150px) 0 0; overflow-y: auto;
}
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: baseline; gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(8px, 1.4vh, 14px) 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.23,1,.32,1), transform .7s cubic-bezier(.23,1,.32,1), color .25s ease, padding .3s ease;
}
.menu-links a { position: relative; }
/* red blade tick that slides in on hover, in the space the link vacates */
.menu-links a::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 3px; height: 24px;
  background: var(--red-bright);
  clip-path: polygon(50% 0%, 100% 12%, 100% 88%, 50% 100%, 0% 88%, 0% 12%);
  opacity: 0; transform: translate(-8px, -50%);
  transition: opacity .25s ease, transform .25s ease;
}
.menu-links a:hover::before, .menu-links a:focus-visible::before { opacity: 1; transform: translate(0, -50%); }
.menu-links a i { color: var(--red-bright); font-family: var(--mono); font-size: 11px; font-style: normal; letter-spacing: .14em; }
.menu-links a span {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 6.4vh, 66px); line-height: 1;
  letter-spacing: -.03em; text-transform: uppercase;
  transition: transform .3s cubic-bezier(.23,1,.32,1);
}
.menu-links a:hover { color: #fff; padding-left: 12px; }
.menu-links a:hover span { transform: translateX(4px); }
.menu-links a:hover i { color: #fff; }
.mobile-menu.open .menu-links a { opacity: 1; transform: none; }
.mobile-menu.open .menu-links a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open .menu-links a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open .menu-links a:nth-child(3) { transition-delay: .2s; }
.mobile-menu.open .menu-links a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.open .menu-links a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.open .menu-links a:nth-child(6) { transition-delay: .38s; }
.mobile-menu.open .menu-links a:nth-child(7) { transition-delay: .44s; }
.menu-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 0 26px; opacity: 0;
  transition: opacity .6s ease;
}
.mobile-menu.open .menu-foot { opacity: 1; transition-delay: .5s; }
.menu-quote {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.28); color: white; background: transparent;
  font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}
.menu-quote:hover { border-color: white; background: rgba(255,255,255,.06); }
.menu-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: #a5a29c; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.menu-contact a:hover { color: white; }

/* header theming while the menu is open */
/* Scroll-lock (body overflow:hidden) breaks position:sticky — pin the header
   fixed while the menu is open so logo/links/X stay on screen at any scroll. */
body.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; background: var(--ink); border-bottom-color: rgba(255,255,255,.14); backdrop-filter: none; box-shadow: none; }
body.menu-open .zone-rail, body.menu-open .seal-progress { opacity: 0; pointer-events: none; }
body.menu-open .brand-light { display: none; }
body.menu-open .brand-dark { display: block; }
body.menu-open .site-header .logo-lockup { --ll-ink: #fff; }
body.menu-open .header-link { color: white; }
body.menu-open .menu-toggle { color: white; }

.hero {
  position: relative;
  min-height: 620px;
  height: calc(100svh - 112px);
  max-height: 840px;
  overflow: hidden;
  color: white;
  background: #0c0c0c;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(8,8,8,.98) 0%, rgba(8,8,8,.84) 32%, rgba(8,8,8,.18) 64%, rgba(8,8,8,.02) 100%), linear-gradient(0deg, rgba(0,0,0,.56), transparent 55%), url("assets/hero-safetech.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0 49.9%, rgba(255,255,255,.07) 50%, transparent 50.1%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.hero-content { position: relative; z-index: 2; height: calc(100% - 96px); display: grid; grid-template-columns: 1fr 370px; align-items: center; gap: 9vw; padding-top: 16px; }
.hero-copy { max-width: 800px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 2px; background: var(--red-bright); }
.eyebrow-dark { color: #595854; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 7.8vw, 128px);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.hero h1 em { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.82); font-style: normal; }
.hero-lead { max-width: 660px; margin: 26px 0 0; color: #d9d7d2; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 24px; border: 1px solid transparent; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; height: 20px; }
.button-primary { color: white; background: var(--red); }
.button-primary:hover { background: var(--red-bright); }
.button-ghost { color: white; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.button-ghost:hover { background: white; color: var(--ink); }
.button-dark { color: white; background: var(--ink); }
.button-light { color: var(--ink); background: white; }

.control-card { align-self: center; padding: 28px; background: rgba(17,17,17,.76); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(20px); }
.control-card-top { display: flex; justify-content: space-between; color: #aaa8a3; font-family: var(--display); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.live-indicator { display: flex; align-items: center; gap: 7px; }
.live-indicator i { width: 6px; height: 6px; border-radius: 50%; background: #66c47b; box-shadow: 0 0 0 5px rgba(102,196,123,.12); }
.control-card h2 { margin: 20px 0 18px; font-family: var(--display); font-size: 32px; line-height: 1.08; text-transform: uppercase; }
.control-card ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.control-card li { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.15); color: #d8d6d1; font-size: 13px; }
.control-card li span { color: #807e79; font-size: 10px; }
.control-card > a { display: flex; justify-content: space-between; margin-top: 20px; font-size: 12px; font-weight: 700; }
.control-card > a:hover { color: #ff8d9d; }
.hero-footer { position: absolute; z-index: 2; left: 50%; bottom: 0; height: 96px; transform: translateX(-50%); display: grid; grid-template-columns: 190px 260px 190px 1fr; align-items: center; gap: 36px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-family: var(--display); font-size: 16px; letter-spacing: .02em; }
.hero-stat span { color: #989691; font-size: 11px; }
.scroll-cue { justify-self: end; display: flex; align-items: center; gap: 12px; color: #aaa8a3; font-family: var(--display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue span { position: relative; width: 32px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; border-radius: 3px; background: white; transform: translateX(-50%); animation: scrollDot 2s infinite; }
@keyframes scrollDot { 50% { transform: translate(-50%, 16px); opacity: .2; } }

.section-pad { padding: 88px 0; }
.section-heading { margin-bottom: 40px; }
.section-heading h2, .solutions-intro h2, .rental-copy h2, .about-copy h2, .contact-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(48px, 4.9vw, 78px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.section-heading > p:last-child { max-width: 560px; color: var(--grey); font-size: 18px; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.split-heading > p, .split-heading > a { max-width: 380px; margin: 0 0 8px; color: var(--grey); font-size: 17px; }

.portal-cta { color: white; background: #141414; }
.portal-card { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 360px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(135deg, rgba(177,14,36,.98), rgba(177,14,36,.72) 42%, rgba(255,255,255,.045) 42%); box-shadow: 0 35px 120px rgba(0,0,0,.28); }
.portal-copy { align-self: center; padding: 44px 48px; }
.portal-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(50px, 4.9vw, 80px); line-height: .88; letter-spacing: -.05em; text-transform: uppercase; }
.portal-copy > p:last-child { max-width: 620px; margin-top: 22px; color: rgba(255,255,255,.76); font-size: 17px; }
.portal-actions { display: grid; align-self: center; gap: 12px; padding: 44px 48px; }
.portal-action { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 19px 26px; color: white; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.portal-action:hover { transform: translateX(8px); background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.32); }
.portal-action.primary { color: var(--ink); background: white; }
.portal-action small { color: inherit; opacity: .56; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.portal-action strong { grid-column: 1; font-family: var(--display); font-size: clamp(26px, 2.7vw, 40px); line-height: .95; text-transform: uppercase; }
.portal-action span { grid-row: span 2; align-self: center; font-size: 24px; }

/* Utlogging må være en POST, så dette kortet er et <form> og ikke en <a>.
   Formen må droppe foreldrenes to-kolonners rutenett — ellers havner knappen i
   den smale auto-kolonnen — og knappen overtar rutenettet i stedet. */
.portal-action-logout { display: block; padding: 0; }
.portal-action-logout small { display: block; padding: 19px 26px 0; }
.portal-action-logout button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 20px;
  width: 100%;
  padding: 0 26px 19px;
  color: inherit;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}
.portal-action-logout button strong { grid-column: 1; font-family: var(--display); font-size: clamp(26px, 2.7vw, 40px); line-height: .95; text-transform: uppercase; }
.portal-action-logout button span { grid-column: 2; font-size: 24px; }

/* Kontobrikke i den statiske forsidens header. */
.header-account { display: inline-flex; align-items: center; gap: 9px; max-width: 210px; }
.header-account::after { display: none; }
.header-account-initials {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.header-account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .header-account-name { display: none; } }

.project-finder { padding: 130px 0; }
.finder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.finder-card {
  position: relative;
  min-width: 0;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: #e7e4de;
  transition: transform .3s ease, box-shadow .3s ease, border-color .25s ease;
  cursor: pointer;
  touch-action: manipulation;
}
.finder-card:hover { z-index: 2; transform: translateY(-8px); border-color: rgba(17,17,17,.24); box-shadow: 0 30px 65px rgba(20,20,20,.13); }
.finder-card:focus-visible { z-index: 3; outline: 3px solid var(--red-bright); outline-offset: 3px; }
.finder-card-dark { color: white; background: var(--ink); border-color: var(--ink); }
.finder-card-red { color: white; background: var(--red); border-color: var(--red); }
.finder-card-dark:hover, .finder-card-red:hover { border-color: rgba(255,255,255,.46); }
.finder-number { align-self: flex-end; color: #77736d; font-family: var(--display); font-size: 11px; letter-spacing: .12em; }
.finder-card-dark .finder-number, .finder-card-red .finder-number { color: rgba(255,255,255,.52); }
.finder-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-top: 40px; border: 1px solid currentColor; border-radius: 5px; }
.finder-icon svg { width: 27px; height: 27px; }
.finder-card h3 { margin: auto 0 12px; font-family: var(--display); font-size: clamp(24px, 2vw, 31px); line-height: 1; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.finder-card-guidance h3 { font-size: clamp(20px, 1.55vw, 25px); overflow-wrap: normal; word-break: normal; }
.finder-card-guidance h3 span { display: block; }
.finder-card p { max-width: 380px; margin: 0 0 27px; color: #6c6964; font-size: 14px; line-height: 1.6; }
.finder-card-dark p, .finder-card-red p { color: rgba(255,255,255,.72); }
.text-link { display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.text-link b { transition: transform .22s ease; }
.finder-card:hover .text-link b, .finder-card:focus-visible .text-link b { transform: translate(2px,-2px); }

.products { background: var(--paper); }
.product-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.filter-tabs { display: flex; gap: 28px; overflow-x: auto; }
.filter-tab { position: relative; padding: 0 0 16px; border: 0; color: #77746f; background: none; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.filter-tab.active { color: var(--ink); }
.filter-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); }
.product-search { display: flex; align-items: center; gap: 10px; padding: 0 0 16px; border: 0; color: #6a6863; background: none; font-size: 12px; cursor: pointer; }
.product-search svg { width: 17px; height: 17px; }
.product-toolbar-note { margin: 0; padding-bottom: 16px; color: #77746f; font-family: var(--display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 8px; transition: opacity .25s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(17,17,17,.38); box-shadow: 0 24px 60px rgba(17,17,17,.12); }
.product-card.is-hidden { display: none; }
.product-visual { position: relative; aspect-ratio: 1 / .7; display: grid; place-items: center; overflow: hidden; background: white; border-bottom: 1px solid rgba(17,17,17,.08); }
.product-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(177,14,36,.05), transparent 48%); }
.product-visual img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .45s cubic-bezier(.2,.8,.2,1); mix-blend-mode: multiply; }
.product-card:hover .product-visual img { transform: scale(1.05); }
.product-badge { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 6px 9px; color: white; background: var(--red); border-radius: 4px; font-family: var(--display); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.product-body { display: flex; flex-direction: column; flex: 1; gap: 7px; padding: 12px 15px 14px; }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: #8a8781; font-family: var(--display); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.product-sku { font-family: var(--mono); font-size: 10px; letter-spacing: .03em; text-transform: none; white-space: nowrap; }
.product-card h3 { margin: 0; font-family: var(--display); font-size: 19px; line-height: 1.12; color: var(--ink); }
.product-card:hover h3 { color: var(--red); }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.product-price { color: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-price small { margin-left: 3px; color: #8a8781; font-family: var(--body); font-size: 10px; font-weight: 400; }
.product-stock { display: inline-flex; align-items: center; gap: 6px; color: #6d6a64; font-size: 10.5px; white-space: nowrap; }
.product-stock i { width: 7px; height: 7px; border-radius: 50%; background: var(--stock, #9a968f); }
.products-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.products-footer p { margin: 0; font-family: var(--display); font-size: 22px; text-transform: uppercase; }

.solutions { position: relative; overflow: hidden; color: white; background: var(--ink); }
.solutions::before { content: "SAFE"; position: absolute; right: -2vw; top: -6vw; color: rgba(255,255,255,.025); font-family: var(--display); font-size: 30vw; font-weight: 700; line-height: 1; }
.solutions .shell { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 10vw; }
.solutions-intro { position: sticky; top: 120px; align-self: start; }
.solutions-intro h2 { font-size: clamp(50px, 4.5vw, 72px); }
.solutions-intro > p:last-child { max-width: 460px; margin-top: 24px; color: #96938d; font-size: 17px; }
.solution-list { border-top: 1px solid rgba(255,255,255,.18); }
.solution-row { display: grid; grid-template-columns: 50px 1fr 1.2fr 44px; align-items: center; gap: 24px; min-height: 116px; color: white; border-bottom: 1px solid rgba(255,255,255,.18); transition: padding .3s ease, background .3s ease; }
.solution-row:hover { padding-inline: 18px; background: rgba(255,255,255,.04); }
.solution-index { color: #77736d; font-family: var(--display); font-size: 11px; }
.solution-row h3 { margin: 0; font-family: var(--display); font-size: 31px; text-transform: uppercase; }
.solution-row p { margin: 0; color: #96938d; font-size: 14px; }
.solution-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: white; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .25s ease; }
.solution-arrow svg { width: 18px; height: 18px; }
.solution-row:hover .solution-arrow, .solution-row:focus-visible .solution-arrow { background: var(--red); border-color: var(--red); transform: translate(2px, -2px); }

/* Zone bridge — System (ink) hands over to Utleie (#151515): a red line draws
   down to a hex seal + mono label while the background blends the two inks. */
.zone-bridge { display: grid; justify-items: center; gap: 14px; padding: 62px 24px 56px; background: linear-gradient(var(--ink), #151515); }
.zone-bridge-line { width: 2px; height: 72px; background: var(--red-bright); transform: scaleY(0); transform-origin: top center; transition: transform .9s cubic-bezier(.23,1,.32,1) .1s; }
.zone-bridge-hex { width: 15px; height: 17px; color: var(--red-bright); opacity: 0; transition: opacity .5s ease .7s; }
.zone-bridge-hex path { stroke: currentColor; stroke-width: 2; fill: none; }
.zone-bridge-label { color: #96938d; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .6s ease .82s, transform .6s cubic-bezier(.23,1,.32,1) .82s; }
.zone-bridge.visible .zone-bridge-line { transform: none; }
.zone-bridge.visible .zone-bridge-hex { opacity: 1; }
.zone-bridge.visible .zone-bridge-label { opacity: 1; transform: none; }
html:not(.js) .zone-bridge-line { transform: none; }
html:not(.js) .zone-bridge-hex, html:not(.js) .zone-bridge-label { opacity: 1; transform: none; }

.rental { min-height: 600px; display: grid; grid-template-columns: 1fr 1fr; color: white; background: #151515; }
.rental-visual { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px); background: #e9e6df; }
.rental-lines { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 38%, rgba(177,14,36,.15) 38.1% 38.3%, transparent 38.4%), repeating-linear-gradient(90deg, transparent 0 79px, rgba(0,0,0,.06) 80px); }
.rental-visual img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid rgba(17,17,17,.16); box-shadow: 28px 42px 70px rgba(0,0,0,.18); }
.rental-copy { align-self: center; max-width: 700px; padding: 48px 6vw; }
.rental-copy h2 { font-size: clamp(42px, 4.2vw, 64px); }
.rental-copy > p:nth-of-type(2) { max-width: 600px; margin: 22px 0; color: #aaa7a1; font-size: 17px; }
.rental-points { display: grid; gap: 0; margin: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.18); }
.rental-point { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.rental-point i { margin-top: 4px; color: var(--red-bright); font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: .12em; }
.rental-point b { display: block; font-family: var(--display); font-size: 15px; letter-spacing: .05em; text-transform: uppercase; }
.rental-point p { margin: 5px 0 0; max-width: 460px; color: #aaa7a1; font-size: 13.5px; line-height: 1.55; }
.rental-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.rental-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: white; border-bottom: 1px solid rgba(255,255,255,.4); font-size: 13px; font-weight: 700; transition: color .2s ease, border-color .2s ease; }
.rental-link:hover { color: #ff8d9d; border-color: currentColor; }
.rental-chip {
  position: absolute; z-index: 2;
  left: calc(clamp(28px, 4vw, 56px) + 14px); bottom: calc(clamp(28px, 4vw, 56px) + 14px);
  padding: 7px 11px; color: white; background: rgba(17,17,17,.88);
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}

.courses { background: #e7e3dc; }
.course-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.featured-course { min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; color: white; background: var(--red); }
.course-topline { display: flex; justify-content: space-between; font-family: var(--display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.featured-course h3 { max-width: 600px; margin: 8px 0 16px; font-family: var(--display); font-size: clamp(40px, 3.4vw, 56px); line-height: .92; text-transform: uppercase; }
.featured-course p { max-width: 530px; color: rgba(255,255,255,.76); }
.course-kicker { margin: 0; font-family: var(--display); font-size: 11px; letter-spacing: .14em; }
.course-bottom { display: flex; justify-content: space-between; align-items: end; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.35); }
.course-bottom small, .course-bottom strong { display: block; }
.course-bottom small { opacity: .65; }
.course-bottom strong { font-family: var(--display); font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.course-bottom button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 0 7px; border: 0; border-bottom: 1px solid rgba(255,255,255,.65); color: white; background: none; font-weight: 700; cursor: pointer; }
.course-list { display: grid; border: 1px solid var(--line); border-bottom: 0; }
.course-item { display: grid; grid-template-columns: 105px 1.2fr 1fr 120px 48px; align-items: center; gap: 20px; padding: 14px 26px; background: var(--paper); border-bottom: 1px solid var(--line); transition: background .25s ease; }
.course-item:hover { background: #efebe4; }
.course-item > div { display: flex; flex-direction: column; }
.course-item span { color: var(--red); font-family: var(--display); font-size: 11px; }
.course-item small { color: #85827c; font-size: 10px; }
.course-item h3 { margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.course-item p { margin: 0; color: #77746f; font-size: 13px; }
.course-item strong { font-family: var(--mono); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.course-item button { width: 44px; height: 44px; border: 1px solid var(--line); background: none; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.course-item button:hover { color: white; background: var(--red); border-color: var(--red); }
.courses-heading-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 380px; margin: 0 0 8px; }
.courses-heading-side p { margin: 0; color: var(--grey); font-size: 17px; }
.courses-all-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); border-bottom: 2px solid var(--red); font-size: 13px; font-weight: 700; }
.courses-all-link:hover { color: var(--red); }
.courses-all-link span { transition: transform .25s ease; }
.courses-all-link:hover span { transform: translateX(4px); }

.knowledge { color: white; background: var(--ink); }
.knowledge .split-heading > a { color: white; font-size: 13px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.45); }
.article-grid { display: grid; grid-template-columns: 1.35fr .825fr .825fr; gap: 14px; }
.article-card { display: flex; flex-direction: column; min-width: 0; background: #202020; transition: transform .3s ease; }
.article-card:hover { transform: translateY(-7px); }
.article-art { position: relative; min-height: 190px; overflow: hidden; background: #d8d5ce; }
.article-card-main .article-art { min-height: 245px; }
.article-tag { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 7px 9px; color: var(--ink); background: white; font-family: var(--display); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.article-copy { display: flex; flex-direction: column; flex: 1; min-height: 150px; padding: 20px; }
.article-copy p { margin: 0 0 12px; color: #8e8b85; font-family: var(--display); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.article-copy h3 { margin: 0; font-family: var(--display); font-size: 23px; line-height: 1.07; text-transform: uppercase; }
.article-card-main .article-copy h3 { font-size: 32px; }
.article-copy span { margin-top: auto; padding-top: 14px; color: #d7d4ce; font-size: 11px; font-weight: 700; }
.asbestos-art { background: #c4c0b8; }
.fiber { position: absolute; width: 520px; height: 20px; border: 2px solid #474640; border-color: #474640 transparent transparent; border-radius: 50%; opacity: .5; }
.fiber-1 { top: 66px; left: -50px; transform: rotate(20deg); }
.fiber-2 { top: 140px; left: 100px; transform: rotate(-24deg); }
.fiber-3 { top: 208px; left: -20px; transform: rotate(38deg); }
.mask-art { display: grid; place-items: center; background: var(--red); }
.mask-art svg { width: 72%; max-height: 165px; color: rgba(255,255,255,.72); stroke-width: 2; }
.rules-art { display: grid; place-items: center; background: #e8e5df; }
.doc-lines { width: 48%; display: grid; gap: 14px; }
.doc-lines i { height: 5px; background: #aaa7a1; }
.doc-lines i:nth-child(2) { width: 72%; }
.doc-lines i:nth-child(4) { width: 85%; }
.checkmark { position: absolute; right: 15%; bottom: 18%; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--red); font-size: 30px; }

.about { min-height: 640px; display: grid; grid-template-columns: 1fr 1fr; color: white; background: var(--red); }
.about-copy { align-self: center; max-width: 760px; padding: 64px 6vw; }
.about-copy > p:nth-of-type(2) { max-width: 620px; margin: 24px 0; color: rgba(255,255,255,.75); font-size: 17px; }
.about-map { position: relative; display: grid; place-items: center; overflow: hidden; background: #191919; }
.map-grid { position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 55px 55px; }
.map-stage { position: relative; width: min(70%, 460px); aspect-ratio: 348 / 379; }
.norway-line { position: absolute; inset: 0; color: #d8d5ce; filter: drop-shadow(0 30px 44px rgba(0,0,0,.38)); }
.norway-line svg { display: block; width: 100%; height: 100%; }
.norway-line path { fill: rgba(255,255,255,.03); stroke: rgba(222,220,214,.8); stroke-width: 1; stroke-linejoin: round; }
.map-label { --dot-size: 11px; --dot-half: 5.5px; position: absolute; z-index: 4; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; color: white; background: transparent; font-family: var(--display); font-size: 12px; letter-spacing: .13em; line-height: 1; text-align: left; text-transform: uppercase; cursor: pointer; }
.map-label > span:not(.map-card) { position: relative; z-index: 2; white-space: nowrap; text-shadow: 0 2px 16px rgba(0,0,0,.78); transition: color .18s ease, transform .18s ease; }
.map-label > small { display: none; }
.map-label i { position: relative; z-index: 3; width: var(--dot-size); height: var(--dot-size); flex: 0 0 var(--dot-size); border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 7px rgba(211,19,44,.17), 0 0 22px rgba(211,19,44,.65); transform: scale(1); transition: transform .18s ease, box-shadow .18s ease; }
.marker-left { transform: translate(calc(-100% + var(--dot-half)), -50%); }
.marker-left i { order: 2; }
.marker-left > span:not(.map-card) { order: 1; text-align: right; }
.marker-right { transform: translate(calc(var(--dot-half) * -1), -50%); }
.marker-right i { order: 1; }
.marker-right > span:not(.map-card) { order: 2; text-align: left; }
.map-label:hover, .map-label:focus, .map-label:focus-visible, .map-label.active { outline: none; }
.map-label:hover i, .map-label:focus i, .map-label:focus-visible i, .map-label.active i { transform: scale(1.25); box-shadow: 0 0 0 9px rgba(211,19,44,.2), 0 0 34px rgba(211,19,44,.9); }
.map-label:hover > span:not(.map-card), .map-label:focus > span:not(.map-card), .map-label:focus-visible > span:not(.map-card), .map-label.active > span:not(.map-card) { color: #fff; transform: translateY(-1px); }
.map-bergen { left: 6.5%; top: 79.3%; }
.map-sarpsborg { left: 26.5%; top: 87.1%; }
.map-trondheim { left: 24.1%; top: 58%; }
.map-card { position: absolute; bottom: calc(100% + 4px); width: 250px; display: grid; gap: 6px; padding: 16px; border: 1px solid rgba(255,255,255,.18); color: white; background: rgba(17,17,17,.95); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .22s ease, transform .22s ease; box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.marker-left .map-card { left: calc(100% - var(--dot-half)); }
.marker-right .map-card { left: var(--dot-half); }
.map-card b, .map-card em, .map-card a, .map-card span, .map-card small { font-family: var(--body); letter-spacing: 0; text-transform: none; }
.map-card b { font-size: 14px; }
.map-card em { color: rgba(255,255,255,.62); font-size: 12px; font-style: normal; }
.map-card a, .map-card span { color: white; font-size: 12px; text-decoration: none; }
.map-card small { color: rgba(255,255,255,.48); font-size: 11px; }
.map-label:hover .map-card, .map-label:focus .map-card, .map-label:focus-visible .map-card, .map-label.active .map-card { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

.contact { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9vw; }
.contact-copy > p:nth-of-type(2) { max-width: 500px; color: #77746f; font-size: 17px; }
.contact-direct { display: grid; margin-top: 36px; border-top: 1px solid var(--line); }
.contact-direct a { display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.contact-direct small { color: #88857f; }
.contact-form { display: grid; gap: 20px; padding: 30px 34px; background: white; border: 1px solid rgba(17,17,17,.1); box-shadow: 0 25px 60px rgba(18,18,18,.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field-row-single { grid-template-columns: 1fr; }
.contact-form label { display: grid; gap: 9px; color: #5e5b56; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #bbb7b0; border-radius: 0; padding: 11px 0; color: var(--ink); background: transparent; outline: none; text-transform: none; letter-spacing: 0; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 8px; }
.consent { grid-template-columns: 18px 1fr !important; align-items: start; max-width: 430px; color: #77746f !important; font-size: 10px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--red); }
.form-status { min-height: 20px; margin: -12px 0 0; color: var(--red); font-size: 12px; }

.site-footer { color: white; background: var(--ink); }
.footer-marquee { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-marquee div { width: max-content; padding: 22px 0; font-family: var(--display); font-size: clamp(28px, 3.2vw, 52px); text-transform: uppercase; animation: footerMove 26s linear infinite; }
.footer-marquee span { margin: 0 30px; color: var(--red-bright); }
@keyframes footerMove { to { transform: translateX(-35%); } }
.footer-main { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; padding-block: 75px; }
.footer-brand img { width: 212px; height: auto; }
.footer-brand-link { display: inline-flex; min-height: 44px; align-items: center; }
.footer-brand p { max-width: 380px; margin-top: 25px; color: #8f8c86; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links div { display: flex; flex-direction: column; gap: 11px; }
.footer-links h3 { margin: 0 0 12px; color: #77746f; font-family: var(--display); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a, .footer-links span { color: #d5d2cc; font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #77746f; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer-legal a:hover { color: white; }

.public-site-header .brand { min-height: 44px; align-items: center; justify-self: start; }
.public-header-actions .header-link { display: inline-flex; min-height: 44px; align-items: center; }
.public-skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; color: white; background: var(--red); transform: translateY(-160%); transition: transform .18s ease; }
.public-skip-link:focus { transform: translateY(0); }
.page-mobile-menu { display: block; position: relative; }
.page-mobile-menu summary { width: 44px; height: 44px; display: grid; align-content: center; justify-content: center; gap: 5px; list-style: none; cursor: pointer; }
.page-mobile-menu summary::-webkit-details-marker { display: none; }
.page-mobile-menu summary:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
.page-mobile-menu summary span { width: 24px; height: 2px; background: var(--ink); transform-origin: center; transition: transform .3s cubic-bezier(.23,1,.32,1), opacity .2s ease; }
.page-mobile-menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.page-mobile-menu[open] summary span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.page-mobile-menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.page-mobile-menu:not([open]) nav { display: none; }
.page-mobile-menu nav { position: absolute; top: 58px; right: 0; width: min(330px, calc(100vw - 36px)); display: grid; padding: 18px; background: white; border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(0,0,0,.18); }
.page-mobile-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); text-transform: uppercase; }
.public-page { background: var(--paper); }
.page-hero { position: relative; overflow: hidden; color: white; background: var(--ink); }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 70px 70px; opacity: .18; pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; min-height: 520px; display: grid; align-items: end; padding-block: 120px 80px; }
.page-hero h1 { max-width: 980px; margin: 0; font-family: var(--display); font-size: clamp(68px, 8vw, 132px); line-height: .84; letter-spacing: -.055em; text-transform: uppercase; }
.page-hero p:last-child { max-width: 680px; margin-top: 28px; color: rgba(255,255,255,.68); font-size: 19px; }
.page-section { padding: 110px 0; }
.page-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; align-items: start; }
.page-kicker { margin: 0 0 18px; font-family: var(--display); color: var(--red); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.page-title { margin: 0; font-family: var(--display); font-size: clamp(48px, 5vw, 90px); line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.page-copy { color: #67645f; font-size: 17px; line-height: 1.8; }
.metric-grid, .team-grid, .course-page-grid, .article-page-grid { display: grid; gap: 14px; }
.metric-grid { grid-template-columns: repeat(3,1fr); margin-top: 38px; }
.metric-card, .team-card, .course-page-card, .article-page-card, .page-cta-card { border: 1px solid var(--line); background: rgba(255,255,255,.62); box-shadow: 0 22px 70px rgba(17,17,17,.07); }
.metric-card { padding: 24px; }
.metric-card strong { display: block; font-family: var(--display); font-size: 44px; line-height: .9; color: var(--red); }
.metric-card span { color: #66635e; font-size: 12px; }
.team-grid { grid-template-columns: repeat(4,1fr); }
.team-card { display: grid; gap: 10px; min-height: 220px; padding: 24px; }
.team-card small { color: var(--red); font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; }
.team-card h3 { margin: auto 0 0; font-family: var(--display); font-size: 32px; line-height: .95; text-transform: uppercase; }
.team-card a, .team-card span { color: #625f59; font-size: 13px; }
.course-page-grid { grid-template-columns: repeat(2,1fr); }
.course-page-card { min-height: 360px; display: flex; flex-direction: column; padding: 34px; }
.course-page-card.featured { color: white; background: var(--red); }
.course-page-card small { color: inherit; opacity: .62; font-family: var(--display); letter-spacing: .13em; text-transform: uppercase; }
.course-page-card h2 { margin: 24px 0 14px; font-family: var(--display); font-size: clamp(36px, 4vw, 62px); line-height: .9; text-transform: uppercase; }
.course-page-card p { color: inherit; opacity: .72; line-height: 1.7; }
.course-page-card footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; }
.course-page-card strong { font-family: var(--display); font-size: 28px; }
.course-page-card a { font-size: 12px; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.article-page-grid { grid-template-columns: repeat(3,1fr); }
.article-page-card { min-height: 360px; display: flex; flex-direction: column; padding: 28px; transition: transform .25s ease, background .25s ease; }
.article-page-card:hover { transform: translateY(-8px); background: white; }
.article-page-card small { color: var(--red); font-family: var(--display); letter-spacing: .13em; text-transform: uppercase; }
.article-page-card h2 { margin: auto 0 18px; font-family: var(--display); font-size: 38px; line-height: .95; text-transform: uppercase; }
.article-page-card p { color: #68645e; font-size: 14px; line-height: 1.7; }
.article-body { max-width: 860px; margin-inline: auto; padding: 90px 0; }
.article-body header { margin-bottom: 52px; }
.article-body h1 { margin: 0; font-family: var(--display); font-size: clamp(58px, 7vw, 112px); line-height: .86; letter-spacing: -.055em; text-transform: uppercase; }
.article-body .lead { color: #65615b; font-size: 22px; line-height: 1.65; }
.article-body article { display: grid; gap: 28px; color: #37332f; font-size: 20px; line-height: 1.85; }
.page-cta-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 38px; color: white; background: var(--ink); }
.page-cta-card h2 { margin: 0; font-family: var(--display); font-size: clamp(42px, 5vw, 78px); line-height: .9; text-transform: uppercase; }
.page-cta-card p { max-width: 600px; color: rgba(255,255,255,.66); }
.public-branch-map { min-height: 660px; }

.search-overlay { position: fixed; z-index: 300; inset: 0; display: grid; place-items: start center; padding-top: 10vh; background: rgba(0,0,0,.72); backdrop-filter: blur(12px); }
.search-overlay[hidden] { display: none; }
.search-panel { width: min(760px, calc(100vw - 32px)); color: var(--ink); background: var(--paper); box-shadow: 0 50px 120px rgba(0,0,0,.4); }
.search-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.search-head button { padding: 6px 8px; border: 1px solid var(--line); background: white; font-size: 9px; cursor: pointer; }
.search-field { display: flex; align-items: center; gap: 14px; padding: 24px; background: white; }
.search-field svg { width: 24px; }
.search-field input { flex: 1; border: 0; outline: 0; font-family: var(--display); font-size: 24px; }
.search-results { max-height: 370px; overflow-y: auto; }
.search-result { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 14px; padding: 15px 22px; border-top: 1px solid var(--line); cursor: pointer; }
.search-result:hover, .search-result.active { background: #e6e2da; }
.search-result span:first-child { color: var(--red); font-family: var(--display); font-size: 10px; }
.search-result strong { font-family: var(--display); font-size: 15px; text-transform: uppercase; }
.search-result small { color: #7c7973; }
.search-hints { display: flex; justify-content: space-between; padding: 13px 22px; border-top: 1px solid var(--line); color: #8a8781; font-size: 10px; }

.drawer-backdrop { position: fixed; z-index: 199; inset: 0; background: rgba(0,0,0,.52); backdrop-filter: blur(4px); }
.drawer-backdrop[hidden] { display: none; }
.quote-drawer { position: fixed; z-index: 200; top: 0; right: 0; width: min(480px, 100vw); height: 100dvh; max-height: 100dvh; display: flex; flex-direction: column; padding: 28px; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); transform: translateX(102%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.quote-drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-head small { color: #7a7771; font-family: var(--display); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.drawer-head h2 { margin: 5px 0 0; font-family: var(--display); font-size: 36px; text-transform: uppercase; }
.drawer-head button { width: 42px; height: 42px; border: 1px solid var(--line); background: none; font-size: 24px; cursor: pointer; }
.drawer-items { display: grid; overflow-y: auto; min-height: 0; }
.drawer-item { display: grid; grid-template-columns: 1fr 32px; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.drawer-item strong { font-family: var(--display); font-size: 15px; text-transform: uppercase; }
.drawer-item button { border: 0; color: #88857f; background: none; cursor: pointer; }
.drawer-empty { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; }
.drawer-empty span { width: 55px; height: 55px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; }
.drawer-empty p { margin: 18px 0 4px; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.drawer-empty small { max-width: 260px; color: #7a7771; }
.drawer-footer { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.drawer-footer { margin-top: auto; padding-top: 14px; background: linear-gradient(180deg, rgba(245,241,235,0), var(--paper) 18%); }
.drawer-footer p { color: #77746f; font-size: 12px; }
.drawer-footer .button { width: 100%; }
.quote-contact-fields { display: grid; gap: 12px; margin: 18px 0; }
.quote-contact-fields label { display: grid; gap: 6px; color: #5e5b56; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quote-contact-fields input, .quote-contact-fields textarea { width: 100%; border: 1px solid var(--line); padding: 11px 12px; color: var(--ink); background: white; outline: none; resize: vertical; text-transform: none; letter-spacing: 0; }
.quote-contact-fields input:focus, .quote-contact-fields textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(177,14,36,.09); }
.toast { position: fixed; z-index: 500; left: 50%; bottom: 28px; padding: 13px 20px; color: white; background: var(--ink); font-size: 12px; transform: translate(-50%, 120px); transition: transform .3s ease; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast.show { transform: translate(-50%, 0); }
.noscript-message { margin: 0; padding: 16px; color: white; background: var(--red); text-align: center; }
.noscript-message a { text-decoration: underline; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(.23,1,.32,1), transform 1.15s cubic-bezier(.23,1,.32,1); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal:not(.visible) { will-change: opacity, transform; }
.js .reveal.visible { opacity: 1; transform: none; }

/* --- Per-line heading clip reveals (Scandinavian-soft) --- */
/* Clip-reveal line wrapper: generous vertical padding (cancelled by negative
   margins) so descenders (j/g/p) and Å-rings are never cut by the overflow. */
.hl { display: block; overflow: hidden; padding-block: .14em; margin-block: -.14em; }
.hl > span { display: block; }
.js .hl > span { transform: translateY(135%); transition: transform 1.05s cubic-bezier(.23,1,.32,1); }
.js .reveal .hl:nth-child(2) > span { transition-delay: .1s; }
.js .reveal.visible .hl > span { transform: none; }

/* Section headings orchestrate their own children: eyebrow → lines → lede */
.js .section-heading.reveal { transform: none; transition: opacity .6s ease; }
.js .section-heading .eyebrow { opacity: 0; transform: translateY(16px); transition: opacity .85s cubic-bezier(.23,1,.32,1), transform .85s cubic-bezier(.23,1,.32,1); }
.js .section-heading.visible .eyebrow { opacity: 1; transform: none; }
.js .section-heading .hl:nth-child(1) > span { transition-delay: .08s; }
.js .section-heading .hl:nth-child(2) > span { transition-delay: .18s; }
.js .section-heading > p:not(.eyebrow),
.js .section-heading > a,
.js .section-heading > .courses-heading-side {
  opacity: 0; transform: translateY(18px);
  transition: opacity .95s cubic-bezier(.23,1,.32,1) .3s, transform .95s cubic-bezier(.23,1,.32,1) .3s;
}
.js .section-heading.visible > p:not(.eyebrow),
.js .section-heading.visible > a,
.js .section-heading.visible > .courses-heading-side { opacity: 1; transform: none; }

/* --- Count-ups: mono/tabular so digits roll without layout shift --- */
[data-countup] { display: inline-block; font-variant-numeric: tabular-nums; }

/* --- Parallax (transform-only, JS sets --par) + one-time clip-wipe --- */
.rental-visual img[data-parallax] { transform: translateY(var(--par, 0px)) scale(1.12); }
.map-stage[data-parallax] { transform: translateY(var(--par, 0px)); }
.js .img-wipe { clip-path: inset(0 0 100% 0); transition: clip-path .95s cubic-bezier(.23,1,.32,1); }
.js .img-wipe.wiped { clip-path: inset(0 0 0 0); }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 48px, 1440px); }
  .site-header { padding-inline: 24px; gap: 15px; }
  .desktop-nav { gap: 18px; }
  .hero-content { grid-template-columns: 1fr 320px; gap: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 14px; }
  .course-item { grid-template-columns: 70px 1fr 100px 42px; }
  .course-item p { display: none; }
  .portal-card { grid-template-columns: 1fr; background: linear-gradient(150deg, rgba(177,14,36,.98), rgba(177,14,36,.78)); }
  .portal-copy, .portal-actions { padding: 42px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .article-page-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 920px) {
  :root { --shell: min(100% - 36px, 1440px); }
  .utility-bar { padding-inline: 18px; }
  .utility-track span:nth-of-type(n+5) { display: none; }
  .site-header { min-height: 70px; grid-template-columns: 1fr auto; padding-inline: 18px; }
  .desktop-nav, .header-cta { display: none; }
  .brand img { height: 34px; }
  .header-link { font-size: 12px; }
  .hero { min-height: 900px; height: 95svh; max-height: none; }
  .hero-media { background-image: linear-gradient(90deg, rgba(8,8,8,.96), rgba(8,8,8,.4)), linear-gradient(0deg, rgba(0,0,0,.72), transparent 60%), url("assets/hero-safetech.webp"); background-position: 64% center; }
  .hero-content { height: calc(100% - 170px); grid-template-columns: 1fr; align-items: end; padding-bottom: 35px; }
  .control-card { display: none; }
  .hero h1 { font-size: clamp(70px, 15vw, 116px); }
  .hero-copy { max-width: 720px; }
  .hero-footer { height: 130px; grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .scroll-cue { display: none; }
  .finder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
  .finder-card { min-height: 370px; }
  .finder-detail { opacity: 1; transform: none; }
  .solutions .shell { grid-template-columns: 1fr; }
  .solutions-intro { position: static; }
  .rental, .about { grid-template-columns: 1fr; }
  .rental-visual, .about-map { min-height: 560px; }
  .course-layout { grid-template-columns: 1fr; }
  .featured-course { min-height: 520px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-card-main { grid-column: span 2; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links a, .footer-bottom a { display: flex; min-height: 44px; align-items: center; }
  .page-mobile-menu { display: block; }
  .public-header-actions .header-cta { display: inline-flex; }
  .page-grid, .page-cta-card { grid-template-columns: 1fr; }
  .course-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .utility-bar { justify-content: center; height: 26px; }
  .utility-bar > a, .utility-track span:nth-of-type(n+3), .utility-dot:nth-of-type(n+2) { display: none; }
  .site-header { min-height: 64px; gap: 12px; }
  .public-header-actions { gap: 12px; min-width: 0; }
  .brand img { height: 30px; }
  .header-link-portal { display: none; }
  .menu-links a span { font-size: clamp(32px, 5.6vh, 46px); }
  .menu-foot { align-items: flex-start; flex-direction: column; }
  .icon-button { display: none; }
  .hero { height: 820px; min-height: 820px; }
  .hero-media { background-position: 69% center; }
  .hero-content { height: calc(100% - 145px); }
  .hero h1 { font-size: clamp(58px, 18vw, 86px); line-height: .85; }
  .hero-lead { margin-top: 24px; font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 26px; }
  .hero-footer { height: 145px; grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3) { display: none; }
  .section-pad, .project-finder { padding: 84px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .solutions-intro h2, .rental-copy h2, .about-copy h2, .contact-copy h2 { font-size: clamp(45px, 14vw, 66px); }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .finder-grid { grid-template-columns: 1fr; }
  .finder-card { min-height: 350px; padding: 24px; }
  .product-toolbar { align-items: flex-start; }
  .product-search { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 45px; }
  .product-visual { aspect-ratio: 1; }
  .products-footer { align-items: stretch; flex-direction: column; gap: 20px; }
  .solutions .shell { gap: 60px; }
  .solution-row { grid-template-columns: 36px 1fr 44px; min-height: 125px; gap: 13px; }
  .solution-row p { display: none; }
  .solution-row h3 { font-size: 24px; }
  .rental-visual { min-height: 450px; padding: 22px; }
  .rental-copy, .about-copy { padding: 75px 22px; }
  .course-item { grid-template-columns: 45px 1fr 42px; padding: 22px 16px; }
  .course-item strong { display: none; }
  .featured-course { min-height: 570px; padding: 24px; }
  .course-bottom { align-items: flex-start; flex-direction: column; gap: 24px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card-main { grid-column: auto; }
  .article-card-main .article-art, .article-art { min-height: 270px; }
  .article-card-main .article-copy h3 { font-size: 27px; }
  .about-map { min-height: 470px; }
  .map-stage { width: min(84%, 400px); }
  .map-label { --dot-size: 10px; --dot-half: 5px; font-size: 10px; gap: 8px; }
  .map-label i { width: 10px; height: 10px; }
  .map-card { width: min(238px, calc(100vw - 42px)); }
  /* anchor tooltips to the dot's left edge so they never clip outside the section */
  .marker-right .map-card { left: calc(var(--dot-half) * -1); transform: translate(0, 10px); }
  .marker-right:hover .map-card, .marker-right:focus .map-card, .marker-right:focus-visible .map-card, .marker-right.active .map-card { transform: translate(0, 0); }
  .portal-copy, .portal-actions { padding: 28px; }
  .portal-copy h2 { font-size: clamp(44px, 13vw, 66px); }
  .metric-grid, .team-grid, .article-page-grid { grid-template-columns: 1fr; }
  .page-hero-inner { min-height: 430px; padding-block: 90px 54px; }
  .page-section, .article-body { padding: 76px 0; }
  .course-page-card, .article-page-card, .page-cta-card { padding: 24px; }
  .public-header-actions .header-cta { display: none; }
  .contact-form { padding: 24px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .contact-direct a { grid-template-columns: 1fr auto; }
  .contact-direct small { grid-column: span 2; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-links a { display: flex; min-height: 44px; align-items: center; }
  .footer-links div:last-child { grid-column: span 2; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; }
  .search-field input { font-size: 17px; }
}

@media (max-width: 360px) {
  .public-header-actions .header-link { display: none; }
}

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

/* ============================================================
   FLAGSHIP MOTION LAYER — "Zone-control" retrofit
   Entrance seal-in · zone-control scroll signature · cursor micro-layer
   Uses existing tokens only (ink / paper / red / red-bright) + brand amber
   ============================================================ */
:root {
  --hazard: #d79b35;
  --safe: #66c47b;
  --rail-base: rgba(140, 138, 132, .42);
}

/* ---------- 1 · Entrance: the real mark seals in, segment by segment ---------- */
.seal-intro { position: fixed; z-index: 1200; inset: 0; display: none; overflow: hidden; max-width: 100vw; }
.js .seal-intro { display: block; }
body.intro-active { overflow: hidden; }
.seal-intro-inner {
  position: absolute; inset: 0; overflow: hidden;
  display: grid; place-content: center; justify-items: center; gap: 30px;
  background: var(--ink);
}
/* Horizontal lockup: mark · drawn divider wall · left-aligned wordmark */
.seal-lockup { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 34px); }
.seal-mark { width: clamp(64px, 9vw, 96px); height: auto; overflow: visible; flex: none; }
.seal-mark path { fill: #d3132c; stroke: none; opacity: 0; transform: translateY(8px); }
.seal-intro.is-play .seal-mark path { animation: sealSeg .6s cubic-bezier(.23,1,.32,1) forwards; }
.seal-intro.is-play .seal-mark path:nth-child(1) { animation-delay: 0ms; }
.seal-intro.is-play .seal-mark path:nth-child(2) { animation-delay: 60ms; }
.seal-intro.is-play .seal-mark path:nth-child(3) { animation-delay: 120ms; }
.seal-intro.is-play .seal-mark path:nth-child(4) { animation-delay: 180ms; }
.seal-intro.is-play .seal-mark path:nth-child(5) { animation-delay: 240ms; }
.seal-intro.is-play .seal-mark path:nth-child(6) { animation-delay: 300ms; }
.seal-intro.is-play .seal-mark path:nth-child(7) { animation-delay: 360ms; }
.seal-intro.is-play .seal-mark path:nth-child(8) { animation-delay: 420ms; }
/* The wall: a white blade with pointed ends, drawing top→bottom */
.seal-divider {
  flex: none; width: 4px; align-self: stretch;
  margin-block: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  clip-path: polygon(50% 0%, 100% 4%, 100% 96%, 50% 100%, 0% 96%, 0% 4%);
}
.seal-divider i {
  display: block; width: 100%; height: 100%;
  background: #ffffff;
  transform-origin: top center; transform: scaleY(0);
}
.seal-intro.is-play .seal-divider i { animation: sealWall .55s cubic-bezier(.6,0,.2,1) .42s forwards; }
/* Wordmark: the REAL .ai letterforms as inline SVG (currentColor) — the
   overflow-hidden containers + animated <i> reveal structure is unchanged,
   the SVGs simply replace the old display-font text inside the <i>s. */
.seal-word { display: grid; justify-items: center; gap: 7px; }
.seal-word-main {
  display: block; overflow: hidden;
  color: #fff;
}
.seal-word-main i { display: block; font-style: normal; transform: translateY(112%); }
.seal-word-main .seal-wm-main { display: block; height: clamp(34px, 6vw, 68px); width: auto; }
.seal-intro.is-play .seal-word-main i { animation: sealLine .8s cubic-bezier(.23,1,.32,1) .52s forwards; }
.seal-word-sub {
  display: block; overflow: hidden;
  color: #b9b6b0;
}
.seal-word-sub i { display: block; font-style: normal; opacity: 0; transform: translateY(100%); }
.seal-word-sub .seal-wm-sub { display: block; height: clamp(11px, 1.5vw, 15px); width: auto; }
.seal-intro.is-play .seal-word-sub i { animation: sealSub .7s cubic-bezier(.23,1,.32,1) .74s forwards; }
.seal-skip {
  position: absolute; right: 22px; bottom: 20px; z-index: 3;
  padding: 10px 15px; border: 1px solid rgba(255,255,255,.28); color: #d9d7d2; background: transparent;
  font-family: var(--display); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
  opacity: 0; transition: color .2s ease, border-color .2s ease;
}
.seal-intro.is-play .seal-skip { animation: sealFade .5s ease .95s forwards; }
.seal-skip:hover { color: #fff; border-color: #fff; }
.seal-intro.is-done { pointer-events: none; }
.seal-intro.is-done .seal-intro-inner { animation: sealLift .65s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes sealSeg { to { opacity: 1; transform: none; } }
@keyframes sealLine { to { transform: none; } }
@keyframes sealSub { to { opacity: 1; transform: none; } }
@keyframes sealFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sealWall { to { transform: scaleY(1); } }
@keyframes sealLift { to { transform: translateY(-101%); } }

/* ============================================================
   LOGO LOCKUP — original mark · compact divider · SafeTech
   Recolors via --ll-ink; mark stays red. Mirrored in site-chrome.css.
   ============================================================ */
.logo-lockup { --ll-ink: #111; display: inline-flex; align-items: center; gap: 8px; }
.logo-lockup--dark { --ll-ink: #fff; }
/* The global icon stroke rule must never outline the filled brand mark. */
.logo-lockup svg, .logo-lockup svg * { stroke: none; }
.logo-lockup-mark { display: block; height: 34px; width: auto; flex: none; }
.logo-lockup-mark path { fill: #b10e24; }
.logo-lockup-divider {
  flex: none; align-self: stretch; width: 4px; margin-block: 0;
  background: var(--ll-ink);
  clip-path: polygon(50% 0%, 100% 8%, 100% 92%, 50% 100%, 0% 92%, 0% 8%);
  transition: background .3s ease;
}
.logo-lockup-word {
  display: flex;
  align-items: center;
  flex: none;
  color: var(--ll-ink);
  transition: color .3s ease;
}
.logo-lockup-wordmark { display: block; width: auto; height: 26px; color: inherit; }
.logo-lockup-wm { display: none; }
.logo-lockup--sm { gap: 7px; }
.logo-lockup--sm .logo-lockup-mark { height: 30px; }
.logo-lockup--sm .logo-lockup-wordmark { height: 22px; }
.logo-lockup--lg { gap: 9px; }
.logo-lockup--lg .logo-lockup-mark { height: 44px; }
.logo-lockup--lg .logo-lockup-wordmark { height: 32px; }
@media (max-width: 640px) {
  .logo-lockup:not(.logo-lockup--sm):not(.logo-lockup--lg) .logo-lockup-mark { height: 30px; }
  .logo-lockup:not(.logo-lockup--sm):not(.logo-lockup--lg) .logo-lockup-wordmark { height: 17px; }
}

/* ---------- Hero: staggered display reveal + hazard→safe wash ---------- */
.hero h1 { display: flex; flex-direction: column; }
.hero-line { display: block; }
.hero-hazard {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background-image: repeating-linear-gradient(45deg, rgba(215,155,53,.16) 0 26px, transparent 26px 52px);
  mask-image: linear-gradient(180deg, black, transparent 62%);
}
body.entered .hero-hazard { animation: heroHazard 1.5s ease .15s forwards; }
@keyframes heroHazard { 0% { opacity: .85; } 100% { opacity: 0; } }
body.intro-active .hero-copy .eyebrow,
body.intro-active .hero-line,
body.intro-active .hero-lead,
body.intro-active .hero-actions,
body.intro-active .control-card { opacity: 0; }
body.entered .hero-copy .eyebrow { animation: heroRise 1s cubic-bezier(.23,1,.32,1) .05s both; }
body.entered .hero-line { animation: heroRise 1.15s cubic-bezier(.23,1,.32,1) both; }
body.entered .hero-line:nth-child(1) { animation-delay: .16s; }
body.entered .hero-line:nth-child(2) { animation-delay: .3s; }
body.entered .hero-lead { animation: heroRise 1.05s cubic-bezier(.23,1,.32,1) .5s both; }
body.entered .hero-actions { animation: heroRise 1.05s cubic-bezier(.23,1,.32,1) .62s both; }
body.entered .control-card { animation: heroRise 1.2s cubic-bezier(.23,1,.32,1) .72s both; }
body.entered .hero-media { animation: heroMedia 2.6s cubic-bezier(.23,1,.32,1) both; }
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroMedia { from { transform: scale(1.05); } to { transform: scale(1.01); } }

/* ---------- 2 · Scroll signature: zone-control seal rail ---------- */
.seal-progress {
  position: fixed; z-index: 130; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  box-shadow: 0 0 12px rgba(211,19,44,.5);
  transition: width .12s linear;
}
/* Engineered instrument rail: 1px hairline, fine ticks, hexagon head, index readout */
.zone-rail {
  position: fixed; z-index: 120; right: 30px; top: 50%; transform: translateY(-50%);
  display: none; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none;
  transition: opacity .3s ease;
}
/* Give the rail its own lane on desktop: slightly wider page gutters while it shows */
@media (min-width: 1280px) and (pointer: fine) {
  :root { --shell: min(1440px, 100vw - 170px); }
}
.zone-rail-track { position: relative; width: 1px; height: 46vh; background: var(--rail-base); }
.zone-rail-fill {
  position: absolute; left: 0; top: 0; width: 1px; height: 100%;
  background: var(--red); transform-origin: top center; transform: scaleY(0);
}
.zone-rail-head {
  position: absolute; left: 50%; top: 0; width: 9px; height: 10px;
  background: var(--red-bright);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transform: translate(-50%, -50%);
}
.zone-nodes { position: absolute; inset: 0; }
.zone-node {
  position: absolute; right: 0; width: 8px; height: 1px;
  background: var(--rail-base); transform: translateY(-.5px);
  pointer-events: auto; cursor: pointer;
  transition: width .35s cubic-bezier(.23,1,.32,1), background .3s ease;
}
.zone-node::after { content: ""; position: absolute; inset: -9px -3px; }
.zone-node.is-sealed { background: var(--red); }
.zone-node.is-active { width: 22px; background: var(--red-bright); }
.zone-node span {
  position: absolute; right: 30px; top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--grey); opacity: 0; text-align: right;
  transition: opacity .35s ease, transform .35s cubic-bezier(.23,1,.32,1);
}
.zone-node.is-active span, .zone-node:hover span { opacity: 1; transform: translate(0, -50%); }
.zone-node.is-active span { color: var(--red-bright); }
.zone-rail-index {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: .18em;
  color: #8a8781; font-variant-numeric: tabular-nums; text-align: right;
}
@media (min-width: 1280px) and (pointer: fine) { .zone-rail { display: flex; } }

/* (former section "seal" tick removed — the eyebrow already carries the red dash;
   headings now do per-line clip reveals instead) */
.section-heading { position: relative; }

/* reveal: crisp, GPU-only (transform + opacity). No blur() transition — it forces a
   full re-rasterization every frame and was the source of the scroll jank. */

/* ---------- 3 · Cursor micro-layer + button craft ---------- */
.cursor { position: fixed; z-index: 1100; top: 0; left: 0; pointer-events: none; opacity: 0; }
.cursor-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); transform: translate(-50%, -50%); will-change: transform; }
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(177,14,36,.55); transform: translate(-50%, -50%); will-change: transform;
  transition: width .22s ease, height .22s ease, border-color .22s ease, background .22s ease;
}
body.cursor-ready .cursor { opacity: 1; }
body.cursor-ready.cursor-hover .cursor-ring { width: 54px; height: 54px; border-color: var(--red-bright); background: rgba(211,19,44,.08); }
body.cursor-ready.cursor-down .cursor-ring { width: 26px; height: 26px; }

.button, .header-cta { position: relative; overflow: hidden; }
.button > *, .header-cta > * { position: relative; z-index: 1; }
.button::after, .header-cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.24) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .65s ease;
}
.button:hover::after, .header-cta:hover::after { transform: translateX(130%); }

/* ---------- Reduced-motion / no-JS safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .seal-intro, .cursor, .hero-hazard { display: none !important; }
  body.intro-active .hero-copy .eyebrow,
  body.intro-active .hero-line,
  body.intro-active .hero-lead,
  body.intro-active .hero-actions,
  body.intro-active .control-card { opacity: 1 !important; }
  .zone-node, .zone-rail-fill, .zone-rail-head, .seal-progress { transition: none !important; }
  .zone-rail-fill { transform: scaleY(1) !important; }
  .zone-rail-head { display: none !important; }
  .zone-node { background: var(--red) !important; }
  .js .reveal { filter: none !important; }
  .js .hl > span { transform: none !important; transition: none !important; }
  .js .section-heading .eyebrow,
  .js .section-heading > p:not(.eyebrow),
  .js .section-heading > a,
  .js .section-heading > .courses-heading-side { opacity: 1 !important; transform: none !important; }
  .js .img-wipe { clip-path: none !important; transition: none !important; }
  .zone-bridge-line { transform: none !important; transition: none !important; }
  .zone-bridge-hex, .zone-bridge-label { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rental-visual img[data-parallax], .map-stage[data-parallax] { transform: none !important; }
  body.entered .hero-media { animation: none !important; }
  .menu-links a, .menu-foot { opacity: 1 !important; transform: none !important; transition: none !important; }
}
