/* =========================================
 SAMANTHA WALMSLEY-BARTLETT
 Field Journal - editorial design system
 ========================================= */

/* ---------- Tokens ---------- */
:root {
 /* Surfaces */
 --paper: #F5F1E8;
 --paper-deep: #ECE6D6;
 --paper-warm: #EDE5D0;
 
 /* Ink */
 --ink: #1B1A17;
 --ink-soft: #4A453C;
 --ink-mute: #7A7468;
 
 /* Accent */
 --rust: #B25538;
 --rust-deep: #8A3F26;
 --rust-tint: rgba(178, 85, 56, 0.08);
 
 /* Tertiary */
 --sage: #6B7A5C;
 --gold: #C49A4F;
 --rule: #D4CDB8;
 --rule-soft: #E2DBCB;
 
 /* Type */
 --font-display: 'Fraunces', 'Georgia', serif;
 --font-body: 'Source Serif 4', 'Source Serif Pro', 'Georgia', serif;
 --font-mono: 'JetBrains Mono', 'Courier New', monospace;
 --font-script: 'Mr Dafoe', cursive;

 /* Body scale (fixed steps) */
 --text-body: 21px;
 --text-body-sm: 18px;
 --text-caption: 16px;
 --text-fine: 14px;

 /* Shared lede / intro paragraph scale (Body Small step, site-wide) */
 --lede-size: var(--text-body-sm);
 --lede-leading: 1.7;
 
 /* Spacing */
 --space-section: clamp(40px, 6vw, 80px);
 --space-block: clamp(20px, 3vw, 40px);
 --space-section-compact: clamp(20px, 3vw, 44px);
 --space-tight: clamp(12px, 2vw, 24px);
 --container: 1440px;
 --reading: 780px;
 --reading-wide: 1040px;
 
 /* Motion */
 --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
 --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
 font-family: var(--font-body);
 font-size: 21px;
 line-height: 1.65;
 color: var(--ink);
 background: var(--paper);
 font-feature-settings: 'kern', 'liga', 'onum';
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 overflow-x: hidden;
 position: relative;
}

/* Subtle paper grain texture - heavier, more visible */
body::before {
 content: "";
 position: fixed;
 inset: 0;
 pointer-events: none;
 z-index: 1;
 opacity: 0.7;
 background-image:
 radial-gradient(circle at 12% 18%, rgba(178, 85, 56, 0.04) 1px, transparent 1.5px),
 radial-gradient(circle at 78% 35%, rgba(27, 26, 23, 0.025) 0.7px, transparent 1px),
 radial-gradient(circle at 35% 78%, rgba(27, 26, 23, 0.022) 0.7px, transparent 1px),
 radial-gradient(circle at 88% 88%, rgba(196, 154, 79, 0.04) 1px, transparent 1.5px),
 radial-gradient(circle at 50% 50%, rgba(27, 26, 23, 0.018) 0.5px, transparent 0.8px);
 background-size: 180px 180px, 110px 110px, 140px 140px, 200px 200px, 70px 70px;
}

/* Atmospheric warm glow that follows scroll subtly */
body::after {
 content: "";
 position: fixed;
 inset: 0;
 pointer-events: none;
 z-index: 0;
 background:
 radial-gradient(ellipse 80% 60% at 80% 10%, rgba(196, 154, 79, 0.08), transparent 60%),
 radial-gradient(ellipse 60% 40% at 10% 90%, rgba(178, 85, 56, 0.06), transparent 60%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: var(--rust); color: var(--paper); }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 {
 font-family: var(--font-display);
 font-weight: 400;
 line-height: 1.08;
 letter-spacing: -0.02em;
 color: var(--ink);
}
h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 350; }
h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 400; }
h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 450; line-height: 1.2; }
h4 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; line-height: 1.3; }

p { font-feature-settings: 'kern', 'liga', 'onum'; }

.eyebrow {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--ink-soft);
 font-weight: 500;
 display: inline-block;
}

.serif-num {
 font-family: var(--font-display);
 font-style: italic;
 font-weight: 300;
 color: var(--rust);
}

.italic-soft {
 font-style: italic;
 color: var(--ink-soft);
 font-family: var(--font-display);
 font-weight: 350;
}

em, .italic { font-style: italic; }
strong { font-weight: 600; color: var(--ink); }

.signature-mark {
 font-family: var(--font-script);
 font-size: 26px;
 color: var(--rust);
 line-height: 1;
 transform: rotate(-2deg);
 display: inline-block;
}

/* ---------- Container ---------- */
.container {
 max-width: var(--container);
 margin: 0 auto;
 padding: 0 clamp(20px, 3vw, 40px);
 position: relative;
 z-index: 2;
}

.reading {
 max-width: var(--reading);
 margin-left: auto;
 margin-right: auto;
}

/* ---------- Header ---------- */
.site-header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 100;
 padding: 20px clamp(24px, 5vw, 64px);
 background: rgba(245, 241, 232, 0.85);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border-bottom: 1px solid transparent;
 transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--rule-soft); }

.header-inner {
 max-width: var(--container);
 margin: 0 auto;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 32px;
}

.brand {
 display: flex;
 align-items: center;
 gap: 12px;
 font-family: var(--font-display);
 font-weight: 400;
 font-size: 18px;
 letter-spacing: -0.01em;
 color: var(--ink);
 transition: opacity 0.3s var(--ease);
}
.brand:hover { opacity: 0.7; }
.brand-mark { width: 32px; height: 32px; color: var(--rust); }
.brand strong { font-weight: 600; color: var(--rust); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--ink-soft);
 position: relative;
 padding: 6px 0;
 transition: color 0.3s var(--ease);
 white-space: nowrap;
}
.nav a::after {
 content: "";
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 1px;
 background: var(--rust);
 transition: width 0.4s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
/* Nav CTA button should not get the underline from .nav a:hover::after */
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover::after { display: none; }

.menu-toggle { display: none; padding: 8px; }
.menu-toggle svg { width: 24px; height: 24px; color: var(--ink); }

@media (max-width: 880px) {
 .nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 32px clamp(24px, 5vw, 64px); gap: 20px; border-bottom: 1px solid var(--rule-soft); }
 .nav.open { display: flex; }
 .nav a { font-size: 14px; }
 .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
 padding-top: clamp(104px, 14vw, 144px);
 padding-bottom: var(--space-section-compact);
 position: relative;
 overflow: hidden;
}

.hero-contours {
 position: absolute;
 inset: 0;
 z-index: 0;
 color: var(--rust);
 opacity: 0.18;
 pointer-events: none;
}
.hero-contours svg { width: 100%; height: 100%; }

.hero-grid {
 display: grid;
 grid-template-columns: 1fr 280px;
 gap: 48px;
 align-items: end;
 position: relative;
 z-index: 2;
}
@media (max-width: 900px) {
 .hero-grid { grid-template-columns: 1fr; gap: 48px; }
 .hero-aside { display: none; }
}

.hero-eyebrow {
 display: flex;
 align-items: center;
 gap: 16px;
 margin-bottom: 28px;
}
.hero-eyebrow::before {
 content: "";
 width: 48px;
 height: 1px;
 background: var(--rust);
}

.hero h1 {
 font-family: var(--font-display);
 font-size: clamp(48px, 8vw, 96px);
 font-weight: 300;
 line-height: 1.05;
 letter-spacing: -0.025em;
 color: var(--ink);
 max-width: 18ch;
}
.hero h1 .accent {
 color: var(--rust);
 font-style: italic;
 font-weight: 400;
}
.hero h1 .break { display: block; }

.hero-question {
 margin-top: 20px;
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(22px, 2.6vw, 32px);
 font-weight: 350;
 color: var(--ink-soft);
}

.hero-lede {
 margin-top: 28px;
 max-width: 64ch;
 font-size: var(--lede-size);
 line-height: var(--lede-leading);
 color: var(--ink-soft);
}

#core-lens .lens-intro { max-width: 88ch; }

.hero-ctas {
 margin-top: 32px;
 display: flex;
 gap: 24px;
 flex-wrap: wrap;
 align-items: center;
}

.hero-aside {
 align-self: end;
 border-left: 1px solid var(--rule);
 padding-left: 32px;
 color: var(--rust);
 display: flex;
 flex-direction: column;
 gap: 24px;
}
.hero-aside svg { width: 100%; max-width: 180px; }
.hero-aside-text {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--ink-soft);
 line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
 display: inline-flex;
 align-items: center;
 gap: 12px;
 font-family: var(--font-mono);
 font-size: 12px;
 font-weight: 500;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 padding: 16px 28px;
 background: var(--ink);
 color: var(--paper);
 border: 1px solid var(--ink);
 transition: all 0.35s var(--ease);
 position: relative;
 overflow: hidden;
}
.btn::before {
 content: "";
 position: absolute;
 inset: 0;
 background: var(--rust);
 transform: translateY(101%);
 transition: transform 0.45s var(--ease);
 z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { border-color: var(--rust); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
 background: transparent;
 color: var(--ink);
 border: 1px solid var(--ink);
}
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); }

.link {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--ink);
 padding-bottom: 4px;
 border-bottom: 1px solid var(--rust);
 display: inline-flex;
 align-items: center;
 gap: 8px;
 transition: all 0.3s var(--ease);
}
.link:hover { color: var(--rust); gap: 12px; }

/* ---------- Sections ---------- */
section { position: relative; z-index: 2; }

.section {
 padding-top: var(--space-section);
 padding-bottom: var(--space-section);
}
.section:has(+ .section),
.section:has(+ .pull-quote),
.section:has(+ .library-section),
.section:has(+ .built-on),
.library-section:has(+ .section),
.pull-quote:has(+ .section) {
 padding-bottom: var(--space-section-compact);
}
.section + .built-on { padding-top: var(--space-section-compact); }
.section + .section,
.landscape-band + .section,
.pull-quote + .section,
.library-section + .section {
 padding-top: var(--space-tight);
}
.section:has(+ .pull-quote) { padding-bottom: var(--space-tight); }
.pull-quote + .section { padding-top: var(--space-section-compact); }
.section:has(.available) {
 padding-top: var(--space-tight);
 padding-bottom: var(--space-tight);
}
.section:has(.available) + .newsletter-section {
 padding-top: var(--space-section-compact);
}
.section--warm { background: var(--paper-warm); }
.section--deep { background: var(--paper-deep); }

.section-header {
 margin-bottom: var(--space-block);
 display: flex;
 align-items: flex-end;
 justify-content: space-between;
 gap: 32px;
 flex-wrap: wrap;
}
.section-header h2 {
 max-width: 18ch;
 margin-top: 18px;
}
.section-marker {
 display: flex;
 align-items: baseline;
 gap: 16px;
}
.section-marker .num {
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(32px, 4vw, 48px);
 font-weight: 300;
 color: var(--rust);
 line-height: 1;
}

.divider-ornament {
 display: flex;
 justify-content: center;
 margin: var(--space-block) 0 0;
 color: var(--rust);
}
.divider-ornament svg { width: 140px; }

.rule {
 width: 100%;
 height: 1px;
 background: var(--rule);
 margin: 0;
}

/* ---------- Orientation section ---------- */
/* ---------- Core Lens triptych ---------- */
.lens-intro {
 max-width: 72ch;
 margin: 0 0 var(--space-block);
 font-size: var(--lede-size);
 line-height: var(--lede-leading);
 color: var(--ink-soft);
}

.lens-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 0;
 border-top: 1px solid var(--rule);
}
@media (max-width: 800px) {
 .lens-grid { grid-template-columns: 1fr; }
 .lens-card { border-right: none !important; border-bottom: 1px solid var(--rule); }
 .lens-card:last-child { border-bottom: none; }
}
.lens-card {
 padding: 32px 28px 32px 0;
 border-right: 1px solid var(--rule);
 position: relative;
}
.lens-card:not(:first-child) { padding-left: 28px; }
.lens-card:last-child { border-right: none; }

.lens-num {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--ink-mute);
 margin-bottom: 16px;
}
.lens-card h3 {
 font-family: var(--font-display);
 font-size: clamp(28px, 3vw, 38px);
 font-weight: 400;
 letter-spacing: -0.02em;
 margin-bottom: 20px;
 color: var(--ink);
}
.lens-card h3 .italic { color: var(--rust); font-weight: 350; }
.lens-card p {
 font-size: var(--text-body-sm);
 line-height: 1.7;
 color: var(--ink-soft);
}

/* ---------- Essays preview ---------- */
.essays-intro {
 max-width: 56ch;
 font-size: clamp(17px, 1.4vw, 19px);
 line-height: 1.7;
 color: var(--ink-soft);
 margin-bottom: var(--space-block);
}

.essay-list {
 list-style: none;
 border-top: 1px solid var(--rule);
}
.essay-list .essay-row:last-child { border-bottom: none; }
.essay-row {
 display: grid;
 grid-template-columns: 1fr auto;
 gap: 32px;
 align-items: center;
 padding: 24px 0;
 border-bottom: 1px solid var(--rule);
 transition: padding 0.35s var(--ease), background 0.35s var(--ease);
 cursor: pointer;
 position: relative;
}
.essay-row:hover {
 padding-left: 16px;
 padding-right: 16px;
}
.essay-row:hover .essay-title { color: var(--rust); }
.essay-row:hover .essay-arrow { transform: translateX(8px); color: var(--rust); }

.essay-num {
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(32px, 3.4vw, 44px);
 font-weight: 300;
 color: var(--rust);
 line-height: 1;
}
.essay-meta { min-width: 0; }
.essay-eyebrow {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--ink-mute);
 margin-bottom: 8px;
 display: block;
}
.essay-title {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.4vw, 32px);
 font-weight: 400;
 line-height: 1.2;
 letter-spacing: -0.01em;
 margin-bottom: 8px;
 color: var(--ink);
 transition: color 0.35s var(--ease);
}
.essay-summary {
 font-size: var(--text-caption);
 line-height: 1.55;
 color: var(--ink-soft);
 max-width: 75%;
}
@media (max-width: 700px) {
 .essay-summary { max-width: 100%; }
}
.essay-arrow {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.4vw, 32px);
 color: var(--ink-soft);
 transition: all 0.35s var(--ease);
 font-weight: 300;
}

