/* ============================================================
   AJ Trading apex — v2
   Black canvas, multi-color neon glow halos, Geist at light weights.
   Modeled directly on Velocity Black + Antigravity techniques.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette — pure black, pure white, multi-color glows (Velocity-style) */
  --bg: #000000;
  --bg-2: #0a0a0a;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.38);
  --text-ghost: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.04);

  /* Multi-accent glow system (Velocity Forbes-quote technique) */
  --glow-purple: #a854ff;
  --glow-purple-soft: rgba(168, 84, 255, 0.45);
  --glow-purple-faint: rgba(168, 84, 255, 0.12);
  --glow-red: #ff4641;
  --glow-red-soft: rgba(255, 70, 65, 0.45);
  --glow-red-faint: rgba(255, 70, 65, 0.12);
  --glow-blue: #4a7cff;
  --glow-blue-soft: rgba(74, 124, 255, 0.45);
  --glow-blue-faint: rgba(74, 124, 255, 0.12);

  /* Type — Geist for UI/body, Playfair Display for editorial display headlines */
  --font: 'Geist', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Scale */
  --t-hero: clamp(2.25rem, 4vw, 3.75rem);
  --t-display: clamp(2.5rem, 6vw, 5rem);
  --t-h2: clamp(1.75rem, 3.5vw, 2.75rem);
  --t-lead: clamp(1.125rem, 1.4vw, 1.375rem);
  --t-body: 1.0625rem;
  --t-label: 0.6875rem;

  /* Space */
  --pad-x: clamp(1.5rem, 5vw, 3.5rem);
  --pad-section: clamp(4.5rem, 9vw, 9rem);
  --max-w: 1200px;
  --max-prose: 720px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  /* Reserve scrollbar gutter so locking body overflow doesn't shift the page */
  scrollbar-gutter: stable;
  /* iOS Safari needs overflow-x at the html level — body-level alone is unreliable */
  overflow-x: hidden;
  /* Kill elastic-bounce reveal above the hero (was exposing a strip of body bg
     above the nav backdrop when scrolling back up to the top) */
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Fine film grain overlay — masks gradient banding, adds premium tactility.
   z-index: -1 keeps it behind nav + interactive content (was at 100, washing out the burger) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

::selection { background: rgba(255, 255, 255, 0.22); color: var(--text); }
::-moz-selection { background: rgba(255, 255, 255, 0.22); color: var(--text); }

/* ---------- Util ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.eyebrow {
  font-family: var(--font);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Nav ---------- */
