/* ============================================================
   SBX GmbH — Design System v2
   Editorial, dark-first, hairline-bordered. Warm bone/sand/paper
   palette with one deliberate acid-lime accent. Glass header.
   ============================================================ */

:root {
  --black: #0d0d0c;
  --black-soft: #161614;
  --bone: #f4f0e8;
  --paper: #fffcf7;
  --paper-panel: #f3f1ed;
  --sand: #c9b48d;
  --acid: #d8ff4f;
  --acid-dark: #536600;
  --ink-muted: #a8a39a;
  --paper-muted: #716a61;
  --line-dark: rgba(244, 240, 232, 0.15);
  --line-light: rgba(13, 13, 12, 0.14);
  --page: min(1360px, calc(100vw - 64px));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: Arial, Helvetica, sans-serif;
  /* Fine film grain — inlined so it costs no request. Sits in background-image,
     never as an overlay, so it can't intercept clicks or cover text. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--black); }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  background: var(--black); color: var(--bone);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
/* German compounds and bare URLs are long enough to punch out of a phone
   viewport and make the whole document scroll sideways. Let them break. */
h1, h2, h3, h4, p, li, dd, dt, figcaption, label, small, span, strong, em, a {
  overflow-wrap: break-word;
}
.legal-content a, .contact-direct a, .footer-column a { overflow-wrap: anywhere; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }
::selection { background: var(--acid); color: var(--black); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 12px 16px;
  background: var(--acid); color: var(--black); font-weight: 800; text-decoration: none;
  transform: translateY(-150%); transition: transform 200ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Header (glass) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; min-height: 88px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(13, 13, 12, 0.86);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.header-inner {
  width: var(--page); min-height: 88px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 14px; flex: 0 0 auto; text-decoration: none; }
/* The mark is drawn black-on-white, so it sits on a light chip rather than
   being inverted — it then reads exactly as designed against the dark header. */
.brand-mark {
  width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 11px; background: var(--bone); overflow: hidden; padding: 3px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-lockup:hover .brand-mark { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(216, 255, 79, 0.16); }
.brand-lockup:hover .brand-meta strong { color: var(--acid); }
.brand-meta strong { transition: color 200ms ease; }
.brand-meta { display: grid; gap: 1px; }
.brand-meta strong { font-size: 12px; letter-spacing: 0.26em; }
.brand-meta span { color: var(--ink-muted); font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
  color: var(--ink-muted); font-size: 11px; font-weight: 850; letter-spacing: 0.14em;
  text-decoration: none; text-transform: uppercase; transition: color 180ms ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bone); }
.site-nav .nav-cta {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px;
  border: 1px solid var(--acid); color: var(--acid); transition: background 180ms ease, color 180ms ease;
}
.site-nav .nav-cta:hover { background: var(--acid); color: var(--black); }

.menu-toggle {
  width: 48px; height: 48px; display: none; align-content: center; gap: 6px; padding: 0 12px;
  border: 1px solid var(--line-dark); background: transparent; color: var(--bone); cursor: pointer;
}
.menu-toggle span { width: 100%; height: 2px; display: block; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Page hero (subpages, dark) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 168px max(32px, calc((100vw - 1360px) / 2)) 76px;
  background:
    var(--grain),
    radial-gradient(circle at 82% 20%, rgba(201, 180, 141, 0.12), transparent 30%),
    radial-gradient(ellipse 55% 60% at 8% 0%, rgba(216, 255, 79, 0.06), transparent 70%),
    var(--black);
}
.page-hero-grid {
  position: absolute; inset: 88px 0 0; opacity: 0.4; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.breadcrumb { position: relative; margin-bottom: 22px; color: var(--ink-muted); font-size: 12px; }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; } .breadcrumb a:hover { color: var(--bone); }
.eyebrow, .section-kicker {
  position: relative; display: block; margin: 0 0 22px; color: var(--acid);
  font-size: 10px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase;
}
/* Raw acid is unreadable on the light surfaces — swap to the dark acid there. */
.section-light .eyebrow, .section-light .section-kicker,
.section-soft .eyebrow, .section-soft .section-kicker,
.legal-page .eyebrow { color: var(--acid-dark); }

/* Breadcrumb defaults to the dark-surface muted tone; on light surfaces it
   needs the light-surface muted tone or it washes out. */
.section-light .breadcrumb, .section-light .breadcrumb a,
.section-soft .breadcrumb, .section-soft .breadcrumb a,
.legal-page .breadcrumb, .legal-page .breadcrumb a { color: var(--paper-muted); }
.legal-page .breadcrumb a:hover, .section-light .breadcrumb a:hover { color: var(--black); }
.page-hero h1 {
  position: relative; max-width: 900px; margin-bottom: 22px;
  font-size: clamp(48px, 6.4vw, 108px); font-weight: 950; letter-spacing: -0.07em; line-height: 0.9; text-transform: uppercase;
}
.page-hero h1 em, h2 em { color: var(--acid); font-style: normal; }
/* Accent words in headlines: raw acid only survives on dark surfaces. */
.section-light h2 em, .section-soft h2 em, .legal-page h2 em,
.card h2 em, .method-card h2 em { color: var(--acid-dark); }
.cta-band h2 em { color: var(--acid); }
.page-hero .lead { position: relative; max-width: 620px; color: #cbc5bb; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.55; }

/* ---------- Layout / sections ---------- */
.container { width: var(--page); margin: 0 auto; }
.section { padding: 120px max(32px, calc((100vw - 1360px) / 2)); }
.section-tight { padding: 64px max(32px, calc((100vw - 1360px) / 2)); }
.section-light { background: var(--bone); color: var(--black); }
.section-dark { background-color: var(--black); background-image: var(--grain); color: var(--bone); }
.section-soft { background: var(--paper); color: var(--black); }
.divider { height: 1px; border: 0; background: var(--line-light); }
.section-dark .divider { background: var(--line-dark); }

.section-heading {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 74px; align-items: end; margin-bottom: 64px;
}
.section-heading h2 {
  margin: 0; font-size: clamp(44px, 6vw, 92px); font-weight: 950;
  letter-spacing: -0.07em; line-height: 0.9; text-transform: uppercase;
}
.section-heading > p { max-width: 460px; margin: 0; color: var(--paper-muted); font-size: clamp(17px, 1.4vw, 22px); }
.section-dark .section-heading > p { color: var(--ink-muted); }

/* ---------- Buttons / links ---------- */
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 22px; border: 1px solid var(--line-dark); background: transparent; color: var(--bone);
  font-size: 11px; font-weight: 900; letter-spacing: 0.11em; text-decoration: none; text-transform: uppercase;
  cursor: pointer; transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-acid { border-color: var(--acid); background: var(--acid); color: var(--black); }
.button-light { border-color: var(--black); background: var(--black); color: var(--paper); }
.button-ghost:hover { background: var(--bone); color: var(--black); }
.section-light .button-ghost, .section-soft .button-ghost { border-color: var(--line-light); color: var(--black); }
.section-light .button-ghost:hover, .section-soft .button-ghost:hover { background: var(--black); color: var(--paper); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 850;
  letter-spacing: 0.11em; text-decoration-thickness: 1px; text-underline-offset: 5px; text-transform: uppercase;
}
.text-link .arr { transition: transform 200ms var(--ease); }
.text-link:hover .arr { transform: translateX(4px); }

/* ---------- Proof rail (stat strip) ---------- */
.proof-rail {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--black-soft);
}
.proof-rail > a, .proof-rail > div {
  min-height: 148px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 26px 30px; border-right: 1px solid var(--line-dark); text-decoration: none; transition: background 180ms ease;
}
.proof-rail > a:hover { background: rgba(216, 255, 79, 0.06); }
.proof-rail strong { color: var(--bone); font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 42px); letter-spacing: -0.04em; line-height: 1; }
.proof-rail span { color: var(--ink-muted); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.proof-note { grid-column: 1 / -1; min-height: auto; padding: 8px 30px 12px; color: #928d84; font-size: 10px; border-right: 0; }

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

/* ---------- System / discipline rows ---------- */
.system-list { border-top: 1px solid var(--line-light); }
.section-dark .system-list { border-color: var(--line-dark); }
.system-row {
  --hover-y: 0px; min-height: 128px; display: grid; grid-template-columns: 76px minmax(200px, 0.7fr) minmax(260px, 1.3fr);
  gap: 26px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line-light);
  transform: translate3d(0, var(--hover-y), 0); transition: background 220ms ease, transform 220ms ease;
}
.section-dark .system-row { border-color: var(--line-dark); }
.system-row > span { color: var(--paper-muted); font-size: 11px; font-weight: 900; letter-spacing: 0.14em; }
.section-dark .system-row > span { color: var(--ink-muted); }
.system-row h3 { margin: 0; font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -0.04em; }
.system-row p { max-width: 620px; margin: 0; color: var(--paper-muted); }
.section-dark .system-row p { color: var(--ink-muted); }
@media (hover: hover) and (pointer: fine) {
  .system-row:hover { --hover-y: -3px; background: rgba(13, 13, 12, 0.025); }
  .section-dark .system-row:hover { background: rgba(244, 240, 232, 0.025); }
}

/* ---------- Cards (hairline, sharp) ---------- */
/* Surface components carry their own colour context. A light card dropped into
   a dark section (or vice versa) must not inherit the section's text colour,
   or the copy becomes invisible against its own background. */
.card {
  --hover-y: 0px; padding: 32px; border: 1px solid var(--line-light);
  background: var(--paper); color: var(--black);
  transform: translate3d(0, var(--hover-y), 0); transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.section-dark .card { border-color: var(--line-dark); background: var(--black-soft); color: var(--bone); }
.card > span.num { color: var(--paper-muted); font-size: 11px; font-weight: 900; letter-spacing: 0.14em; }
.section-dark .card > span.num { color: var(--ink-muted); }
.card h3 { margin: 40px 0 12px; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.04em; line-height: 1; text-transform: uppercase; }
.card p { margin: 0; color: var(--paper-muted); }
.section-dark .card p { color: var(--ink-muted); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { --hover-y: -5px; border-color: rgba(13, 13, 12, 0.28); box-shadow: 0 24px 70px rgba(13, 13, 12, 0.1); }
  .section-dark .card:hover { border-color: rgba(244, 240, 232, 0.28); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4); }
}

/* ---------- Proof cards (verified signals) ---------- */
.proof-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 1px; overflow: hidden; border: 1px solid var(--line-dark); background: var(--line-dark); }
.proof-card {
  --hover-y: 0px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  padding: clamp(28px, 4vw, 48px); background: var(--black-soft); color: var(--bone); text-decoration: none;
  transform: translate3d(0, var(--hover-y), 0); transition: transform 220ms ease, filter 220ms ease;
}
.proof-card-acid { background: var(--acid); color: var(--black); }
.proof-card > span { color: var(--sand); font-size: 9px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.proof-card-acid > span { color: rgba(13, 13, 12, 0.6); }
.proof-card strong { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 60px); letter-spacing: -0.05em; line-height: 0.95; }
.proof-card p { margin: 0; color: var(--ink-muted); }
.proof-card-acid p, .proof-card-acid small { color: rgba(13, 13, 12, 0.72); }
.proof-card small { color: #928d84; font-size: 10px; }
.proof-card-acid p, .proof-card-acid small { color: rgba(13, 13, 12, 0.78); }
.proof-card-acid strong, .proof-card-acid h3 { color: var(--black); }
@media (hover: hover) and (pointer: fine) { .proof-card:hover { --hover-y: -5px; filter: brightness(1.06); } }

/* ---------- Brand panel (product feature, split) ---------- */
.brand-panel {
  --hover-y: 0px; min-height: 560px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden; margin-top: 24px; border: 1px solid var(--line-light); background: var(--paper); color: var(--black);
  transform: translate3d(0, var(--hover-y), 0); transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.brand-panel.rev { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.brand-panel.rev > .brand-copy { order: 2; }
.brand-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 68px); }
.brand-copy > span { margin-bottom: 22px; color: var(--paper-muted); font-size: 10px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.brand-copy h3 { max-width: 100%; margin-bottom: 16px; font-size: clamp(40px, 3.6vw, 60px); font-weight: 950; letter-spacing: -0.045em; line-height: 0.92; text-transform: uppercase; }
.brand-thesis { margin-bottom: 18px; color: var(--paper-muted); font-size: clamp(18px, 1.6vw, 24px); }
.brand-copy > p:not(.brand-thesis) { max-width: 500px; margin-bottom: 26px; color: var(--paper-muted); }
.brand-panel > .brand-media { display: flex; align-items: center; justify-content: center; min-height: 420px; padding: clamp(24px, 4vw, 56px); }
.brand-panel > .brand-media img { width: 100%; height: 100%; max-height: 480px; object-fit: contain; }
.brand-media-starkfeld { background: var(--paper-panel); }
.brand-media-bebelux { background: #f7d0a2; }
.brand-stats { display: flex; gap: 30px; margin-top: 6px; }
.brand-stats .stat strong { display: block; font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.03em; }
.brand-stats .stat span { color: var(--paper-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
@media (hover: hover) and (pointer: fine) {
  .brand-panel:hover { --hover-y: -5px; border-color: rgba(13, 13, 12, 0.28); box-shadow: 0 24px 70px rgba(13, 13, 12, 0.1); }
}

/* ---------- Hero product stage (index only) ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid;
  grid-template-columns: minmax(560px, 1.05fr) minmax(400px, 0.95fr); align-items: center; gap: 40px;
  overflow: hidden; padding: 148px max(32px, calc((100vw - 1360px) / 2)) 80px;
  background:
    var(--grain),
    radial-gradient(circle at 76% 42%, rgba(201, 180, 141, 0.12), transparent 26%),
    radial-gradient(ellipse 60% 50% at 12% 8%, rgba(216, 255, 79, 0.055), transparent 70%),
    var(--black);
}
.hero-grid {
  position: absolute; inset: 88px 0 0; opacity: 0.42; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.hero::after {
  content: "SBX"; position: absolute; right: -0.06em; bottom: -0.26em; color: rgba(244, 240, 232, 0.025);
  font-family: var(--font-display); font-size: clamp(220px, 30vw, 560px); font-weight: 950; letter-spacing: -0.09em; line-height: 1; pointer-events: none;
}
.hero-copy { position: relative; z-index: 3; }
.hero h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(58px, 6.6vw, 116px); font-weight: 950; letter-spacing: -0.075em; line-height: 0.85; text-transform: uppercase; }
.hero-lead { max-width: 480px; margin-bottom: 28px; color: #cbc5bb; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.55; }

.product-stage { position: relative; z-index: 2; width: min(700px, 54vw); height: min(680px, 68vh); justify-self: end; }
.stage-halo {
  --parallax-x: 0px; --parallax-y: 0px; position: absolute; inset: 14% 7% 10% 12%;
  border: 1px solid rgba(216, 255, 79, 0.36); border-radius: 50%;
  box-shadow: 0 0 100px rgba(216, 255, 79, 0.07), inset 0 0 100px rgba(201, 180, 141, 0.08);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0); transition: transform 240ms var(--ease); will-change: transform;
}
.stage-halo::before, .stage-halo::after { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(244, 240, 232, 0.12); border-radius: 50%; }
.stage-halo::after { inset: 24%; }
.product-card {
  --hover-y: 0px; --parallax-x: 0px; --parallax-y: 0px; --rotate: 0deg;
  position: absolute; z-index: 2; margin: 0; overflow: hidden; border: 1px solid rgba(244, 240, 232, 0.22);
  background: #f5f3ee; box-shadow: var(--shadow);
  transform: translate3d(var(--parallax-x), calc(var(--parallax-y) + var(--hover-y)), 0) rotate(var(--rotate)); will-change: transform;
}
.product-card img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.product-card figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 8px 11px; border: 1px solid rgba(244, 240, 232, 0.2);
  background: rgba(13, 13, 12, 0.86); color: var(--sand); font-size: 9px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase;
}
.product-boots { top: 6%; left: 10%; width: 74%; height: 74%; --rotate: -4deg; }
.product-shaker { z-index: 4; top: 0; right: -1%; width: 36%; height: 46%; --rotate: 6deg; }

/* ---------- Method / process grid ---------- */
.method-card {
  --hover-y: 0px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 36px; border: 1px solid var(--line-light); background: var(--paper); color: var(--black);
  transform: translate3d(0, var(--hover-y), 0); transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.method-card > span { color: var(--paper-muted); font-size: 11px; font-weight: 900; letter-spacing: 0.14em; }
.method-card h3 { margin-bottom: 14px; font-size: clamp(34px, 3.6vw, 54px); letter-spacing: -0.06em; line-height: 0.94; text-transform: uppercase; }
.method-card p { margin: 0; color: var(--paper-muted); }
@media (hover: hover) and (pointer: fine) {
  .method-card:hover { --hover-y: -5px; border-color: rgba(13, 13, 12, 0.28); box-shadow: 0 24px 70px rgba(13, 13, 12, 0.1); }
}

/* ---------- Corporate facts / value drivers ---------- */
.corporate-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 18px; border: 1px solid var(--line-light); background: var(--paper); color: var(--black); }
.corporate-facts > div { min-width: 0; padding: 26px; border-right: 1px solid var(--line-light); }
.corporate-facts > div:last-child { border-right: 0; }
.corporate-facts dt { margin-bottom: 10px; color: var(--paper-muted); font-size: 10px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.corporate-facts dd { margin: 0; overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(16px, 1.3vw, 20px); font-weight: 800; line-height: 1.3; }

.value-driver-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value-driver-grid article {
  --hover-y: 0px; min-height: 250px; display: flex; flex-direction: column; padding: 28px;
  border: 1px solid var(--line-light); background: var(--paper); color: var(--black);
  transform: translate3d(0, var(--hover-y), 0); transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.value-driver-grid span { margin-bottom: 10px; color: var(--paper-muted); font-size: 10px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.value-driver-grid h3 { margin: 46px 0 12px; font-size: clamp(24px, 2.2vw, 36px); letter-spacing: -0.05em; }
.value-driver-grid p { margin: 0; color: var(--paper-muted); }
@media (hover: hover) and (pointer: fine) {
  .value-driver-grid article:hover { --hover-y: -5px; border-color: rgba(13, 13, 12, 0.28); box-shadow: 0 24px 70px rgba(13, 13, 12, 0.1); }
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.team-card {
  --hover-y: 0px; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line-dark); background: var(--black-soft); color: var(--bone);
  transform: translate3d(0, var(--hover-y), 0); transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.team-photo {
  width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line-dark);
  background: rgba(244, 240, 232, 0.04); color: var(--sand); font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: -0.02em;
}
.team-card .t-name { margin-top: 24px; font-size: clamp(22px, 2vw, 28px); font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.team-card .t-role { margin-top: 6px; color: var(--acid); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.team-card .t-bio { margin-top: 16px; color: var(--ink-muted); font-size: 0.96rem; }
.team-card .t-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.sig-font { font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 1.7rem; color: var(--bone); line-height: 1; transform: rotate(-3deg); display: inline-block; }
.sig-rule { margin-top: 8px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
@media (hover: hover) and (pointer: fine) {
  .team-card:hover { --hover-y: -5px; border-color: rgba(244, 240, 232, 0.28); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4); }
}

/* ---------- CTA band ---------- */
/* The band is a dark surface that can sit inside a light section — it must
   establish its own colour context, otherwise headline/ghost button inherit
   the light section's near-black text and vanish. */
.cta-band {
  position: relative; overflow: hidden; padding: clamp(48px, 6vw, 84px);
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: var(--black-soft); background-image: var(--grain);
  color: var(--bone);
}
.cta-band::before {
  content: ""; position: absolute; top: 0; left: 0; width: min(240px, 40%); height: 2px;
  background: linear-gradient(90deg, var(--acid), transparent);
}
.cta-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(100px); background: radial-gradient(circle, rgba(216, 255, 79, 0.20), transparent 65%); top: -210px; right: -150px; pointer-events: none; }
.cta-band .eyebrow { color: var(--acid); }
.cta-band h2 { position: relative; color: var(--bone); font-size: clamp(36px, 4.6vw, 64px); font-weight: 950; letter-spacing: -0.05em; line-height: 0.94; text-transform: uppercase; }
.cta-band p { position: relative; max-width: 560px; margin-top: 16px; color: var(--ink-muted); font-size: clamp(16px, 1.3vw, 19px); }
.cta-band .cta-actions { position: relative; margin-top: 28px; }
.cta-band .button-ghost { border-color: rgba(244, 240, 232, 0.24); color: var(--bone); }
.cta-band .button-ghost:hover { background: var(--bone); color: var(--black); border-color: var(--bone); }

/* ---------- Contact ---------- */
.contact-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: 80px; align-items: start; }
.contact-copy > p { max-width: 560px; color: var(--ink-muted); font-size: clamp(17px, 1.4vw, 21px); }
.contact-direct { display: grid; gap: 12px; margin-top: 32px; }
.contact-direct a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; color: var(--bone); font-size: clamp(18px, 2vw, 26px); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contact-direct span { display: block; color: var(--ink-muted); font-size: 12px; font-weight: 750; letter-spacing: 0.04em; margin-top: 2px; }
.contact-note { margin-top: 32px; color: #928d84; font-size: 12px; }

.contact-form { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line-dark); background: var(--black-soft); color: var(--bone); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 9px; }
.field-full { grid-column: 1 / -1; }
.field label, .checkbox-label { color: #b8b2a8; font-size: 10px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(244, 240, 232, 0.28); border-radius: 0;
  background: transparent; color: var(--bone); padding: 10px 0;
}
.field input { min-height: 48px; }
.field textarea { min-height: 130px; padding: 14px 0; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--acid); outline: 0; }
.checkbox-field { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 12px; margin: 4px 0; }
.checkbox-field input { width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--acid); }
.checkbox-label { letter-spacing: 0; line-height: 1.5; text-transform: none; }
.checkbox-label a { color: var(--bone); }
.form-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
.form-note, .form-status { margin: 0; color: #928d84; font-size: 11px; }
.form-status { min-height: 1.5em; margin-top: 12px; color: var(--acid); }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-dark); background: var(--black); }
.footer-main { width: var(--page); min-height: 220px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 0.75fr 0.75fr; gap: 46px; align-items: center; padding-block: 56px; }
.footer-statement strong { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.05em; text-transform: uppercase; }
.footer-statement span, .footer-column span { color: var(--ink-muted); font-size: 11px; }
.footer-column { display: grid; gap: 10px; align-content: start; }
.footer-column > span { margin-bottom: 2px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-column a { width: fit-content; color: var(--bone); font-size: 13px; text-decoration: none; }
.footer-column a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { width: var(--page); min-height: 62px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-dark); color: #98938b; font-size: 10px; padding-block: 20px; flex-wrap: wrap; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom a { color: #98938b; text-decoration: none; } .footer-bottom a:hover { color: var(--bone); }

/* ---------- Legal pages ---------- */
.legal-page { min-height: 100vh; background: var(--bone); color: var(--black); }
.legal-hero { padding: 168px max(32px, calc((100vw - 1160px) / 2)) 64px; border-bottom: 1px solid var(--line-light); }
.legal-hero .eyebrow { color: var(--paper-muted); }
.legal-hero h1 { font-size: clamp(40px, 5vw, 76px); font-weight: 950; letter-spacing: -0.05em; line-height: 0.94; text-transform: uppercase; }
.legal-content { width: min(880px, calc(100vw - 64px)); margin: 0 auto; padding: 68px 0 110px; }
.legal-content h2 { margin: 46px 0 14px; font-size: clamp(24px, 2.8vw, 38px); letter-spacing: -0.03em; line-height: 1; }
.legal-content h3 { margin: 26px 0 8px; font-size: 19px; }
.legal-content p, .legal-content li { color: #514c45; line-height: 1.72; }
.legal-content li { list-style: disc; margin-left: 1.2em; padding-left: 4px; }
.legal-content a { color: var(--black); text-underline-offset: 4px; }
.legal-card { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line-light); background: var(--paper); color: var(--black); }
.legal-card p:last-child { margin-bottom: 0; }
.legal-updated { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line-light); font-size: 12px; }

/* ---------- Reveal / motion ---------- */
.js [data-reveal] {
  opacity: 0; translate: 0 24px;
  transition: opacity 620ms var(--ease), translate 620ms var(--ease), transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease, background 220ms ease;
}
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============================================================
   Polish layer — depth, accent reveals, micro-interactions.
   Everything here is hover/decoration only; nothing structural.
   ============================================================ */

/* Acid button gets a real glow, not just a lift */
.button-acid { box-shadow: 0 0 0 0 rgba(216, 255, 79, 0); }
.button-acid:hover { box-shadow: 0 14px 38px -12px rgba(216, 255, 79, 0.55); }
.nav-cta:hover { box-shadow: 0 10px 28px -12px rgba(216, 255, 79, 0.5); }

/* Product photography breathes on hover */
.brand-media { overflow: hidden; }
.brand-media img { transition: transform 620ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .brand-panel:hover .brand-media img { transform: scale(1.035); }
}

/* Discipline rows: the index number lights up and the row indents slightly */
.system-row > span { transition: color 220ms ease, transform 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .system-row:hover > span { color: var(--acid-dark); transform: translateX(4px); }
  .section-dark .system-row:hover > span { color: var(--acid); }
}

/* Cards reveal an acid edge instead of just lifting */
.card, .method-card, .value-driver-grid article, .team-card { position: relative; }
.card::after, .method-card::after, .value-driver-grid article::after, .team-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%;
  background: var(--acid); transform: scaleY(0); transform-origin: top;
  transition: transform 320ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover::after, .method-card:hover::after,
  .value-driver-grid article:hover::after, .team-card:hover::after { transform: scaleY(1); }
}

/* Proof rail: acid underline sweeps in on the linked tiles */
.proof-rail > a { position: relative; }
.proof-rail > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--acid); transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
.proof-rail > a:hover::after { transform: scaleX(1); }

/* Hero: vignette adds depth so the product stage sits in space */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.5));
}

/* Contact fields: label picks up the accent while typing */
.field:focus-within label { color: var(--acid); }

/* Footer links get the accent underline treatment */
.footer-column a { position: relative; transition: color 200ms ease; }
.footer-column a:hover { color: var(--acid); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
  .hero { min-height: 1040px; grid-template-columns: 1fr; align-items: start; padding-top: 150px; }
  .hero-copy { max-width: 900px; }
  .product-stage { width: min(700px, 88vw); height: 580px; justify-self: center; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .brand-panel, .brand-panel.rev { grid-template-columns: 1fr; }
  .brand-panel.rev > .brand-copy { order: 0; }
  .brand-panel > .brand-media img { max-height: 420px; }
  /* No aspect-ratio here: combined with min-height it derives a width from the
     height and blows past the viewport on narrow screens. */
  .brand-panel > .brand-media { min-height: 320px; width: 100%; min-width: 0; }
  .corporate-facts, .value-driver-grid, .team-grid, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; text-align: left; gap: 26px; }
  .contact-section { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  .site-nav, .nav-cta.button-desktop { display: none; }
  .site-nav.is-open { display: flex; position: fixed; inset: 88px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; border-bottom: 1px solid var(--line-dark); background: rgba(13, 13, 12, 0.98); }
  .site-nav.is-open a { min-height: 54px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line-dark); }
  .menu-toggle { display: grid; }
  .proof-rail { grid-template-columns: 1fr 1fr; }
  .proof-rail > a, .proof-rail > div { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 720px) {
  /* Grid/flex children default to min-width:auto and refuse to shrink below
     their content — the classic cause of sideways scroll on phones. */
  .grid-2 > *, .grid-3 > *, .grid-4 > *, .team-grid > *, .value-driver-grid > *,
  .corporate-facts > *, .brand-panel > *, .system-row > *, .proof-rail > * { min-width: 0; }
  h1, .hero h1, .page-hero h1, h2 { hyphens: auto; }
  /* The three-column template has hard minmax() floors (76 + 200 + 260 + gaps
     = 588px) that a phone viewport cannot satisfy — stack it instead. */
  .system-row { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding-block: 26px; }
  .system-row h3 { margin-top: 2px; }
  .grid-2, .grid-3, .grid-4, .team-grid, .value-driver-grid, .corporate-facts { grid-template-columns: 1fr; }
  .corporate-facts > div { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .form-grid { grid-template-columns: 1fr; }
  .proof-rail { grid-template-columns: 1fr; }
}