@media (max-width: 700px) {
 .essay-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
 .essay-arrow { display: none; }
}

.essays-cta { margin-top: 64px; text-align: center; }

.engage-page {
 padding-top: clamp(96px, 12vw, 128px);
}
.work-grid {
 display: grid;
 grid-template-columns: 1fr 1.2fr;
 gap: 80px;
 align-items: start;
}
@media (max-width: 800px) {
 .work-grid { grid-template-columns: 1fr; gap: 48px; }
}
.work-text {
 font-size: clamp(17px, 1.4vw, 19px);
 line-height: 1.7;
 color: var(--ink);
}
.work-text p + p { margin-top: 1.2em; }
.work-text p { color: var(--ink-soft); }

.work-sidebar {
 background: var(--paper);
 padding: 48px;
 border: 1px solid var(--rule);
 position: relative;
}
.work-sidebar::before {
 content: "";
 position: absolute;
 top: -1px;
 left: -1px;
 width: 32px;
 height: 32px;
 border-top: 2px solid var(--rust);
 border-left: 2px solid var(--rust);
}
.work-sidebar::after {
 content: "";
 position: absolute;
 bottom: -1px;
 right: -1px;
 width: 32px;
 height: 32px;
 border-bottom: 2px solid var(--rust);
 border-right: 2px solid var(--rust);
}
.work-sidebar h3 { margin-bottom: 16px; }
.work-sidebar p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin-bottom: 32px; }
.work-list {
 list-style: none;
 margin-top: 24px;
}
.work-list li {
 padding: 16px 0 16px 24px;
 border-top: 1px solid var(--rule-soft);
 font-size: 14px;
 color: var(--ink-soft);
 font-family: var(--font-mono);
 letter-spacing: 0.05em;
 position: relative;
}
.work-list li::before {
 content: "◆";
 position: absolute;
 left: 0;
 color: var(--rust);
 font-size: 9px;
 top: 19px;
}
.work-list li:last-child { border-bottom: 1px solid var(--rule-soft); }

/* ---------- Available section ---------- */
.available {
 display: grid;
 grid-template-columns: 1fr 2fr;
 gap: 32px;
 align-items: center;
 padding: 28px 0;
 border-top: 1px solid var(--ink);
 border-bottom: 1px solid var(--ink);
}
@media (max-width: 800px) {
 .available { grid-template-columns: 1fr; gap: 32px; }
}
.available-label {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--rust);
 display: flex;
 align-items: center;
 gap: 12px;
}
.available-label::before {
 content: "";
 width: 8px;
 height: 8px;
 background: var(--rust);
 border-radius: 50%;
 animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
 0%, 100% { opacity: 1; transform: scale(1); }
 50% { opacity: 0.5; transform: scale(1.3); }
}
.available-text {
 font-family: var(--font-display);
 font-size: clamp(20px, 2vw, 26px);
 font-weight: 350;
 line-height: 1.4;
 color: var(--ink);
}
.available-text strong { color: var(--ink); font-weight: 500; }

/* ---------- Pull quote ---------- */
.pull-quote {
 padding: var(--space-block) 0;
 text-align: center;
}
.pull-quote blockquote {
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(28px, 4vw, 48px);
 font-weight: 300;
 line-height: 1.25;
 letter-spacing: -0.02em;
 color: var(--ink);
 max-width: 22ch;
 margin: 0 auto;
}
.pull-quote blockquote::before {
 content: "“";
 display: block;
 font-size: 56px;
 font-style: normal;
 color: var(--rust);
 line-height: 0.4;
 margin-bottom: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
 background: var(--ink);
 color: var(--paper);
 padding: 40px 0 20px;
 position: relative;
 z-index: 2;
}
.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1fr;
 gap: 40px;
 margin-bottom: 28px;
}
@media (max-width: 800px) {
 .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand {
 font-family: var(--font-display);
 font-size: 22px;
 font-weight: 400;
 margin-bottom: 10px;
}
.footer-brand .accent { color: var(--rust); font-style: italic; }
.footer-tagline {
 font-family: var(--font-display);
 font-style: normal;
 color: rgba(245, 241, 232, 0.92);
 font-size: 17px;
 line-height: 1.45;
 max-width: 28ch;
}
.footer-tagline-sub {
 font-family: var(--font-display);
 font-style: italic;
 color: rgba(245, 241, 232, 0.72);
 font-size: 16px;
 line-height: 1.45;
 margin-top: 8px;
 max-width: 28ch;
}
.footer-col h4 {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 16px;
 font-weight: 500;
}
.footer-col ul {
 list-style: none;
 display: grid;
 grid-template-columns: 1fr 1fr;
 column-gap: 16px;
 row-gap: 8px;
}
.footer-col.--contact ul { grid-template-columns: 1fr; }
.footer-col li { margin-bottom: 0; }
.footer-col a {
 font-family: var(--font-body);
 font-size: 14px;
 color: rgba(245, 241, 232, 0.7);
 transition: color 0.3s var(--ease);
 border-bottom: 1px solid transparent;
 padding-bottom: 1px;
}
.footer-col a:hover { color: var(--paper); border-bottom-color: var(--rust); }

.footer-bottom {
 padding-top: 20px;
 border-top: 1px solid rgba(245, 241, 232, 0.12);
 display: flex;
 justify-content: space-between;
 gap: 16px;
 flex-wrap: wrap;
 align-items: center;
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.16em;
 color: rgba(245, 241, 232, 0.5);
}

/* ---------- Animations (progressive enhancement) ---------- */
/* Content visible by default. Only when JS adds .js-ready do we hide-then-reveal. */
.js-ready .reveal {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js-ready .reveal.in-view { opacity: 1; transform: translateY(0); }

.js-ready .reveal-stagger > * {
 opacity: 0;
 transform: translateY(16px);
 transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-ready .reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.js-ready .reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.js-ready .reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.js-ready .reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.js-ready .reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
 .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Inner pages (essays, about) ---------- */
.page-hero {
 padding-top: clamp(104px, 14vw, 144px);
 padding-bottom: var(--space-section-compact);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { max-width: 18ch; margin-top: 12px; }
.page-hero > .container > p,
.page-hero p {
 margin-top: 24px;
 font-size: var(--lede-size);
 line-height: var(--lede-leading);
 color: var(--ink-soft);
}

/* Uniform gap between every page hero and the first content section */
.page-hero + .section { padding-top: 0; }

.prose {
 max-width: var(--reading);
 margin: 0 auto;
 font-size: var(--text-body);
 line-height: 1.75;
 color: var(--ink);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 1.5em; }
.prose h3 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 1.35em; }
.prose p { color: var(--ink); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li {
 padding-left: 28px;
 position: relative;
 margin-bottom: 12px;
}
.prose ul li::before {
 content: "◆";
 position: absolute;
 left: 0;
 top: 6px;
 color: var(--rust);
 font-size: 12px;
}
.prose blockquote {
 border-left: 2px solid var(--rust);
 padding: 8px 0 8px 28px;
 font-family: var(--font-display);
 font-style: italic;
 font-size: 22px;
 line-height: 1.5;
 color: var(--ink-soft);
 margin: 1.25em 0;
}
.prose .drop-cap::first-letter {
 font-family: var(--font-display);
 font-size: 96px;
 float: left;
 line-height: 0.85;
 margin: 0.06em 0.1em 0 0;
 font-weight: 400;
 color: var(--rust);
}

.essay-meta-bar {
 display: flex;
 gap: 32px;
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--ink-soft);
 padding: 24px 0;
 border-top: 1px solid var(--rule);
 border-bottom: 1px solid var(--rule);
 margin-bottom: var(--space-block);
 flex-wrap: wrap;
}
.essay-meta-bar span { display: flex; gap: 10px; align-items: center; }
.essay-meta-bar strong { color: var(--ink); font-weight: 500; }

/* About page */
.about-grid {
 display: grid;
 grid-template-columns: 1fr 260px;
 gap: 80px;
 align-items: start;
}
@media (max-width: 800px) {
 .about-grid { grid-template-columns: 1fr; gap: 48px; }
 .about-grid .about-aside { order: -1; }
}
.about-aside {
 position: sticky;
 top: 100px;
}
.headshot {
 width: 100%;
 aspect-ratio: 1;
 background: var(--paper-deep);
 border: 1px solid var(--rule);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--ink-mute);
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 text-align: center;
 padding: 16px;
 position: relative;
}
.headshot::before {
 content: "";
 position: absolute;
 inset: -8px;
 border: 1px solid var(--rust);
 z-index: -1;
}
.headshot img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
}
.headshot:has(img) {
 padding: 0;
 overflow: hidden;
}

/* ---------- My Work: auto-rotating gallery ---------- */
.about-gallery { grid-column: 2 / -1; }
.gallery-stack {
 position: relative;
 width: 100%;
 aspect-ratio: 3 / 2;
 background: var(--paper-deep);
 border: 1px solid var(--rule);
 overflow: hidden;
}
.gallery-slide {
 position: absolute;
 inset: 0;
 margin: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 transition: opacity 1.1s var(--ease);
}
.gallery-slide.is-active { opacity: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-ph {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 12px;
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--ink-mute);
}
.gallery-ph-num {
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(44px, 5vw, 68px);
 color: var(--rust);
 letter-spacing: 0;
 line-height: 1;
}
.gallery-dots {
 display: flex;
 gap: 10px;
 justify-content: center;
 margin-top: 20px;
}
.gallery-dot {
 width: 8px;
 height: 8px;
 padding: 0;
 border: none;
 border-radius: 50%;
 background: var(--rule);
 cursor: pointer;
 transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-dot.is-active { background: var(--rust); transform: scale(1.3); }
@media (max-width: 900px) {
 .about-gallery { grid-column: 1 / -1; }
}

.about-main .prose > * + * { margin-top: 0.85em; }
.about-main .prose h2 { margin-top: 1.25em; }
.about-main .prose blockquote { margin: 1em 0; }
.about-main .signature-block { margin-top: 1.5em; }

.about-edu-cred {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 20px 32px;
 margin-top: 1.25em;
}
.about-edu-cred-col h2 {
 margin-top: 0;
 margin-bottom: 0.6em;
 font-size: clamp(20px, 2.2vw, 28px);
}
.about-edu-cred-col ul li {
 margin-bottom: 8px;
 font-size: 17px;
 line-height: 1.5;
}
@media (max-width: 640px) {
 .about-edu-cred { grid-template-columns: 1fr; gap: 20px; }
 .about-edu-cred-col + .about-edu-cred-col h2 { margin-top: 0.5em; }
}

.about-meta {
 margin-top: 32px;
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.14em;
 color: var(--ink-soft);
 line-height: 2;
}
.about-main .about-meta { margin-top: 16px; }
.about-meta strong { color: var(--rust); font-weight: 500; }

.role-list {
 margin-top: var(--space-block);
 list-style: none;
 padding-left: 0;
}
.prose .role-list li {
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto;
 align-items: start;
 column-gap: 32px;
 padding: 18px 0;
 padding-left: 0;
 margin-bottom: 0;
 border-bottom: 1px solid var(--rule);
}
.prose .role-list li::before {
 content: none;
}
.role-list li {
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto;
 align-items: start;
 column-gap: 32px;
 padding: 18px 0;
 border-bottom: 1px solid var(--rule);
}
.role-list .role {
 font-family: var(--font-body);
 font-size: 19px;
 line-height: 1.45;
 color: var(--ink);
 min-width: 0;
}
.role-list .date {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.1em;
 color: var(--ink-soft);
 white-space: nowrap;
 text-align: right;
 padding-top: 4px;
 flex-shrink: 0;
}
@media (max-width: 640px) {
 .role-list li,
 .prose .role-list li {
 column-gap: 16px;
 }
 .role-list .role { font-size: 17px; }
}

/* Essay listing page */
.essay-index {
 border-top: 1px solid var(--ink);
 margin-top: var(--space-block);
}

/* Custom cursor hint for interactive elements */
.essay-row, .btn, .lens-card, .nav a, .footer-col a, .link {
 cursor: pointer;
}

/* Focus states */
:focus-visible {
 outline: 2px solid var(--rust);
 outline-offset: 4px;
}

/* =========================================
 ENHANCEMENT PASS - atmospheric depth,
 credibility blocks, marginalia, cursor
 ========================================= */

/* ---------- Page marginalia (journal numbers in corners) ---------- */
.section {
 position: relative;
}
.page-num {
 position: absolute;
 top: 20px;
 right: clamp(20px, 4vw, 48px);
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.3em;
 color: var(--ink-mute);
 opacity: 0.7;
 z-index: 3;
}
.page-num::before {
 content: "·";
 margin-right: 8px;
 color: var(--rust);
}
.page-num::after {
 content: "·";
 margin-left: 8px;
 color: var(--rust);
}

/* ---------- Scattered SVG marks (decorative, low-key) ---------- */
.scatter-mark {
 position: absolute;
 color: var(--rust);
 opacity: 0.4;
 pointer-events: none;
 z-index: 1;
 width: 12px;
 height: 12px;
}
.scatter-mark.--m1 { top: 12%; right: 8%; width: 16px; }
.scatter-mark.--m2 { bottom: 18%; left: 6%; width: 10px; opacity: 0.3; }
.scatter-mark.--m3 { top: 45%; right: 4%; width: 14px; opacity: 0.35; }

/* ---------- Section: SELECTED IMPACT (big stats) ---------- */
.impact-section {
 position: relative;
 background: var(--track-bg, #232A20);
 color: var(--paper);
 padding: var(--space-section) 0;
 overflow: hidden;
}
.impact-section .container { position: relative; z-index: 2; }
.impact-section::before {
 content: "";
 position: absolute;
 inset: 0;
 background:
 radial-gradient(ellipse 70% 50% at 75% 30%, rgba(196, 154, 79, 0.20), transparent 60%),
 radial-gradient(ellipse 60% 50% at 20% 80%, rgba(178, 85, 56, 0.14), transparent 60%);
 z-index: 1;
}
.impact-section::after {
 content: "";
 position: absolute;
 inset: 0;
 background-image:
 radial-gradient(circle at 25% 25%, rgba(245, 241, 232, 0.04) 0.8px, transparent 1px),
 radial-gradient(circle at 75% 75%, rgba(245, 241, 232, 0.03) 0.6px, transparent 1px);
 background-size: 80px 80px, 60px 60px;
 z-index: 1;
}
.impact-section .eyebrow { color: var(--gold); }
.impact-section h2 { color: var(--paper); }
.impact-section .lens-intro { color: rgba(245, 241, 232, 0.7); }

.impact-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 0;
 margin-top: var(--space-block);
 border-top: 1px solid rgba(245, 241, 232, 0.15);
}
@media (max-width: 900px) {
 .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
 .impact-grid { grid-template-columns: 1fr; }
}

.impact-stat {
 padding: 32px 20px 32px 0;
 border-right: 1px solid rgba(245, 241, 232, 0.15);
 border-bottom: 1px solid rgba(245, 241, 232, 0.15);
 position: relative;
 transition: background 0.4s var(--ease);
}
.impact-stat:nth-child(4n) { border-right: none; }
@media (max-width: 900px) {
 .impact-stat:nth-child(2n) { border-right: none; }
 .impact-stat:nth-child(4n) { border-right: 1px solid rgba(245, 241, 232, 0.15); }
}
@media (max-width: 500px) {
 .impact-stat { border-right: none !important; }
}
.impact-stat:hover { background: rgba(196, 154, 79, 0.04); }

.impact-stat:not(:first-child) { padding-left: 20px; }

.impact-num {
 font-family: var(--font-display);
 font-size: clamp(48px, 5.5vw, 72px);
 font-weight: 300;
 line-height: 0.95;
 letter-spacing: -0.03em;
 color: var(--gold);
 margin-bottom: 16px;
}
.impact-num .unit {
 font-size: 0.5em;
 color: var(--paper);
 opacity: 0.7;
 margin-left: 4px;
 vertical-align: super;
 font-style: italic;
}
.impact-label {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--gold);
 margin-bottom: 12px;
 opacity: 0.8;
}
.impact-desc {
 font-family: var(--font-body);
 font-size: var(--text-caption);
 line-height: 1.55;
 color: rgba(245, 241, 232, 0.78);
}
.impact-desc strong { color: var(--paper); font-weight: 600; }

.impact-group + .impact-group { margin-top: var(--space-block); }
.impact-group-title {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--gold);
 margin-bottom: 14px;
}
.impact-group-intro {
 font-family: var(--font-body);
 font-size: var(--text-body-sm);
 line-height: 1.55;
 color: rgba(245, 241, 232, 0.82);
 max-width: 75%;
}
.impact-fit {
 margin-top: var(--space-block);
 padding-top: 24px;
 border-top: 1px solid rgba(245, 241, 232, 0.15);
 max-width: 75%;
}
.impact-fit .impact-desc { font-size: 16px; }
@media (max-width: 900px) {
 .impact-group-intro, .impact-fit { max-width: 100%; }
}

