/* =========================================================================
   Org42. Consulting & Advisory — Editorial Design System
   -------------------------------------------------------------------------
   Single flat stylesheet. Two layers:
     1. Design tokens (CSS custom properties on :root)
     2. Components + responsive rules
   Always edit this file (styles.css), never styles.min.css directly.
   Run `npm run build` to regenerate the minified file.
   ========================================================================= */

/* ── Design tokens ──────────────────────────────────────── */
:root {
  /* Colour */
  --ink: #0a0a0a;
  --paper: #ffffff;
  --paper-2: #faf9f7;
  --muted: #555;
  --muted-2: #2a2a2a;
  --hairline: #e5e2db;
  --accent: #C2410C;
  --accent-soft: #FDF4EC;

  /* Type */
  --serif: 'Source Serif 4', 'Tiempos', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 40px;
  --sp-8: 48px;
  --sp-9: 64px;
  --sp-10: 80px;
  --sp-11: 96px;
  --sp-12: 128px;

  /* Layout */
  --container-max: 1240px;
  --gutter: 32px;
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ── Layout primitives ──────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.accent-bar { height: 4px; background: var(--accent); }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark { color: var(--accent); }
.brand-tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--hairline);
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { font-size: 14px; text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); font-style: italic; font-family: var(--serif); font-weight: 500; font-size: 16px; }
.nav-links a[aria-current="page"].nav-cta { font-style: normal; font-family: var(--sans); font-size: 13px; font-weight: 500; color: white; }
.nav-cta {
  background: var(--ink);
  color: white !important;
  padding: 10px 18px;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--accent); }

/* Mobile hamburger toggle */
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 24px; height: 24px; display: block; }
.menu-toggle[aria-expanded="true"] svg .line-2 { opacity: 0; }
.menu-toggle[aria-expanded="true"] svg .line-1 { transform: rotate(45deg) translate(2px, 4px); transform-origin: center; }
.menu-toggle[aria-expanded="true"] svg .line-3 { transform: rotate(-45deg) translate(2px, -4px); transform-origin: center; }

.mobile-nav { display: none; position: fixed; top: 73px; left: 0; right: 0; bottom: 0; background: var(--paper); z-index: 9; padding: 32px; flex-direction: column; gap: 0; border-top: 1px solid var(--hairline); overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--serif); font-size: 28px; padding: 18px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; color: var(--ink); }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav a[aria-current="page"] { color: var(--accent); font-style: italic; }
@media (prefers-reduced-motion: reduce) { .menu-toggle svg * { transition: none !important; transform: none !important; } }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: all 0.15s;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: white; }
.arrow { width: 14px; height: 14px; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 88px 0 96px; border-bottom: 1px solid var(--hairline); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: end;
}
.eye {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eye::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted-2);
  max-width: 52ch;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 14px; }

.hero-side { border-left: 1px solid var(--hairline); padding-left: 32px; }
.hero-side .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero-side .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--muted-2);
  margin: 0 0 16px;
}
.hero-side .attr {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.hero-side .attr b { color: var(--ink); font-weight: 600; }
.hero-side .divider { height: 1px; background: var(--hairline); margin: 28px 0; }
.hero-side .stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.hero-side .stat b {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  min-width: 80px;
}
.hero-side .stat span { font-size: 13px; color: var(--muted); }

/* ── Meta strip ─────────────────────────────────────────── */
.meta-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper-2);
  overflow: hidden;
}
.meta-strip-inner { display: flex; gap: 64px; align-items: center; }
.meta-strip .lbl {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.meta-strip .item {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  white-space: nowrap;
}
.meta-strip .item em { color: var(--accent); font-style: normal; }

/* ── Section base ───────────────────────────────────────── */
.section { padding: 96px 0; border-bottom: 1px solid var(--hairline); }
.section.alt { background: var(--paper-2); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head .num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 12px 0 0;
}
.section-head h2 em { font-style: italic; }
.section-head .desc {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted-2);
  max-width: 50ch;
}

