/* ==========================================================================
   Adam and the Olympians Calendar — Book 2 theme
   Only loaded on /olympians-calendar/. All classes are namespaced `olympians-`
   (plus `.theme-switcher`), so nothing here can reach the original theme.
   ========================================================================== */

@font-face { font-family: "AOC Cinzel"; src: url("../fonts/cinzel-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "AOC Cinzel"; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "AOC Cinzel"; src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "AOC Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "AOC Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "AOC Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "AOC Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "AOC Garamond"; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "AOC Garamond"; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "AOC Garamond"; src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Design tokens ---------- */
.olympians-doc {
  --o-midnight: #071426;
  --o-navy: #0b1830;
  --o-deep: #040a16;
  --o-gold: #c6923d;
  --o-gold-bright: #f4c66a;
  --o-gold-soft: #e6bf7a;
  --o-ivory: #f5ebdd;
  --o-mist: #9ba9bd;
  --o-bronze: #78502c;
  --o-line: rgba(var(--o-gold-rgb), .45);
  --o-line-soft: rgba(var(--o-gold-rgb), .22);

  --o-display: "AOC Cinzel", "Cinzel", "Trajan Pro", Georgia, serif;
  --o-serif: "AOC Cormorant", "Cormorant Garamond", Georgia, serif;
  --o-body: "AOC Garamond", "EB Garamond", Georgia, "Times New Roman", serif;

  --o-wrap: min(1180px, calc(100% - 32px));
  --o-wrap-wide: min(1360px, calc(100% - 32px));
  --o-header-h: 76px;
  --o-ease: cubic-bezier(.2, .7, .2, 1);

  /* Only the root carries colour; every section is transparent so the
     original fluid animation shows through across section boundaries. */
  background:
    radial-gradient(ellipse 80% 60% at 70% 8%, rgba(32, 58, 108, .55), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 60%, rgba(18, 36, 72, .5), transparent 65%),
    linear-gradient(180deg, var(--o-deep), var(--o-midnight) 40%, #050d1c);
  background-attachment: fixed;
  background-color: var(--o-midnight);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--o-header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { .olympians-doc { scroll-behavior: auto; } }

.olympians-doc body {
  margin: 0;
  background: transparent;
  color: var(--o-ivory);
  font-family: var(--o-body);
  font-size: clamp(17px, 1.05rem + .2vw, 20px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.olympians-doc *, .olympians-doc *::before, .olympians-doc *::after { box-sizing: border-box; }
.olympians-doc img { max-width: 100%; height: auto; }
.olympians-doc a { color: var(--o-gold-bright); }
.olympians-doc :focus-visible { outline: 2px solid var(--o-gold-bright); outline-offset: 3px; border-radius: 2px; }

.olympians-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.olympians-skip {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--o-gold-bright); color: #1a1206 !important;
  font-family: var(--o-display); font-size: 13px; letter-spacing: .1em; text-decoration: none; transition: top .2s;
}
.olympians-skip:focus { top: 12px; }

/* ---------- Atmosphere layers ---------- */
/* Background stack: html gradient < #fluid (original, z:-1) < sparks/veil (z:0) < content (z:1). */
.olympians-sparks, .olympians-veil { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.olympians-veil {
  /* Very light vignette, only to keep text comfortable at the edges. */
  background:
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(4, 10, 22, .55) 100%);
}
.olympians-doc #fluid { pointer-events: none; }
.olympians-main, .olympians-header, .olympians-footer { position: relative; z-index: 1; }
.olympians-main { overflow-x: clip; }

/* ---------- Decorative components ---------- */
.olympians-eyebrow {
  margin: 0 0 14px; font-family: var(--o-display); font-weight: 600;
  font-size: clamp(11px, .62rem + .2vw, 13px); letter-spacing: .32em; text-transform: uppercase; color: var(--o-gold-bright);
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
}
.olympians-h2 {
  margin: 0; font-family: var(--o-display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  font-size: clamp(28px, 1.1rem + 2.6vw, 54px); line-height: 1.12; color: var(--o-gold-soft);
  text-shadow: 0 1px 0 rgba(120, 80, 44, .6), 0 0 26px rgba(var(--o-yellow-rgb), .16);
  text-wrap: balance;
}
.olympians-divider { display: flex; align-items: center; gap: 14px; margin: 22px auto; max-width: 340px; color: var(--o-gold); }
.olympians-divider::before, .olympians-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--o-gold)); }
.olympians-divider::after { background: linear-gradient(90deg, var(--o-gold), transparent); }
.olympians-divider span { font-size: 16px; line-height: 1; color: var(--o-gold-bright); }
.olympians-divider--left { margin-left: 0; max-width: 240px; }
.olympians-divider--left::before { flex: 0 0 0; display: none; }

.olympians-laurel-rule { color: var(--o-gold); margin: 22px 0; max-width: 100%; }
.olympians-laurel { display: block; width: min(320px, 100%); height: auto; }

.olympians-badge {
  display: inline-block; padding: 3px 10px; border: 1px solid var(--o-gold); border-radius: 999px;
  font-size: 10px; letter-spacing: .22em; color: var(--o-ivory); background: rgba(var(--o-gold-rgb), .12);
}

.olympians-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 26px;
  font-family: var(--o-display); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; position: relative; transition: transform .25s var(--o-ease), box-shadow .25s, background .25s, color .25s;
}
.olympians-btn--gold { color: #1b1306 !important; background: linear-gradient(180deg, #f6d184, #c6923d); box-shadow: 0 10px 30px -12px rgba(var(--o-yellow-rgb), .6), inset 0 1px 0 rgba(255, 255, 255, .45); }
.olympians-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(var(--o-yellow-rgb), .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.olympians-btn--ghost { color: var(--o-ivory) !important; border: 1px solid var(--o-line); background: rgba(7, 20, 38, .25); }
.olympians-btn--ghost:hover { border-color: var(--o-gold-bright); color: var(--o-gold-bright) !important; }

/* ---------- Header ---------- */
.olympians-header {
  position: sticky; top: 0; z-index: 20;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.olympians-header.is-scrolled {
  background: rgba(5, 12, 26, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--o-line-soft);
}
.olympians-header__bar { width: var(--o-wrap-wide); margin: 0 auto; min-height: var(--o-header-h); display: flex; align-items: center; gap: 20px; }
.olympians-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--o-ivory) !important; margin-right: auto; min-width: 0; flex-shrink: 0; }
.olympians-brand img { width: 56px; height: auto; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.olympians-brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.olympians-brand__eyebrow { display: none; white-space: nowrap; font-family: var(--o-display); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--o-gold); }
.olympians-brand__name { font-family: var(--o-display); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

.olympians-nav { display: flex; align-items: center; gap: 18px; }
.olympians-nav__list { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.olympians-nav__link {
  position: relative; display: inline-block; padding: 8px 0; text-decoration: none; color: var(--o-ivory) !important;
  font-family: var(--o-display); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
}
.olympians-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--o-gold-bright); transform: scaleX(0); transition: transform .3s var(--o-ease); }
.olympians-nav__link:hover::after, .olympians-nav__link.is-active::after { transform: scaleX(1); }
.olympians-nav__link.is-active { color: var(--o-gold-bright) !important; }

.theme-switcher { display: flex; align-items: center; gap: 10px; padding-left: 18px; border-left: 1px solid var(--o-line-soft); }
.theme-switcher__current { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-family: var(--o-display); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--o-gold-bright); }
.theme-switcher__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--o-gold-bright); box-shadow: 0 0 10px var(--o-gold-bright); }
.theme-switcher__link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--o-line); border-radius: 999px;
  font-family: var(--o-display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--o-ivory) !important; white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s;
}
.theme-switcher__link:hover { border-color: var(--o-gold-bright); color: var(--o-gold-bright) !important; background: rgba(var(--o-yellow-rgb), .06); }
.theme-switcher__choose { font-size: 14px; font-style: italic; font-family: var(--o-serif); color: var(--o-mist) !important; white-space: nowrap; }
.theme-switcher__choose:hover { color: var(--o-gold-bright) !important; }

.olympians-nav-toggle { display: none; }

