/* ==========================================================================
   Better Market — design system stylesheet (v2, elevated)
   Sober industrial / scientific. Hairlines, not shadows. Stillness, then motion.
   Depth comes from line, type scale, mono data, and disciplined reveal motion —
   never gradients or shadows (brand constraint, CLAUDE.md §4.2).
   ========================================================================== */

:root {
  --ink:        #0A0A0A;
  --ink-muted:  #4A5560;
  --ink-soft:   #6B7682;

  --navy-900:   #0B1F33;
  --navy-700:   #1E3A5F;
  --navy-500:   #355A82;
  --navy-100:   #DDE4ED;

  --steel-50:   #F6F8FA;
  --steel-100:  #E8EDF2;
  --steel-200:  #C9D3DC;
  --steel-300:  #9AA8B6;

  --white:      #FFFFFF;
  --paper:      #FBFCFD;

  --green-600:  #2F8F6F;
  --green-700:  #226B53;
  --green-100:  #E2F1EB;

  --amber-500:  #C8843A;
  --amber-100:  #F6E9D6;

  --focus-ring: #2F8F6F;

  --maxw: 1280px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .65, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500; line-height: 1.12; letter-spacing: -0.015em;
  color: var(--navy-900); margin: 0; font-optical-sizing: auto;
}

/* ---------- Reveal motion engine (JS adds .reveal; no-JS stays visible) ---- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal-line { transform-origin: left; transform: scaleX(0); }
.reveal-line.is-in { transform: scaleX(1); transition: transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto; }
  .reveal, .reveal-line { opacity: 1 !important; transform: none !important; }
}

/* ---------- Layout primitives ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.section { padding: 104px 0; }
.section--tight { padding: 64px 0; }
.section--tint { background: var(--steel-50); }
.section--navy { background: var(--navy-900); color: var(--white); }
.narrow { max-width: 720px; }
.measure { max-width: 640px; }
.hairline { border: 0; border-top: 1px solid var(--steel-200); margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff; padding: 12px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* ---------- Eyebrow / kicker (with industrial leading tick) ------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 20px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow--green { color: var(--green-600); }
.eyebrow--light { color: var(--steel-300); }

/* ---------- Type scale ---------- */
.display { font-size: clamp(40px, 5.2vw, 60px); }
h1 { font-size: clamp(32px, 3.8vw, 44px); }
h2 { font-size: clamp(26px, 2.8vw, 34px); }
h3 { font-size: 23px; }
.lede { font-size: 19px; color: var(--ink-muted); line-height: 1.58; }
.muted { color: var(--ink-muted); }
.soft { color: var(--ink-soft); }
p { margin: 0 0 16px; }
.prose p { color: var(--ink-muted); max-width: 70ch; }
.prose h2 { margin: 48px 0 16px; }
.prose h3 { margin: 36px 0 12px; }
.prose ul { color: var(--ink-muted); padding-left: 0; list-style: none; }
.prose strong { color: var(--navy-700); font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.is-stuck { border-bottom-color: var(--steel-200); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: "Fraunces", serif; font-weight: 500; font-size: 24px; color: var(--navy-900); letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo--header { display: inline-flex; flex-direction: column; line-height: 1.04; }
.logo-tagline { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-600); margin-top: 5px; }
@media (max-width: 380px) { .logo-tagline { display: none; } }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--ink-muted); font-size: 14px; font-weight: 500; position: relative; padding: 4px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--green-600); transition: right .28s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--navy-900); text-decoration: none; }
.nav-links a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--navy-900); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 26px; border-radius: var(--radius);
  font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn svg { transition: transform .18s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--navy-900); color: var(--white); }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--on-dark { background: var(--green-600); color: var(--white); }
