/* ============================================================
   AVIGHNN GLOBAL — Shared stylesheet
   Loaded by every page. Design tokens + components + layout.

   THEME: Light. The formerly dark bands (.bg-navy / .bg-navy-deep /
   .compliance / .footer / .detail-hero / .cta-band) are now tinted
   light surfaces. Class names are unchanged so the markup stays
   intact; ".on-dark" now means "on a tinted panel".

   CONTRAST: every text/background pair below is checked against
   WCAG AA (4.5:1 body text, 3:1 large text and UI strokes).
   ============================================================ */

:root {
  /* brand blues */
  --navy: #14345C;          /* headings, buttons, brand      12.4:1 on paper */
  --navy-deep: #0C2340;     /* deepest ink-blue              15.6:1 on paper */

  /* golds — three roles, so accents stay readable on light */
  --gold: #A67D26;          /* decorative: rules, borders, icons (3.2:1) */
  --gold-mid: #9A731F;      /* display / large text accents      (4.3:1) */
  --gold-ink: #856212;      /* small text: eyebrows, labels      (5.6:1) */
  --gold-fill: #C9A961;     /* button + highlight fills (dark text on top) */

  /* surfaces */
  --paper: #FBFAF7;         /* page base, warm white */
  --surface: #FFFFFF;       /* cards, blueprint sheet */
  --mist: #EFF3F8;          /* former .bg-navy */
  --slate: #E6EDF5;         /* former .bg-navy-deep */

  /* text */
  --ink: #17202B;           /* body                          14.9:1 on paper */
  --gray: #56606E;          /* muted body                     5.9:1 on paper */
  --gray-soft: #6A7380;     /* placeholders                   4.6:1 on paper */

  --hair: rgba(20, 52, 92, 0.14);
  --hair-strong: rgba(20, 52, 92, 0.26);
  --hair-cream: rgba(20, 52, 92, 0.16);  /* legacy name: dividers on panels */

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1200px;
  --pad-y: clamp(4rem, 9vw, 8rem);
  --pad-x: clamp(1.25rem, 4vw, 4rem);
}

/* ---------- 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(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--navy); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold-fill); color: var(--navy-deep); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 2px;
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--navy); color: #FFFFFF;
  padding: .75rem 1.25rem; font-family: var(--mono); font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.skip:focus { left: 0; }

/* ---------- type utilities ---------- */
.eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink);
  display: inline-flex; align-items: center; gap: .9rem;
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--gold); display: inline-block;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.center { justify-content: center; }

.h1 {
  font-family: var(--serif); font-weight: 300; color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05;
  letter-spacing: -0.025em;
}
.h2 {
  font-family: var(--serif); font-weight: 300; color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -0.02em;
}
.h3 {
  font-family: var(--serif); font-weight: 400; color: var(--navy);
  font-size: 1.3rem; letter-spacing: -0.01em;
}
.it-gold { font-style: italic; color: var(--gold-mid); }

.lede {
  font-weight: 300; color: var(--gray);
  font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.65; max-width: 48ch;
}
.mono-label {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
}
/* legacy hook: content sitting on a tinted panel */
.on-dark { color: var(--ink); }
.on-dark .lede { color: var(--gray); }
.on-dark .h2, .on-dark .h1 { color: var(--navy); }

/* ---------- layout shell ---------- */
.section { padding: var(--pad-y) var(--pad-x); position: relative; }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.bg-navy { background: var(--mist); color: var(--ink); }
.bg-navy-deep { background: var(--slate); color: var(--ink); }
/* two tinted bands in a row need a seam, or they read as one block */
.bg-navy + .bg-navy-deep, .bg-navy-deep + .bg-navy,
.bg-navy + .bg-navy, .bg-navy-deep + .bg-navy-deep,
.bg-navy + .cta-band, .bg-navy-deep + .cta-band { border-top: 1px solid var(--hair); }
.hair { border: 0; border-top: 1px solid var(--hair); margin: 0; }

.sec-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head .eyebrow { margin-bottom: 1.1rem; }
.head-center { text-align: center; max-width: 640px; margin: 0 auto clamp(3rem,6vw,4.5rem); }
.head-center .lede { margin: 1.1rem auto 0; }