@media (max-width: 1380px) {
  .olympians-brand__eyebrow { display: block; }
  .olympians-nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
    background: transparent; border: 1px solid var(--o-line); border-radius: 50%; color: var(--o-ivory); cursor: pointer;
  }
  .olympians-nav-toggle__bars, .olympians-nav-toggle__bars::before, .olympians-nav-toggle__bars::after {
    display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s, background .3s;
  }
  .olympians-nav-toggle__bars::before, .olympians-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .olympians-nav-toggle__bars::before { top: -6px; }
  .olympians-nav-toggle__bars::after { top: 6px; }
  .olympians-nav-toggle[aria-expanded="true"] .olympians-nav-toggle__bars { background: transparent; }
  .olympians-nav-toggle[aria-expanded="true"] .olympians-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .olympians-nav-toggle[aria-expanded="true"] .olympians-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .olympians-nav {
    position: fixed; inset: var(--o-header-h) 0 auto 0; max-height: calc(100dvh - var(--o-header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 24px;
    background: rgba(5, 12, 26, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--o-line-soft);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .olympians-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .olympians-nav__list { flex-direction: column; gap: 0; }
  .olympians-nav__link { display: block; padding: 14px 4px; font-size: 14px; border-bottom: 1px solid rgba(var(--o-gold-rgb), .12); }
  .olympians-nav__link::after { display: none; }
  .theme-switcher { flex-wrap: wrap; padding: 18px 4px 0; border-left: 0; gap: 14px; }
  .olympians-header { background: rgba(5, 12, 26, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
@media (max-width: 420px) {
  .olympians-brand img { width: 44px; }
  .olympians-brand__name { font-size: 12.5px; letter-spacing: .08em; }
  .olympians-brand__eyebrow { font-size: 9px; letter-spacing: .18em; }
}

/* ---------- Hero ---------- */
.olympians-hero {
  position: relative; width: var(--o-wrap); margin: 0 auto; min-height: calc(100svh - var(--o-header-h));
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vh, 56px) 0 clamp(64px, 9vh, 110px);
}
.olympians-hero__title { margin: 0; font-family: var(--o-display); font-weight: 600; text-transform: uppercase; line-height: .98; }
.olympians-hero__line { display: block; font-size: clamp(22px, .9rem + 2.4vw, 46px); letter-spacing: .14em; color: var(--o-ivory); }
.olympians-hero__line--big {
  font-size: clamp(46px, 1rem + 6.6vw, 112px); letter-spacing: .04em; margin-top: .06em;
  color: var(--o-gold-soft);
  background: linear-gradient(180deg, #fbe2a8 0%, #e3b363 48%, #b07a30 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(80, 50, 20, .6)) drop-shadow(0 0 22px rgba(var(--o-yellow-rgb), .18));
}
.olympians-hero__sub {
  display: flex; align-items: center; gap: 16px; margin-top: .4em;
  font-size: clamp(15px, .7rem + 1vw, 24px); letter-spacing: .5em; color: var(--o-gold-bright);
}
.olympians-hero__sub::before, .olympians-hero__sub::after { content: ""; height: 1px; flex: 0 0 clamp(24px, 4vw, 56px); background: var(--o-gold); }
.olympians-hero__tagline { margin: 0 0 12px; font-family: var(--o-serif); font-style: italic; font-weight: 600; font-size: clamp(20px, .9rem + 1vw, 28px); line-height: 1.3; color: var(--o-ivory); }
.olympians-hero__lede { margin: 0; max-width: 34em; color: rgba(var(--o-ivory-rgb), .84); text-shadow: 0 1px 12px rgba(4, 10, 22, .8); }
.olympians-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.olympians-hero__book { display: flex; justify-content: center; }
.olympians-book-stage {
  position: relative; margin: 0; width: min(500px, 100%); aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
}
.olympians-book-stage canvas { position: absolute; inset: -14% -22%; width: 144%; height: 128%; display: block; z-index: 1; }
.olympians-book-stage__fallback {
  position: relative; z-index: 1; max-height: 100%; width: auto; object-fit: contain; border-radius: 2px 6px 6px 2px;
  box-shadow: -8px 0 0 -4px rgba(0, 0, 0, .25), 0 40px 70px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(var(--o-yellow-rgb), .18);
  transition: opacity .6s ease;
}
.olympians-book-stage.is-3d .olympians-book-stage__fallback { opacity: 0; }
.olympians-book-stage__flip {
  position: absolute; z-index: 2; left: 50%; top: 100%; margin-top: 18px; transform: translateX(-50%);
  min-height: 40px; padding: 8px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: rgba(7, 20, 38, .55); border: 1px solid var(--o-line); color: var(--o-ivory);
  font-family: var(--o-display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  transition: border-color .2s, color .2s;
}
.olympians-book-stage__flip:hover { border-color: var(--o-gold-bright); color: var(--o-gold-bright); }
.olympians-book-stage__glow {
  position: absolute; inset: 8% 0 0; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--o-yellow-rgb), .26), rgba(var(--o-gold-rgb), .08) 55%, transparent 75%);
  filter: blur(10px);
}
.olympians-cover-pending {
  position: relative; z-index: 1; width: 78%; aspect-ratio: 2 / 3; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  border: 1px solid var(--o-gold); outline: 1px solid var(--o-line-soft); outline-offset: 8px;
  font-family: var(--o-display); text-transform: uppercase; letter-spacing: .12em; color: var(--o-gold-soft); line-height: 1.4;
  background: radial-gradient(ellipse at 50% 30%, rgba(32, 58, 108, .6), rgba(7, 20, 38, .4));
}

.olympians-scroll-cue {
  position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--o-line); border-radius: 14px;
}
.olympians-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--o-gold-bright); border-radius: 2px; animation: o-cue 2s ease-in-out infinite; }
@keyframes o-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Intro + timeline ---------- */
.olympians-intro { width: var(--o-wrap); margin: 0 auto; padding: clamp(56px, 10vh, 120px) 0 clamp(40px, 8vh, 90px); text-align: center; }
.olympians-intro .olympians-eyebrow { justify-content: center; }
.olympians-intro__text { max-width: 40em; margin: 0 auto; font-family: var(--o-serif); font-size: clamp(20px, .9rem + .9vw, 27px); line-height: 1.5; font-style: italic; color: rgba(var(--o-ivory-rgb), .9); }

.olympians-timeline { position: relative; margin: clamp(40px, 7vh, 72px) auto 0; }
.olympians-timeline__line {
  position: absolute; left: 0; right: 0; top: 20px; height: 1px; transform-origin: left center;
  background: linear-gradient(90deg, transparent, var(--o-gold) 8%, var(--o-gold) 92%, transparent);
}
.olympians-timeline__list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.olympians-timeline__item a {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 2px 6px; text-decoration: none; color: var(--o-ivory) !important; min-height: 44px;
}
.olympians-timeline__num {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--o-display); font-size: 12px; color: var(--o-gold-bright);
  background: var(--o-midnight); border: 1px solid var(--o-gold);
  transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--o-ease);
}
.olympians-timeline__name { font-family: var(--o-display); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.olympians-timeline__item a:hover .olympians-timeline__num,
.olympians-timeline__item a.is-active .olympians-timeline__num { background: var(--o-gold-bright); color: #1b1306; box-shadow: 0 0 22px rgba(var(--o-yellow-rgb), .55); transform: translateY(-2px); }
.olympians-timeline__item.is-forthcoming .olympians-timeline__num { border-style: dashed; }

@media (max-width: 900px) {
  .olympians-timeline__line { display: none; }
  .olympians-timeline__list { grid-template-columns: repeat(6, 1fr); row-gap: 18px; }
}
@media (max-width: 480px) {
  .olympians-timeline__list { grid-template-columns: repeat(3, 1fr); }
  .olympians-timeline__name { letter-spacing: .08em; }
}

/* ---------- Months ---------- */
.olympians-months { width: var(--o-wrap); margin: 0 auto; }
.olympians-month {
  position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(64px, 11vh, 130px) 0;
}
.olympians-month + .olympians-month::before { /* fine gold rule between chapters */
  content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--o-line), transparent);
}
.olympians-month--reverse .olympians-month__media { order: 2; }

.olympians-month__media { position: relative; display: flex; justify-content: center; align-items: center; }
.olympians-month__bignum {
  position: absolute; z-index: -1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--o-display); font-weight: 700; font-size: clamp(140px, 22vw, 300px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--o-gold-rgb), .22); user-select: none;
}
.olympians-medallion { position: relative; width: min(320px, 72vw); aspect-ratio: 1; display: grid; place-items: center; }
.olympians-medallion__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.olympians-medallion__ring circle { fill: none; stroke: var(--o-gold); stroke-width: .8; opacity: .8; }
.olympians-medallion__ring circle[r="60"] { stroke: var(--o-line-soft); }
.olympians-medallion__ring circle[r="1.8"] { fill: var(--o-gold); stroke: none; opacity: .6; }
.olympians-medallion__ring circle.is-current { fill: var(--o-gold-bright); stroke: none; opacity: 1; filter: drop-shadow(0 0 6px var(--o-gold-bright)); }
.olympians-medallion::before {
  content: ""; position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--o-yellow-rgb), .18), rgba(11, 24, 48, .2) 70%, transparent);
}
.olympians-medallion__symbol {
  position: relative; font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", serif; font-variant-emoji: text;
  font-size: clamp(64px, 9vw, 104px); line-height: 1; color: var(--o-gold-bright);
  text-shadow: 0 0 30px rgba(var(--o-yellow-rgb), .45), 0 2px 0 rgba(120, 80, 44, .7);
}
.olympians-medallion__roman {
  position: absolute; bottom: 14%; font-family: var(--o-display); font-size: 13px; letter-spacing: .3em; color: var(--o-gold);
}

.olympians-month__name {
  margin: 0; font-family: var(--o-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(40px, 1rem + 4.4vw, 84px); line-height: 1;
  background: linear-gradient(180deg, #fbe2a8, #d9a650 60%, #a8742c);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(80, 50, 20, .55));
}
.olympians-month__figures { margin: 12px 0 0; font-family: var(--o-serif); font-style: italic; font-weight: 600; font-size: clamp(22px, 1rem + 1vw, 32px); color: var(--o-ivory); line-height: 1.2; }
.olympians-month__theme { margin: 0 0 12px; font-family: var(--o-display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--o-mist); }
.olympians-month__lede { margin: 0 0 14px; max-width: 36em; color: rgba(var(--o-ivory-rgb), .9); text-shadow: 0 1px 14px rgba(4, 10, 22, .85); }
.olympians-month__holidays { margin: 22px 0 0; max-width: 36em; font-family: var(--o-serif); font-style: italic; font-size: 1.02em; color: rgba(var(--o-ivory-rgb), .82); }
.olympians-month__holidays-label { display: block; margin-bottom: 4px; font-family: var(--o-display); font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--o-gold); }
.olympians-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; max-width: 36em; }
.olympians-facts li { position: relative; padding-left: 28px; color: rgba(var(--o-ivory-rgb), .88); line-height: 1.5; }
.olympians-facts li::before { content: "\2726"; position: absolute; left: 2px; top: .05em; color: var(--o-gold); font-size: .85em; }
.olympians-month__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--o-line-soft); max-width: 36em; }
.olympians-month__nav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--o-mist) !important;
  font-family: var(--o-display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; transition: color .2s;
}
.olympians-month__nav a:hover { color: var(--o-gold-bright) !important; }
.olympians-month--forthcoming .olympians-medallion { opacity: .65; }
.olympians-month--forthcoming .olympians-medallion__ring circle[r="96"] { stroke-dasharray: 4 6; }

@media (max-width: 820px) {
  .olympians-month { grid-template-columns: 1fr; gap: 18px; padding: 64px 0; }
  .olympians-month--reverse .olympians-month__media { order: 0; }
  .olympians-medallion { width: min(220px, 60vw); }
  .olympians-month__bignum { font-size: 150px; }
}

/* ---------- Book showcase ---------- */
.olympians-book {
  width: var(--o-wrap); margin: 0 auto; padding: clamp(72px, 12vh, 140px) 0;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  position: relative;
}
.olympians-book::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--o-line), transparent); }
.olympians-book__media { display: flex; justify-content: center; position: relative; }
.olympians-book__media::before { content: none; } /* no tilted outline: it read as a misaligned box */
.olympians-book__media .olympians-cover {
  position: relative; width: min(380px, 100%); object-fit: contain; border-radius: 2px 6px 6px 2px;
  box-shadow: 0 40px 70px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--o-yellow-rgb), .2), 0 0 80px -10px rgba(var(--o-yellow-rgb), .18);
}
.olympians-book__name { margin: 14px 0 0; font-family: var(--o-serif); font-style: italic; font-weight: 600; font-size: clamp(22px, 1rem + 1vw, 30px); color: var(--o-ivory); }
.olympians-book__text p:not(.olympians-eyebrow):not(.olympians-book__name) { max-width: 34em; color: rgba(var(--o-ivory-rgb), .88); }
@media (max-width: 820px) {
  .olympians-book { grid-template-columns: 1fr; text-align: left; }
  .olympians-book__media .olympians-cover { width: min(300px, 80vw); }
}