/* Velocity-style header — progressive fade with backdrop blur, dark at top, transparent at bottom edge */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 0.875rem var(--pad-x);
  transition: padding 0.3s var(--ease);
}
/* Inner container — matches the page content max-width (1200px) so brand + menu align with section content below */
.nav__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav::before {
  content: '';
  position: absolute;
  /* Extend ABOVE viewport top (-20px) so elastic-bounce can't reveal an untinted strip,
     and BELOW the nav (-55px) so the text stays in the solid zone and the fade happens below it */
  inset: -20px 0 -55px 0;
  z-index: -1;
  /* Continuous fade — no plateau at the top, no perceptual edge */
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.62) 30%,
    rgba(0, 0, 0, 0.4) 55%,
    rgba(0, 0, 0, 0.18) 80%,
    transparent 100%);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  /* Mask also fades continuously from the top — no flat blur region */
  -webkit-mask-image: linear-gradient(180deg,
    black 0%,
    rgba(0, 0, 0, 0.9) 25%,
    rgba(0, 0, 0, 0.65) 55%,
    rgba(0, 0, 0, 0.3) 80%,
    transparent 100%);
  mask-image: linear-gradient(180deg,
    black 0%,
    rgba(0, 0, 0, 0.9) 25%,
    rgba(0, 0, 0, 0.65) 55%,
    rgba(0, 0, 0, 0.3) 80%,
    transparent 100%);
  pointer-events: none;
  transition: background 0.25s var(--ease);
}
.nav.is-scrolled::before {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.7) 30%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.2) 80%,
    transparent 100%);
}
.nav.is-scrolled {
  padding-block: 0.625rem;
}
/* Header wordmark — same typographic treatment as the footer wordmark (Geist, tight tracking), bolder weight to give it presence at small size */
.nav__brand {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav__brand:hover { color: var(--text-dim); }

/* Nav links — small caps tracked-out with underline draw on hover (Mercedes / Porsche pattern) */
.nav__link {
  position: relative;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.5rem 0;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.25rem;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Language toggle — same small-caps treatment, separated by thin vertical line */
.nav__lang {
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-left: 1rem;
  margin-left: 0.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.25s var(--ease);
}
.nav__lang:hover { color: var(--text); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: var(--text);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 999px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__cta:hover { background: var(--text-dim); transform: translateY(-1px); }

.nav__menu li.show-mobile { display: none; }
@media (max-width: 980px) {
  .nav__menu li.hide-mobile { display: none; }
  .nav__menu li.show-mobile { display: inline-flex; }
}

/* Burger button */
.nav__burger {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 51;
}
.nav__burger span {
  position: absolute;
  /* Use inset-inline centering instead of left:50% + translateX(-50%) — kills sub-pixel rounding hop on iOS Safari */
  inset-inline: 9px;
  width: auto;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: top 0.3s var(--ease), bottom 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { bottom: 14px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) {
  bottom: 21px;
  transform: rotate(-45deg);
}

/* Full-screen mobile menu overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  padding: 4rem var(--pad-x);
}
.nav-overlay__link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.25rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s var(--ease);
}
.nav-overlay.is-open .nav-overlay__link {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay.is-open .nav-overlay__link:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(2) { transition-delay: 0.18s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(3) { transition-delay: 0.26s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(4) { transition-delay: 0.34s; }
.nav-overlay__link:hover { color: var(--text-dim); }
.nav-overlay__lang {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Pill buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.875rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--text);
  color: var(--bg);
}
.btn--primary:hover { background: var(--text-dim); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.04); }

/* ============================================================
   HERO — two-layer cinematic: ambient (blurred backdrop) + crisp (right)
   Spotify / YouTube cinematic-mode technique
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: clamp(680px, 88vh, 880px);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem) var(--pad-x);
  overflow: hidden;
  background: var(--bg);
}

/* Crisp image — fills the hero, gentle Ken Burns drift */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Uniform 15% darkening across the full hero photo for legibility under
     headline + CTA on the KZ apex (text panel sits over the villa wall on
     the left third; villa stone is busy enough to need the extra dampening). */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url('/assets/hero-kz.webp');
  background-size: cover;
  background-position: center;
  image-rendering: -webkit-optimize-contrast;
  animation: ken-burns 42s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ken-burns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.05) translate(-1%, -0.5%); }
}

/* Left frosted-glass panel — soft touch, letting more of the Lavaux landscape through */
.hero__panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  -webkit-mask-image: linear-gradient(90deg,
    black 0%,
    black 32%,
    rgba(0, 0, 0, 0.6) 42%,
    rgba(0, 0, 0, 0.2) 52%,
    transparent 62%);
  mask-image: linear-gradient(90deg,
    black 0%,
    black 32%,
    rgba(0, 0, 0, 0.6) 42%,
    rgba(0, 0, 0, 0.2) 52%,
    transparent 62%);
  pointer-events: none;
}

/* Bottom-fade veil — soft transition to the next section */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 72%,
    rgba(0, 0, 0, 0.82) 95%,
    var(--bg) 100%);
  pointer-events: none;
}

/* Mobile — Velocity-style: text constrained column bottom-left, image edge-to-edge */
@media (max-width: 980px) {
  .hero {
    height: auto;
    min-height: 88vh;
    align-items: flex-end;
    /* Comfortable side padding + generous bottom space so text breathes */
    padding: 6rem 1.5rem 4.5rem;
  }
  /* Mobile-specific portrait composition + kill the Ken Burns animation */
  .hero__bg {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
      url('/assets/hero-kz-mobile.jpg') !important;
    background-position: center !important;
    animation: none;
    will-change: auto;
  }
  .hero__panel { display: none; }
  .hero__veil {
    background: linear-gradient(180deg,
      transparent 0%,
      transparent 25%,
      rgba(0, 0, 0, 0.4) 55%,
      rgba(0, 0, 0, 0.85) 78%,
      #000 94%,
      #000 100%);
  }
  .hero__inner > * {
    max-width: 100% !important;
  }
  .hero__cta { max-width: 100% !important; }
  /* Headline — FULL width on mobile, flows naturally across the viewport.
     !important because the base .hero__headline rule is declared AFTER this @media block
     in source order, so same-specificity rules need this to win the cascade. */
  .hero__headline {
    max-width: 100% !important;
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 1.75rem !important;
  }
  /* Kill backdrop-filter on mobile nav — iOS Safari recomposites this every frame,
     and sub-pixel rounding from that paint loop causes the ~1px horizontal hop on burger */
  .nav::before {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
/* Constrain hero content to the left dark panel — never spills into the image area */
.hero__inner > * {
  max-width: min(46vw, 680px);
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-hero);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 2.5rem;
  max-width: min(50vw, 780px);
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 1s var(--ease) 0.25s forwards;
}
/* "Korea" emphasis — italic serif + purple→red glow gradient (matches section titles) */
.hero__headline em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  opacity: 0;
  animation: fade-up 1s var(--ease) 1.05s forwards;
}

/* Hero CTA — larger presence, sliding arrow, purple→red glow halo
   (matches the "Korea" gradient in the headline) */
.btn--hero {
  position: relative;
  padding: 1.125rem 2rem 1.125rem 2.125rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  gap: 0.625rem;
  isolation: isolate;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 12px 32px rgba(0, 0, 0, 0.28);
}
/* Glow halo — soft white bloom behind the pill */
.btn--hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.35;
  filter: blur(18px);
  z-index: -1;
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease);
}
.btn--hero .btn__arrow {
  display: inline-block;
  transition: transform 0.28s var(--ease);
  font-weight: 500;
  /* visual nudge — arrows tend to sit slightly high in pill buttons */
  transform: translateY(-1px);
}
.btn--hero:hover {
  background: #ffffff;
  transform: translateY(-2px);
}
.btn--hero:hover::before {
  opacity: 0.6;
  filter: blur(24px);
}
.btn--hero:hover .btn__arrow {
  transform: translate(4px, -1px);
}
.btn--hero:active {
  transform: translateY(0);
}
.btn--hero:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  to { opacity: 1; }
}