.impact-grid.--three { grid-template-columns: repeat(3, 1fr); }
.impact-grid.--three .impact-stat:nth-child(4n) { border-right: 1px solid rgba(245, 241, 232, 0.15); }
.impact-grid.--three .impact-stat:nth-child(3n) { border-right: none; }
@media (max-width: 900px) {
 .impact-grid.--three { grid-template-columns: repeat(2, 1fr); }
 .impact-grid.--three .impact-stat:nth-child(3n) { border-right: 1px solid rgba(245, 241, 232, 0.15); }
 .impact-grid.--three .impact-stat:nth-child(2n) { border-right: none; }
}
@media (max-width: 500px) {
 .impact-grid.--three { grid-template-columns: 1fr; }
}

/* ---------- Section: RECENT WORK (marquee of organizations) ---------- */
.work-band {
 padding: 80px 0;
 background: var(--paper-deep);
 border-top: 1px solid var(--rule);
 border-bottom: 1px solid var(--rule);
 overflow: hidden;
 position: relative;
}
.work-band-label {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--ink-soft);
 text-align: center;
 margin-bottom: 32px;
}
.work-band-label::before, .work-band-label::after {
 content: "";
 display: inline-block;
 width: 32px;
 height: 1px;
 background: var(--rust);
 vertical-align: middle;
 margin: 0 16px;
}

.marquee {
 display: flex;
 overflow: hidden;
 mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
 -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
 display: flex;
 gap: 80px;
 animation: marquee-scroll 50s linear infinite;
 white-space: nowrap;
 flex-shrink: 0;
 padding-right: 80px;
}
.marquee-item {
 font-family: var(--font-display);
 font-size: clamp(28px, 3vw, 40px);
 font-weight: 350;
 color: var(--ink);
 display: flex;
 align-items: center;
 gap: 28px;
 letter-spacing: -0.015em;
}
.marquee-item::after {
 content: "✦";
 color: var(--rust);
 font-size: 0.5em;
 opacity: 0.7;
}
.marquee-item.italic { font-style: italic; color: var(--rust); }
@keyframes marquee-scroll {
 from { transform: translateX(0); }
 to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Section: JOURNEY (geographic story) ---------- */
.journey-section {
 background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
 position: relative;
 overflow: hidden;
 padding-top: clamp(80px, 10vw, 120px);
 padding-bottom: clamp(80px, 10vw, 120px);
}
.journey-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr;
 gap: 64px;
 align-items: center;
 max-width: 1080px;
 margin: 0 auto;
}
@media (max-width: 900px) {
 .journey-grid { grid-template-columns: 1fr; gap: 40px; }
}
.journey-text h2 { margin-bottom: 32px; }
.journey-text p {
 font-size: clamp(17px, 1.4vw, 19px);
 line-height: 1.7;
 color: var(--ink-soft);
 margin-bottom: 1.2em;
}
.journey-text p strong { color: var(--ink); font-weight: 500; }
.journey-map {
 color: var(--rust);
 position: relative;
 max-width: 440px;
 margin: 0 auto;
}
.journey-map svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
 .journey-map { max-width: 520px; }
}

/* ---------- Hero - add animated draw-on-load to botanical ---------- */
@keyframes draw-line {
 to { stroke-dashoffset: 0; }
}
.js-ready .hero-aside svg path,
.js-ready .hero-aside svg ellipse {
 stroke-dasharray: 600;
 stroke-dashoffset: 600;
 animation: draw-line 2.5s var(--ease) forwards;
}
.js-ready .hero-aside svg path:nth-child(2) { animation-delay: 0.3s; }
.js-ready .hero-aside svg path:nth-child(3) { animation-delay: 0.45s; }
.js-ready .hero-aside svg path:nth-child(4) { animation-delay: 0.6s; }
.js-ready .hero-aside svg path:nth-child(5) { animation-delay: 0.75s; }
.js-ready .hero-aside svg path:nth-child(6) { animation-delay: 0.9s; }
.js-ready .hero-aside svg path:nth-child(7) { animation-delay: 1.05s; }
.js-ready .hero-aside svg path:nth-child(8) { animation-delay: 1.2s; }
.js-ready .hero-aside svg ellipse:nth-of-type(1) { animation-delay: 1.4s; }
.js-ready .hero-aside svg ellipse:nth-of-type(2) { animation-delay: 1.55s; }
.js-ready .hero-aside svg ellipse:nth-of-type(3) { animation-delay: 1.7s; }

/* ---------- Custom cursor (desktop only) ---------- */
@media (pointer: fine) {
 .js-ready { cursor: none; }
 .js-ready a, .js-ready button, .js-ready .essay-row { cursor: none; }
 .cursor-dot {
 position: fixed;
 top: 0;
 left: 0;
 width: 8px;
 height: 8px;
 background: var(--rust);
 border-radius: 50%;
 pointer-events: none;
 z-index: 9999;
 transform: translate(-50%, -50%);
 transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease);
 mix-blend-mode: multiply;
 }
 .cursor-dot.--hover {
 width: 36px;
 height: 36px;
 background: var(--rust);
 opacity: 0.35;
 }
 .cursor-ring {
 position: fixed;
 top: 0;
 left: 0;
 width: 32px;
 height: 32px;
 border: 1px solid var(--rust);
 border-radius: 50%;
 pointer-events: none;
 z-index: 9998;
 transform: translate(-50%, -50%);
 opacity: 0.5;
 transition: width 0.45s var(--ease), height 0.45s var(--ease), opacity 0.3s var(--ease);
 }
 .cursor-ring.--hover {
 width: 72px;
 height: 72px;
 opacity: 0.25;
 }
}

/* ---------- Hero - add landscape backdrop band ---------- */
.landscape-band {
 width: 100%;
 height: clamp(180px, 26vw, 320px);
 position: relative;
 overflow: hidden;
 background: var(--paper);
}
.landscape-band img,
.landscape-band svg {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
}
.landscape-band .landscape-overlay {
 position: absolute;
 inset: 0;
 background:
 linear-gradient(180deg, var(--paper) 0%, transparent 12%, transparent 88%, var(--paper) 100%);
 pointer-events: none;
}
.landscape-band .landscape-caption {
 position: absolute;
 bottom: 36px;
 left: 0;
 right: 0;
 text-align: center;
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(20px, 2vw, 28px);
 color: var(--paper);
 font-weight: 350;
 z-index: 2;
 padding: 0 24px;
 text-shadow: 0 1px 12px rgba(27, 26, 23, 0.4);
 letter-spacing: 0.01em;
}
.landscape-band .landscape-caption::before {
 content: "·";
 display: inline-block;
 margin-right: 12px;
 color: var(--gold);
}
.landscape-band .landscape-caption::after {
 content: "·";
 display: inline-block;
 margin-left: 12px;
 color: var(--gold);
}

/* ---------- Essay row - hover image reveal ---------- */
.essay-row {
 position: relative;
}
.essay-thumb {
 position: absolute;
 right: 60px;
 top: 50%;
 transform: translate(20px, -50%) scale(0.8) rotate(-3deg);
 width: 130px;
 height: 90px;
 opacity: 0;
 pointer-events: none;
 background: var(--rust);
 color: var(--paper);
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.45s var(--ease);
 z-index: 1;
 border: 1px solid var(--rust-deep);
}
.essay-thumb svg { width: 60px; height: 60px; opacity: 0.8; color: var(--paper); }
.essay-row:hover .essay-thumb {
 opacity: 1;
 transform: translate(0, -50%) scale(1) rotate(0deg);
}
@media (max-width: 900px) { .essay-thumb { display: none; } }

/* ---------- Pull quote - enhanced visual treatment ---------- */
.pull-quote {
 position: relative;
 overflow: hidden;
}
.pull-quote::before {
 content: "";
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: clamp(400px, 50vw, 700px);
 height: clamp(400px, 50vw, 700px);
 border: 1px solid var(--rust);
 border-radius: 50%;
 opacity: 0.15;
 pointer-events: none;
}
.pull-quote::after {
 content: "";
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: clamp(280px, 35vw, 480px);
 height: clamp(280px, 35vw, 480px);
 border: 1px solid var(--rust);
 border-radius: 50%;
 opacity: 0.1;
 pointer-events: none;
}
.pull-quote blockquote { position: relative; z-index: 2; }

/* ---------- Hero question - decorate ---------- */
.hero-question {
 position: relative;
 padding-left: 60px;
}
.hero-question::before {
 content: "";
 position: absolute;
 left: 0;
 top: 50%;
 transform: translateY(-50%);
 width: 40px;
 height: 1px;
 background: var(--rust);
}

/* ---------- Lens card - add hover state ---------- */
.lens-card {
 transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.lens-card:hover {
 background: var(--paper-warm);
}

/* ---------- Available section - refined ---------- */
.available {
 position: relative;
 overflow: hidden;
}
.available::before {
 content: "";
 position: absolute;
 top: 0;
 left: -10%;
 right: -10%;
 bottom: 0;
 background:
 radial-gradient(ellipse 50% 80% at 80% 50%, rgba(178, 85, 56, 0.06), transparent 70%);
 pointer-events: none;
 z-index: 0;
}
.available > * { position: relative; z-index: 1; }

/* ---------- Footer enhancement - ornament ---------- */
.site-footer {
 position: relative;
 overflow: hidden;
}
.site-footer::before {
 content: "";
 position: absolute;
 top: -1px;
 left: 0;
 right: 0;
 height: 4px;
 background:
 repeating-linear-gradient(90deg, var(--rust) 0, var(--rust) 8px, transparent 8px, transparent 16px);
 opacity: 0.4;
}
.site-footer::after {
 content: "";
 position: absolute;
 inset: 0;
 background-image:
 radial-gradient(circle at 80% 30%, rgba(196, 154, 79, 0.08), transparent 50%),
 radial-gradient(circle at 10% 80%, rgba(178, 85, 56, 0.05), transparent 50%);
 pointer-events: none;
}
.footer-grid, .footer-bottom { position: relative; z-index: 1; }

/* ---------- Section header - decorate with ornament ---------- */
.section-marker {
 position: relative;
}

/* ---------- Tighten responsive padding so backgrounds are visible ---------- */
@media (max-width: 700px) {
 .page-num { font-size: 9px; top: 16px; }
}

/* =========================================
 POLISH PASS - signature, library, newsletter,
 asymmetric layouts, dark mode, refined type
 ========================================= */

/* ---------- Signature script (Mr Dafoe) ---------- */
.signature {
 font-family: 'Mr Dafoe', 'Allison', cursive;
 font-size: clamp(40px, 5vw, 64px);
 color: var(--rust);
 line-height: 1;
 display: inline-block;
 transform: rotate(-2deg);
}
.signature-block {
 margin-top: var(--space-block);
 padding-top: 24px;
 border-top: 1px solid var(--rule);
}
.signature-block .signature { display: block; margin-bottom: 12px; }
.signature-block .signature-line {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--ink-soft);
}
.signature-block .signature-line::before {
 content: "·";
 margin-right: 12px;
 color: var(--rust);
}
.understory-quote {
 position: relative;
 max-width: 600px;
 margin: 0 auto 28px;
 padding-top: 56px;
 font-family: var(--font-display);
 font-style: italic;
 font-weight: 400;
 font-size: clamp(22px, 2.6vw, 34px);
 line-height: 1.45;
 color: var(--ink);
}
.understory-quote::before {
 content: "\201C";
 position: absolute;
 top: -4px;
 left: 50%;
 transform: translateX(-50%);
 font-family: var(--font-display);
 font-size: 96px;
 line-height: 1;
 color: var(--rust);
 opacity: 0.32;
}
.signature-block .understory-quote + .signature { margin-bottom: 0; }