/* ---------- About ---------- */
.olympians-about { width: var(--o-wrap); margin: 0 auto; padding: clamp(64px, 11vh, 130px) 0; text-align: center; position: relative; }
.olympians-about::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--o-line), transparent); }
.olympians-about .olympians-eyebrow { justify-content: center; }
.olympians-about__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: 44px; text-align: left; }
.olympians-about__item { padding-top: 18px; border-top: 1px solid var(--o-line); }
.olympians-about__item h3 { margin: 10px 0 8px; font-family: var(--o-display); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--o-gold-soft); }
.olympians-about__item p { margin: 0; font-size: .95em; color: rgba(var(--o-ivory-rgb), .84); }
.olympians-about__glyph { font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", serif; font-size: 30px; color: var(--o-gold-bright); line-height: 1; }
.olympians-about__note { margin: 44px auto 0; max-width: 40em; font-family: var(--o-serif); font-style: italic; color: var(--o-mist); }
@media (max-width: 960px) { .olympians-about__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .olympians-about__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.olympians-footer { width: var(--o-wrap); margin: 0 auto; padding: 24px 0 48px; text-align: center; }
.olympians-footer__brand { margin: 0; font-family: var(--o-display); letter-spacing: .2em; text-transform: uppercase; color: var(--o-gold-soft); }
.olympians-footer__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; margin: 18px 0; }
.olympians-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--o-display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--o-ivory) !important; }
.olympians-footer__nav a:hover { color: var(--o-gold-bright) !important; }
.olympians-footer__copy { margin: 0; font-size: 14px; color: var(--o-mist); }

/* ---------- Hero on small screens ---------- */
@media (max-width: 900px) {
  .olympians-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 28px; text-align: left; gap: 36px; }
  .olympians-hero__book { order: -1; }
  .olympians-book-stage { width: min(260px, 64vw); }
  .olympians-scroll-cue { display: none; }
}

/* ---------- Motion (only when JS confirms motion is allowed) ---------- */
.aoc-motion [data-reveal] { opacity: 0; }
.aoc-motion .olympians-timeline__line { transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) {
  .olympians-doc *, .olympians-doc *::before, .olympians-doc *::after { animation: none !important; transition-duration: 0s !important; }
}

/* ==========================================================================
   Adam of Dadam family identity
   Book 2 shares Book 1's typography (Morsa + GigaSans, the site's own fonts),
   its signature yellow (#F8C914), near-black ground, logo-led header, button
   style and four-column footer. The classical serif is kept only for the
   Olympians title, month figures and accents, so Book 2 is related to Book 1
   without being a copy.
   ========================================================================== */