/* ── Services ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.service {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--hairline);
}
.service:last-child { border-right: none; padding-right: 0; }
.service:not(:first-child) { padding-left: 32px; }
.service .num-big {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
}
.service h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  line-height: 1.15;
}
.service .desc-s {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-2);
  margin: 0 0 22px;
}
.service ul { list-style: none; padding: 0; margin: 0; counter-reset: svc; }
.service li {
  font-family: var(--sans);
  font-size: 13px;
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 10px;
}
.service li::before {
  content: counter(svc, decimal-leading-zero);
  counter-increment: svc;
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 12px;
  min-width: 24px;
}
.service .read-more {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.service .read-more:hover { color: var(--accent); border-color: var(--accent); }
.link-underline { font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 4px; text-decoration: none; color: var(--ink); }
.link-underline:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Approach phases ────────────────────────────────────── */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.phase {
  padding: 36px 24px 36px 0;
  border-right: 1px solid var(--hairline);
  position: relative;
}
.phase:last-child { border-right: none; }
.phase:not(:first-child) { padding-left: 24px; }
.phase .pnum {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  font-style: italic;
  margin-bottom: 20px;
}
.phase h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.phase p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-2);
  margin: 0;
}
.phase-arrow {
  position: absolute;
  right: -8px;
  top: 60px;
  width: 16px;
  height: 1px;
  background: var(--accent);
}

/* ── Expertise (inline term list) ───────────────────────── */
.exp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--hairline);
  margin-top: 24px;
}
.exp-list span {
  font-family: var(--serif);
  font-size: 18px;
  padding: 18px 28px 18px 0;
  border-right: 1px solid var(--hairline);
}
.exp-list span:not(:first-child) { padding-left: 28px; }
.exp-list .accent-it { font-style: italic; color: var(--accent); }

/* ── Open-source products ───────────────────────────────── */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--hairline);
}
.product:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.product.reverse { direction: rtl; }
.product.reverse > * { direction: ltr; }
.product .body .pl-eye {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.product .body h3 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.product .body h3 .mark { color: var(--accent); }
.product .body .pp {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted-2);
  margin: 0 0 24px;
}
.product .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.product .chips span {
  font-family: var(--sans);
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.product .actions { display: flex; gap: 14px; align-items: center; }
.product .visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}
.product .visual::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}
.product .visual .cap {
  position: absolute;
  bottom: 28px;
  left: 32px;
  right: 32px;
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
}
.product .visual .ix {
  position: absolute;
  top: 36px;
  left: 32px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.product .visual .name {
  position: absolute;
  top: 50%;
  left: 32px;
  right: 32px;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
}
.product .visual .name .mark { color: var(--accent); }
.product .visual:has(img)::before,
.product .visual:has(img) .ix,
.product .visual:has(img) .name,
.product .visual:has(img) .cap { display: none; }
.product .visual:has(img) { padding: 32px; }
.product .visual img { width: 100%; height: 100%; object-fit: contain; }

/* ── About ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-grid h2 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 24px 0;
}
.about-grid h2 em { font-style: italic; }
.about-grid p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0 0 18px;
}
.values { margin-top: 36px; border-top: 1px solid var(--hairline); }
.value {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.value .vnum {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.value h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 4px;
}
.value p {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ── CTA ────────────────────────────────────────────────── */
.cta {
  padding: 96px 0;
  background: var(--ink);
  color: white;
  border-bottom: 1px solid var(--ink);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.cta .eye { color: var(--accent); }
.cta .eye::before { background: var(--accent); }
.cta h2 {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 28px;
  max-width: 18ch;
  color: white;
}
.cta h2 em { font-style: italic; color: var(--accent); }
.cta p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  max-width: 50ch;
  margin: 0 0 36px;
}
.cta .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.cta .btn-primary:hover {
  background: white;
  color: var(--ink);
  border-color: white;
}
.cta .btn-ghost { color: white; border-color: rgba(255,255,255,0.4); }
.cta .btn-ghost:hover { background: white; color: var(--ink); }
.cta-side { text-align: right; }
.cta-side .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: white;
  margin: 0 0 18px;
}
.cta-side .attr {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer { padding: 64px 0 40px; background: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}
.footer-brand .brand { font-size: 28px; }
.footer-brand p {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--muted-2);
  line-height: 1.55;
  max-width: 36ch;
  margin: 18px 0 0;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 6px 0; font-family: var(--serif); font-size: 15px; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ── Cookie banner (preserved behaviour, editorial look) ── */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: var(--hairline);
  color: var(--ink);
  border: 1px solid var(--muted);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  z-index: 50;
  animation: cookie-in 0.3s ease-out;
}
.cookie-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
}
.cookie-banner-text {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted-2);
}
.cookie-banner-link { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 10px 16px; font-size: 13px; }
.cookie-banner--out { animation: cookie-out 0.3s ease-in forwards; }
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cookie-out {
  to { opacity: 0; transform: translateY(20px); }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-banner--out { animation: none; }
}

