/* ==========================================================================
   seatbeltmanufacturer.in — "PRECISION IN MOTION"
   Design language: light architectural manufacturing. Station rails,
   diagonal webbing bands, spec plates, outlined numerals, cobalt accenting.
   --------------------------------------------------------------------------
   01  Design tokens
   02  Reset & base
   03  Layout primitives
   04  Typography
   05  Engineering motifs
   06  Components
   07  Header & navigation
   08  Footer
   09  Page compositions
   10  Motion
   11  Responsive
   ========================================================================== */

/* ==========================================================================
   01  DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Ground: warm architectural neutrals --- */
  --paper:      #FFFFFF;
  --shell-1:    #F4F2ED;   /* primary warm off-white ground */
  --shell-2:    #EAE7E0;   /* recessed band */
  --shell-3:    #DEDAD1;   /* edge / plate fill */

  /* --- Graphite --- */
  --gr-900:     #131619;
  --gr-800:     #1A1E23;
  --gr-700:     #23282F;
  --gr-600:     #2F353D;

  /* --- Steel --- */
  --steel-700:  #4A535F;   /* body-secondary on light: 7.6:1 */
  --steel-600:  #5C6572;   /* secondary UI text on light: 5.4:1 */
  --steel-500:  #6E7885;
  --steel-300:  #A7B0BB;   /* secondary on graphite: 6.5:1 */
  --steel-200:  #C6CCD4;
  --steel-100:  #E2E5E9;

  /* --- Cobalt: the engineering accent --- */
  --cobalt:      #1B44D8;  /* 7.0:1 on white — safe for text & rules */
  --cobalt-deep: #1436A8;
  --cobalt-lift: #6C93FF;  /* for graphite grounds — 6.4:1 */
  --cobalt-wash: rgba(27, 68, 216, 0.08);
  --cobalt-line: rgba(27, 68, 216, 0.28);

  /* --- Signal amber: alerts only, used almost nowhere --- */
  --signal:      #B3540A;  /* 4.6:1 on shell-1 */
  --signal-lift: #F0912F;

  /* --- Hairlines --- */
  --rule:        rgba(19, 22, 25, 0.14);
  --rule-soft:   rgba(19, 22, 25, 0.07);
  --rule-strong: rgba(19, 22, 25, 0.30);
  --rule-dk:     rgba(255, 255, 255, 0.15);
  --rule-dk-soft:rgba(255, 255, 255, 0.07);

  /* --- Semantic --- */
  --bg:        var(--shell-1);
  --text:      var(--gr-900);
  --text-2:    var(--steel-700);
  --text-dk:   #F2F3F5;
  --text-dk-2: var(--steel-300);

  /* --- Type families --- */
  --f-display: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono:    "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* --- Type scale --- */
  --t-tag:     0.6875rem;
  --t-micro:   0.75rem;
  --t-small:   0.875rem;
  --t-body:    1rem;
  --t-lead:    clamp(1.0625rem, 0.99rem + 0.38vw, 1.3125rem);
  --t-h4:      clamp(1.0625rem, 1.01rem + 0.28vw, 1.25rem);
  --t-h3:      clamp(1.3125rem, 1.17rem + 0.66vw, 1.75rem);
  --t-h2:      clamp(1.75rem, 1.36rem + 1.62vw, 3rem);
  --t-h1:      clamp(2.125rem, 1.55rem + 2.4vw, 3.75rem);
  --t-mega:    clamp(2.625rem, 1.5rem + 4.6vw, 6rem);

  /* --- Metrics --- */
  --shell:      1280px;
  --shell-wide: 1560px;
  --shell-text: 68ch;
  --gutter:     clamp(1.25rem, 4vw, 4rem);
  --hdr:        76px;
  --hdr-tight:  60px;
  --util:       34px;

  --band:    clamp(4.5rem, 8.5vw, 8rem);
  --band-sm: clamp(3rem, 5.5vw, 5rem);

  --radius: 2px;
  --dur:    .42s;
  --dur-fast: .22s;
  --ease:   cubic-bezier(.22,.61,.36,1);

  --shadow-plate: 0 1px 0 rgba(19,22,25,.05), 0 18px 44px -32px rgba(19,22,25,.42);
}


/* ==========================================================================
   02  RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.62;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :focus-visible, .surface-dark :focus-visible { outline-color: var(--cobalt-lift); }

::selection { background: var(--cobalt); color: #fff; }

.skip {
  position: absolute; left: 0; top: 0; z-index: 200;
  transform: translateY(-140%);
  background: var(--gr-900); color: #fff;
  padding: .8rem 1.2rem; font-size: var(--t-small); font-weight: 600;
  transition: transform var(--dur-fast) var(--ease);
}
.skip:focus { transform: translateY(0); }

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

/* ==========================================================================
   03  LAYOUT PRIMITIVES
   ========================================================================== */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--wide { max-width: var(--shell-wide); }
.shell--text { max-width: 60rem; }

.band { padding-block: var(--band); position: relative; }
.band--sm { padding-block: var(--band-sm); }
.band--tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }

.surface-paper { background: var(--paper); }
.surface-warm  { background: var(--shell-2); }
.surface-dark  { background: var(--gr-900); color: var(--text-dk); }
.surface-dark h1, .surface-dark h2, .surface-dark h3, .surface-dark h4 { color: #fff; }
.surface-dark .lead, .surface-dark p { color: var(--text-dk-2); }
.surface-dark a { color: #fff; }

.rule-top    { border-top: 1px solid var(--rule); }
.rule-bottom { border-bottom: 1px solid var(--rule); }
.surface-dark.rule-top { border-top-color: var(--rule-dk); }

.stack > * + * { margin-top: 1.05em; }
.cols-2 { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 760px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   04  TYPOGRAPHY
   ========================================================================== */
.tag {
  font-family: var(--f-mono);
  font-size: var(--t-tag);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cobalt);
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 1.15rem;
  font-weight: 500;
}
.tag::before {
  content: ""; width: 22px; height: 1px; background: currentColor; flex: none;
}
.tag--plain::before { display: none; }
.surface-dark .tag { color: var(--cobalt-lift); }

.h-mega { font-size: var(--t-mega); letter-spacing: -0.035em; line-height: .95; font-weight: 800; }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); letter-spacing: -0.028em; }
.h3 { font-size: var(--t-h3); }
.h4 { font-size: var(--t-h4); letter-spacing: -0.012em; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 46ch;
}
.lead--wide { max-width: 60ch; }

