
:root {
  --color-bg: #f6f3ec;
  --color-bg-alt: #fffdf8;
  --color-panel: #ffffff;
  --color-text: #151515;
  --color-text-secondary: #47413a;
  --color-border: #d8d0c4;
  --color-primary: #6f1d1b;
  --color-primary-hover: #571715;
  --color-brass: #b08d57;
  --color-brass-ink: #76521f;
  --color-board: #171717;
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Sora", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1160px;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(21, 21, 21, 0.12);
  --transition: all 0.2s ease;
}
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/fonts/sora-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; overflow-wrap: break-word; }
a:hover { color: var(--color-primary); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.narrow { max-width: 900px; }
.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 999; background: var(--color-text); color: var(--color-bg); padding: 0.75rem 1rem; }
.skip-link:focus { left: 1rem; }
header#header { position: sticky; top: 0; z-index: 100; background: rgba(246, 243, 236, 0.95); backdrop-filter: blur(12px); padding-block: 0.85rem; border-bottom: 1px solid rgba(21, 21, 21, 0.08); transition: var(--transition); }
header#header.scrolled { padding-block: 0.65rem; box-shadow: 0 4px 20px rgba(21, 21, 21, 0.08); }
.header-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--color-text); font-family: var(--font-display); font-size: 1.13rem; font-weight: 700; line-height: 1.05; text-decoration: none; white-space: nowrap; }
.logo img { width: 34px; height: 34px; }
.logo small { display: block; margin-top: 0.1rem; color: var(--color-text-secondary); font-family: var(--font-body); font-size: 0.7rem; font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 1.15rem; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-text-secondary); font-size: 0.9rem; text-decoration: none; position: relative; transition: var(--transition); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-text); }
.nav-cta { margin-left: 0.5rem; display: flex; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.74rem 1.05rem; border: 1px solid var(--color-primary); border-radius: var(--radius); background: var(--color-primary); color: #fff; font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; text-decoration: none; text-align: center; transition: var(--transition); }
.btn:hover { background: var(--color-primary-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-text); border-color: rgba(21, 21, 21, 0.22); }
.btn-secondary:hover { background: rgba(21, 21, 21, 0.05); color: var(--color-text); }
.hamburger-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg-alt); cursor: pointer; }
.hamburger-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--color-text); transition: var(--transition); }
.hamburger-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-toggle.active span:nth-child(2) { opacity: 0; }
.hamburger-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hero { padding-block: clamp(3rem, 7vw, 6rem); }
.page-hero { padding-block: clamp(3.5rem, 8vw, 6.4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr); gap: clamp(2.25rem, 5vw, 4.75rem); align-items: center; }
.compact-hero { grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.55fr); }
.hero-grid > *, .section-grid > *, .proof-grid > *, .framework-grid > *, .two-column > *, .split-media > * { min-width: 0; }
.eyebrow { margin: 0 0 1rem; color: var(--color-primary); font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0; line-height: 1.12; margin: 0; max-width: 100%; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 5.3vw, 4.1rem); max-width: 850px; }
h2 { font-size: clamp(1.65rem, 2.45vw, 2.25rem); max-width: 820px; }
h3 { font-size: clamp(1.08rem, 1.6vw, 1.32rem); }
.descriptor { margin: 1rem 0 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.42rem); line-height: 1.35; color: var(--color-text); }
.lead { max-width: 710px; margin: 1.25rem 0 0; color: var(--color-text-secondary); font-size: clamp(1.04rem, 1.45vw, 1.18rem); line-height: 1.65; }
.proof-row { margin: 1.25rem 0 0; color: var(--color-text); font-size: 0.95rem; line-height: 1.5; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.75rem; }
.quiet-note { margin-top: 1rem; color: var(--color-text-secondary); font-size: 0.94rem; max-width: 620px; }
.hero-portrait { width: 100%; background: #171717; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-portrait.light { background: var(--color-bg-alt); }
.hero-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.inline-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius); border: 1px solid rgba(244, 239, 230, 0.18); }
.proof-strip { border-block: 1px solid var(--color-border); background: var(--color-bg-alt); }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-compact { padding-block: clamp(3.25rem, 6vw, 5rem); }
.section-grid, .two-column, .split-media { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(2.2rem, 5vw, 4.2rem); align-items: start; }
.split-media { align-items: center; }
.section-copy p, .article p, .article li, .section-copy li { color: var(--color-text-secondary); font-size: 1.02rem; max-width: 70ch; }
.proof-grid, .framework-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--color-border); background: var(--color-border); }
.proof-item, .framework-grid > div { min-height: 190px; padding: 1.55rem; background: rgba(255, 255, 255, 0.55); }
.proof-item p, .framework-grid p { margin: 0.75rem 0 0; color: var(--color-text-secondary); font-size: 0.96rem; }
.spaced-grid { margin-top: 2rem; }
.number { display: block; margin-bottom: 0.6rem; color: var(--color-brass-ink); font-family: var(--font-display); font-size: 0.78rem; }
.band-dark { background: var(--color-board); color: var(--color-bg); }
.band-dark p, .band-dark li, .band-dark .lead { color: rgba(244, 239, 230, 0.78); }
.band-dark .eyebrow { color: var(--color-brass); }
.mini-list { margin-top: 1.4rem; border-top: 1px solid var(--color-border); }
.mini-list p { margin: 0; padding: 0.9rem 0; border-bottom: 1px solid var(--color-border); }
.final-cta { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); }
.article { width: 100%; max-width: 900px; margin-inline: auto; padding-inline: 22px; padding-block: clamp(3rem, 7vw, 6rem); }
.article h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.article h2 { margin-top: 2.8rem; font-size: clamp(1.52rem, 2.5vw, 2.1rem); }
.article h3 { margin-top: 1.6rem; }
.article ul, .article ol { padding-left: 1.4rem; }
.article li { margin: 0.85rem 0; }
.question-section, .framework-section { border-top: 1px solid var(--color-border); margin-top: 2.6rem; padding-top: 0.4rem; }
.question-list li { padding-left: 0.25rem; }
.sources ul { columns: 2; column-gap: 2rem; }
.sources a, .article ul a, .article ol a, .section-copy ul a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0.2rem; }
.stack-list { margin-top: 1.5rem; border-top: 1px solid var(--color-border); }
.stack-list p { margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.dossier-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 1.5rem; border: 1px solid var(--color-border); background: var(--color-border); }
.dossier-card { min-height: 150px; padding: 1.35rem; background: rgba(255, 255, 255, 0.55); }
.dossier-card p { margin: 0.65rem 0 0; color: var(--color-text-secondary); }
.dossier-note { margin-top: 1.35rem; color: var(--color-text-secondary); }
.contact-card { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; align-self: center; }
.contact-card p { margin: 0.75rem 0 0; color: var(--color-text-secondary); }
.contact-card p:first-of-type { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-text); }
footer { background: var(--color-bg-alt); padding-block: 2rem; border-top: 1px solid var(--color-border); color: var(--color-text-secondary); text-align: center; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.footer-brand p, .footer-contact, .footer-copy { margin: 0; }
.footer-brand strong { color: var(--color-text); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 0.6rem; }
footer a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 0.38rem; }
footer a { color: var(--color-primary); text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (max-width: 980px) {
  .hero-grid, .section-grid, .split-media, .two-column { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: start; max-width: 520px; }
  .proof-grid, .framework-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sources ul { columns: 1; }
}
@media (max-width: 760px) {
  .container, .article { padding-inline: 16px; }
  .header-container { position: relative; }
  .logo { flex: 1 1 auto; min-width: 0; font-size: 1.05rem; white-space: normal; }
  .logo span { min-width: 0; }
  .logo small { max-width: 190px; }
  .hamburger-toggle { flex: 0 0 44px; display: block; order: 3; margin-left: auto; }
  .nav-links { display: none; position: absolute; left: -16px; right: -16px; top: calc(100% + 0.85rem); flex-direction: column; align-items: stretch; gap: 0; margin-left: 0; padding: 1rem 1.25rem 1.25rem; background: var(--color-bg); border-top: 1px solid var(--color-border); box-shadow: 0 14px 32px rgba(21, 21, 21, 0.12); }
  .nav-links.nav-open { display: flex; }
  .nav-links a { border-bottom: 1px solid var(--color-border); font-size: 1rem; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { display: none; }
  .hero { padding-top: 2.7rem; }
  .hero-grid { gap: 1.8rem; }
  .hero-actions, .actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .actions .btn { width: 100%; }
  .hero-portrait { justify-self: stretch; max-width: 100%; }
  h1 { font-size: clamp(1.85rem, 7.2vw, 2.25rem); line-height: 1.12; }
  h2 { font-size: clamp(1.34rem, 5.3vw, 1.68rem); line-height: 1.18; }
  .lead, .quiet-note, .section-copy p, .article p, .article li, .section-copy li { max-width: 100%; overflow-wrap: anywhere; font-size: 1rem; }
  .proof-grid, .framework-grid { grid-template-columns: 1fr; }
  .dossier-grid { grid-template-columns: 1fr; }
  .proof-item, .framework-grid > div { min-height: 0; padding: 1.25rem; }
  .dossier-card { min-height: 0; padding: 1.25rem; }
}