.olympians-doc {
  --o-yellow: #F8C914;
  --o-gold-bright: #F8C914;
  /* rgb versions, so every translucent tint follows the colours chosen in the editor */
  --o-yellow-rgb: 248, 201, 20;
  --o-gold-rgb: 198, 146, 61;
  --o-ivory-rgb: 245, 235, 221;
  --o-bg: #000;
  --o-brand: "AOD Morsa", "Morsa", "AOC Cinzel", sans-serif;
  --o-sans: "AOD GigaSans", "GigaSans", "AOC Garamond", Georgia, sans-serif;
  --o-header-h: 112px;
  background:
    radial-gradient(ellipse 80% 55% at 72% 6%, rgba(28, 52, 100, .45), transparent 60%),
    radial-gradient(ellipse 60% 50% at 8% 62%, rgba(14, 30, 64, .45), transparent 65%),
    linear-gradient(180deg, var(--o-bg) 0%, color-mix(in srgb, var(--o-bg) 80%, #0a1a3a) 35%, color-mix(in srgb, var(--o-bg) 65%, #0a1a3a) 100%);
  background-attachment: fixed;
  background-color: var(--o-bg);
}
.olympians-doc body { font-family: var(--o-sans); font-size: clamp(16px, .95rem + .15vw, 18px); line-height: 1.8; letter-spacing: .01em; }

/* Header: logo-led like Book 1, Morsa navigation with wide tracking. */
.olympians-brand__text { display: none !important; }
.olympians-brand img { width: 120px; }
.olympians-nav__link { font-family: var(--o-brand); font-size: 15px; letter-spacing: 3.5px; text-transform: capitalize; padding: 10px 0; }
.olympians-nav__link::after { background: var(--o-yellow); height: 2px; bottom: 0; }
.olympians-nav__link.is-active, .olympians-nav__link:hover { color: var(--o-yellow) !important; }
.olympians-nav__list { gap: 30px; }
.theme-switcher__current, .theme-switcher__link { font-family: var(--o-brand); letter-spacing: 2px; text-transform: capitalize; }
.theme-switcher__link { border-color: rgba(var(--o-yellow-rgb), .6); font-size: 13px; }
.theme-switcher__link:hover { color: var(--o-yellow) !important; border-color: var(--o-yellow); }
.theme-switcher__dot { background: var(--o-yellow); box-shadow: 0 0 10px var(--o-yellow); }
.theme-switcher__current { color: var(--o-yellow); font-size: 12px; }
.olympians-header.is-scrolled { background: rgba(0, 0, 0, .78); }
@media (max-width: 1380px) {
  .olympians-brand img { width: 84px; }
  .olympians-nav__link { font-size: 16px; letter-spacing: 3px; }
  .olympians-nav { background: rgba(2, 1, 1, .97); }
  .olympians-nav__list { gap: 0; }
}
@media (max-width: 1380px) { .olympians-doc { --o-header-h: 92px; } }
@media (max-width: 420px) { .olympians-brand img { width: 70px; } .olympians-doc { --o-header-h: 82px; } }

/* Labels and headings in Book 1's Morsa. */
.olympians-eyebrow, .olympians-month__theme, .olympians-month__holidays-label, .olympians-timeline__name,
.olympians-month__nav a, .olympians-about__item h3, .olympians-badge, .olympians-medallion__roman,
.olympians-book-stage__flip, .olympians-hero__sub {
  font-family: var(--o-brand);
}
.olympians-eyebrow { color: var(--o-yellow); letter-spacing: 4px; }
.olympians-h2 {
  font-family: var(--o-brand); font-weight: 400; text-transform: capitalize; letter-spacing: 1px;
  font-size: clamp(30px, 1.1rem + 2.4vw, 50px); color: var(--o-yellow);
  text-shadow: 0 0 24px rgba(var(--o-yellow-rgb), .18);
}
.olympians-month__name {
  font-family: var(--o-brand); font-weight: 400; text-transform: capitalize; letter-spacing: 2px;
  background: linear-gradient(180deg, #fff1a8, var(--o-yellow) 55%, var(--o-gold));
  -webkit-background-clip: text; background-clip: text;
}
.olympians-hero__sub { color: var(--o-yellow); letter-spacing: .45em; }
.olympians-hero__lede, .olympians-month__lede, .olympians-facts li, .olympians-about__item p, .olympians-book__text p { font-family: var(--o-sans); }
.olympians-about__item h3 { color: #fff; letter-spacing: 2px; text-transform: capitalize; font-size: 18px; font-weight: 400; }
.olympians-about__glyph, .olympians-facts li::before, .olympians-divider span { color: var(--o-yellow); }
.olympians-timeline__num { border-color: var(--o-yellow); color: var(--o-yellow); background: var(--o-bg); }
.olympians-timeline__item a:hover .olympians-timeline__num,
.olympians-timeline__item a.is-active .olympians-timeline__num { background: var(--o-yellow); color: #000; box-shadow: 0 0 22px rgba(var(--o-yellow-rgb), .55); }
.olympians-timeline__name { letter-spacing: 1.5px; text-transform: capitalize; font-size: 12px; }
.olympians-month__nav a { text-transform: capitalize; letter-spacing: 2px; font-size: 14px; }
.olympians-month__nav a:hover { color: var(--o-yellow) !important; }

/* Buttons: Book 1's solid yellow / black swap. */
.olympians-btn { font-family: var(--o-brand); font-weight: 400; letter-spacing: 1.5px; text-transform: capitalize; font-size: 16px; border-radius: 0; }
.olympians-btn--gold { background: var(--o-yellow); color: #000 !important; border: 1px solid var(--o-yellow); box-shadow: 0 0 10px rgba(0, 0, 0, .3); text-shadow: none; }
.olympians-btn--gold:hover, .olympians-btn--gold:focus-visible { background: #000; color: var(--o-yellow) !important; box-shadow: 0 0 24px rgba(var(--o-yellow-rgb), .35); }
.olympians-btn--ghost { border-color: rgba(var(--o-yellow-rgb), .7); }
.olympians-btn--ghost:hover { color: var(--o-yellow) !important; border-color: var(--o-yellow); }
.olympians-book-stage__flip { font-family: var(--o-display) !important; letter-spacing: .16em; text-transform: uppercase; font-size: 11px; border-color: rgba(var(--o-yellow-rgb), .6); }
.olympians-book-stage__flip:hover { color: var(--o-yellow); border-color: var(--o-yellow); }

/* Footer: Book 1's layout (logo + socials, three link columns, centred copyright). */
.olympians-footer { width: 100%; max-width: none; margin: 0; padding: 0; text-align: left; border-top: 2px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .35); }
.olympians-footer__grid { width: var(--o-wrap-wide); margin: 0 auto; padding: 56px 0 40px; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; gap: 32px; }
.olympians-footer__logo img { width: 170px; height: auto; display: block; }
.olympians-footer__social { display: flex; gap: 10px; margin-top: 14px; }
.olympians-footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff !important; transition: color .2s, background .2s; }
.olympians-footer__social a:hover { color: #000 !important; background: var(--o-yellow); }
.olympians-footer__heading { margin: 8px 0 22px; font-family: var(--o-brand); font-weight: 400; font-size: 22px; letter-spacing: 5px; text-transform: uppercase; color: #fff; }
.olympians-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.olympians-footer__col a { display: inline-flex; align-items: center; min-height: 40px; font-family: var(--o-brand); font-size: 16px; letter-spacing: 1px; text-transform: capitalize; text-decoration: none; color: #fff !important; transition: color .2s; }
.olympians-footer__col a:hover, .olympians-footer__col a[aria-current] { color: var(--o-yellow) !important; }
.olympians-footer__copy { margin: 0; padding: 18px 16px 26px; text-align: center; border-top: 1px solid rgba(255, 255, 255, .12); font-family: var(--o-brand); font-size: 14px; letter-spacing: 1px; color: #fff; }
@media (max-width: 960px) { .olympians-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .olympians-footer__grid { grid-template-columns: 1fr; gap: 20px; } }
.theme-switcher__choose { font-family: var(--o-brand); font-style: normal; font-size: 12px; letter-spacing: 1.5px; text-transform: capitalize; }
.theme-switcher__choose:hover { color: var(--o-yellow) !important; }
/* Popup Maker prints its (trigger-less) popup markup in wp_footer; its styles are not loaded here. */
.olympians-doc .pum-overlay, .olympians-doc .pum-container { display: none !important; }
.olympians-hero__book { padding-bottom: 64px; }

/* Book 1's liquid animation, recoloured for Book 2 only: the snippet draws
   electric blue (~220°); rotating the hue 180° lands on the cover's antique
   gold (~40°). Same canvas, same simulation, same single loop: only this page
   applies the filter, so Book 1 keeps its original blue. */
.olympians-doc #fluid { filter: hue-rotate(180deg) saturate(.8) brightness(1.15); }

/* ==========================================================================
   Editor-controlled colours and sizes (values printed inline from the
   Olympians Calendar editor; these are the fallbacks).
   ========================================================================== */
.olympians-doc {
  --o-btn-text: #000; --o-heading: #fff; --o-header-rgb: 0, 0, 0; --o-footer-rgb: 0, 0, 0;
  --o-title-top: #fbe2a8; --o-title-mid: #e3b363; --o-title-bottom: #b07a30; --o-month-top: #fff1a8;
  --o-text-scale: 1; --o-heading-scale: 1; --o-title-scale: 1;
}
.olympians-doc body { font-size: calc(clamp(16px, .95rem + .15vw, 18px) * var(--o-text-scale)); }
.olympians-h2 { font-size: calc(clamp(30px, 1.1rem + 2.4vw, 50px) * var(--o-heading-scale)); }
.olympians-month__name { font-size: calc(clamp(40px, 1rem + 4.4vw, 84px) * var(--o-heading-scale)); background: linear-gradient(180deg, var(--o-month-top), var(--o-yellow) 55%, var(--o-gold)); -webkit-background-clip: text; background-clip: text; }
.olympians-hero__line { font-size: calc(clamp(22px, .9rem + 2.4vw, 46px) * var(--o-title-scale)); }
.olympians-hero__line--big {
  font-size: calc(clamp(46px, 1rem + 6.6vw, 112px) * var(--o-title-scale));
  background: linear-gradient(180deg, var(--o-title-top) 0%, var(--o-title-mid) 48%, var(--o-title-bottom) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.olympians-btn--gold { color: var(--o-btn-text) !important; }
.olympians-btn--gold:hover, .olympians-btn--gold:focus-visible { background: var(--o-btn-text); }
.olympians-timeline__item a:hover .olympians-timeline__num,
.olympians-timeline__item a.is-active .olympians-timeline__num { color: var(--o-btn-text); }
.olympians-footer__social a { color: var(--o-heading) !important; }
.olympians-footer__social a:hover { color: var(--o-btn-text) !important; }
.olympians-about__item h3, .olympians-footer__heading, .olympians-footer__copy { color: var(--o-heading); }
.olympians-footer__col a { color: var(--o-heading) !important; }
.olympians-footer__col a:hover, .olympians-footer__col a[aria-current] { color: var(--o-yellow) !important; }
.olympians-header.is-scrolled { background: rgba(var(--o-header-rgb), .78); }
@media (max-width: 1380px) { .olympians-nav { background: rgba(var(--o-header-rgb), .97); } }
.olympians-footer { background: rgba(var(--o-footer-rgb), .35); }

/* Logo: image or text, sized from the editor. */
.olympians-brand img.aoc-logo-img { width: var(--aoc-logo-h, 120px); max-width: 40vw; }
.olympians-footer__logo img.aoc-logo-img { width: var(--aoc-logo-f, 170px); max-width: 100%; }
@media (max-width: 1380px) { .olympians-brand img.aoc-logo-img { width: var(--aoc-logo-m, 84px); } }
@media (max-width: 420px) { .olympians-brand img.aoc-logo-img { width: calc(var(--aoc-logo-m, 84px) * .85); } }
.olympians-brand .aoc-logo-text { max-width: 60vw; }
.olympians-footer__logo { display: inline-block; text-decoration: none; }

/* ==========================================================================
   Book 2 site: its own header, footer, pages and motion.
   Book 1 uses a black bar, Morsa capitals and a yellow pill; Book 2 uses a
   classical gold identity: the cover's lettering as the logo, Cinzel
   navigation, laurel rules, and the cover's illustrations on every page.
   ========================================================================== */
.olympians-doc { --o-topbar-h: 38px; --o-bar-h: 96px; --o-header-h: calc(var(--o-topbar-h) + var(--o-bar-h)); scroll-padding-top: calc(var(--o-bar-h) + 16px); }
.ob-wrap { width: var(--o-wrap-wide); margin-left: auto; margin-right: auto; }
.ob-header, .ob-footer, .ob-main { position: relative; z-index: 1; }
.ob-center { text-align: center; margin: clamp(32px, 5vw, 56px) 0 0; }
.ob-section { position: relative; padding: clamp(64px, 10vw, 130px) 0; }
.ob-section + .ob-section::before, .ob-marquee + .ob-section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(70%, 900px); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--o-line), transparent); }
.ob-marquee + .ob-section::before { display: none; }
.ob-section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); }
.ob-section__head .olympians-eyebrow { justify-content: center; }
.ob-section__intro { margin: 18px auto 0; max-width: 38em; color: rgba(var(--o-ivory-rgb), .84); }
.olympians-eyebrow, .olympians-badge, .olympians-medallion__roman, .olympians-hero__sub { font-family: var(--o-display); letter-spacing: .3em; }
.olympians-h2 { font-family: var(--o-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.olympians-btn { font-family: var(--o-display); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; border-radius: 999px; padding: 13px 28px; overflow: hidden; isolation: isolate; }
.olympians-btn--gold { background: linear-gradient(180deg, var(--o-title-top), var(--o-yellow) 55%, var(--o-gold)); border: 0; }
.olympians-btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--o-ease); }
.olympians-btn--gold:hover::after, .olympians-btn--gold:focus-visible::after { transform: translateX(120%); }
.olympians-btn--gold:hover, .olympians-btn--gold:focus-visible { background: linear-gradient(180deg, var(--o-title-top), var(--o-yellow) 55%, var(--o-gold)); color: var(--o-btn-text) !important; transform: translateY(-2px); }
.olympians-btn--ghost { background: rgba(var(--o-header-rgb), .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- Header ---------- */
.ob-header { position: sticky; top: calc(-1 * var(--o-topbar-h)); z-index: 40; }
.ob-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: linear-gradient(180deg, rgba(var(--o-header-rgb), .92), rgba(var(--o-header-rgb), .78));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(var(--o-gold-rgb), .35), 0 18px 40px -24px rgba(0, 0, 0, .9);
}
.ob-header.is-scrolled::before { opacity: 1; }
.ob-topbar { height: var(--o-topbar-h); border-bottom: 1px solid rgba(var(--o-gold-rgb), .25); background: linear-gradient(90deg, rgba(var(--o-gold-rgb), .14), rgba(var(--o-gold-rgb), .03) 40%, rgba(var(--o-gold-rgb), .14)); }
.ob-topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ob-topbar__text { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--o-display); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--o-gold-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-topbar__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--o-yellow); box-shadow: 0 0 10px var(--o-yellow); animation: ob-pulse 2.4s ease-in-out infinite; }
@keyframes ob-pulse { 50% { opacity: .35; transform: scale(.7); } }
.ob-topbar__links { display: flex; gap: 22px; flex: none; }
.ob-topbar__links a { font-family: var(--o-serif); font-style: italic; font-size: 15px; color: rgba(var(--o-ivory-rgb), .78) !important; text-decoration: none; white-space: nowrap; transition: color .2s; }
.ob-topbar__links a:hover { color: var(--o-yellow) !important; }

.ob-bar { min-height: var(--o-bar-h); display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.ob-brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; text-decoration: none; position: relative; z-index: 3; }
.ob-brand img.aoc-logo-img { width: var(--aoc-logo-h, 150px); max-width: 46vw; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); transition: width .35s var(--o-ease), transform .35s var(--o-ease); }
.ob-header.is-scrolled .ob-brand img.aoc-logo-img { width: calc(var(--aoc-logo-h, 150px) * .78); }
.ob-brand:hover img.aoc-logo-img { transform: scale(1.04); }

.ob-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); list-style: none; margin: 0; padding: 0; }
.ob-nav__item { position: relative; }
.ob-nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; text-decoration: none; white-space: nowrap;
  font-family: var(--o-display); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--o-ivory) !important; transition: color .25s;
}
.ob-nav__link::before { content: "\2726"; position: absolute; left: 50%; bottom: -4px; font-size: 9px; line-height: 1; color: var(--o-yellow); transform: translate(-50%, 6px) scale(.4); opacity: 0; transition: transform .3s var(--o-ease), opacity .3s; }
.ob-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: linear-gradient(90deg, transparent, var(--o-yellow), transparent); transform: scaleX(0); transition: transform .35s var(--o-ease); }
.ob-nav__link:hover, .ob-nav__link.is-current { color: var(--o-yellow) !important; }
.ob-nav__link:hover::after, .ob-nav__link.is-current::after { transform: scaleX(1); }
.ob-nav__link.is-current::before { opacity: 1; transform: translate(-50%, 4px) scale(1); }
.ob-nav__item--months > .ob-nav__link { padding-right: 16px; }
.ob-nav__item--months > .ob-nav__link > span.ob-caret, .ob-nav__item--months > .ob-nav__link::marker { display: none; }
.ob-nav__item--months > .ob-nav__link { background: no-repeat right 2px center / 8px 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1 2.5l3 3 3-3' fill='none' stroke='%23e6bf7a' stroke-width='1.2'/%3E%3C/svg%3E"); }

.ob-mega {
  position: absolute; top: 100%; left: 50%; width: min(780px, 92vw); padding-top: 18px; transform: translate(-50%, 10px);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--o-ease), visibility 0s .3s;
}
.ob-nav__item--months:hover .ob-mega, .ob-nav__item--months:focus-within .ob-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .3s var(--o-ease); }
.ob-mega__grid {
  list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: linear-gradient(180deg, rgba(var(--o-header-rgb), .97), rgba(var(--o-header-rgb), .93)); border: 1px solid rgba(var(--o-gold-rgb), .4); border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(var(--o-yellow-rgb), .15);
}
.ob-mega__link { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--o-ivory) !important; transition: background .2s, transform .2s; }
.ob-mega__link:hover, .ob-mega__link.is-current { background: rgba(var(--o-yellow-rgb), .1); transform: translateY(-1px); }
.ob-mega__num { grid-row: span 2; align-self: center; font-family: var(--o-display); font-size: 13px; color: var(--o-yellow); text-align: center; border: 1px solid rgba(var(--o-gold-rgb), .5); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; }
.ob-mega__name { font-family: var(--o-display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.ob-mega__fig { font-family: var(--o-serif); font-style: italic; font-size: 14px; line-height: 1.2; color: var(--o-mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-nav__books { display: none; }

.ob-cta {
  flex: none; position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 999px; text-decoration: none; overflow: hidden;
  font-family: var(--o-display); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--o-yellow) !important;
  border: 1px solid rgba(var(--o-yellow-rgb), .6); transition: color .3s, border-color .3s;
}
.ob-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--o-title-top), var(--o-yellow) 55%, var(--o-gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--o-ease); }
.ob-cta span { position: relative; }
.ob-cta:hover { color: var(--o-btn-text) !important; border-color: var(--o-yellow); }
.ob-cta:hover::before { transform: scaleX(1); }

.ob-burger { display: none; position: relative; z-index: 3; width: 50px; height: 50px; padding: 0; border-radius: 50%; border: 1px solid rgba(var(--o-yellow-rgb), .55); background: rgba(var(--o-header-rgb), .4); color: var(--o-yellow); cursor: pointer; }
.ob-burger__bars { display: grid; gap: 5px; width: 20px; margin: 0 auto; }
.ob-burger__bars span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--o-ease), opacity .2s; }
.ob-burger__bars span:nth-child(2) { width: 70%; margin-left: auto; }
.ob-burger[aria-expanded="true"] .ob-burger__bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ob-burger[aria-expanded="true"] .ob-burger__bars span:nth-child(2) { opacity: 0; }
.ob-burger[aria-expanded="true"] .ob-burger__bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .olympians-doc { --o-bar-h: 80px; }
  .ob-brand img.aoc-logo-img { width: var(--aoc-logo-m, 112px); }
  .ob-header.is-scrolled .ob-brand img.aoc-logo-img { width: calc(var(--aoc-logo-m, 112px) * .86); }
  .ob-burger { display: block; }
  .ob-nav {
    position: fixed; inset: 0; z-index: 2; overflow-y: auto; overscroll-behavior: contain;
    padding: calc(var(--o-bar-h) + 24px) 24px max(32px, env(safe-area-inset-bottom));
    background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(var(--o-gold-rgb), .2), transparent 70%), rgb(var(--o-header-rgb));
    clip-path: circle(0 at calc(100% - 44px) 40px); visibility: hidden; transition: clip-path .6s var(--o-ease), visibility 0s .6s;
  }
  .ob-header.is-scrolled .ob-nav { padding-top: calc(var(--o-bar-h) + 24px); }
  .ob-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; transition: clip-path .7s var(--o-ease); }
  .ob-nav__list { flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; margin: 0 auto; }
  .ob-nav__item { border-bottom: 1px solid rgba(var(--o-gold-rgb), .2); opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s var(--o-ease); }
  .ob-nav.is-open .ob-nav__item { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .07s); }
  .ob-nav__link { display: flex; min-height: 64px; font-size: clamp(20px, 5vw, 28px); letter-spacing: .14em; }
  .ob-nav__link::before, .ob-nav__link::after { display: none; }
  .ob-nav__item--months > .ob-nav__link { background: none; padding-right: 0; }
  .ob-mega { position: static; width: auto; padding: 0 0 18px; transform: none; opacity: 1; visibility: visible; transition: none; }
  .ob-mega__grid { grid-template-columns: repeat(3, 1fr); padding: 0; background: none; border: 0; box-shadow: none; gap: 6px; }
  .ob-mega__link { grid-template-columns: 1fr; text-align: center; padding: 10px 4px; border: 1px solid rgba(var(--o-gold-rgb), .22); }
  .ob-mega__num { grid-row: auto; width: auto; height: auto; border: 0; margin: 0 auto 2px; font-size: 12px; }
  .ob-mega__name { font-size: 12px; letter-spacing: .08em; }
  .ob-mega__fig { display: none; }
  .ob-nav__books { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; max-width: 640px; margin: 28px auto 0; }
  .ob-nav__books a { font-family: var(--o-serif); font-style: italic; font-size: 18px; color: var(--o-mist) !important; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
  .ob-cta { position: relative; z-index: 3; }
  html.ob-menu-open, html.ob-menu-open body { overflow: hidden; }
}
@media (max-width: 640px) {
  .olympians-doc { --o-topbar-h: 34px; --o-bar-h: 72px; }
  .ob-topbar__links { display: none; }
  .ob-topbar__inner { justify-content: center; }
  .ob-topbar__text { font-size: 10px; letter-spacing: .2em; }
  .ob-cta { display: none; }
  .ob-burger { width: 46px; height: 46px; }
}
/* No thin bar above the header (the default). */
.olympians-doc.ob-no-topbar { --o-topbar-h: 0px; }