.btn--on-dark:hover { background: var(--green-700); color: #fff; }
.btn--secondary { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn--secondary:hover { background: var(--navy-100); }
.btn--link { height: auto; padding: 0; background: none; color: var(--green-600); font-weight: 600; }
.btn--link:hover { text-decoration: underline; }
/* header CTA: small height, unmistakable solid block against muted nav text */
.nav-links .btn { height: 42px; padding: 0 20px; }

/* ---------- Media placeholder (corner-tick industrial framing) --------- */
.media {
  background: var(--steel-100); border: 1px solid var(--steel-200); border-radius: var(--radius);
  position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 440px;
}
.media--dark { background: var(--navy-900); border-color: var(--navy-700); }
.media::before, .media::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; opacity: .6;
}
.media::before { top: 14px; left: 14px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.media::after { bottom: 14px; right: 14px; border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; }
.media { color: var(--steel-300); }
.media--dark { color: var(--navy-500); }
.media__cap { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: var(--ink-soft); padding: 14px 16px; position: relative; z-index: 1; }
.media--dark .media__cap { color: var(--steel-300); }

/* Real photography — brand treatment: slight desaturation + subtle film grain on heroes */
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: saturate(0.82) contrast(1.03); }
.media--photo { background: var(--navy-900); color: rgba(255,255,255,0.5); }
.media--photo::before { content: none; }
.media--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: saturate(0.82) contrast(1.03); transition: transform .4s var(--ease), filter .3s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.03); filter: saturate(0.95) contrast(1.03); }

/* ---------- Hero ---------- */
.hero--split { position: relative; }
.hero--split .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; min-height: 540px; padding: 92px 0; }
.hero__copy { max-width: 560px; }
.hero__copy .display { margin-bottom: 22px; }
.hero__copy .lede { max-width: 540px; margin-bottom: 32px; }
.hero--center { text-align: center; padding: 128px 0 96px; }
.hero--center .container { display: flex; flex-direction: column; align-items: center; }
.hero--center .display { margin-bottom: 26px; max-width: 16ch; }
.hero--center .lede { max-width: 600px; }
.hero--text { padding: 104px 0 64px; position: relative; }
.hero--text h1 { margin-bottom: 26px; max-width: 18ch; }
.hero--text .lede { max-width: 60ch; }

/* big mono coordinate watermark for heroes */
.hero-index { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-soft); letter-spacing: .14em; text-transform: uppercase; margin-top: 28px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-index span { padding-top: 12px; border-top: 1px solid var(--steel-200); min-width: 120px; }
.hero-index b { display: block; color: var(--navy-900); font-weight: 500; font-family: "Inter", sans-serif; font-size: 14px; letter-spacing: 0; text-transform: none; margin-top: 4px; }

/* ---------- Card grid (disciplines) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--steel-200); }
.card {
  position: relative; background: var(--white); padding: 44px 34px 38px;
  border-right: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.card:first-child { border-left: 1px solid var(--steel-200); }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green-600); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease); }
.card:hover { border-color: var(--navy-500); background: var(--paper); }
.card:hover::before { transform: scaleY(1); }
.card__num { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--steel-300); letter-spacing: .1em; margin-bottom: 18px; }
.card__icon { color: var(--green-600); margin-bottom: 18px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-muted); margin-bottom: 22px; }
.card-link { font-size: 14px; font-weight: 600; color: var(--green-700); display: inline-flex; gap: 7px; align-items: center; }
.card-link svg { transition: transform .18s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Industry / tile strip ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tile { display: block; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; transition: border-color .25s var(--ease); background: var(--white); }
.tile:hover { border-color: var(--navy-500); text-decoration: none; }
.tile__img { position: relative; min-height: 190px; background: var(--steel-100); border-bottom: 1px solid var(--steel-200); display: flex; align-items: flex-end; color: var(--steel-300); }
.tile__img::before { content: ""; position: absolute; top: 12px; left: 12px; width: 14px; height: 14px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; opacity: .6; }
.tile__img .media__cap { color: var(--ink-soft); }
.tile__label { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; color: var(--navy-900); font-weight: 600; font-size: 15px; }
.tile__label svg { color: var(--green-600); transition: transform .18s var(--ease); }
.tile:hover .tile__label svg { transform: translateX(4px); }

/* ---------- Confidentiality note ---------- */
.quote-note { text-align: center; }
.quote-note p { font-family: "Fraunces", serif; font-style: italic; font-size: clamp(24px, 3vw, 32px); line-height: 1.35; color: var(--navy-900); max-width: 760px; margin: 0 auto; }
.quote-note .mark { display: block; font-family: "JetBrains Mono", monospace; font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--green-600); margin-bottom: 24px; }

