/* Self-hosted latin-subset fonts (font-display:swap, same-origin — CSP font-src 'self') */
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/instrument-serif-400.woff2') format('woff2');}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url('/fonts/instrument-serif-400-italic.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/jetbrains-mono-400.woff2') format('woff2');}

/* ════════════════════════════════════════════════════════════════════════
   EarthingSolutions.co.in — Main Stylesheet
   v6 — ROYAL GROUND (16-Jul-2026)

   Brief: "amazing with a wow factor, classy royal and elegant."
   Direction: heritage private-bank restraint on the v5 DEEP GROUND canvas.
   Near-black navy, champagne-gold hairlines and eyebrows, oversized
   Instrument Serif display type with italic flourishes, sharp edges
   (--radius stays 0). Gold is an ACCENT, never a fill; the industrial
   blue family keeps every interactive fill (white text on blue).

   Same architecture as v5: ONE :root token block, every colour below it
   is a var() token. All v5 selectors preserved — this is a reskin, not a
   rename. NOTE: --amber-t remains reserved for the IS 3043 / MTC
   compliance badge ONLY; the new champagne gold is a separate family.

   Brand spine: 05090F blue-black, 0F1B2A near-navy, 12467F industrial
   blue, C9A44C champagne gold.

   Contrast (WCAG, computed — not eyeballed):
     ink        E9F1FA on bg-0 05090F ..... 17.6:1
     ink-muted  A9BACC on bg-0 ............. 10.1:1  (8.7:1 on bg-1)
     ink-faint  7C90A5 on bg-0 ............. 6.1:1   (5.3:1 on bg-1)
     copper     4E96E4 on bg-0 ............. 6.5:1   (5.6:1 on bg-1)
     gold       C9A44C on bg-0 ............. 8.4:1   (7.3:1 on bg-1)
     gold-2     E4C57E on bg-0 ............. 12.0:1  (10.4:1 on bg-1)
     gold-3     8A6D2F ..................... decorative strokes only, never text
     amber-t    E8B75C on amber-bg/bg-1 .... 7.8:1
     white      on blue  12467F ............ 9.5:1
   ════════════════════════════════════════════════════════════════════════ */

/* --- Tokens ------------------------------------------------------------ */
:root {
  color-scheme: dark;             /* native inputs, selects, scrollbars go dark */

  /* surfaces — dark ramp built on the brand near-navy, deepened for v6 */
  --bg-0:#05090F;                 /* page: near-black navy */
  --bg-1:#0F1B2A;                 /* brand near-navy: bands, panels, footer */
  --bg-2:#16253A;                 /* raised: active fills, deep hovers */
  --lift:rgba(148,184,222,.07);   /* faintest fill (chips, hovers) */
  --hairline:rgba(148,184,222,.15);
  --hairline-2:rgba(148,184,222,.32);
  --grid:rgba(148,184,222,.05);
  --bg-head:rgba(5,9,15,.92);     /* sticky header */
  --bg-head-blur:rgba(5,9,15,.74);
  --glow-hi:#10233E;              /* hero radial — mirrors /projects/ */
  --glow-lo:#091220;

  /* ink ramp */
  --ink:#E9F1FA;
  --ink-muted:#A9BACC;
  --ink-faint:#7C90A5;

  /* accent — industrial blue. --copper is the historical NAME of the site's
     single accent token (it was literal copper once); every rule speaks it,
     so it keeps the name and changes colour. Text-safe on all surfaces. */
  --copper:#4E96E4;
  --copper-2:#8FC6FF;             /* bright: hovers, sparks */
  --copper-3:#2E6DBE;             /* subdued tint */
  --blue:#12467F;                 /* brand FILL: buttons, table heads — white text on it */
  --blue-2:#1B5FA9;               /* fill hover */
  --blue-tint:rgba(78,150,228,.12);
  --steel:#8296A9;
  --cu:#D08A4E;                   /* literal copper — copper PRODUCT artwork only */
  --on-accent:#FFFFFF;            /* text on blue / green fills */

  /* champagne gold — v6 ROYAL accent family. Hairlines, eyebrows, italic
     display words, hover accents. NEVER a large fill, and NEVER the badge
     amber (--amber-t keeps that job exclusively). */
  --gold:#C9A44C;
  --gold-2:#E4C57E;               /* bright: small text, eyebrows, focus rings */
  --gold-3:#8A6D2F;               /* subdued: decorative strokes only */
  --gold-line:rgba(201,164,76,.35);
  --gold-line-2:rgba(201,164,76,.16);  /* softest hairline (header/footer rules) */
  --gold-tint:rgba(201,164,76,.08);    /* faint wash on hover */

  /* semantic colours keep their meaning on dark */
  --amber-t:#E8B75C;              /* IS 3043 / MTC compliance badge — RESERVED */
  --amber-bg:rgba(232,183,92,.10);
  --amber-line:rgba(232,183,92,.32);
  --ok:#5BC17D;                   /* positive comparisons */
  --err:#F28B82;                  /* calculator error lines */
  --wa:#0E8043;                   /* WhatsApp stays WhatsApp green */
  --wa-2:#0B6E39;
  --wa-glow:rgba(37,211,102,.35);
  --wa-glow-2:rgba(37,211,102,.55);

  /* legacy remaps — per-page inline <style> blocks speak these */
  --clr-bg:var(--bg-0);
  --clr-bg2:var(--bg-1);
  --clr-white:var(--bg-1);        /* was a card surface, never text */
  --clr-text:var(--ink);
  --clr-text-lt:var(--ink-muted);
  --clr-earth:var(--ink);         /* heading ink (was green, then ink) */
  --clr-copper:var(--copper);
  --clr-copper-lt:var(--copper-2);
  --clr-gold:var(--gold-2);       /* v6: legacy gold now speaks champagne, badge amber stays --amber-t */
  --clr-border:var(--hairline);

  /* geometry + type (sharp edges — bespoke, not bubbly) */
  --radius:0px; --radius-lg:0px;
  --shadow:none; --shadow-md:none;
  --max-w:1160px;
  --gap:1.5rem;
  --font-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
  --font-serif:'Instrument Serif','IBM Plex Serif','Charter','Iowan Old Style',Georgia,'Times New Roman',serif;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-0); }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-0);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Typography ----------------------------------------------------------
   Display = Instrument Serif 400 (it ships no bolder weight; faux-bold is
   forbidden). Scale up instead of emboldening — that IS the luxury signal. */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 400; line-height: 1.14; letter-spacing: .002em; }
h1, h2, h3, .section-title, .res-primary-h { font-weight: 400; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
h4 { font-size: 1.3rem; }
p  { max-width: 68ch; }
h1 em, h2 em, h3 em, .section-title em { font-style: italic; color: var(--gold-2); letter-spacing: 0; }
strong, b { color: var(--ink); }
details summary { color: var(--ink); }
::selection { background: var(--gold); color: var(--bg-0); }

/* subtle scrollbar — detail matters */
html { scrollbar-color: var(--bg-2) var(--bg-0); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-2); border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-3); }

/* mono microtype for eyebrows / labels / indices */
.section-label, .product-card-badge, .footer-col h5, .cert-badge, .size-chip,
.hero-stat-label, .breadcrumb, .ss-is-badge, .btn { font-family: var(--font-mono); }

