
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #f5ede0;
  --bg-dark:       #e8d9c4;
  --bg-deep:       #d4c4a8;
  --ink:           #1c1510;
  --ink-light:     #3d2f22;
  --ink-faint:     #6b5744;
  --accent:        #8b2020;
  --accent2:       #2d5c4a;
  --gold:          #8b6914;
  --gold-light:    #c9a227;
  --rule:          rgba(60,40,20,0.25);
  --bg-transition: background-color 3s ease, color 3s ease;
}

/* ── Per-block palettes ───────────────────────────────────────── */
body.block-void {
  --bg:#1a1825; --bg-dark:#141220; --bg-deep:#0e0c18;
  --ink:#f0e8ff; --ink-light:#e0d4f0; --ink-faint:#c8b8e8;
  --accent:#c9a8f0; --accent2:#a0c4d8;
  --gold:#c0afd8; --gold-light:#d8c8f0;
  --rule:rgba(200,180,240,0.35);
}
body.block-hush {
  --bg:#1e1c2a; --bg-dark:#18161f; --bg-deep:#121018;
  --ink:#e0d8f0; --ink-light:#d0c8e0; --ink-faint:#c0b0d8;
  --accent:#c0a0c0; --accent2:#90b0d0;
  --gold:#b0a0c8; --gold-light:#c8b8e0;
  --rule:rgba(200,180,240,0.35);
}
body.block-chorus {
  --bg:#f5e8e0; --bg-dark:#ead8cc; --bg-deep:#d4c0b0;
  --ink:#1a1210; --ink-light:#38261a; --ink-faint:#6a4e3c;
  --accent:#b03828; --accent2:#7a5848;
  --gold:#a07020; --gold-light:#c89030;
  --rule:rgba(100,60,40,0.22);
}
body.block-transit {
  --bg:#f8f0d8; --bg-dark:#eddfc0; --bg-deep:#d8c89a;
  --ink:#181408; --ink-light:#342810; --ink-faint:#685030;
  --accent:#904018; --accent2:#306040;
  --gold:#987020; --gold-light:#c09030;
  --rule:rgba(70,40,10,0.22);
}
body.block-fulcrum {
  --bg:#fdf8ec; --bg-dark:#f4ead4; --bg-deep:#e4d8b8;
  --ink:#141008; --ink-light:#302410; --ink-faint:#604c28;
  --accent:#7a3010; --accent2:#2a5830;
  --gold:#9a7810; --gold-light:#c8a028;
  --rule:rgba(60,36,8,0.20);
}
body.block-doldrums {
  --bg:#f2e4cc; --bg-dark:#e4d0b0; --bg-deep:#ccb890;
  --ink:#1a100a; --ink-light:#382010; --ink-faint:#704030;
  --accent:#8a3018; --accent2:#3a5838;
  --gold:#906010; --gold-light:#b88020;
  --rule:rgba(80,40,16,0.24);
}
body.block-convivium {
  --bg:#2a1c18; --bg-dark:#201410; --bg-deep:#180e0a;
  --ink:#f0e0d8; --ink-light:#e0c8b8; --ink-faint:#d0a890;
  --accent:#e08050; --accent2:#c0a868;
  --gold:#e0a050; --gold-light:#f0b860;
  --rule:rgba(240,160,100,0.35);
}
body.block-denouement {
  --bg:#181420; --bg-dark:#100c18; --bg-deep:#0a0810;
  --ink:#e8e0f0; --ink-light:#d0c0e8; --ink-faint:#b0a0d0;
  --accent:#9888d0; --accent2:#88a8c8;
  --gold:#9890c0; --gold-light:#b8a8d8;
  --rule:rgba(180,160,220,0.30);
}

/* ── Base ─────────────────────────────────────────────────────── */
html { height: 100%; }
body {
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  overflow-x: hidden;
  transition: var(--bg-transition);
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4'/%3E%3C/filter%3E%3Crect width='400' height='400' fill='%23f5ede0'/%3E%3Crect width='400' height='400' fill='%23d4c4a8' opacity='0.3' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.5;
}