/* ============================================================
   SECTION — generic container with eyebrow + display headline
   ============================================================ */
.section {
  padding: var(--pad-section) var(--pad-x);
  position: relative;
}
.section__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section__eyebrow {
  display: block;
  margin-bottom: 2rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-display);
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 2.5rem;
  max-width: 24ch;
}
.section__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ============================================================
   PROBLEM — full section with CO2 table + headline stats
   ============================================================ */
.problem__intro {
  font-size: var(--t-lead);
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 68ch;
  margin: 0 0 4rem;
}
.problem__intro strong { color: var(--text); font-weight: 500; }

/* ============================================================
   PENALTIES — editorial list with proportional bars (replaces .co2-table)
   Mobile-first: vehicle name stacks on top, bar in middle, amount below.
   Desktop (>=981px): single row, name left · bar grows in middle · amount right.
   ============================================================ */
.penalties {
  margin: 0 0 4rem;
}
.penalties__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.penalties__head-amount { text-align: right; }
@media (max-width: 980px) {
  /* Drop the right label on mobile — the amount column is implicit and the
     full "CO2 penalty · 2025–2029 targets" string crowds the small viewport */
  .penalties__head-amount { display: none; }
}

.penalty {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.penalty__name {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.penalty__bar {
  position: relative;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.penalty__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar, 0%);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  /* Start collapsed — JS adds .is-revealed when the row enters viewport */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.penalty.is-revealed .penalty__bar span { transform: scaleX(1); }

.penalty__amount {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
.penalty__num {
  display: inline-block;
  min-width: 4ch;
  color: var(--text);
  font-weight: 600;
}

/* Desktop layout — single-row, name | bar | amount */
@media (min-width: 981px) {
  .penalty {
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 2fr) auto;
    align-items: center;
    gap: 1.75rem;
    padding: 1.5rem 0;
  }
  .penalty__name { font-size: 0.82rem; }
  .penalty__amount { text-align: right; font-size: 1.125rem; }
  .penalty__bar { height: 4px; }
}

.penalties__note {
  margin: 1.5rem 0 0;
  font-size: 0.825rem;
  color: var(--text-faint);
  line-height: 1.5;
}

/* Respect reduced-motion — show bars at full width without the slide-in */
@media (prefers-reduced-motion: reduce) {
  .penalty__bar span {
    transform: scaleX(1) !important;
    transition: none !important;
  }
}

/* ============================================================
   PULLQUOTE — editorial close. Ferrari image + display-serif pull-quote.
   Mobile-first: image stacks above quote. Desktop: side-by-side.
   ============================================================ */
.pullquote {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.pullquote__img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  /* Subtle dark vignette via box-shadow + a faint white edge to feel embedded, not floating */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 6px 18px rgba(0, 0, 0, 0.35);
}
.pullquote__quote {
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.25rem, 3.6vw, 1.625rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--text);
}
.pullquote__quote p {
  margin: 0 0 0.85rem;
}
.pullquote__quote p:last-child {
  margin-bottom: 0;
}
/* Claim lines — display serif, full weight, white */
.pullquote__claim {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--text);
}
/* Note lines — body sans, smaller, dimmer; visually "support" the claim above */
.pullquote__note {
  font-family: var(--font);
  font-size: 0.9em;
  line-height: 1.55;
  color: var(--text-dim);
  letter-spacing: -0.005em;
  margin-top: -0.25rem; /* tuck closer to the claim it explains */
  padding-left: 0.5rem;
}
.pullquote__close {
  margin-top: 0.5rem;
}
.pullquote__quote em {
  font-style: italic;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Desktop — ferrari portrait left, pull-quote right */
@media (min-width: 981px) {
  .pullquote {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
  }
  .pullquote__img {
    max-width: 100%;
    margin: 0;
  }
  .pullquote__quote {
    padding-left: 1.75rem;
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    max-width: 38ch;
  }
}

/* ============================================================
   MODEL — single statement block
   ============================================================ */
.model__body {
  font-size: var(--t-lead);
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0;
}

/* ============================================================
   PROCESS — 3-step inquiry → retainer → delivery
   ============================================================ */
.process__intro {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 0 4rem;
}
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: 1rem; }
}
.step__num {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--glow-blue);
}
.step__title {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--text);
}
.step__body {
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
  max-width: 64ch;
}