.prose { max-width: var(--shell-text); color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.surface-dark .prose { color: var(--text-dk-2); }
.surface-dark .prose strong { color: #fff; }

.micro {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.surface-dark .micro { color: var(--steel-300); }

.accent { color: var(--cobalt); }
.surface-dark .accent { color: var(--cobalt-lift); }

/* Cobalt underscore beneath a heading word */
.mark {
  background-image: linear-gradient(var(--cobalt), var(--cobalt));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 3px;
  padding-bottom: .04em;
}
.surface-dark .mark { background-image: linear-gradient(var(--cobalt-lift), var(--cobalt-lift)); }

/* ==========================================================================
   05  ENGINEERING MOTIFS
   ========================================================================== */

/* -- Station header: number + rule + label ------------------------------- */
.station {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 3vw, 3rem);
}
.station__no {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: .14em;
  color: var(--cobalt);
  font-weight: 500;
  white-space: nowrap;
}
.surface-dark .station__no { color: var(--cobalt-lift); }
.station__line { height: 1px; background: var(--rule); }
.surface-dark .station__line { background: var(--rule-dk); }

/* -- Outlined numeral ---------------------------------------------------- */
.numeral {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--rule-strong);
  display: block;
}
.surface-dark .numeral { -webkit-text-stroke-color: rgba(255,255,255,.34); }
.numeral--solid { color: var(--cobalt); -webkit-text-stroke: 0; }
.surface-dark .numeral--solid { color: var(--cobalt-lift); }

/* -- Diagonal webbing band: the signature motif -------------------------- */
.webbing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.webbing::before {
  content: "";
  position: absolute; inset: -20% -10%;
  z-index: -1;
  background: repeating-linear-gradient(
    102deg,
    transparent 0 26px,
    var(--rule-soft) 26px 27px,
    transparent 27px 54px
  );
  pointer-events: none;
}
.surface-dark.webbing::before {
  background: repeating-linear-gradient(
    102deg,
    transparent 0 26px,
    var(--rule-dk-soft) 26px 27px,
    transparent 27px 54px
  );
}

/* -- Tick strip: measured rhythm along an edge --------------------------- */
.ticks {
  height: 10px;
  background-image: repeating-linear-gradient(
    to right, var(--rule-strong) 0 1px, transparent 1px 24px
  );
  opacity: .55;
}
.surface-dark .ticks { background-image: repeating-linear-gradient(to right, rgba(255,255,255,.34) 0 1px, transparent 1px 24px); }

/* -- Corner registration marks ------------------------------------------ */
.regmark { position: relative; }
.regmark::before, .regmark::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
}
.regmark::before { top: -1px; left: -1px; border-top: 2px solid var(--cobalt); border-left: 2px solid var(--cobalt); }
.regmark::after  { bottom: -1px; right: -1px; border-bottom: 2px solid var(--cobalt); border-right: 2px solid var(--cobalt); }
.surface-dark .regmark::before, .surface-dark .regmark::after { border-color: var(--cobalt-lift); }

/* -- Spec plate: bordered block with a labelled header bar --------------- */
.plate {
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
}
.surface-dark .plate { background: var(--gr-800); border-color: var(--rule-dk); }
.plate__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .95rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: var(--t-tag);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.surface-dark .plate__bar { border-bottom-color: var(--rule-dk); color: var(--steel-300); }
.plate__bar b { color: var(--cobalt); font-weight: 500; }
.surface-dark .plate__bar b { color: var(--cobalt-lift); }
.plate__body { padding: clamp(1.1rem, 2vw, 1.65rem); flex: 1; }

/* -- Vertical technical label ------------------------------------------- */
.vlabel {
  writing-mode: vertical-rl;
  font-family: var(--f-mono);
  font-size: var(--t-tag);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--steel-500);
  white-space: nowrap;
}

/* -- Data row list ------------------------------------------------------- */
.datalist { border-top: 1px solid var(--rule); }
.datalist li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: .25rem 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.surface-dark .datalist, .surface-dark .datalist li { border-color: var(--rule-dk); }
.datalist__k { font-family: var(--f-mono); font-size: var(--t-micro); color: var(--cobalt); letter-spacing: .1em; padding-top: .18rem; }
.surface-dark .datalist__k { color: var(--cobalt-lift); }
.datalist__t { font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.datalist__d { grid-column: 2; font-size: var(--t-small); color: var(--text-2); line-height: 1.55; }
.surface-dark .datalist__d { color: var(--text-dk-2); }

/* ==========================================================================
   06  COMPONENTS
   ========================================================================== */

/* -- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--cobalt);
  --btn-fg: #fff;
  --btn-bd: var(--cobalt);
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .82rem 1.35rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-family: var(--f-body);
  font-size: var(--t-small); font-weight: 600; letter-spacing: .01em;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); transform: translateY(-1px); }
.btn__arw { transition: transform var(--dur-fast) var(--ease); flex: none; }
.btn:hover .btn__arw { transform: translateX(4px); }

.btn--line { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--rule-strong); }
.btn--line:hover { background: var(--gr-900); color: #fff; border-color: var(--gr-900); }

.btn--ghost-dk { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--ghost-dk:hover { background: #fff; color: var(--gr-900); border-color: #fff; }

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

/* -- Animated text link -------------------------------------------------- */
.tlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: var(--t-small);
  text-decoration: none; color: var(--cobalt);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size var(--dur) var(--ease);
}
.tlink:hover, .tlink:focus-visible { background-size: 100% 1px; }
.surface-dark .tlink { color: var(--cobalt-lift); }
.tlink__arw { transition: transform var(--dur-fast) var(--ease); }
.tlink:hover .tlink__arw { transform: translateX(3px); }

/* -- Figures: images always render at their natural aspect ratio --------- */
.fig { margin: 0; position: relative; }
.fig img { width: 100%; height: auto; }
.fig--framed {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(.5rem, 1vw, .75rem);
}
.surface-dark .fig--framed { background: var(--gr-800); border-color: var(--rule-dk); }
.fig__cap {
  display: flex; gap: .6rem; align-items: baseline;
  margin-top: .7rem;
  font-family: var(--f-mono);
  font-size: var(--t-tag);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--steel-600);
}
.fig__cap b { color: var(--cobalt); font-weight: 500; flex: none; }
.surface-dark .fig__cap { color: var(--steel-300); }
.surface-dark .fig__cap b { color: var(--cobalt-lift); }