/* ── Frame & corners ──────────────────────────────────────────── */
.outer-frame {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 50;
  transition: box-shadow 3s ease, border-color 3s ease;
  box-shadow:
    0 0 0 18px var(--bg),
    inset 0 0 0 1px var(--rule),
    inset 0 0 0 23px var(--bg),
    inset 0 0 0 24px var(--rule);
}
.outer-frame::before { display: none; }
.corner {
  position: fixed; width: 36px; height: 36px;
  z-index: 51; pointer-events: none; color: var(--gold);
  transition: color 3s ease;
}
.corner svg { display: block; }
.corner-tl { top: 10px; left: 10px; }
.corner-tr { top: 10px; right: 10px; transform: scaleX(-1); }
.corner-bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.corner-br { bottom: 10px; right: 10px; transform: scale(-1,-1); }

/* ── Page ─────────────────────────────────────────────────────── */
.page {
  position: relative; z-index: 1;
  width: 100%; max-width: 820px;
  margin: 0 auto;
  padding: 68px 60px 48px;
  display: flex; flex-direction: column; align-items: center;
}

/* ── Header ───────────────────────────────────────────────────── */
.publication-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 10px; letter-spacing: 0.38em;
  color: var(--ink-faint); text-transform: uppercase;
  margin-bottom: 26px;
  transition: color 3s ease;
  text-align: center;
  width: 100%;
}

/* ── Rule ornament ────────────────────────────────────────────── */
.rule-ornament {
  display: flex; align-items: center; gap: 14px;
  width: 100%; max-width: 480px; margin-bottom: 28px;
}
.rule-ornament .line {
  flex: 1; height: 0.5px;
  background: linear-gradient(to right, transparent, var(--rule), transparent);
  transition: background 3s ease;
}
.rule-ornament .diamond {
  width: 6px; height: 6px; background: var(--gold);
  transform: rotate(45deg); flex-shrink: 0;
  transition: background 3s ease;
}
.rule-ornament .lozenge {
  color: var(--gold); font-size: 14px; flex-shrink: 0; line-height: 1;
  transition: color 3s ease;
}

.page-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(22px, 4vw, 38px); font-weight: 400;
  color: var(--ink); letter-spacing: 0.04em;
  margin-bottom: 10px;
  opacity: 0; animation: fadeIn 1.2s ease forwards 0.3s;
}
.page-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-weight: 300; font-style: italic;
  color: var(--ink-faint); letter-spacing: 0.1em;
  margin-bottom: 32px;
  opacity: 0; animation: fadeIn 1.2s ease forwards 0.5s;
}

/* ── Content ──────────────────────────────────────────────────── */
.content-block {
  width: 100%; max-width: 640px;
  opacity: 0; animation: fadeIn 1.2s ease forwards 0.7s;
}
.content-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: var(--ink-light);
  margin-bottom: 20px;
}
.content-block p:last-child {
  margin-bottom: 0;
}
.content-block a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.content-block a:hover {
  opacity: 1;
}
.content-block em {
  font-style: italic;
}
.content-block strong {
  font-weight: 500;
}

/* ── Block heading ────────────────────────────────────────────── */
.block-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-weight: 300; font-style: italic;
  color: var(--ink-faint); letter-spacing: 0.12em;
  margin-bottom: 6px;
  opacity: 0; animation: fadeIn 1.2s ease forwards 0.3s;
  transition: color 3s ease;
}
.block-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(30px, 5.5vw, 56px); font-weight: 400;
  color: var(--ink); line-height: 1.05; text-align: center;
  letter-spacing: 0.04em; margin-bottom: 10px;
  opacity: 0; animation: fadeIn 1.2s ease forwards 0.5s;
  transition: color 3s ease;
}
.hour-line {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 34px;
  opacity: 0; animation: fadeIn 1.2s ease forwards 0.7s;
}
.hour-name {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 18px; color: var(--accent);
  transition: color 3s ease;
}
.hour-sep { font-size: 11px; color: var(--gold); transition: color 3s ease; }
.clock-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-weight: 300; letter-spacing: 0.18em;
  color: var(--ink-faint); transition: color 3s ease;
}