/* ── Reveal-on-scroll (paired with main.js) ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Services page ─────────────────────────────────── */
.hero-short { padding: 64px 0 64px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr; max-width: 64ch; }

.service-deep { display: grid; grid-template-columns: 1fr 2.4fr; gap: 64px; padding-top: 24px; border-top: 1px solid var(--ink); }
.service-deep-side { position: sticky; top: 96px; align-self: start; }
.service-deep-side .num-big { font-family: var(--serif); font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.service-deep-side .rule { width: 32px; height: 1px; background: var(--accent); margin-bottom: 16px; }
.service-deep-side .service-deep-toc { list-style: none; padding: 0; margin: 0; }
.service-deep-side .service-deep-toc li { padding: 6px 0; font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }

.service-deep-body h2 { font-family: var(--serif); font-size: 48px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; margin: 0 0 24px; }
.service-deep-body .lede { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--muted-2); margin: 0 0 24px; }
.service-deep-body h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 32px 0 12px; letter-spacing: -0.01em; }
.service-deep-body ul { padding-left: 0; list-style: none; }
.service-deep-body ul li { font-family: var(--serif); font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.service-deep-body p { font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--muted-2); margin: 0 0 14px; }

/* Enablement program offerings — 3-card grid inside the deep-dive */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 16px; border-top: 1px solid var(--ink); }
.program { padding: 24px 24px 24px 0; border-right: 1px solid var(--hairline); }
.program:last-child { border-right: none; padding-right: 0; }
.program:not(:first-child) { padding-left: 24px; }
.program-eye { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.program h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 10px; line-height: 1.2; }
.program p { font-family: var(--serif); font-size: 15px; line-height: 1.55; color: var(--muted-2); margin: 0; }

/* Cookie settings trigger — reusable across pages */
.cookie-trigger { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 3px; }
.cookie-trigger:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .service-deep { grid-template-columns: 1fr; gap: 32px; }
  .service-deep-side { position: static; }
  .program-grid { grid-template-columns: 1fr; }
  .program { border-right: none; border-bottom: 1px solid var(--hairline); padding: 24px 0; }
  .program:not(:first-child) { padding-left: 0; }
}

/* ── Approach page ─────────────────────────────────── */
.phase-deep { padding: 80px 0; }
.phase-deep-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.phase-deep-num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 240px; line-height: 0.85; color: var(--accent); letter-spacing: -0.04em; position: sticky; top: 96px; }
.phase-deep-body h2 { font-family: var(--serif); font-size: 56px; font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; margin: 16px 0 20px; }
.phase-deep-body h2 em { font-style: italic; color: var(--accent); }
.phase-deep-body .lede { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--muted-2); margin: 0 0 18px; }
.phase-deep-body .overview { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--muted); margin: 0 0 24px; padding-left: 16px; border-left: 1px solid var(--accent); }
.phase-deep-body h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin: 32px 0 12px; }
.phase-deep-body ul { list-style: none; padding: 0; margin: 0; }
.phase-deep-body ul li { font-family: var(--serif); font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }

/* Engagement timeline */
.engagement-timeline { border-top: 1px solid var(--ink); }
.engagement-step { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.engagement-step .step-num { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--accent); font-style: italic; }
.engagement-step h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 8px; }
.engagement-step p { font-family: var(--serif); font-size: 17px; line-height: 1.55; color: var(--muted-2); margin: 0; max-width: 70ch; }

/* Principles grid — 3-col with hairlines */
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.principle { padding: 32px 24px 32px 0; border-right: 1px solid var(--hairline); }
.principle:nth-child(3n) { border-right: none; padding-right: 0; }
.principle:not(:nth-child(3n+1)) { padding-left: 24px; }
.principle:nth-child(n+4) { border-top: 1px solid var(--hairline); padding-top: 32px; }
.principle .p-num { font-family: var(--serif); font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.principle h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 10px; line-height: 1.2; }
.principle p { font-family: var(--serif); font-size: 15px; line-height: 1.55; color: var(--muted-2); margin: 0; }