/* Logged-in visitors: WordPress's own toolbar sits above the sticky header. */
.admin-bar .ob-header { top: calc(32px - var(--o-topbar-h)); }
@media (max-width: 1180px) { .admin-bar .ob-nav { top: 32px; } }
@media (max-width: 782px) {
  .admin-bar .ob-header { top: calc(46px - var(--o-topbar-h)); }
  .admin-bar .ob-nav { top: 46px; }
}
@media (max-width: 600px) {
  /* The toolbar scrolls away with the page here. */
  .admin-bar .ob-header { top: calc(-1 * var(--o-topbar-h)); }
  .admin-bar .ob-nav { top: 0; padding-top: calc(var(--o-bar-h) + 70px); }
}
@media (max-width: 380px) { .ob-mega__grid { grid-template-columns: repeat(2, 1fr); } .ob-footer__months ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Home hero ---------- */
.ob-hero { min-height: calc(100svh - var(--o-header-h)); }
.ob-hero__art { position: absolute; inset: -8% -12vw 0; z-index: -1; pointer-events: none; }
.ob-hero__art img { position: absolute; width: clamp(180px, 22vw, 360px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 18px 18px; opacity: .3; filter: saturate(.9) sepia(.15); mask-image: radial-gradient(ellipse 50% 50% at 50% 45%, #000 40%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 45%, #000 40%, transparent 100%); }
.ob-hero__art--l { left: 0; top: 18%; }
.ob-hero__art--r { right: 0; bottom: 6%; }
.ob-shimmer {
  background: linear-gradient(110deg, var(--o-title-bottom) 0%, var(--o-title-mid) 25%, var(--o-title-top) 42%, #fff 50%, var(--o-title-top) 58%, var(--o-title-mid) 75%, var(--o-title-bottom) 100%) !important;
  background-size: 250% 100% !important; -webkit-background-clip: text !important; background-clip: text !important;
  animation: ob-shimmer 7s ease-in-out infinite;
}
@keyframes ob-shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---------- Ribbon of month names ---------- */
.ob-marquee { position: relative; overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(var(--o-gold-rgb), .35); background: linear-gradient(90deg, rgba(var(--o-header-rgb), .6), rgba(var(--o-gold-rgb), .08), rgba(var(--o-header-rgb), .6)); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ob-marquee__track { display: flex; width: max-content; animation: ob-marquee 60s linear infinite; }
.ob-marquee:hover .ob-marquee__track { animation-play-state: paused; }
.ob-marquee__group { display: flex; flex: none; }
.ob-marquee__item { display: inline-flex; align-items: baseline; gap: 12px; padding: 0 30px; white-space: nowrap; font-family: var(--o-serif); font-style: italic; font-size: clamp(17px, 1.4vw, 22px); color: rgba(var(--o-ivory-rgb), .8); }
.ob-marquee__item b { font-family: var(--o-display); font-style: normal; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--o-yellow); }
.ob-marquee__item i { font-style: normal; color: var(--o-gold); font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", serif; }
@keyframes ob-marquee { to { transform: translateX(-50%); } }

/* ---------- Calendar wheel ---------- */
.ob-intro__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ob-wheel { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: 0 auto; }
.ob-wheel__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: ob-spin 90s linear infinite; }
@keyframes ob-spin { to { transform: rotate(360deg); } }
.ob-wheel__line { fill: none; stroke: rgba(var(--o-gold-rgb), .7); stroke-width: .8; }
.ob-wheel__line--dash { stroke-dasharray: 2 6; }
.ob-wheel__tick { stroke: rgba(var(--o-gold-rgb), .55); stroke-width: .8; }
.ob-wheel__text { font-family: var(--o-display); font-size: 15px; letter-spacing: 3px; fill: var(--o-gold-soft); text-transform: uppercase; }
.ob-wheel__art { position: absolute; inset: 22%; width: 56%; height: 56%; object-fit: cover; border-radius: 50%; border: 1px solid rgba(var(--o-yellow-rgb), .5); box-shadow: 0 0 0 8px rgba(var(--o-gold-rgb), .08), 0 0 60px rgba(var(--o-yellow-rgb), .25); }
.ob-intro__text .olympians-intro__text { margin: 0; text-align: left; font-family: var(--o-serif); font-style: italic; font-size: clamp(20px, .9rem + .9vw, 27px); line-height: 1.5; color: rgba(var(--o-ivory-rgb), .9); }

/* ---------- Month cards ---------- */
.ob-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px); }
.ob-card { --rx: 0deg; --ry: 0deg; perspective: 900px; }
.ob-card__link {
  position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--o-ivory) !important;
  background: rgba(var(--o-header-rgb), .55); border: 1px solid rgba(var(--o-gold-rgb), .35);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .5s var(--o-ease), border-color .3s, box-shadow .4s;
}
.ob-card__link:hover, .ob-card__link:focus-visible { border-color: rgba(var(--o-yellow-rgb), .85); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 40px -8px rgba(var(--o-yellow-rgb), .35); }
.ob-card__link::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 240, 200, .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.ob-card__link:hover::after { opacity: 1; }
.ob-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.ob-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--o-ease), filter .6s; filter: saturate(.92); }
.ob-card__link:hover .ob-card__media img { transform: scale(1.1); filter: saturate(1.08); }
.ob-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%, transparent 55%, rgba(var(--o-header-rgb), .95)); }
.ob-card__num { position: absolute; z-index: 1; top: 14px; left: 16px; font-family: var(--o-display); font-weight: 600; font-size: 14px; letter-spacing: .2em; color: var(--o-yellow); text-shadow: 0 1px 6px #000; }
.ob-card__symbol { position: absolute; z-index: 1; top: 10px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .45); border: 1px solid rgba(var(--o-yellow-rgb), .5); font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", serif; font-size: 20px; color: var(--o-yellow); transition: transform .6s var(--o-ease); }
.ob-card__link:hover .ob-card__symbol { transform: rotate(360deg); }
.ob-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; margin-top: -64px; padding: 0 20px 20px; }
.ob-card__name { font-family: var(--o-display); font-weight: 600; font-size: clamp(22px, 1.1rem + .6vw, 28px); letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; background: linear-gradient(180deg, var(--o-month-top), var(--o-yellow) 60%, var(--o-gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ob-card__fig { font-family: var(--o-serif); font-style: italic; font-size: 18px; line-height: 1.3; color: rgba(var(--o-ivory-rgb), .88); }
.ob-card__more { margin-top: 8px; font-family: var(--o-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--o-gold-soft); transition: color .2s, letter-spacing .4s var(--o-ease); }
.ob-card__link:hover .ob-card__more { color: var(--o-yellow); letter-spacing: .26em; }
.ob-card__badge { align-self: flex-start; margin-top: 8px; padding: 3px 10px; border: 1px dashed var(--o-gold); border-radius: 999px; font-family: var(--o-display); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--o-ivory); }
.ob-card--wip .ob-card__media img { filter: grayscale(.55) brightness(.75); }

/* ---------- Teasers (home + about) ---------- */
.ob-teaser__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ob-teaser--flip .ob-teaser__media { order: 2; }
.ob-teaser__media { position: relative; display: flex; justify-content: center; }
.ob-teaser__media::before { content: none; } /* no tilted outline: it read as a misaligned box */
.ob-teaser__media .olympians-cover { position: relative; width: min(360px, 100%); border-radius: 4px 10px 10px 4px; box-shadow: 0 40px 70px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--o-yellow-rgb), .2), 0 0 80px -10px rgba(var(--o-yellow-rgb), .2); animation: ob-float 7s ease-in-out infinite; }
.ob-teaser__media--art img { position: relative; width: min(460px, 100%); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 26px 26px; border: 1px solid rgba(var(--o-yellow-rgb), .45); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
@keyframes ob-float { 50% { transform: translateY(-12px) rotate(.6deg); } }
.ob-teaser__text p:not(.olympians-eyebrow) { max-width: 34em; color: rgba(var(--o-ivory-rgb), .88); }

/* ---------- Inner page hero ---------- */
.ob-phero { position: relative; min-height: clamp(420px, 66vh, 680px); display: flex; align-items: center; overflow: hidden; text-align: center; padding: 64px 0 80px; }
.ob-phero__art { position: absolute; inset: 0; z-index: -1; mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
.ob-phero__art img, .ob-month__art img { width: 100%; height: 100%; object-fit: cover; animation: ob-kenburns 26s ease-in-out infinite alternate; }
.ob-phero__art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(var(--o-header-rgb), .45), rgba(var(--o-header-rgb), .85)), linear-gradient(180deg, rgba(var(--o-header-rgb), .5), transparent 30%); }
@keyframes ob-kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -2%); } }
.ob-phero__inner { position: relative; }
.ob-phero .olympians-eyebrow { justify-content: center; }
.ob-phero__title { margin: 0; font-family: var(--o-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; line-height: 1.05; font-size: calc(clamp(34px, 1rem + 4.6vw, 80px) * var(--o-heading-scale)); background: linear-gradient(180deg, var(--o-title-top), var(--o-title-mid) 50%, var(--o-title-bottom)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .5)); text-wrap: balance; }
.ob-phero__intro { max-width: 40em; margin: 0 auto; font-family: var(--o-serif); font-style: italic; font-size: clamp(19px, .9rem + .7vw, 25px); line-height: 1.5; color: rgba(var(--o-ivory-rgb), .92); text-shadow: 0 1px 14px #000; }
.ob-phero__intro p { margin: 0 0 .6em; }
.ob-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-bottom: 22px; font-family: var(--o-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--o-mist); }
.ob-crumbs a { color: var(--o-gold-soft) !important; text-decoration: none; }
.ob-crumbs a:hover { color: var(--o-yellow) !important; }
.ob-crumbs [aria-current] { color: var(--o-ivory); }