/* ── Image frame ──────────────────────────────────────────────── */
.image-frame-outer {
  width: 100%; max-width: 440px; margin-bottom: 34px;
  opacity: 0; animation: fadeIn 1.4s ease forwards 0.9s;
}
.image-frame {
  position: relative; background: var(--bg-dark);
  border: 1px solid var(--rule); padding: 14px;
  transition: background 3s ease, border-color 3s ease;
}
.image-frame::before {
  content: ''; position: absolute; inset: 4px;
  border: 0.5px solid var(--rule); opacity: 0.6;
  pointer-events: none; z-index: 2;
}
.image-inner {
  width: 100%; aspect-ratio: 4/3; background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: background 3s ease;
}
.image-inner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: sepia(25%) contrast(0.93) brightness(1.02);
  transition: opacity 1.4s ease;
  cursor: zoom-in;
}
.image-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; color: var(--ink-faint);
  font-family: 'Cormorant Garamond', serif; font-size: 13px;
  font-style: italic; text-align: center; padding: 20px; line-height: 1.6;
}
.image-placeholder svg { opacity: 0.3; }
.image-caption {
  margin-top: 10px; text-align: center;
  font-size: 12.5px; font-style: italic;
  color: var(--ink-faint); letter-spacing: 0.02em; line-height: 1.65;
  white-space: pre-line;
  transition: color 3s ease;
}

/* ── Quote ────────────────────────────────────────────────────── */
.quote-block {
  width: 100%; max-width: 560px; margin-bottom: 26px; text-align: left;
  opacity: 0; animation: fadeIn 1.4s ease forwards 1.1s;
}
.quote-mark {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 52px; line-height: 0.5; color: var(--gold-light);
  display: block; margin-bottom: 8px; margin-top: 14px; opacity: 0.5;
  transition: color 3s ease;
}
.quote-text {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: clamp(16px, 2.3vw, 21px); font-style: italic;
  color: var(--ink-light); line-height: 1.68; margin-bottom: 14px;
  transition: color 3s ease;
}
.quote-attribution {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12.5px; font-weight: 300; letter-spacing: 0.18em;
  color: var(--ink-faint); text-transform: uppercase;
  transition: color 3s ease;
}

/* ── Static zone divider ──────────────────────────────────────── */
.static-divider {
  width: 100%; max-width: 520px;
  height: 0.5px;
  background: linear-gradient(to right, transparent, var(--rule) 20%, var(--rule) 80%, transparent);
  margin: 36px 0 0;
  opacity: 0; animation: fadeIn 1.4s ease forwards 1.3s;
  transition: background 3s ease;
}

/* ── Phenomena ────────────────────────────────────────────────── */
.phenomena {
  width: 100%; max-width: 520px; margin-top: 28px; text-align: center;
  opacity: 0; animation: fadeIn 1.4s ease forwards 1.35s;
}
.phenomena-list {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-weight: 300; color: var(--accent2);
  letter-spacing: 0.07em; line-height: 2.2;
  transition: color 3s ease;
}
.phenomena-list .sep { color: var(--gold); margin: 0 10px; transition: color 3s ease; }

/* ── Versicle ─────────────────────────────────────────────────── */
.versicle {
  width: 100%; max-width: 520px;
  margin-top: 48px; margin-bottom: 4px;
  padding: 24px 30px;
  border-left: 2px solid var(--accent);
  background: rgba(128,80,40,0.04);
  opacity: 0; animation: fadeIn 1.4s ease forwards 1.5s;
  transition: border-color 3s ease;
}
body.block-void .versicle,
body.block-silence .versicle,
body.block-repast .versicle,
body.block-denouement .versicle { background: rgba(180,160,220,0.06); }

.versicle p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14.5px; font-style: italic; font-weight: 300;
  color: var(--ink-light); line-height: 1.95;
  transition: color 3s ease;
}
.versicle p + p { margin-top: 1.1em; }

/* ── Rich-text links ──────────────────────────────────────────── */
.versicle a, .image-caption a, .quote-text a, .quote-attribution a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 3s ease;
}
.versicle a:hover, .image-caption a:hover,
.quote-text a:hover, .quote-attribution a:hover { opacity: 1; }

/* ── Page footer ──────────────────────────────────────────────── */
.page-footer {
  margin-top: 52px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; animation: fadeIn 1.2s ease forwards 1.7s;
  padding-bottom: 60px;
}
.colophon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-faint); opacity: 0.65;
  transition: color 3s ease;
}

/* ── Footer nav bar ───────────────────────────────────────────── */
.site-nav {
  position: relative; z-index: 55;
  width: 100%;
  border-top: 1px solid var(--rule);
  background: var(--bg-dark);
  padding: 0 40px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  /* Increasing gap slightly to compensate for removing the 18px margin on each side of the star */
  gap: 36px; min-height: 48px;
  transition: background 3s ease, border-color 3s ease;
}

