/* ============================================================
   JG Haus Productions — Shared Design System
   Drop into Netlify deploy folder or include via <link rel="stylesheet" href="styles.css">
   ============================================================ */

:root {
  --black: #0F0E0C;
  --ink: #15130F;
  --ink-deep: #0A0907;
  --text: #3A3530;
  --text-soft: #5A544D;
  --quiet: #8A8278;
  --paper: #FAF6EE;
  --paper-light: #FCFAF5;
  --paper-deep: #F1EBDD;
  --paper-deeper: #E8DFC8;
  --paper-blueprint: #EFE5CD;
  --rule: #DBD3C2;
  --rule-strong: #B5AC97;
  --on-dark: rgba(255, 250, 240, 0.92);
  --on-dark-soft: rgba(255, 250, 240, 0.70);
  --on-dark-quiet: rgba(255, 250, 240, 0.50);
  --rule-dark: rgba(255, 250, 240, 0.15);
  --accent: #8C4A2C;
  --section-y: 88px;              /* tightened from 128px */
  --max: 1240px;
  --copy: 720px;
  --radius: 2px;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  --hand: 'Caveat', 'Segoe Script', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400; font-size: 18px; line-height: 1.55;
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(255,250,240,0) 0%, rgba(0,0,0,0.012) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--black); color: var(--paper); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; position: relative; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--black);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--black); }
.eyebrow.quiet { color: var(--text-soft); }
.eyebrow.quiet::before { background: var(--text-soft); }
.eyebrow.light { color: var(--on-dark); }
.eyebrow.light::before { background: var(--on-dark); }

h1, h2, h3, h4 { font-weight: 500; color: var(--black); letter-spacing: -0.018em; line-height: 1.08; }
h1 { font-size: clamp(38px, 5.2vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.3; margin-bottom: 14px; font-weight: 500; letter-spacing: -0.01em; }
h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; font-family: inherit; font-size: 15px; font-weight: 500;
  border-radius: var(--radius); cursor: pointer;
  transition: all 220ms ease; border: 1px solid transparent; line-height: 1;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--black); color: var(--paper); border-color: var(--black);
  box-shadow: 0 1px 2px rgba(15,14,12,0.08), 0 4px 12px rgba(15,14,12,0.10);
}
.btn-primary:hover {
  background: var(--ink); border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(15,14,12,0.12), 0 8px 20px rgba(15,14,12,0.14);
}
.btn-primary .arrow { transition: transform 200ms ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-link {
  color: var(--black); border-bottom: 1px solid var(--rule-strong);
  padding: 4px 0 6px; border-radius: 0; background: transparent; font-size: 15px;
}
.btn-link:hover { border-bottom-color: var(--black); }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 220ms ease;
}
.nav.scrolled { border-bottom-color: var(--rule); background: rgba(250, 246, 238, 0.96); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-weight: 600; font-size: 16px; color: var(--black);
  letter-spacing: -0.005em; display: inline-flex; align-items: center; gap: 12px;
}
.wordmark-mark { width: 28px; height: 28px; flex-shrink: 0; object-fit: contain; }
.wordmark-mark-inverted { filter: invert(1); }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 14px; color: var(--text); transition: color 160ms ease;
  letter-spacing: 0.005em; padding: 6px 0; position: relative;
}
.nav-links a:hover { color: var(--black); }
/* Active page indicator — bold + underline */
.nav-links a.active { color: var(--black); font-weight: 600; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--black);
}
/* Override for the CTA button (don't underline it) */
.nav-links a.nav-cta { color: var(--paper); padding: 10px 20px; font-size: 14px; }
.nav-links a.nav-cta:hover { color: var(--paper); }
.nav-links a.nav-cta.active::after { display: none; }

/* Hamburger toggle (mobile/tablet) */
.nav-toggle {
  display: none;
  background: transparent; border: none; padding: 8px; cursor: pointer;
  z-index: 60; position: relative;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--black); margin: 5px 0;
  transition: transform 280ms ease, opacity 220ms ease;
  border-radius: 1px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer backdrop */
.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,14,12,0.4);
  z-index: 40; opacity: 0;
  transition: opacity 300ms ease;
}
.nav-backdrop.open { display: block; opacity: 1; }

section { padding: var(--section-y) 0; position: relative; }
section.alt { background: var(--paper-deep); }
.section-title { margin-bottom: 28px; max-width: 18ch; }
.section-intro { color: var(--text-soft); font-size: 19px; line-height: 1.55; max-width: var(--copy); margin-bottom: 56px; }