/* ---------- Newsletter band ---------- */
.newsletter-section {
 padding: var(--space-section-compact) 0;
 background:
 linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
 position: relative;
 overflow: hidden;
 border-top: 1px solid var(--rule);
 border-bottom: 1px solid var(--rule);
}
.newsletter-section::before {
 content: "";
 position: absolute;
 inset: 0;
 background:
 radial-gradient(ellipse 50% 60% at 50% 50%, rgba(178, 85, 56, 0.06), transparent 70%);
 pointer-events: none;
}
.newsletter-inner {
 max-width: 720px;
 margin: 0 auto;
 text-align: center;
 position: relative;
 z-index: 2;
}
.newsletter-eyebrow {
 display: inline-flex;
 align-items: center;
 gap: 16px;
 margin-bottom: 20px;
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--rust);
}
.newsletter-eyebrow::before, .newsletter-eyebrow::after {
 content: "";
 width: 24px;
 height: 1px;
 background: var(--rust);
}
.newsletter-section h2 {
 font-family: var(--font-display);
 font-size: clamp(32px, 4.5vw, 52px);
 font-weight: 350;
 line-height: 1.15;
 letter-spacing: -0.02em;
 margin-bottom: 16px;
}
.newsletter-section h2 .italic { color: var(--rust); font-style: italic; }
.newsletter-section .blurb {
 font-size: clamp(17px, 1.4vw, 19px);
 color: var(--ink-soft);
 line-height: 1.6;
 max-width: 52ch;
 margin: 0 auto 32px;
}
.newsletter-form {
 display: flex;
 gap: 0;
 max-width: 480px;
 margin: 0 auto;
 border: 1px solid var(--ink);
 background: var(--paper);
 transition: border-color 0.3s var(--ease);
}
.newsletter-form:focus-within { border-color: var(--rust); }
.newsletter-form input {
 flex: 1;
 padding: 18px 20px;
 font-family: var(--font-body);
 font-size: 16px;
 background: transparent;
 border: none;
 outline: none;
 color: var(--ink);
}
.newsletter-form input::placeholder {
 color: var(--ink-mute);
 font-style: italic;
}
.newsletter-form button {
 padding: 18px 28px;
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 background: var(--ink);
 color: var(--paper);
 border: none;
 cursor: pointer;
 transition: background 0.3s var(--ease);
 white-space: nowrap;
}
.newsletter-form button:hover { background: var(--rust); }
.newsletter-fineprint {
 margin-top: 24px;
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.12em;
 color: var(--ink-mute);
 text-transform: uppercase;
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 12px;
}
.newsletter-fineprint .dot { color: var(--rust); font-size: 14px; line-height: 1; }

/* ---------- Library section ---------- */
.library-section {
 padding: var(--space-section-compact) 0 var(--space-section);
 background: var(--paper);
 position: relative;
}
.library-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 28px 24px;
 margin-top: var(--space-block);
}
@media (max-width: 900px) {
 .library-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
}
@media (max-width: 500px) {
 .library-grid { grid-template-columns: 1fr; }
}

.library-item {
 position: relative;
 padding-top: 12px;
 border-top: 1px solid var(--rule);
}
.library-cover {
 width: 100%;
 aspect-ratio: 2/3;
 background: var(--paper-warm);
 border: 1px solid var(--rule);
 margin-bottom: 24px;
 position: relative;
 overflow: hidden;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 padding: 24px 20px;
 transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.library-item:hover .library-cover {
 transform: translateY(-6px) rotate(-1deg);
 box-shadow: 0 16px 40px rgba(27, 26, 23, 0.12);
}
.library-cover::before {
 content: "";
 position: absolute;
 left: 8px;
 top: 0;
 bottom: 0;
 width: 1px;
 background: var(--rust);
 opacity: 0.4;
}
.library-cover.--rust { background: var(--rust); color: var(--paper); }
.library-cover.--ink { background: var(--ink); color: var(--paper); }
.library-cover.--sage { background: var(--sage); color: var(--paper); }
.library-cover.--gold { background: var(--gold); color: var(--ink); }
.library-cover-title {
 font-family: var(--font-display);
 font-size: 22px;
 font-weight: 400;
 line-height: 1.15;
 letter-spacing: -0.01em;
}
.library-cover-author {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 opacity: 0.7;
}
.library-meta {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 8px;
}
.library-title {
 font-family: var(--font-display);
 font-size: 19px;
 font-weight: 450;
 line-height: 1.25;
 color: var(--ink);
 margin-bottom: 6px;
}
.library-author {
 font-family: var(--font-body);
 font-size: 14px;
 font-style: italic;
 color: var(--ink-soft);
 margin-bottom: 12px;
}
.library-note {
 font-family: var(--font-body);
 font-size: 14px;
 line-height: 1.55;
 color: var(--ink-soft);
}

/* ---------- Asymmetric editorial section ---------- */
.editorial-asymmetric {
 display: grid;
 grid-template-columns: 1fr 2fr 1fr;
 gap: 32px;
 align-items: start;
}
@media (max-width: 900px) {
 .editorial-asymmetric { grid-template-columns: 1fr; gap: 24px; }
}
.editorial-margin {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--ink-mute);
 line-height: 2;
 padding-top: 16px;
}
.editorial-margin strong {
 display: block;
 color: var(--rust);
 margin-bottom: 8px;
 font-weight: 500;
}
.editorial-margin .note { color: var(--ink-soft); }

/* Photo with location-date caption (Pagani pattern) */
.photo-frame {
 position: relative;
 margin: 24px 0;
}
.photo-frame .photo {
 width: 100%;
 aspect-ratio: 16/10;
 background: var(--paper-warm);
 border: 1px solid var(--rule);
 position: relative;
 overflow: hidden;
}
.photo-frame .photo svg, .photo-frame .photo img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.photo-caption {
 margin-top: 16px;
 font-family: var(--font-display);
 font-style: italic;
 font-size: 14px;
 color: var(--ink-soft);
 letter-spacing: 0.01em;
}
.photo-caption .location {
 color: var(--rust);
 font-style: normal;
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 margin-right: 12px;
 padding-right: 12px;
 border-right: 1px solid var(--rule);
}

/* ---------- Speaking page ---------- */
.speaking-list {
 border-top: 1px solid var(--ink);
 margin-top: var(--space-block);
}
.speaking-item {
 display: grid;
 grid-template-columns: 120px 1fr 200px auto;
 gap: 32px;
 align-items: start;
 padding: 36px 0;
 border-bottom: 1px solid var(--rule);
 transition: padding 0.3s var(--ease);
}
.speaking-item:hover { padding-left: 12px; padding-right: 12px; }
@media (max-width: 800px) {
 .speaking-item { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
}
.speaking-date {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--rust);
 padding-top: 6px;
}
.speaking-title {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.4vw, 28px);
 font-weight: 400;
 line-height: 1.25;
 letter-spacing: -0.01em;
 color: var(--ink);
 margin-bottom: 6px;
}
.speaking-context {
 font-family: var(--font-body);
 font-style: italic;
 font-size: 15px;
 line-height: 1.5;
 color: var(--ink-soft);
}
.speaking-venue {
 font-family: var(--font-body);
 font-size: 14px;
 color: var(--ink-soft);
 padding-top: 6px;
}
.speaking-venue strong { color: var(--ink); font-weight: 500; }
.speaking-type {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--paper);
 background: var(--ink);
 padding: 6px 12px;
 align-self: start;
 white-space: nowrap;
}
.speaking-type.--talk { background: var(--rust); }
.speaking-type.--panel { background: var(--sage); }
.speaking-type.--podcast { background: var(--gold); color: var(--ink); }

