/* ==========================================================================
   Seat Belt Trader — seatbelttrader.com
   Design system: "Precision Automotive Industrial"
   Graphite · Warm Sand · Electric Lime
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Core surfaces */
  --ink:        #131619;
  --ink-2:      #1B2126;
  --ink-3:      #262D33;
  --ink-4:      #333B42;

  /* Neutrals */
  --steel:      #6C757B;
  --steel-2:    #8A9296;
  --sand:       #E4DDCF;
  --sand-2:     #EFEAE0;
  --paper:      #FBF8F3;
  --paper-2:    #F4F0E7;

  /* Accent */
  --lime:       #C8F24B;
  --lime-2:     #B4DE33;
  --accent-ink: #4A6605;   /* accent colour that is legible as text on light */

  /* Text roles */
  --tx-strong:  #15191C;
  --tx-body:    #3B4349;
  --tx-muted:   #5C656B;
  --tx-on-dark: #EFEAE0;
  --tx-on-dark-muted: #A9B1B6;

  /* Lines */
  --line:       rgba(19, 22, 25, .14);
  --line-soft:  rgba(19, 22, 25, .08);
  --line-dark:  rgba(239, 234, 224, .16);
  --line-dark-soft: rgba(239, 234, 224, .09);

  /* Type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Metrics */
  --wrap:        1280px;
  --wrap-wide:   1500px;
  --wrap-narrow: 840px;
  --gut:         clamp(1.15rem, 4vw, 3rem);
  --sec-y:       clamp(4.25rem, 9vw, 8.5rem);
  --r:           2px;      /* deliberately near-square: technical, not bubbly */
  --r-lg:        4px;
  --hdr-h:       76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--tx-body);
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--tx-strong);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.022em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.5vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 1.08rem + .95vw, 1.85rem); letter-spacing: -.015em; }
h4 { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); letter-spacing: -.01em; line-height: 1.3; }

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

a { color: inherit; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .5em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--tx-strong); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--lime-2);
  outline-offset: 2px;
  border-radius: var(--r);
}
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
  outline-color: var(--lime);
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 999;
  background: var(--lime); color: var(--ink);
  padding: .7rem 1.15rem; font-family: var(--f-mono);
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; font-weight: 600; transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap        { width: 100%; max-width: var(--wrap);        margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide   { width: 100%; max-width: var(--wrap-wide);   margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gut); }

.sec { padding-block: var(--sec-y); position: relative; }
.sec--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.sec--flush-t { padding-top: 0; }
.sec--flush-b { padding-bottom: 0; }

.bg-paper  { background: var(--paper); }
.bg-paper2 { background: var(--paper-2); }
.bg-sand   { background: var(--sand-2); }
.bg-sand-d { background: var(--sand); }

.bg-ink {
  background: var(--ink);
  color: var(--tx-on-dark);
}
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink strong { color: var(--tx-on-dark); }
.bg-ink p  { color: var(--tx-on-dark-muted); }

.bg-ink2 { background: var(--ink-2); color: var(--tx-on-dark); }
.bg-ink2 h1, .bg-ink2 h2, .bg-ink2 h3, .bg-ink2 h4, .bg-ink2 strong { color: var(--tx-on-dark); }
.bg-ink2 p { color: var(--tx-on-dark-muted); }

/* --------------------------------------------------------------------------
   4. SIGNATURE MOTIFS
   -------------------------------------------------------------------------- */

/* 4a. Webbing strip — a literal nod to seat-belt weave, used as a rule */
.webbing {
  height: 10px;
  background:
    repeating-linear-gradient(90deg,
      var(--ink) 0 3px, transparent 3px 9px),
    linear-gradient(var(--ink-3), var(--ink-3));
  opacity: .9;
}
.webbing--lime {
  background:
    repeating-linear-gradient(90deg,
      var(--ink) 0 3px, transparent 3px 9px),
    linear-gradient(var(--lime), var(--lime));
  opacity: 1;
}
.webbing--light {
  background:
    repeating-linear-gradient(90deg,
      rgba(239,234,224,.55) 0 3px, transparent 3px 9px),
    linear-gradient(var(--ink-4), var(--ink-4));
}

