/* ============================================================
   Build Something — shared design system  (assets/bs.css)
   Sleek, modern, software-native. Light base, dark feature
   sections, Inter, restrained indigo accent. No paper, no serif.
   Load Inter in <head>:
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --bg: #f4efe5;
  --surface: #ece3d4;
  --surface-2: #fbf7f0;
  --ink: #1b1610;
  --ink-2: #5c5247;
  --ink-3: #8c8073;
  --line: rgba(27, 22, 16, 0.12);
  --line-2: rgba(27, 22, 16, 0.07);
  --accent: #9c7a3c;
  --accent-2: #c6a563;
  --accent-soft: rgba(156, 122, 60, 0.08);
  --dark: #1b1610;
  --dark-2: #241d15;
  --on-dark: #f4efe5;
  --on-dark-2: rgba(244, 239, 229, 0.66);
  --on-dark-line: rgba(244, 239, 229, 0.16);
  --radius: 3px;
  --radius-lg: 4px;
  --ring: var(--accent);
  --ring-blue: #3d7bd6;
  --shadow: 0 1px 2px rgba(11,11,12,0.04), 0 12px 32px rgba(11,11,12,0.06);
  --shadow-lg: 0 2px 4px rgba(11,11,12,0.05), 0 28px 64px rgba(11,11,12,0.10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(20px, 5vw, 40px);
  --max: 800px;
  --max-wide: 1080px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(64px, 11vw, 120px) 0; }
.section-sm { padding: clamp(44px, 7vw, 72px) 0; }
.dark { background: var(--dark); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--on-dark); }
.dark .copy, .dark .lede { color: var(--on-dark-2); }
.dark .copy strong { color: var(--on-dark); }
.dark .eyebrow { color: var(--accent-2); }
.dark .eyebrow::before { background: var(--accent-2); }
.dark .pull { color: var(--on-dark); }
.dark .card { background: var(--dark-2); border-color: var(--on-dark-line); box-shadow: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244,239,229,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-2); }
.nav.on-dark { background: rgba(11,11,12,0.7); border-bottom-color: var(--on-dark-line); }
.nav-inner { max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: 0; font-size: 1.18rem; white-space: nowrap; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 22px); min-width: 0; }
.nav-links a { font-family: "Source Serif 4", Georgia, serif; font-size: 1.06rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav.on-dark .nav-links a { color: var(--on-dark-2); }
.nav.on-dark .nav-links a:hover { color: var(--on-dark); }
.nav-links a.nav-cta { font-family: var(--font); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em; color: var(--on-dark); background: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius); padding: 8px 15px; white-space: nowrap; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.nav-links a.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }
.nav.on-dark .nav-links a.nav-cta { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.nav.on-dark .nav-links a.nav-cta:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); }
.nav-menu { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 22px); min-width: 0; }
.nav-more { position: relative; display: inline-flex; align-items: center; }
.nav-more-toggle { appearance: none; border: 0; background: transparent; padding: 0; cursor: default; font-family: "Source Serif 4", Georgia, serif; font-size: 1.06rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color 0.15s ease; }
.nav-more:hover .nav-more-toggle,
.nav-more:focus-within .nav-more-toggle { color: var(--ink); }
.nav-more-menu { position: absolute; top: calc(100% + 14px); right: 0; min-width: 146px; display: grid; gap: 0; padding: 8px; background: rgba(251,247,240,0.98); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease; }
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-more-menu a { padding: 8px 10px; }
.nav.on-dark .nav-more-toggle { color: var(--on-dark-2); }
.nav.on-dark .nav-more:hover .nav-more-toggle,
.nav.on-dark .nav-more:focus-within .nav-more-toggle { color: var(--on-dark); }
.nav.on-dark .nav-more-menu { background: rgba(27,22,16,0.98); border-color: var(--on-dark-line); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; margin-right: -6px; padding: 0; background: transparent; border: 0; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.nav.on-dark .nav-toggle { color: var(--on-dark); }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-cta .cta-short { display: none; }
@media (max-width: 1120px){
  .nav-toggle { display: inline-flex; }
  .nav-links.with-cta { gap: 10px; }
  .nav-links.with-cta .nav-menu { position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #f4efe5; border-bottom: 1px solid var(--line-2); box-shadow: 0 18px 30px rgba(18,14,10,0.14); padding: 4px var(--pad) 10px; max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: max-height 0.26s ease, opacity 0.2s ease; }
  .nav-links.with-cta .nav-menu.open { max-height: 75vh; opacity: 1; pointer-events: auto; }
  .nav-links.with-cta .nav-menu a { padding: 13px 2px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links.with-cta .nav-menu a:last-child { border-bottom: 0; }
  .nav-links.with-cta .nav-more { display: block; }
  .nav-links.with-cta .nav-more-toggle { width: 100%; padding: 13px 2px; text-align: left; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links.with-cta .nav-more-menu { position: static; display: grid; padding: 0 0 0 14px; min-width: 0; background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav-links.with-cta .nav-more-menu a { padding: 13px 2px; font-size: 1.1rem; }
  .nav.on-dark .nav-links.with-cta .nav-menu { background: #0b0b0c; border-bottom-color: var(--on-dark-line); }
  .nav.on-dark .nav-links.with-cta .nav-more-toggle { border-bottom-color: var(--on-dark-line); }
  .nav-cta .cta-full { display: none; }
  .nav-cta .cta-short { display: inline; }
}
@media (max-width: 520px){
  .nav-inner { padding-left: 20px; padding-right: 16px; gap: 12px; }
  .brand { font-size: 1.08rem; }
  .nav-links.with-cta { gap: 8px; }
  .nav-toggle { width: 34px; margin-right: 0; }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-links a.nav-cta { font-size: 0.8rem; padding: 6px 9px; }
}
@media (max-width: 360px){
  .nav-inner { padding-left: 16px; padding-right: 12px; gap: 8px; }
  .brand { font-size: 1rem; }
  .nav-links.with-cta { gap: 6px; }
  .nav-links a.nav-cta { padding: 6px 8px; }
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: -0.012em; line-height: 1.06; }
h1 { font-size: clamp(2.3rem, 8vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 6vw, 2.8rem); margin-bottom: 1.3rem; }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.display { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(2.6rem, 9vw, 4.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.0; }
.lede { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: var(--ink-2); line-height: 1.5; }
p { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }
.copy { color: var(--ink-2); }
.copy strong { color: var(--ink); font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); opacity: 0.6; }
.kicker { font-size: 0.84rem; font-weight: 600; color: var(--ink-3); margin-bottom: 0.9rem; }
.pull { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.22; color: var(--ink); margin: 2rem 0; }
.pull .hl { color: var(--accent); }
.center { text-align: center; }
.measure { max-width: 60ch; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero.dark::before { content: ""; position: absolute; top: -30%; right: -10%; width: 60vw; height: 60vw; max-width: 620px; max-height: 620px; background: radial-gradient(circle, rgba(198, 165, 99,0.22), transparent 62%); filter: blur(20px); pointer-events: none; }
.hero .wrap, .hero .wrap-wide { position: relative; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; appearance: none; cursor: pointer; border: 1px solid transparent; border-radius: var(--radius); font-family: var(--font); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; padding: 13px 24px; transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #856730; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--on-dark); color: var(--dark); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.dark .btn-ghost { border-color: var(--on-dark-line); color: var(--on-dark); }

/* ---------- cards & grids ---------- */
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 5vw, 34px); box-shadow: var(--shadow); }
.grid { display: grid; gap: 14px; }
.grid-2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

