/* ==========================================================================
   Navami Technologies — site stylesheet
   Bhagwa (saffron) and deep coffee. Formal, human.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --saffron: #E8751A;                /* fills, rules, icons, chevrons — not small text on light */
  --saffron-text: #A54F0C;           /* saffron for text/links/buttons: 5.2:1 on cream, 4.7:1 on sand */
  --saffron-deep: #9E4C0A;           /* hover / pressed */
  --saffron-tint: #FDEBDD;
  --saffron-line: rgba(232, 117, 26, .4);
  --saffron-on-dark: #E8751A;

  --maroon: #7A2E1A;                 /* second accent, used sparingly */
  --maroon-tint: #F4E4DE;

  --coffee: #2A1B12;                 /* dark bands */
  --coffee-2: #3A2618;

  --cream: #FBF6EF;
  --sand: #F3E9DC;
  --bg: var(--cream);

  --ink: #201712;
  --text: #3B302A;
  --muted: #6E6058;                  /* 5.0:1 on sand, 5.6:1 on cream */
  --rule: #E6DCD0;
  --rule-strong: #CBBBA9;
  --line: #8F8178;                   /* illustration outlines */

  --on-dark: #F8F1E8;
  --on-dark-muted: rgba(248, 241, 232, .72);
  --on-dark-rule: rgba(248, 241, 232, .16);

  /* legacy aliases so nothing references a missing variable */
  --accent: var(--saffron-text);
  --accent-bright: var(--saffron);
  --accent-deep: var(--saffron-deep);
  --accent-tint: var(--saffron-tint);
  --accent-line: var(--saffron-line);

  /* chevron flow: one continuous ramp, light saffron -> deep saffron -> maroon */
  --step-1a: #F6CDA8; --step-1b: #F1AE74;
  --step-2a: #F1AE74; --step-2b: #E98A3A;
  --step-3a: #E98A3A; --step-3b: #D8681C;   /* ink text stays >= 4.5:1 to here */
  --step-4a: #B4520E; --step-4b: #7A2E1A;   /* white text from here on */
  --chev-angle: 90deg;

  --shadow-hover: 0 8px 20px rgba(42, 27, 18, .10);

  --font-sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 150ms;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.625rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.375rem; line-height: 1.25; }
h4 { font-size: .9375rem; }
p { margin: 0; }
p + p { margin-top: 1em; }
a { color: var(--saffron-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
::selection { background: var(--saffron-tint); color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  padding: 10px 14px; background: var(--coffee); color: var(--on-dark);
  font-size: .875rem; font-weight: 500;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; text-decoration: none; }


/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 32px; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--coffee); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }

/* Colour drift: each band eases out of the previous band's colour instead of
   changing at a hard edge. Dark bands start a shade lighter next to their
   neighbour; light bands drift between cream and sand. */