/* 4b. Engineering corner brackets */
.bracket { position: relative; }
.bracket::before, .bracket::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none;
}
.bracket::before {
  top: 0; left: 0;
  border-top: 2px solid var(--lime-2); border-left: 2px solid var(--lime-2);
}
.bracket::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--lime-2); border-right: 2px solid var(--lime-2);
}
.on-dark.bracket::before, .on-dark.bracket::after,
.bg-ink .bracket::before, .bg-ink .bracket::after { border-color: var(--lime); }

/* 4c. Technical grid backdrop */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}
.grid-bg--dark::before {
  background-image:
    linear-gradient(to right, var(--line-dark-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-dark-soft) 1px, transparent 1px);
}

/* 4d. Hatch block */
.hatch {
  background-image: repeating-linear-gradient(-45deg,
    var(--line) 0 1px, transparent 1px 8px);
}
.hatch--lime {
  background-image: repeating-linear-gradient(-45deg,
    rgba(200,242,75,.45) 0 1px, transparent 1px 8px);
}

/* 4e. Mono technical label */
.lbl {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 1.3rem;
}
.lbl::before {
  content: ""; width: 26px; height: 2px; background: var(--lime-2); flex: none;
}
.lbl--dark { color: var(--lime); }
.lbl--dark::before { background: var(--lime); }
.lbl--plain { color: var(--tx-muted); }
.lbl--plain::before { background: var(--steel-2); }

/* 4f. Index number */
.idx {
  font-family: var(--f-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; color: var(--accent-ink);
}
.idx--dark { color: var(--lime); }

/* --------------------------------------------------------------------------
   5. TYPE HELPERS
   -------------------------------------------------------------------------- */
.lead {
  font-size: clamp(1.06rem, 1rem + .45vw, 1.3rem);
  line-height: 1.62; color: var(--tx-body);
}
.bg-ink .lead, .bg-ink2 .lead { color: var(--tx-on-dark-muted); }

.big-statement {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.6rem, 1.05rem + 2.3vw, 3rem);
  line-height: 1.14; letter-spacing: -.022em; color: var(--tx-strong);
}
.bg-ink .big-statement { color: var(--tx-on-dark); }
.big-statement em { font-style: normal; color: var(--accent-ink); }
.bg-ink .big-statement em { color: var(--lime); }

.muted { color: var(--tx-muted); }
.bg-ink .muted { color: var(--tx-on-dark-muted); }

.prose > * + h2 { margin-top: 2.6em; }
.prose > * + h3 { margin-top: 2em; }
.prose h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem); }
.prose h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li {
  position: relative; padding-left: 1.7rem;
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 9px; height: 9px; background: var(--lime-2);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.bg-ink .prose ul li::before { background: var(--lime); }
.prose ol { padding-left: 1.3em; }
.prose ol::marker { font-family: var(--f-mono); }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font-family: var(--f-mono); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: 1.02rem 1.7rem; border: 2px solid transparent; border-radius: var(--r);
  cursor: pointer; position: relative; overflow: hidden;
  transition: background-color .24s var(--ease), color .24s var(--ease),
              border-color .24s var(--ease), transform .24s var(--ease);
  line-height: 1;
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn--lime:hover { background: var(--lime-2); border-color: var(--lime-2); transform: translateY(-2px); }

.btn--ink { background: var(--ink); color: var(--tx-on-dark); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-3); border-color: var(--ink-3); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--tx-strong); border-color: rgba(19,22,25,.28); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--tx-on-dark); transform: translateY(-2px); }

.btn--outline-light { background: transparent; color: var(--tx-on-dark); border-color: rgba(239,234,224,.35); }
.btn--outline-light:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Animated underline link */
.ln {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--tx-strong); text-decoration: none;
  padding-bottom: .35rem; position: relative;
}
.ln::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--lime-2); transform: scaleX(.32); transform-origin: left;
  transition: transform .32s var(--ease);
}
.ln:hover::after, .ln:focus-visible::after { transform: scaleX(1); }
.ln svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.ln:hover svg { transform: translateX(4px); }
.ln--dark { color: var(--tx-on-dark); }
.ln--dark::after { background: var(--lime); }