.chip { font-size: 0.86rem; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; }
.chip.accent { border-color: rgba(156, 122, 60,0.3); color: var(--accent); background: var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }

/* ---------- stats ---------- */
.stat-num { font-size: clamp(2.6rem, 9vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 0.8rem; }
.stat-sub { color: var(--ink-2); font-size: 0.96rem; margin-top: 0.6rem; }
.dark .stat-sub { color: var(--on-dark-2); }

/* ---------- loop / timeline ---------- */
.loop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.loop-step { font-size: 0.84rem; font-weight: 600; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px; box-shadow: var(--shadow); }
.loop-step.accent { background: var(--accent); color: #fff; border-color: transparent; }
.loop-arrow { color: var(--ink-3); font-size: 0.9rem; }

.timeline { display: grid; }
.tl { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.tl:first-child { border-top: 0; }
.tl-when { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.tl-what { color: var(--ink-2); }
.tl-what strong { color: var(--ink); font-weight: 600; }

/* ---------- prose (essays / long-form) ---------- */
.prose { color: var(--ink-2); font-size: 1.08rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { color: var(--ink); font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 2.4rem; margin-bottom: 0; }
.prose h3 { color: var(--ink); margin-top: 1.8rem; }
.prose p { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { border-left: 2px solid var(--accent); padding-left: 1.2rem; font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(156, 122, 60,0.35); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(40px, 7vw, 64px) 0; color: var(--ink-3); font-size: 0.9rem; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- forms ---------- */
.field { width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 0; color: var(--ink); font-family: var(--font); font-size: 1rem; padding: 13px 15px; transition: border-color 0.15s ease; }
.field:focus { outline: none; border-color: var(--accent); }
.field::placeholder { color: var(--ink-3); }
.dark .field { background: rgba(255,255,255,0.05); border-color: var(--on-dark-line); color: var(--on-dark); }
.dark .field::placeholder { color: rgba(246,246,245,0.4); }

/* ---------- video ---------- */
.video { position: relative; border-radius: 0; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--dark); aspect-ratio: 16 / 9; }
.dark .video { border-color: var(--on-dark-line); }
.video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.2rem; }
@media (min-width: 740px) { .video-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.video.video-small { box-shadow: var(--shadow); }
.video.video-small .video-play { width: 54px; height: 54px; }
.video.video-small .video-play::before { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }
.video.video-small .video-cover-label { font-size: 0.9rem; }
.video-cover { position: absolute; inset: 0; width: 100%; appearance: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(180deg, rgba(11,11,12,0.34), rgba(11,11,12,0.66)); transition: opacity 0.3s ease; }
.video-cover.hide { opacity: 0; pointer-events: none; }
.video-play { width: 70px; height: 70px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 34px rgba(156, 122, 60,0.5); transition: transform 0.15s ease; }
.video-cover:hover .video-play { transform: scale(1.05); }
.video-play::before { content: ""; width: 0; height: 0; border-left: 19px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.video-cover-label { color: #fff; font-weight: 600; letter-spacing: -0.01em; font-size: 1.02rem; text-shadow: 0 1px 14px rgba(0,0,0,0.45); }

/* ---------- audio ---------- */
.audio-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 28px); box-shadow: var(--shadow); }
.dark .audio-card { background: var(--dark-2); border-color: var(--on-dark-line); box-shadow: none; }
.audio-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); }
.dark .audio-eyebrow { color: var(--accent-2); }
.audio-card h3 { margin: 0.5rem 0 0.4rem; }
.audio-card .audio-sub { color: var(--ink-3); font-size: 0.93rem; margin-bottom: 0; }
.dark .audio-card .audio-sub { color: var(--on-dark-2); }
.audio-card audio { width: 100%; margin-top: 16px; display: block; }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- shared reveal script helper ----------
   Pages should include this tiny script once:
   <script>(function(){var r=document.querySelectorAll('.reveal');
   if(!('IntersectionObserver'in window)||matchMedia('(prefers-reduced-motion: reduce)').matches){r.forEach(function(n){n.classList.add('in')});return;}
   var o=new IntersectionObserver(function(e){e.forEach(function(x){if(x.isIntersecting){x.target.classList.add('in');o.unobserve(x.target);}})},{threshold:0});
   r.forEach(function(n){o.observe(n)});})();</script>
*/

/* Failsafe: never leave reveal content hidden if scripting is unavailable */
@media (scripting: none) { .reveal { opacity: 1 !important; transform: none !important; } }

/* === near-square corners on all images, videos, and thumbnails: a hair of radius, still reads square (circular avatars stay round) === */
.video,
.frame, .frame img,
.still, .stills,
.video-frame,
.vcard,
.creator,
.proof-img,
.essay-thumb,
.essay-figure img,
.note-frame,
.hero-figure,
.ex-card,
.film,
.card-frame,
.split img { border-radius: var(--radius) !important; }

/* === YouTube film facade: elegant still, loads the embed only on click === */
.ytfilm { position: relative; display: block; width: 100%; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--dark); aspect-ratio: 16 / 9; cursor: pointer; box-shadow: var(--shadow); font: inherit; color: inherit; text-align: left; }
.dark .ytfilm { border-color: var(--on-dark-line); }
.ytfilm > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ytfilm:hover > img { transform: scale(1.03); }
.ytfilm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0) 36%, rgba(11,11,12,0.62)); pointer-events: none; }
.ytfilm-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,0.4); transition: transform 0.15s ease; }
.ytfilm:hover .ytfilm-play { transform: translate(-50%, -50%) scale(1.06); }
.ytfilm-play::before { content: ""; width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.ytfilm-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px; pointer-events: none; }
.ytfilm-cap .t { display: block; font-family: "Source Serif 4", Georgia, serif; font-size: 1.18rem; font-weight: 600; color: #fff; line-height: 1.15; text-shadow: 0 1px 16px rgba(0,0,0,0.55); }
.ytfilm-cap .s { display: block; margin-top: 3px; font-size: 0.9rem; color: rgba(255,255,255,0.85); text-shadow: 0 1px 12px rgba(0,0,0,0.55); }
.ytfilm.is-playing > img, .ytfilm.is-playing .ytfilm-play, .ytfilm.is-playing .ytfilm-cap, .ytfilm.is-playing::after { display: none; }
.ytfilm iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytfilm-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 16px; }