.section__lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0;
}

/* ============================================================
   CERT — Korean registration extract. Quiet authority, not glow.
   Reserved for /about page (not on Home).
   Mobile-first stacked rows; desktop opens to 2-col interior.
   ============================================================ */
.cert {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3.5vw, 2.25rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.012) 100%),
    var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px; /* small radius reads as document, not pill */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 50px rgba(0, 0, 0, 0.4);
}
/* Subtle corner ornaments — quiet "this is an extract" cue */
.cert::before,
.cert::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(255, 255, 255, 0.25);
  border-style: solid;
  pointer-events: none;
}
.cert::before {
  top: 10px; left: 10px;
  border-width: 1px 0 0 1px;
}
.cert::after {
  bottom: 10px; right: 10px;
  border-width: 0 1px 1px 0;
}

.cert__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cert__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.cert__locale {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.cert__meta {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.cert__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cert__row:last-child { border-bottom: 0; }
.cert__row dt {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}
.cert__row dd {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
}
.cert__hangul {
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}
.cert__num {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.cert__foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* Desktop — label left, value right (true register/ledger alignment) */
@media (min-width: 720px) {
  .cert {
    padding: 2.5rem 2.75rem;
    max-width: 680px;
    margin: 0 auto;
  }
  .cert__row {
    grid-template-columns: max-content 1fr;
    gap: 2rem;
    align-items: baseline;
    padding: 1rem 0;
  }
  .cert__row dt {
    padding-top: 0.15rem; /* baseline-align with the value */
  }
  .cert__row dd {
    text-align: right;
    justify-self: end;
  }
}

/* ============================================================
   CONTACT — inquiry form. Same mechanic as /sourcing, apex design system.
   Mobile-first: single column. Desktop (>=720px): 2-col grid for short fields.
   ============================================================ */
.contact {
  padding: var(--pad-section) var(--pad-x) calc(var(--pad-section) * 0.6);
  position: relative;
  /* Offset for sticky nav when anchored via #contact */
  scroll-margin-top: 4rem;
}
.contact__inner {
  max-width: 720px;
  margin: 0 auto;
}
.contact__head {
  margin: 0 0 2.5rem;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  max-width: 16ch;
}
.contact__title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .contact__form { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  font-family: var(--font);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-ghost);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}
/* Native select arrow — custom chevron */
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.5) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.5) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.field select option,
.field select optgroup {
  background: #0a0a0a;
  color: var(--text);
}
.field input.is-required {
  border-color: rgba(255, 255, 255, 0.28);
}
.field__hint {
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.01em;
}

.contact__actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}
.contact__submit {
  width: 100%;
  justify-content: center;
}
@media (min-width: 720px) {
  .contact__submit { width: auto; align-self: start; min-width: 240px; }
}

.contact__error {
  margin: 0;
  font-size: 0.9rem;
  color: var(--glow-red);
  letter-spacing: -0.005em;
}

.contact__success {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}
.contact__success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.contact__success p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.55;
}

.contact__privacy {
  margin: 2.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-faint);
  letter-spacing: 0;
}
.contact__privacy a {
  color: var(--text-dim);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.18);
  text-underline-offset: 2px;
}
.contact__privacy a:hover { color: var(--text); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 6rem var(--pad-x) 2.5rem;
  border-top: 1px solid var(--line);
  position: relative;
}
/* LP variant — tighter top padding (no content above wordmark, so less breathing) */
.footer--lp {
  padding-top: 2.5rem;
}
.footer--lp .footer__wordmark { margin-top: 1rem; }
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.footer__brand {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  margin: 0 0 0.5rem;
}
.footer__korean {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}
.footer__col h4 {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 1.25rem;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__col a, .footer__col p {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.6;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--text); }