.site-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; font-weight: 400; letter-spacing: 0.28em;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink-faint); opacity: 0.75;
  transition: opacity 0.2s ease, color 3s ease;
}

.site-nav a.active {
  font-weight: bold;
  color: var(--accent);
  text-decoration: underline;
}

/* ── Add this new class for your separators ── */
.nav-divider {
  color: var(--gold);
  font-size: 8px;
  opacity: 0.5;
  user-select: none;
}

/* ── Veil ─────────────────────────────────────────────────────── */
.transition-veil {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 100; pointer-events: none;
  opacity: 0; transition: opacity 1.4s ease;
}
.transition-veil.active { opacity: 0.9; }

/* ── Error state ──────────────────────────────────────────────── */
.load-error {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-style: italic; color: var(--ink-faint);
  text-align: center; padding: 60px 40px; line-height: 1.8;
}

.error-detail {
  font-size: 13px; font-weight: 300; margin-top: 20px;
  color: var(--ink-light); font-style: normal;
}

.retry-button {
  margin-top: 24px;
  padding: 10px 24px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.retry-button:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── Lightbox ─────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.88);
  flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; }
.lightbox img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
  cursor: zoom-out;
}
.lightbox-caption {
  margin-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-style: italic;
  color: rgba(255,255,255,0.7);
  text-align: center; max-width: 600px; line-height: 1.6;
}
.lightbox-caption a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline; text-underline-offset: 2px;
}

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hours drop-up group ──────────────────────────────────────── */
.nav-hours-group {
  position: relative;
  display: flex; 
  align-items: center; 
  justify-content: center; /* Fixed typo: jutify-content */
  margin: 0;               /* Fixed typo: marign */
  padding: 0;
}

.nav-hours-trigger {
  all: unset;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; 
  font-weight: 400; 
  letter-spacing: 0.28em;
  text-transform: uppercase; 
  cursor: pointer;
  color: var(--ink-faint); 
  opacity: 0.75;
  transition: opacity 0.2s ease, color 3s ease;
  width: auto; 
  display: flex;
  align-items: center;
}
.nav-hours-trigger::after {
  content: ' ▴';
  font-size: 7px;
  opacity: 0.5;
  margin-left: 4px;
}
.nav-hours-trigger:hover { opacity: 1; color: var(--accent); }
.nav-hours-trigger.open { opacity: 1; color: var(--accent); }

.nav-hours-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 12px;
  background: var(--bg-dark);
  border: 1px solid var(--rule);
  padding: 8px 0;
  min-width: 180px;
  flex-direction: column;
  align-items: center;
  z-index: 999;
  transition: background 3s ease, border-color 3s ease;
}
.nav-hours-menu.open {
  display: flex;
}
.nav-hours-menu a,
.nav-hours-menu .wander-btn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; font-weight: 400; letter-spacing: 0.28em;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink-faint); opacity: 0.75;
  padding: 8px 20px;
  width: 100%; text-align: center;
  transition: opacity 0.2s ease, color 3s ease;
}
.nav-hours-menu a:hover,
.nav-hours-menu .wander-btn:hover { opacity: 1; color: var(--accent); }