@media (max-width: 1024px) {
  .phase-deep-grid { grid-template-columns: 1fr; gap: 24px; }
  .phase-deep-num { font-size: 144px; position: static; }
  .phase-deep-body h2 { font-size: 40px; }
  .engagement-step { grid-template-columns: 1fr; gap: 8px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-right: none; border-bottom: 1px solid var(--hairline); padding: 24px 0; }
  .principle:not(:nth-child(3n+1)) { padding-left: 0; }
  .principle:nth-child(n+4) { border-top: none; padding-top: 24px; }
}

/* ── About page ────────────────────────────────────── */
.about-hero { padding: 80px 0 96px; border-bottom: 1px solid var(--hairline); }
.about-hero-copy { max-width: 60ch; }
.about-hero-copy h1 { font-family: var(--serif); font-size: 72px; line-height: 1.03; letter-spacing: -0.025em; font-weight: 400; margin: 16px 0 28px; }
.about-hero-copy h1 em { font-style: italic; color: var(--accent); }
.about-hero-copy .lede { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--muted-2); max-width: 52ch; margin: 0; }

/* Long-form prose */
.long-form { max-width: 65ch; }
.long-form p { font-family: var(--serif); font-size: 18px; line-height: 1.65; color: var(--muted-2); margin: 0 0 18px; }
.long-form h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 32px 0 12px; }

/* Mission grid: long-form + callout */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.callout { padding: 32px; background: var(--paper); border: 1px solid var(--hairline); border-left: 4px solid var(--accent); }
.callout .eye { margin-bottom: 16px; }
.callout h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.25; margin: 0 0 14px; letter-spacing: -0.01em; }
.callout h3 em { font-style: italic; color: var(--accent); }
.callout p { font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--muted-2); margin: 0; }

/* Values-deep grid — 3-col with hairlines (6 items in 2 rows of 3) */
.values-deep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.value-item { padding: 32px 24px 32px 0; border-right: 1px solid var(--hairline); }
.value-item:nth-child(3n) { border-right: none; padding-right: 0; }
.value-item:not(:nth-child(3n+1)) { padding-left: 24px; }
.value-item:nth-child(n+4) { border-top: 1px solid var(--hairline); padding-top: 32px; }
.value-item .v-num { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--accent); font-weight: 400; margin-bottom: 14px; }
.value-item h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.01em; }
.value-item p { font-family: var(--serif); font-size: 15px; line-height: 1.55; color: var(--muted-2); margin: 0; }
.value-prompt { background: linear-gradient(180deg, transparent, var(--accent-soft)); }

/* Pricing — three editorial tiers */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline); }
.tier { padding: 40px 32px 40px 0; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; position: relative; }
.tier:last-child { border-right: none; padding-right: 0; }
.tier:not(:first-child) { padding-left: 32px; }
.tier.featured { background: var(--paper); padding: 40px 32px; border-right: 1px solid var(--hairline); margin: -6px 0; outline: 1px solid var(--ink); position: relative; z-index: 1; }
.tier-badge { position: absolute; top: -1px; left: 32px; padding: 6px 12px; background: var(--accent); color: white; font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.tier.featured .tier-badge { top: 0; transform: translateY(-50%); }
.tier-label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 20px; }
.tier h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0 0 16px; letter-spacing: -0.01em; }
.tier-price { font-family: var(--serif); font-size: 38px; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.tier-price .unit { font-size: 17px; color: var(--muted); font-style: italic; margin-left: 4px; }
.tier-price-sub { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); margin-top: 8px; }
.tier-list { list-style: none; padding: 0; margin: 24px 0; flex: 1; }
.tier-list li { font-family: var(--serif); font-size: 15px; padding: 10px 0; border-top: 1px solid var(--hairline); }
.tier-list li:last-child { border-bottom: 1px solid var(--hairline); }
.tier-cta { justify-content: center; width: 100%; }

/* Founder */
.founder-name { font-family: var(--serif); font-size: 36px; font-weight: 400; letter-spacing: -0.02em; margin: 0 0 4px; }
.founder-role { font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 32px; text-transform: uppercase; }
.founder-grid { padding-top: 16px; }
.cert-head { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 40px 0 16px; }
.cert-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.cert-list li { font-family: var(--serif); font-size: 14px; padding: 12px 16px 12px 0; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); color: var(--muted-2); }
.cert-list li:nth-child(3n) { border-right: none; }
.cert-list li:not(:nth-child(3n+1)) { padding-left: 16px; }