.footer__wordmark {
  margin-top: 6rem;
  text-align: center;
}
.footer__wordmark span {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(4rem, 18vw, 18rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  user-select: none;
}
/* Mobile — bump wordmark larger for stronger sign-off, capped at one-line fit */
@media (max-width: 720px) {
  .footer__wordmark span {
    font-size: clamp(4.5rem, 21vw, 10rem);
    letter-spacing: -0.07em;
    white-space: nowrap;
  }
}
.footer__bottom {
  max-width: var(--max-w);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-faint);
}
@media (max-width: 600px) {
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__headline .line span { transform: none; }
  .hero__cta { opacity: 1; }
}

/* ============================================================
   SUBHERO — used by /about and /how-we-work.
   Lighter than the home hero: no image, just title on canvas.
   ============================================================ */
.subhero {
  padding: clamp(7rem, 12vw, 11rem) var(--pad-x) clamp(3rem, 6vw, 5rem);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.subhero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.subhero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.subhero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.5rem;
  max-width: 20ch;
}
.subhero__title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.subhero__sub {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--text-dim);
  margin: 0;
  max-width: 50ch;
}

/* ============================================================
   STORY — single column of plain Halbert prose
   ============================================================ */
.story {
  max-width: 64ch;
}
.story p {
  font-size: var(--t-body);
  line-height: 1.75;
  color: var(--text-dim);
  margin: 0 0 1.5rem;
}
.story p:last-child { margin-bottom: 0; }
.story p strong { color: var(--text); font-weight: 500; }

/* ============================================================
   TEAM — two-person editorial list
   Mobile: stacked. Desktop: 2-col.
   ============================================================ */
.team {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .team {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.team__member {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.team__name {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.team__role {
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}

/* ============================================================
   ANTIPOZ — anti-positioning bullet list with Halbert fact-benefit pattern
   ============================================================ */
/* ============================================================
   ANTIPOZ — accordion. Claim visible by default, "which means..."
   collapsed. Tap/click expands. + icon rotates to × when open.
   ============================================================ */
.antipoz {
  list-style: none;
  padding: 0;
  margin: 0;
}
.antipoz li {
  border-top: 1px solid var(--line);
}
.antipoz li:last-child {
  border-bottom: 1px solid var(--line);
}

/* Clickable head row — wraps claim + icon */
.antipoz__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: padding 0.25s var(--ease), color 0.25s var(--ease);
}
.antipoz__head:hover,
.antipoz__head:focus-visible {
  padding-left: 0.5rem;
  outline: none;
}
.antipoz__head strong {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--text);
  letter-spacing: -0.005em;
  flex: 1;
}

/* + icon drawn purely in CSS — two crossed bars. Rotates 45° on open → × */
.antipoz__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.antipoz__icon::before,
.antipoz__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--text-dim);
  border-radius: 1px;
  transform: translateY(-50%);
  transition: background 0.25s var(--ease);
}
.antipoz__icon::after {
  transform: translateY(-50%) rotate(90deg);
}
.antipoz li.is-open .antipoz__icon {
  transform: rotate(45deg);
}
.antipoz li.is-open .antipoz__icon::before,
.antipoz li.is-open .antipoz__icon::after {
  background: var(--text);
}

/* Collapsible body — grid 0fr → 1fr transition (works without measuring) */
.antipoz__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.antipoz__body > span {
  overflow: hidden;
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--text-dim);
  display: block;
}
.antipoz li.is-open .antipoz__body {
  grid-template-rows: 1fr;
}
.antipoz li.is-open .antipoz__body > span {
  padding: 0 0 1.5rem;
}