.fig--zoom { overflow: hidden; }
.fig--zoom img { transition: transform 1.1s var(--ease); }
.fig--zoom:hover img { transform: scale(1.035); }

/* -- Accordion ----------------------------------------------------------- */
.acc { border-top: 1px solid var(--rule); }
.acc__item { border-bottom: 1px solid var(--rule); }
.acc__btn {
  width: 100%; display: grid; grid-template-columns: 2.75rem 1fr auto;
  gap: 1rem; align-items: start; text-align: left;
  padding: 1.35rem 0;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1rem, .96rem + .3vw, 1.15rem);
  letter-spacing: -0.012em; line-height: 1.35;
  transition: color var(--dur-fast) var(--ease);
}
.acc__btn:hover { color: var(--cobalt); }
.acc__no { font-family: var(--f-mono); font-size: var(--t-micro); font-weight: 400; color: var(--cobalt); letter-spacing: .1em; padding-top: .3rem; }
.acc__ico { position: relative; width: 16px; height: 16px; margin-top: .4rem; flex: none; }
.acc__ico::before, .acc__ico::after {
  content: ""; position: absolute; background: var(--gr-900);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.acc__ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc__ico::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.acc__btn[aria-expanded="true"] .acc__ico::after { transform: rotate(90deg); opacity: 0; }
.acc__btn[aria-expanded="true"] { color: var(--cobalt); }
.acc__btn[aria-expanded="true"] .acc__ico::before { background: var(--cobalt); }
.acc__panel { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows var(--dur) var(--ease); }
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__inner { min-height: 0; }
.acc__copy {
  padding: 0 2.5rem 1.5rem 3.75rem;
  color: var(--text-2); font-size: var(--t-small); line-height: 1.68;
  max-width: 78ch;
}
.acc__copy p { margin-bottom: .85em; }

/* -- Forms --------------------------------------------------------------- */
.field { display: block; margin-bottom: 1.15rem; }
.field__l {
  display: block; margin-bottom: .4rem;
  font-family: var(--f-mono); font-size: var(--t-tag);
  letter-spacing: .13em; text-transform: uppercase; color: var(--steel-600);
}
.field__l .req { color: var(--cobalt); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: .8rem .9rem;
  font-size: var(--t-small);
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel-500); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: inset 0 0 0 1px var(--cobalt);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field__err {
  display: none; margin-top: .4rem;
  font-size: var(--t-micro); color: var(--signal); font-weight: 600;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea { border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }
.field[data-invalid="true"] .field__err { display: block; }
.form-note {
  font-size: var(--t-micro); color: var(--steel-600); line-height: 1.6;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule);
}

/* -- Notice panel (the only place amber appears) ------------------------- */
.notice {
  border: 1px solid rgba(179, 84, 10, .35);
  background: rgba(179, 84, 10, .06);
  padding: clamp(1.1rem, 2vw, 1.6rem);
}
.notice__h {
  font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .14em;
  text-transform: uppercase; color: var(--signal); margin-bottom: .6rem;
  display: flex; align-items: center; gap: .5rem;
}
.notice p { font-size: var(--t-small); color: var(--text-2); }

/* -- Horizontal catalogue rail ------------------------------------------ */
.rail-wrap { position: relative; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 1px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  background: var(--rule);
  border: 1px solid var(--rule);
  scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: var(--shell-2); }
.rail::-webkit-scrollbar-thumb { background: var(--steel-300); }
.rail-nav { display: flex; gap: .5rem; }
.rail-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--rule-strong);
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.rail-btn:hover { background: var(--gr-900); color: #fff; border-color: var(--gr-900); }
.rail-btn[disabled] { opacity: .3; pointer-events: none; }

/* ==========================================================================
   07  HEADER & NAVIGATION
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--shell-1);
  transition: box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.site-head[data-stuck="true"] {
  background: rgba(244, 242, 237, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}

/* utility strip */
.util {
  background: var(--gr-900);
  color: var(--steel-300);
  height: var(--util);
  display: flex; align-items: center;
  font-family: var(--f-mono);
  font-size: var(--t-tag);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: height var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  overflow: hidden;
}
.site-head[data-stuck="true"] .util { height: 0; opacity: 0; }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }
.util__l { color: var(--steel-300); }
.util__r { display: flex; gap: 1.5rem; align-items: center; }
.util a { text-decoration: none; color: var(--steel-300); transition: color var(--dur-fast) var(--ease); }
.util a:hover { color: #fff; }
.util__dot { width: 5px; height: 5px; background: var(--cobalt-lift); display: inline-block; margin-right: .5rem; vertical-align: middle; }

/* main bar */
.nav-bar {
  height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  border-bottom: 1px solid transparent;
  transition: height var(--dur-fast) var(--ease);
}
.site-head[data-stuck="true"] .nav-bar { height: var(--hdr-tight); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__mk { width: 34px; height: 34px; flex: none; }
.brand__tx { display: flex; flex-direction: column; line-height: 1; }
.brand__n {
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: -0.028em; color: var(--gr-900);
}
.brand__s {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--steel-600); margin-top: 4px;
}

.nav { display: none; }
@media (min-width: 1060px) {
  .nav { display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.35rem); }
}
.nav__a {
  position: relative;
  text-decoration: none;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--steel-700);
  padding: .45rem 0;
  transition: color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav__a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--cobalt);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__a:hover { color: var(--gr-900); }
.nav__a:hover::after { transform: scaleX(1); }
.nav__a[aria-current="page"] { color: var(--gr-900); font-weight: 600; }
.nav__a[aria-current="page"]::after { transform: scaleX(1); }

.head-cta { display: none; }
@media (min-width: 1060px) { .head-cta { display: inline-flex; } }

.burger {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: var(--t-tag);
  letter-spacing: .14em; text-transform: uppercase; color: var(--gr-900);
  padding: .55rem .1rem;
}
@media (min-width: 1060px) { .burger { display: none; } }
.burger__b { display: block; width: 22px; height: 12px; position: relative; }
.burger__b::before, .burger__b::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--gr-900);
  transition: transform var(--dur) var(--ease);
}
.burger__b::before { top: 0; }
.burger__b::after  { bottom: 0; }