/* ---------- Year line (Months page) ---------- */
.ob-year__line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); position: relative; }
.ob-year__line::before { content: ""; position: absolute; top: 26px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent, var(--o-gold) 6%, var(--o-gold) 94%, transparent); }
.ob-year__line a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 2px; text-align: center; text-decoration: none; color: var(--o-ivory) !important; }
.ob-year__dot { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--o-bg); border: 1px solid var(--o-gold); font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", serif; font-size: 22px; color: var(--o-yellow); transition: transform .35s var(--o-ease), background .3s, color .3s, box-shadow .3s; }
.ob-year__line a:hover .ob-year__dot { transform: translateY(-4px) scale(1.08); background: var(--o-yellow); color: var(--o-btn-text); box-shadow: 0 0 26px rgba(var(--o-yellow-rgb), .6); }
.ob-year__line .is-wip .ob-year__dot { border-style: dashed; }
.ob-year__name { font-family: var(--o-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ob-year__fig { font-family: var(--o-serif); font-style: italic; font-size: 14px; line-height: 1.25; color: var(--o-mist); }
@media (max-width: 1024px) {
  .ob-year__line { grid-template-columns: repeat(6, 1fr); row-gap: 28px; }
  .ob-year__line::before { display: none; }
}
@media (max-width: 560px) { .ob-year__line { grid-template-columns: repeat(3, 1fr); } .ob-year__fig { display: none; } }

/* ---------- Month page ---------- */
.ob-month__hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 7vw, 90px); }
.ob-month__art { position: absolute; inset: -40px; z-index: -1; mask-image: linear-gradient(180deg, #000 45%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 85%); }
.ob-month__art img { filter: blur(26px) saturate(1.2); opacity: .45; }
.ob-month__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ob-month__head { position: relative; z-index: 1; }
.ob-month__figure { position: relative; margin: 0; justify-self: center; width: min(460px, 100%); }
.ob-month__figure::before { content: none; } /* no tilted outline: it read as a misaligned box */
.ob-month__figure::after { content: ""; position: absolute; inset: 0; border-radius: 240px 240px 22px 22px; box-shadow: inset 0 -80px 80px -40px rgba(0, 0, 0, .6); pointer-events: none; }
.ob-month__figure img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 22px 22px; border: 1px solid rgba(var(--o-yellow-rgb), .6); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 80px -20px rgba(var(--o-yellow-rgb), .35); animation: ob-float 8s ease-in-out infinite; }
.ob-month__head .ob-crumbs { justify-content: flex-start; }
.ob-month__medallion { width: clamp(110px, 14vw, 170px); margin-bottom: 14px; }
.ob-month__medallion .olympians-medallion__symbol { font-size: clamp(38px, 5vw, 60px); }
.ob-month__medallion .olympians-medallion__roman { font-size: 10px; bottom: 10%; }
.ob-month__medallion .olympians-medallion__ring { animation: ob-spin 60s linear infinite; }
.ob-month__name { margin: 0; font-family: var(--o-display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; line-height: 1.02; font-size: calc(clamp(36px, 0.9rem + 3.8vw, 72px) * var(--o-heading-scale)); background: linear-gradient(180deg, var(--o-month-top), var(--o-yellow) 55%, var(--o-gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .55)); overflow-wrap: anywhere; }
.ob-month__figures { margin: 14px 0 0; font-family: var(--o-serif); font-style: italic; font-weight: 600; font-size: clamp(24px, 1rem + 1.6vw, 40px); line-height: 1.15; color: var(--o-ivory); text-shadow: 0 2px 18px #000; }
.ob-month__bignum { position: absolute; z-index: -1; left: 2vw; bottom: -0.12em; font-family: var(--o-display); font-weight: 700; font-size: clamp(110px, 15vw, 240px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--o-yellow-rgb), .2); pointer-events: none; user-select: none; }
.ob-month__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 6vw, 80px) 0; align-items: start; }
.ob-month__theme { margin: 0 0 22px; font-family: var(--o-display); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--o-yellow); }
.ob-month__lede { margin: 0 0 1.1em; font-size: 1.06em; color: rgba(var(--o-ivory-rgb), .92); }
.ob-dropcap::first-letter { float: left; margin: .06em .12em 0 0; font-family: var(--o-display); font-weight: 700; font-size: 3.6em; line-height: .8; color: var(--o-yellow); text-shadow: 0 0 22px rgba(var(--o-yellow-rgb), .35); }
.ob-month__side { position: sticky; top: calc(var(--o-bar-h) + 24px); display: grid; gap: 20px; }
.ob-month__facts { margin: 0; padding: 26px 24px; border: 1px solid rgba(var(--o-gold-rgb), .4); border-radius: 22px; background: rgba(var(--o-header-rgb), .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); max-width: none; }
.ob-month__holidays { padding: 22px 24px; border-left: 2px solid var(--o-yellow); background: linear-gradient(90deg, rgba(var(--o-gold-rgb), .14), transparent); border-radius: 0 18px 18px 0; }
.ob-month__holidays p { margin: 0; font-family: var(--o-serif); font-style: italic; font-size: 1.05em; color: rgba(var(--o-ivory-rgb), .9); }
.ob-month__holidays .ob-month__holidays-label { margin-bottom: 6px; font-family: var(--o-display); font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--o-gold-soft); }
.ob-month--wip .ob-month__figure img { filter: grayscale(.45) brightness(.8); }