@media (min-width: 720px) {
  .antipoz__head {
    padding: 1.75rem 0;
  }
  .antipoz__head strong {
    font-size: 1.125rem;
  }
  .antipoz li.is-open .antipoz__body > span {
    padding-bottom: 1.75rem;
    max-width: 60ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .antipoz__body,
  .antipoz__icon,
  .antipoz__head {
    transition: none !important;
  }
}

/* ============================================================
   CTA-STRIP — closing CTA on subpages (back to /#contact)
   ============================================================ */
.cta-strip {
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.cta-strip__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 2rem;
}
.cta-strip__title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   MECH-GRID — 3 mechanism blocks (CO2/FTA/Spec/Warranty law)
   Mobile: stacked. Desktop: 3-col.
   ============================================================ */
.mech-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 820px) {
  .mech-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
/* Liquid-glass card pattern — see .glass-card-base mixin via :is() below */
.mech-block {
  position: relative;
  padding: 1.75rem;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 55%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 12px 36px rgba(0,0,0,0.35),
    0 2px 6px rgba(0,0,0,0.35);
  overflow: hidden;
}
.mech-block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255,255,255,0.28) 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(255,255,255,0.04) 65%,
    rgba(255,255,255,0.18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.mech-block__title {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.mech-block p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}
.mech-block strong { color: var(--text); font-weight: 600; }

/* ============================================================
   LEDGER — business-model 3-row breakdown (You pay / AJ earns / Verification)
   ============================================================ */
.ledger {
  margin: 0 0 2.5rem;
  padding: 0;
}
.ledger__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.ledger__row:last-child {
  border-bottom: 1px solid var(--line);
}
.ledger__row dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}
.ledger__row dd {
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
@media (min-width: 720px) {
  .ledger__row {
    grid-template-columns: 180px 1fr;
    gap: 2.5rem;
    align-items: baseline;
    padding: 1.75rem 0;
  }
  .ledger__row dt { padding-top: 0.25rem; }
}
.ledger__close {
  max-width: 60ch;
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}

/* ============================================================
   PROOF-GRID — 85 / 3 / 0% big-number blocks with sub-bullets
   Mobile: stacked. Desktop (>=820px): 3-col.
   ============================================================ */
.proof-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 820px) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.proof-block {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 55%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 12px 36px rgba(0,0,0,0.35),
    0 2px 6px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.proof-block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255,255,255,0.28) 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(255,255,255,0.04) 65%,
    rgba(255,255,255,0.18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.proof-block__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  background: linear-gradient(180deg, var(--text) 0%, rgba(255,255,255,0.45) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.proof-block__title {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.proof-block p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 1rem;
}
.proof-block__note {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-faint);
  line-height: 1.55;
}

/* ============================================================
   SEQUENCE — 4-step commitment list with circled numerals
   ============================================================ */
.sequence {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sequence__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 55%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 12px 36px rgba(0,0,0,0.35),
    0 2px 6px rgba(0,0,0,0.35);
  overflow: hidden;
}
.sequence__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255,255,255,0.28) 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(255,255,255,0.04) 65%,
    rgba(255,255,255,0.18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@media (min-width: 720px) {
  .sequence__item {
    grid-template-columns: 64px 1fr;
    gap: 2rem;
    padding: 2rem 2.25rem;
  }
}
.sequence__marker {
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.875rem;
  line-height: 1;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.sequence__title {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 0.625rem;
}
.sequence__body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
  max-width: 64ch;
}

/* ============================================================
   OPTIONAL — centered editorial block beneath the proof-grid.
   Renders the two "available on request" services as a quiet pull-quote.
   ============================================================ */
.optional {
  margin: 3rem auto 0;
  max-width: 56ch;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.optional__lead {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 1.25rem;
}
.optional__item {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 0.875rem;
}
.optional__item:last-child { margin-bottom: 0; }
.optional__item em {
  font-style: italic;
  color: var(--text);
}

/* ============================================================
   /SOURCING — paid-traffic LP. Minimal chrome, hero-centric, single CTA.
   Mobile-first. Reuses .contact form system + .btn--hero pattern.
   ============================================================ */

/* Body hook — LP doesn't have the apex nav, so it gets its own top padding */
.lp { padding-top: 0; }

/* Minimal top strip — brand mark + DE switch only. No nav links. */
.lp-header {
  position: relative;
  z-index: 5;
  padding: 1.5rem var(--pad-x);
}
.lp-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lp-header__brand {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.045em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.lp-header__brand:hover { color: var(--text-dim); }
.lp-header__lang {
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lp-header__lang:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   LP HERO — headline + sub + CTA + report card
   Mobile: stacked. Desktop (>=900px): 2-col with headline spanning above.
   ============================================================ */
.lp-hero {
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x) clamp(4rem, 8vw, 7rem);
}
.lp-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.lp-hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  max-width: 18ch;
}
.lp-hero__headline em {
  font-style: italic;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .lp-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
  }
}

.lp-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}
.lp-hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
  max-width: 52ch;
}



/* ============================================================
   PROPOSAL SLIDER — replaces the old .report-card on /sourcing.
   6 anonymized client proposal pages rendered as document images.
   Mobile: native swipe via CSS scroll-snap. Desktop: dots + auto-advance.
   ============================================================ */
.proposals {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
/* Viewport clips the track so only the current slide is visible.
   Track flexes horizontally and is moved via translateX in JS. */
.proposals__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  touch-action: pan-y; /* allow vertical page scroll, swipe handled by JS */
}
.proposals__viewport:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}
.proposals__track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.proposals__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}
.proposals__slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
  /* Paper-on-dark drop shadow — feels like a document hovering */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dots — small minimal pagination */
.proposals__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
}
.proposals__dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.proposals__dot:hover { background: rgba(255, 255, 255, 0.32); }
.proposals__dot.is-active {
  background: rgba(255, 255, 255, 0.9);
  width: 48px;
}
.proposals__dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}