/* Page head (inner pages) — tightened */
.page-head {
  padding-top: 80px; padding-bottom: 48px;
  background: var(--paper);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.page-head h1 { font-size: clamp(36px, 5vw, 64px); max-width: 18ch; margin-bottom: 20px; }
.page-head p { font-size: 19px; line-height: 1.55; color: var(--text-soft); max-width: 640px; }
.page-head-bg-mark {
  position: absolute; top: 50%; right: -180px; transform: translateY(-50%);
  width: 700px; height: 700px; opacity: 0.03; pointer-events: none; color: var(--black);
}

/* HERO (home) — tightened */
.hero {
  padding-top: 96px; padding-bottom: 100px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-light) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 1200px 600px at 75% 50%, rgba(15,14,12,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg-mark {
  position: absolute; top: 50%; right: -180px; transform: translateY(-50%);
  width: 920px; height: 920px; opacity: 0.035; pointer-events: none; color: var(--black);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero-headline { margin-bottom: 28px; max-width: none; font-size: clamp(34px, 4.2vw, 58px); }
.hero-headline .line { display: block; white-space: nowrap; }
.hero-headline .accent { color: var(--accent); }
@media (max-width: 720px) {
  .hero-headline { font-size: clamp(30px, 8vw, 44px); }
  .hero-headline .line { white-space: normal; }
}
.hero-sub { font-size: 21px; line-height: 1.5; color: var(--text); max-width: 540px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { font-style: italic; font-size: 15px; color: var(--quiet); max-width: 520px; line-height: 1.55; }
.hero-art {
  width: 100%; height: auto; max-width: 540px; margin-left: auto;
  filter: drop-shadow(0 2px 6px rgba(15,14,12,0.04)) drop-shadow(0 12px 32px rgba(15,14,12,0.08));
}
.hero-art-wrap {
  background: var(--paper-light); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 40px; position: relative;
  box-shadow: 0 1px 3px rgba(15,14,12,0.03), 0 12px 40px rgba(15,14,12,0.06);
}
.hero-art-wrap::after {
  content: 'WORKFLOW';
  position: absolute; top: 16px; right: 20px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.24em;
  color: var(--quiet); font-family: var(--mono);
}

/* Hero diagram animations */
.hero-art .anim-fade { opacity: 0; animation: fadeUp 900ms ease forwards; }
.hero-art .anim-stroke { stroke-dasharray: 400; stroke-dashoffset: 400; animation: strokeIn 1500ms ease forwards; }
.hero-art .delay-1 { animation-delay: 500ms; }
.hero-art .delay-2 { animation-delay: 950ms; }
.hero-art .delay-3 { animation-delay: 1500ms; }
.hero-art .delay-4 { animation-delay: 2100ms; }
.hero-art .delay-5 { animation-delay: 2700ms; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes strokeIn { to { stroke-dashoffset: 0; } }

/* Reveal animations (Why page) */
.has-js .reason, .has-js .founder, .has-js .humanist-note {
  opacity: 0; transform: translateY(20px);
  transition: opacity 800ms ease, transform 800ms ease;
}
.has-js .reason.in-view, .has-js .founder.in-view, .has-js .humanist-note.in-view {
  opacity: 1; transform: translateY(0);
}
.has-js .reasons .reason.in-view:nth-child(1) { transition-delay: 0ms; }
.has-js .reasons .reason.in-view:nth-child(2) { transition-delay: 130ms; }
.has-js .reasons .reason.in-view:nth-child(3) { transition-delay: 260ms; }
.has-js .reasons .reason.in-view:nth-child(4) { transition-delay: 390ms; }
.has-js .founder.in-view { transition-delay: 100ms; transition-duration: 1000ms; }
.has-js .humanist-note.in-view { transition-delay: 200ms; }

/* Stat strip */
.strip {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 24px 0; background: var(--paper-deeper); position: relative;
}
.strip-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.strip-item {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-soft);
}

/* Cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--paper-light); border: 1px solid var(--rule);
  padding: 32px 28px; border-radius: var(--radius);
  transition: all 280ms ease; box-shadow: 0 1px 2px rgba(15,14,12,0.02);
}
.card:hover {
  border-color: var(--black); transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15,14,12,0.04), 0 12px 32px rgba(15,14,12,0.06);
}
.card h3 { font-size: 17px; margin-bottom: 14px; line-height: 1.3; }
.card p { font-size: 15px; line-height: 1.6; color: var(--text-soft); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillar { position: relative; padding-top: 8px; }
.pillar-num {
  font-size: 60px; font-weight: 500; color: var(--black);
  line-height: 1; letter-spacing: -0.04em; margin-bottom: 22px; display: block;
}
.pillar-num small {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--quiet); text-transform: uppercase; display: block; margin-top: 12px;
}
.pillar h3 { font-size: 22px; margin-bottom: 12px; line-height: 1.25; }
.pillar p { font-size: 16px; line-height: 1.6; color: var(--text); }
.closing-line {
  text-align: center; margin-top: 60px;
  font-style: italic; color: var(--black); font-size: 19px;
  padding-top: 32px; border-top: 1px solid var(--rule);
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* Offers */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.offer {
  background: var(--paper-light); border: 1px solid var(--rule);
  padding: 36px 28px 32px; border-radius: var(--radius);
  display: flex; flex-direction: column; position: relative;
  transition: all 280ms ease; box-shadow: 0 1px 2px rgba(15,14,12,0.02);
}
.offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15,14,12,0.04), 0 16px 40px rgba(15,14,12,0.06);
  border-color: var(--rule-strong);
}
.offer.featured {
  border: 1px solid var(--black); background: var(--paper-light);
  box-shadow: 0 0 0 1px var(--black), 0 4px 16px rgba(15,14,12,0.06), 0 20px 50px rgba(15,14,12,0.10);
}
.offer.featured:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--black), 0 8px 24px rgba(15,14,12,0.10), 0 28px 60px rgba(15,14,12,0.14); }
.offer-tag {
  position: absolute; top: -1px; right: 32px; transform: translateY(-50%);
  background: var(--black); color: var(--paper);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--radius); font-weight: 600;
}
.offer-num {
  font-size: 52px; font-weight: 500; color: var(--black);
  line-height: 1; letter-spacing: -0.04em; margin-bottom: 22px; display: block;
}
.offer h3 { font-size: 22px; margin-bottom: 16px; line-height: 1.25; }
.offer-body { font-size: 16px; line-height: 1.6; color: var(--text-soft); margin-bottom: 20px; flex: 1; }
.offer-body strong { color: var(--black); font-weight: 600; }
.offer-walk { font-size: 15px; line-height: 1.55; color: var(--text-soft); padding-top: 20px; border-top: 1px solid var(--rule); margin-bottom: 16px; }
.offer.featured .offer-walk { border-top-color: var(--rule-strong); }
.offer-walk strong { color: var(--black); font-weight: 600; }
.offer-time { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--quiet); font-family: var(--mono); }