/* ---------- reveal animation ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation: none !important; }
  /* extrusion motion: land on the finished state, never animate it */
  .prod-card[data-reveal]::before, .prod-card[data-reveal]::after { display: none !important; }
  .eyebrow::before, .track::before { transform: none !important; }
  .step[data-reveal] .node { transform: none !important; opacity: 1 !important; }
  /* the measured sheet is information, so keep it — just drawn already */
  .sd-seg { transform: scaleY(1) !important; }
  .sd-cap, .sd-label { opacity: 1 !important; }
}

/* ---------- buttons / links ---------- */
.btn {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .55rem;
  cursor: pointer; border: 0; background: none;
  transition: transform .2s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn .arw { transition: transform .2s ease; }
.btn-outline { border: 1px solid var(--navy); color: var(--navy); padding: .7rem 1.15rem; }
.btn-outline:hover { background: var(--navy); color: #FFFFFF; }
.btn-outline.on-dark-btn { border-color: var(--navy); color: var(--navy); }
.btn-outline.on-dark-btn:hover { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.btn-gold { background: var(--gold-fill); color: var(--navy-deep); padding: .95rem 1.5rem; font-size: .78rem; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(20,52,92,.18); }
.btn-gold:hover .arw { transform: translateX(3px); }
.btn-navy { background: var(--navy); color: #FFFFFF; padding: 1rem 1.6rem; font-size: .78rem; }
.btn-navy:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(20,52,92,.18); }
.btn-navy:hover .arw { transform: translateX(3px); }
.btn-navy.sent { background: var(--gold-fill); color: var(--navy-deep); }

.link-underline {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); border-bottom: 1px solid var(--hair-strong); padding-bottom: 3px;
  transition: border-color .2s ease, color .2s ease;
  display: inline-flex; align-items: center; gap: .5rem;
}
.link-underline:hover { border-color: var(--navy); }
.link-underline .arw { transition: transform .2s ease; }
.link-underline:hover .arw { transform: translateX(3px); }
.link-underline.on-dark-btn { color: var(--gold-ink); border-color: rgba(133,98,18,.4); }
.link-underline.on-dark-btn:hover { border-color: var(--gold-ink); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 72px;
  display: flex; align-items: center; padding: 0 var(--pad-x);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.solid, .nav.scrolled {
  background: rgba(251, 250, 247, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: .65rem; }
/* logo mark: the emblem is cropped out of the full lockup PNG */
.brand-logo {
  width: 46px; height: 40px; flex: none; position: relative;
  overflow: hidden; display: block;
}
.brand-logo img {
  position: absolute; width: 64px; height: 64px; max-width: none;
  left: 50%; top: -5px; transform: translateX(calc(-50% + 1.5px));
}
.brand-name {
  font-family: var(--serif); font-weight: 400; font-size: 1.25rem;
  letter-spacing: -0.01em; color: var(--navy); white-space: nowrap;
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: .9rem; color: var(--gray); transition: color .2s ease; position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold);
}
.nav-cta { flex: none; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--hair-strong);
  background: none; cursor: pointer; padding: 0; flex: none;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--navy); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--hair);
  padding: 1rem var(--pad-x) 1.75rem;
  display: none; flex-direction: column; gap: .25rem;
  box-shadow: 0 18px 30px rgba(20,52,92,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .85rem 0; font-size: 1.05rem; color: var(--navy);
  border-bottom: 1px solid var(--hair);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .btn-gold { margin-top: 1rem; justify-content: center; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding: calc(72px + clamp(3rem, 7vw, 5.5rem)) var(--pad-x) clamp(3rem, 6vw, 4.5rem); position: relative; }
.breadcrumb {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 1.6rem; display: flex; gap: .55rem; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--gold); }
.page-hero .h1 { margin: 1.2rem 0 1.4rem; max-width: 18ch; }
.page-hero.bg-navy .breadcrumb, .page-hero.bg-navy-deep .breadcrumb { color: var(--gray); }
.page-hero.bg-navy .breadcrumb a:hover, .page-hero.bg-navy-deep .breadcrumb a:hover { color: var(--navy); }

/* ============================================================
   HOME HERO + BLUEPRINT
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding: calc(72px + clamp(2rem, 6vw, 4rem)) var(--pad-x) clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 62%);
}
.hero-grid {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 55fr 45fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-h1 {
  font-family: var(--serif); font-weight: 300; color: var(--navy);
  font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -0.025em;
  margin: 1.6rem 0 1.5rem;
}
.hero-h1 .l2 { color: var(--navy); }
.hero-cta { display: flex; align-items: center; gap: 1.75rem; margin-top: 2.2rem; flex-wrap: wrap; }

/* blueprint: a light drawing sheet — navy linework, bronze dimensions */
.blueprint {
  position: relative; aspect-ratio: 1 / 1; background: var(--surface);
  border: 1px solid var(--hair-strong); overflow: hidden;
  box-shadow: 0 18px 40px rgba(20,52,92,.07);
}
.blueprint svg { width: 100%; height: 100%; }
.bp-corner { position: absolute; width: 18px; height: 18px; border: 1px solid var(--gold); z-index: 2; }
.bp-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.bp-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.bp-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.bp-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.bp-tag {
  position: absolute; z-index: 2; font-family: var(--mono); font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
}
.bp-tag.a { top: 22px; left: 24px; }
.bp-tag.b { top: 22px; right: 24px; }
.bp-tag.c { bottom: 22px; left: 24px; }
.bp-tag.d { bottom: 22px; right: 24px; }

.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.blueprint.go .draw { animation: drawline 1.5s cubic-bezier(.5,0,.2,1) forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
.bp-dims { opacity: 0; transition: opacity .6s ease; }
.blueprint.go .bp-dims { transition-delay: 1.3s; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .draw { stroke-dashoffset: 0 !important; animation: none !important; }
  .bp-dims { opacity: 1 !important; }
}

/* ============================================================
   COMPLIANCE BAR
   ============================================================ */
.compliance {
  background: var(--slate); color: var(--ink);
  padding: 1.35rem var(--pad-x);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
}
.compliance-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem 2.75rem; flex-wrap: wrap;
}
.compliance .label { color: var(--gold-ink); flex: none; }
.compliance ul { display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.compliance li { font-size: .82rem; color: var(--navy); display: flex; align-items: center; gap: .6rem; }
.compliance li::before { content: ""; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex: none; }

/* ============================================================
   PRODUCTS GRID (home + products overview)
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); }
.prod-card {
  position: relative; overflow: hidden;
  padding: 2rem 1.5rem 2.25rem; border-bottom: 1px solid var(--hair); border-right: 1px solid var(--hair);
  transition: background .25s ease; display: flex; flex-direction: column;
}
.prod-card:nth-child(4n) { border-right: 0; }
.prod-card:hover { background: rgba(166,125,38,.09); }
.prod-idx {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 1.6rem;
}
.prod-icon { width: 72px; height: 56px; margin-bottom: 1.4rem; }

/* product photo — used instead of .prod-icon on the products overview */
.prod-media {
  display: block; width: 100%; aspect-ratio: 3 / 2;
  margin-bottom: 1.5rem; overflow: hidden;
  border: 1px solid var(--hair); background: var(--mist);
}
.prod-media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.prod-card:hover .prod-media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .prod-media img { transition: none; }
  .prod-card:hover .prod-media img { transform: none; }
}
.prod-title {
  font-family: var(--serif); font-weight: 400; font-size: 1.25rem; letter-spacing: -0.01em;
  color: var(--navy); margin-bottom: .55rem;
}
.prod-desc { font-size: .88rem; color: var(--gray); line-height: 1.55; margin-bottom: 1.3rem; }
.prod-card .link-underline { margin-top: auto; align-self: flex-start; }

/* larger product cards for products.html overview */
.prod-grid.wide { grid-template-columns: repeat(2, 1fr); }
.prod-grid.wide .prod-card:nth-child(4n) { border-right: 1px solid var(--hair); }
.prod-grid.wide .prod-card:nth-child(2n) { border-right: 0; }
.prod-grid.wide .prod-card { padding: 2.6rem 2.2rem 2.4rem; }
.prod-grid.wide .prod-icon { width: 96px; height: 72px; }
.prod-grid.wide .prod-title { font-size: 1.6rem; }
.prod-grid.wide .prod-desc { font-size: .95rem; max-width: 40ch; }

/* ============================================================
   PHOTO PLACEHOLDER
   ============================================================ */
.photos .eyebrow { color: var(--gold-ink); }
.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.photo-slot {
  aspect-ratio: 4 / 3; border: 1.5px dashed var(--gold);
  background-color: var(--surface);
  background-image: repeating-linear-gradient(45deg, rgba(166,125,38,.08) 0, rgba(166,125,38,.08) 10px, transparent 10px, transparent 20px);
  display: flex; align-items: flex-end; padding: 1rem;
}
.photo-slot span {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-ink);
}