/* --------------------------------------------------------------------------
   7. HEADER + NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 34px -18px rgba(0,0,0,.85); }

.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: var(--hdr-h);
}

.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--tx-on-dark); flex: none;
}
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--lime); border-radius: var(--r);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--f-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: -.015em; color: var(--tx-on-dark);
}
.brand-sub {
  font-family: var(--f-mono); font-size: .58rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--steel-2);
  margin-top: .28rem;
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative; text-decoration: none;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--tx-on-dark-muted);
  padding: .65rem .62rem; border-radius: var(--r);
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: .62rem; right: .62rem; bottom: .28rem;
  height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover, .nav a:focus-visible { color: var(--tx-on-dark); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--lime); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.hdr-cta { display: inline-flex; align-items: center; gap: .9rem; flex: none; }
.hdr-tel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500;
  color: var(--tx-on-dark); text-decoration: none; letter-spacing: .02em;
  padding: .5rem .2rem; transition: color .2s var(--ease);
}
.hdr-tel svg { width: 15px; height: 15px; color: var(--lime); }
.hdr-tel:hover { color: var(--lime); }
.hdr-btn {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
  background: var(--lime); color: var(--ink);
  padding: .74rem 1.15rem; border-radius: var(--r);
  transition: background-color .22s var(--ease), transform .22s var(--ease);
  white-space: nowrap;
}
.hdr-btn:hover { background: var(--lime-2); transform: translateY(-1px); }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; flex: none;
  background: transparent; border: 1px solid var(--line-dark);
  border-radius: var(--r); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 20px; height: 2px; background: var(--tx-on-dark);
  position: relative; transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--tx-on-dark); transition: transform .28s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.mnav {
  position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 190;
  background: var(--ink); overflow-y: auto;
  padding: 1.5rem var(--gut) 3rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  -webkit-overflow-scrolling: touch;
}
.mnav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mnav ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.mnav li { margin: 0; border-bottom: 1px solid var(--line-dark-soft); }
.mnav nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.02rem .2rem; text-decoration: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1.1rem;
  color: var(--tx-on-dark); letter-spacing: -.01em;
}
.mnav nav a .n {
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500;
  color: var(--steel); letter-spacing: .1em;
}
.mnav nav a[aria-current="page"] { color: var(--lime); }
.mnav nav a[aria-current="page"] .n { color: var(--lime-2); }
.mnav-foot { display: grid; gap: .8rem; }
.mnav-foot a.contact-line {
  display: flex; align-items: center; gap: .7rem; text-decoration: none;
  font-family: var(--f-mono); font-size: .85rem; color: var(--tx-on-dark);
  padding: .55rem 0; word-break: break-word;
}
.mnav-foot a.contact-line svg { width: 16px; height: 16px; color: var(--lime); flex: none; }

body.nav-open { overflow: hidden; }

@media (max-width: 1120px) {
  .nav, .hdr-tel { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .hdr-btn { display: none; }
  .brand-sub { display: none; }
}

/* --------------------------------------------------------------------------
   8. MEDIA FRAMES
   -------------------------------------------------------------------------- */
/* Frames use the source aspect ratio so nothing is ever cropped. */
.frame {
  position: relative; overflow: hidden; background: var(--sand);
  border-radius: var(--r-lg);
}
.frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.frame--contain { background: var(--paper-2); }
.frame--contain img { object-fit: contain; }

.frame-tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--ink); color: var(--tx-on-dark);
  font-family: var(--f-mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  padding: .55rem .95rem;
}
.frame-tag--lime { background: var(--lime); color: var(--ink); }

.frame-rule {
  position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(239,234,224,.32);
}

figure { margin: 0; }
figcaption {
  font-family: var(--f-mono); font-size: .72rem; color: var(--tx-muted);
  letter-spacing: .05em; margin-top: .85rem; line-height: 1.5;
}
.bg-ink figcaption { color: var(--tx-on-dark-muted); }

/* --------------------------------------------------------------------------
   9. CARDS / PANELS
   -------------------------------------------------------------------------- */
.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem);
  position: relative; transition: border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.panel--dark { background: var(--ink-2); border-color: var(--line-dark); color: var(--tx-on-dark-muted); }
.panel--dark h3, .panel--dark h4, .panel--dark strong { color: var(--tx-on-dark); }
.panel--sand { background: var(--sand-2); border-color: rgba(19,22,25,.1); }
.panel--flat { background: transparent; }