/* mobile panel */
.mnav {
  position: fixed; inset: 0; z-index: 150;
  background: var(--gr-900); color: #fff;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform var(--dur) var(--ease);
  overflow-y: auto;
  visibility: hidden;
}
.mnav[data-open="true"] { transform: translateY(0); visibility: visible; }
.mnav__top {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--hdr); flex: none;
  border-bottom: 1px solid var(--rule-dk);
}
.mnav__brand { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.028em; font-size: 1.0625rem; }
.mnav__x {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel-300);
}
.mnav__list { flex: 1; padding-block: 1rem 2rem; }
.mnav__list li { border-bottom: 1px solid var(--rule-dk-soft); }
.mnav__a {
  display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem;
  padding: 1.05rem 0;
  text-decoration: none; color: #fff;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.25rem, 5vw, 1.6rem); letter-spacing: -0.02em;
}
.mnav__a .n { font-family: var(--f-mono); font-size: var(--t-micro); font-weight: 400; color: var(--cobalt-lift); letter-spacing: .1em; }
.mnav__a[aria-current="page"] { color: var(--cobalt-lift); }
.mnav__foot { flex: none; padding-block: 1.5rem 2.25rem; border-top: 1px solid var(--rule-dk); }
.mnav__foot .btn { width: 100%; justify-content: center; margin-bottom: 1rem; }
.mnav__contact { display: flex; flex-direction: column; gap: .5rem; }
.mnav__contact a { color: var(--steel-300); text-decoration: none; font-size: var(--t-small); }
.mnav__contact a:hover { color: #fff; }
body[data-lock="true"] { overflow: hidden; }

/* ==========================================================================
   08  FOOTER
   ========================================================================== */
.site-foot { background: var(--gr-900); color: var(--text-dk-2); }
.foot-top { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.foot-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 720px)  { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.foot-brand__n { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: #fff; letter-spacing: -0.028em; }
.foot-brand__s { font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .2em; text-transform: uppercase; color: var(--cobalt-lift); margin-top: .35rem; }
.foot-blurb { font-size: var(--t-small); line-height: 1.7; margin-top: 1.1rem; max-width: 38ch; }

.foot-h {
  font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .16em;
  text-transform: uppercase; color: #fff; margin-bottom: 1.15rem;
}
.foot-list li + li { margin-top: .6rem; }
.foot-list a { font-size: var(--t-small); text-decoration: none; color: var(--text-dk-2); transition: color var(--dur-fast) var(--ease); }
.foot-list a:hover { color: #fff; }
.foot-contact a { display: block; font-size: var(--t-small); text-decoration: none; color: var(--text-dk-2); word-break: break-word; transition: color var(--dur-fast) var(--ease); }
.foot-contact a:hover { color: var(--cobalt-lift); }
.foot-contact dt { font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); margin-bottom: .2rem; }
.foot-contact dd { margin: 0 0 1rem; }

.socials { display: flex; gap: .55rem; margin-top: 1.4rem; }
.soc {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--rule-dk); color: var(--steel-300);
}
.soc svg { width: 16px; height: 16px; fill: currentColor; }

.foot-bottom {
  border-top: 1px solid var(--rule-dk);
  padding-block: 1.35rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: var(--t-micro); color: var(--steel-500);
}
.foot-bottom a { color: var(--steel-300); text-decoration: none; }
.foot-bottom a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   09  PAGE COMPOSITIONS
   ========================================================================== */

/* ---- Masthead used by inner pages (each page restyles it) -------------- */
.mast { padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); position: relative; }
.mast__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.1rem; border-top: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: var(--t-tag);
  letter-spacing: .12em; text-transform: uppercase; color: var(--steel-600);
}
.mast__meta b { color: var(--cobalt); font-weight: 500; }
.surface-dark .mast__meta { border-top-color: var(--rule-dk); color: var(--steel-300); }
.surface-dark .mast__meta b { color: var(--cobalt-lift); }

/* ---- HOME: hero -------------------------------------------------------- */
.hero { position: relative; background: var(--shell-1); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: end; padding-block: clamp(2.5rem, 5vw, 4.5rem) 0; }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 4vw, 4rem); }
}
.hero__copy { position: relative; z-index: 2; }
.hero__h { font-size: var(--t-mega); line-height: .96; letter-spacing: -0.038em; font-weight: 800; }
.hero__h .ln { display: block; }
.hero__lead { margin-top: clamp(1.25rem, 2.4vw, 1.85rem); max-width: 44ch; }
.hero__cta { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero__media { position: relative; }
.hero__media .fig img { width: 100%; }
.hero__ident {
  position: absolute; top: 0; right: 0;
  display: none;
}
@media (min-width: 980px) { .hero__ident { display: block; } }
.hero__bar {
  margin-top: clamp(2.5rem, 4vw, 3.75rem);
  border-top: 1px solid var(--rule);
  display: grid; gap: 0;
}
@media (min-width: 620px) { .hero__bar { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .hero__bar { grid-template-columns: repeat(4, 1fr); } }
.hero__cell { padding: 1.15rem 1.25rem 1.35rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 620px) { .hero__cell + .hero__cell { border-left: 1px solid var(--rule); padding-left: 1.25rem; } }
@media (min-width: 980px) { .hero__cell { border-bottom: 0; } }
.hero__k { font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); display: block; margin-bottom: .45rem; }
.hero__v { font-size: var(--t-small); color: var(--text-2); line-height: 1.55; }

/* ---- HOME: intro overlap ---------------------------------------------- */
.intro-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 940px) { .intro-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.intro-media { position: relative; }
.intro-media__plate {
  position: absolute; z-index: 0;
  background: var(--gr-900);
}
@media (min-width: 940px) { .intro-media__plate { inset: auto -2.5rem -2.5rem 4rem; height: 62%; } }
.intro-media .fig { position: relative; z-index: 1; }
.intro-vlabel { display: none; }
@media (min-width: 940px) {
  .intro-vlabel { display: block; position: absolute; left: -2.25rem; top: 0; }
}

/* ---- HOME: system diagram --------------------------------------------- */
.sys-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 940px) { .sys-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }

