/* ════════════════════════════════════════════════════════════════════
   EXYPNOS · SCHEDULE — "The Clock"
   Each event is an ARC on the rim, spanning the time it actually runs.
   Concurrent events stack as concentric rings (greedy track packing).
   The arc's length = its duration. The clock conveys time, duration,
   and parallelism at a single glance.
   ════════════════════════════════════════════════════════════════════ */

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

:root {
  --bg:          #000;
  --ink:         #f4efe5;
  --ink-soft:    rgba(244, 239, 229, 0.62);
  --ink-faint:   rgba(244, 239, 229, 0.30);
  --line:        rgba(255, 210, 130, 0.14);
  --line-strong: rgba(255, 210, 130, 0.28);
  --amber:       #ffd282;
  --amber-soft:  rgba(255, 210, 130, 0.55);
  --ember:       #c46a4a;
  --sage:        #8fb795;
  --cream:       #f4e8c8;
  --lora:        'Lora', Georgia, serif;
  --geist:       'Geist', 'Helvetica Neue', sans-serif;
  --mono:        'JetBrains Mono', 'SF Mono', monospace;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--lora);
  overflow-x: hidden;
  min-height: 100svh;
}
::selection { background: rgba(255, 210, 130, 0.36); color: #1a1208; }

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(255, 210, 130, 0.10), transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(15, 10, 5, 0.7), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  pointer-events: none;
  z-index: 200;
  opacity: 0.36;
  mix-blend-mode: screen;
}

#starfield, #aurora {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
#aurora { z-index: 0; opacity: 0.55; }

.nav-back {
  position: fixed;
  top: 28px; left: 28px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border: 1px solid rgba(255, 210, 130, 0.22);
  background: rgba(8, 6, 4, 0.55);
  backdrop-filter: blur(8px);
  color: rgba(255, 210, 130, 0.85);
  font-family: var(--geist);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.nav-back:hover {
  border-color: var(--amber);
  background: rgba(255, 210, 130, 0.06);
  color: var(--ink);
}
.nav-back-arrow {
  display: inline-block;
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.4s cubic-bezier(.22,1,.36,1);
}
.nav-back-arrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left center;
}
.nav-back:hover .nav-back-arrow { width: 26px; }

.reg-mark {
  position: fixed;
  width: 14px; height: 14px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.38;
}
.reg-mark::before, .reg-mark::after {
  content: ''; position: absolute;
  background: rgba(255, 210, 130, 0.6);
}
.reg-mark::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-0.5px); }
.reg-mark::after  { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-0.5px); }
.reg-mark.tr { top: 22px; right: 22px; }
.reg-mark.bl { bottom: 22px; left: 22px; }
.reg-mark { display: none; } /* superseded by .page-head + .below-frame corners */

.edition-stamp {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--geist);
  font-size: 0.52rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 210, 130, 0.24);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.9em;
}
.edition-stamp::after {
  content: '';
  display: inline-block;
  width: 16px; height: 1px;
  background: rgba(255, 210, 130, 0.34);
}

.page {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 14px 28px;
  max-width: 1560px;
  margin: 0 auto;
}
.page-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  gap: 6px;
}

/* ── PAGE HEAD ── */
.page-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.brand-link {
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 200;
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.brand-link:hover { opacity: 0.85; }
.brand-logo {
  display: block;
  height: 140px;
  width: auto;
}
@media (max-width: 900px) {
  .brand-link { top: 12px; left: 12px; }
  .brand-logo { height: 100px; }
}
@media (max-width: 640px) {
  .brand-link { top: 8px; left: 8px; }
  .brand-logo { height: 80px; }
}
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255, 210, 130, 0.04);
  color: var(--amber);
  transition: border-color 0.3s, background 0.3s;
}
.brand-link:hover .brand-mark { border-color: var(--amber); background: rgba(255, 210, 130, 0.10); }
.brand-mark svg { display: block; }
.brand-meta { min-width: 0; }
.brand-label {
  font-family: var(--geist);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--lora);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.brand-sub em { color: var(--cream); font-style: italic; }

.page-nav { display: inline-flex; gap: 28px; justify-self: center; align-items: center; }
.nav-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-family: var(--geist);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 6px 2px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s;
}
.nav-link:hover { color: var(--ink); }
.nav-link-current { color: var(--ink); }
.nav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: navPip 2.4s ease-in-out infinite;
}
@keyframes navPip {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.25); }
}