/* --- Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-1); }
.section--dark { background: var(--bg-1); color: var(--ink); }

/* eyebrow: small-caps gold label with hairline lead — "01 — OUR RANGE" */
.section-label {
  display: flex; align-items: center; gap: .8rem;
  font-size: .68rem; font-weight: 400; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: 1rem;
}
.section-label::before {
  content: ''; width: 2.25rem; height: 1px;
  background: var(--gold-line); flex-shrink: 0;
}
.section-label[data-n]::after {
  content: attr(data-n); order: -1;
  color: var(--gold); letter-spacing: .12em;
}
.section-title { margin-bottom: 1.1rem; max-width: 24ch; }
.section-sub { color: var(--ink-muted); margin-bottom: 2.75rem; max-width: 56ch; }
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Scroll reveal ---------------------------------------------------------
   Gated under html.js (main.js sets it) so content is fully visible with JS
   off. Both .visible (legacy observer) and .is-visible (v6 observer) resolve. */
html.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
html.js .reveal.visible, html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal.r1 { transition-delay: .08s; }
html.js .reveal.r2 { transition-delay: .16s; }
html.js .reveal.r3 { transition-delay: .24s; }
html.js .reveal.r4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 2rem; border-radius: 0;
  font-weight: 400; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: var(--on-accent); }
.btn-primary:hover { background: var(--blue-2); color: var(--on-accent); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--hairline-2); }
.btn-outline:hover { background: var(--lift); color: var(--ink); border-color: var(--copper); }
.btn-outline-white { background: transparent; color: var(--ink); border: 1px solid var(--hairline-2); }
.btn-outline-white:hover { background: var(--lift); border-color: var(--copper); }
/* v6: ghost-gold secondary — transparent, gold hairline, gold text.
   Declared after the outline variants so it wins on shared elements. */
.btn-ghost-gold { background: transparent; color: var(--gold-2); border: 1px solid var(--gold-line); }
.btn-ghost-gold:hover { background: var(--gold-tint); color: var(--gold-2); border-color: var(--gold); }
.btn-sm { padding: .65rem 1.35rem; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* --- Forms (calculators are the highest-risk dark surface) --------------- */
input, select, textarea {
  background: var(--bg-1); color: var(--ink);
  border: 1px solid var(--hairline-2); border-radius: 0;
  accent-color: var(--copper);
}
input:hover, select:hover { border-color: var(--copper-3); }
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
select option { background: var(--bg-1); color: var(--ink); }
.calc label, .calc-row label { color: var(--ink-muted); }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-2); outline-offset: 2px;
}

/* --- Navigation ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-head);
  border-bottom: 1px solid var(--gold-line-2);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header { background: var(--bg-head-blur); backdrop-filter: blur(10px); }
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
/* nav-logo: monogram mark (copper GE) beside the stacked wordmark (B3 logo, 22-Jul) */
.nav-logo { display: flex; align-items: center; gap: .6rem; }
.nav-logo-mark { width: 40px; height: 40px; flex: 0 0 auto; display: block; }
.nav-logo-text { display: flex; flex-direction: column; gap: 0; line-height: 1; }
@media (max-width: 600px) { .nav-logo-mark { width: 34px; height: 34px; } }
.nav-logo-main {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400;
  color: var(--ink); letter-spacing: .01em;
}
.nav-logo-sub {
  font-family: var(--font-mono); font-size: .58rem; font-weight: 400; color: var(--gold-2);
  letter-spacing: .22em; text-transform: uppercase; margin-top: .3rem;
}
.nav-links { display: none; gap: 2rem; }
.nav-links a {
  position: relative; font-size: .88rem; font-weight: 500;
  color: var(--ink-muted); transition: color .2s; padding: .3rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: none; }
.nav-hamburger { display: flex; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--bg-1); border-top: 1px solid var(--gold-line-2);
  padding: 1rem 1.25rem 1.5rem; gap: .25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: .65rem .5rem; font-weight: 500;
  color: var(--ink-muted); border-bottom: 1px solid var(--hairline);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { margin-top: .75rem; justify-content: center; }
.nav-mobile a.btn-primary { color: var(--on-accent); background: var(--blue); border-bottom: none; }
.nav-mobile a.btn-primary:hover { background: var(--blue-2); color: var(--on-accent); }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-hamburger { display: none; }
}

/* --- Hero --------------------------------------------------------------------
   v6: full-height composition. Layered navy radial glows + a whisper of grid,
   oversized Instrument Serif with the slogan's second line in italic gold
   gradient, and an engraved earthing-electrode motif on the right (inline SVG
   in the page, 1px gold/blue strokes). */
.hero {
  background:
    radial-gradient(1200px 780px at 76% 18%, var(--glow-hi) 0%, var(--glow-lo) 52%, var(--bg-0) 100%);
  color: var(--ink);
  border-bottom: 1px solid var(--gold-line-2);
  padding: 5.5rem 0 4.5rem;
  overflow: hidden; position: relative;
}
.hero::before {
  /* fine engineering grid, faded out by a radial mask — texture, not noise */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(900px 600px at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(900px 600px at 70% 30%, #000 0%, transparent 75%);
}
.hero::after {
  /* faint champagne bloom high right — one whisper of gold light */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 380px at 84% 10%, var(--gold-tint) 0%, transparent 70%);
}
.hero-inner { display: grid; gap: 2.5rem; position: relative; z-index: 2; }
.hero h1 {
  margin-bottom: 1.5rem; color: var(--ink); font-weight: 400;
  font-size: clamp(2.9rem, 7.2vw, 5.5rem); line-height: 1.02; letter-spacing: .002em;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(104deg, var(--gold-2) 8%, var(--gold) 52%, var(--gold-2) 92%);
  -webkit-background-clip: text; background-clip: text;
  color: var(--gold-2); -webkit-text-fill-color: transparent;
  padding-right: .06em; /* italic overshoot clips otherwise */
}
.hero-kw {
  display: block; margin-top: 1.5rem;
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(.72rem, 1.1vw, .8rem);
  line-height: 1.7; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-muted); max-width: 44ch;
}
.hero-desc { font-size: 1.1rem; color: var(--ink-muted); margin-bottom: 2.25rem; max-width: 52ch; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  padding-top: 2.25rem; border-top: 1px solid var(--gold-line-2); margin-top: 2.5rem;
  max-width: 40rem;
}
.hero-stats > div { position: relative; padding-top: 1rem; }
.hero-stats > div::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2rem; height: 1px; background: var(--gold-line);
}
.hero-stat-num {
  font-family: var(--font-serif); font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 400; color: var(--ink); line-height: 1;
}
.hero-stat-label {
  font-size: .64rem; color: var(--ink-muted); margin-top: .55rem;
  letter-spacing: .18em; text-transform: uppercase;
}

/* engraved motif: concentric grounding arcs + electrode descending into strata */
.hero-motif {
  display: none; position: absolute; z-index: 1;
  top: 50%; right: -40px; transform: translateY(-50%);
  width: 460px; max-width: 40vw; pointer-events: none; user-select: none;
}
.hero-motif svg { width: 100%; height: auto; display: block; }
.hero-motif .m-g  { stroke: var(--gold); }
.hero-motif .m-gl { stroke: var(--gold-line); }
.hero-motif .m-b  { stroke: var(--copper-3); }
@media (min-width: 1080px) { .hero-motif { display: block; } }
@media (min-width: 1080px) {
  .hero { min-height: calc(100vh - 68px); display: flex; align-items: center; }
  .hero .container { width: 100%; }
}
/* slow engraved draw — 1px strokes tracing in over 8s, then a gentle pulse */
@media (prefers-reduced-motion: no-preference) {
  html.js .motif-draw {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: motif-draw 8s cubic-bezier(.4,0,.2,1) .3s forwards;
  }
  .motif-pulse { animation: motif-pulse 7s ease-in-out 8s infinite; }
}
@keyframes motif-draw { to { stroke-dashoffset: 0; } }
@keyframes motif-pulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* Amber earns its keep on exactly one thing: the IS 3043 / MTC compliance badge. */
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-t);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 0; width: fit-content; margin-bottom: 1.5rem;
}
.hero-badge svg { width: 14px; height: 14px; }