/* ---- HOME: capability strip ------------------------------------------- */
.cap-strip { display: grid; gap: 0; border-top: 1px solid var(--rule-dk); }
@media (min-width: 640px)  { .cap-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cap-strip { grid-template-columns: repeat(5, 1fr); } }
.cap {
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.1rem, 1.8vw, 1.6rem) clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--rule-dk);
}
@media (min-width: 640px) {
  .cap { padding-left: clamp(1.1rem, 1.8vw, 1.6rem); }
  .cap:nth-child(odd) { padding-left: 0; }
  .cap + .cap { border-left: 1px solid var(--rule-dk); }
  .cap:nth-child(odd) { border-left: 0; }
}
@media (min-width: 1000px) {
  .cap { padding-left: clamp(1.1rem, 1.8vw, 1.6rem); border-bottom: 0; }
  .cap:first-child { padding-left: 0; }
  .cap + .cap { border-left: 1px solid var(--rule-dk); }
  .cap:nth-child(odd) { border-left: 1px solid var(--rule-dk); padding-left: clamp(1.1rem, 1.8vw, 1.6rem); }
  .cap:first-child { border-left: 0; padding-left: 0; }
}
.cap__h { font-size: 1.0625rem; margin: 1rem 0 .55rem; }
.cap__d { font-size: var(--t-small); color: var(--text-dk-2); line-height: 1.6; }

/* ---- HOME: catalogue rail cards --------------------------------------- */
.cat {
  background: var(--paper);
  padding: clamp(1.25rem, 2vw, 1.65rem);
  display: flex; flex-direction: column;
  transition: background var(--dur-fast) var(--ease);
}
.cat:hover { background: var(--shell-1); }
.cat__no { font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .14em; color: var(--cobalt); }
.cat__gl { margin: 1.15rem 0 1.35rem; height: 92px; display: grid; place-items: center; }
.cat__gl svg { height: 100%; width: auto; max-width: 100%; }
.cat__h { font-size: 1.0625rem; margin-bottom: .5rem; }
.cat__d { font-size: var(--t-small); color: var(--text-2); line-height: 1.6; flex: 1; }
.cat__app {
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel-600);
}
.cat__cta { margin-top: 1rem; }

/* ---- HOME: quality checklist ------------------------------------------ */
.qgrid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 940px) { .qgrid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
@media (min-width: 940px) { .qgrid__head { position: sticky; top: calc(var(--hdr) + 2rem); } }

/* ---- HOME/APPLICATIONS: expanding type rows --------------------------- */
.rows { border-top: 1px solid var(--rule-dk); }
.row-item { border-bottom: 1px solid var(--rule-dk); }
.row-link {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: .5rem 1.25rem;
  align-items: baseline;
  padding: clamp(1.15rem, 2.2vw, 1.75rem) 0;
  text-decoration: none;
  transition: padding-left var(--dur) var(--ease);
}
@media (min-width: 860px) { .row-link { grid-template-columns: 3.25rem minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; } }
.row-link:hover { padding-left: .85rem; }
.row-no { font-family: var(--f-mono); font-size: var(--t-micro); color: var(--cobalt-lift); letter-spacing: .1em; }
.row-h {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.25rem);
  letter-spacing: -0.028em; color: #fff; line-height: 1.1;
}
.row-d { font-size: var(--t-small); color: var(--text-dk-2); line-height: 1.6; }
.row-arw { color: var(--cobalt-lift); transition: transform var(--dur) var(--ease); display: none; }
@media (min-width: 860px) { .row-arw { display: block; } }
.row-link:hover .row-arw { transform: translateX(6px); }

/* ---- Final CTA --------------------------------------------------------- */
.cta-final { text-align: left; }
.cta-h { font-size: var(--t-h1); letter-spacing: -0.032em; max-width: 18ch; }
.cta-lines { display: grid; gap: 1px; margin-top: clamp(2rem, 4vw, 3rem); background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 720px) { .cta-lines { grid-template-columns: 1fr 1fr; } }
.cta-line {
  background: var(--paper);
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  text-decoration: none; display: block;
  transition: background var(--dur-fast) var(--ease);
}
.cta-line:hover { background: var(--cobalt); }
.cta-line:hover .cta-line__k, .cta-line:hover .cta-line__v, .cta-line:hover .cta-line__arw { color: #fff; }
.cta-line__k { font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); display: block; margin-bottom: .55rem; transition: color var(--dur-fast) var(--ease); }
.cta-line__v { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.0625rem, .95rem + .6vw, 1.5rem); letter-spacing: -0.022em; color: var(--gr-900); word-break: break-word; transition: color var(--dur-fast) var(--ease); }

/* ---- ABOUT: values list ------------------------------------------------ */
.values { border-top: 1px solid var(--rule); }
.value { border-bottom: 1px solid var(--rule); display: grid; gap: .4rem 1.5rem; padding: clamp(1.35rem, 2.6vw, 2.1rem) 0; }
@media (min-width: 860px) { .value { grid-template-columns: 4.5rem minmax(0, 12rem) minmax(0, 1fr); align-items: baseline; } }
.value__n { font-family: var(--f-mono); font-size: var(--t-micro); color: var(--cobalt); letter-spacing: .1em; }
.value__h { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); letter-spacing: -0.028em; }
.value__d { color: var(--text-2); font-size: var(--t-small); line-height: 1.68; max-width: 60ch; }

/* ---- MANUFACTURING: process tour -------------------------------------- */
.tour { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) { .tour { grid-template-columns: 15rem minmax(0, 1fr); } }
.tour__index { display: none; }
@media (min-width: 1000px) {
  .tour__index { display: block; position: sticky; top: calc(var(--hdr) + 2.25rem); }
}
.tour__index li + li { margin-top: .1rem; }
.tour__ia {
  display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; align-items: center;
  padding: .6rem 0; text-decoration: none;
  border-left: 2px solid transparent; padding-left: .9rem;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  color: var(--steel-600);
}
.tour__ia .n { font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .1em; }
.tour__ia .t { font-family: var(--f-display); font-weight: 600; font-size: .9375rem; letter-spacing: -0.012em; }
.tour__ia:hover { color: var(--gr-900); }
.tour__ia[data-active="true"] { border-left-color: var(--cobalt); color: var(--cobalt); }

.stationblk { padding-block: clamp(2.25rem, 4.5vw, 4rem); border-top: 1px solid var(--rule); }
.stationblk:first-child { border-top: 0; padding-top: 0; }
.stationblk__head { display: grid; gap: .75rem 1.5rem; margin-bottom: clamp(1.25rem, 2.5vw, 1.85rem); }
@media (min-width: 720px) { .stationblk__head { grid-template-columns: 5.5rem 1fr; align-items: start; } }
.stationblk__body { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 720px) { .stationblk__body { grid-template-columns: 5.5rem 1fr; } }
.stationblk__spine { display: none; }
@media (min-width: 720px) { .stationblk__spine { display: block; } }