.ob-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; padding: 28px 0; border-top: 1px solid rgba(var(--o-gold-rgb), .3); }
.ob-pager__link { display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 10px; border-radius: 20px; border: 1px solid rgba(var(--o-gold-rgb), .3); background: rgba(var(--o-header-rgb), .4); text-decoration: none; color: var(--o-ivory) !important; transition: border-color .3s, transform .35s var(--o-ease), background .3s; min-width: 0; }
.ob-pager__link:hover { border-color: var(--o-yellow); background: rgba(var(--o-gold-rgb), .1); }
.ob-pager__link--prev:hover { transform: translateX(-4px); }
.ob-pager__link--next { justify-content: flex-end; text-align: right; }
.ob-pager__link--next:hover { transform: translateX(4px); }
.ob-pager__link--plain { padding: 10px 22px; }
.ob-pager__link img { flex: none; width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.ob-pager__link > span { display: flex; flex-direction: column; min-width: 0; }
.ob-pager__link small { font-family: var(--o-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--o-mist); }
.ob-pager__link b { font-family: var(--o-display); font-weight: 600; font-size: clamp(18px, 1rem + .8vw, 26px); letter-spacing: .08em; text-transform: uppercase; color: var(--o-yellow); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-pager__all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; text-align: center; text-decoration: none; font-family: var(--o-display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--o-gold-soft) !important; }
.ob-pager__all:hover { color: var(--o-yellow) !important; }
.ob-pager__grid { display: grid; grid-template-columns: repeat(2, 9px); gap: 4px; }
.ob-pager__grid i { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 2px; transition: transform .3s; }
.ob-pager__all:hover .ob-pager__grid i { transform: rotate(45deg); }
.ob-minimonths { padding: 6px 0 clamp(48px, 7vw, 90px); }
.ob-minimonths ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ob-minimonths a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(var(--o-gold-rgb), .4); font-family: var(--o-display); font-size: 12px; color: var(--o-gold-soft) !important; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.ob-minimonths a:hover { transform: translateY(-3px); color: var(--o-yellow) !important; border-color: var(--o-yellow); }
.ob-minimonths a[aria-current] { background: var(--o-yellow); color: var(--o-btn-text) !important; border-color: var(--o-yellow); box-shadow: 0 0 20px rgba(var(--o-yellow-rgb), .5); }

/* ---------- The Book page ---------- */
.ob-bookpage__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.ob-flip { display: flex; flex-direction: column; align-items: center; gap: 16px; perspective: 1600px; }
.ob-flip__card { position: relative; display: block; width: min(480px, 100%); aspect-ratio: 1 / 1; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.6, .1, .2, 1); }
.ob-flip__card:disabled { cursor: default; }
.ob-flip__card[aria-pressed="true"] { transform: rotateY(180deg); }
.ob-flip__card:not([aria-pressed="true"]):not(:disabled):hover { transform: rotateY(-12deg) rotateX(3deg); }
.ob-flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 4px 12px 12px 4px; overflow: hidden; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(var(--o-yellow-rgb), .25), 0 0 90px -10px rgba(var(--o-yellow-rgb), .22); }
.ob-flip__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ob-flip__face--back { transform: rotateY(180deg); }
.ob-flip__hint { margin: 0; font-family: var(--o-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--o-gold-soft); }
.ob-bookpage__lede { font-size: 1.06em; color: rgba(var(--o-ivory-rgb), .92); max-width: 34em; }
.ob-highlights { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.ob-highlights li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid rgba(var(--o-gold-rgb), .3); border-radius: 16px; background: rgba(var(--o-header-rgb), .45); transition: border-color .3s, transform .3s var(--o-ease); }
.ob-highlights li:hover { border-color: var(--o-yellow); transform: translateX(6px); }
.ob-highlights__num { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, var(--o-title-top), var(--o-gold)); color: var(--o-btn-text); font-family: var(--o-display); font-weight: 700; font-size: 13px; }
.ob-bookpage__title { margin: 0 0 6px; }
.ob-bookpage__actions { margin: 30px 0 0; }