/* Careers */
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.callout-large { padding: 40px; }
.callout-list { list-style: none; padding: 0; margin: 16px 0 0; }
.callout-list li { font-family: var(--serif); font-size: 16px; line-height: 1.55; padding: 12px 0; border-bottom: 1px solid var(--hairline); color: var(--muted-2); }
.callout-list li:last-child { border-bottom: none; }

@media (max-width: 1024px) {
  .about-hero { padding: 56px 0 64px; }
  .about-hero-copy h1 { font-size: 44px; }
  .about-hero-copy .lede { font-size: 18px; }
  .mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-deep { grid-template-columns: 1fr; }
  .value-item { border-right: none; border-bottom: 1px solid var(--hairline); padding: 24px 0; }
  .value-item:not(:nth-child(3n+1)) { padding-left: 0; }
  .value-item:nth-child(n+4) { border-top: none; padding-top: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .tier { border-right: none; border-bottom: 1px solid var(--hairline); padding: 32px 0; }
  .tier.featured { outline: none; border-left: 4px solid var(--accent); padding-left: 24px; }
  .tier:not(:first-child) { padding-left: 0; }
  .tier.featured:not(:first-child) { padding-left: 24px; }
  .cert-list { grid-template-columns: repeat(2, 1fr); }
  .cert-list li:nth-child(3n) { border-right: 1px solid var(--hairline); }
  .cert-list li:nth-child(2n) { border-right: none; }
  .cert-list li:not(:nth-child(3n+1)) { padding-left: 16px; }
  .cert-list li:nth-child(2n+1) { padding-left: 0; }
  .careers-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Contact page ──────────────────────────────────── */
.contact-hero { padding: 80px 0 96px; border-bottom: 1px solid var(--hairline); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-copy h1 { font-family: var(--serif); font-size: 64px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 400; margin: 16px 0 24px; }
.contact-copy h1 em { font-style: italic; color: var(--accent); }
.contact-copy .lede { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--muted-2); margin: 0 0 36px; max-width: 44ch; }

.contact-emails { border-top: 1px solid var(--ink); margin-top: 32px; }
.contact-email { padding: 18px 0; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; }
.contact-email .label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-email a { font-family: var(--serif); font-size: 20px; color: var(--ink); text-decoration: none; }
.contact-email a:hover { color: var(--accent); }

/* Form — editorial bottom-border inputs */
.contact-form { padding: 32px; background: var(--paper); border: 1px solid var(--hairline); border-left: 4px solid var(--accent); }
.form-eye { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.form-eye::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--accent); }
.form-helper { font-family: var(--serif); font-size: 15px; color: var(--muted); margin: 0 0 28px; font-style: italic; }
.contact-form .field { margin-bottom: 22px; }
.contact-form label { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-family: var(--serif); font-size: 17px;
  padding: 10px 0;
  background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--hairline);
  outline: none; transition: border-color 0.15s;
  appearance: none; -webkit-appearance: none;
  border-radius: 0;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-bottom-color: var(--accent); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--hairline); font-style: italic; }
.contact-form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.contact-form select { padding-right: 24px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; background-size: 16px; cursor: pointer; }

.form-actions { display: flex; gap: 24px; align-items: center; margin-top: 32px; flex-wrap: wrap; }
.form-status { font-family: var(--serif); font-size: 15px; margin: 16px 0 0; color: var(--muted-2); }
.form-status:empty { display: none; }

/* Fastest route callout */
.fastest-route { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; padding-top: 32px; border-top: 1px solid var(--ink); }
.fastest-route h2 { font-family: var(--serif); font-size: 48px; line-height: 1.08; letter-spacing: -0.02em; font-weight: 400; margin: 16px 0 16px; }
.fastest-route h2 em { font-style: italic; color: var(--accent); }
.fastest-route .lede { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--muted-2); margin: 0; max-width: 44ch; }
.fastest-route-action { display: flex; justify-content: flex-end; }

/* Legal strip — registration + location */
.legal-strip { padding-top: 56px; padding-bottom: 56px; }
.legal-strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; border-top: 1px solid var(--hairline); padding-top: 32px; }
.legal-label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.legal-strip-grid h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.01em; }
.legal-strip-grid p { font-family: var(--serif); font-size: 15px; color: var(--muted-2); margin: 0; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-copy h1 { font-size: 44px; }
  .contact-email { grid-template-columns: 1fr; gap: 4px; }
  .contact-email .label { margin-bottom: 4px; }
  .fastest-route { grid-template-columns: 1fr; gap: 24px; }
  .fastest-route h2 { font-size: 36px; }
  .fastest-route-action { justify-content: flex-start; }
  .legal-strip-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Privacy / Legal page ─────────────────────────── */
.legal { padding: 64px 0 96px; }
.legal-head { max-width: 65ch; margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--hairline); }
.legal-head h1 { font-family: var(--serif); font-size: 56px; font-weight: 400; letter-spacing: -0.025em; margin: 16px 0 12px; line-height: 1.05; }
.legal-head h1 em { font-style: italic; color: var(--accent); }
.legal-meta { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 0; letter-spacing: 0.02em; }