/* ---------- Dark mode ---------- */
:root.dark {
 --paper: #1A1A17;
 --paper-warm: #221F1A;
 --paper-deep: #1E1B17;
 --ink: #F0EBDE;
 --ink-soft: #C8C1AE;
 --ink-mute: #8A8273;
 --rust: #D87A56;
 --rust-deep: #B25538;
 --rust-tint: rgba(216, 122, 86, 0.12);
 --sage: #8FA68E;
 --gold: #D8B470;
 --rule: #3A352C;
 --rule-soft: #2A2620;
}
:root.dark body::before { opacity: 0.4; }
:root.dark body::after {
 background:
 radial-gradient(ellipse 80% 60% at 80% 10%, rgba(216, 180, 112, 0.05), transparent 60%),
 radial-gradient(ellipse 60% 40% at 10% 90%, rgba(216, 122, 86, 0.04), transparent 60%);
}
:root.dark .site-header { background: rgba(26, 26, 23, 0.85); }
:root.dark .impact-section { background: #0F0E0C; }
/* Dark mode override: keep text cream on saturated surfaces (impact, rust cards, etc.)
 In dark mode, var(--paper) flips to dark, so we hardcode cream for these. */
:root.dark .impact-section h2 { color: #F0EBDE; }
:root.dark .impact-section .impact-num .unit { color: #F0EBDE; }
:root.dark .impact-section .impact-desc { color: rgba(240, 235, 222, 0.78); }
:root.dark .active-card.--featured { color: #F0EBDE; }
:root.dark .active-card.--featured .active-org { color: #F0EBDE; }
:root.dark .active-card.--featured .active-desc { color: rgba(240, 235, 222, 0.85); }
:root.dark .active-card.--featured .active-role { color: rgba(240, 235, 222, 0.75); }
:root.dark .library-cover.--rust,
:root.dark .library-cover.--sage,
:root.dark .library-cover.--ink { color: #F0EBDE; }
:root.dark .library-cover.--gold { color: #1B1A17; }
/* The ink cover background flips to cream by default - force it dark */
:root.dark .library-cover.--ink { background: #0F0E0C; }
:root.dark .library-cover.--rust .library-cover-author,
:root.dark .library-cover.--sage .library-cover-author,
:root.dark .library-cover.--ink .library-cover-author { color: rgba(240, 235, 222, 0.7); }
:root.dark .library-cover.--gold .library-cover-author { color: rgba(27, 26, 23, 0.7); }
:root.dark .btn { color: #F0EBDE; background: var(--rust); border-color: var(--rust); }
:root.dark .btn:hover { background: var(--rust-deep); border-color: var(--rust-deep); }
:root.dark .btn-ghost { color: var(--ink); background: transparent; border-color: var(--ink); }
:root.dark .btn-ghost:hover { color: var(--paper); }
/* Booking CTAs in dark mode - non-featured = outlined rust button, featured = solid rust.
 Avoids cream-on-cream while keeping clear visual hierarchy. */
:root.dark .booking-cta {
 background: transparent;
 color: var(--rust);
 border: 1px solid var(--rust);
}
:root.dark .booking-cta:hover { background: var(--rust); color: #F0EBDE; }
:root.dark .booking-card.--featured .booking-cta { background: var(--rust); color: #F0EBDE; border-color: var(--rust); }
:root.dark .booking-card.--featured .booking-cta:hover { background: var(--rust-deep); border-color: var(--rust-deep); }
:root.dark .speaking-type { color: #F0EBDE; }
:root.dark .speaking-type.--gold,
:root.dark .speaking-type.--podcast { color: #1B1A17; }
/* Newsletter button - same flip issue. Keep dark with cream text. */
:root.dark .newsletter-form { border-color: var(--ink-soft); background: transparent; }
:root.dark .newsletter-form input { color: var(--ink); }
:root.dark .newsletter-form input::placeholder { color: var(--ink-mute); }
:root.dark .newsletter-form button { background: var(--rust); color: #F0EBDE; }
:root.dark .newsletter-form button:hover { background: var(--rust-deep); }
:root.dark .essay-thumb { color: #F0EBDE; }
:root.dark .work-sidebar { background: var(--paper-warm); }
/* Dark mode footer - keep it dark with cream text in both modes.
 Without this override, --ink (the footer bg) flips to cream in dark mode,
 making the cream text invisible. */
:root.dark .site-footer {
 background: #0F0E0C;
 color: #F0EBDE;
}
:root.dark .site-footer .footer-brand { color: #F0EBDE; }
:root.dark .site-footer .footer-brand .accent { color: var(--rust); }
:root.dark .footer-tagline { color: rgba(240, 235, 222, 0.7); }
:root.dark .footer-col h4 { color: var(--rust); }
:root.dark .footer-col a { color: rgba(240, 235, 222, 0.7); }
:root.dark .footer-col a:hover { color: #F0EBDE; border-bottom-color: var(--rust); }
:root.dark .footer-col li { color: rgba(240, 235, 222, 0.7); }
:root.dark .footer-bottom { color: rgba(240, 235, 222, 0.5); border-top-color: rgba(240, 235, 222, 0.15); }
:root.dark .available { border-color: var(--ink-soft); }

/* Theme toggle button */
.theme-toggle {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 36px;
 height: 36px;
 border: 1px solid var(--rule);
 background: transparent;
 color: var(--ink-soft);
 border-radius: 50%;
 margin-left: 12px;
 transition: all 0.3s var(--ease);
 cursor: pointer;
}
.theme-toggle:hover { color: var(--rust); border-color: var(--rust); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
:root.dark .theme-toggle .icon-moon { display: none; }
:root.dark .theme-toggle .icon-sun { display: block; }

/* ---------- Refined typography ---------- */
body {
 font-feature-settings: 'kern', 'liga', 'onum', 'calt';
}
.tabular { font-feature-settings: 'kern', 'tnum'; font-variant-numeric: tabular-nums; }
.smallcaps {
 font-variant-caps: all-small-caps;
 letter-spacing: 0.08em;
}

/* Footnote / aside text */
.aside-note {
 font-family: var(--font-body);
 font-size: 13px;
 line-height: 1.55;
 color: var(--ink-mute);
 font-style: italic;
 padding-left: 24px;
 border-left: 2px solid var(--rule);
 margin: 24px 0;
}

/* ---------- Page transition fade ---------- */
.js-ready main, .js-ready .site-content {
 animation: page-fade-in 0.6s var(--ease) both;
}
.js-ready body {
 animation: page-fade-in 0.5s var(--ease) both;
}
@keyframes page-fade-in {
 from { opacity: 0.6; }
 to { opacity: 1; }
}

/* ---------- "Currently" widget ---------- */
.now-widget {
 display: grid;
 grid-template-columns: 200px 1fr;
 gap: 32px;
 padding: 32px;
 background: var(--paper-warm);
 border: 1px solid var(--rule);
 margin: 48px 0;
 position: relative;
}
.now-widget::before {
 content: "● NOW";
 position: absolute;
 top: -10px;
 left: 24px;
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.2em;
 background: var(--paper);
 padding: 0 12px;
 color: var(--rust);
}
@media (max-width: 700px) {
 .now-widget { grid-template-columns: 1fr; gap: 16px; }
}
.now-label {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--ink-mute);
 line-height: 2;
}
.now-label strong { display: block; color: var(--ink); font-weight: 500; }
.now-content {
 font-family: var(--font-display);
 font-style: italic;
 font-size: 18px;
 line-height: 1.5;
 color: var(--ink);
}
.now-content p + p { margin-top: 12px; }

/* =========================================
 PHASE 3 - Active collaborations, Vault,
 booking options, biosite hub, multi-source writing
 ========================================= */

/* ---------- Active collaborations grid ---------- */
.active-section {
 padding: var(--space-section) 0;
 background: var(--paper);
 position: relative;
}
.active-section::before {
 content: "";
 position: absolute;
 inset: 0;
 background:
 radial-gradient(ellipse 40% 30% at 80% 20%, rgba(107, 122, 92, 0.06), transparent 60%);
 pointer-events: none;
}
.active-section .container { position: relative; z-index: 2; }

.active-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 0;
 margin-top: var(--space-block);
 border: 1px solid var(--rule);
}
@media (max-width: 900px) {
 .active-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
 .active-grid { grid-template-columns: 1fr; }
}

.active-card {
 padding: 40px 36px;
 border-right: 1px solid var(--rule);
 border-bottom: 1px solid var(--rule);
 background: var(--paper);
 transition: background 0.4s var(--ease);
 position: relative;
 display: flex;
 flex-direction: column;
 min-height: 320px;
}
.active-card:hover { background: var(--paper-warm); }
.active-card:nth-child(3n) { border-right: none; }
@media (max-width: 900px) {
 .active-card { border-right: 1px solid var(--rule); }
 .active-card:nth-child(2n) { border-right: none; }
 .active-card:nth-child(3n) { border-right: 1px solid var(--rule); }
}
@media (max-width: 600px) {
 .active-card { border-right: none !important; }
}

.active-status {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 24px;
 display: flex;
 align-items: center;
 gap: 8px;
}
.active-status::before {
 content: "";
 width: 6px;
 height: 6px;
 background: var(--rust);
 border-radius: 50%;
 animation: pulse 2.4s ease-in-out infinite;
}
.active-org {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.2vw, 28px);
 font-weight: 400;
 letter-spacing: -0.015em;
 color: var(--ink);
 line-height: 1.15;
 margin-bottom: 12px;
}
.active-role {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: var(--ink-soft);
 margin-bottom: 24px;
 padding-bottom: 16px;
 border-bottom: 1px solid var(--rule);
}
.active-desc {
 font-family: var(--font-body);
 font-size: 15px;
 line-height: 1.55;
 color: var(--ink-soft);
 margin-bottom: 24px;
 flex: 1;
}
.active-link {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--rust);
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding-bottom: 4px;
 border-bottom: 1px solid var(--rust);
 align-self: flex-start;
 transition: gap 0.3s var(--ease);
}
.active-link:hover { gap: 12px; }

/* Variant: featured card with rust background */
.active-card.--featured {
 background: var(--rust);
 color: var(--paper);
}
.active-card.--featured .active-status { color: var(--gold); }
.active-card.--featured .active-status::before { background: var(--gold); }
.active-card.--featured .active-org { color: var(--paper); }
.active-card.--featured .active-role { color: rgba(245, 241, 232, 0.75); border-color: rgba(245, 241, 232, 0.2); }
.active-card.--featured .active-desc { color: rgba(245, 241, 232, 0.85); }
.active-card.--featured .active-link { color: var(--gold); border-color: var(--gold); }
.active-card.--featured:hover { background: var(--rust-deep); }

/* ---------- Multi-option booking section ---------- */
.booking-section {
 padding: var(--space-section) 0;
 background: var(--paper-deep);
 position: relative;
}
.booking-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 16px;
 margin-top: var(--space-block);
}
@media (max-width: 1100px) {
 .booking-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
 .booking-grid { grid-template-columns: 1fr; gap: 20px; }
}

.booking-card {
 background: var(--paper);
 border: 1px solid var(--rule);
 padding: 28px 24px;
 position: relative;
 display: flex;
 flex-direction: column;
 transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
 overflow: hidden;
}
.booking-card:hover {
 transform: translateY(-4px);
 border-color: var(--rust);
}
.booking-card::before {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 4px;
 background: var(--rust);
 transform: scaleX(0);
 transform-origin: left;
 transition: transform 0.45s var(--ease);
}
.booking-card:hover::before { transform: scaleX(1); }
.booking-card.--featured::before { transform: scaleX(1); }

.booking-icon {
 width: 44px;
 height: 44px;
 margin-bottom: 24px;
 color: var(--rust);
}
.booking-name {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.6vw, 32px);
 font-weight: 400;
 letter-spacing: -0.015em;
 color: var(--ink);
 margin-bottom: 8px;
}
.booking-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 6px 10px;
 margin-bottom: 20px;
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--ink-soft);
}
.booking-meta span { white-space: nowrap; display: inline-block; }
.booking-meta .dot { color: var(--rust); }
.booking-desc {
 font-family: var(--font-body);
 font-size: 18px;
 line-height: 1.55;
 color: var(--ink-soft);
 margin-bottom: 24px;
 flex: 1;
}
.booking-for {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 8px;
}
.booking-fortext {
 font-family: var(--font-body);
 font-style: italic;
 font-size: var(--text-caption);
 line-height: 1.5;
 color: var(--ink-soft);
 margin-bottom: 32px;
}
.booking-cta {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: var(--paper);
 background: var(--ink);
 padding: 14px 24px;
 text-align: center;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
 transition: background 0.3s var(--ease);
 align-self: stretch;
}
.booking-cta:hover { background: var(--rust); }
.booking-card.--featured .booking-cta { background: var(--rust); }
.booking-card.--featured .booking-cta:hover { background: var(--rust-deep); }

/* ---------- Multi-source writing feed ---------- */
.writing-source {
 font-family: var(--font-mono);
 font-size: 9px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 padding: 4px 10px;
 display: inline-block;
 margin-right: 12px;
 vertical-align: middle;
}
.writing-source.--here { background: var(--rust); color: var(--paper); }
.writing-source.--substack { background: var(--sage); color: var(--paper); }
.writing-source.--linkedin { background: var(--ink); color: var(--paper); }

/* ---------- Vault page styling ---------- */
.vault-intro {
 max-width: 80ch;
 font-size: var(--lede-size);
 line-height: var(--lede-leading);
 color: var(--ink-soft);
 margin-bottom: var(--space-block);
}
.vault-category {
 padding: var(--space-block) 0;
 border-top: 1px solid var(--rule);
 position: relative;
}
.vault-category:last-child { border-bottom: 1px solid var(--rule); }
.vault-category-header {
 display: block;
 margin-bottom: 24px;
}
.vault-category-num {
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(40px, 5vw, 64px);
 font-weight: 300;
 color: var(--rust);
 line-height: 1;
}
.vault-category-name {
 font-family: var(--font-display);
 font-size: clamp(32px, 4vw, 48px);
 font-weight: 350;
 letter-spacing: -0.02em;
 color: var(--ink);
 line-height: 1;
 text-transform: lowercase;
}
.vault-category-desc {
 font-family: var(--font-body);
 font-style: italic;
 font-size: 16px;
 color: var(--ink-soft);
 margin-top: 12px;
 line-height: 1.5;
}

.vault-items {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
 gap: 32px 40px;
 border-top: 1px solid var(--rule);
 padding-top: 24px;
}
.vault-items:has(.vault-item:only-child) {
 grid-template-columns: 1fr;
 max-width: 40rem;
}
@media (max-width: 900px) {
 .vault-items { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
}
@media (max-width: 500px) {
 .vault-items { grid-template-columns: 1fr; max-width: none; }
}

.vault-item {
 padding-top: 0;
 border-top: none;
}
.vault-item-meta {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 8px;
}
.vault-item-title {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.6vw, 32px);
 font-weight: 450;
 line-height: 1.25;
 color: var(--ink);
 margin-bottom: 6px;
}
.vault-item-by {
 font-family: var(--font-body);
 font-style: italic;
 font-size: 14px;
 color: var(--ink-soft);
 margin-bottom: 10px;
}
.vault-item-note {
 font-family: var(--font-body);
 font-size: var(--text-fine);
 line-height: 1.55;
 color: var(--ink-soft);
}
.vault-item-link {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--rust);
 margin-top: 10px;
 display: inline-flex;
 gap: 6px;
 border-bottom: 1px solid var(--rust);
 padding-bottom: 2px;
}

/* ---------- Hub / Bio-link page ---------- */
.hub-body {
 background: var(--ink);
 color: var(--paper);
 min-height: 100vh;
 padding: 32px 20px 64px;
 font-family: var(--font-body);
}
.hub-body::before,
.hub-body::after {
 display: none;
}
.hub-container {
 max-width: 480px;
 margin: 0 auto;
}
.hub-header-img {
 width: 100%;
 height: 200px;
 background: linear-gradient(135deg, var(--rust) 0%, var(--rust-deep) 60%, #5A2818 100%);
 margin-bottom: -48px;
 position: relative;
 overflow: hidden;
 border-radius: 4px;
}
.hub-header-img svg { width: 100%; height: 100%; }
.hub-avatar {
 width: 96px;
 height: 96px;
 background: var(--paper);
 border-radius: 50%;
 margin: 0 auto;
 position: relative;
 z-index: 2;
 display: flex;
 align-items: center;
 justify-content: center;
 border: 4px solid var(--ink);
 color: var(--rust);
}
.hub-avatar svg { width: 56px; height: 56px; }
.hub-name {
 text-align: center;
 font-family: var(--font-display);
 font-size: 28px;
 font-weight: 400;
 color: var(--paper);
 margin-top: 16px;
 margin-bottom: 4px;
 letter-spacing: -0.015em;
}
.hub-name strong { color: var(--rust); font-weight: 600; }
.hub-tagline {
 text-align: center;
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: rgba(245, 241, 232, 0.6);
 margin-bottom: 36px;
}
.hub-question {
 text-align: center;
 font-family: var(--font-display);
 font-style: italic;
 font-size: 18px;
 color: var(--gold);
 margin-bottom: 36px;
 font-weight: 350;
}

.hub-cards {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 12px;
 margin-bottom: 12px;
}
.hub-card-feature {
 grid-column: span 2;
 background: var(--paper-warm);
 color: var(--ink);
 border-radius: 4px;
 padding: 0;
 overflow: hidden;
 display: grid;
 grid-template-columns: 100px 1fr;
 align-items: center;
 transition: transform 0.3s var(--ease);
 position: relative;
}
.hub-card-feature:hover { transform: translateY(-2px); }
.hub-card-feature-img {
 height: 100%;
 background: linear-gradient(135deg, var(--rust) 0%, var(--rust-deep) 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--paper);
 font-family: var(--font-display);
 font-size: 32px;
 font-style: italic;
}
.hub-card-feature-text {
 padding: 16px 16px;
}
.hub-card-feature-title {
 font-family: var(--font-display);
 font-size: 17px;
 font-weight: 500;
 line-height: 1.2;
 margin-bottom: 4px;
}
.hub-card-feature-sub {
 font-family: var(--font-mono);
 font-size: 9px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--ink-soft);
}

.hub-link {
 background: rgba(245, 241, 232, 0.06);
 border: 1px solid rgba(245, 241, 232, 0.12);
 border-radius: 4px;
 padding: 18px 20px;
 color: var(--paper);
 font-family: var(--font-body);
 font-size: 15px;
 display: flex;
 align-items: center;
 gap: 16px;
 transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
 grid-column: span 2;
}
.hub-link:hover {
 background: rgba(245, 241, 232, 0.1);
 border-color: var(--rust);
}
.hub-link-icon {
 width: 36px;
 height: 36px;
 background: rgba(178, 85, 56, 0.15);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
 color: var(--rust);
}
.hub-link-icon svg { width: 18px; height: 18px; }
.hub-link-text { flex: 1; }
.hub-link-title { font-weight: 500; }
.hub-link-sub {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.15em;
 text-transform: uppercase;
 color: rgba(245, 241, 232, 0.5);
 margin-top: 2px;
}
.hub-link-arrow {
 color: rgba(245, 241, 232, 0.4);
 transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.hub-link:hover .hub-link-arrow {
 transform: translateX(4px);
 color: var(--rust);
}

.hub-socials {
 display: flex;
 justify-content: center;
 gap: 16px;
 margin-top: 36px;
 padding-top: 24px;
 border-top: 1px solid rgba(245, 241, 232, 0.12);
}
.hub-social {
 width: 44px;
 height: 44px;
 border: 1px solid rgba(245, 241, 232, 0.2);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 color: rgba(245, 241, 232, 0.7);
 transition: all 0.3s var(--ease);
}
.hub-social:hover { color: var(--rust); border-color: var(--rust); }
.hub-social svg { width: 18px; height: 18px; }

.hub-footer {
 text-align: center;
 margin-top: 32px;
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.18em;
 color: rgba(245, 241, 232, 0.4);
}
.hub-footer .signature {
 font-size: 28px;
 color: var(--rust);
 display: block;
 margin-bottom: 6px;
}

/* =========================================
 PHASE 4 - Nav CTA, dedicated pages,
 The Understory rename
 ========================================= */

/* ---------- Primary nav CTA button ---------- */
.nav-cta {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 10px 18px;
 background: var(--rust);
 color: var(--paper);
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 border-radius: 2px;
 margin-left: 16px;
 transition: background 0.3s var(--ease);
 white-space: nowrap;
}
.nav-cta:hover { background: var(--rust-deep); color: var(--paper); }
.nav-cta::after { content: "→"; transition: transform 0.3s var(--ease); }
.nav-cta:hover::after { transform: translateX(3px); }

:root.dark .nav-cta { color: #F0EBDE; }
:root.dark .nav-cta:hover { background: var(--rust-deep); color: #F0EBDE; }

/* ---------- Working-on page: side-by-side cards with date rail ---------- */
.working-section { padding: var(--space-section-compact) 0 var(--space-section); }
.working-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 20px;
 margin-top: var(--space-block);
}
@media (max-width: 1100px) {
 .working-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
 .working-grid { grid-template-columns: 1fr; gap: 24px; }
}
.working-card {
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto;
 grid-template-rows: auto 1fr auto;
 column-gap: 12px;
 padding: 28px 24px;
 background: var(--paper);
 border: 1px solid var(--rule);
 position: relative;
 transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
 min-height: 340px;
}
.working-card:hover { border-color: var(--rust); background: var(--paper-warm); }
.working-card.--featured {
 background: var(--rust);
 color: var(--paper);
 border-color: var(--rust);
}
.working-card.--featured:hover { background: var(--rust-deep); border-color: var(--rust-deep); }

.working-card-date {
 grid-column: 2;
 grid-row: 1;
 align-self: start;
 justify-self: end;
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--ink-mute);
 writing-mode: vertical-rl;
 transform: rotate(180deg);
 padding: 4px 0;
 white-space: nowrap;
}
.working-card > div:nth-child(2) {
 grid-column: 1;
 grid-row: 1;
 min-width: 0;
}
.working-card-desc {
 grid-column: 1;
 grid-row: 2;
}
.working-card-link {
 grid-column: 1;
 grid-row: 3;
}
.working-card.--featured .working-card-date { color: rgba(245, 241, 232, 0.6); }
.working-card-status {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 24px;
 display: flex;
 align-items: center;
 gap: 8px;
}
.working-card-status::before {
 content: "";
 width: 6px;
 height: 6px;
 background: var(--rust);
 border-radius: 50%;
 animation: pulse 2.4s ease-in-out infinite;
}
.working-card.--featured .working-card-status { color: var(--gold); }
.working-card.--featured .working-card-status::before { background: var(--gold); }

.working-card-org {
 font-family: var(--font-display);
 font-size: clamp(28px, 3vw, 38px);
 font-weight: 400;
 letter-spacing: -0.02em;
 line-height: 1.1;
 margin-bottom: 12px;
 padding-right: 4px;
}
.working-card.--featured .working-card-org { color: var(--paper); }

.working-card-role {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: var(--ink-soft);
 margin-bottom: 24px;
 padding-bottom: 16px;
 border-bottom: 1px solid var(--rule);
}
.working-card.--featured .working-card-role {
 color: rgba(245, 241, 232, 0.7);
 border-bottom-color: rgba(245, 241, 232, 0.2);
}

.working-card-desc {
 font-family: var(--font-body);
 font-size: var(--text-caption);
 line-height: 1.55;
 color: var(--ink-soft);
 margin-bottom: 24px;
}
.working-card.--featured .working-card-desc { color: rgba(245, 241, 232, 0.85); }

.working-card-link {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--rust);
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding-bottom: 4px;
 border-bottom: 1px solid var(--rust);
 align-self: flex-start;
 transition: gap 0.3s var(--ease);
}
.working-card.--featured .working-card-link { color: var(--gold); border-color: var(--gold); }
.working-card-link:hover { gap: 14px; }

/* ---------- Impact & Insights page ---------- */
.insights-section {
 padding: var(--space-block) 0;
 border-top: 1px solid var(--rule);
}
.insights-header {
 display: flex;
 align-items: baseline;
 gap: 24px;
 margin-bottom: 48px;
}
.insights-num {
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(32px, 4vw, 48px);
 font-weight: 300;
 color: var(--rust);
 line-height: 1;
 flex-shrink: 0;
}
.insights-title {
 font-family: var(--font-display);
 font-size: clamp(28px, 3vw, 38px);
 font-weight: 350;
 letter-spacing: -0.015em;
 line-height: 1.15;
 color: var(--ink);
}
.insights-title em { color: var(--rust); font-style: italic; }

.insights-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 24px;
}
@media (max-width: 800px) { .insights-grid { grid-template-columns: 1fr; } }

.insight-card {
 display: grid;
 grid-template-columns: 140px 1fr;
 gap: 0;
 background: var(--paper);
 border: 1px solid var(--rule);
 overflow: hidden;
 transition: border-color 0.4s var(--ease);
 text-decoration: none;
 color: inherit;
}
@media (max-width: 600px) { .insight-card { grid-template-columns: 1fr; } }
.insight-card:hover { border-color: var(--rust); }

.insight-thumb {
 position: relative;
 background: var(--rust);
 color: var(--paper);
 display: flex;
 align-items: center;
 justify-content: center;
 overflow: hidden;
 min-height: 140px;
}
@media (max-width: 600px) { .insight-thumb { min-height: 120px; } }
.insight-thumb.--sage { background: var(--sage); }
.insight-thumb.--ink { background: var(--ink); }
.insight-thumb.--gold { background: var(--gold); color: var(--ink); }
.insight-thumb svg { width: 44px; height: 44px; opacity: 0.85; }
.insight-thumb-label {
 position: absolute;
 bottom: 14px;
 left: 16px;
 right: 16px;
 font-family: var(--font-mono);
 font-size: 9px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 opacity: 0.85;
}

.insight-body { padding: 24px 28px; display: flex; flex-direction: column; }
.insight-meta {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 8px;
}
.insight-title {
 font-family: var(--font-display);
 font-size: 19px;
 font-weight: 450;
 line-height: 1.3;
 color: var(--ink);
 margin-bottom: 8px;
}
.insight-desc {
 font-family: var(--font-body);
 font-size: 14px;
 line-height: 1.55;
 color: var(--ink-soft);
 margin-bottom: 12px;
 flex: 1;
}
.insight-go {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--rust);
 align-self: flex-start;
 display: inline-flex;
 gap: 6px;
 transition: gap 0.3s var(--ease);
}
.insight-card:hover .insight-go { gap: 12px; }

/* ---------- Writing page - three-source groups ---------- */
.writing-group { padding: var(--space-section-compact) 0; border-top: 1px solid var(--rule); }

.preview-card-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 24px;
 margin-top: var(--space-block);
}
.preview-card-grid a {
 display: block;
 padding: 32px 28px;
 text-decoration: none;
 position: relative;
 overflow: hidden;
 transition: background 0.4s var(--ease);
}
@media (max-width: 700px) {
 .preview-card-grid { grid-template-columns: 1fr; gap: 20px; }
}
.writing-group:last-of-type { border-bottom: 1px solid var(--rule); }
.writing-group-header {
 display: flex;
 align-items: baseline;
 justify-content: space-between;
 margin-bottom: 36px;
 gap: 24px;
 flex-wrap: wrap;
}
.writing-group-title {
 font-family: var(--font-display);
 font-size: clamp(28px, 3vw, 38px);
 font-weight: 350;
 letter-spacing: -0.015em;
 color: var(--ink);
}
.writing-group-title em { color: var(--rust); font-style: italic; }
.coming-soon-badge {
 display: inline-block;
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 font-weight: 500;
 color: var(--ink);
 background: var(--gold);
 padding: 5px 12px;
 border-radius: 999px;
 vertical-align: middle;
 margin-left: 14px;
 transform: translateY(-4px);
 white-space: nowrap;
}
.writing-group-source {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--paper);
 background: var(--rust);
 padding: 6px 14px;
 display: inline-flex;
 align-items: center;
 gap: 8px;
 align-self: center;
}
.writing-group-source.--substack { background: var(--sage); color: var(--paper); }
.writing-group-source.--linkedin { background: var(--ink); color: var(--paper); }
.writing-group-source.--essays { background: var(--rust); }
.writing-group-source.--substack:hover { background: var(--sage); }
.writing-group-source:hover { color: var(--paper); }

:root.dark .writing-group-source { color: #F0EBDE; }
:root.dark .writing-group-source.--ink,
:root.dark .writing-group-source.--linkedin { background: #2A2620; }

.writing-group-desc {
 font-family: var(--font-body);
 font-style: italic;
 font-size: var(--text-caption);
 color: var(--ink-soft);
 max-width: 75%;
 margin-bottom: 36px;
 line-height: 1.55;
}
@media (max-width: 900px) {
 .writing-group-desc { max-width: 100%; }
}

/* =========================================
 PHASE 5 - About page: Journey carousel
 + subtle credential strip
 ========================================= */

/* ---------- Carousel container ---------- */
.journey-carousel {
 position: relative;
 margin: 0 auto;
 max-width: 1080px;
 padding: 0;
}
.carousel-eyebrow {
 display: flex;
 align-items: baseline;
 gap: 16px;
 margin-bottom: 32px;
}
.carousel-eyebrow .num {
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(28px, 3vw, 36px);
 font-weight: 300;
 color: var(--rust);
 line-height: 1;
}
.carousel-eyebrow .label {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--ink-soft);
}
.carousel-viewport {
 overflow: hidden;
 position: relative;
}
.carousel-track {
 display: flex;
 transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
 will-change: transform;
}
.carousel-slide {
 flex: 0 0 100%;
 padding: 36px 40px;
 background: var(--paper-warm);
 border: 1px solid var(--rule);
 display: grid;
 grid-template-columns: 1.4fr 1fr;
 gap: 36px;
 align-items: center;
 min-height: 360px;
}
@media (max-width: 800px) {
 .carousel-slide { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; min-height: auto; }
}
.carousel-slide-text { font-family: var(--font-body); }
.carousel-slide-marker {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 20px;
 display: flex;
 align-items: center;
 gap: 10px;
}
.carousel-slide-marker::before {
 content: "";
 width: 24px;
 height: 1px;
 background: var(--rust);
}
.carousel-slide-title {
 font-family: var(--font-display);
 font-size: clamp(32px, 3.8vw, 44px);
 font-weight: 350;
 letter-spacing: -0.02em;
 line-height: 1.1;
 color: var(--ink);
 margin-bottom: 24px;
}
.carousel-slide-title em { color: var(--rust); font-style: italic; }
.carousel-slide-prose {
 font-size: 16px;
 line-height: 1.7;
 color: var(--ink-soft);
}
.carousel-slide-prose p { margin-bottom: 1em; }
.carousel-slide-prose strong { color: var(--ink); font-weight: 500; }

/* Visual side of the slide (map / motif) */
.carousel-slide-visual {
 color: var(--rust);
 display: flex;
 align-items: center;
 justify-content: center;
}
.carousel-slide-visual svg { width: 100%; max-width: 320px; height: auto; }

/* Variants - each slide tinted slightly differently */
.carousel-slide.--rust { background: var(--rust); color: var(--paper); border-color: var(--rust); }
.carousel-slide.--rust .carousel-slide-title { color: var(--paper); }
.carousel-slide.--rust .carousel-slide-title em { color: var(--gold); }
.carousel-slide.--rust .carousel-slide-prose { color: rgba(245, 241, 232, 0.9); }
.carousel-slide.--rust .carousel-slide-prose strong { color: var(--paper); }
.carousel-slide.--rust .carousel-slide-marker { color: var(--gold); }
.carousel-slide.--rust .carousel-slide-marker::before { background: var(--gold); }
.carousel-slide.--rust .carousel-slide-visual { color: var(--paper); }
.carousel-slide.--sage { background: var(--sage); color: var(--paper); border-color: var(--sage); }
.carousel-slide.--sage .carousel-slide-title { color: var(--paper); }
.carousel-slide.--sage .carousel-slide-title em { color: var(--gold); }
.carousel-slide.--sage .carousel-slide-prose { color: rgba(245, 241, 232, 0.92); }
.carousel-slide.--sage .carousel-slide-marker { color: var(--gold); }
.carousel-slide.--sage .carousel-slide-marker::before { background: var(--gold); }
.carousel-slide.--sage .carousel-slide-visual { color: var(--paper); }

/* Dot navigation */
.carousel-dots {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 12px;
 margin-top: 32px;
}
.carousel-dot {
 background: transparent;
 border: 1px solid var(--ink-soft);
 width: 10px;
 height: 10px;
 border-radius: 50%;
 cursor: pointer;
 padding: 0;
 transition: all 0.3s var(--ease);
}
.carousel-dot:hover { border-color: var(--rust); }
.carousel-dot.active {
 background: var(--rust);
 border-color: var(--rust);
 transform: scale(1.2);
}
.carousel-counter {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--ink-mute);
 margin-left: 16px;
}

/* Prev/next arrow buttons */
.carousel-nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-top: 16px;
 padding: 0 8px;
}
.carousel-arrow {
 background: transparent;
 border: none;
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--rust);
 cursor: pointer;
 padding: 8px 12px;
 transition: gap 0.3s var(--ease);
 display: inline-flex;
 align-items: center;
 gap: 6px;
}
.carousel-arrow:hover { gap: 12px; }
.carousel-arrow:disabled { color: var(--ink-mute); cursor: not-allowed; opacity: 0.4; }
.carousel-arrow:disabled:hover { gap: 6px; }

/* ---------- Credential strip (subtle, non-scrolling) ---------- */
.credentials-strip {
 padding: var(--space-block) 0;
 border-top: 1px solid var(--rule);
 margin-top: var(--space-section-compact);
}
.credentials-label {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--ink-mute);
 text-align: center;
 margin-bottom: 16px;
}
.credentials-row {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 gap: 36px 48px;
 max-width: 1080px;
 margin: 0 auto;
}
.credentials-row .org {
 font-family: var(--font-display);
 font-size: 17px;
 font-weight: 400;
 color: var(--ink-soft);
 letter-spacing: 0.01em;
 transition: color 0.3s var(--ease);
 white-space: nowrap;
}
.credentials-row .org.italic { font-style: italic; }
.credentials-row .org:hover { color: var(--rust); }

:root.dark .credentials-row .org { color: rgba(240, 235, 222, 0.7); }
:root.dark .credentials-row .org:hover { color: var(--rust); }

.hiw-subsection,
#current-work,
#track-record {
 scroll-margin-top: 100px;
}

/* ---------- Track record: active partnerships ---------- */
.partnerships-section {
 padding: var(--space-section-compact) 0;
 border-top: 1px solid var(--rule);
}
.partnerships-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 20px;
}
@media (max-width: 900px) {
 .partnerships-grid { grid-template-columns: 1fr; gap: 16px; }
}
.partnership-card {
 display: flex;
 flex-direction: column;
 padding: 28px 24px;
 background: var(--paper);
 border: 1px solid var(--rule);
 text-decoration: none;
 color: inherit;
 transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
 min-height: 100%;
}
.partnership-card:hover {
 border-color: var(--rust);
 background: var(--paper-warm);
 transform: translateY(-2px);
}
.partnership-status {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: var(--ink-mute);
 margin-bottom: 14px;
 display: flex;
 align-items: center;
 gap: 8px;
}
.partnership-status::before {
 content: "";
 width: 7px;
 height: 7px;
 border-radius: 50%;
 background: var(--sage);
 flex: none;
}
.partnership-card h3 {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.2vw, 28px);
 font-weight: 400;
 letter-spacing: -0.02em;
 margin-bottom: 12px;
 color: var(--ink);
}
.partnership-card p {
 font-size: 15px;
 line-height: 1.6;
 color: var(--ink-soft);
 flex: 1;
}
.partnership-link {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--rust);
 margin-top: 20px;
 display: inline-flex;
 align-items: center;
 gap: 6px;
 transition: gap 0.3s var(--ease);
}
.partnership-card:hover .partnership-link { gap: 10px; }