.proposals__caption {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-faint);
  margin: 0;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ============================================================
   KZ apex extensions — components introduced 2026-06-21
   Inherits all tokens from above. BEM naming matches CH.
   ============================================================ */

/* ---------- Recent Deliveries (proof, not catalog) ---------- */
.deliveries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 1024px) {
  .deliveries { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .deliveries {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    margin-inline: calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
    scrollbar-width: none;
  }
  .deliveries::-webkit-scrollbar { display: none; }
  .delivery-card { scroll-snap-align: start; }
}

.delivery-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.delivery-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--glow-purple-faint), 0 18px 38px -18px var(--glow-purple-soft);
}

.delivery-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.delivery-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.delivery-card__title {
  font-size: 1.0625rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.delivery-card__meta {
  font-size: 0.825rem;
  color: var(--text-dim);
  margin: 0;
  letter-spacing: 0.005em;
}
.delivery-card__price {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin: 0.35rem 0 0;
  letter-spacing: -0.005em;
}

/* ---------- Differentiators (6 trust blocks, 3x2) ---------- */
.differentiators {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .differentiators { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .differentiators { grid-template-columns: 1fr; }
}
.differentiator {
  padding: 1.75rem 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
  transition: border-color 0.3s var(--ease);
}
.differentiator::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: var(--glow-purple-soft);
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}
.differentiator:nth-child(3n+2)::before { background: var(--glow-red-soft); }
.differentiator:nth-child(3n+3)::before { background: var(--glow-blue-soft); }
.differentiator:hover { border-color: rgba(255, 255, 255, 0.16); }
.differentiator:hover::before { opacity: 1; }
.differentiator__title {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
  padding-left: 1rem;
}
.differentiator__body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
  padding-left: 1rem;
}

/* ---------- Resources (3 pillar pointers) ---------- */
.resources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 800px) {
  .resources { grid-template-columns: 1fr; }
}
.resource-card {
  display: block;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.resource-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--glow-blue-faint), 0 14px 30px -16px var(--glow-blue-soft);
}
.resource-card__title {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.resource-card__body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}
.resource-card__arrow {
  position: absolute;
  right: 1.5rem;
  top: 1.75rem;
  font-size: 1.25rem;
  color: var(--text-faint);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.resource-card:hover .resource-card__arrow {
  color: var(--text);
  transform: translateX(4px);
}

/* ---------- Founder panel (photo + body, split) ---------- */
.founder {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 2rem;
}
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
}
.founder__photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.founder__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.founder__body .section__title {
  margin-bottom: 0;
}
.founder__body .btn {
  align-self: flex-start;
}

/* ---------- Contact head: spacing between H2 and subhead ----------
   CH apex doesn't have a subhead in .contact__head; KZ does.
   .problem__intro default has zero top margin, causing it to stick to
   the H2. Add breathing room without inheriting the default 4rem bottom
   (which would push the form too far). */
.contact__head .problem__intro {
  margin: 1.5rem 0 0;
}

/* (Mobile hero swap merged into the existing @media (max-width: 980px) rule
   above — see line ~461. Don't duplicate here.) */

/* ---------- Mobile menu overlay — KZ adaptation ----------
   CH apex used Playfair Display italic at 2.25rem (worked for short English
   labels). Russian items are longer + Playfair italic at large size wraps
   awkwardly and looks off. Switch to Geist sans, smaller responsive size,
   center-aligned text, tighter gap. Add transition-delays for items 5+. */
.nav-overlay__link {
  font-size: clamp(1.625rem, 6vw, 2.125rem);
  text-align: center;
  line-height: 1.15;
  max-width: 90vw;
}
.nav-overlay__inner {
  gap: 1.25rem;
}
.nav-overlay.is-open .nav-overlay__link:nth-child(5) { transition-delay: 0.42s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(6) { transition-delay: 0.50s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(7) { transition-delay: 0.58s; }

/* ============================================================
   Article pillar pages (shared with /encar/, /iz-chego-cena/,
   /pervichka-i-vozrast/, /avto-iz-korei-v-kazahstan/, /o-nas/)
   ============================================================ */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 9rem) var(--pad-x) clamp(4rem, 8vw, 6rem);
}
.article-hero {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.article-hero__eyebrow {
  font-family: var(--font);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.article-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.article-hero__title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.article-hero__intro {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto;
}
.article-prose {
  color: var(--text);
  font-size: var(--t-body);
  line-height: 1.7;
}
.article-prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem;
  scroll-margin-top: 100px;
}
.article-prose h2 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.article-prose h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
  letter-spacing: -0.005em;
}
.article-prose p {
  margin: 0 0 1.25rem;
  color: var(--text-dim);
}
.article-prose ul, .article-prose ol {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-dim);
}
.article-prose li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.article-prose strong {
  color: var(--text);
  font-weight: 500;
}
.article-prose a {
  color: var(--text);
  border-bottom: 1px solid var(--glow-purple-soft);
  transition: border-color 0.25s var(--ease);
}
.article-prose a:hover {
  border-bottom-color: var(--text);
}
.article-figure {
  margin: 2rem 0;
}
.article-figure__placeholder {
  background: var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.5;
}
.article-figure img {
  /* Cap height so tall portrait screenshots (e.g. filter sidebar) don't take
     the full prose-width × natural-aspect (~1700px tall). Landscape images
     are unaffected because their natural height at 100% width is well under 640px. */
  max-width: 100%;
  max-height: 640px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.article-figure figcaption {
  font-size: 0.875rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}
.article-cta {
  margin: clamp(4rem, 8vw, 6rem) auto 0;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 3.5rem);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.article-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}
