/* ==========================================================================
   joanngarbin.com — site styles
   The "personal" node of the Regenerous family. Same bones as the Lab's
   design system and the book site (Manrope + Space Grotesk, pill buttons,
   20px radii, quiet grounds, em-dash lists, headline + colored period), but:
     — the hero and closing band are the Lab's slate knockout
     — coral is promoted from "one alert" to the single CTA color
     — the fern dot carries over untouched, so the family reads as one
     — the handwritten signature is the wordmark
   ========================================================================== */

/* Fraunces italic — the testimonial open-quote glyph only (subset to that one character) */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@1,300&text=%E2%80%9C&display=swap");

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
  /* Structure — straight from the Lab */
  --slate: #506275;
  --slate-deep: #3d4b5b;
  --ink: #3f464c;
  --muted: #6b7684;
  --hairline: rgba(80, 98, 117, 0.18);
  --hairline-soft: rgba(80, 98, 117, 0.10);

  /* Grounds */
  --paper: #ffffff;
  --paper-warm: #fbfaf7;
  --mint: #ebeff5;
  --cloud: #c6d4de;
  --sky: #a2c2d7;

  /* Signal */
  --fern: #a1c364;      /* the dot, one emphasis word */
  --fern-deep: #6f9139; /* fern for text on light grounds */
  --coral: #ee845d;     /* the CTA — this site's one promotion */
  --coral-deep: #d9714b;
  --tint-fern: #eef4e1;
  --tint-coral: #fdeee7;
  --tint-sky: #e8f0f6;

  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-meta: "Space Grotesk", ui-monospace, monospace;

  --r-lg: 20px; --r-md: 16px; --r-pill: 999px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-display); font-weight: 400;
  font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.1; letter-spacing: -0.025em; }
::selection { background: var(--tint-fern); }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-meta); font-size: 13px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fern); flex: none; }
.eyebrow.plain::before { display: none; }