.panel-hover:hover {
  border-color: rgba(19,22,25,.4);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -30px rgba(19,22,25,.55);
}
.panel--dark.panel-hover:hover {
  border-color: rgba(200,242,75,.55);
  box-shadow: 0 22px 44px -28px rgba(0,0,0,.9);
}

.stack-sm > * + * { margin-top: .65rem; }
.stack   > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: 2rem; }

/* Spec list — technical key/value rows */
.spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec li {
  display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between;
  padding: .85rem 0; border-bottom: 1px solid var(--line); margin: 0;
}
.spec dt, .spec .k {
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tx-muted); flex: none;
}
.spec .v { color: var(--tx-strong); font-weight: 500; text-align: right; flex: 1 1 auto; min-width: 0; }
.bg-ink .spec, .bg-ink .spec li { border-color: var(--line-dark); }
.bg-ink .spec .k { color: var(--steel-2); }
.bg-ink .spec .v { color: var(--tx-on-dark); }

/* Note / disclaimer block */
.note {
  border-left: 3px solid var(--lime-2);
  background: var(--paper-2);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .95rem; line-height: 1.68; color: var(--tx-body);
}
.note strong { color: var(--tx-strong); }
.bg-ink .note, .note--dark {
  background: rgba(239,234,224,.05); border-left-color: var(--lime); color: var(--tx-on-dark-muted);
}
.bg-ink .note strong, .note--dark strong { color: var(--tx-on-dark); }

/* --------------------------------------------------------------------------
   10. SECTION HEADS
   -------------------------------------------------------------------------- */