.article-cta p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  max-width: 50ch;
  margin-inline: auto;
}
.article-cta__channels {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.article-cta__channels a {
  color: var(--text);
  border-bottom: 1px solid var(--glow-purple-soft);
  margin-inline: 0.35rem;
}

/* ---------- Article figure 2-column grid ----------
   For grouping two related figures side-by-side (e.g. two halves of a tall
   filter panel). Stacks back to single column on mobile. */
.article-figure-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.article-figure-grid-2 .article-figure {
  margin: 0;
}
@media (max-width: 640px) {
  .article-figure-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Article tables (cost breakdowns, spec sheets) ---------- */
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}
.article-prose th, .article-prose td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--text-dim);
  vertical-align: top;
}
.article-prose th {
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-prose td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.article-prose tr:last-child td {
  border-bottom: none;
  font-weight: 500;
  color: var(--text);
  padding-top: 1rem;
}
.article-prose tr.is-total td {
  border-top: 2px solid var(--line);
  border-bottom: none;
  font-weight: 500;
  color: var(--text);
  padding-top: 1rem;
}

/* ============================================================
   ARTICLE CALLOUTS — key-stat boxes for pillar pages
   Use to lift a single number or principle out of body prose.
   ============================================================ */
.callout {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.012) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid;
  border-image: linear-gradient(180deg, var(--glow-purple), var(--glow-red)) 1;
  border-radius: 4px;
}
.callout__label {
  font-family: var(--font);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.6rem;
}
.callout__stat {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.callout__stat em {
  font-style: italic;
  background: linear-gradient(90deg, var(--glow-purple), var(--glow-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.callout__body {
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
.callout__body:not(:first-child) {
  margin-top: 0.5rem;
}

/* ============================================================
   FAQ ACCORDION — tap-to-reveal answer pattern
   ============================================================ */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}
.faq-list__item {
  border-bottom: 1px solid var(--line);
}
.faq-list__head {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.005em;
  transition: color 180ms ease;
}
.faq-list__head:hover {
  color: var(--text);
}
.faq-list__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  margin-left: 1rem;
}
.faq-list__icon::before,
.faq-list__icon::after {
  content: "";
  position: absolute;
  background: var(--text-dim);
  transition: transform 240ms ease, opacity 240ms ease;
}
.faq-list__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.faq-list__icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}
.faq-list__item.is-open .faq-list__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.faq-list__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}
.faq-list__item.is-open .faq-list__body {
  max-height: 1600px;
}
.faq-list__body-inner {
  padding: 0 0 1.5rem;
  color: var(--text-dim);
  font-size: var(--t-body);
  line-height: 1.7;
}
.faq-list__body-inner p {
  margin: 0 0 0.75rem;
}
.faq-list__body-inner p:last-child { margin-bottom: 0; }
.faq-list__body-inner a {
  color: var(--text);
  border-bottom: 1px solid var(--glow-purple-soft);
}

/* ============================================================
   ARTICLE TABLE — mobile-safe horizontal scroll wrapper
   ============================================================ */
.article-prose .table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
}
.article-prose .table-wrap table {
  margin: 0;
  min-width: 480px;
}
@media (max-width: 720px) {
  .article-prose .table-wrap table {
    font-size: 0.875rem;
  }
  .article-prose .table-wrap th,
  .article-prose .table-wrap td {
    padding: 0.6rem 0.7rem;
  }
}

/* Sub-label inside a table header (used for "(до 2 лет)" parenthetical) */
.article-prose th .th-sub {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 0;
  text-transform: none;
}

/* Keep monetary values (digits + ₸ or $) on one line in table cells.
   Applies to all non-first columns (price/sum columns). */
.article-prose table td + td,
.article-prose table th + th {
  white-space: nowrap;
}