/* ============================================================
   PROCESS TRACK
   ============================================================ */
.track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; position: relative; }
.track::before {
  content: ""; position: absolute; top: 28px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166,125,38,.75) 15%, rgba(166,125,38,.75) 85%, transparent);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.node {
  width: 56px; height: 56px; margin: 0 auto 1.15rem; background: var(--surface);
  border: 1px solid var(--gold); position: relative;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease;
}
.node span { font-family: var(--mono); font-size: .82rem; font-weight: 500; color: var(--navy); transition: color .25s ease; }
.node::before, .node::after { content: ""; position: absolute; width: 6px; height: 6px; border: 1px solid var(--gold); }
.node::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.node::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.step:hover .node { background: var(--navy); border-color: var(--navy); }
.step:hover .node span { color: #FFFFFF; }
.step-label { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--navy); margin-bottom: .4rem; }
.step-note { font-size: .78rem; color: var(--gray); line-height: 1.5; max-width: 16ch; margin: 0 auto; }

/* expanded process rows (process.html) */
.process-rows { border-top: 1px solid var(--hair-cream); }
.process-row {
  display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: clamp(1rem, 4vw, 3rem);
  padding: 2.4rem 0; border-bottom: 1px solid var(--hair-cream); align-items: start;
}
.process-row .pr-num { font-family: var(--mono); font-size: .8rem; color: var(--gold-ink); letter-spacing: .1em; padding-top: .3rem; }
.process-row .pr-title { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); }
.process-row .pr-body { color: var(--gray); font-size: .95rem; line-height: 1.65; }
.process-row .pr-meta {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-ink); margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
}