/* ---------- Footprint strip ---------- */
.footprint { text-align: center; }
.footprint h2 { margin-bottom: 16px; }
.footprint .lede { max-width: 560px; margin: 0 auto 36px; }
.footprint__countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; border-top: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); }
.footprint__countries span { padding: 18px 26px; font-family: "Fraunces", serif; font-size: 19px; color: var(--navy-900); border-right: 1px solid var(--steel-200); }
.footprint__countries span:first-child { border-left: 1px solid var(--steel-200); }
.footprint__count { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--green-600); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 28px; }

/* ---------- Flag marquee (infinite scroll) ---------- */
.flag-marquee {
  position: relative; overflow: hidden; padding: 14px 0; margin-top: 8px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.flag-track { display: flex; width: max-content; animation: flag-scroll 42s linear infinite; }
.flag-marquee:hover .flag-track, .flag-marquee:focus-within .flag-track { animation-play-state: paused; }
.flag-set { display: flex; align-items: flex-start; margin: 0; padding: 0; list-style: none; }
.flag-item { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 38px; min-width: 128px; }
.flag-item img {
  width: 64px; height: 43px; object-fit: cover; display: block;
  border: 1px solid var(--steel-200); border-radius: 3px;
  filter: saturate(0.92); transition: transform .25s var(--ease), filter .25s var(--ease);
}
.flag-item:hover img { transform: translateY(-3px); filter: saturate(1.05); }
.flag-item span { font-size: 14px; font-weight: 500; color: var(--navy-900); letter-spacing: .01em; }
@keyframes flag-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .flag-marquee { -webkit-mask-image: none; mask-image: none; }
  .flag-track { animation: none; width: 100%; }
  .flag-set { flex-wrap: wrap; justify-content: center; gap: 28px 0; }
  .flag-set[aria-hidden="true"] { display: none; }
}
.footprint__note { font-size: 13px; color: var(--ink-soft); margin: 28px auto 0; max-width: 640px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-900); color: var(--white); text-align: center; padding: 96px 0; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--navy-700) 1px, transparent 1px); background-size: 100% 40px; opacity: .25; pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band .eyebrow { justify-content: center; color: var(--steel-300); }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: var(--steel-200); margin-bottom: 30px; }

/* ---------- Technical two-column ---------- */
.tech-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
.app-list { margin: 0; }
.app-item { position: relative; padding: 20px 0 20px 0; border-bottom: 1px solid var(--steel-200); transition: padding-left .2s var(--ease); }
.app-item:first-child { border-top: 1px solid var(--steel-200); }
.app-item:hover { padding-left: 14px; }
.app-item__term { color: var(--green-700); font-weight: 600; font-size: 16px; display: flex; align-items: baseline; gap: 12px; }
.app-item__term::before { content: attr(data-idx); font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--steel-300); font-weight: 500; }
.app-item__desc { color: var(--ink-muted); margin-top: 6px; }
.subhead { display: inline-flex; align-items: center; gap: 12px; font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 20px; }
.subhead::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .55; }
.challenge-list { margin: 0 0 40px; padding-left: 0; list-style: none; }
.challenge-list li { padding: 12px 0 12px 24px; position: relative; color: var(--ink-muted); border-bottom: 1px solid var(--steel-100); }
.challenge-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 1px; background: var(--green-600); }

/* mono spec block */
.spec-block { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; line-height: 1.8; background: var(--navy-900); color: var(--steel-100); padding: 28px; border-radius: var(--radius); position: relative; }
.spec-block::before { content: ""; position: absolute; top: 12px; right: 12px; width: 14px; height: 14px; border-top: 1px solid var(--navy-500); border-right: 1px solid var(--navy-500); }
.spec-block .k { color: var(--steel-300); display: block; margin-bottom: 12px; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }

/* spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table thead th { background: var(--navy-900); color: #fff; font-family: "JetBrains Mono", monospace; font-size: 13px; font-weight: 500; text-align: left; padding: 14px 16px; }
.spec-table tbody td { padding: 13px 16px; border-bottom: 1px solid var(--steel-200); color: var(--ink-muted); }
.spec-table tbody tr { transition: background .15s var(--ease); }
.spec-table tbody tr:hover { background: var(--steel-50); }

/* at-a-glance chip row */
.glance { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.glance span { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--navy-700); border: 1px solid var(--steel-200); border-radius: 999px; padding: 7px 15px; transition: border-color .2s var(--ease), color .2s var(--ease); }
.glance span:hover { border-color: var(--green-600); color: var(--green-700); }

/* ---------- Anchor sub-nav (ingredients) ---------- */
.anchor-nav { display: flex; gap: 28px; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); padding: 18px 0; margin-top: 28px; flex-wrap: wrap; font-family: "JetBrains Mono", monospace; }
.anchor-nav a { color: var(--ink-muted); font-weight: 500; position: relative; }
.anchor-nav a:hover { color: var(--green-700); text-decoration: none; }
.ingredient-section { padding: 84px 0; scroll-margin-top: 92px; border-top: 1px solid var(--steel-200); }
.ingredient-section h2 { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.ingredient-section h2 .ix { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--green-600); font-weight: 500; }

/* section heading block */
.sec-head { margin-bottom: 48px; }
.sec-head h2 { max-width: 20ch; }

/* ---------- Steps (About: source/formulate/scale) --------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--steel-200); }
.step { padding: 36px 32px 32px; border-bottom: 1px solid var(--steel-200); border-right: 1px solid var(--steel-200); position: relative; }
.step:first-child { border-left: 1px solid var(--steel-200); }
.step__num { font-family: "Fraunces", serif; font-size: 44px; color: var(--steel-200); line-height: 1; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-muted); margin: 0; }

/* ---------- Stat row (About) ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--steel-200); }
.stat { padding: 32px 28px; border-bottom: 1px solid var(--steel-200); border-right: 1px solid var(--steel-200); }
.stat:first-child { border-left: 1px solid var(--steel-200); }
.stat__label { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin-bottom: 14px; }
.stat__value { font-family: "Fraunces", serif; font-size: 23px; color: var(--navy-900); line-height: 1.2; }

/* numbered section label e.g. 01 / HOW WE WORK */
.numlabel { display: inline-flex; align-items: center; gap: 12px; font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.numlabel b { color: var(--green-600); font-weight: 600; }

/* ---------- Capabilities (Consulting) --------------------------------- */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--steel-200); border-left: 1px solid var(--steel-200); }
.capability { padding: 40px 36px; border-bottom: 1px solid var(--steel-200); border-right: 1px solid var(--steel-200); position: relative; transition: background .25s var(--ease); }
.capability:hover { background: var(--steel-50); }
.capability__ix { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--steel-300); letter-spacing: .1em; }
.capability__icon { color: var(--green-600); margin: 16px 0 18px; }
.capability h3 { margin-bottom: 12px; }
.capability p { color: var(--ink-muted); margin: 0; }

/* generic two-up intro (heading left / lede right) */
.split-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-intro h2 { max-width: 14ch; }