/* === Blue interaction ring: every linkable module gets a hover/focus outline === */
a.card, .card.link-card, a.link-card, a.essay-card, a.frame, .ytfilm, .fd-bar,
a.audio-card, a.ex-card, a.creator, a.vcard, a.proof-img, a.film, a.note-frame, .linkable {
  transition: outline-color 0.15s ease, transform 0.15s ease;
}
a.card:hover, .card.link-card:hover, a.link-card:hover, a.essay-card:hover, a.frame:hover, .ytfilm:hover, .fd-bar:hover,
a.audio-card:hover, a.ex-card:hover, a.creator:hover, a.vcard:hover, a.proof-img:hover, a.film:hover, a.note-frame:hover, .linkable:hover,
a.card:focus-visible, .card.link-card:focus-visible, a.link-card:focus-visible, a.essay-card:focus-visible, a.frame:focus-visible, .ytfilm:focus-visible, .fd-bar:focus-visible,
a.audio-card:focus-visible, a.ex-card:focus-visible, a.creator:focus-visible, a.vcard:focus-visible, a.proof-img:focus-visible, a.film:focus-visible, a.note-frame:focus-visible, .linkable:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 4px;
}
/* Selective emphasis: blue ring on modules tagged .ring-blue (overrides the gold default) */
.ring-blue:hover, .ring-blue:focus-visible { outline-color: var(--ring-blue) !important; }