/* Book details + buying */
.ob-buy { padding-top: 0; scroll-margin-top: calc(var(--o-bar-h) + 20px); }
.ob-buy__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ob-buy__grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.ob-specs, .ob-buy__panel { padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(var(--o-gold-rgb), .35); border-radius: 24px; background: linear-gradient(180deg, rgba(var(--o-gold-rgb), .08), rgba(var(--o-header-rgb), .5)); }
.ob-specs__title { margin: 0 0 18px; font-family: var(--o-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .14em; text-transform: uppercase; color: var(--o-yellow); }
.ob-specs__table { width: 100%; border-collapse: collapse; }
.ob-specs__table th, .ob-specs__table td { padding: 12px 0; border-bottom: 1px solid rgba(var(--o-gold-rgb), .2); text-align: left; vertical-align: top; }
.ob-specs__table tr:last-child th, .ob-specs__table tr:last-child td { border-bottom: 0; }
.ob-specs__table th { width: 40%; padding-right: 16px; font-family: var(--o-display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--o-gold-soft, var(--o-gold)); }
.ob-specs__table td { color: rgba(var(--o-ivory-rgb), .92); overflow-wrap: anywhere; }
.ob-buy__title { margin: 0; }
.ob-buy__text { margin: 10px 0 0; color: rgba(var(--o-ivory-rgb), .82); }
.ob-buy__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.ob-product { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; border: 1px solid rgba(var(--o-gold-rgb), .28); border-radius: 18px; background: rgba(var(--o-header-rgb), .45); transition: border-color .3s; }
.ob-product:hover { border-color: var(--o-yellow); }
.ob-product__media { display: block; border-radius: 10px; overflow: hidden; background: rgba(var(--o-gold-rgb), .1); }
.ob-product__media img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ob-product__name { margin: 0; font-family: var(--o-display); font-weight: 600; font-size: 16px; letter-spacing: .06em; line-height: 1.3; }
.ob-product__name a { color: var(--o-heading) !important; text-decoration: none; }
.ob-product__name a:hover { color: var(--o-yellow) !important; }
.ob-product__price { margin: 4px 0 10px; font-family: var(--o-serif); font-size: 20px; color: var(--o-yellow); }
.ob-product__price del { opacity: .55; margin-right: 6px; }
.ob-product__price ins { text-decoration: none; }
.ob-product__actions { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ob-product__cart.olympians-btn { min-height: 42px; padding: 0 22px; font-size: 12px; }
.ob-product__more { font-family: var(--o-serif); font-style: italic; color: var(--o-mist) !important; text-decoration: none; }
.ob-product__more:hover { color: var(--o-yellow) !important; }
.ob-buy__soon { margin: 22px 0 0; padding: 16px 18px; border: 1px dashed rgba(var(--o-gold-rgb), .5); border-radius: 14px; font-family: var(--o-serif); font-style: italic; font-size: 1.1em; color: rgba(var(--o-ivory-rgb), .9); }
.ob-buy__soon span { color: var(--o-yellow); }
.ob-stores { margin-top: 24px; }
.ob-stores__title { margin: 0 0 10px; font-family: var(--o-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--o-mist); }
.ob-stores__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ob-stores__list a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(var(--o-gold-rgb), .45); border-radius: 999px; color: var(--o-ivory) !important; text-decoration: none; transition: border-color .2s, color .2s; }
.ob-stores__list a:hover { border-color: var(--o-yellow); color: var(--o-yellow) !important; }

/* Band leading into the months: no picture, a clean gold-edged panel. */
.ob-band { padding: clamp(24px, 5vw, 70px) 0 clamp(70px, 10vw, 140px); text-align: center; }
.ob-band__inner { max-width: 1000px; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); border: 1px solid rgba(var(--o-gold-rgb), .4); border-radius: 28px; background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(var(--o-gold-rgb), .14), transparent 70%); }
.ob-band .olympians-eyebrow { justify-content: center; }
.ob-band .olympians-h2 { margin-bottom: 26px; }
.ob-band__months { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ob-band__months a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(var(--o-gold-rgb), .35); border-radius: 999px; font-family: var(--o-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--o-ivory) !important; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.ob-band__months a span { color: var(--o-yellow); font-size: 11px; }
.ob-band__months a:hover { border-color: var(--o-yellow); color: var(--o-yellow) !important; background: rgba(var(--o-yellow-rgb), .08); }
.ob-band p { margin: 0; }
@media (max-width: 900px) { .ob-buy__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .ob-product { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .ob-specs__table th { width: 44%; font-size: 11px; letter-spacing: .1em; }
  .ob-band__months a { min-height: 36px; padding: 0 11px; font-size: 11px; }
}

/* ---------- About page ---------- */
.ob-about__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); perspective: 900px; }
.ob-about__cell { display: flex; }
.ob-about__item { flex: 1; --rx: 0deg; --ry: 0deg; position: relative; padding: 30px 24px; border-radius: 22px; border: 1px solid rgba(var(--o-gold-rgb), .35); background: linear-gradient(180deg, rgba(var(--o-gold-rgb), .1), rgba(var(--o-header-rgb), .55)); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--o-ease), border-color .3s; }
.ob-about__item:hover { border-color: var(--o-yellow); }
.ob-about__glyph { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 50%; border: 1px solid rgba(var(--o-yellow-rgb), .55); font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", serif; font-size: 28px; color: var(--o-yellow); box-shadow: 0 0 30px rgba(var(--o-yellow-rgb), .2); }
.ob-about__item h2 { margin: 0 0 10px; font-family: var(--o-display); font-weight: 600; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: var(--o-heading); }
.ob-about__item p { margin: 0; color: rgba(var(--o-ivory-rgb), .85); }
.ob-about__note { font-family: var(--o-serif); font-style: italic; font-size: 1.15em; }
@media (max-width: 1024px) { .ob-about__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ob-about__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ob-footer { margin-top: clamp(40px, 6vw, 80px); background: linear-gradient(180deg, transparent, rgba(var(--o-footer-rgb), .8) clamp(160px, 22vw, 300px), rgba(var(--o-footer-rgb), .92)); }
.ob-footer__band { position: relative; height: clamp(160px, 22vw, 300px); overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 35%, #000 55%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 55%, transparent); }
.ob-footer__band img { position: absolute; inset: -30% 0; width: 100%; height: 160%; object-fit: cover; opacity: .6; }
.ob-footer__head { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-top: calc(-1 * clamp(70px, 9vw, 120px)); }
.ob-footer__logo { display: inline-block; text-decoration: none; }
.ob-footer__logo img.aoc-logo-img { width: var(--aoc-logo-f, 280px); max-width: 80vw; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .8)); }
.ob-footer__tagline { margin: 0; font-family: var(--o-serif); font-style: italic; font-size: clamp(19px, 1rem + .6vw, 24px); color: var(--o-gold-soft); }
.ob-footer__months { margin-top: clamp(28px, 4vw, 44px); padding: 18px 0; border-block: 1px solid rgba(var(--o-gold-rgb), .3); }
.ob-footer__months ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.ob-footer__months a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; text-decoration: none; font-family: var(--o-display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(var(--o-ivory-rgb), .78) !important; transition: color .2s, background .2s; }
.ob-footer__months a span { font-size: 15px; color: var(--o-yellow); }
.ob-footer__months a:hover, .ob-footer__months a[aria-current] { color: var(--o-yellow) !important; background: rgba(var(--o-gold-rgb), .12); }
.ob-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 32px; padding: clamp(36px, 5vw, 56px) 0; }
.ob-footer__heading { margin: 0 0 16px; font-family: var(--o-display); font-weight: 600; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--o-yellow); }
.ob-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ob-footer__col a { display: inline-flex; align-items: center; min-height: 40px; font-family: var(--o-serif); font-size: 19px; text-decoration: none; color: var(--o-heading) !important; transition: color .2s, transform .25s var(--o-ease); }
.ob-footer__col a:hover, .ob-footer__col a[aria-current] { color: var(--o-yellow) !important; }
.ob-footer__col a:hover { transform: translateX(4px); }
.ob-footer__social { display: flex; align-items: flex-start; gap: 10px; }
.ob-footer__social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(var(--o-yellow-rgb), .5); color: var(--o-yellow) !important; transition: background .25s, color .25s, transform .25s; }
.ob-footer__social a:hover { background: var(--o-yellow); color: var(--o-btn-text) !important; transform: translateY(-3px); }
.ob-footer__copy { margin: 0; padding: 20px 16px 28px; text-align: center; border-top: 1px solid rgba(var(--o-gold-rgb), .25); font-family: var(--o-display); font-size: 12px; letter-spacing: .14em; color: var(--o-mist); }
@media (max-width: 1024px) {
  .ob-footer__months ol { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ob-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .ob-footer__col a { font-size: 17px; }
  .ob-footer__social { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 560px) {
  .ob-footer__months ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ob-footer__months a { font-size: 10px; letter-spacing: .04em; }
  .ob-footer__cols { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .ob-footer__col ul { justify-items: center; }
}

/* ---------- Layout on smaller screens ---------- */
@media (max-width: 960px) {
  .ob-intro__grid, .ob-teaser__grid, .ob-bookpage__grid, .ob-month__body, .ob-month__grid { grid-template-columns: 1fr; }
  .ob-month__figure { order: -1; width: min(360px, 80vw); margin-top: 8px; }
  .ob-teaser--flip .ob-teaser__media { order: 0; }
  .ob-wheel { width: min(340px, 86%); }
  .ob-intro__text { text-align: center; }
  .ob-intro__text .olympians-eyebrow { justify-content: center; }
  .ob-intro__text .olympians-divider--left { margin-left: auto; }
  .ob-intro__text .olympians-intro__text { text-align: center; }
  .ob-month__side { position: static; }
  .ob-hero__art img { opacity: .18; }
  .ob-flip__card { width: min(380px, 86vw); }
}
@media (max-width: 1100px) { .ob-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .ob-hero { min-height: auto; } }
@media (max-width: 640px) {
  .ob-pager { grid-template-columns: 1fr 1fr; }
  .ob-pager__all { grid-column: 1 / -1; order: -1; flex-direction: row; }
  .ob-pager__link { flex-direction: column; align-items: flex-start; text-align: left; }
  .ob-pager__link--next { align-items: flex-end; text-align: right; }
  .ob-pager__link--next img { order: -1; }
  .ob-pager__link img { width: 100%; height: 90px; }
  .ob-pager__link b { white-space: normal; }
  .ob-month__figure { width: min(300px, 78vw); }
  .ob-hero__art { display: none; }
  .ob-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ob-card__body { padding: 0 12px 14px; margin-top: -54px; }
  .ob-card__fig { font-size: 15px; }
  .ob-card__symbol { width: 32px; height: 32px; font-size: 16px; }
  .ob-card__more { letter-spacing: .12em; font-size: 10px; }
  .ob-marquee__item { padding: 0 18px; }
}
@media (max-width: 360px) { .ob-cards { grid-template-columns: 1fr; } }

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  .ob-card__link, .ob-about__item { transform: none !important; }
}

/* ---------- Game page ---------- */
.ob-game { padding-top: clamp(8px, 2vw, 28px); }
.ob-game__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 16px; }
.ob-game__tab { appearance: none; cursor: pointer; font: inherit; font-weight: 700; font-size: .95em; padding: 10px 20px; border-radius: 999px; border: 1.5px solid rgba(var(--o-yellow-rgb), .55); background: transparent; color: var(--o-ivory, #f6efe0); transition: background .2s, color .2s, transform .15s; }
.ob-game__tab:hover { transform: translateY(-1px); border-color: var(--o-yellow); }
.ob-game__tab[aria-selected="true"] { background: var(--o-yellow); border-color: var(--o-yellow); color: #111; }
.ob-game__tab:focus-visible { outline: 3px solid var(--o-yellow); outline-offset: 3px; }
.ob-game__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - var(--o-header-h, 92px) - 120px); min-height: 480px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(var(--o-yellow-rgb), .45); background: #08102a; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 40px rgba(var(--o-yellow-rgb), .12); }
.ob-game__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ob-game__frame:fullscreen { max-height: none; border-radius: 0; border: 0; }
.ob-game__bar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 18px; }
.ob-game__help { margin: 0; max-width: 46em; font-size: .92em; color: rgba(var(--o-ivory-rgb), .78); }
@media (orientation: portrait) and (min-width: 701px) {
  .ob-game__frame { aspect-ratio: auto; height: calc(100svh - var(--o-header-h, 92px) - 140px); min-height: 520px; max-height: 900px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .ob-game__frame { aspect-ratio: auto; height: calc(100svh - var(--o-header-h, 82px) - 12px); min-height: 280px; max-height: none; border-radius: 12px; }
  html.ob-page-game .aoc-float-switch { visibility: hidden; pointer-events: none; }
}
@media (max-width: 700px) {
  .ob-game__frame { aspect-ratio: auto; height: calc(100svh - var(--o-header-h, 82px) - 70px); min-height: 520px; max-height: 760px; border-radius: 14px; }
  .ob-game__bar { justify-content: center; text-align: center; }
  .ob-game__tabs { gap: 8px; margin-bottom: 12px; }
  .ob-game__tab { padding: 8px 14px; font-size: .88em; }
  html.ob-page-game .aoc-float-switch { visibility: hidden; pointer-events: none; }
}

/* ---------- Small screens: calmer type and spacing ---------- */
@media (max-width: 600px) {
  .olympians-doc body { font-size: 15.5px; line-height: 1.7; }
  .olympians-doc .olympians-h2 { font-size: calc(24px * var(--o-heading-scale)); letter-spacing: .04em; line-height: 1.15; }
  .olympians-doc .ob-phero__title { font-size: calc(28px * var(--o-heading-scale)); }
  .olympians-doc .ob-phero__intro { font-size: 17px; }
  .olympians-doc .olympians-intro__text { font-size: 17px; line-height: 1.55; }
  .olympians-doc .olympians-hero__tagline { font-size: 18px; }
  .olympians-doc .ob-month__name { font-size: calc(30px * var(--o-heading-scale)); }
  .olympians-doc .ob-month__figures { font-size: 19px; margin-top: 8px; }
  .olympians-doc .ob-month__bignum { display: none; }
  .olympians-doc .ob-month__lede, .olympians-doc .ob-bookpage__lede { font-size: 1em; }
  .olympians-doc .ob-section { padding: 56px 0; }
  .olympians-doc .ob-section__intro { font-size: 15px; }
  .olympians-doc .ob-card__fig { font-size: 15px; }
  .olympians-doc .ob-about__item h2 { font-size: 15px; }
  .olympians-doc .ob-footer__col a { font-size: 16px; min-height: 36px; }
  .olympians-doc .ob-nav__books a { font-size: 16px; }
  .olympians-doc .olympians-eyebrow { letter-spacing: .2em; }
  .olympians-doc .ob-footer { padding-bottom: 72px; } /* room for the book switch */
}
@media (max-width: 380px) {
  .olympians-doc .olympians-h2 { font-size: calc(22px * var(--o-heading-scale)); }
  .olympians-doc .ob-phero__title { font-size: calc(25px * var(--o-heading-scale)); }
  .olympians-doc .ob-month__name { font-size: calc(27px * var(--o-heading-scale)); }
}

/* ---------- The Book page on tablets and small laptops ----------
   Cover and both headings share the top row; the text below runs full width. */
@media (min-width: 561px) and (max-width: 1200px) {
  .ob-bookpage__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: clamp(24px, 4vw, 48px); row-gap: 0; align-items: start; }
  .ob-bookpage__text { display: contents; }
  .ob-bookpage__text > * { grid-column: 1 / -1; }
  .ob-bookpage__grid > .ob-flip { grid-column: 1; grid-row: 1 / 6; min-width: 0; width: 100%; }
  .ob-bookpage__grid .ob-flip__card { width: 100%; max-width: 480px; }
  .ob-bookpage__text > .olympians-eyebrow { grid-column: 2; grid-row: 2; }
  .ob-bookpage__text > .ob-bookpage__title { grid-column: 2; grid-row: 3; }
  .ob-bookpage__text > .olympians-divider { grid-column: 2; grid-row: 4; width: 100%; }
  .ob-bookpage__text > .olympians-divider + .ob-bookpage__lede { margin-top: 32px; }
}
@media (max-width: 1200px) {
  .ob-bookpage__lede { max-width: none; }
  .ob-bookpage__text { width: 100%; }
}