.legal-body { font-family: var(--serif); }
.legal-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 48px 0 16px; letter-spacing: -0.01em; line-height: 1.2; }
.legal-body h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin: 28px 0 10px; }
.legal-body p { font-family: var(--serif); font-size: 17px; line-height: 1.65; color: var(--muted-2); margin: 0 0 16px; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--ink); }
.legal-body ul, .legal-body ol { font-family: var(--serif); font-size: 17px; line-height: 1.65; color: var(--muted-2); padding-left: 24px; margin: 0 0 16px; }
.legal-body ul li, .legal-body ol li { margin-bottom: 8px; }
.legal-body strong { font-weight: 600; color: var(--ink); }
.legal-body em { font-style: italic; }
.legal-body code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 14px; background: var(--paper-2); padding: 1px 6px; border-radius: 2px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }

/* ── Responsive: tablet (≤1024px) ───────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }

  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .hero h1 { font-size: 60px; }
  .hero-side { border-left: none; padding-left: 0; border-top: 1px solid var(--hairline); padding-top: 32px; }

  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; align-items: start; }
  .section-head h2 { font-size: 40px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(2) { border-right: none; }
  .service:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--hairline);
    padding-left: 0;
    padding-right: 0;
    border-right: none;
  }

  .phases-grid { grid-template-columns: repeat(2, 1fr); }
  .phase:nth-child(2) { border-right: none; }
  .phase:nth-child(3),
  .phase:nth-child(4) {
    border-top: 1px solid var(--hairline);
    margin-top: -1px;
  }
  .phase:nth-child(3) { padding-left: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .cta { padding: 72px 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .cta h2 { font-size: 44px; }
  .cta-side { text-align: left; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── Responsive: mobile (≤720px) ────────────────────────── */
@media (max-width: 720px) {
  :root { --gutter: 20px; }

  .nav-inner { padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; gap: 12px; }
  .brand-tag { display: none; }
  .nav-links { gap: 20px; }
  .nav-links a:not(.nav-cta) { font-size: 13px; }

  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 48px; max-width: none; }
  .hero .lede { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .meta-strip-inner { flex-wrap: wrap; gap: 16px 28px; }

  .section { padding: 64px 0; }
  .section-head h2 { font-size: 32px; }
  .section-head .desc { font-size: 16px; }

  /* Services & phases collapse to single column with horizontal hairlines */
  .services-grid { grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
  .service {
    border-right: none !important;
    border-top: 1px solid var(--hairline);
    padding: 28px 0 !important;
    grid-column: auto !important;
  }
  .service:first-child { border-top: none; }

  .phases-grid { grid-template-columns: 1fr; }
  .phase {
    border-right: none !important;
    border-top: 1px solid var(--hairline);
    padding: 28px 0 !important;
    margin-top: 0 !important;
  }
  .phase:first-child { border-top: none; }
  .phase-arrow { display: none; }
  .phase .pnum { font-size: 48px; margin-bottom: 14px; }

  .exp-list { border-top: 1px solid var(--hairline); }
  .exp-list span {
    flex: 1 1 100%;
    padding: 14px 0 !important;
    border-right: none;
    border-bottom: 1px solid var(--hairline);
    font-size: 16px;
  }
  .exp-list span:last-child { border-bottom: none; }

  /* Products: image above text on every product */
  .product {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
    padding-bottom: 56px;
  }
  .product.reverse { direction: ltr; }
  .product .visual { order: -1; }
  .product .body h3 { font-size: 32px; }
  .product .visual .name { font-size: 40px; }

  .about-grid h2 { font-size: 32px; }

  .cta { padding: 64px 0; }
  .cta h2 { font-size: 32px; }

  .footer { padding: 48px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 20px;
  }

  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-inner { grid-template-columns: 1fr; }
  .cookie-banner-actions { justify-content: flex-end; }
}