/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  .outer-frame {
    box-shadow: 0 0 0 10px var(--bg), inset 0 0 0 1px var(--rule), inset 0 0 0 15px var(--bg), inset 0 0 0 16px var(--rule);
  }
  .page { padding: 44px 24px 36px; }
  .image-frame-outer { max-width: 100%; margin-bottom: 24px; }
  .image-frame { padding: 10px; }
  .quote-block { margin-bottom: 18px; }
  .block-name { font-size: clamp(24px, 7vw, 36px); }
  .quote-text { font-size: clamp(14px, 4vw, 18px); }
  .block-subtitle { margin-bottom: 4px; }
  .hour-line { flex-direction: column; align-items: center; gap: 4px; margin-bottom: 24px; }
  .versicle { padding: 16px; margin-top: 24px; }
  .versicle p { font-size: 13px; }
  .corner { display: none; }

  .site-nav {
    flex-direction: column;
    align-items: center;
    padding: 8px 20px;
    gap: 0;
  }
  .site-nav > a {
    font-size: 10px; letter-spacing: 0.18em;
    padding: 10px 0;
    width: 100%; text-align: center;
    border-top: 0.5px solid var(--rule);
  }
  .nav-hours-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .nav-hours-trigger {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
    font-size: 10px;
    letter-spacing: 0.18em;
    padding: 12px 0;
    border-top: 0.5px solid var(--rule);
  }
  .nav-hours-menu {
    position: relative;
    width: 100%;
    left: auto;
    transform: none;
    bottom: auto;
    margin-bottom: 0;
    border: none;
    border-top: 0.5px solid var(--rule);
    padding: 0;
  }
  .nav-hours-menu a,
  .nav-hours-menu .wander-btn {
    font-size: 10px;
    letter-spacing: 0.18em;
    padding: 10px 0;
    border-top: 0.5px solid var(--rule);
  }
  .nav-hours-menu a:first-child,
  .nav-hours-menu .wander-btn:first-child { border-top: none; }
  .nav-divider { display: none; }
  .wander-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .wander-pane { padding: 52px 20px 60px; }
  .wander-pane .wander-dial-wrap { width: 230px; height: 230px; }
  .tile-name { font-size: 11px; }
  .tile-hours { font-size: 12px; }
  .tile-subtitle { font-size: 12px; }
}

  
  /* ── Wander trigger button ────────────────────────────────────── */
button.wander-btn {
  all: unset;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; font-weight: 400; letter-spacing: 0.28em;
  text-transform: uppercase; cursor: pointer;
  color: var(--ink-faint); opacity: 0.75;
  transition: opacity 0.2s ease, color 3s ease;
}
button.wander-btn:hover { opacity: 1; color: var(--accent); }

/* ── Wander pane ──────────────────────────────────────────────── */
.wander-pane {
  display: none;
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.4s ease, background 3s ease;
  padding: 56px 40px 80px;
}
.wander-pane.open {
  display: flex;
  opacity: 1;
}
  body:has(.wander-pane.open) {
  overflow: hidden;
}

.wander-close {
  position: fixed; top: 28px; right: 36px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-faint); opacity: 0.6; cursor: pointer;
  background: none; border: none;
  transition: opacity 0.2s ease, color 3s ease;
  z-index: 160;
}
.wander-close:hover { opacity: 1; color: var(--accent); }

.wander-heading {
  font-family: 'Cinzel Decorative', serif;
  font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 8px;
  transition: color 3s ease;
}
.wander-subheading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-style: italic; font-weight: 300;
  color: var(--ink-faint); opacity: 0.7; margin-bottom: 36px;
  transition: color 3s ease;
}

/* ── Dial ─────────────────────────────────────────────────────── */
.wander-dial-wrap {
  margin-bottom: 44px;
  position: relative;
  width: 240px; height: 240px;
  flex-shrink: 0;
}
.wander-dial-wrap svg {
  width: 100%; height: 100%;
  overflow: visible;
}
.dial-arc {
  fill: none;
  stroke-width: 14;
  stroke-linecap: butt;
  opacity: 0.28;
  -webkit-text-stroke: none;
  filter: drop-shadow(0 0 1.5px var(--bg-dark));
  transition: opacity 0.35s ease, stroke-width 0.35s ease;
}
.dial-arc.active   { opacity: 0.9; stroke-width: 17; }
.dial-arc.current  { opacity: 0.55; }
.dial-hand {
  transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.dial-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7.5px; font-style: italic;
  fill: var(--ink-faint);
  opacity: 0.55;
  transition: opacity 0.35s ease, fill 0.35s ease;
  text-anchor: middle;
  dominant-baseline: middle;
}
.dial-label.active { opacity: 1; fill: var(--ink); }

/* ── Block tile grid ──────────────────────────────────────────── */
.wander-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%; max-width: 760px;
}
.wander-tile {
  border: 1px solid var(--rule);
  background: var(--bg-dark);
  padding: 18px 14px 16px;
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  transition: background 0.2s ease, border-color 0.2s ease,
              background-color 3s ease, border-color 3s ease;
  position: relative;
}
.wander-tile:hover {
  background: var(--bg-deep);
  border-color: var(--gold);
}
.wander-tile.is-current {
  border-color: var(--accent);
  background: var(--bg-deep);
}
.wander-tile.is-current::before {
  content: '✦';
  position: absolute; top: 6px; right: 8px;
  font-size: 7px; color: var(--accent); opacity: 0.7;
}
.tile-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 10px; letter-spacing: 0.05em;
  color: var(--ink); text-align: center;
  transition: color 3s ease;
}
.tile-hours {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; font-weight: 300; letter-spacing: 0.1em;
  color: var(--ink-faint); text-align: center;
  transition: color 3s ease;
}
.tile-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; font-style: italic; font-weight: 300;
  color: var(--ink-faint); opacity: 0.7; text-align: center;
  transition: color 3s ease;
}