/* === Join (email capture) form — Netlify-backed, adapts to light/dark === */
.join-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.join-form .jf-email { flex: 1 1 220px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-family: var(--font); font-size: 1rem; padding: 13px 15px; }
.join-form .jf-email:focus { outline: none; border-color: var(--accent); }
.join-form .jf-email::placeholder { color: var(--ink-3); }
.join-form .jf-btn { background: var(--ink); color: var(--bg); border: 0; border-radius: var(--radius); font-family: var(--font); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; padding: 13px 26px; cursor: pointer; transition: opacity 0.15s ease, transform 0.15s ease; }
.join-form .jf-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.dark .join-form .jf-email { background: rgba(255,255,255,0.05); border-color: var(--on-dark-line); color: var(--on-dark); }
.dark .join-form .jf-email::placeholder { color: var(--on-dark-2); }
.dark .join-form .jf-btn { background: var(--on-dark); color: var(--dark); }
.join-hp { position: absolute; left: -9999px; }
.join-thanks { display: none; margin-top: 14px; font-family: "Source Serif 4", Georgia, serif; font-size: 1.2rem; color: var(--accent); }
.dark .join-thanks { color: var(--accent-2); }
.join-thanks.on { display: block; }

/* ---------- public WhichWon pulse ---------- */
.public-pulse { background: #f8f8f6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pulse-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 1.6rem; }
.pulse-head h2 { margin: 0; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.98; letter-spacing: -0.01em; }
.pulse-note { max-width: 28ch; margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.45; }
.hardest-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 880px) { .hardest-list { grid-template-columns: repeat(3, 1fr); } }
.hardest-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px; }
.decision-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; margin-bottom: 13px; }
.decision-image { position: relative; min-height: 150px; aspect-ratio: 4 / 5; border: 3px solid transparent; border-radius: 10px; overflow: hidden; background: #f4efe5 center/cover no-repeat; }
.decision-image.is-winner { border-color: #b9954d; opacity: 1; }
.decision-image.is-loser { opacity: 0.48; filter: saturate(0.5); }
.decision-option-label { position: absolute; left: 10px; bottom: 10px; right: 10px; color: #fffaf0; font-size: 0.78rem; line-height: 1.1; font-weight: 800; text-shadow: 0 1px 10px rgba(0,0,0,0.52); }
.hardest-pair { margin: 0; color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.1; font-weight: 800; }
.split { display: grid; gap: 9px; margin-top: 12px; }
.split-label, .hesitation-label { color: var(--ink-3); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.split-value { color: var(--ink); font-family: "Source Serif 4", Georgia, serif; font-size: 1.9rem; line-height: 1; font-weight: 700; }
.split-line { display: grid; grid-template-columns: var(--a, 1fr) var(--b, 1fr); gap: 6px; }
.split-line i { display: block; height: 10px; border-radius: 999px; background: #b9954d; }
.split-line i + i { background: #2b2925; }
.hesitation-value { display: block; color: var(--ink); font-family: "Source Serif 4", Georgia, serif; font-size: 2.1rem; line-height: 1; font-weight: 700; }
.pulse-source { margin: 1rem 0 0; color: var(--ink-3); font-size: 0.82rem; }
@media (max-width: 820px) {
  .pulse-head { display: block; }
  .pulse-note { margin-top: 0.8rem; }
  .split-value, .hesitation-value { font-size: 1.7rem; }
}