/* Blueprint — tightened */
.blueprint {
  background: var(--paper-blueprint);
  position: relative; padding: 64px 0 64px; overflow: hidden;
}
.blueprint::before {
  content: ''; position: absolute; inset: 32px; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--rule-strong) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule-strong) 1px, transparent 1px);
  background-size: 80px 80px; background-position: 0 0; opacity: 0.10;
}
.blueprint-frame { position: absolute; inset: 40px; pointer-events: none; z-index: 1; }
.blueprint-frame .corner { position: absolute; width: 36px; height: 36px; }
.blueprint-frame .corner.tl { top: 0; left: 0; border-top: 2px solid var(--black); border-left: 2px solid var(--black); }
.blueprint-frame .corner.tr { top: 0; right: 0; border-top: 2px solid var(--black); border-right: 2px solid var(--black); }
.blueprint-frame .corner.bl { bottom: 0; left: 0; border-bottom: 2px solid var(--black); border-left: 2px solid var(--black); }
.blueprint-frame .corner.br { bottom: 0; right: 0; border-bottom: 2px solid var(--black); border-right: 2px solid var(--black); }

.blueprint-titleblock {
  position: absolute; top: 56px; right: 88px;
  text-align: right; z-index: 2;
  font-family: var(--mono); font-size: 10px;
  color: var(--text-soft); letter-spacing: 0.12em; line-height: 1.9;
}
.blueprint-titleblock .row { display: flex; justify-content: flex-end; gap: 18px; }
.blueprint-titleblock .label { color: var(--quiet); }
.blueprint-titleblock .value { color: var(--black); font-weight: 500; }
.blueprint-stamp {
  position: absolute; top: 48px; left: 88px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
}
.blueprint-stamp svg { width: 36px; height: 36px; color: var(--black); }
.blueprint-stamp-text { font-family: var(--mono); font-size: 10px; color: var(--text-soft); letter-spacing: 0.12em; line-height: 1.8; }
.blueprint-stamp-text strong { color: var(--black); font-weight: 600; display: block; }
.blueprint-inner { max-width: var(--max); margin: 0 auto; padding: 120px 96px 48px; position: relative; z-index: 2; }
.blueprint-header { margin-bottom: 48px; max-width: 720px; }
.blueprint-header h2 { color: var(--black); margin-bottom: 16px; }
.blueprint-header .anchor { font-style: italic; color: var(--black); font-size: 19px; line-height: 1.55; max-width: 600px; }
.blueprint-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule-strong);
  position: relative;
}
.phase {
  padding: 48px 40px;
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  position: relative; background: var(--paper-blueprint);
}
.phase-num { font-size: clamp(96px, 11vw, 168px); font-weight: 400; line-height: 0.82; color: var(--black); letter-spacing: -0.05em; min-width: 1.2ch; }
.phase-content { display: flex; flex-direction: column; }
.phase-label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--black); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule-strong);
  display: inline-block; width: max-content; min-width: 80px;
}
.phase-diagram { width: 100%; max-width: 280px; height: auto; margin-bottom: 18px; opacity: 0.92; }
.phase-desc { font-size: 15px; line-height: 1.6; color: var(--text-soft); max-width: 30ch; }

