/* ===========================================================================
   ByteTech Solutions — Editorial Technical Minimalism
   Monochrome navy system. No accent colour. Poppins + Spline Sans Mono.
   Shared across all 6 pages. Tokens are the single source of truth.
   =========================================================================== */

:root {
  /* Brand palette — 03-brand-identity.md (verbatim) */
  --navy: #16233B;
  --navy-700: #1E2A44;
  --ink: #0F172A;
  --slate-600: #475569;
  --slate-500: #5A6678;
  --slate-400: #8A94A6;
  --line: #E2E8F0;
  --paper: #FFFFFF;
  --paper-2: #F6F7F9;
  --dark-bg: #0F1420;
  --on-dark: #FFFFFF;
  --on-dark-muted: #A7B0C0;

  /* Hairline on dark bands */
  --line-dark: rgba(255,255,255,0.14);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Editorial grid */
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --col-gap: clamp(20px, 2.4vw, 36px);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .55s;

  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--navy);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--slate-600);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;         /* no horizontal scroll, without breaking sticky header */
  max-width: 100%;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* Keyboard focus — navy ring (never the scaffold's blue) */
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 2px;
}
/* On dark bands / footer the navy ring is invisible — invert to a white
   ring with a dark gap so keyboard focus stays visible (WCAG 2.4.7). */
.band--dark :focus-visible,
.site-foot :focus-visible { box-shadow: 0 0 0 3px var(--dark-bg), 0 0 0 5px #fff; }

/* ---------------------------------------------------------------- Layout -- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.band { position: relative; }
.band--light  { background: var(--paper); }
.band--paper2 { background: var(--paper-2); }
.band--dark   { background: var(--dark-bg); color: var(--on-dark); }
.band--dark p { color: var(--on-dark-muted); }

/* vertical only — using `padding-block` so a combined `.wrap.section`
   (the hero on every page) keeps .wrap's horizontal gutter instead of
   having it zeroed by a `padding: X 0` shorthand. */
.section { padding-block: clamp(68px, 10vw, 140px); }
.section--tight { padding-block: clamp(44px, 6vw, 84px); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
}
/* Grid children must be allowed to shrink below content size, or a long
   word / wide child can push the track past the viewport (horizontal scroll). */
.grid > * { min-width: 0; }

.rule { height: 1px; background: var(--line); border: 0; }
.band--dark .rule { background: var(--line-dark); }

/* -------------------------------------------------------------- Type kit -- */

.eyebrow {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--slate-400);
  display: inline-flex;
  align-items: center;
  gap: .9em;
}
.band--dark .eyebrow { color: var(--on-dark-muted); }
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow--plain::before { display: none; }

.idx {
  font-family: var(--mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--slate-400);
  letter-spacing: .04em;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4 { color: var(--on-dark); }

.display {
  font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.h-xl { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -0.025em; line-height: 1.02; }
.h-lg { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.08; }
.h-md { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.012em; line-height: 1.2; }

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.6;
  color: var(--slate-600);
  max-width: 60ch;
}
.band--dark .lead { color: var(--on-dark-muted); }

.measure { max-width: 62ch; }
.muted { color: var(--slate-500); }
.ink { color: var(--ink); }

.placeholder-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-400);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 7px;
  vertical-align: middle;
}
.band--dark .placeholder-tag { color: var(--on-dark-muted); border-color: var(--line-dark); }

/* --------------------------------------------------------------- Buttons -- */
/* Three tiers, monochrome: solid (primary) · outline (secondary) · text.    */

.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  height: var(--h);
  padding: 0 26px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  color: var(--navy);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }

/* On dark bands — invert */
.band--dark .btn--primary,
.btn--on-dark {
  background: #fff; color: var(--navy); border-color: #fff;
}
.band--dark .btn--primary:hover,
.btn--on-dark:hover { background: var(--on-dark-muted); border-color: var(--on-dark-muted); }