/* ── Turn the page ────────────────────────────────────────────── */
.turn-the-page {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; font-weight: 400; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-faint);
  opacity: 0; padding: 4px 0;
  margin-top: 32px;
  transition: color 3s ease, opacity 1.2s ease;
}
.turn-the-page:hover { color: var(--accent); opacity: 1 !important; }
.turn-the-page .ttp-bracket {
  font-size: 15px; color: var(--gold);
  font-style: normal; line-height: 1;
  opacity: 0.7;
  transition: color 3s ease, opacity 0.2s ease;
}
.turn-the-page:hover .ttp-bracket { opacity: 1; }
.turn-the-page.visible { opacity: 0.55; }

/* ── Active nav link ──────────────────────────────────────────── */
.site-nav a.active {
  opacity: 1;
  color: var(--accent);
}

/* ── Page note (sources, about) ───────────────────────────────── */
.page-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13.5px; font-weight: 300; font-style: italic;
  color: var(--ink-faint); text-align: center;
  max-width: 480px; line-height: 1.7; margin-bottom: 52px;
  opacity: 0; animation: fadeIn 1.2s ease forwards 0.7s;
}
.page-note a {
  color: var(--accent);
  text-decoration: underline; text-underline-offset: 2px;
  opacity: 0.85; transition: opacity 0.2s ease;
}
.page-note a:hover { opacity: 1; }

/* ── Reading list ─────────────────────────────────────────────── */
.reading-list {
  width: 100%; max-width: 640px;
  display: flex; flex-direction: column; gap: 52px;
  margin-bottom: 52px;
}

.block-section {
  opacity: 0; animation: fadeIn 1.2s ease forwards;
}
.block-section:nth-child(1) { animation-delay: 0.8s; }
.block-section:nth-child(2) { animation-delay: 0.95s; }
.block-section:nth-child(3) { animation-delay: 1.1s; }
.block-section:nth-child(4) { animation-delay: 1.25s; }
.block-section:nth-child(5) { animation-delay: 1.4s; }
.block-section:nth-child(6) { animation-delay: 1.55s; }
.block-section:nth-child(7) { animation-delay: 1.7s; }
.block-section:nth-child(8) { animation-delay: 1.85s; }

.block-header {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 0.5px solid var(--rule);
}
.block-header-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 15px; font-weight: 400;
  color: var(--ink); letter-spacing: 0.04em;
}
.block-header-hours {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px; font-weight: 300; font-style: italic;
  color: var(--ink-faint); letter-spacing: 0.1em;
}

/* ── Reading entries ──────────────────────────────────────────── */
.entry {
  display: grid; grid-template-columns: 1fr;
  gap: 5px; padding: 14px 0;
  border-bottom: 0.5px solid rgba(60,40,20,0.1);
}
.entry:last-child { border-bottom: none; }

.entry-quote {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 14.5px; font-style: italic;
  color: var(--ink-light); line-height: 1.65;
}
.entry-meta {
  display: flex; align-items: baseline;
  flex-wrap: wrap; gap: 6px 14px;
  margin-top: 4px;
}
.entry-attr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px; font-weight: 300; letter-spacing: 0.14em;
  color: var(--ink-faint); text-transform: uppercase;
}
.entry-links {
  display: flex; align-items: center; gap: 10px;
}
.entry-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11.5px; font-weight: 300; font-style: italic;
  color: var(--accent); text-decoration: underline;
  text-underline-offset: 2px; opacity: 0.8;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.entry-link:hover { opacity: 1; }
.entry-link-sep {
  font-size: 8px; color: var(--gold); opacity: 0.5;
}
.entry-pending {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-style: italic;
  color: var(--ink-faint); opacity: 0.5;
  padding: 8px 0;
}

/* ── Responsive additions for reading list ────────────────────── */
@media (max-width: 600px) {
  .entry-meta { flex-direction: column; gap: 4px; }
}