/* ---------- V2 layout & typography ---------- */
h1, h2, .pull-quote blockquote { text-wrap: balance; }
.nowrap { white-space: nowrap; }

.section-marker--simple .eyebrow { color: var(--rust); }

.pull-quote-split {
 max-width: none;
}
.pull-quote-split br { display: block; content: ""; margin-top: 0.15em; }

.audience-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 margin-top: var(--space-block);
}
@media (max-width: 760px) {
 .audience-grid { grid-template-columns: 1fr; gap: 32px; }
}
.audience-col h3 {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.4vw, 28px);
 margin-bottom: 20px;
}
.audience-col ul {
 list-style: none;
 padding: 0;
}
.audience-col li {
 padding: 12px 0 12px 28px;
 position: relative;
 font-family: var(--font-body);
 font-size: 18px;
 line-height: 1.55;
 border-top: 1px solid var(--rule);
}
.audience-col li::before {
 content: "◆";
 position: absolute;
 left: 0;
 top: 16px;
 color: var(--rust);
 font-size: 11px;
}
.audience-col.--not li::before { color: var(--ink-mute); }

.method-steps {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 24px;
 margin-top: var(--space-block);
 border-top: 1px solid var(--rule);
}
@media (max-width: 900px) {
 .method-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
 .method-steps { grid-template-columns: 1fr; }
}
.method-step {
 padding-top: 24px;
 border-top: 2px solid var(--rust);
}
.method-step-num {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.18em;
 color: var(--rust);
 margin-bottom: 12px;
}
.method-step h3 {
 font-size: clamp(20px, 2vw, 24px);
 margin-bottom: 10px;
}
.method-step p {
 font-size: 17px;
 line-height: 1.55;
 color: var(--ink-soft);
}