/* ---------- Form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.form-card { border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 44px; background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { height: 50px; border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 0 16px; font-family: inherit; font-size: 15px; color: var(--ink); background: var(--white); transition: border-color .18s var(--ease); }
.field textarea { height: auto; padding: 13px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-700); outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-muted); margin-top: 4px; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; }
.form-foot { font-size: 12px; color: var(--ink-soft); margin-top: 18px; }
.contact-aside .eyebrow { margin-bottom: 20px; }
.contact-meta { font-size: 14px; color: var(--ink-muted); }
.contact-meta div { margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.contact-meta svg { color: var(--green-600); flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--steel-200); padding: 80px 0 36px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--navy-700); }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: #fff; font-size: 22px; }
.footer-brand p { color: var(--steel-300); font-size: 14px; max-width: 30ch; margin-top: 16px; }
.footer-col h4 { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-300); margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col span { color: var(--steel-200); font-size: 14px; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--navy-700); font-size: 12px; color: var(--steel-300); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: var(--steel-300); }
.footer-legal a:hover { color: #fff; }

.draft-banner { background: var(--amber-100); color: #6b4a1f; border: 1px solid var(--amber-500); border-radius: var(--radius); padding: 14px 18px; font-size: 13px; font-weight: 600; font-family: "JetBrains Mono", monospace; }

/* ---------- Why Better Market (intro left / reasons rail right) -------- */
.why-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px; align-items: start; }
.why-aside .lede { margin-bottom: 26px; max-width: 36ch; }
.why-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.why-tags span { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--navy-700); border: 1px solid var(--steel-200); border-radius: 999px; padding: 7px 15px; transition: border-color .2s var(--ease), color .2s var(--ease); }
.why-tags span:hover { border-color: var(--green-600); color: var(--green-700); }
.why-list { border-top: 1px solid var(--steel-200); }
.why-item { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--steel-200); transition: padding-left .2s var(--ease); }
.why-item:hover { padding-left: 12px; }
.why-item__icon { width: 52px; height: 52px; border: 1px solid var(--steel-200); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--green-600); transition: border-color .2s var(--ease); }
.why-item:hover .why-item__icon { border-color: var(--green-600); }
.why-item__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.why-item__ix { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--steel-300); letter-spacing: .1em; }
.why-item h3 { font-size: 20px; }
.why-item p { color: var(--ink-muted); margin: 0; max-width: 62ch; }

/* ---------- Founder (portrait left / word right) ---------------------- */
.founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--steel-100); border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; color: var(--steel-300); display: flex; align-items: flex-end; }
.portrait::before, .portrait::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; opacity: .6; z-index: 2; }
.portrait::before { top: 14px; left: 14px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.portrait::after { bottom: 14px; right: 14px; border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: saturate(0.86) contrast(1.03); }
.portrait__glyph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--steel-200); }
.portrait__cap { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-soft); padding: 14px 16px; position: relative; z-index: 1; }
.founder__name { font-family: "Fraunces", serif; font-size: 26px; color: var(--navy-900); line-height: 1.1; margin-bottom: 8px; }
.founder__role { font-family: "JetBrains Mono", monospace; font-size: 12.5px; letter-spacing: .03em; color: var(--green-700); margin-bottom: 30px; }
.founder__word { border-left: 2px solid var(--green-600); padding-left: 26px; margin: 0 0 26px; }
.founder__word p { color: var(--ink-muted); font-size: 17px; line-height: 1.62; max-width: 64ch; }
.founder__sign { font-family: "Fraunces", serif; font-style: italic; font-size: 18px; color: var(--navy-900); }

/* ---------- Deliverables (consulting: 3-up numbered) ------------------ */
.deliverable { padding: 36px 32px 32px; border-bottom: 1px solid var(--steel-200); border-right: 1px solid var(--steel-200); position: relative; transition: background .25s var(--ease); }
.deliverable:first-child { border-left: 1px solid var(--steel-200); }
.deliverable:hover { background: var(--steel-50); }
.deliverable__ix { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--steel-300); letter-spacing: .1em; }
.deliverable__icon { color: var(--green-600); margin: 16px 0 18px; }
.deliverable h3 { margin-bottom: 10px; }
.deliverable p { color: var(--ink-muted); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero--split .hero-grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; padding: 64px 0; }
  .card-grid, .steps { grid-template-columns: 1fr; }
  .card:first-child, .step:first-child { border-left: 1px solid var(--steel-200); }
  .tech-grid, .split-intro, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: 1fr; }
  .why-grid, .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.is-open { display: flex; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: flex-start; background: var(--white); border-bottom: 1px solid var(--steel-200); padding: 20px 40px; gap: 18px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .tile-grid, .stat-row, .footer-cols { grid-template-columns: 1fr; }
  .footprint__countries span { border-left: 1px solid var(--steel-200); }
}