.shead { max-width: 62ch; }
.shead--wide { max-width: 78ch; }
.shead h2 { margin-bottom: .5em; }
.shead-split {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  padding-bottom: 2.2rem; margin-bottom: clamp(2rem, 4vw, 3.4rem);
  border-bottom: 1px solid var(--line);
}
.bg-ink .shead-split, .bg-ink2 .shead-split { border-color: var(--line-dark); }
@media (max-width: 860px) {
  .shead-split { grid-template-columns: 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   11. BREADCRUMBS
   -------------------------------------------------------------------------- */
.crumbs {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tx-on-dark-muted);
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .6rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .6rem; }
.crumbs li + li::before { content: "/"; color: var(--steel); }
.crumbs a { color: var(--tx-on-dark-muted); text-decoration: none; transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current="page"] { color: var(--lime); }

/* --------------------------------------------------------------------------
   12. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.phero {
  background: var(--ink); color: var(--tx-on-dark);
  padding-block: clamp(2.4rem, 5vw, 3.4rem) clamp(3.4rem, 7vw, 6rem);
  position: relative; overflow: hidden;
}
.phero::after {
  content: ""; position: absolute; right: -14%; top: -40%;
  width: 58%; height: 190%; pointer-events: none;
  background-image: repeating-linear-gradient(-58deg,
    rgba(239,234,224,.07) 0 1px, transparent 1px 12px);
  transform: rotate(4deg);
}
.phero > * { position: relative; z-index: 1; }
.phero h1 { margin: 1.6rem 0 0; max-width: 20ch; }
.phero .lead { margin-top: 1.5rem; max-width: 62ch; color: var(--tx-on-dark-muted); }
.phero-meta {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.1rem;
}
.phero-meta span {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tx-on-dark-muted);
  border: 1px solid var(--line-dark); padding: .5rem .85rem; border-radius: var(--r);
}

/* --------------------------------------------------------------------------
   13. ACCORDION
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1.2rem; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.45rem .25rem; color: var(--tx-strong);
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1rem, .95rem + .3vw, 1.16rem); line-height: 1.38;
  letter-spacing: -.01em; transition: color .2s var(--ease);
}
.acc-btn:hover { color: var(--accent-ink); }
.acc-ico {
  flex: none; width: 26px; height: 26px; margin-top: .1rem; position: relative;
  border: 1px solid var(--line); border-radius: var(--r);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.acc-ico::before, .acc-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--tx-strong);
  transform: translate(-50%, -50%); transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.acc-ico::before { width: 11px; height: 2px; }
.acc-ico::after  { width: 2px; height: 11px; }
.acc-btn[aria-expanded="true"] .acc-ico { background: var(--lime); border-color: var(--lime); }
.acc-btn[aria-expanded="true"] .acc-ico::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.acc-btn[aria-expanded="true"] { color: var(--tx-strong); }
.acc-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .34s var(--ease);
}
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel .acc-body { padding: 0 3rem 1.75rem .25rem; color: var(--tx-body); }
.acc-panel .acc-body > *:first-child { margin-top: 0; }
@media (max-width: 620px) {
  .acc-panel .acc-body { padding-right: .25rem; }
}
/* Dark accordion variant */
.acc--dark, .acc--dark .acc-item { border-color: var(--line-dark); }
.acc--dark .acc-btn { color: var(--tx-on-dark); }
.acc--dark .acc-btn:hover { color: var(--lime); }
.acc--dark .acc-ico { border-color: var(--line-dark); }
.acc--dark .acc-ico::before, .acc--dark .acc-ico::after { background: var(--tx-on-dark); }
.acc--dark .acc-btn[aria-expanded="true"] .acc-ico::before,
.acc--dark .acc-btn[aria-expanded="true"] .acc-ico::after { background: var(--ink); }
.acc--dark .acc-body { color: var(--tx-on-dark-muted); }

/* --------------------------------------------------------------------------
   14. FORMS
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid; gap: 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 680px) {
  .form-grid { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
}

.field label {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tx-muted);
}
.field .req { color: var(--accent-ink); }
.on-dark .field label { color: var(--steel-2); }
.on-dark .field .req { color: var(--lime); }

.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 1rem; color: var(--tx-strong);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: .92rem 1rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C656B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px;
  padding-right: 2.6rem;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(200,242,75,.55);
}
.field input::placeholder, .field textarea::placeholder { color: #9AA1A6; }

.on-dark .field input, .on-dark .field select, .on-dark .field textarea {
  background: rgba(239,234,224,.05); border-color: var(--line-dark); color: var(--tx-on-dark);
}
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: #7E868B; }
.on-dark .field input:focus, .on-dark .field select:focus, .on-dark .field textarea:focus {
  border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200,242,75,.28);
}
.on-dark .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A9B1B6' stroke-width='1.6'/%3E%3C/svg%3E");
}
.on-dark .field select option { color: #15191C; }

.err {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .05em;
  color: #B3261E; min-height: 0; display: none;
}
.on-dark .err { color: #FF9E96; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.on-dark .field.has-error input, .on-dark .field.has-error select, .on-dark .field.has-error textarea { border-color: #FF9E96; }
.field.has-error .err { display: block; }

.form-note {
  font-size: .85rem; color: var(--tx-muted); line-height: 1.6;
}
.on-dark .form-note { color: var(--tx-on-dark-muted); }

.form-status {
  display: none; margin-top: 1.15rem; padding: 1rem 1.2rem;
  border-left: 3px solid var(--lime-2); background: var(--paper-2);
  font-size: .95rem; color: var(--tx-strong); border-radius: 0 var(--r) var(--r) 0;
}
.on-dark .form-status { background: rgba(200,242,75,.1); border-left-color: var(--lime); color: var(--tx-on-dark); }
.form-status.is-shown { display: block; }

/* --------------------------------------------------------------------------
   15. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink); color: var(--tx-on-dark);
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(200,242,75,.14) 50%, transparent 62%);
}
.cta-band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 9px),
    linear-gradient(var(--lime), var(--lime));
}
.cta-band > * { position: relative; z-index: 1; }
.cta-inner {
  display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
}
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink-2); color: var(--tx-on-dark-muted); }
.footer-top {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  padding-block: clamp(3rem, 6vw, 4.75rem);
}
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-top { grid-template-columns: 1fr; } }

.f-title {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lime);
  margin: 0 0 1.3rem;
}
.f-list { list-style: none; margin: 0; padding: 0; }
.f-list li { margin: 0 0 .72rem; }
.f-list a {
  color: var(--tx-on-dark-muted); text-decoration: none; font-size: .93rem;
  transition: color .2s var(--ease); display: inline-block;
}
.f-list a:hover { color: var(--lime); }

.f-about p { font-size: .95rem; line-height: 1.7; color: var(--tx-on-dark-muted); }

.f-contact { display: grid; gap: .9rem; }
.f-contact a {
  display: flex; align-items: center; gap: .7rem; text-decoration: none;
  color: var(--tx-on-dark); font-family: var(--f-mono); font-size: .88rem;
  transition: color .2s var(--ease); word-break: break-word;
}
.f-contact a svg { width: 16px; height: 16px; color: var(--lime); flex: none; }
.f-contact a:hover { color: var(--lime); }

.socials { display: flex; gap: .55rem; margin-top: 1.6rem; flex-wrap: wrap; }
.social {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: var(--r);
  color: var(--steel-2); background: transparent;
}
.social svg { width: 17px; height: 17px; }
.socials-note {
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em;
  color: var(--steel); margin-top: .85rem; line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .84rem;
}
.footer-bottom p { margin: 0; color: var(--tx-on-dark-muted); }
.footer-bottom a { color: var(--tx-on-dark); text-decoration: none; border-bottom: 1px solid rgba(200,242,75,.5); }
.footer-bottom a:hover { color: var(--lime); }

/* --------------------------------------------------------------------------
   17. MOTION
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* No-JS safety: content must never stay hidden */
.no-js [data-reveal] { opacity: 1 !important; transform: none !important; }
.no-js .acc-panel { grid-template-rows: 1fr; }
.no-js .acc-ico { display: none; }

/* --------------------------------------------------------------------------
   18. GENERIC GRIDS
   -------------------------------------------------------------------------- */
.g2 { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.split {
  display: grid; gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.split--wide-l { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split--wide-r { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split, .split--wide-l, .split--wide-r { grid-template-columns: 1fr; }
  .split .order-first-m { order: -1; }
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.75rem; }
.mt-3 { margin-top: 2.75rem; }
.mt-4 { margin-top: 3.75rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-60 { max-width: 60ch; }
.maxw-70 { max-width: 70ch; }
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   19. NAV DROPDOWN (desktop)
   -------------------------------------------------------------------------- */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--tx-on-dark-muted);
  padding: .65rem .62rem; border-radius: var(--r);
  transition: color .2s var(--ease); position: relative; white-space: nowrap;
}
.nav-drop-btn svg { width: 10px; height: 7px; transition: transform .28s var(--ease); }
.nav-drop-btn::after {
  content: ""; position: absolute; left: .62rem; right: .62rem; bottom: .28rem;
  height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-drop-btn:hover, .nav-drop-btn:focus-visible { color: var(--tx-on-dark); }
.nav-drop-btn:hover::after { transform: scaleX(1); }
.nav-drop-btn.is-current { color: var(--lime); }
.nav-drop-btn.is-current::after { transform: scaleX(1); }
.nav-drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-drop-list {
  position: absolute; top: calc(100% + 10px); left: -.4rem; z-index: 40;
  min-width: 292px; margin: 0; padding: .5rem; list-style: none;
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); box-shadow: 0 26px 50px -26px rgba(0,0,0,.95);
}
.nav-drop-list::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--lime);
}
.nav-drop-list[hidden] { display: none; }
.nav-drop-list li { margin: 0; }
.nav-drop-list a {
  display: block; padding: .72rem .8rem; text-decoration: none;
  font-family: var(--f-body); font-size: .9rem; letter-spacing: 0; text-transform: none;
  color: var(--tx-on-dark-muted); border-radius: var(--r);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav-drop-list a::after { display: none; }
.nav-drop-list a:hover, .nav-drop-list a:focus-visible { background: rgba(200,242,75,.12); color: var(--tx-on-dark); }
.nav-drop-list a[aria-current="page"] { color: var(--lime); background: rgba(200,242,75,.08); }

@media (max-width: 1340px) { .hdr-tel { display: none; } }
@media (max-width: 1180px) {
  .nav, .hdr-tel { display: none; }
  .burger { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   20. DARK SURFACE TEXT ROLES
   Any surface painted with the graphite palette re-declares its text colours,
   so a heading can never inherit dark-on-dark. Applies to every page.
   -------------------------------------------------------------------------- */
.bg-ink, .bg-ink2, .phero, .cta-band, .hero, .on-dark, .qual-body {
  color: var(--tx-on-dark);
}
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink h5,
.bg-ink2 h1, .bg-ink2 h2, .bg-ink2 h3, .bg-ink2 h4, .bg-ink2 h5,
.phero h1, .phero h2, .phero h3, .phero h4,
.cta-band h1, .cta-band h2, .cta-band h3, .cta-band h4,
.hero h1, .hero h2, .hero h3, .hero h4,
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark h5,
.qual-body h2, .qual-body h3 {
  color: var(--tx-on-dark);
}
.bg-ink p, .bg-ink2 p, .phero p, .cta-band p, .hero p, .on-dark p, .qual-body p {
  color: var(--tx-on-dark-muted);
}
.bg-ink .lead, .bg-ink2 .lead, .phero .lead, .cta-band .lead, .hero .lead,
.on-dark .lead, .qual-body .lead {
  color: var(--tx-on-dark-muted);
}
.bg-ink strong, .bg-ink2 strong, .phero strong, .cta-band strong,
.hero strong, .on-dark strong, .qual-body strong { color: var(--tx-on-dark); }
.bg-ink .big-statement, .bg-ink2 .big-statement, .on-dark .big-statement,
.cta-band .big-statement { color: var(--tx-on-dark); }
.bg-ink .big-statement em, .bg-ink2 .big-statement em,
.on-dark .big-statement em, .cta-band .big-statement em { color: var(--lime); }
.bg-ink .muted, .bg-ink2 .muted, .phero .muted, .cta-band .muted,
.hero .muted, .on-dark .muted, .qual-body .muted { color: var(--tx-on-dark-muted); }
.bg-ink a:not(.btn):not(.ln):not(.go):not(.bento-cell),
.bg-ink2 a:not(.btn):not(.ln):not(.go),
.on-dark a:not(.btn):not(.ln):not(.go) { color: var(--lime); }
.bg-ink hr, .bg-ink2 hr, .on-dark hr { border-color: var(--line-dark); }
.bg-ink .spec li, .bg-ink2 .spec li, .on-dark .spec li { border-color: var(--line-dark); }
.bg-ink .acc, .bg-ink .acc-item, .bg-ink2 .acc, .bg-ink2 .acc-item,
.on-dark .acc, .on-dark .acc-item { border-color: var(--line-dark); }

/* Footer note reads as prose, not as code */
.socials-note { font-family: var(--f-body); font-size: .8rem; letter-spacing: 0; }

/* --------------------------------------------------------------------------
   21. CONTRAST + LAYOUT CORRECTIONS
   -------------------------------------------------------------------------- */

/* Small text on dark surfaces raised to at least 4.5:1 */
.mnav nav a .n { color: var(--steel-2); }
.socials-note { color: var(--steel-2); }
.crumbs li + li::before { color: var(--steel-2); }
.on-dark .field input::placeholder,
.on-dark .field textarea::placeholder { color: #939A9F; }
.on-dark .spec .k, .qual-body .spec .k, .phero .spec .k { color: var(--steel-2); }
.on-dark .spec .v, .qual-body .spec .v, .phero .spec .v { color: var(--tx-on-dark); }
.on-dark .spec, .on-dark .spec li { border-color: var(--line-dark); }
.on-dark figcaption { color: var(--tx-on-dark-muted); }

/* --------------------------------------------------------------------------
   22. CONTACT PERSON ROWS (non-interactive, styled to match contact links)
   -------------------------------------------------------------------------- */
.f-person {
  display: flex; align-items: center; gap: .7rem;
  color: var(--tx-on-dark); font-family: var(--f-mono); font-size: .88rem;
  word-break: break-word;
}
.f-person svg { width: 16px; height: 16px; color: var(--lime); flex: none; }

.mnav-foot .contact-line--static {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--f-mono); font-size: .85rem; color: var(--tx-on-dark);
  padding: .55rem 0;
}
.mnav-foot .contact-line--static svg { width: 16px; height: 16px; color: var(--lime); flex: none; }

.ct-line--static { cursor: default; }
.ct-line--static:hover { padding-left: 0; }
.ct-line--static:hover .ic { background: transparent; border-color: var(--line-dark); }
.ct-line--static:hover .ic svg { color: var(--lime); }