.booking-grid--book {
 grid-template-columns: repeat(2, 1fr);
 max-width: 900px;
 margin-left: auto;
 margin-right: auto;
}
@media (max-width: 700px) {
 .booking-grid--book { grid-template-columns: 1fr; }
}
.booking-bring-role {
 grid-column: 1 / -1;
 max-width: 720px;
 margin: 8px auto 0;
}

.impact-featured {
 text-align: center;
 padding: var(--space-block) 0;
 margin-bottom: var(--space-block);
 border-bottom: 1px solid rgba(245, 241, 232, 0.15);
}
.impact-featured .impact-num {
 font-size: clamp(64px, 8vw, 108px);
}
.impact-featured .impact-desc {
 opacity: 0.9;
}

.home-teaser-cta {
 margin-top: var(--space-block);
}

/* ---------- Work with me (engage) page ---------- */
.engage-hero h1 {
 max-width: 22ch;
 font-size: clamp(36px, 5vw, 58px);
 line-height: 1.08;
}
.engage-hero-lede {
 max-width: 52ch;
 margin-top: 24px;
 font-size: var(--lede-size);
 line-height: var(--lede-leading);
 color: var(--ink-soft);
}
.engage-hero-lede strong {
 color: var(--ink);
 font-weight: 600;
}
.engage-fit-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 24px;
 margin-top: var(--space-block);
}
@media (max-width: 760px) {
 .engage-fit-grid { grid-template-columns: 1fr; }
}
.engage-fit-card {
 padding: 28px 24px;
 background: var(--paper);
 border: 1px solid var(--rule);
}
.engage-fit-card h3 {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.4vw, 28px);
 margin-bottom: 12px;
}
.engage-fit-card p {
 font-family: var(--font-body);
 font-size: 18px;
 line-height: 1.55;
 color: var(--ink-soft);
}
.engage-book {
 scroll-margin-top: 100px;
}
.engage-book-sub {
 margin-top: 16px;
 font-family: var(--font-body);
 font-size: 19px;
 line-height: 1.5;
 color: var(--ink-soft);
}
.engage-book-rows {
 display: flex;
 flex-direction: column;
 gap: var(--space-block);
 margin-top: var(--space-block);
}
.engage-book-row-label {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: var(--ink-soft);
 margin-bottom: 16px;
}
.engage-book-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 24px;
 align-items: stretch;
}
@media (max-width: 900px) {
 .engage-book-grid { grid-template-columns: 1fr; }
}
.engage-session-card {
 height: 100%;
}
.engage-session-card .booking-cta {
 margin-top: auto;
}
.engage-tier {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 12px;
}
.engage-tier--deep { color: var(--gold); }
.engage-email-link {
 text-align: center;
 margin-top: 28px;
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
}
.engage-email-link a {
 color: var(--rust);
 border-bottom: 1px solid var(--rust);
 padding-bottom: 2px;
}

/* ---------- How I work v2 ---------- */
.hiw-promise {
 margin-top: 20px;
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(20px, 2.2vw, 26px);
 line-height: 1.35;
 max-width: 32ch;
 color: var(--ink);
}
.section:has(.worldview-band) {
 padding-top: var(--space-section-compact);
 padding-bottom: var(--space-section-compact);
}
.worldview-band {
 margin-top: 0;
 padding: 0;
 background: transparent;
 border: none;
 border-radius: 0;
 position: relative;
 overflow: visible;
}
.worldview-band::after {
 content: "";
 position: absolute;
 inset: -20px -8vw 0 -8vw;
 pointer-events: none;
 z-index: 0;
 background:
 radial-gradient(ellipse 55% 45% at 88% 15%, rgba(178, 85, 56, 0.07), transparent 65%),
 radial-gradient(ellipse 40% 35% at 5% 85%, rgba(196, 154, 79, 0.05), transparent 60%);
}
.worldview-band > * { position: relative; z-index: 1; }
.worldview-band .eyebrow { color: var(--rust-deep); margin-bottom: 16px; }
.worldview-band h2 {
 font-size: clamp(26px, 3.2vw, 38px);
 line-height: 1.25;
 max-width: 48ch;
 margin-bottom: 28px;
 color: var(--ink);
}
.worldview-tensions {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 0;
 background: transparent;
 border: none;
 border-top: 1px solid var(--rule);
 border-bottom: 1px solid var(--rule);
 margin-bottom: 28px;
}
@media (max-width: 760px) {
 .worldview-tensions { grid-template-columns: 1fr; }
 .worldview-tension + .worldview-tension {
 border-top: 1px solid var(--rule);
 }
}
.worldview-tension {
 background: transparent;
 padding: 24px 20px 24px 0;
}
.worldview-tension:nth-child(n + 2) {
 padding-left: 20px;
}
.worldview-tension:not(:last-child) {
 border-right: 1px solid var(--rule);
}
@media (max-width: 760px) {
 .worldview-tension {
 padding: 20px 0;
 border-right: none;
 }
 .worldview-tension:nth-child(n + 2) {
 padding-left: 0;
 }
}
.worldview-tension .who {
 font-family: var(--font-body);
 font-weight: 600;
 font-size: 17px;
 color: var(--ink);
}
.worldview-tension .for {
 font-family: var(--font-body);
 font-size: 15px;
 color: var(--ink-soft);
 margin-top: 6px;
}
.worldview-resolve {
 font-family: var(--font-body);
 font-size: 18px;
 line-height: 1.6;
 color: var(--ink-soft);
 max-width: 75ch;
}
.worldview-resolve strong { color: var(--rust); font-weight: 600; }
.hiw-services { display: grid; gap: 16px; margin-top: var(--space-block); }
.hiw-svc {
 border: 1px solid var(--rule);
 background: var(--paper-warm);
 padding: clamp(22px, 3vw, 32px);
 display: grid;
 grid-template-columns: auto minmax(0, 1fr);
 gap: 20px;
 align-items: start;
 transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.hiw-svc:hover {
 transform: translateY(-3px);
 border-color: var(--rust);
}
@media (max-width: 640px) {
 .hiw-svc { grid-template-columns: 1fr; gap: 10px; }
}
.hiw-svc-idx {
 font-family: var(--font-display);
 font-style: italic;
 font-size: 24px;
 color: var(--rust);
 line-height: 1;
 padding-top: 2px;
 min-width: 2ch;
}
.hiw-svc h3 {
 font-size: clamp(22px, 2.6vw, 28px);
 margin-bottom: 4px;
}
.hiw-svc-tagline {
 font-family: var(--font-body);
 font-size: 15px;
 font-weight: 600;
 color: var(--rust-deep);
}
.hiw-svc p {
 font-family: var(--font-body);
 font-size: 17px;
 line-height: 1.55;
 color: var(--ink-soft);
 margin-top: 12px;
 max-width: none;
}
.hiw-svc-for {
 font-family: var(--font-body);
 font-size: 16px;
 color: var(--ink-soft);
 margin-top: 12px;
 max-width: none;
}
.hiw-svc-for strong { color: var(--ink); }
.hiw-svc-scope {
 margin-top: 12px;
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
}
.hiw-svc-scope span {
 font-family: var(--font-mono);
 font-size: 10px;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 background: var(--paper);
 border: 1px solid var(--rule);
 border-radius: 2px;
 padding: 3px 8px;
 color: var(--ink-soft);
 line-height: 1.3;
}
.hiw-svc-proof {
 margin-top: 12px;
 font-family: var(--font-display);
 font-style: italic;
 font-size: 14px;
 color: var(--sage);
 max-width: none;
}
.hiw-steps {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 1px;
 background: var(--rule);
 border: 1px solid var(--rule);
 margin-top: var(--space-block);
}
@media (max-width: 900px) {
 .hiw-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
 .hiw-steps { grid-template-columns: 1fr; }
}
.hiw-step {
 background: var(--paper);
 padding: 24px 20px;
}
.hiw-step-n {
 font-family: var(--font-display);
 font-style: italic;
 color: var(--ink-mute);
 font-size: 15px;
}
.hiw-step h4 {
 font-family: var(--font-display);
 font-size: 18px;
 margin-top: 8px;
}
.hiw-step p {
 font-family: var(--font-body);
 font-size: 15px;
 line-height: 1.5;
 color: var(--ink-soft);
 margin-top: 8px;
}
.hiw-outcome {
 margin-top: 24px;
 font-family: var(--font-body);
 font-size: 17px;
 line-height: 1.55;
 color: var(--ink-soft);
 max-width: 75ch;
}
.hiw-outcome strong { color: var(--ink); }
.hiw-audience {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 margin-top: var(--space-block);
}
@media (max-width: 760px) {
 .hiw-audience { grid-template-columns: 1fr; gap: 32px; }
}
.hiw-aud-col h4 {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 margin-bottom: 16px;
}
.hiw-aud-col.--yes h4 { color: var(--sage); }
.hiw-aud-col.--no h4 { color: var(--ink-mute); }
.hiw-aud-col ul { list-style: none; padding: 0; }
.hiw-aud-col li {
 font-family: var(--font-body);
 font-size: 17px;
 line-height: 1.5;
 color: var(--ink-soft);
 padding: 11px 0;
 border-bottom: 1px solid var(--rule);
 padding-left: 20px;
 position: relative;
}
.hiw-aud-col li::before {
 content: "";
 position: absolute;
 left: 0;
 top: 18px;
 width: 7px;
 height: 7px;
 border-radius: 50%;
}
.hiw-aud-col.--yes li::before { background: var(--sage); }
.hiw-aud-col.--no li { color: var(--ink-mute); }
.hiw-aud-col.--no li::before { background: var(--rule); }
.looking-for-box {
 margin: 1.5em 0;
 padding: 28px 24px;
 background: var(--paper-warm);
 border-left: 3px solid var(--rust);
}
.looking-for-box h2 {
 margin-top: 0;
 font-size: clamp(22px, 2.4vw, 28px);
}
.looking-for-box p {
 font-family: var(--font-body);
 font-size: 18px;
 line-height: 1.55;
 color: var(--ink-soft);
 margin-top: 12px;
}
.looking-for-box a {
 color: var(--rust);
 border-bottom: 1px solid var(--rust);
}

.about-lens-intro {
 font-size: clamp(18px, 1.35vw, 20px);
 line-height: 1.65;
 color: var(--ink-soft);
}
.about-pull-quote {
 margin: 1.5em 0;
 padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 36px);
 background: var(--paper-deep);
 border: 1px solid var(--rule);
 border-radius: 4px;
 text-align: center;
}
.about-pull-quote blockquote {
 font-family: var(--font-display);
 font-size: clamp(22px, 2.4vw, 30px);
 font-weight: 400;
 font-style: italic;
 line-height: 1.35;
 letter-spacing: -0.02em;
 margin: 0 auto;
 border: none;
 padding: 0;
 color: var(--ink);
 max-width: 34ch;
}
.about-pull-quote blockquote::before {
 content: "\201C";
 display: block;
 font-size: 48px;
 font-style: normal;
 color: var(--rust);
 line-height: 0.5;
 margin-bottom: 12px;
}