/* ============================================================
   WHY / DIFFERENTIATORS
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); }
.diff { padding: 1.9rem 0; border-top: 1px solid var(--hair); }
.diff-idx { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--gold-ink); margin-bottom: .7rem; }
.diff-h { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--navy); letter-spacing: -0.01em; margin-bottom: .55rem; }
.diff-p { font-size: .92rem; color: var(--gray); line-height: 1.6; max-width: 42ch; }
.why-grid.on-dark .diff { border-top-color: var(--hair-cream); }
.why-grid.on-dark .diff-h { color: var(--navy); }
.why-grid.on-dark .diff-p { color: var(--gray); }

/* ============================================================
   ABOUT / STATS
   ============================================================ */
.about-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.about-inner .eyebrow { justify-content: center; }
.about-body {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.7; color: var(--ink); max-width: 42ch; margin: 1.6rem auto 3.5rem;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair-cream); padding-top: 2.5rem; gap: 1.5rem; }
.stat-num {
  font-family: var(--serif); font-weight: 300; color: var(--gold-mid);
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: .7rem;
}
.stat-lbl { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }

/* ============================================================
   SPEC TABLE (products + detail pages)
   ============================================================ */
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table caption {
  text-align: left; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1.2rem;
}
.spec-table th, .spec-table td { text-align: left; padding: .95rem 1rem; border-bottom: 1px solid var(--hair); vertical-align: top; }
.spec-table thead th {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--navy);
}
.spec-table tbody th { font-family: var(--serif); font-weight: 400; font-size: 1rem; color: var(--navy); white-space: nowrap; }
.spec-table td { color: var(--ink); }
.spec-table .mono { font-family: var(--mono); font-size: .82rem; color: var(--gray); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* pill list */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  border: 1px solid var(--hair-strong); padding: .5rem .85rem; color: var(--navy);
  background: var(--surface);
}
.on-dark .pill { border-color: var(--hair-strong); color: var(--navy); background: var(--surface); }

