/* Pro Pluribus — design system ("Ledger")
   Shared across all pages. Type: Newsreader (display) / IBM Plex Sans (body). */

:root {
  --ink: #1d232a;
  --ink-soft: #4a545e;
  --ink-faint: #8a939c;
  --paper: #faf8f4;
  --paper-raised: #ffffff;
  --paper-dark-text: #eef1ee;
  --paper-dark-soft: #b9c2bc;
  --accent: #1e4d3d;
  --accent-lite: #9fc0a9;
  --accent-soft: #e8efe9;
  --gold: #b07d10;
  --rule: #e3ded5;
  --rule-dark: #39424b;
  --amber: #9a6b1f;
  --amber-soft: #f7efdd;
  --max: 1080px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- Ledger section labels ---------- */
.seclabel {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 34px;
}
.seclabel::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.dark .seclabel { color: var(--paper-dark-soft); }
.dark .seclabel::after { background: var(--rule-dark); }

/* ---------- Header ---------- */
header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.lockup { line-height: 1.25; display: flex; align-items: center; gap: 13px; }
.lockup .mark { height: 34px; width: auto; }
.lockup .name {
  font-family: var(--serif);
  font-size: 19px; font-weight: 700; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.lockup .tag { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.02em; }
nav.links { display: flex; gap: 26px; align-items: center; }
nav.links a {
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
}
nav.links a:hover { color: var(--accent); }
nav.links a.current { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.btn {
  display: inline-block;
  background: var(--accent); color: #fff !important;
  padding: 11px 22px; border-radius: 2px;
  font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: 0.02em;
  text-transform: none;
}
.btn:hover { background: #16382d; }
.btn.big { padding: 15px 30px; font-size: 15.5px; }
.textlink { color: var(--accent); font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* ---------- Hero (homepage) ---------- */
.hero { padding: 80px 0 64px; border-bottom: 1px solid var(--rule); }
.hero .grid { display: grid; grid-template-columns: 2.3fr 1fr; gap: 56px; align-items: center; }
.hero .kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.3vw, 50px);
  line-height: 1.13; font-weight: 700; letter-spacing: -0.01em;
}
.hero .sub { margin-top: 24px; font-size: 18px; line-height: 1.68; color: var(--ink-soft); }
.hero .sub .q { color: var(--ink); font-style: italic; }
.hero .cta-row { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.hero .cta-note { display: block; margin-top: 14px; font-size: 13.5px; color: var(--ink-faint); }
.portrait-img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 3px; background: var(--paper-raised);
}
.portrait-cap {
  margin-top: 12px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-soft); text-align: center;
}
.shot-img {
  display: block; width: 100%; height: auto; margin-top: 20px;
  border: 1px solid var(--rule); border-radius: 3px;
  box-shadow: 0 1px 2px rgba(29, 35, 42, 0.05), 0 8px 24px rgba(29, 35, 42, 0.06);
}
.shot-img.fade {
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, #000 80%, transparent);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--rule); }
.page-hero .kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.15; font-weight: 700; letter-spacing: -0.01em;
}
.page-hero .sub { margin-top: 18px; font-size: 17.5px; line-height: 1.68; color: var(--ink-soft); max-width: 44em; }

/* ---------- Proof strip ---------- */
.proofstrip { background: var(--paper-raised); border-bottom: 1px solid var(--rule); }
.proofstrip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 26px; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .n { font-family: var(--serif); font-size: 25px; font-weight: 700; line-height: 1.2; }
.stat .d { font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }

/* ---------- Sections ---------- */
section.block { padding: 78px 0; }
section.block + section.block { border-top: 1px solid var(--rule); }
h2.sec { font-family: var(--serif); font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.lede { color: var(--ink-soft); margin-bottom: 42px; max-width: 44em; }

/* ---------- Doors ---------- */
.doors { padding: 84px 0 90px; }
.doors h2 { font-family: var(--serif); font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.doors .lede { color: var(--ink-soft); margin-bottom: 40px; max-width: 42em; }
.doorgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.door {
  background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 3px;
  padding: 30px 26px 26px; display: flex; flex-direction: column;
}
.door .state {
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  color: var(--ink); line-height: 1.2; margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 2px solid var(--accent);
}
.door h3 {
  font-family: var(--sans); font-size: 15.5px; font-weight: 600;
  color: var(--ink); margin-bottom: 10px; line-height: 1.45;
}
.door p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; flex: 1; }
.door a { margin-top: 20px; font-size: 14.5px; }

/* ---------- Cards ---------- */
.cards { background: var(--paper-raised); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 90px 0; }
.cards h2 { font-family: var(--serif); font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.cards .lede { color: var(--ink-soft); margin-bottom: 44px; max-width: 42em; }
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cardgrid.two { grid-template-columns: 1fr 1fr; }
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 3px;
  padding: 32px 28px 28px;
}
.card .num { font-family: var(--serif); font-size: 14px; color: var(--ink-faint); margin-bottom: 14px; }
.card h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Friction list (panel — lives in the doors section) ---------- */
.friction {
  margin-top: 44px; background: var(--paper-raised);
  border: 1px solid var(--rule); border-radius: 3px; padding: 34px 32px 30px;
}
.friction h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.friction .sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; max-width: 44em; }
.friction ul {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; max-width: 62em;
}
.friction li {
  font-size: 15px; color: var(--ink-soft); line-height: 1.5; padding-left: 24px; position: relative;
}
.friction li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.friction .kicker-line { margin-top: 26px; font-size: 15px; color: var(--ink); font-style: italic; }

/* ---------- Value framework (2 levels x 4 scopes) ---------- */
.fw { border: 1px solid var(--rule); border-radius: 3px; background: var(--paper-raised); overflow-x: auto; }
.fw-grid { display: grid; grid-template-columns: 1.15fr repeat(4, 1fr); min-width: 880px; }
.fw-cell {
  padding: 16px 16px; border-left: 1px solid var(--rule); border-top: 1px solid var(--rule);
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.5;
}
.fw-head {
  background: var(--ink); color: var(--paper-dark-text);
  font-family: var(--serif); font-size: 15px; font-weight: 700; border-top: none;
}
.fw-head .sub { display: block; font-family: var(--sans); font-weight: 400; font-size: 11.5px; color: var(--paper-dark-soft); margin-top: 3px; }
.fw-corner { background: var(--ink); border-top: none; border-left: none; }
.fw-rowlabel { background: var(--accent-soft); border-left: none; }
.fw-rowlabel .lvl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.fw-rowlabel .nm { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--ink); margin: 4px 0 5px; }
.fw-rowlabel .d { font-size: 12px; color: var(--ink-soft); line-height: 1.45; }
.fw-cell ul { list-style: none; margin: 0; }
.fw-cell li { padding-left: 13px; position: relative; margin-bottom: 6px; }
.fw-cell li::before { content: "\00b7"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.fw-note { margin-top: 18px; font-size: 14px; color: var(--ink-soft); font-style: italic; max-width: 54em; }

/* ---------- Proof cases ---------- */
.opener { font-family: var(--serif); font-size: 21px; margin-bottom: 42px; max-width: 30em; }
.case {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr;
  border: 1px solid var(--rule); border-radius: 3px; background: var(--paper-raised);
  margin-bottom: 18px; overflow: hidden;
}
.case > div { padding: 24px 26px; }
.case > div + div { border-left: 1px solid var(--rule); }
.cell-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 10px;
}
.case p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.venture { font-family: var(--serif); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.alsoline {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--ink-soft); line-height: 1.7; max-width: 56em;
}
.alsoline strong { color: var(--ink); }
.more { margin-top: 26px; }

/* ---------- Full case studies (Proof page) ---------- */
.case-full {
  border: 1px solid var(--rule); border-radius: 3px; background: var(--paper-raised);
  padding: 38px 36px; margin-bottom: 26px;
}
.case-full h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 4px; }
.case-full .sub-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 20px; }
.case-full p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; max-width: 62em; }
.case-full .result-line { color: var(--ink); font-weight: 600; }
.case-full ul { list-style: none; margin: 6px 0 14px; }
.case-full li { font-size: 15px; color: var(--ink-soft); line-height: 1.6; padding-left: 22px; position: relative; margin-bottom: 6px; }
.case-full li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.minigrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mini {
  background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 3px;
  padding: 30px 28px;
}
.mini h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; line-height: 1.3; }
.mini p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Phases (How I Work) ---------- */
.phasegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.phase {
  background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 3px;
  padding: 28px 24px;
}
.phase .num { font-family: var(--serif); font-size: 15px; color: var(--gold); margin-bottom: 12px; font-weight: 700; }
.phase h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; line-height: 1.3; }
.phase p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Prose (About) ---------- */
.prose { max-width: 46em; }
.prose p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 20px; }
.prose p strong { color: var(--ink); }
.prose h3 { font-family: var(--serif); font-size: 21px; margin: 30px 0 10px; }