.hero { background: linear-gradient(295deg, var(--coffee) 0%, #3E2213 45%, #6E3410 80%, #8C4210 100%); }
#products { background: linear-gradient(180deg, #E4D3BC 0, var(--sand) 240px); }
#how-we-work { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
#industries { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
#about { background: linear-gradient(295deg, var(--coffee) 0%, #3E2213 45%, #6E3410 80%, #8C4210 100%); }
.cta { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.site-footer { background: linear-gradient(160deg, #4A2712 0%, var(--coffee) 40%, #3A2113 100%); }
#capabilities, #why { background: linear-gradient(180deg, var(--cream) 0, var(--sand) 240px); }
#how-a-project-runs { background: linear-gradient(180deg, var(--sand) 0, var(--cream) 240px); }
#contact { background: linear-gradient(180deg, var(--sand) 0, var(--cream) 240px, var(--cream) 70%, var(--sand) 100%); }
.section--dark a { color: var(--saffron-on-dark); text-decoration: underline; text-underline-offset: .18em; }

/* Section titles */
.section-title { max-width: 22ch; text-wrap: balance; }
.lede { font-size: 1.125rem; color: var(--text); max-width: 60ch; }
.section--dark .lede { color: var(--on-dark-muted); }
.section-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 32px; align-items: start; margin-bottom: clamp(32px, 4vw, 48px); }
.label { display: block; font-size: .8125rem; font-weight: 500; color: var(--muted); }

/* Plain bulleted list with a small saffron dot */
.list li { position: relative; padding-left: 18px; }
.list li + li { margin-top: 6px; }
.list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--font-sans); font-size: .9375rem; font-weight: 500; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.btn:hover { text-decoration: none; }
.btn .arrow, .btn .arrow--back { width: 16px; height: 16px; transition: transform var(--t-fast) ease; }
.btn:hover .arrow--next, .btn:hover .arrow:not(.arrow--back) { transform: translateX(3px); }
.btn:hover .arrow--back { transform: translateX(-3px); }
.btn-primary { background: var(--saffron-text); border-color: var(--saffron-text); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--saffron-deep); border-color: var(--saffron-deep); }
.btn-primary:active { background: var(--saffron-deep); transform: translateY(1px); }
.btn-secondary { background: transparent; border-color: var(--saffron-text); color: var(--saffron-text); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--saffron-tint); border-color: var(--saffron-deep); color: var(--saffron-deep); }
.btn-secondary:active { background: var(--saffron-tint); }
.btn-coffee { background: var(--coffee); border-color: var(--coffee); color: #fff; }
.btn-coffee:hover, .btn-coffee:focus-visible { background: var(--coffee-2); border-color: var(--coffee-2); }
.btn-ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ink:hover, .btn-ink:focus-visible { background: rgba(32, 23, 18, .08); }
.btn-light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-light:hover, .btn-light:focus-visible { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--saffron-text); }
.link svg { width: 16px; height: 16px; transition: transform var(--t-fast) ease; }
.link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream); border-bottom: 1px solid var(--rule);
  transition: box-shadow 200ms ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--rule), 0 6px 18px rgba(42, 27, 18, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.mark-gear { color: var(--saffron); }
.mark-n { color: var(--ink); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 600; font-size: 1.3125rem; letter-spacing: .02em; color: var(--ink); }
.brand__sub { margin-top: 4px; font-size: .625rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-text); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; align-items: center; gap: 26px; }
.site-nav__list a {
  position: relative; display: inline-block; padding: 6px 0;
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__list a:hover { text-decoration: none; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -8px; border-radius: var(--radius); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink);
  transition: transform 200ms var(--ease), opacity 200ms ease;
}
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { left: 0; top: -6px; }
.nav-toggle__bars::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (coffee band, drawing on a cream panel) ---------- */
.hero { position: relative; color: var(--on-dark); padding-block: clamp(48px, 6vw, 88px); background: var(--coffee); }
.hero .grid { align-items: center; }
.hero h1 { max-width: 20ch; color: #fff; }
.hero__lede { margin-top: 24px; font-size: 1.125rem; max-width: 54ch; color: var(--on-dark-muted); }
.hero__actions { margin-top: 32px; }
.hero__art { position: relative; --px: 0; --py: 0; }
.hero__panel { background: var(--cream); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 24px 22px 24px; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }
.hero__art [data-parallax="board"] { transform: translate(calc(var(--px) * 4px), calc(var(--py) * 4px)); transition: transform 200ms ease; }
.hero__art [data-parallax="motor"] { transform: translate(calc(var(--px) * -4px), calc(var(--py) * -3px)); transition: transform 200ms ease; }

/* ---------- Illustrations (quiet line drawings) ---------- */
.ill { width: 100%; height: auto; }
.ill .ln  { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .ln2 { fill: none; stroke: var(--rule-strong); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.ill .ln3 { fill: none; stroke: var(--rule-strong); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.ill .cu  { fill: none; stroke: var(--saffron); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ill .cu-thin { fill: none; stroke: var(--saffron); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.ill .pad { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.ill .fill-soft { fill: var(--sand); }
.ill .fill-white { fill: #fff; }
.ill .dash { stroke-dasharray: 4 5; }
.ill .hit { fill: transparent; stroke: none; }
.ill .hit-stroke { fill: none; stroke: transparent; stroke-width: 14; }
.ill .no-hit { pointer-events: none; }

/* Hoverable parts: the hovered part brightens in saffron, the rest dim */
.ill .part { transition: opacity 200ms ease; cursor: default; }
.ill .part .ln, .ill .part .ln2, .ill .part .ln3, .ill .part .fill-white, .ill .part .fill-soft, .ill .part .pad { transition: stroke 200ms ease, fill 200ms ease; }
.ill.has-hover .part:not(.is-hover):not(.is-parent) { opacity: .6; }
.ill .part.is-hover .ln, .ill .part.is-hover .ln2, .ill .part.is-hover .ln3, .ill .part.is-hover .pad { stroke: var(--saffron-deep); }
.ill .part.is-hover .fill-white, .ill .part.is-hover .fill-soft, .ill .part.is-hover .pad { fill: var(--saffron-tint); }
.ill .part.is-hover .mesh { stroke: var(--saffron) !important; }
.ill .part.is-hover .band { filter: saturate(1.4); }
.ill .part.is-hover .wend { fill: var(--saffron); }
.ill .part.is-hover .stripes rect:nth-child(odd) { fill: #E9A96F; }

/* Hero: flowing current on the phase leads, and the copper leads draw once on load */
.ill .current { fill: none; stroke: rgba(158, 76, 10, .45); stroke-width: 1.5; stroke-dasharray: 3 9; stroke-linecap: round; pointer-events: none; }
.js .hero-ill .current { animation: ill-flow 2s linear infinite; }
@keyframes ill-flow { to { stroke-dashoffset: -24; } }
.js .hero-ill .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ill-draw 1.2s var(--ease) forwards; }
.js .hero-ill .draw:nth-of-type(2) { animation-delay: .12s; }
.js .hero-ill .draw:nth-of-type(3) { animation-delay: .24s; }
.js .hero-ill .draw:nth-of-type(4) { animation-delay: .36s; }
.js .hero-ill .pad-late { animation: ill-padfill .5s ease 1.1s forwards; }
@keyframes ill-draw { to { stroke-dashoffset: 0; } }
@keyframes ill-padfill { to { fill: var(--saffron-tint); stroke: var(--saffron); } }
@keyframes ill-fade { from { opacity: 0; } to { opacity: 1; } }

/* Product illustrations: one-shot on selection (.play), then a gentle idle while visible */
.js .ill-pcb .trace-hl { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .ill-pcb .pad-hl { fill: #fff; stroke: var(--line); }
.play .ill-pcb .trace-hl { animation: ill-draw .7s var(--ease) forwards; }
.play .ill-pcb .trace-hl:nth-of-type(2) { animation-delay: .18s; }
.play .ill-pcb .trace-hl:nth-of-type(3) { animation-delay: .36s; }
.play .ill-pcb .trace-hl:nth-of-type(4) { animation-delay: .54s; }
.play .ill-pcb .trace-hl:nth-of-type(5) { animation-delay: .72s; }
.ppanel__panel:not([hidden]) .play .ill-pcb .trace-hl { animation: ill-draw .7s var(--ease) forwards, trace-pulse 20s linear 2.5s infinite; }
.ppanel__panel:not([hidden]) .play .ill-pcb .trace-hl:nth-of-type(2) { animation-delay: .18s, 6.5s; }
.ppanel__panel:not([hidden]) .play .ill-pcb .trace-hl:nth-of-type(3) { animation-delay: .36s, 10.5s; }
.ppanel__panel:not([hidden]) .play .ill-pcb .trace-hl:nth-of-type(4) { animation-delay: .54s, 14.5s; }
.ppanel__panel:not([hidden]) .play .ill-pcb .trace-hl:nth-of-type(5) { animation-delay: .72s, 18.5s; }
@keyframes trace-pulse { 0%, 6%, 100% { stroke-width: 1.75; stroke: var(--saffron); } 3% { stroke-width: 3; stroke: var(--saffron-deep); } }
.play .ill-pcb .pad-hl { animation: ill-padfill .4s ease forwards; }
.play .ill-pcb .pad-hl:nth-of-type(1) { animation-delay: .8s; }
.play .ill-pcb .pad-hl:nth-of-type(2) { animation-delay: 1s; }
.play .ill-pcb .pad-hl:nth-of-type(3) { animation-delay: 1.2s; }
.play .ill-pcb .pad-hl:nth-of-type(4) { animation-delay: 1.4s; }

/* Motor cutaway: the section opens, winding ends fill in sequence; idle = rotor stripes scroll, current on the leads */
.ill-motor .wend { fill: var(--saffron-tint); stroke: var(--saffron); stroke-width: 1.5; }
.js .ill-motor .cut { opacity: 0; }
.play .ill-motor .cut { animation: ill-fade .6s ease forwards; }
.play .ill-motor .wend { animation: wend-fill .45s ease forwards; }
.play .ill-motor .wend:nth-of-type(1) { animation-delay: .5s; }
.play .ill-motor .wend:nth-of-type(2) { animation-delay: .7s; }
.play .ill-motor .wend:nth-of-type(3) { animation-delay: .9s; }
.play .ill-motor .wend:nth-of-type(4) { animation-delay: 1.1s; }
@keyframes wend-fill { to { fill: var(--saffron); } }
.ppanel__panel:not([hidden]) .play .ill-motor .stripes { animation: rotor-scroll 6s linear infinite; }
@keyframes rotor-scroll { from { transform: translateY(0); } to { transform: translateY(-28px); } }
.ppanel__panel:not([hidden]) .play .ill-motor .current { animation: ill-flow 2s linear infinite; }

.js .ill-act .rod { transform: translateX(0); }
.play .ill-act .rod { animation: ill-extend 1.5s var(--ease) forwards; }
.ppanel__panel:not([hidden]) .play .ill-act .rod { animation: ill-extend 1.5s var(--ease) forwards, rod-idle 8s ease-in-out 2s infinite; }
@keyframes ill-extend { 0% { transform: translateX(0); } 62% { transform: translateX(104px); } 80% { transform: translateX(92px); } 100% { transform: translateX(96px); } }
@keyframes rod-idle { 0%, 100% { transform: translateX(96px); } 50% { transform: translateX(44px); } }

/* EI transformer: windings draw in, then the input and output waves; idle = waves travel, windings alternate a faint pulse */
.ill-xfmr .wind { fill: none; stroke: var(--saffron); stroke-width: 2; stroke-linecap: round; }
.ill-xfmr .wind.sec { stroke-width: 1.25; }
.js .ill-xfmr .wind { stroke-dasharray: 1; stroke-dashoffset: 1; }
.play .ill-xfmr .wind { animation: ill-draw .9s var(--ease) forwards; }
.play .ill-xfmr .wind.sec { animation-delay: .5s; }
.ppanel__panel:not([hidden]) .play .ill-xfmr .wind { animation: ill-draw .9s var(--ease) forwards, wind-pulse 6s ease-in-out 2.5s infinite; }
.ppanel__panel:not([hidden]) .play .ill-xfmr .wind.sec { animation-delay: .5s, 5.5s; }
@keyframes wind-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.js .ill-xfmr .sine { stroke-dasharray: 1; stroke-dashoffset: 1; }
.play .ill-xfmr .sine-in { animation: ill-draw .8s var(--ease) 1.1s forwards; }
.play .ill-xfmr .sine-out { animation: ill-draw .8s var(--ease) 1.7s forwards; }
.ill-xfmr .travel { fill: none; stroke: rgba(158, 76, 10, .5); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; pointer-events: none; opacity: 0; }
.ppanel__panel:not([hidden]) .play .ill-xfmr .travel { animation: travel-in .4s ease 2.6s forwards, ill-flow 3s linear 2.6s infinite; }
@keyframes travel-in { to { opacity: 1; } }

/* Simulation: mesh draws, bands fill from the hot spot outward, curve draws and markers pop; idle = bands breathe, markers pulse in turn */
.js .ill-sim .mesh { stroke-dasharray: 1; stroke-dashoffset: 1; }
.play .ill-sim .mesh { animation: ill-draw 1s var(--ease) forwards; }
.play .ill-sim .mesh.m2 { animation-delay: .15s; }
.play .ill-sim .mesh.m3 { animation-delay: .3s; }
.ill-sim .band { fill-opacity: .62; }
.ill-sim .band.b1 { fill-opacity: .8; }
.js .ill-sim .band { opacity: 0; }
.play .ill-sim .band { animation: ill-fade .5s ease forwards; }
.play .ill-sim .band.b1 { animation-delay: 1s; }
.play .ill-sim .band.b2 { animation-delay: 1.2s; }
.play .ill-sim .band.b3 { animation-delay: 1.4s; }
.play .ill-sim .band.b4 { animation-delay: 1.6s; }
.ppanel__panel:not([hidden]) .play .ill-sim .band { animation: ill-fade .5s ease forwards, band-breathe 6s ease-in-out 3s infinite; }
.ppanel__panel:not([hidden]) .play .ill-sim .band.b1 { animation-delay: 1s, 3s; }
.ppanel__panel:not([hidden]) .play .ill-sim .band.b2 { animation-delay: 1.2s, 3.4s; }
.ppanel__panel:not([hidden]) .play .ill-sim .band.b3 { animation-delay: 1.4s, 3.8s; }
.ppanel__panel:not([hidden]) .play .ill-sim .band.b4 { animation-delay: 1.6s, 4.2s; }
@keyframes band-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
.js .ill-sim .curve { stroke-dasharray: 1; stroke-dashoffset: 1; }
.play .ill-sim .curve { animation: ill-draw 1.2s var(--ease) 1.8s forwards; }
.ill-sim .marker { fill: var(--saffron); stroke: var(--cream); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.js .ill-sim .marker { transform: scale(0); }
.play .ill-sim .marker { animation: marker-in .35s cubic-bezier(.2, .9, .3, 1.3) forwards; }
.play .ill-sim .marker:nth-of-type(1) { animation-delay: 2.2s; }
.play .ill-sim .marker:nth-of-type(2) { animation-delay: 2.4s; }
.play .ill-sim .marker:nth-of-type(3) { animation-delay: 2.6s; }
.play .ill-sim .marker:nth-of-type(4) { animation-delay: 2.8s; }
.play .ill-sim .marker:nth-of-type(5) { animation-delay: 3s; }
.ppanel__panel:not([hidden]) .play .ill-sim .marker { animation: marker-in .35s cubic-bezier(.2, .9, .3, 1.3) forwards, marker-pulse 5s ease-in-out 3.6s infinite; }
.ppanel__panel:not([hidden]) .play .ill-sim .marker:nth-of-type(1) { animation-delay: 2.2s, 3.6s; }
.ppanel__panel:not([hidden]) .play .ill-sim .marker:nth-of-type(2) { animation-delay: 2.4s, 4.6s; }
.ppanel__panel:not([hidden]) .play .ill-sim .marker:nth-of-type(3) { animation-delay: 2.6s, 5.6s; }
.ppanel__panel:not([hidden]) .play .ill-sim .marker:nth-of-type(4) { animation-delay: 2.8s, 6.6s; }
.ppanel__panel:not([hidden]) .play .ill-sim .marker:nth-of-type(5) { animation-delay: 3s, 7.6s; }
@keyframes marker-in { to { transform: scale(1); } }
@keyframes marker-pulse { 0%, 20%, 100% { transform: scale(1); } 10% { transform: scale(1.6); } }

/* Shared hover label */
.part-label {
  position: fixed; top: 0; left: 0; z-index: 300;
  padding: 6px 10px; border-radius: var(--radius);
  background: var(--coffee); color: #fff; font-size: .8125rem; font-weight: 500; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(42, 27, 18, .25);
  pointer-events: none; opacity: 0; transform: translate(-200px, -200px);
  transition: opacity 150ms ease;
}
.part-label.is-visible { opacity: 1; }

/* ---------- Products (sand band) ---------- */
.products__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: start; }
.pindex { border-top: 1px solid var(--rule-strong); }
.pindex__row {
  position: relative; display: block; width: 100%; padding: 16px 20px 16px 24px; text-align: left;
  font-size: 1.0625rem; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.pindex__row:hover { background: var(--cream); }
.pindex__row:focus-visible { outline-offset: -2px; z-index: 1; }
.pindex__row[aria-selected="true"] { background: var(--saffron-tint); color: var(--ink); }
.tablist-scroll { scroll-padding-inline: 16px; }
.tablist-scroll.has-overflow:not(.at-end) {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
}

.ppanel { border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.ppanel__stage { position: relative; display: grid; }
.ppanel__panel { grid-area: 1 / 1; }
.ppanel__panel[hidden] { display: block !important; visibility: hidden; }
.ppanel__stage.is-fading { opacity: 0; transition: opacity 120ms ease; }
.ppanel__stage.is-showing { animation: panel-in 200ms ease; }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
.ppanel__fig { margin: 0; padding: 28px 40px; background: var(--cream); border-bottom: 1px solid var(--rule); }
.ppanel__body { padding: 28px 32px 30px; background: var(--cream); }
.ppanel__body h3 { font-size: 1.5rem; }
.ppanel__text { margin-top: 12px; max-width: 62ch; }
.ppanel__body h4 { margin-top: 22px; }
.ppanel__body .list { margin-top: 10px; font-size: .9375rem; }
.ppanel__foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); }

/* ---------- How we work: chevron flow + expandable cards ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 12px; }
.step-card { position: relative; display: flex; flex-direction: column; }
.step-chevron {
  position: relative; display: block; width: 100%; min-height: 76px; padding: 12px 34px 12px 22px; text-align: left;
  background: linear-gradient(var(--chev-angle), var(--chev-a, var(--saffron)), var(--chev-b, var(--saffron))); color: var(--chev-text, var(--ink));
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  transition: filter var(--t-fast) ease;
}
.step-card + .step-card .step-chevron { padding-left: 34px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%); }
.step-chevron:hover { filter: brightness(.95); }
.step-chevron:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.step-chevron .label { color: inherit; opacity: .85; }
.step-chevron__name { display: block; margin-top: 2px; font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.step-card:nth-child(1) { --chev-a: var(--step-1a); --chev-b: var(--step-1b); --chev-text: var(--ink); }
.step-card:nth-child(2) { --chev-a: var(--step-2a); --chev-b: var(--step-2b); --chev-text: var(--ink); }
.step-card:nth-child(3) { --chev-a: var(--step-3a); --chev-b: var(--step-3b); --chev-text: var(--ink); }
.step-card:nth-child(4) { --chev-a: var(--step-4a); --chev-b: var(--step-4b); --chev-text: #fff; }
.step-card__box {
  margin-top: 14px; flex: 1; background: var(--cream); border: 1px solid var(--rule); border-radius: var(--radius);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms ease;
}
.step-card:hover .step-card__box, .step-card.is-open .step-card__box { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.step-card.is-open .step-card__box { border-color: var(--saffron-line); }
.step-card__text { padding: 18px 20px 0; font-size: .9375rem; color: var(--text); }
.step-card__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; margin-top: 16px; padding: 12px 20px; text-align: left;
  font-size: .9375rem; font-weight: 600; color: var(--saffron-text); border-top: 1px solid var(--rule);
  transition: background-color var(--t-fast) ease;
}
.step-card__toggle:hover { background: var(--saffron-tint); }
.step-card__toggle:focus-visible { outline-offset: -3px; }
.step-card:nth-child(n+3) .step-card__toggle { color: var(--maroon); }
.step-card__chev { flex: none; width: 20px; height: 20px; transition: transform 250ms var(--ease); }
.step-card__chev svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step-card.is-open .step-card__chev { transform: rotate(180deg); }
.step-card__more { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 250ms var(--ease); }
.js .step-card__more { grid-template-rows: 0fr; }
.js .step-card.is-open .step-card__more { grid-template-rows: 1fr; }
.step-card__more > div { overflow: hidden; }
.js .step-card__more > div { visibility: hidden; transition: visibility 0s linear 250ms; }
.js .step-card.is-open .step-card__more > div { visibility: visible; transition-delay: 0s; }
.step-card__inner { padding: 2px 20px 20px; }
.step-card__inner .list { font-size: .9375rem; }

/* ---------- Industries ---------- */
.sectors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sector {
  position: relative; padding: 26px 22px 26px; background: var(--cream); border: 1px solid var(--rule); border-radius: var(--radius); cursor: default;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color var(--t-fast) ease;
}
.sector:hover, .sector:focus-visible, .sector.is-open { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--saffron-line); z-index: 1; }
.sector:focus-visible { outline: none; border-color: var(--saffron-line); border-top-color: var(--saffron); }
.sector__icon {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--saffron-tint); color: var(--saffron-text);
  transition: background-color 200ms ease, color 200ms ease;
}
.sector__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sector:hover .sector__icon, .sector:focus-visible .sector__icon, .sector.is-open .sector__icon { background: var(--saffron); color: var(--ink); }
.sector h3 { margin-top: 20px; font-size: 1.125rem; }
.sector p { margin-top: 8px; font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.sector__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 250ms var(--ease), opacity 250ms ease; }
.sector__more > span { display: block; overflow: hidden; }
.sector__more > span > span { display: block; padding-top: 10px; font-size: .875rem; color: var(--maroon); }
.sector:hover .sector__more, .sector:focus-visible .sector__more, .sector.is-open .sector__more { grid-template-rows: 1fr; opacity: 1; }

/* ---------- About band (home): coffee ---------- */
.about-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: start; }
.about-band__text { max-width: 62ch; color: var(--on-dark); }
.about-band__text .link { margin-top: 22px; color: var(--saffron-on-dark); text-decoration: underline; text-underline-offset: .18em; }

/* ---------- Closing CTA: solid saffron band ---------- */
.cta { padding-block: clamp(48px, 6vw, 80px); color: var(--ink); }
.cta h2 { max-width: 18ch; text-wrap: balance; color: var(--ink); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.cta p { margin-top: 14px; max-width: 52ch; color: var(--ink); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta .btn:focus-visible { outline-color: var(--ink); }

/* ---------- Footer (coffee) ---------- */
.site-footer { background: var(--coffee); color: var(--on-dark); padding-top: clamp(48px, 6vw, 72px); }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .mark-gear, .site-footer .mark-n { color: var(--on-dark); }
.site-footer .brand__name { color: var(--on-dark); }
.site-footer .brand__sub { color: var(--on-dark-muted); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr); gap: 32px; }
.footer__desc { margin-top: 20px; max-width: 34ch; font-size: .9375rem; color: var(--on-dark-muted); }
.footer__h { font-size: .9375rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer__contact dt { font-size: .8125rem; font-weight: 500; color: var(--on-dark-muted); }
.footer__contact dd { margin: 2px 0 14px; font-size: .9375rem; }
.footer__contact dd a { color: #fff; }
.footer__links li + li { margin-top: 10px; }
.footer__links a { font-size: .9375rem; color: var(--on-dark); }
.footer__bottom { margin-top: clamp(36px, 5vw, 56px); padding-block: 20px; border-top: 1px solid var(--on-dark-rule); font-size: .8125rem; color: var(--on-dark-muted); }

/* ---------- About page ---------- */
.page-intro { padding-block: clamp(48px, 6vw, 88px); }
.page-intro h1 { max-width: 16ch; text-wrap: balance; }
.page-intro__story { margin-top: 26px; max-width: 60ch; }
.page-intro__story p + p { margin-top: 1.1em; }
.facts { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.facts__head { padding: 16px 22px; background: var(--saffron-tint); border-bottom: 1px solid var(--rule); }
.facts__title { font-weight: 600; color: var(--maroon); font-size: .9375rem; }
.facts dl { margin: 0; }
.facts__row { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; padding: 13px 22px; border-bottom: 1px solid var(--rule); transition: background-color var(--t-fast) ease; }
.facts__row:hover { background: var(--sand); }
.facts__row:last-child { border-bottom: 0; }
.facts dt { font-size: .875rem; font-weight: 500; color: var(--muted); }
.facts dd { margin: 0; font-size: .9375rem; color: var(--ink); }

/* Capability table with cross-hair hover */
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; border-collapse: collapse; border: 1px solid var(--rule-strong); background: var(--cream); }
.matrix th, .matrix td { padding: 14px 18px; text-align: left; vertical-align: top; border: 1px solid var(--rule); font-size: .9375rem; transition: background-color var(--t-fast) ease; }
.matrix thead th { font-weight: 600; color: var(--maroon); background: var(--saffron-tint); border-bottom: 1px solid var(--rule-strong); }
.matrix tbody th { font-weight: 600; color: var(--ink); background: var(--sand); width: 18%; }
.matrix tbody th small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.matrix td { color: var(--text); line-height: 1.5; }
.matrix tbody .hl-row > td, .matrix tbody .hl-row > th, .matrix tbody .hl-col { background: var(--saffron-tint); }
.matrix tbody td.hl-cell { background: var(--maroon-tint); color: var(--maroon); }
.matrix-note { margin-top: 16px; font-size: .9375rem; color: var(--text); }

/* Stepper (about) */
.stepper { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: start; }
.stepper__list { position: relative; }
.stepper__list::before { content: ""; position: absolute; left: 20px; top: 24px; bottom: 24px; width: 1px; background: var(--rule-strong); }
.stepper__row {
  position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; align-items: center;
  width: 100%; padding: 12px 16px 12px 0; text-align: left; border-radius: var(--radius);
}
.stepper__row::after { content: ""; position: absolute; left: 58px; right: 0; bottom: 6px; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease); }
.stepper__row:hover::after { transform: scaleX(1); }
.stepper__row + .stepper__row { margin-top: 6px; }
.stepper__row:hover .stepper__title { color: var(--saffron-text); }
.stepper__node {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--rule-strong);
  font-size: .9375rem; font-weight: 500; color: var(--muted);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.stepper__row[aria-selected="true"] .stepper__node { background: var(--saffron); border-color: var(--saffron); color: var(--ink); font-weight: 600; }
.stepper__row.is-done .stepper__node { border-color: var(--saffron); border-width: 2px; color: var(--saffron-text); }
.stepper__title { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--ink); transition: color var(--t-fast) ease; }
.stepper__row[aria-selected="true"] .stepper__title { color: var(--saffron-text); }
.spanel { border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.spanel__stage { display: grid; }
.spanel__panel { grid-area: 1 / 1; }
.spanel__panel[hidden] { display: block !important; visibility: hidden; }
.spanel__stage.is-fading { opacity: 0; transition: opacity 120ms ease; }
.spanel__stage.is-showing { animation: panel-in 200ms ease; }
.spanel__head { padding: 22px 32px; border-bottom: 1px solid var(--rule); background: var(--saffron-tint); }
.spanel__head .label { color: var(--maroon); }
.spanel__head h3 { font-size: 1.375rem; margin-top: 2px; }
.spanel__desc { padding: 22px 32px 0; max-width: 62ch; color: var(--text); }
.spanel__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; padding: 24px 32px 28px; }
.spanel__col h4 { padding-bottom: 10px; border-bottom: 1px solid var(--rule-strong); color: var(--ink); }
.spanel__col .list { margin-top: 12px; font-size: .9375rem; }
.spanel__foot { display: flex; justify-content: flex-end; padding: 18px 32px 22px; border-top: 1px solid var(--rule); }

/* Why: cream cards on the sand band */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why__col { padding: 30px 30px 34px; background: var(--cream); border: 1px solid var(--rule); border-radius: var(--radius); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color var(--t-fast) ease; }
.why__col:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--saffron-line); }
.why__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--saffron); color: var(--ink); }
.why__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why__col h3 { margin-top: 20px; font-size: 1.25rem; }
.why__col p { margin-top: 10px; font-size: .9375rem; color: var(--text); }

/* Contact */
.contact__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: start; }
.contact__details dl { margin: 0; }
.contact__details .row { padding: 16px 0; border-top: 1px solid var(--rule); }
.contact__details .row:last-child { border-bottom: 1px solid var(--rule); }
.contact__details dt { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.contact__details dd { margin: 4px 0 0; font-size: 1.1875rem; font-weight: 500; }
.contact__details dd a { color: var(--ink); }
.contact__details dd a:hover { color: var(--saffron-text); }
.contact__note { margin-top: 22px; font-size: .9375rem; color: var(--muted); max-width: 42ch; }

.form { border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--sand); padding: 26px 32px 30px; }
.form__head { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule-strong); }
.form__head h3 { font-size: 1.125rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236E6058' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px var(--saffron-line); }
.field input::placeholder, .field textarea::placeholder { color: #9A8F86; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field__error { display: none; font-size: .8125rem; color: #B3261E; }
.field.has-error .field__error { display: block; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.form__hint { font-size: .875rem; color: var(--muted); }
.form__note { display: none; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--saffron-line); background: var(--saffron-tint); border-radius: var(--radius); font-size: .9375rem; color: var(--ink); }
.form__note.is-visible { display: block; }
.form__note.is-error { border-color: #c9433a; border-left-color: #c9433a; background: #fbecea; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.form__note a { font-weight: 500; }

/* ---------- Scroll reveal (subtle) ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 450ms var(--ease), transform 450ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sectors { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sector { grid-column: span 2; }
  .sector:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--cream); border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 24px rgba(42, 27, 18, .10);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--rule); }
  .site-nav__list a { display: block; padding: 14px 0; font-size: 1.0625rem; }
  .site-nav__list a::after { display: none; }
  .site-nav .btn { margin-top: 18px; align-self: flex-start; }
  .grid { column-gap: 24px; }
  .hero .grid { row-gap: 36px; }
  .hero .col-7, .hero .col-5 { grid-column: span 12; }
  .hero__art { max-width: 520px; }
  .section-intro { grid-template-columns: 1fr; gap: 14px; }
  .products__layout { grid-template-columns: 1fr; gap: 24px; }
  .pindex { display: flex; overflow-x: auto; scrollbar-width: thin; border-top: 0; border-bottom: 1px solid var(--rule-strong); scroll-snap-type: x proximity; }
  .pindex__row { flex: none; width: auto; padding: 12px 18px 14px; border-bottom: 0; border-right: 1px solid var(--rule-strong); scroll-snap-align: start; font-size: .9375rem; }
  /* chevrons stack as full-width bars pointing down */
  .process { grid-template-columns: 1fr; gap: 20px; --chev-angle: 180deg; }
  .step-chevron, .step-card + .step-card .step-chevron {
    min-height: 0; padding: 14px 20px 26px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
  }
  .step-card + .step-card .step-chevron { padding-top: 26px; clip-path: polygon(0 0, 50% 12px, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px)); }
  .step-card__box { margin-top: 10px; }
  .about-band__grid { grid-template-columns: 1fr; gap: 16px; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-intro .grid > * { grid-column: span 12; }
  .stepper { grid-template-columns: 1fr; gap: 20px; }
  .stepper__list { display: flex; overflow-x: auto; scrollbar-width: thin; gap: 4px; padding-bottom: 6px; }
  .stepper__list::before { display: none; }
  .stepper__row { flex: none; width: auto; grid-template-columns: 32px auto; column-gap: 10px; padding: 8px 14px 8px 6px; border: 1px solid var(--rule-strong); }
  .stepper__row::after { display: none; }
  .stepper__row + .stepper__row { margin-top: 0; }
  .stepper__row[aria-selected="true"] { background: var(--saffron-tint); border-color: var(--saffron-line); }
  .stepper__node { width: 32px; height: 32px; font-size: .875rem; }
  .spanel__cols { grid-template-columns: 1fr; gap: 20px; }
  .why { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 64px; }
  body { font-size: 1rem; }
  .section { padding-block: 52px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1.1875rem; }
  .hero { padding-block: 40px 52px; }
  .hero__actions .btn { width: 100%; }
  .hero__panel { padding: 18px 16px 14px 12px; border-left-width: 6px; }
  .ppanel__fig { padding: 20px 20px; }
  .ppanel__body { padding: 22px 18px 24px; }
  .ppanel__body h3 { font-size: 1.3rem; }
  .sectors { grid-template-columns: 1fr; gap: 12px; }
  .sector, .sector:nth-child(n+4) { grid-column: auto; }
  .cta__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .facts__row { grid-template-columns: 1fr; gap: 2px; }
  .matrix-wrap { overflow: visible; }
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; width: 100%; }
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix { border: 0; }
  .matrix tbody tr { border: 1px solid var(--rule-strong); margin-bottom: 16px; }
  .matrix tbody th { width: auto; border: 0; border-bottom: 1px solid var(--rule-strong); }
  .matrix td { border: 0; border-top: 1px solid var(--rule); padding: 12px 18px; }
  .matrix td::before { content: attr(data-col); display: block; margin-bottom: 2px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
  .spanel__head, .spanel__desc, .spanel__cols, .spanel__foot { padding-inline: 18px; }
  .spanel__foot .btn { width: 100%; }
  .form { padding: 22px 18px 24px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
}

/* ---------- Hover-only effects are for fine pointers ---------- */
@media (hover: none) {
  .sector:hover:not(.is-open) { transform: none; box-shadow: none; border-top-color: var(--rule); }
  .sector:hover:not(.is-open) .sector__icon { background: var(--saffron-tint); color: var(--saffron-text); }
  .sector:hover:not(.is-open) .sector__more { grid-template-rows: 0fr; opacity: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .hero-ill .current, .ill-motor .stripes, .ill-motor .current, .ill-xfmr .travel, .ill-sim .band, .ill-sim .marker { animation: none !important; }
  .js .ill-motor .cut { opacity: 1; }
  .ill-motor .wend { fill: var(--saffron); }
  .js .ill-xfmr .wind, .js .ill-xfmr .sine, .js .ill-sim .curve { stroke-dashoffset: 0; }
  .ill-xfmr .travel { opacity: 0; }
  .js .ill-sim .band { opacity: 1; }
  .js .ill-sim .marker { transform: scale(1); }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-ill .draw, .js .ill-pcb .trace-hl, .js .ill-xfmr .sine, .js .ill-sim .mesh { stroke-dashoffset: 0; }
  .js .hero-ill .pad-late, .js .ill-pcb .pad-hl { fill: var(--saffron-tint); stroke: var(--saffron); }
  .play .ill-act .rod { transform: translateX(96px); animation: none !important; }
  .play .ill-pcb .trace-hl, .play .ill-xfmr .wind { animation: none !important; }
  .hero__art [data-parallax] { transform: none !important; }
  .sector:hover, .why__col:hover, .step-card:hover .step-card__box { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .skip-link, .nav-toggle, .cta, .form, .part-label { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .step-card__more { grid-template-rows: 1fr; }
  .js .step-card__more > div { visibility: visible; }
  .step-chevron { clip-path: none; }
}