/* ============================================================
   FEATURE LIST (detail pages: applications / what to send)
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.feat-list { border-top: 1px solid var(--hair); }
.feat-item { padding: 1.4rem 0; border-bottom: 1px solid var(--hair); display: flex; gap: 1.1rem; }
.feat-item .fi-mark { font-family: var(--mono); font-size: .7rem; color: var(--gold-ink); padding-top: .35rem; flex: none; }
.feat-item .fi-body h4 { font-family: var(--serif); font-weight: 400; font-size: 1.12rem; color: var(--navy); margin-bottom: .35rem; }
.feat-item .fi-body p { font-size: .9rem; color: var(--gray); line-height: 1.55; }

/* ============================================================
   DETAIL PAGE HERO (split with category blueprint)
   ============================================================ */
.detail-hero {
  padding: calc(72px + clamp(2.5rem, 6vw, 4rem)) var(--pad-x) clamp(3rem, 6vw, 4.5rem); position: relative;
  background: var(--mist); color: var(--ink);
  border-bottom: 1px solid var(--hair);
}
.detail-hero-grid {
  max-width: var(--maxw); margin: 0 auto; display: grid;
  grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.detail-hero .lede { color: var(--gray); }
.detail-hero .breadcrumb { color: var(--gray); }
.detail-hero .breadcrumb a:hover { color: var(--navy); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--mist); color: var(--ink); text-align: center; }
.cta-band .h2 { color: var(--navy); max-width: 20ch; margin: 1.1rem auto 1.8rem; }
.cta-band .row { display: flex; gap: 1.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-band .eyebrow { justify-content: center; }

/* ============================================================
   FORM (contact)
   ============================================================ */
.inquiry-grid { display: grid; grid-template-columns: 40fr 60fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.inquiry-left { align-self: start; position: sticky; top: 100px; }
.inquiry-left .h2 { margin: 1.1rem 0 1.2rem; }
.callout {
  margin-top: 2rem; padding: 1.4rem 1.5rem; background: var(--mist);
  border-left: 3px solid var(--gold); font-size: .92rem; line-height: 1.6; color: var(--ink);
}
.callout strong { font-weight: 500; color: var(--navy); }
.contact-details { margin-top: 2.2rem; display: grid; gap: 1.1rem; }
.contact-details .cd { display: grid; gap: .2rem; }
.contact-details .cd .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.contact-details .cd .v { font-size: .95rem; color: var(--ink); line-height: 1.55; }
.contact-details .cd .v a { border-bottom: 1px solid var(--hair-strong); padding-bottom: 1px; transition: border-color .2s ease, color .2s ease; }
.contact-details .cd .v a:hover { color: var(--navy); border-color: var(--navy); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.75rem; margin-bottom: 1.9rem; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); margin-bottom: .6rem;
}
.field label .req { color: var(--gold-ink); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .95rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--hair-strong); padding: .6rem 0; border-radius: 0;
  transition: border-color .2s ease; width: 100%;
}
.field select { cursor: pointer; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.form-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: .5rem; flex-wrap: wrap; }
.form-note { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--gray); }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin: 1.4rem 0 0; padding-left: 1rem; border-left: 2px solid var(--hair-strong);
  font-size: .92rem; line-height: 1.6; color: var(--gray);
}
.form-status:empty { display: none; }
.form-status.is-ok { border-left-color: var(--gold); color: var(--navy); }
.form-status.is-err { border-left-color: #A32B26; color: #8C231F; }
.btn-navy:disabled { cursor: default; opacity: .75; }
.btn-navy.sent:disabled { opacity: 1; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { border-top: 1px solid var(--hair); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-family: var(--serif); font-size: 1.15rem; color: var(--navy);
}
.faq-q .ico { font-family: var(--mono); font-size: 1.1rem; color: var(--gold-ink); flex: none; transition: transform .25s ease; }
.faq-q[aria-expanded="true"] .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 0 1.6rem; color: var(--gray); font-size: .95rem; line-height: 1.65; max-width: 62ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--slate); color: var(--ink);
  padding: clamp(3.5rem,7vw,5rem) var(--pad-x) 2rem;
  border-top: 1px solid var(--hair);
}
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 1.2rem; font-weight: 500; }
.footer-logo { width: 150px; height: auto; margin: 0 0 1rem -8px; }
.footer-brand .fname { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; color: var(--gray); max-width: 34ch; line-height: 1.6; }
.footer ul { display: flex; flex-direction: column; gap: .7rem; }
.footer li, .footer address { font-size: .88rem; color: var(--gray); font-style: normal; line-height: 1.7; }
.footer a { color: var(--ink); }
.footer a:hover { color: var(--gold-ink); }
.placeholder { font-style: italic; color: var(--gold-ink); }
.footer-bottom {
  max-width: var(--maxw); margin: 3.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--hair-cream);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom span { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); }