/* ---------- Dark bands ---------- */
.dark { background: var(--ink); color: var(--paper-dark-text); }
.dark .manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.48; max-width: 30em; color: var(--paper-dark-text);
}
.dark .manifesto-quote strong { color: var(--accent-lite); font-weight: 700; }
.dark .attr { margin-top: 26px; font-size: 15px; color: var(--paper-dark-soft); max-width: 42em; }

/* ---------- Writing ---------- */
.writing { padding: 90px 0; }
.writing h2 { font-family: var(--serif); font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.writing .lede { color: var(--ink-soft); margin-bottom: 44px; max-width: 42em; }
.artgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.article-card {
  border: 1px solid var(--rule); border-radius: 3px; background: var(--paper-raised);
  padding: 30px 28px; text-decoration: none; display: block;
}
.article-card:hover { border-color: var(--accent); }
.article-card .type {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.article-card h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 10px; line-height: 1.32; }
.article-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.badge-soon {
  display: inline-block; margin-bottom: 12px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 3px;
}

/* ---------- Two ways in / CTA ---------- */
.twoways { padding: 84px 0; }
.twoways .grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.twoways h2 { font-family: var(--serif); font-size: clamp(27px, 3.2vw, 38px); line-height: 1.25; color: #fff; }
.twoways .desc { margin-top: 18px; font-size: 16.5px; line-height: 1.65; color: var(--paper-dark-soft); }
.spec { margin-top: 26px; }
.spec .spec-title {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-lite); margin-bottom: 12px;
}
.spec ul { list-style: none; }
.spec li { font-size: 15.5px; color: var(--paper-dark-text); padding: 6px 0 6px 26px; position: relative; line-height: 1.5; }
.spec li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-lite); font-weight: 700; }
.twoways .btn { background: #fff; color: var(--accent) !important; margin-top: 30px; }
.twoways .btn:hover { background: #eef3ef; }
.twoways .cta-note { display: block; margin-top: 13px; font-size: 13.5px; color: var(--paper-dark-soft); }
.talkbox { border: 1px solid var(--rule-dark); border-radius: 3px; padding: 30px 28px; }
.talkbox h3 { font-family: var(--serif); font-size: 21px; color: #fff; margin-bottom: 12px; }
.talkbox p { font-size: 15px; color: var(--paper-dark-soft); line-height: 1.65; }
.talkbox a { display: inline-block; margin-top: 20px; color: var(--accent-lite); font-weight: 600; text-decoration: none; font-size: 15.5px; }
.talkbox a:hover { text-decoration: underline; }

/* Slim CTA band for interior pages */
.cta-band { padding: 64px 0; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 32px); color: #fff; margin-bottom: 12px; }
.cta-band p { font-size: 16px; color: var(--paper-dark-soft); max-width: 44em; line-height: 1.65; }
.cta-band .btn { background: #fff; color: var(--accent) !important; margin-top: 26px; }
.cta-band .btn:hover { background: #eef3ef; }
.cta-band .cta-note { display: block; margin-top: 12px; font-size: 13.5px; color: var(--paper-dark-soft); }

/* ---------- Footer ---------- */
footer { padding: 44px 0 56px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot .col { font-size: 13px; color: var(--ink-faint); line-height: 1.7; }
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot .brandname {
  font-family: var(--serif); font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink); font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait-img, .portrait-cap { max-width: 320px; margin-left: auto; margin-right: auto; }
  .proofstrip .wrap { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; padding-left: 0; }
  .cardgrid, .cardgrid.two, .doorgrid, .minigrid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .phasegrid { grid-template-columns: 1fr 1fr; }
  .friction ul { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .case > div + div { border-left: none; border-top: 1px solid var(--rule); }
  .artgrid { grid-template-columns: 1fr; }
  .twoways .grid { grid-template-columns: 1fr; gap: 40px; }
  .nav { flex-wrap: wrap; row-gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .lockup .tag { display: none; }
  nav.links { gap: 18px; flex-wrap: wrap; }
  nav.links a { font-size: 12.5px; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 400px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 600px) {
  nav.links .btn { display: none; }
  nav.links { gap: 14px; }
  nav.links a { letter-spacing: 0.04em; }
  .phasegrid { grid-template-columns: 1fr; }
}