.band--dark .btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.55);
}
.band--dark .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Text link action — the row/card quote funnel */
.linkcta {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding-bottom: 2px;
}
.band--dark .linkcta { color: #fff; }
.linkcta svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.linkcta::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.linkcta:hover::after { transform: scaleX(1); }
.linkcta:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- Header --- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.logo__mark { width: 37px; height: 46px; color: inherit; flex: none; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font); font-weight: 600; font-size: 20px;
  letter-spacing: -0.03em; color: inherit;
}
.logo__sub {
  font-family: var(--font); font-weight: 500; font-size: 9px;
  letter-spacing: .42em; text-transform: uppercase; color: var(--slate-500);
  margin-top: 3px;
}
.is-dark .logo, .band--dark .logo { color: #fff; }
.is-dark .logo__sub, .band--dark .logo__sub { color: var(--on-dark-muted); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav__link {
  font-size: 14.5px; font-weight: 500; color: var(--slate-600);
  position: relative; padding: 6px 0; transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link[aria-current="page"] { color: var(--navy); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--navy);
}

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 4px; background: #fff; cursor: pointer; align-items: center;
  justify-content: center; color: var(--navy);
}
.nav__toggle svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------- Footer --- */

.site-foot { background: var(--dark-bg); color: var(--on-dark); padding: clamp(60px,8vw,104px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: clamp(28px,4vw,56px); }
.foot__brand .logo { color: #fff; margin-bottom: 20px; }
.foot__tag { color: var(--on-dark-muted); max-width: 30ch; font-size: 15px; }
.site-foot h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--slate-400); margin-bottom: 20px;
}
.foot__list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot__list a, .foot__contact a, .foot__contact span { color: var(--on-dark-muted); font-size: 15px; transition: color var(--dur) var(--ease); }
.foot__list a:hover, .foot__contact a:hover { color: #fff; }
.foot__contact { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.foot__contact strong { color: #fff; font-weight: 500; }
.foot__social { display: flex; gap: 12px; margin-top: 18px; }
.foot__social a {
  width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 4px;
  display: grid; place-items: center; color: var(--on-dark-muted);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.foot__social a:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.foot__social svg { width: 18px; height: 18px; }
.foot__bottom {
  margin-top: clamp(40px,5vw,64px); padding-top: 28px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--slate-400);
}

/* --------------------------------------------------- Voice search bar ----- */

.vsearch { position: relative; }
.vsearch__field {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper);
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  padding: 0 10px 0 22px;
  height: 68px;
  transition: box-shadow var(--dur) var(--ease);
}
.band--dark .vsearch__field { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.7); }
.vsearch__icon { width: 20px; height: 20px; color: var(--slate-400); flex: none; }
.band--dark .vsearch__icon { color: var(--on-dark-muted); }
.vsearch__input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: var(--font); font-size: 16px; font-weight: 400; color: var(--navy);
}
.vsearch__input::placeholder { color: var(--slate-400); }
.band--dark .vsearch__input { color: #fff; }
.band--dark .vsearch__input::placeholder { color: var(--on-dark-muted); }

.vmic {
  flex: none; position: relative; width: 48px; height: 48px; border-radius: 5px;
  border: 1.5px solid var(--navy); background: var(--navy); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background var(--dur) var(--ease), transform .2s var(--ease);
}
.vmic:hover { background: var(--navy-700); }
.vmic svg { width: 20px; height: 20px; }
.band--dark .vmic { background: #fff; color: var(--navy); border-color: #fff; }

/* Listening state — monoline pulse rings (demonstrable on click, no live mic needed) */
.vmic__pulse { position: absolute; inset: 0; border-radius: 5px; pointer-events: none; }
.vsearch.is-listening .vmic { background: var(--navy-700); }
.vsearch.is-listening .vmic__pulse::before,
.vsearch.is-listening .vmic__pulse::after {
  content: ""; position: absolute; inset: -2px; border: 1.5px solid var(--navy);
  border-radius: 7px; opacity: 0; animation: vpulse 1.6s var(--ease) infinite;
}
.band--dark .vsearch.is-listening .vmic__pulse::before,
.band--dark .vsearch.is-listening .vmic__pulse::after { border-color: #fff; }
.vsearch.is-listening .vmic__pulse::after { animation-delay: .8s; }
@keyframes vpulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }

.vsearch.is-listening .vsearch__field { box-shadow: 0 0 0 3px rgba(22,35,59,.1); }
.band--dark .vsearch.is-listening .vsearch__field { box-shadow: 0 0 0 3px rgba(255,255,255,.14); }

.vsearch__status {
  display: flex; align-items: center; gap: 10px; min-height: 22px; margin-top: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-400); opacity: 0; transition: opacity var(--dur) var(--ease);
}
.band--dark .vsearch__status { color: var(--on-dark-muted); }
.vsearch.is-listening .vsearch__status,
.vsearch.has-query .vsearch__status { opacity: 1; }
.vwave { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.vwave i {
  width: 2px; background: currentColor; height: 4px; border-radius: 2px;
  animation: vwave 1s var(--ease) infinite;
}
.vwave i:nth-child(2){ animation-delay:.12s } .vwave i:nth-child(3){ animation-delay:.24s }
.vwave i:nth-child(4){ animation-delay:.36s } .vwave i:nth-child(5){ animation-delay:.48s }
.vsearch:not(.is-listening) .vwave { display: none; }
@keyframes vwave { 0%,100%{ height:4px } 50%{ height:14px } }

/* ---------------------------------------------------- Category index ------ */

.cat-index { border-top: 1px solid var(--line); }
.band--dark .cat-index { border-top-color: var(--line-dark); }
.cat-row {
  display: grid;
  grid-template-columns: 58px 44px 1fr minmax(0, 2fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.band--dark .cat-row { border-bottom-color: var(--line-dark); }
.cat-row > * { min-width: 0; }   /* let name/desc wrap instead of overflowing */
.cat-row:hover { background: var(--paper-2); }
.band--dark .cat-row:hover { background: rgba(255,255,255,.03); }
.cat-row__idx { font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--slate-400); }
.cat-row__icon { width: 30px; height: 30px; color: var(--navy); }
.band--dark .cat-row__icon { color: #fff; }
.cat-row__name { font-family: var(--font); font-weight: 600; font-size: clamp(1.1rem,1.6vw,1.35rem); letter-spacing: -0.015em; color: var(--navy); }
.band--dark .cat-row__name { color: #fff; }
.cat-row__desc { font-size: 14.5px; color: var(--slate-500); line-height: 1.5; }
.band--dark .cat-row__desc { color: var(--on-dark-muted); }
.cat-row__tags { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--slate-400); text-transform: uppercase; }
.cat-row.is-hidden { display: none; }
.cat-row mark { background: var(--navy); color: #fff; padding: 0 2px; border-radius: 2px; }

.filter-empty {
  padding: 48px 0; color: var(--slate-500); font-size: 16px; display: none;
}
.filter-empty.show { display: block; }

/* ------------------------------------------------------- Stat / spec row -- */

.specrow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.band--dark .specrow { border-top-color: var(--line-dark); }
.specrow__cell { padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); }
.band--dark .specrow__cell { border-bottom-color: var(--line-dark); }
.specrow__num { font-family: var(--font); font-weight: 600; font-size: clamp(1.8rem,3vw,2.6rem); letter-spacing: -0.02em; color: var(--navy); line-height: 1; }
.band--dark .specrow__num { color: #fff; }
.specrow__label { margin-top: 10px; font-size: 13.5px; color: var(--slate-500); line-height: 1.45; }
.band--dark .specrow__label { color: var(--on-dark-muted); }

/* ------------------------------------------------------------- Pillars ---- */

.pillar { display: grid; grid-template-columns: 56px 1fr; gap: 28px; align-items: start; }
.pillar__icon { width: 44px; height: 44px; color: var(--navy); }
.band--dark .pillar__icon { color: #fff; }
.pillar__sub { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--slate-400); text-transform: uppercase; margin-top: 14px; line-height: 1.9; }
.band--dark .pillar__sub { color: var(--on-dark-muted); }

/* --------------------------------------------------------- Portrait ------- */

.portrait {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 28px 56px -34px rgba(15,20,32,.55);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait__cap {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(15,20,32,.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 12px 16px;
}
.portrait__cap b { color: #fff; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.portrait__cap span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap;
}

/* ------------------------------------------------------- Pull-quotes ------ */

.quote { position: relative; }
.quote__mark { font-family: var(--font); font-weight: 700; font-size: clamp(3rem,6vw,5rem); color: var(--line); line-height: .6; }
.band--dark .quote__mark { color: var(--line-dark); }
.quote__text { font-family: var(--font); font-weight: 500; font-size: clamp(1.4rem,2.8vw,2.3rem); line-height: 1.32; letter-spacing: -0.015em; color: var(--navy); }
.band--dark .quote__text { color: #fff; }
.quote__cite { margin-top: 24px; font-size: 14px; color: var(--slate-500); font-style: normal; }
.band--dark .quote__cite { color: var(--on-dark-muted); }
.quote__cite b { color: var(--navy); font-weight: 600; }
.band--dark .quote__cite b { color: #fff; }

/* ---------------------------------------------------------------- Form ---- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate-500);
}
.field label .opt { color: var(--slate-400); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 16px; color: var(--navy);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 5px;
  padding: 14px 16px; width: 100%; transition: border-color var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: var(--focus); }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--navy); background: var(--paper-2); }
.field__err { font-size: 12.5px; color: var(--navy); font-weight: 500; min-height: 0; display: none; }
.field.is-invalid .field__err { display: block; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }

.form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--slate-500); }

.form-success {
  display: none; align-items: flex-start; gap: 16px; padding: 24px;
  border: 1.5px solid var(--navy); border-radius: 6px; background: var(--paper-2);
}
.form-success.show { display: flex; }
.form-success svg { width: 26px; height: 26px; color: var(--navy); flex: none; margin-top: 2px; }
.form-success h4 { margin-bottom: 4px; }
.form-success p { font-size: 15px; color: var(--slate-600); }

/* ------------------------------------------------------------ Reveal ------ */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(2){ transition-delay:.07s } [data-stagger].in > *:nth-child(3){ transition-delay:.14s }
[data-stagger].in > *:nth-child(4){ transition-delay:.21s } [data-stagger].in > *:nth-child(5){ transition-delay:.28s }
[data-stagger].in > *:nth-child(6){ transition-delay:.35s } [data-stagger].in > *:nth-child(7){ transition-delay:.42s }
[data-stagger].in > *:nth-child(8){ transition-delay:.49s }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .vsearch.is-listening .vmic__pulse::before,
  .vsearch.is-listening .vmic__pulse::after,
  .vwave i { animation: none !important; }
}

/* ------------------------------------------------- Mobile nav drawer ------ */

.nav__drawer { display: none; }

@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav .btn--header { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav__drawer {
    display: block; position: fixed; inset: 76px 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px; transform: translateY(-12px);
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
    z-index: 49; box-shadow: 0 24px 40px -28px rgba(15,20,32,.3);
  }
  .nav__drawer.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__drawer a.nav__link {
    display: block; font-size: 19px; padding: 15px 0; border-bottom: 1px solid var(--line);
    color: var(--navy); font-weight: 500;
  }
  .nav__drawer a.nav__link:last-of-type { border-bottom: 0; }
  .nav__drawer .btn { width: 100%; margin-top: 18px; }
}

/* ------------------------------------------------------- Responsive ------- */

@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .foot__brand { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
  .specrow { grid-template-columns: repeat(2, 1fr); }
  .specrow__cell { padding-right: 20px; }
}

@media (max-width: 760px) {
  /* Recompose the editorial grid for small screens — never squeeze the
     12-col asymmetry. Inline grid-column spans are overridden here. */
  .grid { grid-template-columns: 1fr; gap: 26px; }
  .grid > * {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    text-align: left !important;
  }
  .grid > [aria-hidden="true"] { display: none; } /* drop the hero watermark on mobile */
}

/* Tablet & below — reflow the catalogue / pillar rows to a robust flex
   stack so the 761–900 band never rides the cramped desktop grid. */
@media (max-width: 900px) {
  /* Flex handles both the 5-child catalogue row and the 3-child pillar row */
  .cat-row {
    display: flex; flex-wrap: wrap; align-items: flex-start;
    column-gap: 14px; row-gap: 10px; padding: 22px 0;
  }
  .cat-row__idx { display: none; }
  .cat-row__icon { width: 26px; height: 26px; margin-top: 3px; flex: 0 0 auto; }
  .cat-row__name { flex: 1 1 55%; }
  .cat-row > span:not([class]) { flex: 1 1 60%; }   /* pillar wrapper span */
  .cat-row__desc { flex: 1 1 100%; padding-left: 40px; }
  .cat-row__tags { flex: 0 0 auto; padding-left: 40px; align-self: center; }
  .cat-row__cta  { margin-left: auto; align-self: center; }
  .cat-row > .linkcta { margin-left: auto; align-self: center; }

  .vsearch__field { padding-left: 18px; }

  /* Featured "In focus" cards: the 5/3/2 desktop split leaves the third
     card too narrow at tablet width — reflow to two per row (full-width
     stacking below 760 is handled by the grid-collapse rule). */
  [data-od-id="featured"] .grid > article { grid-column: span 6 !important; align-self: start !important; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .display { font-size: clamp(2.3rem, 11vw, 3.1rem); line-height: 1.02; letter-spacing: -0.02em; }
  .h-xl { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .section { padding-block: 64px; }

  .pillar { grid-template-columns: 1fr; gap: 16px; }
  .pillar__icon { width: 40px; height: 40px; }

  .vsearch__field { height: 60px; padding-left: 16px; }
  .vmic { width: 44px; height: 44px; }

  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .foot__bottom { flex-direction: column; gap: 10px; }
  .specrow { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .specrow { grid-template-columns: 1fr; }
}

/* Utility */
.flow > * + * { margin-top: var(--flow, 20px); }
.stack-sm > * + * { margin-top: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hide { display: none !important; }

/* ===========================================================================
   Logo image + enhanced motion layer  (production additions)
   Brand-restrained; everything transform-based is disabled under reduced-motion.
   =========================================================================== */

/* ---- Logo image (replaces the inline SVG lockup) ---- */
.logo { gap: 0; }
.logo-img { height: 42px; width: auto; display: block;
  transition: opacity .45s var(--ease), transform .45s var(--ease); }
.logo:hover .logo-img { opacity: .82; transform: translateY(-1px); }
.site-foot .logo-img { filter: brightness(0) invert(1); height: 40px; }  /* navy -> white on dark footer */
@media (max-width: 760px) { .logo-img { height: 36px; } }

/* ---- Page-load entrances ---- */
@keyframes bt-fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes bt-head-in { from { opacity: 0; transform: translateY(-12px) } to { opacity: 1; transform: none } }
.site-head { animation: bt-head-in .6s var(--ease) both; }
main { animation: bt-fade-in .7s var(--ease) both; }

/* ---- Reveal variants (opt-in) ---- */
.reveal--left  { opacity: 0; transform: translateX(-28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal--right { opacity: 0; transform: translateX(28px);  transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal--scale { opacity: 0; transform: scale(.96);        transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in { opacity: 1; transform: none; }

/* ---- Animated nav underline ---- */
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* ---- Buttons: lift on hover ---- */
.btn { transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
  border-color var(--dur) var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { box-shadow: 0 12px 26px -14px rgba(22,35,59,.55); }

/* ---- Category rows: nudge + icon flourish ---- */
.cat-row { transition: background var(--dur) var(--ease), transform .3s var(--ease); }
.cat-row:hover { transform: translateX(5px); }
.cat-row__icon { transition: transform .35s var(--ease); }
.cat-row:hover .cat-row__icon { transform: scale(1.12) rotate(-3deg); }
.linkcta:hover svg { transform: translateX(4px); }

/* ---- Pillars + testimonial quotes: lift ---- */
.pillar { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pillar:hover { transform: translateY(-4px); }
.quote { transition: transform .35s var(--ease); }
.quote:hover { transform: translateY(-3px); }

/* ---- Director portrait: gentle zoom ---- */
.portrait { overflow: hidden; }
.portrait img { transition: transform .7s var(--ease); display: block; width: 100%; height: auto; }
.portrait:hover img { transform: scale(1.045); }

/* ---- Reduced-motion: disable the transform/animation additions ---- */
@media (prefers-reduced-motion: reduce) {
  .site-head, main { animation: none !important; }
  .reveal--left, .reveal--right, .reveal--scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .logo:hover .logo-img, .btn:hover, .cat-row:hover, .cat-row:hover .cat-row__icon,
  .pillar:hover, .quote:hover, .portrait:hover img { transform: none !important; }
}

/* ---- Hero watermark — faint brand monogram, consistent on every page hero ---- */
.hero-band { position: relative; }
.hero-band > .wrap { position: relative; z-index: 1; }
.hero-wm {
  position: absolute; top: 50%; right: 0;
  transform: translateY(-50%);
  width: clamp(150px, 20vw, 290px); max-width: 38%;
  opacity: .06; pointer-events: none; user-select: none; z-index: 0;
}
.hero-wm img { width: 100%; height: auto; display: block; }
.band--dark.hero-band .hero-wm img { filter: brightness(0) invert(1); }
/* Decorative only — drop on small screens so it never crowds or overflows. */
@media (max-width: 760px) { .hero-wm { display: none; } }

/* ---- Search field focus: no inner box on the input; highlight the whole field ---- */
.vsearch__input:focus,
.vsearch__input:focus-visible { box-shadow: none !important; outline: none; }
.vsearch__field:focus-within { box-shadow: 0 0 0 3px rgba(22,35,59,.12); }
.band--dark .vsearch__field:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.16); }

/* ---- Custom category dropdown (contact form) — responsive, non-native ---- */
.cselect { position: relative; }
.cselect__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font); font-size: 16px; color: var(--navy);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 5px;
  padding: 14px 16px; cursor: pointer; text-align: left;
  transition: border-color var(--dur) var(--ease);
}
.cselect__btn:hover { border-color: var(--slate-400); }
.cselect.open .cselect__btn { border-color: var(--navy); }
.cselect__value { flex: 1; min-width: 0; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__value.is-placeholder { color: var(--slate-400); }
.cselect__chev { width: 18px; height: 18px; color: var(--slate-500); flex: none; transition: transform .25s var(--ease); }
.cselect.open .cselect__chev { transform: rotate(180deg); }
.field.is-invalid .cselect__btn { border-color: var(--navy); background: var(--paper-2); }

.cselect__list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 45;
  list-style: none; padding: 6px; margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 24px 50px -26px rgba(15,20,32,.55);
  max-height: min(52vh, 320px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: none;
}
.cselect.open .cselect__list { display: block; animation: bt-fade-in .16s var(--ease) both; }
.cselect__opt {
  padding: 12px 12px; border-radius: 6px; font-size: 15px; color: var(--slate-600);
  cursor: pointer; transition: background .12s var(--ease), color .12s var(--ease);
}
.cselect__opt:hover, .cselect__opt.active { background: var(--paper-2); color: var(--navy); }
.cselect__opt[aria-selected="true"] { color: var(--navy); font-weight: 600; }
.cselect__opt[data-value=""] { color: var(--slate-400); }

/* ---- Defensive: search field can never exceed its container (iOS inputs) ---- */
.vsearch, .vsearch__field { max-width: 100%; }
.vsearch__field { box-sizing: border-box; }
.vsearch__input { width: 100%; min-width: 0; }