/* ============================================================
   DRAFTING SHEET — frame, corner ticks, title block
   The page presents as a sheet of drafting paper: a hairline
   border inset from the viewport with corner ticks, and a fixed
   title block naming the sheet. Both are built by main.js from
   body[data-sheet] / body[data-sheet-title]; both are decorative
   and carry aria-hidden, so nothing here reaches assistive tech.
   The frame's top edge sits at 72px so it lands exactly on the
   nav's bottom hairline instead of cutting through the brand.
   ============================================================ */
.sheet {
  position: fixed; top: 72px; left: 14px; right: 14px; bottom: 14px;
  border: 1px solid var(--hair);
  pointer-events: none; z-index: 90;
}
.sheet-corner { position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold); }
.sheet-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.sheet-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.sheet-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.sheet-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.title-block {
  position: fixed; right: 30px; bottom: 30px; z-index: 91;
  width: 250px; pointer-events: none;
  background: rgba(251, 250, 247, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--hair-strong);
  transition: opacity .4s ease, transform .4s ease;
}
.title-block .tb-row { padding: .5rem .7rem .55rem; }
.title-block .tb-row + .tb-row { border-top: 1px solid var(--hair); }
.tb-org {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-ink);
}
.tb-title {
  font-family: var(--serif); font-size: .98rem; line-height: 1.25;
  color: var(--navy); margin-top: .2rem;
}
.tb-meta {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gray);
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
}
.tb-meta .sep { color: var(--gold); }
/* stand down over the footer, where it would sit on top of content */
.title-block.tb-out { opacity: 0; transform: translateY(10px); }

/* ---------- sections that measure themselves ---------- */
/* A dimension line drawn down the left gutter of each band, broken
   in the middle for the measured height — the page annotating itself.
   Lives in the margin between the sheet frame and the content, so it
   only appears where there is gutter to hold it. */
.sec-dim {
  position: absolute; left: 32px; top: 0; width: 1px; height: 100%;
  pointer-events: none; z-index: 1;
}
.sd-seg {
  position: absolute; left: 0; width: 1px; background: var(--gold);
  transform: scaleY(0); transition: transform .75s cubic-bezier(.22,.61,.36,1);
}
.sd-seg.top { top: 0; height: calc(50% - 30px); transform-origin: top; }
.sd-seg.bot { bottom: 0; height: calc(50% - 30px); transform-origin: bottom; }
.sd-cap {
  position: absolute; left: -4px; width: 9px; height: 1px; background: var(--gold);
  opacity: 0; transition: opacity .35s ease .5s;
}
.sd-cap.top { top: 0; }
.sd-cap.bot { bottom: 0; }
.sd-label {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--mono); font-size: .62rem; font-weight: 400;
  letter-spacing: .12em; color: var(--gold-ink); white-space: nowrap;
  opacity: 0; transition: opacity .4s ease .45s;
}
.sec-dim.in .sd-seg { transform: scaleY(1); }
.sec-dim.in .sd-cap, .sec-dim.in .sd-label { opacity: 1; }

