/* ============================================================
   A-fabco, Inc. — concept rebuild
   Palette: paper white / A-fabco navy #0B1E4B / brand gold #F5C400
   Brand: 2026 hexagon A-orbit mark (assets/brand/)
   Type: Archivo (variable width) + IBM Plex Mono
   ============================================================ */

:root {
  --paper: #FAF9F5;
  --paper-2: #F3F1E9;
  --card: #FFFFFF;
  --ink: #0B1E4B;
  --ink-2: #414C74;
  --mute: #7B82A6;
  --line: #E4E2D6;
  --line-2: #D6D4C6;
  --gold: #F5C400;
  --gold-deep: #A07E00;
  --gold-soft: #FBF3C9;
  --dark: #0E1233;
  --dark-2: #171D4E;
  --dark-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 1px 2px rgba(18, 22, 63, 0.05), 0 12px 32px -12px rgba(18, 22, 63, 0.14);
  --shadow-lg: 0 2px 4px rgba(18, 22, 63, 0.06), 0 24px 56px -16px rgba(18, 22, 63, 0.22);
  --r: 14px;
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: "Archivo", system-ui, -apple-system, sans-serif;
  font-variation-settings: "wdth" 100;
  font-weight: 430;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--ink); }

img { display: block; max-width: 100%; }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- type helpers ---------- */

h1, h2, h3, h4 { line-height: 1.04; letter-spacing: -0.018em; text-wrap: balance; }

h1 {
  font-size: clamp(46px, 6.6vw, 92px);
  font-weight: 780;
  font-variation-settings: "wdth" 116;
}

h2 {
  font-size: clamp(31px, 4.1vw, 52px);
  font-weight: 750;
  font-variation-settings: "wdth" 113;
}

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--gold); }