.display { font-size: clamp(40px, 6vw, 76px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 300; }
.h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; font-weight: 300; text-wrap: pretty; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; font-weight: 500; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--slate); max-width: 72ch; text-wrap: balance; }
.body { max-width: 68ch; }
.dot-end { color: var(--fern); }
.em { font-weight: 500; }
.em.fern { color: var(--fern-deep); }
.em.coral { color: var(--coral-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--r-pill);
  font: 500 17px/1 var(--font-display); letter-spacing: -0.005em;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 120ms var(--ease), border-color 200ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .arrow { color: var(--fern); }
.btn.primary { background: var(--slate); color: #fff; }
.btn.primary:hover { background: var(--slate-deep); }
.btn.accent { background: var(--coral); color: #fff; }
.btn.accent:hover { background: var(--coral-deep); }
.btn.accent .arrow { color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(80,98,117,.35); }
.btn.ghost:hover { background: var(--mint); }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn.ghost.light:hover { background: rgba(255,255,255,.1); }
.btn.sm { padding: 12px 20px; font-size: 15px; }
.link { font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.link .arrow { color: var(--fern); transition: transform 200ms var(--ease); }
.link:hover .arrow { transform: translateX(3px); }

/* ---------- Family bar (shared across the four sites) ---------- */
.family { background: var(--ink); color: var(--cloud); font-size: 13px; }
.family .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.family ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.family ul::-webkit-scrollbar { display: none; }
.family a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; color: var(--cloud); transition: color 200ms var(--ease), background 200ms var(--ease); }
.family a:hover { color: #fff; background: rgba(255,255,255,.06); }
.family a[aria-current="true"] { color: #fff; }
.family a[aria-current="true"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fern); }
.family .label { font-family: var(--font-meta); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .family .label { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand .wordmark { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.brand .wordmark::after { content: "."; color: var(--fern); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--slate); transition: background 200ms var(--ease), color 200ms var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--mint); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--coral-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 4px;
         padding: 12px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--hairline); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.mint { background: var(--mint); }
.section.warm { background: var(--paper-warm); }
.section.slate { background: var(--slate); color: #fff; }
.section.slate .eyebrow { color: var(--sky); }
.section.slate .lead { color: var(--cloud); }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.row { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 700px) { .section-head.row { grid-template-columns: 1fr; } }

/* ---------- Hero (slate knockout, photo right) ---------- */
.hero { background: var(--slate-deep); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: end; min-height: 560px; }
.hero-copy { display: grid; gap: 28px; padding: clamp(56px, 8vw, 110px) 0; }
.hero .eyebrow { color: var(--sky); }
.hero .display { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 300; }
.hero .display .em { font-weight: 500; }
.hero .roles { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--cloud); font-size: 17px; }
.hero .roles li::before { content: "— "; color: var(--fern); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-art { align-self: stretch; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hero-art img { width: 100%; max-width: 520px; height: auto; object-fit: cover; object-position: top; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.hero-art::before { content: ""; position: absolute; inset: 18% 6% 0; border-radius: 50% 50% 0 0; background: radial-gradient(closest-side, rgba(162,194,215,.28), transparent); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-bottom: 32px; }
  .hero-art img { max-width: 360px; }
}

/* Full-bleed variant: the studio portrait is the ground, the quote sits on its backdrop */
.hero.bleed { background: #3b434b url("../assets/hero-wide.jpg") no-repeat 72% top / cover; min-height: clamp(520px, 78vh, 820px); display: flex; align-items: center; }
.hero.bleed .wrap { display: block; min-height: 0; }
.hero.bleed .hero-copy { max-width: 540px; padding: clamp(56px, 8vw, 110px) 0; gap: 24px; }
.hero.bleed .display { font-size: clamp(30px, 3.4vw, 46px); }
.hero.bleed .roles { font-size: 16px; }
.hero.bleed .roles li::before { content: none; }
.hero.bleed .display { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
@media (max-width: 900px) {
  /* Stack on phones: portrait on top, quote on solid slate beneath, with a fade between */
  .hero.bleed { background: #3b434b url("../assets/hero.jpg") no-repeat center top / 100% auto; align-items: flex-end; }
  .hero.bleed::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 105vw; background: linear-gradient(180deg, rgba(59,67,75,0) 55%, #3b434b 100%); }
  .hero.bleed .wrap { position: relative; }
  .hero.bleed .hero-copy { padding-top: 78vw; padding-bottom: 40px; }
  .hero.bleed .display { text-shadow: none; }
}

/* ---------- Recognition line ---------- */
.recognition { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: center; text-align: center; }
.recognition .eyebrow { color: var(--muted); flex-basis: 100%; justify-content: center; margin-bottom: 6px; }
.recognition b { font-weight: 500; color: var(--slate); font-size: 16px; letter-spacing: -0.01em; }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Spokes (the three properties) ---------- */
.spokes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .spokes { grid-template-columns: 1fr; } }
.spoke {
  border-radius: var(--r-lg); padding: 28px 28px 24px; min-height: 300px;
  display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--hairline);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.spoke:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(63,70,76,.08); }
.spoke .tag { font-family: var(--font-meta); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); display: flex; align-items: center; gap: 10px; }
.spoke .tag::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--fern)); }
.spoke h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.spoke p { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.5; flex: 1; }
.spoke .link { font-size: 15px; }
.spoke.lab { --c: var(--fern); border-color: transparent; }
.spoke.book { --c: var(--coral); border-color: transparent; }
.spoke.iol { --c: var(--slate); border-color: transparent; }

/* ---------- Posts (from Substack) ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.post {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 26px 26px 22px;
  display: grid; gap: 12px; align-content: start;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.post:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(63,70,76,.08); }
.post.has-img { padding-top: 0; }
.post.has-img > img { aspect-ratio: 16 / 9; object-fit: cover; width: calc(100% + 52px); max-width: none; margin: 0 -26px 10px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--mint); }
.post .meta { font-family: var(--font-meta); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.post p { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post .link { font-size: 15px; margin-top: 4px; }
.posts-status { color: var(--muted); font-size: 15px; }
.posts-status[hidden] { display: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }
.stat { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 10px; }
.stat .n { font-weight: 200; font-size: 72px; line-height: .85; letter-spacing: -0.05em; color: var(--slate); }
.stat .n small { font-size: .5em; color: var(--fern-deep); font-weight: 300; }
.stat p { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.4; }

/* ---------- Prose (long-form pages) ---------- */
.prose { max-width: 68ch; font-size: 19px; line-height: 1.7; }
.prose p { margin: 0 0 1.3em; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 400; letter-spacing: -0.025em; margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose .pull { font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; letter-spacing: -0.015em; color: var(--slate); border-left: 2px solid var(--fern); padding-left: 24px; margin: 1.6em 0; }
.prose a { font-weight: 500; border-bottom: 1px solid var(--fern); }
.prose a:hover { border-bottom-color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-card { background: var(--mint); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.aside-card h4 { font-family: var(--font-meta); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); font-weight: 500; }
.aside-card p { margin: 0; font-size: 15px; color: var(--slate); line-height: 1.5; }
.aside-card img { border-radius: var(--r-md); filter: grayscale(.9) contrast(1.02); background: var(--cloud); aspect-ratio: 1; object-fit: cover; }

/* ---------- Dash lists ---------- */
.dash { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.dash li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; line-height: 1.45; }
.dash li::before { content: "—"; color: var(--fern); font-weight: 500; }
.dash.big li { font-size: clamp(19px, 1.7vw, 23px); font-weight: 300; letter-spacing: -0.01em; }
.dash.formats-list { gap: 22px; }
.dash.formats-list li { align-items: baseline; }
.dash.formats-list b { display: block; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.dash.formats-list span { display: block; color: var(--slate); font-size: 17px; margin-top: 4px; }

/* ---------- Topics (speaking) ---------- */
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.topic { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.topic .num { font-weight: 200; font-size: 48px; line-height: .9; letter-spacing: -0.04em; color: var(--fern-deep); }
.topic h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.topic p { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.5; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; }
.formats span { font-size: 15px; padding: 8px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--hairline); color: var(--slate); display: inline-flex; align-items: center; gap: 8px; }
.formats span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fern); }
.section.slate .formats span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }

/* ---------- Quote ---------- */
.quote { display: grid; gap: 20px; margin: 0; }
.quote .mark { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 300; font-size: 96px; line-height: .5; color: var(--fern); height: 36px; }
.quote blockquote { margin: 0; }
.quote blockquote { max-width: 900px; }
.quote p { text-wrap: pretty; font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.35; margin: 0; }
.quote cite { font-style: normal; display: grid; gap: 2px; }
.quote cite b { font-weight: 500; font-size: 16px; }
.quote cite span { font-family: var(--font-meta); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.section.slate .quote cite span { color: var(--sky); }

/* ---------- Library ---------- */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.shelf a { display: grid; gap: 4px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 18px 20px; transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 200ms var(--ease); }
.shelf a:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(63,70,76,.07); }
.shelf b { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; }
.shelf span { font-size: 14px; color: var(--muted); }
.shelf-head { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; margin: clamp(32px, 5vw, 56px) 0 20px; }
.shelf-head:first-of-type { margin-top: 0; }
@media (max-width: 700px) { .shelf-head { grid-template-columns: 1fr; gap: 8px; } }
.shelf-head h2 { font-size: 28px; font-weight: 400; letter-spacing: -0.02em; }
.shelf-head p { margin: 0; color: var(--slate); font-size: 16px; }

/* Cover tiles — books, podcasts, videos */
.covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 16px; }
.covers.videos { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cover { display: grid; gap: 4px; align-content: start; }
.cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; background: var(--mint); margin-bottom: 8px;
  box-shadow: 0 10px 28px rgba(63,70,76,.10); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.cover.square img { aspect-ratio: 1; }
.cover.wide img { aspect-ratio: 16 / 9; border-radius: var(--r-md); }
.cover:hover img { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(63,70,76,.16); }
.cover b { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; line-height: 1.3; }
.cover span { font-size: 13px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.routes { display: grid; gap: 12px; }
.route { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 6px; }
.route h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.route p { margin: 0; font-size: 15px; color: var(--slate); line-height: 1.5; }
.route .link { font-size: 15px; }
.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-meta); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.field input, .field textarea, .field select {
  font: 400 17px var(--font-display); color: var(--ink); padding: 14px 16px;
  border: 1px solid var(--hairline); border-radius: 12px; background: var(--paper-warm); width: 100%;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--slate); background: #fff; }
.field textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border-radius: 12px; background: var(--tint-fern); border: 1px solid rgba(161,195,100,.5); }

/* ---------- Closing band ---------- */
.closing { text-align: center; }
.closing .wrap { display: grid; gap: 24px; justify-items: center; }
.closing .h2 { max-width: 20ch; }
.closing .h2 .em { color: var(--fern); font-weight: 500; }
.closing .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cloud); padding: 56px 0 40px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.site-footer .wrap > div { flex: 1 1 160px; }
.site-footer .wrap > .foot-brand { flex: 2 1 320px; max-width: 420px; display: grid; gap: 16px; align-content: start; }
.site-footer .foot-brand .brand { margin-bottom: 0; }
.site-footer .tagline { margin: 0; line-height: 1.55; }
.site-footer h4 { font-family: var(--font-meta); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand img { height: 34px; }
.site-footer .wrap > .fine { flex: 1 1 100%; max-width: none; margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--sky); font-size: 13px; }
.social { display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); transition: background 200ms var(--ease); }
.social a:hover { background: rgba(255,255,255,.08); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); background: var(--paper-warm); }
.page-hero .wrap { display: grid; gap: 20px; justify-items: start; }
.page-hero .lead { max-width: 72ch; }
.page-hero.slate { background: var(--slate-deep); color: #fff; }
.page-hero.slate .eyebrow { color: var(--sky); }
.page-hero.slate .lead { color: var(--cloud); }

/* ---------- Utilities ---------- */
br.wide { display: none; }
@media (min-width: 900px) { br.wide { display: inline; } }
.stack { display: grid; gap: 16px; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.mt-m { margin-top: 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   October 2026 redesign additions
   ========================================================================== */

/* Full-bleed photo hero, inner-page variant (About) */
.hero.bleed.page { min-height: clamp(480px, 66vh, 720px); }
.hero.bleed.page .hero-copy { max-width: 560px; }
.hero.bleed.page .display { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.12; }
.hero.bleed.page .display .em.fern { color: var(--fern); }
.hero.bleed .lead { color: var(--cloud); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; }

/* Stats without cards, sitting straight on the mint band */
.stats.plain .stat { background: none; border: 0; border-radius: 0; padding: 8px 0; gap: 6px; }
.stats.plain .stat .n { font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.stats.plain .stat .n small { font-size: 1em; font-weight: 200; color: var(--fern); }

/* Prose refinements */
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -0.02em; margin-top: 1.9em; }
.prose a { font-weight: inherit; color: var(--slate); border-bottom: 0; text-decoration: underline; text-decoration-color: var(--fern); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.prose .pull.rule { border-left: 0; padding-left: 0; line-height: 1.4; display: grid; gap: 16px; }
.prose .pull.rule::before { content: ""; width: 32px; height: 2px; background: var(--fern); }

/* Aside cards: photo card + white cards */
.aside-card.photo { padding: 0; overflow: hidden; gap: 0; }
.aside-card.photo img { border-radius: 0; filter: none; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; }
.aside-card.photo .who { display: grid; gap: 2px; padding: 22px 24px 24px; }
.aside-card.photo .who b { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.aside-card.photo .who span { font-size: 15px; line-height: 1.5; color: var(--slate); }
.aside-card.white { background: #fff; border: 1px solid var(--hairline); padding: 22px 24px; gap: 10px; }
.aside-card .links { display: grid; gap: 6px; font-size: 15px; }
.aside-card .link { font-size: 15px; }
.hero.bleed.page.speaking .hero-copy { max-width: 580px; }
.hero.bleed.page.speaking .lead { font-size: 18px; line-height: 1.6; }
.hero.bleed.page .display .em { font-weight: 500; }

/* Signature talks on mint cards */
.topics.mint-cards .topic { background: var(--mint); border: 0; padding: 32px 28px; gap: 18px; }
.topics.mint-cards .topic .num { font-size: 72px; line-height: 1; color: var(--slate); }
.topics.mint-cards .topic h3 { font-size: 24px; line-height: 1.2; }
.topics.mint-cards .topic p { line-height: 1.55; }

/* Formats as ruled rows */
.format-rows { display: grid; }
.format-row { display: grid; grid-template-columns: 28px 1fr; gap: 4px 8px; padding: 20px 0; border-top: 1px solid var(--hairline); }
.format-row:last-child { border-bottom: 1px solid var(--hairline); }
.format-row::before { content: "—"; color: var(--fern); grid-row: 1; }
.format-row b { font-weight: 500; font-size: 19px; }
.format-row p { grid-column: 2; margin: 0; font-size: 16px; line-height: 1.55; color: var(--slate); }

/* Founding story */
.page-hero.slate .display { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -0.03em; }
.page-hero.slate .display .em.fern { color: var(--fern); }
.page-hero.slate .lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; }
.prose .signature { height: 48px; width: auto; margin-top: 12px; }

/* Insights */
.page-hero.slate.insights .display { font-size: clamp(36px, 5vw, 68px); line-height: 1.08; letter-spacing: -0.035em; }
.post.no-img { padding-top: 0; }
.post-num { aspect-ratio: 16 / 9; width: calc(100% + 52px); margin: 0 -26px 10px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--mint); display: flex; align-items: flex-end; padding: 22px 26px; }
.post-num span { font-size: 56px; font-weight: 200; letter-spacing: -0.04em; line-height: 1; color: var(--slate); }
.spokes.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.spoke.essay { padding: 32px 30px 28px; min-height: 260px; background: #fff; }
.spoke.essay h3 { line-height: 1.2; }
.eyebrow-link { transition: color 200ms var(--ease); }
.page-hero.slate .eyebrow-link:hover { color: #fff; }

/* Library */
.page-hero.slate.library .display { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.15; letter-spacing: -0.03em; }
.page-hero.slate .dash-lead { color: var(--fern); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jump a { font-size: 15px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.3); color: #fff; display: inline-flex; align-items: center; gap: 8px; transition: background 200ms var(--ease); }
.jump a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fern); }
.jump a:hover { background: rgba(255,255,255,.1); }
.shelf-section { scroll-margin-top: 76px; }
.shelf-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 48px; margin-bottom: clamp(32px, 5vw, 48px); }
.shelf-top p { margin: 0; font-size: 17px; color: var(--slate); max-width: 52ch; }
.covers.books, .covers.pods { gap: 36px 24px; }
.covers .cover { gap: 6px; transition: transform 240ms var(--ease); }
.covers .cover:hover { transform: translateY(-2px); }
.covers .cover:hover img { transform: none; }
.covers .cover b { font-size: 16px; }
.covers .cover span { font-size: 14px; line-height: 1.3; }
.covers.books .cover img { box-shadow: 0 10px 24px rgba(63,70,76,.10); }
.covers.pods .cover img { border-radius: var(--r-md); box-shadow: none; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.video { background: #fff; border-radius: var(--r-lg); overflow: hidden; display: grid; align-content: start; transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.video:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(63,70,76,.08); }
.video-art { aspect-ratio: 16 / 9; background: var(--cloud); }
.video-art img { width: 100%; height: 100%; object-fit: cover; }
.video-art.square { display: flex; align-items: center; justify-content: center; padding: 20px; }
.video-art.square img { height: 100%; width: auto; aspect-ratio: 1; border-radius: var(--r-md); }
.video-body { display: grid; gap: 8px; padding: 20px 24px 24px; }
.video-body h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.video-body p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.5; }

/* Contact */
.page-hero.slate.contact-hero .display { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; letter-spacing: -0.035em; }
.contact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.routes.ruled { gap: 0; }
.routes.ruled .route { background: none; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; padding: 24px 0; gap: 8px; }
.routes.ruled .route:last-child { border-bottom: 1px solid var(--hairline); }
.routes.ruled .route .num { font-family: var(--font-meta); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.routes.ruled .route h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.routes.ruled .route p { font-size: 16px; line-height: 1.55; }
.routes.ruled .route .link { margin-top: 4px; }
.route .inline { font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--fern); text-underline-offset: 3px; }
.form.mint-form { background: var(--mint); border: 0; padding: clamp(24px, 4vw, 40px); }
.form.mint-form .row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 18px; }
.form.mint-form .field { gap: 6px; }
.form.mint-form .field label { font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--slate); }
.form.mint-form .field input, .form.mint-form .field textarea, .form.mint-form .field select { background: #fff; border-color: rgba(80,98,117,.22); font-size: 16px; }
.form.mint-form .field input:focus, .form.mint-form .field textarea:focus, .form.mint-form .field select:focus { border-color: var(--slate); box-shadow: 0 0 0 3px rgba(161,195,100,.35); }

/* Thanks + 404: the slate ground fills the viewport down to the footer */
body:has(main.fill) { min-height: 100vh; display: flex; flex-direction: column; }
main.fill { flex: 1; display: flex; flex-direction: column; background: var(--slate-deep); }
.page-hero.slate.full { flex: 1; display: flex; align-items: center; padding: clamp(80px, 12vw, 160px) 0; }
.page-hero.slate.full .wrap { gap: 24px; }
.page-hero.slate.full .display { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; letter-spacing: -0.035em; }
.page-hero.slate.full .display .em.fern { color: var(--fern); }
.page-hero.slate.full .sig { height: 44px; width: auto; }
.page-hero.slate.full .hero-actions { margin-top: 8px; }
.topics.mint-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.section-head .small.muted { font-size: 16px; }
.aside-card .links .link { justify-self: start; }
