:root {
  --ink: #0f1d24;
  --ink-deep: #0c181e;
  --paper: #f5f6f4;
  --surface: #ffffff;
  --muted: #566970;
  --muted-dark: #9db2b6;
  --line: #dbe1df;
  --line-dark: #2a3c44;
  --accent: #0b5750;
  --accent-lift: #86c3b7;
  --accent-soft: #e6efec;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
           "Times New Roman", serif;

  --wrap: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }

a { color: inherit; }

section[id], main[id] { scroll-margin-top: 84px; }

[tabindex="-1"]:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 20;
  text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 246, 244, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark { width: 30px; height: 30px; }

.brand-name {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #084741; }

.btn-quiet { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-quiet:hover { border-color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(56px, 9vw, 104px) clamp(56px, 8vw, 96px);
  background: radial-gradient(900px 460px at 76% 22%, var(--accent-soft), transparent 64%);
}

::selection { background: var(--accent-soft); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.9rem, 7.4vw, 5.4rem);
  letter-spacing: -0.038em;
  line-height: 0.98;
}

.hero .lede {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  max-width: 30ch;
}

.hero .body {
  margin-top: 20px;
  color: var(--muted);
  max-width: 52ch;
}

.hero .actions { margin-top: 34px; }

.hero-figure { margin: 0; }

.hero-figure img {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.hero-figure figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- section furniture ---------- */

.section-title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.section-title.on-dark { color: var(--accent-lift); }

.section-lede {
  margin-top: 10px;
  color: var(--muted);
  max-width: 48ch;
}

/* ---------- pillars ---------- */

.principles {
  padding-block: clamp(52px, 7vw, 84px);
  border-top: 1px solid var(--line);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 2px;
  padding: 28px 26px 30px;
}

.pillar h3 { font-size: 1.32rem; letter-spacing: -0.015em; }

.pillar-line {
  margin-top: 10px;
  font-weight: 500;
}

.pillar p:last-child {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- approach ---------- */

.approach {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: #eaefed;
  padding-block: clamp(60px, 8vw, 100px);
}

.approach .watermark {
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: min(520px, 62vw);
  height: auto;
  opacity: 0.05;
  pointer-events: none;
}

.approach-inner { position: relative; }

.statement {
  margin-top: 20px;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.06;
  max-width: 16ch;
}

.approach-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  margin-top: 30px;
  max-width: 900px;
  color: var(--muted-dark);
}

.approach-cols p { font-size: 1rem; }

/* ---------- flow diagram ---------- */

.flow {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line-dark);
  padding-top: 30px;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-steps li:not(.flow-arrow) {
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  padding: 11px 20px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eaefed;
  background: rgba(255, 255, 255, 0.02);
}

.flow-steps li:last-of-type {
  border-color: var(--accent-lift);
  color: var(--accent-lift);
}

.flow-arrow {
  color: var(--muted-dark);
  font-size: 1.05rem;
  line-height: 1;
}

.flow-note {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted-dark);
  max-width: 46ch;
  font-size: 0.98rem;
}

/* ---------- outcomes ---------- */

.outcomes { padding-block: clamp(56px, 7vw, 88px); }

.ledger { margin: 30px 0 0; }

.ledger .row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 8px 40px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.ledger .row:last-child { border-bottom: 1px solid var(--line); }

.ledger dt {
  font-weight: 600;
  letter-spacing: -0.012em;
  font-size: 1.06rem;
}

.ledger dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
}

/* ---------- closing ---------- */

.closing {
  border-top: 1px solid var(--line);
  padding-block: clamp(64px, 9vw, 108px);
}

.closing-inner { max-width: 40ch; }

.closing h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.034em;
  line-height: 1.02;
}

.aside {
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--muted);
}

.closing .actions { margin-top: 30px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 34px 44px;
  background: var(--surface);
}

.footer-inner {
  display: grid;
  gap: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
}

.footer-note {
  margin-top: 6px;
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { order: -1; max-width: 340px; margin-inline: auto; }
  .hero-figure img { max-width: 340px; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .approach-cols { grid-template-columns: minmax(0, 1fr); }
  .ledger .row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .header-inner { min-height: 60px; }
  .nav { gap: 18px; font-size: 0.9rem; }
  .brand-name { font-size: 1.05rem; }
  .btn { padding: 12px 20px; }
  .flow-steps { flex-direction: column; align-items: stretch; gap: 8px; }
  .flow-steps li:not(.flow-arrow) { text-align: center; }
  .flow-arrow { transform: rotate(90deg); align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