@media (max-width: 1240px) { .sec-dim { display: none; } }
@media (max-width: 1024px) { .title-block { display: none; } }
@media (max-width: 600px)  { .sheet { left: 8px; right: 8px; bottom: 8px; } }

/* ============================================================
   EXTRUSION MOTION
   The business pushes metal through a die, so reveals behave like
   material leaving a press rather than the generic fade-up.
   ============================================================ */

/* Product cards emerge like a profile leaving the press: a shutter in
   the page colour retracts downward, uncovering the card top-to-bottom
   at full size so type never distorts, with a gold die line running
   ahead of the edge. Driven by transform rather than clip-path, so the
   reveal rides the same well-supported path as the rest of the motion
   here — and can be removed outright once it has played. */
.prod-card[data-reveal] { opacity: 1; transform: none; }
.prod-card[data-reveal]::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: var(--paper); transform-origin: bottom;
  transition: transform .85s cubic-bezier(.22,.61,.36,1) var(--d, 0ms);
}
.prod-card[data-reveal].in::before { transform: scaleY(0); }
.prod-card[data-reveal]::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, var(--gold) 0 1.5px, transparent 1.5px);
}
.prod-card[data-reveal].in::after {
  animation: dieline .85s cubic-bezier(.22,.61,.36,1) var(--d, 0ms) both;
}
/* Once the reveal has played, both layers are taken out of rendering:
   a stalled transition must never be able to leave a card covered. */
.prod-card.revealed::before, .prod-card.revealed::after { display: none; }
@keyframes dieline {
  0%   { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(100%); }
}

/* Eyebrow rules draw out from the left rather than fading in.
   scaleX, not width, so the label beside them never shifts. */
.eyebrow::before {
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.22,.61,.36,1) var(--d, 0ms);
}
[data-reveal] .eyebrow::before,
.eyebrow[data-reveal]::before { transform: scaleX(0); }
[data-reveal].in .eyebrow::before,
.eyebrow[data-reveal].in::before { transform: scaleX(1); }

/* The process track draws its connector left to right, and each
   node stamps in rather than sliding. */