.page-clock {
  justify-self: end;
  display: grid;
  gap: 4px;
  text-align: right;
}
.clock-row {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-soft);
  white-space: nowrap;
  justify-content: flex-end;
}
.clock-label { letter-spacing: 0.2em; }
.clock-time { color: var(--ink); }

/* ── DIAL CONTROLS ── */
.dial-controls {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: rgba(8, 6, 4, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  margin-top: 2px;
}
.dial-controls .dial-ctrl { width: 30px; height: 30px; }
.dial-ctrl {
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--ink-soft);
  cursor: pointer;
  display: grid; place-items: center;
  transition: color 0.3s, border-color 0.3s, transform 0.3s, background 0.3s;
}
.dial-ctrl:hover {
  color: var(--ink);
  border-color: var(--amber);
  background: rgba(255, 210, 130, 0.06);
}
.dial-ctrl:active { transform: scale(0.94); }
.dial-ctrl svg { display: block; }
.dial-counter {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  min-width: 72px;
  justify-content: center;
}
.dial-counter-num { color: var(--amber); font-size: 0.94rem; font-weight: 500; }
.dial-counter-sep { color: var(--ink-faint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 10px auto 2px;
  font-family: var(--geist);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  text-align: center;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: rgba(255, 210, 130, 0.45);
}

/* Floating notice for the off-day online event (Gaming · 16 July).
   Pinned to the top-right corner so it's visible without scrolling but
   physically separated from the date eyebrow + clock, which always
   represent 17 July. */
.off-day-chip {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-family: var(--geist);
  border: 1px solid rgba(255, 210, 130, 0.32);
  border-radius: 999px;
  background: rgba(10, 10, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 230, 180, 0.92);
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.off-day-chip .odc-tag {
  font-size: 0.52rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 210, 130, 0.65);
  padding-right: 10px;
  border-right: 1px solid rgba(255, 210, 130, 0.22);
}
.off-day-chip .odc-body {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.off-day-chip .odc-date {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.off-day-chip .odc-sub {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255, 230, 180, 0.78);
}
@media (max-width: 640px) {
  .eyebrow { font-size: 0.7rem; gap: 10px; }
  .eyebrow::before, .eyebrow::after { width: 20px; }
  .off-day-chip {
    top: auto;
    bottom: 14px;
    right: 12px;
    left: 12px;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    white-space: normal;
    text-align: center;
  }
  .off-day-chip .odc-tag { font-size: 0.5rem; padding-right: 8px; }
  .off-day-chip .odc-date { font-size: 0.72rem; }
  .off-day-chip .odc-sub { font-size: 0.58rem; }
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 4px;
  padding: 6px 16px;
  font-family: var(--geist);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line);
  background: transparent;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, letter-spacing 0.3s ease;
}
.back-link:hover {
  color: var(--ink);
  border-color: var(--amber);
  background: rgba(255, 210, 130, 0.06);
  letter-spacing: 0.32em;
}
.back-link svg { transition: transform 0.3s cubic-bezier(.22,1,.36,1); }
.back-link:hover svg { transform: translateX(-3px); }

/* ── DIAL ── */
.dial-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  user-select: none;
  touch-action: none;
  cursor: grab;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(.22,1,.36,1) 0.25s both;
}
.dial-wrap:active { cursor: grabbing; }
.dial-wrap:focus { outline: none; }

.dial-ambient {
  position: absolute;
  inset: -15% -10%;
  pointer-events: none;
  z-index: 0;
}
.amb {
  position: absolute;
  transform: translate(-50%, -50%);
  animation: ambDrift 14s ease-in-out infinite;
  opacity: 0.5;
}
.amb svg { width: 100%; height: 100%; display: block; }
@keyframes ambDrift {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-24px); }
}