/* --- Trust bar --------------------------------------------------------------- */
.trust-bar {
  background: var(--bg-1); color: var(--ink-muted); padding: 1.1rem 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.trust-bar-inner { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; align-items: center; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 500; letter-spacing: .01em; }
.trust-item svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.trust-sep { color: var(--gold-line); display: none; }
@media (min-width: 600px) { .trust-sep { display: block; } }

/* --- Sub-surface (how earthing works) ---------------------------------------- */
.subsurface { background: var(--bg-0); padding: 5.5rem 0; position: relative; overflow: hidden; }
/* engraved soil strata on the wide right — echoes the hero motif */
.subsurface::after {
  content: ''; position: absolute; top: 12%; bottom: 12%; left: 58%; right: 0;
  pointer-events: none; display: none;
  background:
    linear-gradient(180deg, transparent 0, transparent 8%, var(--gold-line-2) 8%, var(--gold-line-2) calc(8% + 1px), transparent calc(8% + 1px)),
    repeating-linear-gradient(180deg, transparent 0 56px, var(--hairline) 56px 57px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 85%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 85%, transparent 100%);
}
@media (min-width: 900px) { .subsurface::after { display: block; } }
.subsurface-inner { display: grid; gap: 2.5rem; align-items: center; }
.subsurface-text p { color: var(--ink-muted); margin-top: .75rem; }
@media (min-width: 768px) { .subsurface-inner { grid-template-columns: 1fr 1fr; } }

.ss-steps { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.5rem; }
.ss-steps li { display: flex; gap: .7rem; align-items: flex-start; }
.ss-steps .ss-n {
  width: 24px; height: 24px; border-radius: 50%;
  background: transparent; border: 1px solid var(--gold-line); color: var(--gold-2);
  font-family: var(--font-mono); font-size: .68rem; font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .1rem;
}
.ss-steps li.active .ss-n { background: var(--blue); border-color: var(--blue); color: var(--on-accent); }
.ss-steps .ss-txt { font-size: .92rem; color: var(--ink-muted); }
.ss-steps .ss-txt strong, .ss-steps li b { color: var(--ink); }
.ss-badge-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.ss-is-badge {
  font-size: .72rem; font-weight: 400; letter-spacing: .08em;
  background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-t);
  padding: .4rem .8rem; border-radius: 0;
}

/* --- Products grid (hairline gap-grid, technical panels) ----------------------
   v6 card language, used site-wide: hairline borders; on hover a gold hairline,
   a 2px gold rule sweeping across the top, faint gold wash, -2px lift. */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;  /* v6: spaced hairline panels — no fused grid, no dead tracks */
}
.product-card {
  position: relative; background: var(--bg-0); border: 1px solid var(--hairline); border-radius: 0;
  overflow: hidden; transition: background .3s, border-color .3s, transform .3s;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-line) 55%, transparent 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.product-card:hover {
  background: linear-gradient(var(--gold-tint), transparent 45%), var(--bg-1);
  border-color: var(--gold-line); transform: translateY(-2px);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card-thumb { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.product-card-thumb.gi, .product-card-thumb.cu,
.product-card-thumb.plate, .product-card-thumb.pipe { background: var(--bg-1); }
/* Placeholder schematic fills the thumb; a real photo later uses the same box (object-fit:cover) -> zero layout shift */
.product-card-thumb svg { width: 100%; height: 100%; padding: 14px; color: var(--steel); }
.product-card-thumb.cu svg { color: var(--cu); }   /* copper product stays copper */
.product-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card-body { padding: 1.4rem; }
.product-card-badge {
  font-size: .66rem; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: .5rem;
}
.product-card h3 { font-size: 1.45rem; margin-bottom: .45rem; color: var(--ink); }
.product-card p { font-size: .88rem; color: var(--ink-muted); margin-bottom: 1rem; }
.product-card-sizes { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.1rem; }
.size-chip {
  font-size: .72rem; font-weight: 600; background: var(--lift); color: var(--ink);
  padding: .2rem .55rem; border-radius: 0;
}
.product-card-actions { display: flex; gap: .75rem; align-items: center; }
.product-link { font-size: .85rem; font-weight: 600; color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.prod-sub {
  display: block; margin-top: .6rem;
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  letter-spacing: .01em; color: var(--copper);
}

/* --- Who we serve --------------------------------------------------------------- */
.serve-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;  /* v6: spaced hairline panels — no fused grid, no dead tracks */
}
.serve-card {
  position: relative; background: var(--bg-0); border: 1px solid var(--hairline); border-radius: 0;
  padding: 1.75rem 1.5rem; transition: background .3s, border-color .3s, transform .3s;
}
.serve-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-line) 55%, transparent 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.serve-card:hover {
  background: linear-gradient(var(--gold-tint), transparent 45%), var(--bg-1);
  border-color: var(--gold-line); transform: translateY(-2px);
}
.serve-card:hover::before { transform: scaleX(1); }
.serve-icon {
  width: 48px; height: 48px; background: var(--blue-tint); color: var(--copper);
  border-radius: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.1rem;
}
.serve-card h4 { color: var(--ink); margin-bottom: .5rem; }
.serve-card p { font-size: .88rem; color: var(--ink-muted); max-width: 30ch; }
.serve-link {
  display: inline-block; margin-top: 1rem;
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-2); border-bottom: 1px solid var(--gold-line); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.serve-link:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* --- Clientele wall (home teaser -> /projects/) ----------------------------------
   v6: developer names set in the display serif — an engraved honour roll. */
.clientele-wall { display: flex; flex-wrap: wrap; gap: .6rem .7rem; margin-bottom: 1rem; }
.clientele-wall span {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-weight: 400; color: var(--ink);
  padding: .5rem 1.2rem; border: 1px solid var(--hairline); border-radius: 0;
  background: transparent; letter-spacing: .01em;
  transition: border-color .25s, background .25s, transform .25s, color .25s;
}
.clientele-wall span:hover {
  border-color: var(--gold-line); background: var(--gold-tint);
  transform: translateY(-2px); color: var(--gold-2);
}

/* --- CTA block --------------------------------------------------------------------- */
.cta-block {
  background:
    radial-gradient(700px 420px at 50% 0%, var(--glow-hi) 0%, transparent 70%),
    var(--bg-1);
  color: var(--ink); text-align: center; padding: 5.5rem 0;
  border-top: 1px solid var(--gold-line-2); border-bottom: 1px solid var(--gold-line-2);
}
.cta-block h2 { margin-bottom: 1rem; }
.cta-block p { color: var(--ink-muted); margin: 0 auto 2.25rem; }
.cta-block-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta-facts {
  margin-top: 3rem; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 1.5rem 3.5rem;
  padding-top: 2.25rem; border-top: 1px solid var(--gold-line-2);
}
.cta-fact { text-align: center; }
.cta-fact-k {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: .5rem;
}
.cta-fact-v { font-size: .9rem; color: var(--ink-muted); line-height: 1.65; }
.cta-fact-v a { color: var(--ink); border-bottom: 1px solid var(--gold-line); }
.cta-fact-v a:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* --- Footer --------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-1); color: var(--ink-muted);
  border-top: 1px solid var(--gold-line-2); padding: 4rem 0 1.75rem;
}
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .nav-logo-main { font-size: 1.7rem; color: var(--ink); }
.footer-slogan {
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem;
  color: var(--gold-2); margin-top: 1rem; letter-spacing: .01em;
}
.footer-brand p { font-size: .88rem; color: var(--ink-muted); margin-top: .85rem; max-width: 32ch; line-height: 1.7; }
.footer-certs { display: flex; gap: .75rem; margin-top: 1.4rem; flex-wrap: wrap; }
.cert-badge {
  font-size: .66rem; font-weight: 400; letter-spacing: .08em;
  padding: .35rem .75rem; border-radius: 0; background: transparent;
  border: 1px solid var(--hairline-2); color: var(--ink-muted);
}
.footer-col h5 {
  font-size: .68rem; font-weight: 400; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.15rem;
  display: flex; align-items: center; gap: .7rem;
}
.footer-col h5::after { content: ''; flex: 1; max-width: 2.5rem; height: 1px; background: var(--gold-line-2); }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { font-size: .88rem; color: var(--ink-muted); transition: color .15s; }
.footer-col ul a:hover { color: var(--gold-2); }
.footer-contact-item {
  display: flex; gap: .6rem; font-size: .88rem; color: var(--ink-muted);
  align-items: flex-start; margin-bottom: .6rem;
}
.footer-contact-item a { color: var(--ink-muted); }
.footer-contact-item a:hover { color: var(--gold-2); }
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: .15rem; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--gold-line-2); padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--ink-faint);
}
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--gold-2); }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; } }

