/* ==========================================================================
   Speedmaster Gonzales™ — Explorer Theme (alternate room)
   The office late at night: Indiana Jones after hours — pools of lamplight
   on a treasure map, riveted brass, red wax seals, the machine room gone
   quiet. Where Space is a cold mission-control console under starlight,
   Explorer is the warm dark of the expedition study: the past, lamplit,
   connecting to the future. The SG monogram is a red wax seal here.
   Active only when <html data-theme="classic"> — every rule below is scoped
   to it, so the Space theme is untouched and remains the default.
   (data-theme keeps the value "classic" and the file keeps its name for
   backward compatibility with stored preferences and ?theme= deep links.)
   ========================================================================== */

@font-face {
  font-family: "Yellowtail";
  src: url("yellowtail-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Night tokens: lamplight and parchment where Study is starlight ----- */
html[data-theme="classic"] {
  --space: #161009;
  --ink: #e9d9b4;
  --muted: #cbaa7d;
  --quiet: #8a6f4d;
  --line: rgba(233, 217, 180, .22);
  --panel: #221a10;
  --panel-solid: #221a10;
  --brass: #8a6b2f;
  --brass-soft: #6e5626;
  --brass-hi: #d9b45b;
  --orange: #c07a3a;
  --amber: #d9a441;
  --red: #b02a30;
  --green: #7a8b4f;
  --accent: #d9b45b;
  --accent-soft: #e8c876;
  --bg: #161009;
  background: #161009;
}

/* --- The room itself: a treasure map at night. Pools of lamplight fall
   across faint sepia survey contours; the edges fall off into darkness.
   All light is static — no animation anywhere in this room. Rotated
   stamps elsewhere are static, so overflow-x: clip is just a guard. --- */
html[data-theme="classic"] body {
  counter-reset: sg-record;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 55%, rgba(0, 0, 0, .38) 100%),
    radial-gradient(85% 60% at 16% 10%, rgba(217, 164, 65, .16), transparent 68%),
    radial-gradient(70% 55% at 84% 36%, rgba(217, 164, 65, .13), transparent 66%),
    radial-gradient(75% 55% at 55% 88%, rgba(217, 164, 65, .12), transparent 68%),
    /* The deep theme: the Egyptian night permeates every page — dimmed to
       near-shadow so copy stays readable, fixed so it holds while scrolling. */
    linear-gradient(rgba(22, 16, 9, .80), rgba(22, 16, 9, .86)),
    url("backdrop-explorer-egypt.jpg") center top / cover no-repeat fixed,
    repeating-radial-gradient(circle at 11% 9%, transparent 0 15px, rgba(217, 164, 65, .06) 15px 16px),
    repeating-radial-gradient(circle at 89% 21%, transparent 0 21px, rgba(217, 164, 65, .055) 21px 22px),
    repeating-radial-gradient(circle at 74% 87%, transparent 0 12px, rgba(217, 164, 65, .06) 12px 13px),
    repeating-radial-gradient(circle at 27% 76%, transparent 0 25px, rgba(217, 164, 65, .05) 25px 26px),
    #161009;
}
/* No starfield in the study — the lamp is lit, not the sky. */
html[data-theme="classic"] section.identity { background-image: none; }

/* --- Header: dark wood bar with a brass double rule ---------------------- */
html[data-theme="classic"] .sg-topnav {
  background: #1d150c;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid #8a6b2f;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .5), 0 1px 0 rgba(217, 180, 91, .35), 0 12px 30px rgba(0, 0, 0, .55);
}
html[data-theme="classic"] .sg-topnav .sg-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Yellowtail", "Cormorant Garamond", Georgia, cursive;
  font-size: 27px; font-weight: 400; letter-spacing: .01em;
  color: #e9d9b4;
  text-shadow: 0 0 18px rgba(217, 164, 65, .35);
}
/* The brand mark: a red wax-seal SG medallion, hand-stamped and lamplit. */
html[data-theme="classic"] .sg-topnav .sg-brand::before {
  content: "SG";
  flex: none;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  color: #f2e3c2;
  text-shadow: 0 1px 1px rgba(60, 8, 12, .85), 0 -1px 1px rgba(255, 205, 195, .3);
  background: radial-gradient(circle at 35% 30%, #d1494f 0%, #c84046 28%, #b02a30 58%, #8e1f26 100%);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 2px rgba(110, 22, 28, .85),
    inset 0 0 0 4px rgba(246, 214, 200, .35),
    inset 0 2px 4px rgba(255, 220, 210, .35),
    inset 0 -3px 6px rgba(60, 8, 12, .55),
    0 2px 8px rgba(0, 0, 0, .55),
    0 0 14px rgba(176, 42, 48, .35);
  transform: rotate(-4deg);
}
html[data-theme="classic"] .sg-topnav .sg-brand:hover { color: #f6ead2; }
html[data-theme="classic"] .sg-topnav .sg-navlinks a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px; font-weight: 600;
  text-transform: none; letter-spacing: .05em;
  color: #cbaa7d;
  border-bottom: 1px solid transparent;
}
html[data-theme="classic"] .sg-topnav .sg-navlinks a:hover {
  color: #f2e3c2; border-bottom-color: #d9b45b;
}
/* The Circle key: a riveted brass plate, lamplit. */
html[data-theme="classic"] .sg-topnav .sg-circle-key {
  background: linear-gradient(180deg, #d9b45b 0%, #b28c3e 55%, #8a6b2f 100%);
  color: #2e2013;
  border: 1px solid #6b5323;
  border-radius: 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .55);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 246, 220, .7), 0 0 14px rgba(217, 164, 65, .25);
}
html[data-theme="classic"] .sg-topnav .sg-circle-key:hover {
  color: #2e2013;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 0 20px rgba(217, 164, 65, .5), inset 0 1px 0 rgba(255, 246, 220, .7);
}
/* The toggle: brass segments in the dark. */
html[data-theme="classic"] .sg-theme-toggle {
  border-color: #8a6b2f;
  background: rgba(217, 164, 65, .08);
}
html[data-theme="classic"] .sg-theme-toggle .sg-tt-opt { color: #8a6f4d; }
html[data-theme="classic"] .sg-theme-toggle .sg-tt-opt.is-active { color: #e9d9b4; }
html[data-theme="classic"] .sg-theme-toggle .sg-tt-knob,
html[data-theme="classic"] .sg-theme-toggle[aria-checked="true"] .sg-tt-knob {
  background: linear-gradient(180deg, #e8c876 0%, #b28c3e 60%, #8a6b2f 100%);
  box-shadow: 0 0 14px rgba(217, 164, 65, .55), inset 0 1px 0 rgba(255, 246, 220, .6);
}

/* --- Voice: stamped field records, numbered like survey entries --------- */
html[data-theme="classic"] .sg-eyebrow {
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #e8c876;
  text-shadow: none;
  border: 1.5px solid #8a6b2f;
  padding: 4px 12px;
  background: rgba(217, 164, 65, .08);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .5);
  transform: rotate(-1.2deg);
  counter-increment: sg-record;
}
html[data-theme="classic"] .sg-eyebrow::before { content: none; }
html[data-theme="classic"] .sg-eyebrow::after {
  content: " · Nº " counter(sg-record, decimal-leading-zero);
  color: #cbaa7d;
}
html[data-theme="classic"] .sg-kicker {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; font-style: normal;
  color: #cbaa7d;
}
/* Brass calibration ticks on section rules. */
html[data-theme="classic"] .section-rule::after {
  background: repeating-linear-gradient(90deg, rgba(217, 180, 91, .75) 0 8px, transparent 8px 12px);
}

/* --- Buttons: riveted brass plates with engraved labels ------------------ */
html[data-theme="classic"] .sg-btn {
  position: relative;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #2e2013;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .55);
  background: linear-gradient(180deg, #d9b45b 0%, #b28c3e 55%, #8a6b2f 100%);
  border: 1px solid #6b5323;
  border-radius: 5px;
  padding: 12px 20px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 10px 22px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 246, 220, .7), 0 0 14px rgba(217, 164, 65, .2);
}
/* No console LED in the study — rivets instead. */
html[data-theme="classic"] .sg-btn::before { content: none; }
html[data-theme="classic"] .sg-btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle, #fdf3d8 0, #fdf3d8 1.6px, #8a6b2f 2.4px, #3d2f14 3px, rgba(61, 47, 20, 0) 3.6px) left 4px top 4px / 7px 7px no-repeat,
    radial-gradient(circle, #fdf3d8 0, #fdf3d8 1.6px, #8a6b2f 2.4px, #3d2f14 3px, rgba(61, 47, 20, 0) 3.6px) right 4px top 4px / 7px 7px no-repeat,
    radial-gradient(circle, #fdf3d8 0, #fdf3d8 1.6px, #8a6b2f 2.4px, #3d2f14 3px, rgba(61, 47, 20, 0) 3.6px) left 4px bottom 4px / 7px 7px no-repeat,
    radial-gradient(circle, #fdf3d8 0, #fdf3d8 1.6px, #8a6b2f 2.4px, #3d2f14 3px, rgba(61, 47, 20, 0) 3.6px) right 4px bottom 4px / 7px 7px no-repeat;
}
html[data-theme="classic"] .sg-btn:hover {
  background: linear-gradient(180deg, #e8c876 0%, #c39a48 55%, #96742f 100%);
  border-color: #8a6b2f;
  color: #2e2013;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .55), 0 12px 26px rgba(0, 0, 0, .45), 0 0 20px rgba(217, 164, 65, .45), inset 0 1px 0 rgba(255, 246, 220, .7);
}
html[data-theme="classic"] .sg-btn:active { transform: translateY(2px); }
html[data-theme="classic"] .sg-btn:focus-visible {
  outline: 2px solid #d9b45b;
  outline-offset: 2px;
}
/* The commit key in the study: sealing-wax red, cream engraving. */
html[data-theme="classic"] .sg-btn.solid {
  background: linear-gradient(180deg, #c84046 0%, #b02a30 55%, #8e1f26 100%);
  border-color: #6e161c;
  color: #f6ead2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .6), 0 10px 24px rgba(176, 42, 48, .4), inset 0 1px 0 rgba(255, 220, 220, .3);
}
html[data-theme="classic"] .sg-btn.solid:hover {
  color: #f6ead2;
  border-color: #6e161c;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .6), 0 12px 28px rgba(176, 42, 48, .55), inset 0 1px 0 rgba(255, 220, 220, .35);
}

/* --- Cards: papers on the desk under lamplight --------------------------- */
html[data-theme="classic"] .sg-card {
  background: linear-gradient(180deg, #2a2013, #221a10);
  border: 1px solid #6e5626;
  border-radius: 4px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .45), 0 18px 36px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(217, 180, 91, .12);
  color: #e9d9b4;
}
/* No console tick strip on desk papers — riveted corners instead. */
html[data-theme="classic"] .sg-card::before { content: none; }
html[data-theme="classic"] .sg-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: 4px;
  background:
    radial-gradient(circle, #e8c876 0, #e8c876 1.6px, #8a6b2f 2.4px, #241a0c 3px, rgba(36, 26, 12, 0) 3.6px) left 5px top 5px / 7px 7px no-repeat,
    radial-gradient(circle, #e8c876 0, #e8c876 1.6px, #8a6b2f 2.4px, #241a0c 3px, rgba(36, 26, 12, 0) 3.6px) right 5px top 5px / 7px 7px no-repeat,
    radial-gradient(circle, #e8c876 0, #e8c876 1.6px, #8a6b2f 2.4px, #241a0c 3px, rgba(36, 26, 12, 0) 3.6px) left 5px bottom 5px / 7px 7px no-repeat,
    radial-gradient(circle, #e8c876 0, #e8c876 1.6px, #8a6b2f 2.4px, #241a0c 3px, rgba(36, 26, 12, 0) 3.6px) right 5px bottom 5px / 7px 7px no-repeat;
}
html[data-theme="classic"] .sg-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  color: #f2e3c2;
}
html[data-theme="classic"] .sg-card p { color: #cbaa7d; }
html[data-theme="classic"] .sg-card a { color: #e8c876; }
html[data-theme="classic"] .sg-card a:hover { color: #f6ead2; }

/* Hand-stamped taxonomy marks, crooked like inked field marks. */
html[data-theme="classic"] .sg-pill {
  border: 1px dashed #8a6b2f;
  border-radius: 3px;
  background: rgba(217, 164, 65, .08);
  color: #e8c876;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 12px; letter-spacing: .12em;
  transform: rotate(-1.5deg);
}

/* --- Tables: night ledgers ---------------------------------------------- */
html[data-theme="classic"] table.sg-table th {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px; letter-spacing: .1em;
  color: #d9a95c; border-bottom-color: rgba(233, 217, 180, .35);
}
html[data-theme="classic"] table.sg-table td { border-bottom-color: rgba(233, 217, 180, .18); color: #e9d9b4; }
html[data-theme="classic"] table.sg-table td.num,
html[data-theme="classic"] table.sg-table th.num { color: #d9a95c; }

/* --- Expedition medallion: a brass instrument dial in the dark ----------- */
html[data-theme="classic"] .sg-patch {
  border: 2px solid #8a6b2f;
  background: radial-gradient(circle at 50% 32%, #2e2314, #171008);
  color: #e8c876;
  box-shadow:
    inset 0 0 0 3px #171008,
    inset 0 0 0 5px rgba(217, 180, 91, .4),
    0 4px 12px rgba(0, 0, 0, .5),
    0 0 16px rgba(217, 164, 65, .2);
}

/* --- Hero: the explorer camp at night, full-bleed, no fade ----------------- */
html[data-theme="classic"] .backdrop {
  position: relative;
  background-image: url("backdrop-explorer-hero.jpg?v=20260922");
  background-position: 45% 65%;
}
html[data-theme="classic"] .backdrop::after {
  content: none;
}
html[data-theme="classic"] .backdrop-note { color: #8a6f4d; }
html[data-theme="classic"] .backdrop-note-space { display: none; }
html[data-theme="classic"] .backdrop-note-explorer { display: inline; }

/* --- Homepage: night readings -------------------------------------------- */
html[data-theme="classic"] .brandline { color: #d9a95c; }
html[data-theme="classic"] .identity h1 {
  color: #f2e3c2;
  text-shadow: 0 0 26px rgba(217, 164, 65, .28), 0 2px 10px rgba(0, 0, 0, .6);
}
html[data-theme="classic"] .descriptor { color: #cbaa7d; text-shadow: none; }
html[data-theme="classic"] .hero-creed {
  margin: .9rem 0 0;
  font-size: 1.06rem;
  font-style: italic;
  letter-spacing: .05em;
  color: #e8c88a;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
html[data-theme="classic"] .manifesto { border-top-color: rgba(233, 217, 180, .22); border-bottom-color: rgba(233, 217, 180, .22); }
html[data-theme="classic"] .section-rule { border-bottom-color: rgba(233, 217, 180, .22); }
html[data-theme="classic"] .article-card { border-bottom-color: rgba(233, 217, 180, .18); }
/* The journal-list arrow is a red wax seal. */
html[data-theme="classic"] .article-card .card-summary::after {
  width: 44px; height: 44px;
  font-size: 20px;
  color: #f6ead2;
  border: none; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d1494f, #b02a30 58%, #8e1f26 100%);
  box-shadow:
    inset 0 0 0 3px rgba(142, 31, 38, .9),
    inset 0 0 0 5px rgba(246, 210, 200, .4),
    0 3px 8px rgba(0, 0, 0, .5);
}
html[data-theme="classic"] .article-card:hover .card-summary::after,
html[data-theme="classic"] .article-card:focus-visible .card-summary::after {
  box-shadow:
    inset 0 0 0 3px rgba(142, 31, 38, .9),
    inset 0 0 0 5px rgba(246, 210, 200, .55),
    0 3px 12px rgba(176, 42, 48, .5);
}
/* Rarity monograms are red wax seals: the SG brand mark, stamped per piece. */
html[data-theme="classic"] .rarity-thumb {
  width: 96px; height: 96px;
  border: none; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 34px; font-weight: 700;
  color: #f2e3c2;
  text-shadow: 0 1px 2px rgba(60, 8, 12, .85), 0 -1px 1px rgba(255, 205, 195, .3);
  background: radial-gradient(circle at 35% 30%, #d1494f 0%, #c84046 30%, #b02a30 60%, #8e1f26 100%);
  box-shadow:
    inset 0 0 0 3px rgba(110, 22, 28, .85),
    inset 0 0 0 6px rgba(246, 214, 200, .3),
    inset 0 3px 6px rgba(255, 220, 210, .3),
    inset 0 -4px 8px rgba(60, 8, 12, .5),
    0 4px 12px rgba(0, 0, 0, .55),
    0 0 16px rgba(176, 42, 48, .3);
  transform: rotate(-3deg);
}
/* Thumbnails are mounted like prints in the dark: black mat, brass keyline. */
html[data-theme="classic"] .article-thumb,
html[data-theme="classic"] .post-thumb,
html[data-theme="classic"] .podcast-spot-thumb,
html[data-theme="classic"] .tour-thumb img {
  background: #0f0b06;
  filter: saturate(.95) contrast(1.03) brightness(.96);
  box-shadow: 0 0 0 1px #8a6b2f, 0 0 0 5px #0f0b06, 0 0 0 6px #8a6b2f, 0 6px 14px rgba(0, 0, 0, .5);
}
html[data-theme="classic"] .post-empty {
  border-color: rgba(233, 217, 180, .3);
  color: #8a6f4d;
}
/* Feature pills become dark wood tags. */
html[data-theme="classic"] .feature-btn {
  background: #221a10;
  border: 1px solid #6e5626;
  border-radius: 6px;
  color: #e9d9b4;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
}
html[data-theme="classic"] .feature-btn:hover,
html[data-theme="classic"] .feature-btn:focus-visible {
  border-color: #8a6b2f;
  background: #2a2013;
  color: #f2e3c2;
}
/* Market CTAs become brass plates. */
html[data-theme="classic"] .market-cta {
  background: linear-gradient(180deg, #d9b45b 0%, #b28c3e 55%, #8a6b2f 100%);
  border: 1px solid #6b5323;
  border-radius: 6px;
  color: #2e2013;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .55);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 246, 220, .7), 0 0 14px rgba(217, 164, 65, .2);
}
html[data-theme="classic"] .market-cta strong { color: #2e2013; }
html[data-theme="classic"] .market-cta span { color: #4a3418; }
html[data-theme="classic"] .market-cta:hover { background: linear-gradient(180deg, #e8c876 0%, #c39a48 55%, #96742f 100%); }
/* The tour banner: a notice pinned to the desk. */
html[data-theme="classic"] .tour-banner {
  background: linear-gradient(180deg, #2a2013, #221a10);
  border: 1px solid #6e5626;
  border-radius: 6px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .45), 0 18px 36px rgba(0, 0, 0, .4);
}
html[data-theme="classic"] .tour-banner:hover { border-color: #8a6b2f; }
html[data-theme="classic"] .tour-eyebrow { color: #d9a95c; }
/* Newsletter panel: dark wood, lamplit input, brass key. */
html[data-theme="classic"] .market-follow {
  background: #221a10;
  border: 1px solid #6e5626;
  border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .45);
}
html[data-theme="classic"] .market-follow form.sg-subband-form input[type="email"] {
  background: #1a130b;
  border: 1px solid #8a6b2f;
  border-radius: 5px;
  color: #e9d9b4;
}
html[data-theme="classic"] .market-follow form.sg-subband-form input[type="email"]::placeholder { color: #8a6f4d; }
html[data-theme="classic"] .market-follow form.sg-subband-form input[type="email"]:focus { border-color: #d9b45b; }
html[data-theme="classic"] .market-follow form.sg-subband-form .submit-btn {
  background: linear-gradient(180deg, #d9b45b 0%, #b28c3e 55%, #8a6b2f 100%);
  border: 1px solid #6b5323;
  border-radius: 5px;
  color: #2e2013;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px; letter-spacing: .1em;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .55);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 246, 220, .7);
}
html[data-theme="classic"] .market-follow form.sg-subband-form .submit-btn:hover { background: linear-gradient(180deg, #e8c876 0%, #c39a48 55%, #96742f 100%); }
html[data-theme="classic"] .market-follow a { color: #e8c876; }
html[data-theme="classic"] .market-follow a:hover { color: #f2e3c2; }
/* Countdown instrument: dark housing, lamplit digits. */
html[data-theme="classic"] .report-countdown {
  background: #221a10;
  border: 1px solid #6e5626;
  border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .45);
}
/* Social rows: lamplit rules, brass wayfinding. */
html[data-theme="classic"] .social-link { border-bottom-color: rgba(233, 217, 180, .18); color: #e9d9b4; }
html[data-theme="classic"] .social-link::after { color: #d9b45b; }
html[data-theme="classic"] .social-link:focus-visible { color: #f2e3c2; outline-color: #d9b45b; }
html[data-theme="classic"] .social-link:focus-visible::after { color: #e8c876; }
/* Fact ledger: dark cells, brass labels. */
html[data-theme="classic"] .fact-grid { background: rgba(0, 0, 0, .4); border-top-color: rgba(233, 217, 180, .22); border-bottom-color: rgba(233, 217, 180, .22); }
html[data-theme="classic"] .fact-card { background: #221a10; color: #e9d9b4; }
/* Tidbit cards: index cards on the night desk. */
html[data-theme="classic"] .tidbit-card {
  background: linear-gradient(180deg, #2a2013, #221a10);
  border: 1px solid #6e5626;
  border-radius: 4px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
  color: #e9d9b4;
}
html[data-theme="classic"] .tidbit-timeline { border-left-color: #8a6b2f; }
html[data-theme="classic"] .tidbit-tl::before { background: #d9b45b; box-shadow: 0 0 0 3px rgba(217, 180, 91, .25), 0 0 10px rgba(217, 164, 65, .5); }
html[data-theme="classic"] .tidbit-tl .tsrc a,
html[data-theme="classic"] .myth-row .tsrc a,
html[data-theme="classic"] .go-deeper a { color: #e8c876; text-decoration-color: rgba(217, 180, 91, .6); }
/* Era rows: the expander is a red wax seal. */
html[data-theme="classic"] .era { border-top-color: rgba(233, 217, 180, .22); }
html[data-theme="classic"] .era:last-child { border-bottom-color: rgba(233, 217, 180, .22); }
html[data-theme="classic"] .era-cover-wrap { background: #0f0b06; }
html[data-theme="classic"] .era-action::after {
  border: none;
  background: radial-gradient(circle at 35% 30%, #d1494f, #b02a30 58%, #8e1f26 100%);
  color: #f6ead2;
  box-shadow: inset 0 0 0 2px rgba(142, 31, 38, .9), inset 0 0 0 4px rgba(246, 210, 200, .4), 0 2px 6px rgba(0, 0, 0, .5);
}
html[data-theme="classic"] .era-trigger:focus-visible { outline-color: #d9b45b; }
/* Journal listen rows. */
html[data-theme="classic"] .journal-listen { border-bottom-color: rgba(233, 217, 180, .18); }
/* Native audio controls get a warm lamplit wash so they sit on the desk. */
html[data-theme="classic"] audio { filter: sepia(.45) saturate(1.05) brightness(.94); }

/* --- Podcast page: the episode ledger by lamplight ----------------------- */
html[data-theme="classic"] .ep-card,
html[data-theme="classic"] .listen-strip,
html[data-theme="classic"] .contact-form,
html[data-theme="classic"] .disclaimer p {
  background: linear-gradient(180deg, #2a2013, #221a10);
  border: 1px solid #6e5626;
  border-radius: 6px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .45), 0 18px 36px rgba(0, 0, 0, .4);
  color: #e9d9b4;
}
html[data-theme="classic"] .ep-num,
html[data-theme="classic"] .listen-eyebrow {
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #e8c876;
  border: 1.5px solid #8a6b2f;
  padding: 3px 10px;
  background: rgba(217, 164, 65, .08);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .5);
  transform: rotate(-1.2deg);
}
/* Platform tiles: dark cards, brass nameplates. */
html[data-theme="classic"] .listen-card {
  background: #221a10;
  border: 1px solid #6e5626;
  border-radius: 6px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
  color: #e9d9b4;
}
html[data-theme="classic"] .listen-card:hover { border-color: #8a6b2f; }
html[data-theme="classic"] .listen-name { color: #f2e3c2; }
/* Lamplit form fields. */
html[data-theme="classic"] .field input,
html[data-theme="classic"] .field select,
html[data-theme="classic"] .field textarea {
  background: #1a130b;
  border: 1px solid #8a6b2f;
  border-radius: 5px;
  color: #e9d9b4;
}
html[data-theme="classic"] .field input::placeholder,
html[data-theme="classic"] .field textarea::placeholder { color: #8a6f4d; }
html[data-theme="classic"] .field input:focus,
html[data-theme="classic"] .field select:focus,
html[data-theme="classic"] .field textarea:focus { border-color: #d9b45b; }
html[data-theme="classic"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e8c876' stroke-width='1.6'/%3E%3C/svg%3E");
}
html[data-theme="classic"] .submit-btn {
  background: linear-gradient(180deg, #d9b45b 0%, #b28c3e 55%, #8a6b2f 100%);
  border: 1px solid #6b5323;
  border-radius: 5px;
  color: #2e2013;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: .1em;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .55);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 246, 220, .7);
}
html[data-theme="classic"] .submit-btn:hover { background: linear-gradient(180deg, #e8c876 0%, #c39a48 55%, #96742f 100%); }
html[data-theme="classic"] .submit-btn:focus-visible { outline: 2px solid #d9b45b; outline-offset: 2px; }
html[data-theme="classic"] .alt-contact { border-left-color: #8a6b2f; color: #cbaa7d; }

/* --- The Circle page in explorer dress: a letterpress invitation by lamp - */
html[data-theme="classic"] body .offer-card {
  background: linear-gradient(180deg, #2a2013, #221a10);
  border: 1px solid #6e5626;
  border-top: 4px double #d9b45b;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .45), 0 18px 36px rgba(0, 0, 0, .4);
  color: #e9d9b4;
}
html[data-theme="classic"] body .deco-frame {
  border-top: 4px double #8a6b2f;
  border-bottom: 4px double #8a6b2f;
}

/* --- Bands and footers: the study after midnight -------------------------- */
html[data-theme="classic"] .sg-band {
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(217, 164, 65, .08), transparent 70%),
    transparent;
  border-top: none; border-bottom: none;
}
html[data-theme="classic"] .sg-band h2 { font-weight: 600; color: #f2e3c2; }
html[data-theme="classic"] .sg-band-deck { color: #cbaa7d; }
/* Near-black back cover; text goes parchment. */
html[data-theme="classic"] .sg-footer {
  background: linear-gradient(180deg, #14100a, #0e0a05);
  border-top: 3px double #8a6b2f;
}
html[data-theme="classic"] .site-footer {
  background: #0e0a05;
  border-top: 3px double #8a6b2f;
}
html[data-theme="classic"] .sg-footer .sg-brandline,
html[data-theme="classic"] .site-footer .footer-brand {
  font-family: "Yellowtail", "Cormorant Garamond", Georgia, cursive;
  font-weight: 400; font-size: 28px;
  color: #f2d9a4;
  text-shadow: 0 0 16px rgba(242, 217, 164, .35);
}
html[data-theme="classic"] .sg-sitemap h4 { color: #d9a95c; font-family: "Cormorant Garamond", Georgia, serif; text-transform: none; letter-spacing: .08em; font-size: 14px; }
html[data-theme="classic"] .sg-sitemap a { color: #d3ba8d; }
html[data-theme="classic"] .sg-sitemap a:hover { color: #f2d9a4; }
html[data-theme="classic"] .sg-footer .sg-fine { color: #a08a63; }
html[data-theme="classic"] .sg-footer .sg-fine a { color: #d3ba8d; }
html[data-theme="classic"] .sg-footer .sg-fine a:hover { color: #f2d9a4; }
html[data-theme="classic"] .sg-footer .sg-top a { color: #d3ba8d; font-family: "Cormorant Garamond", Georgia, serif; text-transform: none; letter-spacing: .06em; font-size: 14px; }
html[data-theme="classic"] .sg-footer .sg-top a:hover { color: #f2d9a4; }
html[data-theme="classic"] .site-footer p { color: #a08a63; }
html[data-theme="classic"] .site-footer a { color: #d3ba8d; }
html[data-theme="classic"] .site-footer a:hover { color: #f2d9a4; }
html[data-theme="classic"] .footer-nav a { font-family: "Cormorant Garamond", Georgia, serif; text-transform: none; letter-spacing: .06em; font-size: 14px; }

/* --- Infinite scroll by lamplight ----------------------------------------- */
html[data-theme="classic"] .is-more-btn {
  background: linear-gradient(180deg, #2a2013, #221a10);
  border: 1.5px solid #8a6b2f;
  border-radius: 3px;
  color: #e9d9b4;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px; letter-spacing: .12em;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
}
html[data-theme="classic"] .is-more-btn:hover,
html[data-theme="classic"] .is-more-btn:focus-visible {
  border-color: #d9b45b;
  color: #f2e3c2;
  background: #2a2013;
}
html[data-theme="classic"] .is-endmark { color: #cbaa7d; }

/* --- The wax-seal brand mark, sized for the small bar --------------------- */
@media (max-width: 760px) {
  html[data-theme="classic"] .sg-topnav .sg-brand::before {
    width: 28px; height: 28px;
    font-size: 12px;
  }
}
.hero-creed .creed-by{font-size:.62em;opacity:.75;letter-spacing:.14em;font-style:normal;white-space:nowrap;}
