/* ==========================================================================
   Lahpet Voices · site stylesheet (redesign, November 2026)
   An archive on paper: warm ground, black ink, teal for the brand,
   lacquer red and gold from Burmese lacquerware, and an acheik
   (wave-weave) border taken from luntaya textiles.
   Replaces assets/styles.css, which is kept in the folder only for reference.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f6f1e7;
  --paper-2: #ece4d4;
  --paper-3: #fbf8f2;
  --ink: #1f1c18;
  --ink-2: #554d45;
  --rule: #d6cbb7;
  --rule-strong: #1f1c18;
  --teal: #0f4c4a;
  --teal-deep: #0a3433;
  --teal-text: #0f4c4a;
  --lacquer: #8c2a1c;
  --lacquer-text: #8c2a1c;
  --gold: #b08a3e;
  --black-lacquer: #1b1614;
  --on-dark: #f3ebdd;
  --on-dark-2: #c9bba6;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --my-serif: "Noto Serif Myanmar", "Myanmar Text", "Padauk", serif;
  --my-sans: "Noto Sans Myanmar", "Myanmar Text", "Padauk", sans-serif;
  --slab: "Zilla Slab", Rockwell, Georgia, serif;

  --max: 1180px;
  --measure: 66ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(3rem, 7vw, 5.5rem);

  --acheik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='14' viewBox='0 0 64 14'%3E%3Cpath d='M0 7C8 0 24 0 32 7S56 14 64 7' fill='none' stroke='%230f4c4a' stroke-width='2'/%3E%3Cpath d='M0 7C8 14 24 14 32 7S56 0 64 7' fill='none' stroke='%238c2a1c' stroke-width='2'/%3E%3Ccircle cx='16' cy='7' r='1.6' fill='%23b08a3e'/%3E%3Ccircle cx='48' cy='7' r='1.6' fill='%23b08a3e'/%3E%3C/svg%3E");
  --acheik-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='14' viewBox='0 0 64 14'%3E%3Cpath d='M0 7C8 0 24 0 32 7S56 14 64 7' fill='none' stroke='%23b08a3e' stroke-width='2'/%3E%3Cpath d='M0 7C8 14 24 14 32 7S56 0 64 7' fill='none' stroke='%23b8483a' stroke-width='2'/%3E%3Ccircle cx='16' cy='7' r='1.6' fill='%23f3ebdd'/%3E%3Ccircle cx='48' cy='7' r='1.6' fill='%23f3ebdd'/%3E%3C/svg%3E");
  color-scheme: light;
}
html.theme-dark {
  --paper: #15120f;
  --paper-2: #1e1a16;
  --paper-3: #1a1713;
  --ink: #ede5d7;
  --ink-2: #bdb2a3;
  --rule: #3b342c;
  --rule-strong: #ede5d7;
  --teal: #1f6b66;
  --teal-deep: #174f4c;
  --teal-text: #86cbc4;
  --lacquer-text: #ec9a82;
  --gold: #c9a35a;
  --black-lacquer: #0d0b09;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not(.theme-light) {
    --paper: #15120f; --paper-2: #1e1a16; --paper-3: #1a1713;
    --ink: #ede5d7; --ink-2: #bdb2a3; --rule: #3b342c; --rule-strong: #ede5d7;
    --teal: #1f6b66; --teal-deep: #174f4c; --teal-text: #86cbc4;
    --lacquer-text: #ec9a82; --gold: #c9a35a; --black-lacquer: #0d0b09;
    color-scheme: dark;
  }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.65;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
}
img, picture, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--lacquer-text); }
:focus-visible { outline: 3px solid var(--lacquer-text); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
strong { font-weight: 600; }
[lang="my"] { font-family: var(--my-serif); line-height: 1.9; }
small { font-size: 0.85em; }
::selection { background: #e9d3a6; color: #1f1c18; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only, .skip:not(:focus):not(a) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.7rem 1rem;
  font-family: var(--sans); font-weight: 600; text-decoration: none;
}
a.skip:focus { top: 1rem; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.flex { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 3. Small type: labels, tags, meta ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--lacquer-text); margin: 0 0 0.75rem; display: flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--gold); flex: none; }
.eyebrow svg, .leaf-icon, .section-icon, .hero-icon svg { display: none; }
.lead { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.pill {
  display: inline-block; font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  color: var(--ink-2); border: 1px solid var(--rule); border-radius: 2px; padding: 0.15rem 0.55rem; line-height: 1.6;
}
.tag, .sr-tag, .ss-tag, .sf-kicker {
  display: block; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--lacquer-text); margin-bottom: 0.4rem;
}
.meta { font-size: 1rem; color: var(--ink-2); line-height: 1.5; }
.read { display: inline-block; margin-top: 0.75rem; font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--teal-text); }
.badge { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--ink-2); margin-top: 0.5rem; }

/* ---------- 4. Buttons ---------- */
.btn, button.btn, form.subscribe button {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px;
  padding: 0.7rem 1.2rem; border: 1.5px solid var(--teal); border-radius: 2px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.btn-primary, form.subscribe button { background: var(--teal); color: #fff; }
.btn-primary:hover, form.subscribe button:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-accent { background: var(--lacquer); border-color: var(--lacquer); color: #fff; }
.btn-accent:hover { background: #6f1f14; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- 5. Acheik border ---------- */
.acheik { height: 14px; background: var(--acheik) repeat-x center / 64px 14px; }
.acheik-dark { background-image: var(--acheik-dark); }

/* ---------- 6. Header ---------- */
.site-header { background: var(--paper); position: relative; z-index: 50; }
.topbar { background: var(--paper-2); border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 0.875rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.topbar-note { margin: 0; color: var(--ink-2); }
.tools { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.tool {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 0.7rem;
  background: none; border: 0; border-radius: 2px; color: var(--ink); font: inherit; font-weight: 500;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.tool:hover { background: var(--paper); color: var(--teal-text); }
.tool svg { flex: none; }
.tool-cta { background: var(--teal); color: #fff; margin-left: 0.35rem; }
.tool-cta:hover { background: var(--teal-deep); color: #fff; }
.translate-menu { position: relative; }
.translate-menu > summary { list-style: none; }
.translate-menu > summary::-webkit-details-marker { display: none; }
.translate-pop {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 240px;
  background: var(--paper-3); border: 1px solid var(--rule-strong); padding: 0.5rem;
  display: grid; gap: 2px; box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.translate-pop a { display: block; padding: 0.55rem 0.7rem; color: var(--ink); text-decoration: none; }
.translate-pop a:hover, .translate-pop a[aria-current] { background: var(--paper-2); color: var(--teal-text); }
.translate-note { margin: 0.4rem 0.7rem 0.3rem; font-size: 0.8rem; color: var(--ink-2); }

.mainbar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.wordmark { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); flex: none; }
.wordmark img { width: 48px; height: 48px; border-radius: 4px; }
.wm-text { font-family: var(--slab); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: -0.01em; }
.wm-text b { font-weight: 700; color: var(--teal-text); }
.wm-text i { font-style: normal; color: var(--gold); }
.wordmark:hover { color: var(--ink); }

.primary { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 0.25rem; }
.nav-item { position: static; }
.nav-top {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: 60px; padding: 0.35rem 0.85rem; background: none; border: 0; border-bottom: 3px solid transparent;
  color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer;
}
.nav-top .en { font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.3; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-top .my { font-family: var(--my-sans); font-size: 0.78rem; line-height: 1.6; color: var(--ink-2); }
html[lang="my"] .nav-top .en { font-family: var(--my-sans); font-size: 0.98rem; }
html[lang="my"] .nav-top .my { font-family: var(--sans); }
.nav-top .chev { transition: transform .15s; }
.nav-top[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-top:hover, .nav-top[aria-expanded="true"] { border-bottom-color: var(--gold); color: var(--ink); }
.nav-top.is-current { border-bottom-color: var(--lacquer-text); }

.nav-panel {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper-3); border-top: 1px solid var(--rule); border-bottom: 2px solid var(--rule-strong);
  box-shadow: 0 18px 30px rgba(0,0,0,.08);
}
.nav-item.open .nav-panel { display: block; }
.panel-inner { display: grid; grid-template-columns: minmax(200px, 1fr) 2.4fr; gap: 2.5rem; padding-top: 2rem; padding-bottom: 2.25rem; }
.panel-intro h2 { font-size: 1.6rem; margin-bottom: 0.25rem; }
.panel-intro .my { display: block; font-family: var(--my-serif); color: var(--lacquer-text); font-size: 1.05rem; margin-bottom: 0.75rem; }
.panel-intro p { font-size: 1rem; color: var(--ink-2); margin: 0; }
.panel-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.panel-links li { border-top: 1px solid var(--rule); }
.panel-links a { display: block; padding: 0.85rem 0; text-decoration: none; color: var(--ink); }
.panel-links a strong { display: block; font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.panel-links a span { display: block; font-size: 0.95rem; color: var(--ink-2); line-height: 1.45; margin-top: 0.15rem; }
.panel-links a:hover strong { color: var(--teal-text); text-decoration: underline; text-underline-offset: 0.18em; }
.panel-links a[aria-current="page"] strong::after { content: " · you are here"; font-weight: 500; color: var(--lacquer-text); }

.menu-button {
  display: none; margin-left: auto; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0 1rem;
  background: none; border: 1.5px solid var(--ink); border-radius: 2px; color: var(--ink);
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; cursor: pointer;
}
.menu-button[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.mobile-menu { border-top: 1px solid var(--rule); background: var(--paper-3); }
.mobile-menu[hidden] { display: none; }
.mm-inner { padding-top: 1.25rem; padding-bottom: 2rem; display: grid; gap: 1.75rem; }
.mm-group h2 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--lacquer-text); margin: 0 0 0.35rem; display: flex; gap: 0.6rem; align-items: baseline; }
.mm-group h2 [lang="my"] { font-family: var(--my-sans); font-weight: 500; color: var(--ink-2); line-height: 1.6; }
.mm-group ul { list-style: none; margin: 0; padding: 0; }
.mm-group li { border-top: 1px solid var(--rule); }
.mm-group a { display: flex; min-height: 48px; align-items: center; color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: 1.05rem; font-weight: 500; }
.mm-group a[aria-current="page"] { color: var(--lacquer-text); font-weight: 600; }

@media (max-width: 1060px) {
  .primary { display: none; }
  .menu-button { display: inline-flex; }
  .mainbar-inner { min-height: 72px; }
}
@media (min-width: 1061px) { .mobile-menu { display: none !important; } }
@media (max-width: 760px) {
  .topbar-note { display: none; }
  .tools { margin-left: -0.5rem; margin-right: -0.5rem; width: calc(100% + 1rem); justify-content: space-between; }
  .tool { padding: 0 0.5rem; }
}
@media (max-width: 420px) {
  .tool .tool-label-long { display: none; }
  .wm-text { font-size: 1.35rem; }
  .wordmark img { width: 40px; height: 40px; }
}

/* ---------- 7. Breadcrumbs ---------- */
.crumbs { font-family: var(--sans); font-size: 0.875rem; padding-top: 1.5rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.crumbs li { display: inline-flex; align-items: center; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin: 0 0.55rem; color: var(--rule); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--teal-text); }
.crumbs [aria-current] { color: var(--ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 8. Sections ---------- */
main { display: block; }
section { padding: var(--space) 0; }
section.alt { background: var(--paper-2); }
section.dark { background: var(--black-lacquer); color: var(--on-dark); }
section.dark h2, section.dark h3 { color: var(--on-dark); }
section.dark p { color: var(--on-dark-2); }
section.dark a:not(.btn) { color: #e7c98a; }
section.dark .eyebrow { color: #e7c98a; }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 40ch); gap: 1rem 3rem; align-items: end; margin-bottom: 2.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule-strong); }
.section-head h2 { margin: 0; }
.section-head > p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- 9. Page hero (inner pages) ---------- */
.hero { padding: 1.75rem 0 2.5rem; }
.hero h1 { max-width: 20ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.hero-grid > div > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.2rem; line-height: 1.5; max-width: 48ch; }
.hero .flex { margin-top: 1.25rem; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-art.hero-icon { display: none; }
.hero-art .badge { padding-top: 0.5rem; border-top: 1px solid var(--rule); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

.translate-link {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 32px; padding: 0.1rem 0.7rem;
  border: 1px solid var(--teal-text); border-radius: 2px; color: var(--teal-text);
  font-family: var(--my-sans); font-size: 0.9rem; text-decoration: none;
}
.translate-link:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.translate-flag { display: none; }

.follow-strip { padding: 0.9rem 0; background: var(--paper-2); font-family: var(--sans); font-size: 0.92rem; }
.follow-strip p { margin: 0; color: var(--ink-2); }
.follow-block { display: none; }
.inline-illustration, .timeline-intro svg, .t-card > svg, .culture-card svg, .hero-art.hero-icon { display: none; }

.featured-quote {
  max-width: var(--max); margin: 0 auto; padding: 2.25rem var(--gutter);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3; color: var(--ink);
  border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule);
}
.featured-quote cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: 0.85rem; font-weight: 600; color: var(--lacquer-text); }

/* ---------- 10. Long-form reading ---------- */
.transcript { display: grid; grid-template-columns: 230px minmax(0, var(--measure)); gap: clamp(2rem, 5vw, 4.5rem); justify-content: center; }
.transcript[style*="display:block"] { max-width: var(--measure); }
.toc { position: sticky; top: 1.25rem; align-self: start; font-family: var(--sans); font-size: 0.9rem; display: grid; gap: 0; max-height: calc(100vh - 2.5rem); overflow: auto; }
.toc > .eyebrow { margin-bottom: 0.5rem; }
.toc > a { display: block; padding: 0.45rem 0 0.45rem 0.85rem; border-left: 2px solid var(--rule); color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc > a:hover, .toc > a.active { border-left-color: var(--lacquer-text); color: var(--ink); }
.themes-block { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.themes-block .eyebrow { width: 100%; }
@media (max-width: 900px) {
  .transcript { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; border: 1px solid var(--rule); padding: 1rem 1.25rem; background: var(--paper-3); }
}

.longform { font-size: 1.1875rem; line-height: 1.72; }
.longform > p:first-of-type::first-letter { font-size: 3.4em; float: left; line-height: 0.85; margin: 0.08em 0.1em 0 0; font-weight: 600; color: var(--lacquer-text); }
.longform h2 { font-size: 1.5rem; margin-top: 2.5rem; scroll-margin-top: 1.5rem; }
.longform h3 { margin-top: 2rem; }
.longform blockquote, main blockquote:not(.featured-quote):not(.pull-quote) {
  margin: 0 0 1.5em; padding: 0.1rem 0 0.1rem 1.25rem; border-left: 3px solid var(--gold); color: var(--ink);
}
.longform ul, .longform ol { margin: 0 0 1.25em; }
.longform li { margin-bottom: 0.35em; }
.longform img { margin: 0 auto; }
.story-figure, .document-scan { margin: 2.25rem 0; }
.story-figure img, .document-scan img { width: 100%; border: 1px solid var(--rule); }
.story-figure figcaption, .document-scan figcaption, figure figcaption {
  margin-top: 0.6rem; font-family: var(--sans); font-size: 0.85rem; line-height: 1.5; color: var(--ink-2);
}
/* Section break: the Burmese full stop (pote ma) instead of numbers */
.chapter-divider { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0; color: var(--gold); }
.chapter-divider::before, .chapter-divider::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.chapter-num { font-size: 0; }
.chapter-num::before { content: "\104B"; font-family: var(--my-serif); font-size: 1.5rem; line-height: 1; }
.longform > :last-child::after { content: none; }
.end-mark { display: block; text-align: center; margin: 2.5rem 0 0; color: var(--gold); font-family: var(--my-serif); font-size: 1.5rem; }

.fn-ref { font-family: var(--sans); font-size: 0.7em; vertical-align: super; line-height: 0; padding: 0 0.15em; color: var(--lacquer-text); text-decoration: none; font-weight: 600; }
.fn-tooltip {
  position: absolute; z-index: 80; max-width: min(340px, 90vw); padding: 0.75rem 0.9rem;
  background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 0.9rem; line-height: 1.45;
  opacity: 0; pointer-events: none; transition: opacity .12s;
}
.fn-tooltip.show { opacity: 1; }
.notes-list { font-size: 1rem; color: var(--ink-2); padding-left: 1.5rem; }
.notes-list li { margin-bottom: 0.5rem; }
.notes-list li:target { background: #f3e2b8; color: var(--ink); }
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--lacquer); z-index: 90; width: 0; }
.signoff { display: none; }
.hand-note { font-family: var(--sans); font-size: 1rem; border-left: 3px solid var(--gold); padding: 0.75rem 1rem; background: var(--paper-2); }

/* ---------- 11. Cards and lists ---------- */
.card { display: block; color: var(--ink); text-decoration: none; border-top: 1px solid var(--rule-strong); padding-top: 1.1rem; background: none; }
a.card:hover h3, a.chapter-card:hover h3, a.story-row:hover h3, a.story-tile:hover h3 { color: var(--teal-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.card-body > :last-child { margin-bottom: 0; }
.card-body h3 { margin: 0.2rem 0 0.4rem; }
.card-body p { font-size: 1rem; color: var(--ink-2); line-height: 1.55; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 0.9rem; }
form.card { border-top: 0; padding: 0; }

.chapter-card { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.chapter-card:last-child { border-bottom: 1px solid var(--rule); }
.chapter-index { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--lacquer-text); padding-top: 0.2rem; }
.chapter-card h3 { margin: 0.1rem 0 0.35rem; }
.chapter-card .tag { color: var(--ink-2); font-weight: 500; }
.chapter-card.upcoming { opacity: 0.7; }

.story-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.story-row h3 { margin: 0 0 0.25rem; }
.story-row p { margin: 0; font-size: 1rem; color: var(--ink-2); }
.story-row .read { margin: 0; }
.story-tile, .story-feature { display: block; color: var(--ink); text-decoration: none; }
.st-media img, .sf-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.st-body, .sf-body { padding-top: 0.9rem; }
.story-series { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: baseline; padding: 1.25rem 0; border-top: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; }
.ss-num { font-family: var(--sans); font-weight: 600; color: var(--lacquer-text); }

/* Archive index rows (stories page, homepage) */
.index-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.index-list > li { border-top: 1px solid var(--rule); }
.index-list a { display: grid; grid-template-columns: 9rem minmax(0, 1fr) minmax(0, 1.1fr); gap: 0.4rem 2rem; padding: 1.15rem 0; color: var(--ink); text-decoration: none; align-items: baseline; }
.index-list .kind { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--lacquer-text); }
.index-list .title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.index-list .dek { font-size: 1rem; color: var(--ink-2); line-height: 1.5; }
.index-list a:hover .title { color: var(--teal-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.index-list .my-num { font-family: var(--my-serif); font-weight: 400; color: var(--gold); margin-right: 0.4rem; }
@media (max-width: 820px) { .index-list a { grid-template-columns: 1fr; } }

/* ---------- 12. Pull quotes ---------- */
.pull-quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.25; max-width: 32ch; }
.attribution { margin-top: 1.25rem; font-family: var(--sans); font-size: 0.9rem; }
.culture-quote { font-style: italic; font-size: 1.3rem; border-left: 3px solid var(--gold); padding-left: 1.25rem; }

/* ---------- 13. Timeline ---------- */
.timeline-intro { max-width: var(--measure); border-left: 3px solid var(--gold); padding-left: 1.25rem; }
.timeline-intro-art { display: none; }
.timeline { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: calc(var(--measure) + 12rem); position: relative; }
.timeline-item { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0 2rem; padding: 2rem 0; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.t-dot { display: none; }
.t-card { display: contents; }
.t-year { grid-column: 1; grid-row: 1 / span 6; margin: 0.3rem 0 0; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--lacquer-text); }
.t-card > :not(.t-year):not(svg) { grid-column: 2; }
.t-card h2 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.t-card p { margin-bottom: 0.9rem; }
.t-card p:last-child { margin-bottom: 0; }
.t-note { font-size: 1rem; color: var(--ink-2); border-left: 3px solid var(--gold); padding-left: 1rem; }
.timeline-end { text-align: center; color: var(--ink-2); }
@media (max-width: 700px) { .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; } .t-year, .t-card > :not(.t-year) { grid-column: 1; grid-row: auto; } }

/* ---------- 14. Culture guide ---------- */
.culture-grid { gap: 0 2rem; }
.culture-card { padding-bottom: 1.25rem; }
.culture-block { scroll-margin-top: 1rem; }
section:has(> .culture-block) { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.script-sample { font-family: var(--my-serif); font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.7; color: var(--lacquer-text); margin: 0.5rem 0; }
.culture-translation { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-2); }
.etiquette-list { padding-left: 1.25rem; }
.etiquette-list li { margin-bottom: 0.6rem; }

/* ---------- 15. Reel ---------- */
.reel-frame { position: relative; margin: 0 auto; width: 100%; max-width: 340px; aspect-ratio: 9 / 16; background: var(--black-lacquer); border: 1px solid var(--rule-strong); overflow: hidden; }
.reel-frame iframe, .reel-frame .reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }

/* ---------- 16. Founder ---------- */
.founder-card { text-align: left !important; }
.founder-card img { width: 160px !important; height: 160px !important; border-radius: 2px !important; border: 0 !important; margin: 0 0 1rem !important; aspect-ratio: 1; }

/* ---------- 17. Forms ---------- */
label { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.85rem !important; margin-top: 0.35rem;
  background: var(--paper-3) !important; color: var(--ink); border: 1.5px solid var(--ink-2) !important; border-radius: 2px !important;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 400;
}
textarea { min-height: 140px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--teal-text) !important; outline-offset: 1px; }
form.subscribe { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: flex-end; }
form.subscribe .field { flex: 1 1 260px; }
form.subscribe input { margin-top: 0.35rem; }
.form-status { font-family: var(--sans); }
.search-page { max-width: 640px; }
.search-page .search-row { display: flex; gap: 0.5rem; align-items: stretch; }
.search-page .search-row input { margin-top: 0; }
.search-page .clear { min-height: 48px; padding: 0 1rem; border: 1.5px solid var(--ink); border-radius: 2px; background: none; color: var(--ink); font-family: var(--sans); font-weight: 600; cursor: pointer; }
mark.search-hit, .search-hit { background: #f1dca8; color: #1f1c18; padding: 0 0.1em; }
.empty-state { padding: 2rem 0; color: var(--ink-2); }

/* ---------- 18. Homepage ---------- */
.home-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--space); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.home-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 14ch; margin-bottom: 1.25rem; }
.home-hero .lead { margin-bottom: 0; }
.home-hero figure { margin: 0; }
.home-hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .home-hero-grid { grid-template-columns: 1fr; } .home-hero figure img { aspect-ratio: 4 / 3; } }

.name-band { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.name-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.name-word { font-family: var(--my-serif); font-size: clamp(3.5rem, 10vw, 6.5rem); line-height: 1.5; color: var(--lacquer-text); margin: 0; }
.name-grid p { max-width: 54ch; margin: 0; font-size: 1.2rem; }
.name-grid .say { display: block; font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.4rem; }
@media (max-width: 700px) { .name-grid { grid-template-columns: 1fr; } }

.start-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: none; }
.start-list li { border-top: 2px solid var(--rule-strong); padding-top: 1rem; }
.start-list .num { display: block; font-family: var(--my-serif); font-size: 2rem; line-height: 1.3; color: var(--gold); }
.start-list h3 { margin: 0.25rem 0 0.4rem; }
.start-list h3 a { color: var(--ink); text-decoration: none; }
.start-list h3 a:hover { color: var(--teal-text); text-decoration: underline; }
.start-list p { font-size: 1rem; color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .start-list { grid-template-columns: 1fr; } }

.years { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--rule-strong); }
.years li + li { border-left: 1px solid var(--rule); }
.years a { display: block; height: 100%; padding: 1.25rem 1.25rem 1.5rem; color: var(--ink); text-decoration: none; }
.years li:first-child a { padding-left: 0; }
.years .yr { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; line-height: 1; }
.years .yr-my { display: block; font-family: var(--my-serif); font-size: 1.05rem; color: var(--gold); line-height: 1.9; }
.years .ch { display: block; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--lacquer-text); margin-top: 0.4rem; }
.years .t { display: block; font-size: 1.1rem; font-weight: 600; margin: 0.25rem 0 0.35rem; line-height: 1.3; }
.years .d { display: block; font-size: 0.98rem; color: var(--ink-2); line-height: 1.5; }
.years a:hover .t { color: var(--teal-text); text-decoration: underline; }
@media (max-width: 900px) { .years { grid-template-columns: repeat(2, minmax(0, 1fr)); } .years li:nth-child(3) { border-left: 0; } .years li:nth-child(3) a { padding-left: 0; } .years li:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .years { grid-template-columns: 1fr; } .years li + li { border-left: 0; border-top: 1px solid var(--rule); } .years a { padding-left: 0; } }

.founder-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.founder-row img { width: 180px; height: 180px; object-fit: cover; }
@media (max-width: 640px) { .founder-row { grid-template-columns: 1fr; } }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--black-lacquer); color: var(--on-dark); font-family: var(--sans); font-size: 0.95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #e7c98a; text-decoration: underline; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.f-brand .wm-text { color: var(--on-dark); font-size: 1.7rem; }
.f-brand .wm-text b { color: #8fd0c8; }
.f-brand .wm-text i { color: #e7c98a; }
.f-brand p { color: var(--on-dark-2); margin: 1rem 0 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; max-width: 34ch; }
.f-col h2 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: #e7c98a; margin: 0 0 0.85rem; padding-bottom: 0.6rem; border-bottom: 1px solid #b8483a; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.f-col a { display: inline-block; padding: 0.3rem 0; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding-top: 1.25rem; padding-bottom: 1.75rem; border-top: 1px solid #3a302a; color: var(--on-dark-2); font-size: 0.875rem; }
.f-bottom a { text-decoration: underline; color: var(--on-dark-2); }
@media (max-width: 980px) { .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- 20. Motion and print ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .toc, .crumbs, .follow-strip, .hero-actions, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; }
}
@media (max-width: 520px) {
  .theme-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tool-cta { margin-left: 0; }
}

/* Burmese headings need more room: the script is taller than Latin */
html[lang="my"] h1, html[lang="my"] h2, html[lang="my"] h3, h1[lang="my"], h2[lang="my"] { font-family: var(--my-serif); line-height: 1.55; letter-spacing: 0; }
html[lang="my"] h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 26ch; }
html[lang="my"] h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
html[lang="my"] .featured-quote { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.8; }
/* Lists bring their own top rule, so headings above them don't add a second one */
.section-head { border-bottom: 0; padding-bottom: 0; }
/* Gold as text needs a deeper shade on paper */
:root { --gold-text: #7e5e1f; }
html.theme-dark { --gold-text: #d4ae66; }
@media (prefers-color-scheme: dark) { :root:not(.theme-light) { --gold-text: #d4ae66; } }
.wm-text i, .years .yr-my, .start-list .num, .index-list .my-num, .end-mark, .chapter-divider { color: var(--gold-text); }
.f-brand .wm-text i { color: #e7c98a; }

/* Tables inside articles (glossary, calendar, birth days) */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border-top: 2px solid var(--rule-strong); }
.longform table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.longform th, .longform td { text-align: left; vertical-align: top; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--rule); }
.longform thead th { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--ink-2); padding-top: 0.6rem; }
.longform tbody th { font-family: var(--serif); font-weight: 600; white-space: nowrap; }
.longform td[lang="my"] { white-space: nowrap; color: var(--lacquer-text); }
.longform h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
@media (max-width: 600px) {
  .glossary thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .glossary tr { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
  .glossary th, .glossary td { border: 0; padding: 0; }
  .glossary td:last-child { grid-column: 1 / -1; margin-top: 0.3rem; }
}

/* ---------- 21. Icons and diagrams (November 2026) ---------- */
.lv-icon { display: inline-block; vertical-align: -0.2em; flex: none; }
.index-list .kind { display: inline-flex; align-items: center; gap: 0.45rem; }
.start-list .start-icon { color: var(--teal-text); display: block; margin-bottom: 0.5rem; }
.diagram-figure { margin: 2rem 0 2.25rem; padding: 1.25rem 0 0; border-top: 2px solid var(--rule-strong); }
.diagram { width: 100%; height: auto; max-width: 760px; margin: 0 auto; display: block; overflow: visible; }
.diagram .dg-label { font-family: var(--sans); font-size: 17px; font-weight: 600; fill: var(--ink); }
.diagram .dg-small { font-family: var(--serif); font-size: 15px; fill: var(--ink-2); }
.diagram .dg-fest { font-family: var(--sans); font-size: 12.5px; font-weight: 600; fill: var(--lacquer-text); }
.diagram .dg-compass { font-family: var(--sans); font-size: 18px; font-weight: 600; fill: var(--lacquer-text); }
.diagram .dg-rule { stroke: var(--rule); stroke-width: 1.5; }
.diagram .dg-stroke { stroke: var(--teal-text); }
.diagram .dg-accent { fill: var(--lacquer-text); }
.diagram .dg-band { stroke: var(--gold); stroke-width: 10; stroke-linecap: round; opacity: .85; }
.diagram .dg-seg { fill: var(--paper-3); stroke: var(--rule); stroke-width: 1.5; }
.diagram .dg-seg-alt { fill: var(--paper-2); stroke: var(--rule); stroke-width: 1.5; }
.diagram .dg-bowl { fill: var(--black-lacquer); stroke: var(--lacquer); stroke-width: 6; }
.diagram .dg-broth { fill: #c8873f; }
.diagram .dg-noodle { stroke: #f3e7cf; stroke-width: 4; stroke-linecap: round; }
.diagram .dg-egg { fill: #fbf6ea; stroke: #e8dcc3; }
.diagram .dg-yolk { fill: #e9a92b; }
.diagram .dg-fritter { fill: #b96b25; stroke: #8f4d16; stroke-width: 2; }
.diagram .dg-dot { fill: #6f3a10; }
.diagram .dg-leaf { fill: #4f7a3a; }
.diagram .dg-stem { fill: #e9e4c8; stroke: #c9c19b; stroke-width: 2; }
.diagram .dg-stem-in { fill: none; stroke: #c9c19b; stroke-width: 1.5; }
.diagram .dg-lime { fill: #9cbc4a; stroke: #6f8f2b; stroke-width: 2; }
.diagram .dg-chilli { fill: #b3261e; }
.diagram .dg-leader { stroke: var(--ink-2); stroke-width: 1.2; }
.diagram-figure figcaption { max-width: var(--measure); }

.step-strip { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; border-top: 2px solid var(--rule-strong); }
.step-strip li { padding-top: 1rem; display: grid; gap: 0.25rem; align-content: start; font-size: 0.98rem; line-height: 1.45; }
.step-strip .step-icon { color: var(--teal-text); }
.step-strip .step-n { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--lacquer-text); }
.step-strip strong { font-family: var(--sans); font-size: 1rem; }
.step-strip li > span:last-child { color: var(--ink-2); }
@media (max-width: 760px) { .step-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 22. Share bar ---------- */
.share { margin: 2.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-family: var(--sans); }
.share h2 { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; margin: 0 0.5rem 0 0; color: var(--ink-2); }
.share a, .share button { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.9rem; border: 1.5px solid var(--rule); border-radius: 2px; background: none; color: var(--ink); font: inherit; font-size: 0.92rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--teal-text); color: var(--teal-text); }
.share [hidden] { display: none; }
.share .copy-status { font-size: 0.88rem; color: var(--teal-text); min-height: 1em; }

/* ---------- 23. Link-in-bio page ---------- */
.bio-links { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; display: grid; gap: 0.75rem; }
.bio-links a { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.9rem; align-items: center; padding: 1rem 1.1rem; border: 1.5px solid var(--rule-strong); color: var(--ink); text-decoration: none; background: var(--paper-3); }
.bio-links a:hover { border-color: var(--teal-text); }
.bio-links .lv-icon { grid-row: span 2; color: var(--teal-text); }
.bio-links strong { font-family: var(--sans); font-size: 1.05rem; }
.bio-links span { font-size: 0.95rem; color: var(--ink-2); line-height: 1.4; }

/* Photo credits under captions */
.credit { display: block; margin-top: 0.2rem; font-size: 0.78rem; color: var(--ink-2); }
.credit a { color: inherit; }
.hero-art .badge .credit { margin-top: 0.15rem; }

/* Forms on the volunteer, photo-call and schools pages */
.lv-form { display: grid; gap: 1rem; margin: 1.5rem 0 0.5rem; padding: 1.4rem; border: 1.5px solid var(--rule-strong); background: var(--paper-3); }
.lv-form .field { display: grid; gap: 0.35rem; margin: 0; }
.lv-form label, .lv-form legend { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; }
.lv-form fieldset { border: 0; padding: 0; }
.lv-form legend { margin-bottom: 0.4rem; }
.lv-form .check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; margin-bottom: 0.35rem; }
.lv-form .check input { margin-top: 0.3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--teal); }
.lv-form input[type="file"] { font: inherit; font-size: 0.95rem; }
.lv-form button { justify-self: start; }

/* Audio clip with transcript, for interview pages (see README: "Adding an audio clip") */
.audio-clip { margin: 1.5rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--gold); background: var(--paper-3); }
.audio-clip p.label { font-family: var(--sans); font-size: 0.9rem; margin: 0 0 0.5rem; color: var(--ink-2); }
.audio-clip audio { width: 100%; }
.audio-clip details { margin-top: 0.6rem; }
.audio-clip summary { cursor: pointer; font-family: var(--sans); font-size: 0.95rem; }

/* Founder note: small and quiet */
.founder-note { display: flex; gap: 1rem; align-items: flex-start; max-width: 720px; }
.founder-note img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.founder-strip { padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.founder-strip .founder-note { align-items: center; }
.founder-strip .founder-note img { width: 56px; height: 56px; }
.founder-strip p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.founder-note .founder-contact { font-family: var(--sans); font-size: 0.92rem; }

/* Side-by-side reading */
.parallel-bar { max-width: var(--measure); margin: 0 auto 1rem; }
.parallel { max-width: 1100px; margin: 0 auto; }
.parallel-head, .parallel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.parallel-head { position: sticky; top: 0; background: var(--paper); padding: 0.5rem 0; font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); border-bottom: 1px solid var(--rule); z-index: 2; }
.parallel-row { padding: 0.4rem 0; border-bottom: 1px dashed var(--rule); }
.parallel-row p, .parallel-row blockquote { margin: 0.4rem 0; }
.pc-my { font-family: var(--my-serif); line-height: 2; }
@media (max-width: 760px) { .parallel-head { display: none; } .parallel-row { grid-template-columns: 1fr; gap: 0.3rem; } .pc-my { padding-left: 0.8rem; border-left: 3px solid var(--gold); } }

/* Birth-day finder */
.bday { margin: 1.5rem 0; padding: 1.4rem; border: 1.5px solid var(--rule-strong); background: var(--paper-3); }
.bday form { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: end; }
.bday label { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; display: grid; gap: 0.3rem; }
.bday fieldset { border: 0; padding: 0; margin: 0; font-family: var(--sans); font-size: 0.95rem; }
.bday fieldset label { display: inline-flex; gap: 0.35rem; margin-right: 1rem; font-weight: 400; }
.bday-card { display: flex; gap: 1.2rem; align-items: center; margin-top: 1.2rem; }
.bday-compass { width: 130px; height: 130px; flex: none; color: var(--ink); }
.bday-day { font-size: 1.5rem; font-weight: 600; margin: 0 0 0.4rem; }
.bday-day span { color: var(--teal); font-size: 1.1rem; margin-left: 0.4rem; }
.bday dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; margin: 0; font-size: 0.98rem; }
.bday dt { font-family: var(--sans); color: var(--ink-2); font-size: 0.88rem; }
.bday dd { margin: 0; }
.bday-eg, .bday-note { color: var(--ink-2); font-size: 0.9rem; }
@media (max-width: 560px) { .bday-card { flex-direction: column; align-items: flex-start; } }

/* Two timelines */
.tl-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.tl-filters button[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--rule-strong); }
.tl li { position: relative; width: 50%; padding: 0 2rem 1.6rem; box-sizing: border-box; }
.tl li.nat { margin-left: 0; text-align: right; }
.tl li.fam { margin-left: 50%; }
.tl li::after { content: ""; position: absolute; top: 0.45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink-2); }
.tl li.nat::after { right: -8px; }
.tl li.fam::after { left: -8px; border-color: var(--lacquer); background: var(--lacquer); }
.tl .yr { font-family: var(--sans); font-weight: 700; color: var(--teal); font-size: 0.95rem; }
.tl li.fam .yr { color: var(--lacquer); }
.tl h2 { font-size: 1.1rem; margin: 0.15rem 0 0.3rem; }
.tl p { margin: 0; font-size: 0.97rem; color: var(--ink-2); }
.tl-legend { display: grid; grid-template-columns: 1fr 1fr; font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); margin-bottom: 1rem; }
.tl-legend span:first-child { text-align: right; padding-right: 2rem; } .tl-legend span:last-child { padding-left: 2rem; color: var(--lacquer); }
.tl li[hidden] { display: none; }
@media (max-width: 760px) { .tl::before { left: 8px; } .tl li, .tl li.fam, .tl li.nat { width: 100%; margin-left: 0; text-align: left; padding: 0 0 1.4rem 2rem; } .tl li.nat::after, .tl li.fam::after { left: 1px; right: auto; } .tl-legend { display: none; } }

/* Photo strips on pages without a long article */
.photo-strip { padding: 1rem 0 2rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.photo-grid .story-figure { margin: 0; }
.photo-grid img { width: 100%; height: 220px; object-fit: cover; display: block; }
.hero-credit { font-size: 0.72rem; color: var(--ink-2); margin-top: 0.3rem; }

/* Keep photos from filling the screen */
.story-figure img, .document-scan img { width: auto; max-width: 100%; max-height: min(440px, 58vh); display: block; margin: 0 auto; object-fit: contain; }
.story-figure figcaption { text-align: left; }
.home-hero figure img { width: 100%; max-height: min(520px, 62vh); object-fit: cover; }
.hero-art img { max-height: min(420px, 55vh); }
.photo-grid img { width: 100%; max-width: none; height: 200px; max-height: none; object-fit: cover; }

/* Reels: links between reels and their stories */
.reel-link { display: flex; gap: 0.5rem; align-items: baseline; font-family: var(--font-sans, "IBM Plex Sans", sans-serif); font-size: 0.95rem; padding: 0.7rem 0.9rem; border-left: 3px solid var(--accent, #8c2a1c); background: rgba(15, 76, 74, 0.06); }
.reel-link .lv-icon { flex: none; align-self: center; }
.reel-card-media { display: block; }