/* --- Floating WhatsApp button (stays WhatsApp green) --------------------------------- */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 56px; height: 56px; background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px var(--wa-glow);
  transition: transform .2s, box-shadow .2s;
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); background: var(--wa-2); }
.wa-float svg { width: 30px; height: 30px; color: var(--on-accent); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px var(--wa-glow); }
  50%      { box-shadow: 0 4px 30px var(--wa-glow-2); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* --- Breadcrumb (inner pages, under the sticky header) --------------------------------- */
.breadcrumb { background: var(--bg-1); border-bottom: 1px solid var(--hairline); font-size: .78rem; letter-spacing: .04em; }
.breadcrumb .container { padding-top: .7rem; padding-bottom: .7rem; }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .sep { color: var(--gold); margin: 0 .45rem; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* --- Coming-soon / 404 stub --------------------------------------------------------------- */
.stub { text-align: center; padding: 5.5rem 0; min-height: 55vh; display: flex; align-items: center; }
.stub .container { width: 100%; }
.stub .section-sub { margin-left: auto; margin-right: auto; }
.stub .btn { margin-top: .5rem; }

/* --- Product teaser chips ------------------------------------------------------------------- */
.teaser-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.75rem; }
.teaser-chips a {
  font-family: var(--font-serif); font-size: 1.12rem; font-weight: 400; color: var(--ink);
  padding: .55rem 1.2rem; border: 1px solid var(--hairline-2); border-radius: 0;
  background: var(--bg-0); transition: border-color .25s, color .25s, background .25s, transform .25s;
}
.teaser-chips a:hover {
  border-color: var(--gold-line); color: var(--gold-2);
  background: var(--gold-tint); transform: translateY(-2px);
}

/* --- Tool index cards + disclaimer + funnel --------------------------------------------------- */
.tool-card {
  position: relative; display: block; border: 1px solid var(--hairline); border-radius: 0;
  background: var(--bg-0); padding: 1.4rem 1.6rem; margin: 1.5rem 0;
  transition: border-color .3s, background .3s, transform .3s;
}
.tool-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-line) 55%, transparent 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.tool-card:hover {
  border-color: var(--gold-line); transform: translateY(-2px);
  background: linear-gradient(var(--gold-tint), transparent 55%), var(--bg-1);
}
.tool-card:hover::before { transform: scaleX(1); }
.tool-card-title { display: block; font-weight: 400; font-family: var(--font-serif); font-size: 1.6rem; color: var(--ink); }
.tool-card-desc { display: block; margin-top: .45rem; font-size: .9rem; color: var(--ink-muted); }
.tool-disclaimer {
  margin-top: 1.25rem; padding: .75rem 1rem;
  background: var(--bg-1); border: 1px solid var(--hairline); border-left: 2px solid var(--gold);
  border-radius: 0; font-size: .82rem; color: var(--ink-muted); line-height: 1.6;
}
.tool-disclaimer strong { color: var(--ink); }
.tool-bridge { border-top: 1px solid var(--hairline); }
.tool-buy { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
.tool-buy-k {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: .75rem;
}

/* --- FAQ accordion (site-wide; calculators carry a page-local copy) ---------------------------- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.faq-list details {
  background: var(--bg-0); border: 1px solid var(--hairline); overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq-list details:hover { border-color: var(--hairline-2); }
.faq-list details[open] { border-color: var(--gold-line); background: linear-gradient(var(--gold-tint), transparent 30%), var(--bg-0); }
.faq-list summary {
  padding: 1.05rem 1.25rem; font-weight: 600; cursor: pointer;
  list-style: none; color: var(--ink); font-size: .95rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; font-family: var(--font-mono); font-size: 1.1rem;
  color: var(--gold-2); flex-shrink: 0; line-height: 1;
}
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list summary:hover { color: var(--gold-2); }
.faq-list details > div { padding: 0 1.25rem 1.15rem; color: var(--ink-muted); font-size: .92rem; line-height: 1.75; }
.faq-list details > div a { color: var(--copper); border-bottom: 1px solid var(--copper); }
/* v6: the home FAQ sits on the navy band — panels drop to page-black there */
.section--alt .faq-list details { background: var(--bg-0); }
.section--alt .faq-list details[open] { background: linear-gradient(var(--gold-tint), transparent 30%), var(--bg-0); }
/* legacy inline chevrons: the +/− marker is the single indicator now */
.faq-list summary svg { display: none; }

/* ════════════════════════════════════════════════════════════════════════
   RESOURCES — standards link library (also used by /price/, /contact/, /for/*)
   ════════════════════════════════════════════════════════════════════════ */
.res-hero { padding-bottom: 1rem; }
.res-lede { max-width: 62ch; margin-left: 0; }
.res-note {
  margin-top: 1.75rem; max-width: 62ch;
  border-left: 2px solid var(--gold);
  padding: .85rem 0 .85rem 1.1rem;
  font-size: .92rem; color: var(--ink-muted); line-height: 1.7;
}
.res-note strong { color: var(--ink); }
.res-primary { padding-top: 2rem; }
.res-primary-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: start; }
.res-primary-h {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1;
  color: var(--ink); margin: .3rem 0 1.1rem;
}
.res-primary-p { color: var(--ink-muted); line-height: 1.75; margin-bottom: 1rem; max-width: 54ch; }
.res-primary-p strong { color: var(--ink); font-weight: 600; }
.res-primary-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.res-card { background: var(--bg-0); border: 1px solid var(--hairline); padding: 1.75rem; display: block; }
.res-card--accent { border-top: 2px solid var(--gold); }
.res-card h3 { font-size: 1.35rem; font-weight: 400; color: var(--ink); margin: 0 0 1rem; line-height: 1.3; }
.res-card p { color: var(--ink-muted); font-size: .92rem; line-height: 1.7; margin: 0 0 .9rem; }
.res-steps { margin: 0; padding-left: 1.1rem; }
.res-steps li { color: var(--ink-muted); font-size: .92rem; line-height: 1.7; margin-bottom: .9rem; }
.res-steps li strong { color: var(--ink); }
.res-steps--wide li { max-width: 60ch; }
.res-card-foot {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hairline);
  font-size: .85rem !important; color: var(--ink-faint) !important;
}
.res-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.res-card--link { transition: border-color .3s, transform .3s, background .3s; }
.res-card--link:hover {
  border-color: var(--gold-line); transform: translateY(-2px);
  background: linear-gradient(var(--gold-tint), transparent 55%), var(--bg-0);
}
.res-tag {
  display: inline-block; font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: .6rem;
}
.res-go {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--gold-line); padding-bottom: 2px;
}
.res-card--link:hover .res-go { color: var(--gold-2); border-color: var(--gold-2); }
.res-table-wrap { margin-top: 2.5rem; overflow-x: auto; border: 1px solid var(--hairline); }
.res-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 720px; }
.res-table thead tr { background: var(--blue); }
.res-table th[scope="col"] {
  text-align: left; padding: .85rem 1.1rem; color: var(--on-accent);
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.res-table tbody tr { border-top: 1px solid var(--hairline); background: var(--bg-0); }
.res-table tbody tr:nth-child(even) { background: var(--bg-1); }
.res-table td, .res-table th[scope="row"] {
  padding: 1rem 1.1rem; vertical-align: top; text-align: left;
  color: var(--ink-muted); line-height: 1.6; font-weight: 400;
}
.res-is { font-family: var(--font-mono); font-size: .82rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.res-table td a { color: var(--copper); border-bottom: 1px solid transparent; }
.res-table td a:hover { border-bottom-color: var(--copper); }
.res-tablenote { margin-top: 1rem; font-size: .85rem; color: var(--ink-faint); max-width: 70ch; line-height: 1.7; }
@media (max-width: 900px) {
  .res-primary-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .res-table { min-width: 640px; }
}

/* --- /price/ and /contact/ -------------------------------------------------- */
.price-sla { margin-top: 1.25rem; font-size: .9rem; color: var(--ink-muted); }
.price-sla strong { color: var(--gold-2); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { padding: .55rem 0; border-bottom: 1px solid var(--hairline); font-size: .92rem; color: var(--ink); }
.price-list li:last-child { border-bottom: none; }
.price-list li span { color: var(--ink-faint); font-size: .85rem; }
.price-list a { color: var(--ink); border-bottom: 1px solid var(--gold-line); }
.price-list a:hover { color: var(--gold-2); }
.nap {
  font-style: normal; line-height: 1.85; color: var(--ink-muted);
  font-size: 1rem; margin: .5rem 0 1.5rem;
  padding-left: 1.1rem; border-left: 2px solid var(--gold);
}
.nap-name { display: block; color: var(--ink); font-weight: 600; margin-bottom: .35rem; }
.nap-h { margin-top: 2.25rem; margin-bottom: .85rem; font-size: 1.25rem; font-weight: 400; color: var(--ink); }
.hours { border-collapse: collapse; width: 100%; max-width: 24rem; }
.hours th, .hours td {
  text-align: left; padding: .55rem 0; font-weight: 400;
  border-bottom: 1px solid var(--hairline); font-size: .92rem;
  background: transparent;
}
.hours th { color: var(--ink); }
.hours td { color: var(--ink-muted); font-family: var(--font-mono); font-size: .84rem; }
.hours .closed { color: var(--ink-faint); }
.nap-row { padding: 1rem 0; border-bottom: 1px solid var(--hairline); }
.nap-row:last-of-type { border-bottom: none; }
.nap-k {
  display: block; font-family: var(--font-mono); font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: .4rem;
}
.nap-v {
  display: block; color: var(--ink); font-size: 1rem; font-weight: 600;
  border-bottom: 1px solid var(--gold-line); width: fit-content;
}
.nap-v:hover { color: var(--gold-2); border-color: var(--gold-2); }
.nap-v--plain {
  font-family: var(--font-mono); font-size: .84rem; font-weight: 400;
  border-bottom: none; color: var(--ink-muted);
}
.nap-note { display: block; margin-top: .35rem; font-size: .85rem; color: var(--ink-faint); line-height: 1.6; }
   CINEMA HOMEPAGE (17-Jul-2026)
   The scroll-cinema homepage experience, ported from the approved prototype.
   EVERY selector below is namespaced under body.home-cinema (set on the
   homepage <body> only) so inner pages are untouched. Like /projects/, the
   homepage is a deliberate dark chapter: the dark-ramp tokens are re-scoped
   on body.home-cinema — header, kept sections (Our Range, FAQ) and chips
   restyle themselves through the same tokens they already read.
   JS states are gated under html.js (set by main.js/cinema.js) and cleared
   by html.cine-reduced, so no-JS and reduced-motion render final states.
   ═══════════════════════════════════════════════════════════════════════════ */

/* --- dark-chapter token re-scope (mirrors the /projects/ night register) --- */
body.home-cinema {
  color-scheme: dark;
  --bg-0:#05090F; --bg-1:#0F1B2A; --bg-2:#101E30;
  --lift:rgba(148,184,222,.07);
  --hairline:rgba(148,184,222,.15); --hairline-2:rgba(148,184,222,.32);
  --grid:rgba(148,184,222,.05);
  --bg-head:rgba(5,9,15,.92); --bg-head-blur:rgba(5,9,15,.78);
  --glow-hi:#10233E; --glow-lo:#091220;
  --ink:#E9F1FA; --ink-muted:#A9BACC; --ink-faint:#7C90A5;
  --copper:#4E96E4; --copper-2:#8FC6FF; --copper-3:#2E6DBE;
  --blue:#12467F; --blue-2:#1B5FA9; --blue-tint:rgba(78,150,228,.12);
  --steel:#8296A9; --cu:#D08A4E; --on-accent:#FFFFFF;
  --gold-3:#E4C57E;                    /* gold text on dark = bright foil */
  --gold-line:rgba(201,164,76,.35); --gold-line-2:rgba(201,164,76,.16);
  --gold-tint:rgba(201,164,76,.08);
  --amber-t:#E8B75C; --amber-bg:rgba(232,183,92,.10); --amber-line:rgba(232,183,92,.32);
  --ok:#5BC17D; --err:#F28B82;
  --shadow:none; --shadow-md:none;
  /* legacy remaps re-declared so they re-resolve against the dark values */
  --clr-bg:var(--bg-0); --clr-bg2:var(--bg-2); --clr-white:var(--bg-1);
  --clr-text:var(--ink); --clr-text-lt:var(--ink-muted); --clr-earth:var(--ink);
  --clr-copper:var(--copper); --clr-copper-lt:var(--copper-2);
  --clr-gold:var(--gold-3); --clr-border:var(--hairline);
  background: var(--bg-0);
  color: var(--ink);
  overflow-x: hidden;
}
html:has(body.home-cinema) { background:#05090F; scrollbar-color:#16253A #05090F; }
/* the ivory certificate frame does not cross into the cinema chapter */
body.home-cinema::before, body.home-cinema::after { display:none; }
body.home-cinema ::selection { background:rgba(201,164,76,.35); color:var(--ink); }
body.home-cinema .site-footer { background:#0A1626; }

/* --- shared cinema microtype --- */
body.home-cinema .cine-kicker {
  font-family: var(--font-mono); font-size:.72rem; letter-spacing:.32em;
  text-transform: uppercase; color: var(--gold);
}
body.home-cinema .cine-kicker b { color: var(--gold-2); font-weight:400; }

/* --- scroll tracks / pinning (JS-gated; no-JS & reduced collapse) --- */
body.home-cinema .cine-track { position:relative; }
body.home-cinema .cine-pin { position:relative; min-height:100vh; min-height:100svh; overflow:hidden; }
html.js:not(.cine-reduced) body.home-cinema .cine-track-hero { height:300vh; }
html.js:not(.cine-reduced) body.home-cinema .cine-track-descent { height:400vh; }
html.js:not(.cine-reduced) body.home-cinema .cine-track .cine-pin {
  position:sticky; top:0; height:100vh; height:100svh;
}

/* --- scene 1 : opening frame --- */
body.home-cinema .cine-hero {
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  background:
    radial-gradient(120% 90% at 50% 110%, rgba(18,70,127,.14), transparent 55%),
    radial-gradient(90% 60% at 50% -10%, rgba(201,164,76,.05), transparent 60%),
    var(--bg-0);
}
/* AI product image behind the hero copy (20-Jul) — square source, cover-cropped; scrim keeps text legible */
body.home-cinema .cine-hero-bg {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:60% 42%;
  z-index:0; filter:brightness(.5) contrast(1.03) saturate(1.03);
}
body.home-cinema .cine-hero-scrim {
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:linear-gradient(90deg, rgba(4,8,14,.80) 0%, rgba(4,8,14,.44) 52%, rgba(4,8,14,.66) 100%),
             radial-gradient(120% 85% at 50% 118%, rgba(18,70,127,.16), transparent 58%);
}
body.home-cinema #motes { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; display:block; }
body.home-cinema .cine-hero-copy { position:relative; z-index:2; text-align:center; padding:0 1.5rem; max-width:64rem; }
body.home-cinema .cine-hero-copy .cine-kicker { margin-bottom:2.2rem; }
body.home-cinema .cine-hero h1 {
  font-family:var(--font-serif); font-weight:400;
  font-size:clamp(3.2rem,9.5vw,7rem);
  line-height:1.02; letter-spacing:-.01em; color:var(--ink);
}
body.home-cinema .ch-right { display:block; color:var(--ink); }
html.js:not(.cine-reduced) body.home-cinema .ch-right { opacity:.45; transition:opacity .9s ease; }
html.js:not(.cine-reduced) body.home-cinema .ch-right.lit { opacity:1; }
body.home-cinema .ch-once { display:block; margin-top:.35rem; }
body.home-cinema .ch-once em {
  font-style:italic;
  background:linear-gradient(105deg,#8a6f31 0%,var(--gold) 30%,var(--gold-2) 55%,#f4e3b6 72%,var(--gold) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
html.js:not(.cine-reduced) body.home-cinema .ch-once { opacity:.18; filter:saturate(.2); transition:opacity 1s ease,filter 1s ease; }
html.js:not(.cine-reduced) body.home-cinema .ch-once.lit { opacity:1; filter:saturate(1); }
body.home-cinema .cine-kw {
  display:block; margin-top:1.6rem;
  font-family:var(--font-mono); font-size:.72rem; font-weight:400;
  letter-spacing:.26em; text-transform:uppercase; color:var(--ink-faint);
}
body.home-cinema .cine-hint {
  position:absolute; bottom:2.4rem; left:50%; transform:translateX(-50%);
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.34em; color:var(--ink-faint);
  text-transform:uppercase; display:flex; flex-direction:column; align-items:center; gap:.7rem;
}
body.home-cinema .cine-hint i { display:block; width:1px; height:34px; background:linear-gradient(var(--ink-faint),transparent); }
html.js:not(.cine-reduced) body.home-cinema .cine-hint { transition:opacity .5s; }

/* --- scene 2 : the descent --- */
body.home-cinema .cine-descent {
  background:linear-gradient(#05090F 0%, #060C14 24%, #070F19 100%);
  display:flex; align-items:center;
}
body.home-cinema .cine-descent-grid {
  width:100%; max-width:1240px; margin:0 auto;
  display:grid; grid-template-columns:minmax(0,58fr) minmax(0,42fr);
  gap:2rem; align-items:center; padding:4.5rem 2rem 2rem;
  height:100%;
}
body.home-cinema .cine-pit { position:relative; height:min(86vh,780px); display:flex; align-items:center; justify-content:center; margin:0; }
body.home-cinema .cine-pit svg { height:100%; width:auto; max-width:100%; overflow:visible; display:block; }
body.home-cinema .cine-descent-copy { position:relative; padding-right:3.2rem; }
body.home-cinema .cine-descent-copy .cine-kicker { margin-bottom:.9rem; color:var(--ink-muted); }
body.home-cinema .cine-descent-copy .cine-h2 {
  font-family:var(--font-serif); font-weight:400;
  font-size:clamp(1.5rem,2.2vw,2.1rem); line-height:1.15; color:var(--ink);
  margin-bottom:1.4rem;
}
body.home-cinema .cine-steps { list-style:none; margin:0; padding:0; }
body.home-cinema .cine-steps li {
  position:relative; padding:1.05rem 0 1.05rem 3.2rem;
  border-top:1px solid var(--hairline);
  font-size:clamp(.92rem,1.1vw,1.05rem); line-height:1.5; color:var(--ink);
}
body.home-cinema .cine-steps li:last-child { border-bottom:1px solid var(--hairline); }
body.home-cinema .cine-steps li strong { color:var(--ink); font-weight:600; }
body.home-cinema .cine-steps li .n {
  position:absolute; left:0; top:1.15rem;
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.12em; color:var(--gold);
}
body.home-cinema .cine-steps li .n::after { content:""; position:absolute; left:0; top:1.5em; width:1.4rem; height:1px; background:var(--hairline); }
html.js:not(.cine-reduced) body.home-cinema .cine-steps li { opacity:.22; transition:opacity .45s ease; }
html.js:not(.cine-reduced) body.home-cinema .cine-steps li.on { opacity:1; }
html.js:not(.cine-reduced) body.home-cinema .cine-steps li.on .n { text-shadow:0 0 12px rgba(201,164,76,.6); }
/* progress rail */
body.home-cinema .cine-rail {
  position:absolute; right:0; top:50%; transform:translateY(-50%);
  height:min(52vh,420px); width:2px; background:var(--hairline);
}
body.home-cinema .cine-rail .fill {
  position:absolute; top:0; left:0; width:100%; height:100%;
  background:linear-gradient(var(--gold-2),var(--gold)); transform-origin:top; transform:scaleY(1);
  box-shadow:0 0 10px rgba(201,164,76,.5); display:block;
}
html.js:not(.cine-reduced) body.home-cinema .cine-rail .fill { transform:scaleY(0); }
body.home-cinema .cine-rail .dot {
  position:absolute; left:50%; width:7px; height:7px; border-radius:50%;
  transform:translate(-50%,-50%);
  background:var(--gold); border:1px solid var(--gold-2); display:block;
}
html.js:not(.cine-reduced) body.home-cinema .cine-rail .dot { background:var(--bg-0); border-color:var(--ink-faint); box-shadow:none; }
html.js:not(.cine-reduced) body.home-cinema .cine-rail .dot.on { background:var(--gold); border-color:var(--gold-2); box-shadow:0 0 8px rgba(201,164,76,.7); }
/* svg microtype (the descent figure) */
body.home-cinema .svgt { font-family:var(--font-mono); font-size:16px; letter-spacing:.14em; fill:var(--ink-muted); }
body.home-cinema .svgt.g { fill:var(--gold); }
body.home-cinema .svgt.d { fill:var(--ink-faint); }

/* --- scene 3 : materials (cine-img slots keep procedural placeholders;
       real PNGs land later at /assets/img/ via data-src-slot) --- */
body.home-cinema .cine-materials { padding:9rem 0 4rem; background:var(--bg-0); }
body.home-cinema .cine-materials .intro { max-width:1240px; margin:0 auto 4rem; padding:0 2rem; }
body.home-cinema .cine-materials .intro .cine-kicker { margin-bottom:1rem; }
body.home-cinema .cine-materials h2,
body.home-cinema .cine-stats h2,
body.home-cinema .cine-honour h2 {
  font-family:var(--font-serif); font-weight:400; font-size:clamp(2rem,3.6vw,3rem); line-height:1.1; color:var(--ink);
  max-width:none; margin:0;
}
body.home-cinema .cine-img {
  position:relative; width:100%; aspect-ratio:16/7; overflow:hidden;
  margin:0 0 2px;
}
/* real AI product photo fills the band; grain/sweep/vignette/caption layer over it (20-Jul) */
body.home-cinema .cine-img .cine-photo {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center; z-index:0;
}
body.home-cinema .cine-img[data-src-slot="gi"] .cine-photo { object-position:50% 45%; }
/* secondary "detail" band under each metal's main band — shorter, small label only (20-Jul) */
body.home-cinema .cine-img--detail { aspect-ratio:16/6; }
/* 21-Jul: gradient slab placeholders retired — plain dark ground behind the real photo only.
   The old grain-canvas + moving light-sweep FX (built for the placeholder) are hidden so the
   material panels show the clean photo render. */
body.home-cinema .cine-img[data-src-slot="copper"],
body.home-cinema .cine-img[data-src-slot="gi"] { background:var(--bg-0); }
body.home-cinema .cine-img .grain,
body.home-cinema .cine-img .sweep { display:none !important; }
body.home-cinema .cine-img::after {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(5,9,15,.55) 100%);
}
body.home-cinema .cine-img figcaption {
  position:absolute; inset:0; display:flex; flex-direction:column;
  justify-content:center; padding:0 clamp(1.5rem,6vw,6rem); z-index:2;
}
body.home-cinema .cine-img[data-src-slot="gi"] figcaption { align-items:flex-end; text-align:right; }
body.home-cinema .mat-label {
  font-family:var(--font-serif); font-weight:400;
  font-size:clamp(3rem,9vw,7.5rem); line-height:.95; letter-spacing:.02em;
  color:rgba(233,241,250,.94); text-shadow:0 4px 60px rgba(5,9,15,.7);
  will-change:transform;
}
body.home-cinema .mat-sub {
  margin-top:1.1rem; font-size:.7rem; letter-spacing:.3em; color:rgba(233,241,250,.66);
  font-family:var(--font-mono);
}
body.home-cinema .mat-sub b { color:var(--gold-2); font-weight:400; }
/* 21-Jul (r2): detail bands (plate, pipe) now carry the SAME display treatment as the
   mains — big serif .mat-label + small-caps .mat-sub, centred over the photo (the small
   corner chips are retired). They inherit .cine-img figcaption + .mat-label/.mat-sub as-is;
   only the side is set per image, each headline over its photo's dark negative space:
   copper-plate to the RIGHT, gi-pipe to the LEFT (an inward bracket vs the mains). */
body.home-cinema .cine-img--detail[data-src-slot="copper"] figcaption {
  align-items:flex-end; text-align:right;
}
body.home-cinema .cine-img--detail[data-src-slot="gi"] figcaption {
  align-items:flex-start; text-align:left;
}
/* 21-Jul: slim trust strip after the materials (text only; supplies count is a sync anchor) */
body.home-cinema .trust-strip { background:var(--bg-1); border-top:1px solid rgba(233,241,250,.06);
  border-bottom:1px solid rgba(233,241,250,.06); padding:1.15rem 1.5rem; }
body.home-cinema .trust-strip p { margin:0 auto; max-width:1100px; display:flex; flex-wrap:wrap;
  justify-content:center; align-items:center; gap:.55rem 1.5rem;
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.13em; text-transform:uppercase;
  color:var(--ink-muted); text-align:center; }
body.home-cinema .trust-strip span:not(:first-child) { border-left:1px solid rgba(233,241,250,.14);
  padding-left:1.5rem; }
body.home-cinema .trust-strip .stat-projects { color:var(--ink); }
@media (max-width:640px){ body.home-cinema .trust-strip span:not(:first-child){ border-left:0; padding-left:0; } }

/* --- scene 4 : numbers that rise (markup default = final numbers) --- */
body.home-cinema .cine-stats { padding:9rem 2rem; background:linear-gradient(#05090F, #081019 55%, #05090F); }
body.home-cinema .cine-stats .inner { max-width:1240px; margin:0 auto; }
body.home-cinema .cine-stats .cine-kicker { margin-bottom:3.5rem; }
body.home-cinema .cine-stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2.5rem; }
body.home-cinema .cine-stat { position:relative; padding-top:1.6rem; }
body.home-cinema .cine-stat::before { content:""; position:absolute; top:0; left:0; width:3.4rem; height:2px; background:linear-gradient(90deg,var(--gold),transparent); }
body.home-cinema .cine-stat .num {
  font-family:var(--font-serif); font-weight:400;
  font-size:clamp(3.4rem,5.4vw,5.8rem); line-height:1; color:var(--ink);
  font-variant-numeric:tabular-nums;
  display:block; min-height:1.05em;
}
body.home-cinema .cine-stat .num.counting { font-family:var(--font-mono); font-size:clamp(2.5rem,4vw,4.2rem); line-height:1.35; letter-spacing:-.02em; color:var(--gold-2); }
body.home-cinema .cine-stat .num .sfx { color:var(--gold); }
body.home-cinema .cine-stat .lbl { margin-top:.9rem; font-size:.86rem; color:var(--ink-muted); line-height:1.45; max-width:12rem; }
body.home-cinema .cine-stat .lbl b { color:var(--ink); font-weight:600; }
body.home-cinema .cine-stat-note {
  margin-top:3.2rem; max-width:56ch; font-size:.92rem; color:var(--ink-muted); line-height:1.7;
}
body.home-cinema .cine-stat-note .stat-projects,
body.home-cinema .cine-stat-note .stat-developers { color:var(--gold-2); }

/* --- scene 5 : honour roll marquee --- */
body.home-cinema .cine-honour { padding:8rem 0 9rem; background:var(--bg-0); overflow:hidden; }
body.home-cinema .cine-honour .intro { max-width:1240px; margin:0 auto 3.6rem; padding:0 2rem; }
body.home-cinema .cine-honour .intro .cine-kicker { margin-bottom:1rem; }
body.home-cinema .cine-marquee {
  position:relative; overflow:hidden; padding:1rem 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
body.home-cinema .cine-marquee .lane { display:flex; width:max-content; }
html.js body.home-cinema .cine-marquee .lane { animation:cine-lane 64s linear infinite; }
html.js body.home-cinema .cine-marquee.rev .lane { animation:cine-lane-rev 56s linear infinite; }
body.home-cinema .cine-marquee:hover .lane { animation-play-state:paused; }
@keyframes cine-lane { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes cine-lane-rev { from{transform:translateX(-50%)} to{transform:translateX(0)} }
html:not(.js) body.home-cinema .cine-marquee .lane { flex-wrap:wrap; width:auto; }
body.home-cinema .cine-marquee .name {
  font-family:var(--font-serif); font-weight:400; white-space:nowrap;
  font-size:clamp(2.2rem,4.4vw,3.8rem); line-height:1.15;
  color:#2E3B4B; padding:0 1.6rem; cursor:default;
  transition:color .35s ease,text-shadow .35s ease;
}
body.home-cinema .cine-marquee .name:hover { color:var(--ink); text-shadow:0 0 34px rgba(201,164,76,.35); }
body.home-cinema .cine-marquee .sep {
  align-self:center; width:6px; height:6px; border-radius:50%;
  background:var(--gold); opacity:.4; flex:none;
}

/* --- kept practical sections (Our Range + FAQ) ride the dark tokens;
       only small fit-and-finish tweaks for the cinema flow --- */
body.home-cinema .section--alt { background:var(--bg-2); }
body.home-cinema .teaser-chips a { background:var(--bg-1); }
body.home-cinema .faq-list details { background:var(--bg-1); }
body.home-cinema .faq-list details[open] { background:linear-gradient(var(--gold-tint), transparent 30%), var(--bg-1); }

/* --- scene 6 : certificate close --- */
body.home-cinema .cine-cert-wrap { position:relative; z-index:2; }
body.home-cinema .cine-certificate {
  position:relative; background:var(--bg-1); color:var(--ink);   /* dark theme (21-Jul: was ivory #F7F3EA; matches adjacent .cine-cta) */
  margin-top:-9vh; border-radius:26px 26px 0 0;
  box-shadow:0 -30px 80px rgba(0,0,0,.55);
  padding:7.5rem 2rem 7rem; text-align:center;
}
html.js:not(.cine-reduced) body.home-cinema .cine-certificate { transform:translateY(46px); opacity:.4; transition:transform 1s cubic-bezier(.2,.7,.2,1),opacity 1s ease; }
html.js:not(.cine-reduced) body.home-cinema .cine-certificate.in { transform:translateY(0); opacity:1; }
body.home-cinema .cine-certificate .seal { margin:0 auto 2.2rem; width:74px; height:74px; display:block; }
body.home-cinema .cine-certificate h2 {
  font-family:var(--font-serif); font-weight:400;
  font-size:clamp(2.2rem,4.6vw,3.8rem); line-height:1.12; color:var(--ink);
  max-width:none; margin:0;
}
body.home-cinema .cine-certificate h2 em { font-style:italic; color:var(--gold-2); }
body.home-cinema .cine-certificate .sub { margin:1.4rem auto 0; max-width:34rem; color:var(--ink-muted); font-size:.95rem; }
body.home-cinema .cine-certificate .sub .mono { font-family:var(--font-mono); font-size:.72rem; letter-spacing:.26em; color:var(--gold-2); }
body.home-cinema .cine-cta {
  background:linear-gradient(180deg,#0A1220,var(--bg-0) 70%);
  padding:6.5rem 2rem 5rem; text-align:center;
}
body.home-cinema .cine-cta .cine-kicker { margin-bottom:2rem; }
body.home-cinema .cine-cta h2 {
  font-family:var(--font-serif); font-weight:400;
  font-size:clamp(1.9rem,4vw,2.9rem); line-height:1.12; color:var(--ink);
  max-width:none; margin:0 0 1rem;
}
body.home-cinema .cine-cta-sub { margin:0 auto 2.4rem; max-width:52ch; color:var(--ink-muted); }
body.home-cinema .cine-cta-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-bottom:3.2rem; }
body.home-cinema .cine-btn-wa { background:var(--wa); color:#FFFFFF; box-shadow:0 8px 30px var(--wa-glow); }
body.home-cinema .cine-btn-wa:hover { background:var(--wa-2); color:#FFFFFF; box-shadow:0 12px 40px var(--wa-glow-2); }
body.home-cinema .cine-btn-ghost { background:transparent; border:1px solid rgba(201,164,76,.55); color:var(--gold-2); }
body.home-cinema .cine-btn-ghost:hover { background:var(--gold-tint); color:var(--gold-2); border-color:var(--gold-2); }
body.home-cinema .cine-cta-contact {
  display:flex; gap:2.4rem; justify-content:center; flex-wrap:wrap;
  font-family:var(--font-mono); font-size:.82rem; letter-spacing:.08em; color:var(--ink-muted);
}
body.home-cinema .cine-cta-contact a:hover { color:var(--gold-2); }

/* --- cinema reveals (cinema.js adds .in; default = visible) --- */
html.js:not(.cine-reduced) body.home-cinema .cine-reveal { opacity:0; transform:translateY(26px); transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1); }
html.js:not(.cine-reduced) body.home-cinema .cine-reveal.in { opacity:1; transform:translateY(0); }

/* --- responsive --- */
@media (max-width:960px) {
  body.home-cinema .cine-descent-grid { grid-template-columns:1fr; grid-template-rows:auto 1fr; gap:.5rem; padding:3.8rem 1.2rem 1rem; align-items:start; align-content:start; }
  body.home-cinema .cine-pit { height:42vh; order:1; }
  body.home-cinema .cine-pit svg { height:42vh; }
  body.home-cinema .cine-descent-copy { order:2; padding-right:2rem; align-self:start; }
  body.home-cinema .cine-descent-copy .cine-kicker { margin-bottom:.4rem; font-size:.62rem; }
  body.home-cinema .cine-descent-copy .cine-h2 { font-size:1.1rem; margin-bottom:.5rem; }
  body.home-cinema .cine-steps li { padding:.5rem 0 .5rem 2.3rem; font-size:.8rem; line-height:1.4; }
  body.home-cinema .cine-steps li .n { top:.6rem; }
  body.home-cinema .cine-rail { right:0; height:30vh; top:42%; }
  body.home-cinema .cine-stat-grid { grid-template-columns:1fr 1fr; gap:2rem; }
  body.home-cinema .cine-img { aspect-ratio:16/10; }
}
@media (max-width:520px) {
  body.home-cinema .cine-stat-grid { grid-template-columns:1fr 1fr; gap:1.6rem; }
  body.home-cinema .cine-stat .lbl { font-size:.76rem; }
}

/* --- graceful degradation: reduced motion collapses the pinned tracks and
       kills all cinema animation; markup defaults are the final states --- */
@media (prefers-reduced-motion:reduce) {
  body.home-cinema .cine-track-hero,
  body.home-cinema .cine-track-descent { height:auto !important; }
  body.home-cinema .cine-track .cine-pin { position:relative !important; height:auto; min-height:100vh; }
  body.home-cinema .ch-right, body.home-cinema .ch-once { opacity:1 !important; filter:none !important; }
  body.home-cinema .cine-steps li { opacity:1 !important; }
  body.home-cinema .cine-rail .fill { transform:scaleY(1) !important; }
  body.home-cinema .cine-rail .dot { background:var(--gold) !important; border-color:var(--gold-2) !important; }
  body.home-cinema .cine-img .sweep { animation:none !important; }
  body.home-cinema .cine-marquee .lane { animation:none !important; flex-wrap:wrap; width:auto; }
  body.home-cinema .cine-certificate { transform:none !important; opacity:1 !important; transition:none !important; }
  body.home-cinema .cine-reveal { opacity:1 !important; transform:none !important; transition:none !important; }
}