/* =========================================
 JUNE 17 - NEW SECTIONS
 Home: Built On, credibility, who-for, CTA band.
 Track record: 5-up grid. Engage: enquiry forms.
 ========================================= */

/* ---------- Home: Built On strip ---------- */
.built-on {
 background: var(--paper);
 padding: var(--space-section) 0;
 border-top: 1px solid var(--rule);
 border-bottom: 1px solid var(--rule);
}
.built-on .eyebrow { color: var(--rust); }
.built-on-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 0;
 margin-top: var(--space-block);
 border-top: 1px solid var(--rule);
}
.built-on-item {
 padding: 32px 28px 0 0;
 border-right: 1px solid var(--rule);
}
.built-on-item:not(:first-child) { padding-left: 28px; }
.built-on-item:last-child { border-right: none; padding-right: 0; }
.built-on-num {
 font-family: var(--font-display);
 font-size: clamp(48px, 5.5vw, 72px);
 font-weight: 300;
 line-height: 0.95;
 letter-spacing: -0.03em;
 color: var(--rust);
 margin-bottom: 14px;
}
.built-on-num .unit {
 font-size: 0.5em;
 color: var(--ink-soft);
 margin-left: 4px;
 vertical-align: super;
 font-style: italic;
}
.built-on-text {
 font-family: var(--font-body);
 font-size: var(--text-body-sm);
 line-height: 1.7;
 color: var(--ink-soft);
}
.built-on-cta {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 margin-top: var(--space-block);
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: var(--ink);
 border-bottom: 1px solid var(--rust);
 padding-bottom: 4px;
 transition: color 0.3s var(--ease);
}
.built-on-cta:hover { color: var(--rust); }
.built-on-cta span { transition: transform 0.3s var(--ease); }
.built-on-cta:hover span { transform: translateX(4px); }

/* ---------- Home: credibility narrative ---------- */
.home-credibility-inner { max-width: 72%; }
.home-credibility-inner p {
 font-family: var(--font-body);
 font-size: var(--text-body-sm);
 line-height: 1.7;
 color: var(--ink-soft);
 margin-bottom: 20px;
}
.home-credibility-resolve {
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(20px, 1.8vw, 26px);
 line-height: 1.4;
 color: var(--ink) !important;
}
.home-credibility-resolve strong { font-style: normal; color: var(--rust); }

/* ---------- Home: who-this-is-for resolve ---------- */
.who-for-resolve {
 max-width: 72%;
 margin-top: var(--space-block);
 padding-left: 28px;
 border-left: 2px solid var(--rust);
 font-family: var(--font-display);
 font-style: italic;
 font-size: clamp(20px, 1.8vw, 26px);
 line-height: 1.5;
 color: var(--ink);
}

/* ---------- Home: bottom CTA band ---------- */
/* ---------- Track record: five-up grid ---------- */
.impact-grid.--five { grid-template-columns: repeat(5, 1fr); }
.impact-grid.--five .impact-stat:nth-child(4n) { border-right: 1px solid rgba(245, 241, 232, 0.15); }
.impact-grid.--five .impact-stat:nth-child(5n) { border-right: none; }
@media (max-width: 900px) {
 .impact-grid.--five { grid-template-columns: repeat(2, 1fr); }
 .impact-grid.--five .impact-stat:nth-child(5n) { border-right: 1px solid rgba(245, 241, 232, 0.15); }
 .impact-grid.--five .impact-stat:nth-child(2n) { border-right: none; }
}
@media (max-width: 500px) {
 .impact-grid.--five { grid-template-columns: 1fr; }
}

/* ---------- Engage: Speaking & Writing / Projects ---------- */
.engage-intro-prose p {
 font-family: var(--font-body);
 font-size: var(--lede-size);
 line-height: var(--lede-leading);
 color: var(--ink-soft);
 margin-bottom: 18px;
}
.engage-modes {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--ink-mute);
 margin-top: 12px;
}
.engage-block { max-width: 72%; }
.engage-block .lens-intro,
.engage-block .engage-process { max-width: 100%; }
.engage-intro-prose { max-width: 72%; }
#core-lens { padding-top: var(--space-block); }
#core-lens .lens-intro { max-width: 72%; }
@media (max-width: 900px) {
 .home-credibility-inner,
 .who-for-resolve,
 .engage-block,
 .engage-intro-prose,
 #core-lens .lens-intro { max-width: 100%; }
}
.engage-fortext {
 margin-top: 22px;
 font-family: var(--font-body);
 font-size: 16px;
 line-height: 1.6;
 color: var(--ink-soft);
}
.engage-fortext .booking-for { display: inline; margin: 0 8px 0 0; }
.engage-points-label {
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--rust);
 margin-top: var(--space-block);
 margin-bottom: 16px;
}
.engage-points { display: grid; gap: 20px; }
.engage-point {
 font-family: var(--font-body);
 font-size: 16px;
 line-height: 1.6;
 color: var(--ink-soft);
 padding-left: 20px;
 border-left: 2px solid var(--rule);
}
.engage-point strong { color: var(--ink); font-weight: 600; }
.engage-process {
 margin-top: var(--space-block);
 font-family: var(--font-body);
 font-size: 16px;
 line-height: 1.7;
 color: var(--ink-soft);
 max-width: 68ch;
}
.engage-points-label + .engage-process { margin-top: 0; }
.engage-enquiry { margin-top: var(--space-block); }
.engage-contact-toggle { border: none; cursor: pointer; }
.engage-form-wrap { margin-top: 28px; }
.engage-form-wrap[hidden] { display: none; }

/* ---------- Work-with-me: detail panel (slides in from the right) ---------- */
.engage-modal-toggle { border: none; cursor: pointer; }
.engage-modal {
 position: fixed;
 inset: 0;
 z-index: 200;
 display: flex;
 justify-content: flex-end;
}
.engage-modal[hidden] { display: none; }
.engage-modal-backdrop {
 position: absolute;
 inset: 0;
 background: rgba(21, 20, 15, 0.55);
 cursor: pointer;
 opacity: 0;
 transition: opacity 0.3s var(--ease);
}
.engage-modal.is-open .engage-modal-backdrop { opacity: 1; }
.engage-modal-dialog {
 position: relative;
 z-index: 1;
 width: min(560px, 100%);
 height: 100%;
 overflow-y: auto;
 background: var(--paper);
 border-left: 1px solid var(--rule);
 padding: clamp(28px, 4vw, 56px);
 transform: translateX(100%);
 transition: transform 0.4s var(--ease);
}
.engage-modal.is-open .engage-modal-dialog { transform: translateX(0); }
.engage-modal-dialog::before {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 bottom: 0;
 width: 4px;
 background: var(--rust);
}
.engage-modal-close {
 position: absolute;
 top: 14px;
 right: 18px;
 font-family: var(--font-mono);
 font-size: 26px;
 line-height: 1;
 color: var(--ink-mute);
 padding: 6px 8px;
 transition: color 0.3s var(--ease);
}
.engage-modal-close:hover { color: var(--rust); }
.engage-modal-tier {
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--rust);
 margin-bottom: 10px;
}
.engage-modal-dialog .fb-form { max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
 .engage-modal-dialog { transition: none; }
 .engage-modal-backdrop { transition: none; }
}
body.modal-open { overflow: hidden; }

/* ---------- Shared enquiry / feedback form ---------- */
.fb-form { max-width: 75ch; }
.fb-name { max-width: 420px; margin-top: 18px; }
.fb-field { margin-top: 26px; }
.fb-field label {
 display: block;
 font-family: var(--font-body);
 font-size: clamp(17px, 1.3vw, 19px);
 color: var(--ink);
 margin-bottom: 10px;
}
.fb-optional { color: var(--ink-mute); font-size: 0.85em; font-style: italic; }
.fb-field input,
.fb-field textarea {
 width: 100%;
 font-family: var(--font-body);
 font-size: 16px;
 line-height: 1.6;
 color: var(--ink);
 background: var(--paper);
 border: 1px solid var(--rule);
 border-radius: 0;
 padding: 14px 16px;
 outline: none;
 transition: border-color 0.3s var(--ease);
}
.fb-field input:focus,
.fb-field textarea:focus { border-color: var(--rust); }
.fb-field textarea { min-height: 112px; resize: vertical; }
.fb-field input::placeholder,
.fb-field textarea::placeholder { color: var(--ink-mute); font-style: italic; }
.fb-submit {
 margin-top: 36px;
 padding: 16px 34px;
 font-family: var(--font-mono);
 font-size: 12px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 background: var(--ink);
 color: var(--paper);
 border: none;
 cursor: pointer;
 transition: background 0.3s var(--ease);
}
.fb-submit:hover { background: var(--rust); }
.fb-submit:disabled { opacity: 0.5; cursor: default; }
.fb-note {
 margin-top: 18px;
 font-family: var(--font-mono);
 font-size: 11px;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--ink-mute);
}
.fb-error {
 margin-top: 18px;
 font-family: var(--font-body);
 font-size: 15px;
 line-height: 1.6;
 color: var(--rust);
 display: none;
}
.fb-error.is-visible { display: block; }
.fb-thanks { display: none; max-width: 60ch; }
.fb-thanks.is-visible { display: block; }
.fb-thanks p {
 margin-top: 22px;
 font-size: clamp(18px, 1.4vw, 21px);
 line-height: 1.7;
 color: var(--ink-soft);
}
:root.dark .fb-field input,
:root.dark .fb-field textarea { background: transparent; color: var(--ink); border-color: var(--ink-soft); }

/* =========================================
 MOBILE QA PASS
 Desktop unchanged; rules scoped to small viewports only.
 ========================================= */

@media (max-width: 900px) {
 .editorial-asymmetric .prose { order: 1; }
 .editorial-asymmetric .editorial-margin { order: 2; }
 .editorial-asymmetric .about-aside {
 order: 3;
 position: static !important;
 top: auto !important;
 }
 .editorial-asymmetric .about-aside .headshot {
 max-width: min(280px, 100%);
 margin-left: auto;
 margin-right: auto;
 }
}

@media (max-width: 760px) {
 .site-header { padding: 14px 16px; }
 .header-inner { gap: 12px; }
 .brand {
 font-size: 15px;
 gap: 8px;
 min-width: 0;
 }
 .brand span { line-height: 1.15; }
 .menu-toggle {
 flex-shrink: 0;
 padding: 10px;
 min-width: 44px;
 min-height: 44px;
 display: flex;
 align-items: center;
 justify-content: center;
 }
 .nav.open {
 z-index: 101;
 box-shadow: 0 12px 32px rgba(27, 26, 23, 0.08);
 }
 .nav.open .theme-toggle {
 margin-left: 0;
 margin-top: 8px;
 }
 .section-header { align-items: flex-start; gap: 16px; }
 .page-hero { padding-top: 96px; }
 .engage-book#engage { padding-top: calc(88px + var(--space-section-compact)) !important; }
}

@media (max-width: 640px) {
 .hero-eyebrow {
 flex-wrap: wrap;
 gap: 10px;
 font-size: 10px;
 letter-spacing: 0.14em;
 }
 .hero-eyebrow::before { width: 32px; }
 .hero-ctas {
 flex-direction: column;
 align-items: stretch;
 gap: 12px;
 }
 .hero-ctas .btn {
 justify-content: center;
 width: 100%;
 }
 .prose .drop-cap::first-letter {
 font-size: 4em;
 margin-right: 0.08em;
 }
 .worldview-band::after { inset: -12px 0 0 0; }
 .impact-stat:not(:first-child) { padding-left: 0; }
 .impact-stat { padding-right: 0; }
 .working-card {
 min-height: auto;
 grid-template-columns: 1fr;
 grid-template-rows: auto;
 padding: 24px 20px;
 }
 .working-card-date {
 grid-column: 1;
 grid-row: auto;
 justify-self: start;
 writing-mode: horizontal-tb;
 transform: none;
 margin-bottom: 12px;
 padding: 0;
 }
 .working-card > div:nth-child(2),
 .working-card-desc,
 .working-card-link { grid-column: 1; }
 .carousel-arrow {
 min-height: 44px;
 min-width: 44px;
 padding: 10px 12px;
 }
 .carousel-dot {
 width: 12px;
 height: 12px;
 }
 .footer-bottom {
 flex-direction: column;
 align-items: flex-start;
 gap: 12px;
 }
 .writing-group-header {
 flex-direction: column;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 24px;
 }
 .writing-group-source { align-self: flex-start; }
}

@media (max-width: 700px) {
 .essay-row:hover {
 padding-left: 0;
 padding-right: 0;
 }
}

@media (hover: none) and (pointer: coarse) {
 .booking-card:hover,
 .hiw-svc:hover,
 .working-card:hover,
 .lens-card:hover {
 transform: none;
 }
}

/* ---------- June 17 new sections: mobile ---------- */
@media (max-width: 760px) {
 .built-on-grid { grid-template-columns: 1fr; border-top: none; }
 .built-on-item {
 border-right: none;
 border-top: 1px solid var(--rule);
 padding: 24px 0 0 0;
 }
 .built-on-item:not(:first-child) { padding-left: 0; }
 .built-on-item:first-child { border-top: none; padding-top: 0; }
}

@media (max-width: 640px) {
 .engage-point { padding-left: 16px; }
}