.hand-note {
  font-family: var(--hand); font-size: 22px; color: var(--text-soft);
  line-height: 1.2; transform: rotate(-2deg); display: inline-block;
}
.phase-annotation {
  position: relative; margin-top: -12px; margin-bottom: 12px;
  padding-left: 8px; display: flex; align-items: center; gap: 8px;
}
.phase-annotation svg { width: 24px; height: 16px; flex-shrink: 0; opacity: 0.55; }

.blueprint-footnote {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px dashed var(--rule-strong);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--quiet); text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.blueprint-footnote strong { color: var(--black); font-weight: 500; }

.has-js .phase:not(.in-view) .phase-diagram .anim-fade { opacity: 0; }
.has-js .phase:not(.in-view) .phase-diagram .anim-stroke { stroke-dasharray: 240; stroke-dashoffset: 240; }
.has-js .phase:not(.in-view) .hand-note { opacity: 0; }
.has-js .phase.in-view .phase-diagram .anim-fade { animation: fadeUp 600ms ease forwards; }
.has-js .phase.in-view .phase-diagram .anim-stroke { animation: strokeIn 900ms ease forwards; }
.has-js .phase.in-view .phase-diagram .d1 { animation-delay: 80ms; }
.has-js .phase.in-view .phase-diagram .d2 { animation-delay: 180ms; }
.has-js .phase.in-view .phase-diagram .d3 { animation-delay: 280ms; }
.has-js .phase.in-view .phase-diagram .d4 { animation-delay: 380ms; }
.has-js .phase.in-view .phase-diagram .d5 { animation-delay: 480ms; }
.has-js .phase.in-view .phase-diagram .d6 { animation-delay: 580ms; }
.has-js .phase.in-view .hand-note { animation: fadeUp 800ms ease 600ms forwards; }

/* Why */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 64px; }
.reason {
  padding: 32px 28px; background: var(--paper-light);
  border: 1px solid var(--rule); border-radius: var(--radius);
  transition: all 280ms ease; box-shadow: 0 1px 2px rgba(15,14,12,0.02);
}
.reason:hover { border-color: var(--black); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,14,12,0.04), 0 12px 32px rgba(15,14,12,0.06); }
.reason h3 { font-size: 19px; margin-bottom: 14px; }
.reason p { font-size: 16px; line-height: 1.6; color: var(--text-soft); }