.track::before {
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.track.line-in::before { transform: scaleX(1); }
.step[data-reveal] { transform: none; }
.step[data-reveal] .node {
  transform: scale(.62); opacity: 0;
  transition: transform .55s cubic-bezier(.34,1.35,.5,1) var(--d, 0ms),
              opacity .4s ease var(--d, 0ms), background .25s ease, border-color .25s ease;
}
.step[data-reveal].in .node { transform: scale(1); opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card:nth-child(4n) { border-right: 1px solid var(--hair); }
  .prod-card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .blueprint { max-width: 480px; margin: 0 auto; width: 100%; }
  .detail-hero-grid { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .diff { border-top: 1px solid var(--hair); }
  .two-col { grid-template-columns: 1fr; }
  .inquiry-grid { grid-template-columns: 1fr; }
  .inquiry-left { position: static; }
  .track { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .track::before { display: none; }
  .process-row { grid-template-columns: 1fr; gap: .5rem; }
  .prod-grid.wide { grid-template-columns: 1fr; }
  .prod-grid.wide .prod-card:nth-child(4n), .prod-grid.wide .prod-card { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; gap: 2rem; }
  .compliance-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 500px) {
  .prod-grid { grid-template-columns: 1fr; }
  .prod-card { border-right: 0 !important; }
  .photo-grid { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .hero-cta { gap: 1.25rem; }
  .brand-name { font-size: 1.1rem; }
}

/* ============================================================
   SPLASH
   Shown once per session, on whichever page the visitor lands on —
   never again on internal navigation. The overlay only renders when
   <html> carries .splash-on, a class set by a small inline script in
   the head, so with JS disabled it never appears at all and can never
   strand the page behind a curtain.
   ============================================================ */
.splash { display: none; }
.splash-on { overflow: hidden; }          /* hold the scroll while it plays */
.splash-on .splash {
  display: flex; position: fixed; inset: 0; z-index: 400;
  align-items: center; justify-content: center;
  background: var(--paper);               /* same ground as the page: no colour jump */
  transition: opacity .55s ease;
}
.splash-sheet { position: relative; width: min(320px, 62vw); text-align: center; }

.splash-corner {
  position: absolute; width: 16px; height: 16px; border: 1px solid var(--gold);
  opacity: 0; transition: opacity .5s ease;
}
.splash-corner.tl { top: -30px; left: -30px; border-right: 0; border-bottom: 0; }
.splash-corner.tr { top: -30px; right: -30px; border-left: 0; border-bottom: 0; }
.splash-corner.bl { bottom: -30px; left: -30px; border-right: 0; border-top: 0; }
.splash-corner.br { bottom: -30px; right: -30px; border-left: 0; border-top: 0; }

/* the mark is uncovered by a retracting shutter with a gold die line
   running ahead of it — the same motion the product cards use */
.splash-mark { position: relative; width: 180px; height: 180px; margin: 0 auto; }
.splash-mark img { width: 180px; height: 180px; }
.splash-mark::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--paper); transform-origin: bottom;
}
.splash-mark::after {
  content: ""; position: absolute; inset: 0; z-index: 3; opacity: 0;
  background: linear-gradient(to bottom, var(--gold) 0 1.5px, transparent 1.5px);
}

.splash-rule {
  height: 1px; background: var(--gold); margin: 1.5rem auto 0;
  transform: scaleX(0); transform-origin: left;
}
.splash-cap {
  margin-top: .9rem; font-family: var(--mono); font-size: .62rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink);
  opacity: 0; transition: opacity .5s ease;
}

.splash.splash-go .splash-corner { opacity: 1; }
.splash.splash-go .splash-mark::before {
  transform: scaleY(0);
  transition: transform .9s cubic-bezier(.22,.61,.36,1) .15s;
}
.splash.splash-go .splash-mark::after {
  animation: dieline .9s cubic-bezier(.22,.61,.36,1) .15s both;
}
.splash.splash-go .splash-rule {
  transform: scaleX(1);
  transition: transform .85s cubic-bezier(.22,.61,.36,1) .4s;
}
.splash.splash-go .splash-cap { opacity: 1; transition-delay: .95s; }

/* Keeps rendering through the fade even after .splash-on is dropped
   from <html>, so the scroll unlocks the moment the exit begins. */
.splash.splash-out {
  display: flex; opacity: 0; pointer-events: none;
}
.splash.splash-out .splash-sheet {
  transform: scale(1.04); transition: transform .55s ease;
}

@media (max-width: 600px) {
  .splash-sheet { width: min(260px, 70vw); }
  .splash-mark, .splash-mark img { width: 140px; height: 140px; }
  .splash-corner.tl, .splash-corner.tr { top: -22px; }
  .splash-corner.bl, .splash-corner.br { bottom: -22px; }
  .splash-corner.tl, .splash-corner.bl { left: -22px; }
  .splash-corner.tr, .splash-corner.br { right: -22px; }
}

/* ---------- holding the entrance behind the curtain ----------
   Observers and timers all run normally underneath, so nothing that
   makes content visible depends on a callback firing after the splash.
   These rules simply pin the entrance animations at their first frame
   with no transition; dropping .splash-on from <html> releases them,
   and the transitions in the base rules then play as the site is
   uncovered. A one-way CSS release cannot strand the page. */
.splash-on [data-reveal] {
  opacity: 0 !important; transform: translateY(20px) !important;
  transition: none !important;
}
.splash-on .draw { animation: none !important; }
.splash-on .bp-dims { opacity: 0 !important; transition: none !important; }
.splash-on .track::before { transform: scaleX(0) !important; transition: none !important; }
.splash-on .sd-seg { transform: scaleY(0) !important; transition: none !important; }
.splash-on .sd-cap, .splash-on .sd-label { opacity: 0 !important; transition: none !important; }