.dial-frame {
  position: relative;
  width: min(100%, 1360px, calc((100svh - 300px) * 16 / 9));
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  animation: dialIn 1.2s cubic-bezier(.22,1,.36,1) both;
}
@media (min-width: 1400px) { .dial-frame { aspect-ratio: 16 / 8.5; width: min(100%, 1480px, calc((100svh - 300px) * 16 / 8.5)); } }
@keyframes dialIn {
  0%   { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.dial-art, .dial-hands {
  position: absolute;
  inset: 0;
}
.dial-art { pointer-events: none; }
.dial-hands { pointer-events: none; }

/* The focus-ray is drawn from the focused planet to the centre aperture,
   computed from the planet's *static* position. While that planet is
   animating along its orbit the ray would point at a stale spot, so hide
   it for the duration of the focus animation. */
.dial-wrap.is-animating .focus-ray { opacity: 0; transition: opacity 0.3s ease; }

/* ── Hour & minute hands — readable as a real clock cue, but transparent
   enough that planets and arcs still show through. ── */
.clock-hand {
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
}
.clock-hand-hour {
  stroke: #ffd282;
  stroke-opacity: 0.55;
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(255,210,130,0.40));
}
.clock-hand-minute {
  stroke: #f4efe5;
  stroke-opacity: 0.50;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 6px rgba(244,239,229,0.30));
}
.clock-hand-cap {
  fill: #ffd282;
  fill-opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(255,210,130,0.55));
}
.clock-hand-tail {
  stroke: #ffd282;
  stroke-opacity: 0.30;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
}

/* ── PLANETS — each event a unique tilted orbit with a detailed body ── */
.event-orbit, .event-arc, .event-exit {
  fill: none;
  stroke: #ffd282;
  stroke-opacity: 0;
  pointer-events: none;
  transition: stroke-opacity 0.45s ease, stroke-width 0.45s ease;
}
.event-orbit { stroke-width: 0.7; }
.event-arc { stroke-width: 1.2; stroke-linecap: round; }
.event-exit { stroke-width: 1; stroke-linecap: round; stroke-dasharray: 2 4; }

.event-group:hover .event-arc,
.event-group:hover .event-exit,
.event-group.is-focus .event-arc,
.event-group.is-focus .event-exit {
  stroke-opacity: 0.85;
}
.event-group:hover .event-exit,
.event-group.is-focus .event-exit { stroke-opacity: 0.55; }
.event-group.is-focus .event-arc { stroke-opacity: 0.95; filter: drop-shadow(0 0 5px currentColor); }