.founder {
  background: var(--ink); color: var(--paper);
  padding: 72px 56px; border-radius: var(--radius);
  position: relative; overflow: hidden;
  background-image:
    radial-gradient(ellipse at 80% 0%, rgba(255,240,210,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(255,240,210,0.05) 0%, transparent 50%);
  box-shadow: 0 4px 16px rgba(15,14,12,0.08), 0 24px 60px rgba(15,14,12,0.12);
}
.founder-bg-mark { position: absolute; top: -120px; right: -120px; width: 460px; height: 460px; opacity: 0.07; pointer-events: none; color: var(--paper); }
.founder .eyebrow { color: var(--on-dark-quiet); }
.founder .eyebrow::before { background: var(--on-dark-quiet); }
.founder-name {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 500;
  color: var(--paper); margin-bottom: 28px;
  letter-spacing: -0.018em; line-height: 1.1;
  position: relative; z-index: 1;
}
.founder-bio { font-size: 17px; line-height: 1.65; color: var(--on-dark-soft); margin-bottom: 18px; max-width: 760px; position: relative; z-index: 1; }
.founder-anchor {
  font-style: italic; color: var(--paper);
  margin-top: 16px; font-size: 18px !important;
  line-height: 1.6 !important; position: relative; z-index: 1;
}
.founder-anchor::before {
  content: '"'; font-size: 56px; line-height: 0;
  color: var(--on-dark-quiet); margin-right: 6px; vertical-align: -16px;
  font-family: Georgia, serif;
}

.humanist-note {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--black);
  border-radius: var(--radius);
  display: flex; gap: 24px; align-items: flex-start;
  max-width: 820px;
}
.humanist-note .hello {
  font-family: var(--hand); font-size: 38px;
  color: var(--black); line-height: 1; flex-shrink: 0;
  transform: rotate(-3deg); padding-top: 4px;
}
.humanist-note p { font-size: 16px; line-height: 1.65; color: var(--text); margin-bottom: 8px; }
.humanist-note p:last-of-type { margin-bottom: 0; }
.humanist-note .signed { font-family: var(--hand); font-size: 24px; color: var(--black); font-style: normal; line-height: 1; margin-top: 8px; display: inline-block; }