/* ---- PRODUCTS: catalogue entries -------------------------------------- */
.entry { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--rule); }
.entry__grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; }
@media (min-width: 900px) {
  .entry__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .entry--flip .entry__media { order: 2; }
}
.entry__no { font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .16em; color: var(--cobalt); margin-bottom: .8rem; display: block; }
.entry__h { font-size: var(--t-h3); margin-bottom: .85rem; }
.spec { border-top: 1px solid var(--rule); margin-top: 1.5rem; }
.spec div { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr; gap: .35rem 1.25rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-600); }
.spec dd { margin: 0; font-size: var(--t-small); color: var(--text-2); line-height: 1.6; }
.glyph-plate {
  border: 1px solid var(--rule); background: var(--paper);
  display: grid; place-items: center; padding: clamp(2rem, 5vw, 3.5rem);
}
.glyph-plate svg { width: 100%; max-width: 340px; height: auto; }

/* ---- QUALITY: document sections --------------------------------------- */
.doc { display: grid; gap: clamp(1rem, 2.5vw, 2.5rem); padding-block: clamp(2.25rem, 4vw, 3.5rem); border-top: 1px solid var(--rule); }
@media (min-width: 880px) { .doc { grid-template-columns: 8rem minmax(0, 1fr); } }
.doc__no { font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: .14em; color: var(--cobalt); }
.doc__h { font-size: var(--t-h3); margin-bottom: .9rem; }
.doc__body { max-width: 72ch; color: var(--text-2); }
.doc__body p { margin-bottom: .95em; }
.doc__body strong { color: var(--text); font-weight: 600; }

/* ---- APPLICATIONS: mosaic --------------------------------------------- */
.mosaic { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(12, 1fr); align-items: end; } }
.mos-a { grid-column: 1 / span 7; }
.mos-b { grid-column: 8 / span 5; }
.mos-c { grid-column: 3 / span 6; }