/* per-event time + title labels (only visible on hover/focus) */
.event-labels { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.event-group:hover .event-labels,
.event-group.is-focus .event-labels { opacity: 1; }
.event-time {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  fill: var(--amber);
  text-anchor: middle;
  text-shadow: 0 0 5px rgba(0,0,0,0.85);
}
.event-title {
  font-family: var(--lora);
  font-style: italic;
  font-size: 12px;
  fill: #f4efe5;
  text-anchor: middle;
  text-shadow: 0 0 6px rgba(0,0,0,0.85);
}

.planet {
  cursor: pointer;
  transform-origin: center;
  transform-box: fill-box;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
}
/* On phones the dial is small and the compass-star event glyphs were
   piling up on top of each other, making the dial read as "cluttered".
   Hide them on mobile — the colored event-arcs still encode duration
   and track, and the focus ray + center plate still highlight the
   currently-selected event. */
@media (max-width: 640px) {
  .dial-art .planet,
  .dial-art .planet-tooltip { display: none !important; }
}
.planet:hover { transform: scale(1.08); }
.planet:hover .planet-tooltip { opacity: 1; transform: translateY(-2px); }
.planet.is-focus { animation: planetBloom 0.6s cubic-bezier(.22,1,.36,1) both; }
@keyframes planetBloom {
  0%   { transform: scale(0.94); }
  55%  { transform: scale(1.14); }
  100% { transform: scale(1.06); }
}
.planet.is-focus .planet-tooltip { opacity: 1; }

.planet-rotate { animation: planetSpin 80s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes planetSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.planet-tooltip {
  font-family: var(--geist);
  font-size: 0.46rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  fill: var(--amber);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-anchor: middle;
  text-shadow: 0 0 6px rgba(0,0,0,0.85);
}

.planet-twinkle {
  opacity: 0.85;
  animation: planetTwinkle 3.4s ease-in-out infinite;
  filter: drop-shadow(0 0 3px #fff8e1);
}
@keyframes planetTwinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

.focus-ray {
  stroke: var(--amber);
  stroke-linecap: round;
  pointer-events: none;
}

.aperture-ring-inner {
  animation: apertureSpinRev 140s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes apertureSpinRev {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

.track-thread {
  fill: none;
  stroke-width: 0.55;
  stroke-dasharray: 1 5;
  transition: stroke-opacity 0.6s ease;
  pointer-events: none;
}

.aperture-ring-outer { animation: apertureSpin 90s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes apertureSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.aperture-corner {
  stroke: var(--amber);
  stroke-opacity: 0.55;
  stroke-width: 0.8;
  fill: none;
}

.dial-art ellipse.rim { animation: rimBreathe 8s ease-in-out infinite; transform-origin: center; }
@keyframes rimBreathe {
  0%, 100% { stroke-opacity: var(--so, 0.28); }
  50%      { stroke-opacity: calc(var(--so, 0.28) * 1.5); }
}

/* The firefly NOW marker */
.firefly-core {
  fill: #fff8e1;
  filter: drop-shadow(0 0 10px rgba(255, 224, 164, 0.95)) drop-shadow(0 0 4px rgba(255, 210, 130, 0.85));
  animation: fireflyBreathe 2.6s ease-in-out infinite;
}
.firefly-halo {
  fill: #ffd282;
  opacity: 0.16;
  animation: fireflyBreathe 2.6s ease-in-out infinite;
}
@keyframes fireflyBreathe {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
.firefly.is-offhours .firefly-core { opacity: 0.22; }
.firefly.is-offhours .firefly-halo { opacity: 0.06; }

/* Rete — ornate cursor pointer */
.rete-line {
  stroke: var(--amber);
  stroke-width: 0.9;
  stroke-opacity: 0.78;
  fill: none;
  filter: drop-shadow(0 0 5px rgba(255, 210, 130, 0.55));
}
.rete-tip {
  fill: #fff8e1;
  stroke: var(--amber);
  stroke-width: 0.6;
  filter: drop-shadow(0 0 8px rgba(255, 210, 130, 0.72));
}
.rete-ornament {
  fill: none;
  stroke: var(--amber);
  stroke-width: 0.7;
  stroke-opacity: 0.65;
  filter: drop-shadow(0 0 4px rgba(255, 210, 130, 0.4));
}

/* hour numerals around the rim */
.hour-numerals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hour-num {
  position: absolute;
  font-family: var(--lora);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.92rem, 1.3vw, 1.35rem);
  color: rgba(255, 210, 130, 0.5);
  transform: translate(-50%, -50%);
  transition: color 0.3s ease, transform 0.4s cubic-bezier(.22,1,.36,1);
  letter-spacing: -0.02em;
  text-shadow: 0 0 12px rgba(0,0,0,0.6);
  white-space: nowrap;
}
.hour-num.is-active {
  color: var(--amber);
  text-shadow: 0 0 14px rgba(255, 210, 130, 0.5);
}

/* CENTRE STACK */
.dial-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 4px;
  pointer-events: none;
  z-index: 6;
  text-align: center;
  max-width: 60%;
  animation: coreIn 0.5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes coreIn {
  0%   { transform: translate(-50%, -50%) scale(0.94); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.dial-core-meta {
  font-family: var(--geist);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 4px;
}
.dial-core-track-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px currentColor;
}
.dial-core-time {
  font-family: var(--lora);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(72px, 8vw, 124px);
  line-height: 0.86;
  color: var(--amber);
  letter-spacing: -0.03em;
  text-shadow:
    0 0 30px rgba(255, 210, 130, 0.30),
    0 0 70px rgba(255, 210, 130, 0.12);
}
.dial-core-range {
  font-family: var(--geist);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 4px;
}
.dial-core-title {
  font-family: var(--lora);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  color: var(--ink);
  line-height: 1.1;
  margin-top: 12px;
  max-width: 380px;
  text-wrap: balance;
}
.dial-core-sub {
  font-family: var(--geist);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 210, 130, 0.72);
  margin-top: 3px;
}

/* BELOW DIAL */
.below {
  margin-top: 6px;
  display: grid;
  gap: 10px;
  justify-items: center;
  width: 100%;
  max-width: 960px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(.22,1,.36,1) 0.55s both;
}
.below-frame {
  position: relative;
  max-width: 900px;
  width: 100%;
  padding: 12px 24px;
}
.below-frame::before, .below-frame::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(255, 210, 130, 0.28) 18%, rgba(255, 210, 130, 0.42) 50%, rgba(255, 210, 130, 0.28) 82%, transparent 100%);
}
.below-frame::before { top: 0; }
.below-frame::after  { bottom: 0; }
.below-frame .corner {
  position: absolute;
  width: 10px; height: 10px;
  border-color: rgba(255, 210, 130, 0.55);
  border-style: solid;
  border-width: 0;
}
.below-frame .corner.tl { top: -1px;    left: -1px;    border-top-width: 1px; border-left-width: 1px;  }
.below-frame .corner.tr { top: -1px;    right: -1px;   border-top-width: 1px; border-right-width: 1px; }
.below-frame .corner.bl { bottom: -1px; left: -1px;    border-bottom-width: 1px; border-left-width: 1px;  }
.below-frame .corner.br { bottom: -1px; right: -1px;   border-bottom-width: 1px; border-right-width: 1px; }
.below-line {
  font-family: var(--geist);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  width: 100%;
  text-align: center;
}
.below-line .bl-round {
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-right: 2px;
}
.below-line .bl-label {
  font-family: var(--geist);
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-right: 4px;
}
.below-line .bl-venue {
  font-family: var(--lora);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--ink);
  letter-spacing: 0;
}
.below-line .bl-time {
  font-family: var(--lora);
  font-style: italic;
  font-size: 0.94rem;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.below-line .bl-sep {
  color: var(--amber);
  opacity: 0.55;
  font-style: italic;
  font-family: var(--lora);
  letter-spacing: 0;
}
.below-line .bl-dur {
  font-family: var(--geist);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  color: rgba(255, 210, 130, 0.65);
  text-transform: uppercase;
  margin-left: 4px;
}

.cta {
  background: transparent;
  border: 1px solid var(--amber);
  color: var(--ink);
  font-family: var(--geist);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 13px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  transition: background 0.3s ease, color 0.3s ease, letter-spacing 0.4s ease;
}
.cta:hover { background: var(--amber); color: #1a1208; letter-spacing: 0.34em; }
.cta.is-ghost { opacity: 0.45; pointer-events: none; }
.cta svg { transition: transform 0.3s cubic-bezier(.22,1,.36,1); }
.cta:hover svg { transform: translateX(4px); }

.legend {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-family: var(--geist);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.legend-item { display: inline-flex; align-items: center; gap: 9px; }
.legend-bud {
  width: 18px; height: 18px;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .page { padding: 80px 18px; }
  .nav-back { top: 20px; left: 20px; }
  .reg-mark.tr { top: 16px; right: 16px; }
  .reg-mark.bl { bottom: 16px; left: 16px; }
  .edition-stamp { display: none; }
  .dial-frame { aspect-ratio: 1 / 1; max-width: 560px; }
  .dial-core-time { font-size: clamp(60px, 14vw, 90px); }
  .dial-core-title { font-size: 1.05rem; }
  .hour-num { font-size: 0.78rem; }
  .below { margin-top: 32px; }
  .below-frame { padding: 14px 16px; }
  .below-line { font-size: 0.62rem; }
  .legend { gap: 14px; font-size: 0.5rem; }
  .legend-bud { width: 16px; height: 16px; }
}

/* Phone: compress the header + clock + controls + venue into a single
   viewport. The previous mobile rules left enough padding/margins that
   the venue strip fell below the fold. */
@media (max-width: 640px) {
  .page { padding: 14px 12px 16px; gap: 4px; }
  .eyebrow { margin-top: 64px; font-size: 0.62rem; gap: 8px; }
  .eyebrow::before, .eyebrow::after { width: 16px; }
  .back-link {
    font-size: 0.55rem;
    padding: 5px 12px;
    letter-spacing: 0.22em;
    margin-bottom: 4px;
  }
  /* Cap the dial by both width AND available height so it never pushes
     the venue/CTA below the fold. The (svh - 320) clamp reserves room
     for the eyebrow, back-link, dial-controls, venue strip and CTA. */
  .dial-frame {
    aspect-ratio: 1 / 1;
    width: min(86vw, calc(100svh - 320px), 420px);
    max-width: 420px;
  }
  .dial-core-time { font-size: clamp(44px, 11vw, 64px); }
  .dial-core-title { font-size: 0.86rem; margin-top: 6px; }
  .dial-core-sub { font-size: 0.5rem !important; }
  .dial-core-range { font-size: 0.5rem; margin-top: 2px; }
  .dial-core-meta { font-size: 0.5rem; }
  .hour-num { font-size: 0.74rem; }
  .dial-controls {
    gap: 12px;
    padding: 4px 10px;
    margin-top: 2px;
  }
  .dial-controls .dial-ctrl { width: 26px; height: 26px; }
  .dial-counter { font-size: 0.66rem; min-width: 58px; }
  .dial-counter-num { font-size: 0.82rem; }
  .below { margin-top: 8px; gap: 6px; }
  .below-frame { padding: 8px 14px; }
  .below-line { font-size: 0.6rem; gap: 4px 8px; }
  .below-line .bl-venue, .below-line .bl-time { font-size: 0.82rem; }
  .cta { padding: 9px 16px; font-size: 0.58rem; }
}