.lede {
  font-size: clamp(16.5px, 1.5vw, 18.5px);
  color: var(--ink-2);
  max-width: 56ch;
  margin-top: 22px;
}
.lede--dark { color: #C6C9E2; }

.mono-cap {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 4px 2px;
}
.mono-cap--dark { color: rgba(255, 255, 255, 0.55); }
.cap-mark { width: 11px; height: 11.5px; color: var(--gold-deep); flex: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 680;
  letter-spacing: 0.006em;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn--lg { padding: 14px 28px; font-size: 15.5px; }
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 30, 75, 0.12), 0 8px 20px -8px rgba(245, 196, 0, 0.55);
}
.btn--gold:hover { background: #E0B400; transform: translateY(-1.5px); }
.btn--ghost {
  border-color: rgba(18, 22, 63, 0.22);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); background: #fff; transform: translateY(-1.5px); }

.arrow-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 640;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.arrow-link::after { content: " \2197"; color: var(--gold-deep); }
.arrow-link:hover { color: var(--gold-deep); }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) calc(var(--d, 0) * 95ms),
    transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) calc(var(--d, 0) * 95ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 249, 245, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(18, 22, 63, 0.28);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark {
  width: 41px;
  height: 43px;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; gap: 4.5px; }
.brand__name {
  font-size: 21px;
  font-weight: 820;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.brand__tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #5C6478;
}

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: 14.5px;
  font-weight: 560;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color 0.15s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__phone {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav__phone:hover { color: var(--gold-deep); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(rgba(18, 22, 63, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 63, 0.032) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 60px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 88px;
}

.hero__copy .lede { margin-top: 26px; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

.hero__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.hero__chips li {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 14px;
}

.hero__photo {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 10px 4px;
  box-shadow: var(--shadow-lg);
  transform: rotate(0.4deg);
}
.hero__photo img {
  border-radius: 9px;
  width: 100%;
  height: auto;
}

.tick { position: absolute; width: 24px; height: 24px; color: var(--gold-deep); }
.tick::before, .tick::after { content: ""; position: absolute; background: currentColor; }
.tick::before { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.tick::after { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.tick--tl { top: -12px; left: -12px; }
.tick--br { bottom: -12px; right: -12px; }

/* periodic-table watermark */
.hero__pb {
  position: absolute;
  top: 64px;
  right: max(-30px, calc((100vw - 1460px) / 2));
  width: 330px;
  height: 396px;
  border: 1.5px solid rgba(18, 22, 63, 0.09);
  border-radius: 22px;
  pointer-events: none;
  z-index: 0;
}
.hero__pb-num {
  position: absolute;
  top: 20px;
  left: 26px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 20px;
  color: rgba(18, 22, 63, 0.16);
}
.hero__pb-sym {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 176px;
  font-weight: 820;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.03em;
  color: rgba(18, 22, 63, 0.055);
  line-height: 1;
}
.hero__pb-name {
  position: absolute;
  bottom: 22px;
  left: 26px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(18, 22, 63, 0.16);
}

/* ticker */
.ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  padding: 13px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker__track span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.ticker__track i {
  width: 8px;
  height: 9px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: none;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 104px 0; }
.section--slim { padding: 72px 0; }
.section--alt {
  background:
    linear-gradient(rgba(18, 22, 63, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 63, 0.028) 1px, transparent 1px),
    var(--paper-2);
  background-size: 72px 72px, 72px 72px, auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--dark {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--dark);
  background-size: 72px 72px, 72px 72px, auto;
  color: #fff;
}

.section__head {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}
.section__aside p { color: var(--ink-2); font-size: 15.5px; }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- product cards ---------- */

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}
.pcard__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.pcard:hover .pcard__img img { transform: scale(1.045); }
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__body h3 { font-size: 19.5px; font-weight: 680; letter-spacing: -0.012em; }
.pcard__body p { font-size: 14.5px; color: var(--ink-2); }
.ptag {
  margin-top: auto;
  padding-top: 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px !important;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--mute) !important;
}
.ptag--gold { color: var(--gold-deep) !important; }

.pcard--feature { border: 1.5px solid var(--gold); position: relative; }
.pcard--feature:hover { border-color: var(--gold-deep); }
.pcard__arrow { color: var(--gold-deep); font-size: 17px; }

.also {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 38px;
  align-items: baseline;
}
.also__label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.also__items {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mute);
  line-height: 2;
}
.also__note { grid-column: 2; font-size: 15px; color: var(--ink-2); }
.also__note a { color: var(--ink); font-weight: 620; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.also__note a:hover { color: var(--gold-deep); }

/* ---------- capabilities (dark) ---------- */

.split {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 68px;
  align-items: center;
}
.split--rev { grid-template-columns: 0.94fr 1.06fr; }

.split__photo {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  padding: 10px 10px 4px;
}
.section--dark .split__photo { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6); }
#company .split__photo {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-lg);
  transform: rotate(-0.4deg);
}
.split__photo img { border-radius: 9px; width: 100%; }

.ladder { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.ladder__row { }
.ladder__bar {
  width: var(--w);
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(100deg, #9AA3E2, #545FAE);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
}
.ladder__bar--gold { background: linear-gradient(100deg, #F7D23E, #D9AE00); }
.ladder__row.in .ladder__bar { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .ladder__bar { transform: none; transition: none; } }
.ladder__label {
  margin-top: 9px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}
.ladder__label strong { color: #fff; font-weight: 650; }

.specrow {
  display: flex;
  gap: 40px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.spec {
  border-left: 2.5px solid var(--gold);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.spec__n {
  font-size: 27px;
  font-weight: 790;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.01em;
}
.spec__l { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }

/* ---------- projects ---------- */

.projgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.proj {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.proj:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.proj--wide { grid-column: span 2; }
.proj img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 250px;
  object-fit: cover;
}
.proj--wide img { min-height: 330px; }
.proj figcaption {
  padding: 16px 20px 19px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.proj__tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.proj figcaption strong { font-size: 16.5px; font-weight: 680; letter-spacing: -0.01em; }
.proj figcaption span:not(.proj__tag) { font-size: 13.5px; color: var(--ink-2); }

.rule {
  margin: 72px auto 0;
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.rule__mark { width: 30px; height: 31px; }
.rule__quote {
  font-size: clamp(27px, 3.4vw, 42px);
  font-weight: 740;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.015em;
  line-height: 1.12;
}
.rule__attr {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.testimonial {
  margin: 56px auto 0;
  max-width: 860px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--r);
  padding: 34px 40px;
  box-shadow: var(--shadow);
}
.testimonial p {
  font-size: 17px;
  font-style: italic;
  font-weight: 480;
  color: var(--ink-2);
  line-height: 1.72;
}
.testimonial footer {
  margin-top: 16px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- industries ---------- */

.inds { margin-top: 34px; }
.ind {
  border-top: 2.5px solid var(--line-2);
  padding-top: 20px;
  transition: border-color 0.25s ease;
}
.ind:hover { border-top-color: var(--gold); }
.ind svg {
  width: 30px;
  height: 30px;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.ind h3 { font-size: 17.5px; font-weight: 680; margin-bottom: 7px; }
.ind p { font-size: 14px; color: var(--ink-2); }

/* ---------- company ---------- */

.counters {
  display: flex;
  gap: 44px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.counter { display: flex; flex-direction: column; gap: 2px; }
.counter__n {
  font-size: 40px;
  font-weight: 800;
  font-variation-settings: "wdth" 114;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.counter__l {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- quote panel ---------- */

.section--quote { padding-top: 30px; }

.qpanel {
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(231, 165, 27, 0.14), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--dark);
  background-size: auto, 72px 72px, 72px 72px, auto;
  border-radius: 26px;
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 4.5vw, 64px);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.qpanel h2 { color: #fff; }

.directory { margin-top: 38px; }
.directory__label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.directory ul { list-style: none; }
.directory li {
  display: grid;
  grid-template-columns: minmax(118px, auto) 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 8.5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 14px;
}
.directory li span { font-weight: 640; white-space: nowrap; }
.directory li em { font-style: normal; color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }
.directory li a {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.directory li a:hover { color: #fff; }
.directory__phone {
  margin-top: 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.66);
}
.directory__phone a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--gold); }
.directory__phone a:hover { color: var(--gold); }

/* form */
.qform {
  background: var(--card);
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 32px);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 640;
  letter-spacing: 0.01em;
}
.qform input, .qform select, .qform textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 11px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.qform input:focus, .qform select:focus, .qform textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3.5px rgba(231, 165, 27, 0.2);
}
.qform textarea { resize: vertical; min-height: 110px; }
.qform__note { font-size: 13px; color: var(--mute); }
.qform__note a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); }
.qform__submit { border: 0; width: 100%; }

.qform__done {
  position: absolute;
  inset: 0;
  background: var(--card);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px;
}
.qform__done[hidden] { display: none; }
.qform__done svg { width: 44px; height: 44px; color: var(--gold); }
.qform__done h3 { font-size: 24px; font-weight: 740; font-variation-settings: "wdth" 112; }
.qform__done p { font-size: 14.5px; color: var(--ink-2); max-width: 34ch; }
.qform__done a { color: var(--ink); font-weight: 640; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #0B0F2B;
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 30px;
  margin-top: 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: #93A0C4; }
.footer__brand > p { font-size: 14.5px; margin-top: 18px; max-width: 34ch; }
.footer__espanol {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.footer__col h4 {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer__col p { font-size: 14.5px; margin-bottom: 12px; }
.footer__col a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding-bottom: 1px; transition: border-color 0.15s ease, color 0.15s ease; }
.footer__col a:hover { color: var(--gold); border-color: var(--gold); }
.soon { color: rgba(255, 255, 255, 0.55); }
.soon__tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(231, 165, 27, 0.45);
  border-radius: 999px;
  padding: 2.5px 8px;
  margin-left: 6px;
  white-space: nowrap;
}

.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
}

/* ============================================================
   SUBPAGE (neutron doors)
   ============================================================ */

.subhero {
  padding: 78px 0 30px;
  background:
    linear-gradient(rgba(18, 22, 63, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 63, 0.032) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto;
}
.subhero h1 { font-size: clamp(40px, 5.4vw, 76px); }
.crumb {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 22px;
}
.crumb a { color: var(--gold-deep); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.subhero .hero__chips { margin-top: 30px; }

.feature { padding: 42px 0 10px; }
.hero__photo--flat { transform: none; }
.hero__photo--flat img { max-height: 560px; width: 100%; object-fit: cover; object-position: center 40%; }

.docwall { column-count: 3; column-gap: 26px; }
.doc {
  display: inline-block;
  width: 100%;
  margin: 0 0 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 9px 9px 2px;
  box-shadow: var(--shadow);
  break-inside: avoid;
}
.doc img { border-radius: 8px; width: 100%; }
.doc .mono-cap { padding: 10px 6px 8px; }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 46px;
}
.pstep { border-top: 2.5px solid rgba(255, 255, 255, 0.16); padding-top: 20px; }
.pstep__n {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.pstep h3 { font-size: 18.5px; font-weight: 690; margin: 10px 0 8px; }
.pstep p { font-size: 14px; color: rgba(255, 255, 255, 0.62); }

.ctaband {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.ctaband h2 { font-size: clamp(26px, 3vw, 38px); }
.ctaband p { color: var(--ink-2); margin-top: 8px; }
.ctaband__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ctaband__actions .nav__phone { display: inline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {
  .hero__pb { display: none; }
}

@media (max-width: 1024px) {
  .nav__phone { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--rev { grid-template-columns: 1fr; gap: 44px; }
  .split--rev .split__photo { order: -1; }
  .section__head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
}

@media (max-width: 940px) {
  .docwall { column-count: 2; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .nav__links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(18, 22, 63, 0.3);
    padding: 10px 28px 18px;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 13px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__burger { display: flex; }

  .hero__grid { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .projgrid { grid-template-columns: 1fr 1fr; }
  .proj--wide { grid-column: span 2; }
  .qpanel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .docwall { column-count: 1; }
  .process { grid-template-columns: 1fr; gap: 24px; }
  .nav__inner { gap: 14px; height: 66px; }
  .nav__right { gap: 8px; }
  .nav__right .btn--gold { display: none; }
  .brand__mark { width: 35px; height: 36.5px; }
  .brand__name { font-size: 18px; }
  .brand__tag { font-size: 7.5px; letter-spacing: 0.28em; }
  .nav__links { top: 66px; }
  .section { padding: 72px 0; }
  .grid--3, .grid--4, .projgrid { grid-template-columns: 1fr; }
  .proj--wide { grid-column: span 1; }
  .proj--wide img { aspect-ratio: 16 / 10; }
  .qform__row { grid-template-columns: 1fr; }
  .also { grid-template-columns: 1fr; }
  .also__note { grid-column: 1; }
  .counters { gap: 28px; }
  .btn--lg { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .testimonial { padding: 26px 24px; }
}

/* ============================================================
   V2 · MULTI-PAGE BUILD (Sep 2026)
   Products mega menu · subpage layout · spec tables · galleries
   trust band · partners · A-to-Z index · directory
   ============================================================ */

/* ---------- nav: products menu ---------- */
.nav__links { align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; gap: 1px; }
.nav__caret {
  background: none; border: 0; padding: 6px 3px; cursor: pointer;
  color: var(--ink-2); display: flex; align-items: center;
}
.nav__caret svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav__item.open .nav__caret svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 12px); left: -18px; width: 660px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 16px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 70;
}
.menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item.open .menu, .nav__item:hover .menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.menu__link {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px;
  border-radius: 10px; text-decoration: none; transition: background 0.15s ease;
}
.menu__link:hover { background: var(--paper-2); }
.menu__link strong { font-size: 14.5px; font-weight: 660; letter-spacing: -0.01em; color: var(--ink); }
.menu__link span { font-size: 12.5px; color: var(--mute); }
.menu__foot {
  margin-top: 12px; padding: 12px 12px 2px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.menu__foot a {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); text-decoration: none;
}
.menu__foot a:hover { color: var(--ink); }

/* ---------- subpage hero variants ---------- */
.subhero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.subhero--photo { padding-bottom: 64px; }
.subhero--photo .hero__photo { transform: rotate(-0.4deg); }

/* ---------- jump bar ---------- */
.jump {
  position: sticky; top: 76px; z-index: 40;
  background: rgba(250, 249, 245, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.jump__inner { display: flex; gap: 6px; align-items: center; overflow-x: auto; padding: 10px 28px; scrollbar-width: none; }
.jump__inner::-webkit-scrollbar { display: none; }
.jump__label {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-deep); margin-right: 8px; white-space: nowrap;
}
.jump a {
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease;
}
.jump a:hover, .jump a.active { background: var(--ink); color: #fff; }

/* ---------- page layout with sticky aside ---------- */
.pl { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.pl__aside { position: sticky; top: 138px; display: flex; flex-direction: column; gap: 18px; }
.facts, .aside-links-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.facts h4, .aside-links-box h4 {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px;
}
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; font-size: 13.5px; }
.facts dt { color: var(--mute); }
.facts dd { font-weight: 620; }
.asidecta { background: var(--dark); color: #fff; border-radius: var(--r); padding: 22px 24px; }
.asidecta h4 { font-size: 19px; font-weight: 720; font-variation-settings: "wdth" 112; margin-bottom: 8px; }
.asidecta p { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); margin-bottom: 14px; }
.asidecta .btn { width: 100%; }
.asidecta .nav__phone { display: block; text-align: center; margin-top: 12px; color: var(--gold); }
.aside-links { list-style: none; }
.aside-links li a {
  display: flex; justify-content: space-between; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.aside-links li:last-child a { border-bottom: 0; }
.aside-links li a:hover { color: var(--gold-deep); }
.aside-links li a::after { content: "\2197"; color: var(--gold-deep); }

/* ---------- prose ---------- */
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(27px, 3vw, 38px); margin-top: 68px; scroll-margin-top: 140px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; font-weight: 700; margin-top: 40px; }
.prose p, .prose li { font-size: 16.5px; color: var(--ink-2); max-width: 68ch; }
.prose strong { color: var(--ink); font-weight: 660; }
.prose ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 10px; background: var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose a { color: var(--ink); font-weight: 620; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-deep); }
.prose figure { margin-top: 26px; }
.prose .gal, .prose .compare, .prose .ps, .prose .table-wrap, .prose .specs, .prose .callout, .prose .sizes { margin-top: 26px; }

.callout {
  background: var(--gold-soft); border-left: 4px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; font-size: 15.5px; color: var(--ink);
}
.callout--dark { background: var(--dark); color: #fff; }
.callout--dark a { color: var(--gold); }
.callout strong { font-weight: 700; }

/* ---------- tables & specs ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table caption { caption-side: top; text-align: left; padding: 16px 16px 8px; font-weight: 700; font-size: 16px; }
.table th, .table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table thead th {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep); background: var(--paper-2);
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--paper); }
.table .num { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; text-align: right; }
.table tfoot td { font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); white-space: normal; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.specbox { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.specbox .k { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.specbox .v { font-size: 21px; font-weight: 760; font-variation-settings: "wdth" 112; margin-top: 4px; letter-spacing: -0.01em; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes span {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; padding: 6px 11px;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--card);
}

/* ---------- galleries ---------- */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gal--2 { grid-template-columns: 1fr 1fr; }
.gal--4 { grid-template-columns: repeat(4, 1fr); }
.gal figure { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 9px 9px 2px; box-shadow: var(--shadow); }
.gal img { border-radius: 8px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal--tall img { aspect-ratio: 3 / 4; }
.gal .mono-cap { padding: 10px 6px 8px; }

/* ---------- compare cards ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ccard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.ccard--gold { border-color: var(--gold); }
.ccard h3 { font-size: 22px; font-weight: 720; margin: 0; }
.ccard .ptag { margin-top: 0; padding-top: 0; }
.ccard p { font-size: 15px; }
.ccard ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ccard li { font-size: 14.5px; color: var(--ink-2); padding-left: 18px; position: relative; }
.ccard li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 9px; background: var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- problem / solution ---------- */
.ps { display: flex; flex-direction: column; gap: 14px; }
.ps__row { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ps__p, .ps__s { padding: 20px 22px; font-size: 15px; }
.ps__p { background: var(--paper-2); color: var(--ink-2); border-right: 1px solid var(--line); }
.ps__s { color: var(--ink); }
.ps__row b { display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.ps__p b { color: var(--mute); }
.ps__s b { color: var(--gold-deep); }

/* ---------- trust band ---------- */
.trust { background: var(--dark); color: #fff; padding: 64px 0; }
.trust__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.trust__head h2 { font-size: clamp(26px, 3vw, 38px); }
.trust__head p { color: rgba(255, 255, 255, 0.62); max-width: 44ch; font-size: 15px; }
.trust__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; margin-top: 38px; }
.tr { border-top: 2px solid rgba(255, 255, 255, 0.14); padding-top: 16px; transition: border-color 0.25s ease; }
.tr:hover { border-top-color: var(--gold); }
.tr__n { font-size: 28px; font-weight: 790; font-variation-settings: "wdth" 112; letter-spacing: -0.02em; line-height: 1.05; }
.tr__l { font-size: 13px; color: rgba(255, 255, 255, 0.62); margin-top: 6px; }

/* ---------- partners strip ---------- */
.partners { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.55); }
.partners__inner { display: flex; align-items: center; gap: 18px 34px; flex-wrap: wrap; }
.partners__label { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-right: 6px; }
.partners__logo { font-size: 17px; font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -0.01em; color: var(--ink-2); opacity: 0.85; line-height: 1; }
.partners__logo small { display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); font-weight: 500; margin-top: 4px; }

/* ---------- A to Z ---------- */
.az { column-count: 4; column-gap: 32px; list-style: none; margin-top: 30px; }
.az li { font-size: 14.5px; padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; color: var(--ink-2); }

/* ---------- directory table ---------- */
.dir { width: 100%; border-collapse: collapse; }
.dir th, .dir td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.dir thead th { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); background: var(--paper-2); }
.dir td:first-child { font-weight: 660; white-space: nowrap; }
.dir td em { font-style: normal; color: var(--ink-2); }
.dir a { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.dir a:hover { color: var(--gold-deep); }

/* ---------- hub cards ---------- */
.hub .pcard__body h3 { font-size: 21px; }
.hub .pcard__body p { font-size: 15px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-row span { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); background: var(--paper-2); border-radius: 999px; padding: 5px 10px; }

/* ---------- lessons (company) ---------- */
.lessons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.lesson { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; box-shadow: var(--shadow); }
.lesson__n { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.16em; color: var(--gold-deep); }
.lesson h3 { font-size: 19px; font-weight: 700; margin: 10px 0 8px; }
.lesson p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- responsive (v2) ---------- */
@media (max-width: 1024px) {
  .pl { grid-template-columns: 1fr; gap: 40px; }
  .pl__aside { position: static; }
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .gal--4 { grid-template-columns: repeat(2, 1fr); }
  .subhero__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 940px) {
  .nav__links { align-items: stretch; }
  .nav__item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav__item > a { border-bottom: 0 !important; flex: 1; }
  .menu {
    position: static; width: 100%; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 12px;
    display: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__item:hover .menu { display: none; }
  .nav__item.open .menu { display: block; }
  .menu__grid { grid-template-columns: 1fr; }
  .menu__link { padding: 8px 10px; }
  .gal { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr; }
  .az { column-count: 2; }
  .jump { top: 66px; }
  .lessons { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .gal, .gal--2, .gal--4 { grid-template-columns: 1fr; }
  .ps__row { grid-template-columns: 1fr; }
  .ps__p { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .az { column-count: 1; }
  .jump__inner { padding: 8px 20px; }
  .dir th:nth-child(3), .dir td:nth-child(3) { display: none; }
}

/* nav breathing room on narrow desktops */
.nav__right .btn { white-space: nowrap; }
@media (max-width: 1120px) {
  .nav__phone { display: none; }
  .nav__inner { gap: 22px; }
  .nav__links { gap: 20px; }
}

/* keep grid children from expanding past the viewport on narrow screens */
.pl > *, .prose, .split > *, .subhero__grid > * { min-width: 0; }
.prose .table-wrap { max-width: 100%; }