.app-block { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
@media (min-width: 900px) {
  .app-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .app-block--flip .app-block__media { order: 2; }
}

/* ---- FAQ --------------------------------------------------------------- */
.faq-group { padding-block: clamp(2rem, 4vw, 3.25rem); }
.faq-group__head { display: grid; gap: .5rem 1.5rem; margin-bottom: 1.25rem; }
@media (min-width: 760px) { .faq-group__head { grid-template-columns: 8rem 1fr; align-items: baseline; } }

/* ---- CONTACT ----------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); } }
.form-grid { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .field--full { grid-column: 1 / -1; }

/* ---- 404 --------------------------------------------------------------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; }

/* ==========================================================================
   10  MOTION
   ========================================================================== */
[data-rv] { opacity: 0; transform: translateY(18px); }
[data-rv][data-shown="true"] { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-rv-d="1"][data-shown="true"] { transition-delay: .07s; }
[data-rv-d="2"][data-shown="true"] { transition-delay: .14s; }
[data-rv-d="3"][data-shown="true"] { transition-delay: .21s; }
[data-rv-d="4"][data-shown="true"] { transition-delay: .28s; }

/* line-draw for technical rules */
[data-draw] { transform: scaleX(0); transform-origin: left; }
[data-draw][data-shown="true"] { transform: scaleX(1); transition: transform .9s var(--ease); }

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

/* ==========================================================================
   11  RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 620px) {
  .hero__h { font-size: clamp(2.375rem, 9.5vw, 3rem); }
  .acc__btn { grid-template-columns: 2.25rem 1fr auto; gap: .75rem; }
  .acc__copy { padding: 0 0 1.35rem 3rem; }
  .util { font-size: 10px; letter-spacing: .08em; }
  .util__l { display: none; }
  .util__r { width: 100%; justify-content: space-between; gap: .75rem; }
  .spec div { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .util__r a span.lbl { display: none; }
}

/* ==========================================================================
   12  PAGE-SPECIFIC COMPOSITIONS (continued)
   ========================================================================== */

/* ---- Breadcrumbs -------------------------------------------------------- */
.crumbs { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.crumbs li {
  font-family: var(--f-mono); font-size: var(--t-tag);
  letter-spacing: .12em; text-transform: uppercase; color: var(--steel-600);
}
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: var(--rule-strong); }
.crumbs a { text-decoration: none; color: var(--steel-600); transition: color var(--dur-fast) var(--ease); }
.crumbs a:hover { color: var(--cobalt); }
.crumbs li[aria-current] { color: var(--gr-900); }
.surface-dark .crumbs li { color: var(--steel-300); }
.surface-dark .crumbs a { color: var(--steel-300); }
.surface-dark .crumbs a:hover { color: #fff; }
.surface-dark .crumbs li[aria-current] { color: #fff; }
.surface-dark .crumbs li + li::before { color: var(--rule-dk); }

/* ---- ABOUT masthead ----------------------------------------------------- */
.about-mast { background: var(--shell-1); }
.about-mast__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 980px) { .about-mast__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.about-mast__fig { max-width: 26rem; }
@media (min-width: 980px) { .about-mast__fig { max-width: none; } }

.split-editorial { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (min-width: 940px) { .split-editorial { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); } }

.pull {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1rem + 1.7vw, 2.375rem);
  line-height: 1.22;
  letter-spacing: -0.028em;
  color: #fff;
  max-width: 30ch;
  border-left: 3px solid var(--cobalt-lift);
  padding-left: clamp(1rem, 2vw, 1.75rem);
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.why-grid { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
@media (min-width: 720px)  { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-grid h3 { color: #fff; margin-bottom: .6rem; }
.why-grid p { font-size: var(--t-small); color: var(--text-dk-2); line-height: 1.65; }

.plate-grid { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); }
@media (min-width: 640px)  { .plate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .plate-grid { grid-template-columns: repeat(3, 1fr); } }
.plate-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .plate-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.plate--cta { background: var(--gr-900); border-color: var(--gr-900); color: var(--text-dk-2); }
.plate--cta .plate__bar { color: var(--steel-300); border-bottom-color: var(--rule-dk); }
.plate--cta .plate__bar b { color: var(--cobalt-lift); }
.plate--cta .prose { color: var(--text-dk-2); }
.plate--cta .tlink { color: var(--cobalt-lift); }

.people-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 940px) { .people-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.people-grid .fig { max-width: 24rem; }
@media (min-width: 940px) { .people-grid .fig { max-width: none; } }

/* ---- MANUFACTURING ------------------------------------------------------ */
.mfg-mast { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.diagram {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto;
}
.diagram > svg { width: 100%; min-width: 460px; height: auto; display: block; }
.hw-grid { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); align-items: start; }
@media (min-width: 760px) { .hw-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.hw-grid .fig { max-width: 22rem; }
@media (min-width: 760px) { .hw-grid .fig { max-width: none; } }

/* ---- PRODUCTS ----------------------------------------------------------- */
.prod-mast__grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
@media (min-width: 940px) { .prod-mast__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }

.jump { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 560px)  { .jump { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .jump { grid-template-columns: repeat(4, 1fr); } }
.jump a {
  display: flex; align-items: baseline; gap: .6rem;
  background: var(--paper);
  padding: .85rem 1rem;
  text-decoration: none;
  font-size: var(--t-small); font-weight: 500; color: var(--text);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.jump a span { font-family: var(--f-mono); font-size: var(--t-tag); color: var(--cobalt); flex: none; transition: color var(--dur-fast) var(--ease); }
.jump a:hover { background: var(--cobalt); color: #fff; }
.jump a:hover span { color: #fff; }

.entry:first-of-type { border-top: 0; }
.entry .fig, .entry .glyph-plate { max-width: 30rem; }
@media (min-width: 900px) { .entry .fig, .entry .glyph-plate { max-width: none; } }

/* ---- QUALITY ------------------------------------------------------------ */
.qual-mast { padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(1.5rem, 3vw, 2.25rem); }
.docwrap { border-bottom: 1px solid var(--rule); }
.doc:first-child { border-top: 0; padding-top: 0; }
.doc__nolbl {
  display: block; margin-top: .35rem;
  font-family: var(--f-mono); font-size: var(--t-tag);
  letter-spacing: .12em; text-transform: uppercase; color: var(--steel-600);
}
.qfig { display: grid; gap: clamp(1.5rem, 2.5vw, 2rem); align-items: start; margin-top: 1.75rem; }
@media (min-width: 880px) { .qfig { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.qfig .fig { max-width: 26rem; }
@media (min-width: 880px) { .qfig .fig { max-width: none; } }

/* ---- APPLICATIONS ------------------------------------------------------- */
.app-mast { padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(1.5rem, 3vw, 2.25rem); }
.app-block:first-of-type { border-top: 0; }
.app-block .numeral { font-size: clamp(3.5rem, 8vw, 6.5rem); }

/* ---- FAQ ---------------------------------------------------------------- */
.faq-mast { padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.faq-mast__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 940px) { .faq-mast__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.faq-jump { display: grid; gap: 1px; margin-top: 1.75rem; background: var(--rule-dk); border: 1px solid var(--rule-dk); }
@media (min-width: 560px) { .faq-jump { grid-template-columns: repeat(2, 1fr); } }
.faq-jump a {
  display: flex; align-items: baseline; gap: .65rem;
  background: var(--gr-900); padding: .85rem 1rem;
  text-decoration: none; font-size: var(--t-small); font-weight: 500; color: #fff;
  transition: background var(--dur-fast) var(--ease);
}
.faq-jump a span { font-family: var(--f-mono); font-size: var(--t-tag); color: var(--cobalt-lift); flex: none; }
.faq-jump a:hover { background: var(--cobalt); }
.faq-group + .faq-group { border-top: 1px solid var(--rule); }
.faq-group:first-of-type { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* ---- CONTACT ------------------------------------------------------------ */
.con-mast { padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(1.5rem, 3vw, 2.25rem); }
.contact-lines { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 760px) { .contact-lines { grid-template-columns: 1fr 1fr; } }
.contact-line {
  display: grid; gap: .5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(1.35rem, 2.6vw, 2rem);
  text-decoration: none;
  position: relative;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.contact-line:hover { background: var(--gr-900); border-color: var(--gr-900); transform: translateY(-2px); }
.contact-line__k { font-family: var(--f-mono); font-size: var(--t-tag); letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); transition: color var(--dur-fast) var(--ease); }
.contact-line__v {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.875rem);
  letter-spacing: -0.028em; color: var(--gr-900); word-break: break-word;
  transition: color var(--dur-fast) var(--ease);
}
.contact-line__d { font-size: var(--t-small); color: var(--text-2); line-height: 1.6; transition: color var(--dur-fast) var(--ease); }
.contact-line__arw { color: var(--cobalt); transition: transform var(--dur) var(--ease), color var(--dur-fast) var(--ease); justify-self: start; margin-top: .3rem; }
.contact-line:hover .contact-line__k { color: var(--cobalt-lift); }
.contact-line:hover .contact-line__v { color: #fff; }
.contact-line:hover .contact-line__d { color: var(--steel-300); }
.contact-line:hover .contact-line__arw { color: var(--cobalt-lift); transform: translateX(6px); }
.contact-line:hover::before, .contact-line:hover::after { border-color: var(--cobalt-lift); }

.form-plate { background: var(--paper); border: 1px solid var(--rule); }
.form-plate .plate__body { padding: clamp(1.25rem, 2.4vw, 2rem); }
.form-status {
  margin-top: 1rem; font-size: var(--t-small); line-height: 1.6;
  padding: .75rem .9rem; border-left: 3px solid transparent; display: none;
}
.form-status[data-state="error"] { display: block; border-left-color: var(--signal); background: rgba(179,84,10,.06); color: var(--signal); font-weight: 600; }
.form-status[data-state="ok"] { display: block; border-left-color: var(--cobalt); background: var(--cobalt-wash); color: var(--cobalt-deep); font-weight: 600; }

/* ---- 404 ---------------------------------------------------------------- */
.nf .tag { display: flex; }
.nf .shell { text-align: center; }

/* ==========================================================================
   13  RESPONSIVE FINE-TUNING
   ========================================================================== */
@media (max-width: 899px) {
  .mos-a, .mos-b, .mos-c { grid-column: auto; }
  .mos-b { max-width: 82%; }
  .mos-c { max-width: 90%; margin-left: auto; }
}
@media (max-width: 719px) {
  .stationblk__head { grid-template-columns: 1fr; }
  .value { grid-template-columns: 1fr; }
  .doc__no { display: flex; gap: .75rem; align-items: baseline; }
  .doc__nolbl { margin-top: 0; }
}
@media (max-width: 559px) {
  .mos-b, .mos-c { max-width: 100%; margin-left: 0; }
  .hero__cell { padding-right: 0; }
  .btn { padding: .78rem 1.15rem; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .contact-line { padding: 1.25rem; }
  .rail { grid-auto-columns: minmax(240px, 82vw); }
}

/* Hero display type sets tighter than body copy, so the marker rule is lifted
   clear of the line beneath it. */
.hero__h .mark, .h-mega .mark { background-size: 100% 4px; background-position: 0 86%; }

/* Catalogue glyphs render a little larger so the line work reads at card size. */
.cat__gl { height: 104px; }

/* Station numerals need their own column width: two wide digits ("04") exceed
   a 5.5rem track at large viewports and would run into the heading. */
@media (min-width: 720px) {
  .stationblk__head, .stationblk__body { grid-template-columns: 7.5rem 1fr; }
}
.stationblk__head .numeral { font-size: clamp(2.75rem, 4.6vw, 4.25rem); }

/* .surface-dark p sets the muted body colour; the pull statement overrides it. */
.surface-dark .pull { color: #fff; }

/* Document sections keep a comfortable prose measure, but figures and data
   lists inside them use the full column width. */
.doc__body { max-width: none; }
.doc__body > p, .doc__body > h3 { max-width: 72ch; }

/* ==========================================================================
   14  OVERFLOW GUARDS
   Grid and flex children default to min-width:auto, so a wide child (the
   technical diagrams carry a min-width so their annotations stay legible)
   can push a track past the viewport. These reset that minimum and keep the
   scrolling to the element that is meant to scroll.
   ========================================================================== */
.tour, .tour__stream, .stationblk, .stationblk__head, .stationblk__body,
.entry__grid, .qfig, .doc, .app-block, .contact-grid, .hw-grid,
.intro-grid, .sys-grid, .qgrid, .split-editorial, .people-grid,
.about-mast__grid, .prod-mast__grid, .faq-mast__grid, .cols-2 { min-width: 0; }
.tour > *, .stationblk__head > *, .stationblk__body > *, .cols-2 > *,
.entry__grid > *, .qfig > *, .doc > *, .app-block > *, .contact-grid > *,
.hw-grid > *, .intro-grid > *, .sys-grid > *, .qgrid > *,
.split-editorial > *, .people-grid > *, .about-mast__grid > *,
.prod-mast__grid > *, .faq-mast__grid > * { min-width: 0; }
.diagram { max-width: 100%; }

/* Station labels are long on inner pages; below the tablet break they wrap
   instead of forcing the row wider than the screen. */
@media (max-width: 719px) {
  .station { grid-template-columns: 1fr; gap: .6rem; }
  .station__no { white-space: normal; }
  .station__line { display: none; }
}

/* Very small handsets: the header reduces to the mark, a compact wordmark and
   an icon-only menu control so the bar never exceeds the viewport. */
@media (max-width: 374px) {
  .brand__mk { width: 28px; height: 28px; }
  .brand__n  { font-size: .9375rem; }
  .brand__s  { font-size: 8.5px; letter-spacing: .16em; }
  .brand     { gap: .55rem; }
  .nav-bar   { gap: .75rem; }
  .burger__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .burger    { gap: 0; padding: .55rem .25rem; }
}

/* The technical diagrams keep a minimum width so their annotations stay
   legible; on narrow screens they scroll inside their own frame, so the
   affordance is stated rather than left to be discovered. */
.diagram__hint { display: none; }
@media (max-width: 820px) {
  .diagram__hint {
    display: flex; align-items: center; gap: .4rem;
    margin: .7rem 0 0;
    font-family: var(--f-mono); font-size: var(--t-tag);
    letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt);
  }
  .diagram__hint svg { flex: none; width: 13px; height: 9px; }
}

/* Utility strip: the descriptor is dropped before it can wrap inside the
   fixed-height bar, and the contact links never break mid-number. */
.util a, .util__r { white-space: nowrap; }
@media (max-width: 940px) { .util__l { display: none; } }
@media (max-width: 940px) { .util__r { width: 100%; justify-content: space-between; gap: 1rem; } }

/* ==========================================================================
   15  CONTRAST CORRECTIONS
   Measured against WCAG AA (4.5:1 body, 3:1 large text) on the surface each
   element actually sits on.
   ========================================================================== */

/* Vertical spine labels sat at 4.48:1 on the warm ground — one step darker. */
.vlabel { color: var(--steel-600); }

/* The footer is a graphite surface but is not tagged .surface-dark, so the
   accent and link colours were still using the light-ground cobalt. */
.site-foot .accent,
.mnav .accent { color: var(--cobalt-lift); }
.site-foot .tlink { color: var(--cobalt-lift); }
.foot-contact dt { color: var(--steel-300); }
.foot-bottom { color: var(--steel-300); }

/* The notice panel now paints an opaque ground so its text contrast does not
   depend on whatever surface it happens to be placed over. */
.notice { background: #F8F1E9; border-color: rgba(179, 84, 10, .32); }
.surface-dark .notice { background: #2A1F14; border-color: rgba(240, 145, 47, .34); }
.surface-dark .notice__h { color: var(--signal-lift); }

/* ==========================================================================
   16  HEADER FIT & TOUCH TARGETS
   ========================================================================== */

/* Buttons never wrap: a two-line CTA was breaking out of the header bar. */
.btn { white-space: nowrap; }

/* The full horizontal nav plus the CTA needs ~1120px of bar; below that the
   slide-down menu is the better control, so the switch happens at 1180px. */
@media (min-width: 1060px) and (max-width: 1179.98px) {
  .nav, .head-cta { display: none; }
  .burger { display: inline-flex; }
}

/* Touch targets: every link in the utility strip, footer and mobile panel
   clears 24px of height, and the primary controls clear 40px. */
.util a { display: inline-flex; align-items: center; height: var(--util); }
.mnav__x { padding: .7rem .25rem; }
.foot-list a { display: inline-block; padding-block: .3rem; }
.foot-list li + li { margin-top: .3rem; }
.foot-contact a { display: inline-block; padding-block: .25rem; }
.foot-bottom a { display: inline-block; padding-block: .2rem; }
.crumbs a { display: inline-block; padding-block: .25rem; }

/* Padding is added at the top only on animated text links so the underline,
   which is anchored to the bottom of the box, stays tight to the text. */
.tlink { padding-top: 4px; }
.foot-contact a { padding-block: .45rem; }
.mnav__contact a { display: inline-block; padding-block: .4rem; }
.mnav__contact { gap: .25rem; }

/* inline-flex trims the trailing space in the "Call" label, so the gap is
   declared rather than relying on collapsed whitespace. */
.util a { gap: .35rem; }