/* Contact */
.contact-section { background: var(--paper-deep); position: relative; overflow: hidden; }
.contact-bg-mark { position: absolute; bottom: -180px; left: -180px; width: 540px; height: 540px; opacity: 0.04; pointer-events: none; color: var(--black); }
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.contact-headline { margin-bottom: 20px; max-width: 16ch; margin-left: auto; margin-right: auto; }
.contact-sub { font-size: 19px; line-height: 1.55; color: var(--text-soft); margin-bottom: 44px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--black); margin-bottom: 10px; }
.field input, .field textarea {
  font-family: inherit; font-size: 16px;
  color: var(--black); background: var(--paper-light);
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  padding: 16px 18px; transition: all 220ms ease;
  -webkit-appearance: none; line-height: 1.5;
  box-shadow: inset 0 1px 2px rgba(15,14,12,0.02);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(15,14,12,0.08), inset 0 1px 2px rgba(15,14,12,0.02); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field-helper { font-size: 13px; color: var(--quiet); margin-top: 8px; font-style: italic; }
.field.invalid input, .field.invalid textarea { border-color: var(--black); box-shadow: 0 0 0 3px rgba(15,14,12,0.10); }
.field-error { font-size: 13px; color: var(--black); margin-top: 8px; display: none; font-weight: 500; }
.field.invalid .field-error { display: block; }
.form-note { font-size: 14px; font-style: italic; color: var(--quiet); text-align: center; margin-top: 20px; }
.form-error-banner { background: var(--paper-light); border: 1px solid var(--black); color: var(--black); padding: 16px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 20px; display: none; text-align: left; }
.form-error-banner.visible { display: block; }
.submit { margin-top: 12px; width: 100%; padding: 18px 24px; font-size: 16px; }
.thank-you { text-align: center; padding: 64px 32px; border: 1px solid var(--rule); background: var(--paper-light); border-radius: var(--radius); box-shadow: 0 4px 12px rgba(15,14,12,0.04), 0 16px 40px rgba(15,14,12,0.06); }
.thank-you h3 { font-size: 36px; margin-bottom: 16px; }
.thank-you p { font-size: 18px; color: var(--text-soft); }

/* CTA banner */
.cta-banner { background: var(--paper-deep); text-align: center; padding: 80px 24px; }
.cta-banner h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-banner p { font-size: 18px; color: var(--text-soft); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* Footer */
footer {
  background: var(--ink-deep); color: var(--paper);
  padding: 64px 0 36px; position: relative; overflow: hidden;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(255,240,210,0.04) 0%, transparent 60%);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px; align-items: start; position: relative; z-index: 1;
}
.footer-col h4 { color: var(--on-dark-quiet); margin-bottom: 18px; font-size: 12px; }
.footer-brand { font-size: 19px; font-weight: 600; margin-bottom: 10px; color: var(--paper); display: inline-flex; align-items: center; gap: 12px; }
.footer-brand .wordmark-mark { width: 28px; height: 28px; color: var(--paper); }
.footer-tagline { font-size: 15px; color: var(--on-dark-soft); max-width: 320px; line-height: 1.55; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 15px; color: var(--paper); transition: color 160ms ease; }
.footer-links a:hover { color: var(--on-dark-soft); }
.footer-contact { font-size: 15px; line-height: 1.7; color: var(--paper); }
.footer-contact a { color: var(--paper); transition: color 160ms ease; }
.footer-contact a:hover { color: var(--on-dark-soft); }
.footer-contact span { display: block; color: var(--on-dark-soft); font-size: 14px; margin-top: 4px; }
.footer-bottom { max-width: var(--max); margin: 48px auto 0; padding: 24px 40px 0; border-top: 1px solid var(--rule-dark); font-size: 13px; color: var(--on-dark-quiet); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root { --section-y: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; gap: 48px; }
  .offers { grid-template-columns: 1fr; }
  .blueprint-grid { grid-template-columns: 1fr; }
  .blueprint-inner { padding: 120px 56px 40px; }
  .phase-num { font-size: clamp(80px, 18vw, 140px); }
  .blueprint-titleblock { right: 56px; }
  .blueprint-stamp { left: 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  /* Hamburger nav active on tablet/mobile */
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 84%; max-width: 360px; height: 100vh;
    background: var(--paper);
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    gap: 6px; padding: 96px 32px 32px;
    transition: right 320ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(15,14,12,0.18);
    z-index: 55;
  }
  .nav-links.open { right: 0; }
  .nav-links li { display: list-item; width: 100%; }
  .nav-links li:not(.nav-cta-item) { display: list-item; }
  .nav-links a {
    font-size: 20px; padding: 16px 0;
    width: 100%; display: block; color: var(--text);
    border-bottom: 1px solid var(--rule);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.active { color: var(--black); }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta-item { margin-top: 24px; }
  .nav-links a.nav-cta {
    font-size: 15px; padding: 16px 24px;
    width: 100%; text-align: center;
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  :root { --section-y: 56px; }
  .container { padding: 0 24px; }
  .nav-inner { padding: 16px 24px; }
  .hero { padding-top: 80px; padding-bottom: 64px; }
  .hero-art { max-width: 240px; }
  .hero-art-wrap { padding: 20px; }
  .hero-art-wrap::after { font-size: 9px; top: 12px; right: 14px; }
  .strip-inner { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .reasons { grid-template-columns: 1fr; }
  .founder { padding: 48px 28px; }
  .founder-anchor::before { font-size: 40px; vertical-align: -10px; }
  .footer-inner { grid-template-columns: 1fr; padding: 0 24px; gap: 32px; }
  .footer-bottom { padding: 24px 24px 0; flex-direction: column; gap: 8px; }
  .cards-4 { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-link { width: auto; align-self: flex-start; }
  .blueprint { padding: 56px 0 56px; }
  .blueprint-inner { padding: 110px 28px 36px; }
  .phase { grid-template-columns: 1fr; padding: 32px 24px; gap: 12px; }
  .phase-num { font-size: 72px; }
  .blueprint-stamp { left: 28px; top: 32px; }
  .blueprint-titleblock { right: 28px; top: 32px; }
  .blueprint-frame { inset: 20px; }
  .blueprint::before { inset: 12px; background-size: 40px 40px; }
  .humanist-note { flex-direction: column; gap: 12px; padding: 24px 20px; }
  .humanist-note .hello { font-size: 32px; }
  .page-head { padding-top: 56px; padding-bottom: 36px; }
}

@media (max-width: 460px) {
  .hero-art-wrap { display: none; }
  .hero { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .anim-fade { opacity: 1 !important; }
  .anim-stroke { stroke-dashoffset: 0 !important; }
}


/* Brand tagline eyebrow — used on hero only (wider, brand-statement feel) */
.eyebrow.brand-tagline { font-size: 11px; letter-spacing: 0.22em; color: var(--text-soft); }
.eyebrow.brand-tagline::before { background: var(--text-soft); }

/* Common Problems section */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 32px;
  margin-top: 8px;
}
.problem {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.problem-bullet {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--quiet);
  padding-top: 2px;
}
.problem p { font-size: 16px; line-height: 1.55; color: var(--text); margin: 0; }
@media (max-width: 1024px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .problems-grid { grid-template-columns: 1fr; gap: 0; }
}
