/* =========================================================
   KAZM / Mellow Mountain Radio
   Warm broadcast + yacht-rock identity.
   Brand: navy #223d6e, terracotta #a95750, warm cream.
   One accent (terracotta). One radius system. Light + dark.
   ========================================================= */

:root {
  --bg: #f6efe2;
  --bg-2: #efe4d2;
  --surface: #fffbf3;
  --surface-2: #fbf4e6;

  --ink: #2c2620;
  --muted: #6c6253;
  --heading: #223d6e;

  --navy: #223d6e;
  --navy-deep: #1a2f54;
  --navy-deeper: #132441;

  --accent: #a95750;        /* brand terracotta: accents, hairlines, marks */
  --accent-strong: #9a443d; /* button + small-text use (AA on cream/white) */
  --accent-deep: #863a34;   /* hover */
  --accent-soft: #c98277;

  --line: rgba(34, 61, 110, .14);
  --line-soft: rgba(34, 61, 110, .08);
  --on-dark: rgba(255, 255, 255, .72);

  --font-display: "Alice", Georgia, "Times New Roman", serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --pill: 999px;

  --shadow-sm: 0 8px 20px -14px rgba(34, 61, 110, .45);
  --shadow: 0 22px 50px -28px rgba(34, 61, 110, .55);

  --wrap: 1180px;
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171e;
    --bg-2: #181c25;
    --surface: #1d222d;
    --surface-2: #232936;

    --ink: #e9e3d5;
    --muted: #a39a89;
    --heading: #e9e3d5;

    --accent: #cf7669;
    --accent-strong: #cf7669;
    --accent-deep: #b9614f;
    --accent-soft: #d98c7f;

    --line: rgba(255, 255, 255, .12);
    --line-soft: rgba(255, 255, 255, .07);

    --shadow-sm: 0 8px 20px -14px rgba(0, 0, 0, .6);
    --shadow: 0 24px 55px -30px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
  font-weight: 400; /* Alice ships a single weight; lean on size + color for hierarchy */
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto; clip: auto;
  background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm); z-index: 200;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--accent-soft); }

.lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2,
.schedule-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head .lead { margin-top: 16px; }

.micro-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
  opacity: .85;
}

.dot-sep {
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 4px;
}

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-strong); font-weight: 600;
  margin-top: 22px;
}
.text-link svg { fill: currentColor; transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  padding: 13px 24px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { fill: currentColor; }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--heading); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.btn-ghost--light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost--light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }

/* ---------- on-air dot + equalizer ---------- */
.onair-dot {
  display: inline-block;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex: none;
}
.onair-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent);
  animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}
.onair-dot--big { width: 12px; height: 12px; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq i { width: 3px; height: 5px; background: var(--accent-soft); border-radius: 2px; }
.is-playing .eq i { animation: eq 1s ease-in-out infinite; }
/* desynced durations + delays per bar => organic, non-repeating motion */
.eq i:nth-child(1) { animation-duration: .82s; animation-delay: -.20s; }
.eq i:nth-child(2) { animation-duration: 1.18s; animation-delay: -.55s; }
.eq i:nth-child(3) { animation-duration: .66s; animation-delay: -.10s; }
.eq i:nth-child(4) { animation-duration: 1.36s; animation-delay: -.70s; }
.eq i:nth-child(5) { animation-duration: .94s; animation-delay: -.38s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 17px; } }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header-inner {
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 46px; width: auto; }
.brand-logo--light { display: none; }

.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line-soft);
}
.site-header.scrolled .brand-logo--dark { display: none; }
.site-header.scrolled .brand-logo--light { display: block; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list a,
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 15.5px; font-weight: 600;
  color: var(--on-dark);
  background: none; border: 0; cursor: pointer;
  padding: 9px 13px; border-radius: var(--r-sm);
  transition: color .2s ease, background .2s ease;
}
.nav-trigger::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .6; transition: transform .2s ease;
}
.nav-list a:hover,
.nav-trigger:hover { color: #fff; background: rgba(255, 255, 255, .1); }

.site-header.scrolled .nav-list a,
.site-header.scrolled .nav-trigger { color: var(--ink); }
.site-header.scrolled .nav-list a:hover,
.site-header.scrolled .nav-trigger:hover { color: var(--accent-strong); background: var(--line-soft); }

/* mega dropdown */
.mega {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 248px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 8px;
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-menu:hover .mega,
.has-menu:focus-within .mega,
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  padding: 10px 14px; border-radius: var(--r-sm); width: 100%;
}
.mega a:hover { background: var(--bg-2); color: var(--accent-strong); }
.nav-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.listen-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent-strong); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border: 0; border-radius: var(--pill); padding: 10px 18px; cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.listen-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.listen-icon { display: inline-flex; }
.listen-btn svg { fill: currentColor; }
.ic-pause { display: none; }
.is-playing .ic-pause,
.is-playing.listen-btn .ic-pause { display: block; }
.is-playing .ic-play,
.is-playing.listen-btn .ic-play { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle span { height: 2px; background: currentColor; border-radius: 2px; color: #fff; transition: transform .25s ease, opacity .2s ease; }
.site-header.scrolled .menu-toggle span { background: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-deep) 0%, var(--navy-deeper) 70%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-scene { position: absolute; inset: 0; z-index: -1; }
.hero-glow {
  position: absolute; top: -10%; right: -5%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(169, 87, 80, .55) 0%, rgba(169, 87, 80, 0) 62%);
  filter: blur(10px);
}
.hero-waves {
  position: absolute; top: 50%; right: 4%; transform: translateY(-50%);
  width: 760px; height: 760px; color: var(--accent-soft);
  opacity: .5;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
/* the broadcast waves breathe outward while we're on air */
body.is-playing .hero-waves { animation: wave-breathe 4.4s ease-in-out infinite; }
@keyframes wave-breathe {
  0%, 100% { transform: translateY(-50%) scale(1);     opacity: .5; }
  50%      { transform: translateY(-50%) scale(1.045); opacity: .66; }
}

.hero-inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--on-dark);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 8px 16px; border-radius: var(--pill);
  margin: 0 0 26px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  font-weight: 400;
  letter-spacing: -.015em;
  max-width: 15ch;
}
.hero-sub {
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-freq {
  margin-top: 30px; color: rgba(255, 255, 255, .68);
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
}
.hero-freq strong { color: #fff; font-family: var(--font-display); font-size: 17px; letter-spacing: 0; }

/* now playing card */
.nowcard {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: 22px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.nowcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.nowcard-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.nowcard-art {
  aspect-ratio: 1; border-radius: var(--r);
  background: linear-gradient(150deg, #f6efe2, #e7d9c2);
  display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(34, 61, 110, .08);
}
.nowcard-art img { width: 72%; }
.nowcard-art-img.is-art { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.nowcard-art--neon {
  background: radial-gradient(circle at 50% 40%, #2a3566, var(--navy-deeper));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 60px rgba(207, 118, 105, .25);
}
.nowcard-art--neon img { width: 100%; border-radius: var(--r); }
.nowcard-track { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: #fff; line-height: 1.15; }
.nowcard-artist { color: var(--accent-soft); font-weight: 600; margin-top: 4px; }
.nowcard-album { color: rgba(255, 255, 255, .55); font-size: 14px; margin-top: 2px; }
.nowcard-album:empty { display: none; }
.nowcard-top-right { display: inline-flex; align-items: center; gap: 12px; }
.nowcard-listeners { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.nowcard-listeners:empty { display: none; }
.player-listeners { color: var(--accent-soft); font-weight: 700; }
.player-listeners:empty { display: none; }
.player-listeners:not(:empty)::before { content: "· "; opacity: .65; }
/* live glow on the album art while streaming, gently pulsing */
body.is-playing .nowcard-art { animation: now-pulse 3.2s ease-in-out infinite; }
@keyframes now-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(207, 118, 105, .35), 0 0 26px -8px rgba(207, 118, 105, .45); }
  50%      { box-shadow: 0 0 0 1px rgba(207, 118, 105, .55), 0 0 46px -4px rgba(207, 118, 105, .72); }
}
.nowcard-play { margin-top: 20px; width: 100%; }

/* =========================================================
   WAYS TO LISTEN
   ========================================================= */
.listen-band { background: var(--bg-2); padding: 30px 0; border-bottom: 1px solid var(--line-soft); }
.listen-ways {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.listen-ways li {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 14px; row-gap: 2px; align-items: center;
}
.way-ic {
  grid-row: span 2;
  width: 48px; height: 48px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--accent-strong);
}
.way-ic svg { fill: currentColor; }
.listen-ways h3 { font-size: 1.05rem; color: var(--heading); align-self: end; }
.listen-ways p { font-size: 13.5px; color: var(--muted); align-self: start; }

/* =========================================================
   SCHEDULE
   ========================================================= */
.schedule { padding: 96px 0; }
.schedule-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.schedule-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 4px; }
.schedule-head .lead { margin-top: 16px; }

.lineup { border-top: 1px solid var(--line); }
.lineup li {
  display: grid; grid-template-columns: 70px 16px 1fr;
  gap: 16px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.lineup-time { font-family: var(--font-display); font-weight: 600; color: var(--heading); font-variant-numeric: tabular-nums; }
.lineup-bar { width: 3px; height: 100%; min-height: 38px; background: var(--line); border-radius: 3px; }
.lineup-show { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--heading); }
.lineup-desc { display: block; color: var(--muted); font-size: 15px; margin-top: 3px; }
.lineup li.is-live .lineup-bar { background: var(--accent); }
.lineup li.is-live .lineup-show::after {
  content: "On now"; margin-left: 10px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--accent-strong); padding: 3px 8px; border-radius: var(--pill);
  vertical-align: middle;
}
.sched-head { margin-bottom: 12px; }
.sched-head h2 { margin: 6px 0 0; }
.sched-head .lead { margin-top: 14px; max-width: 64ch; }
.lineup--full { margin-top: 8px; }

/* =========================================================
   THE SOUND
   ========================================================= */
.sound { padding: 96px 0; background: var(--bg-2); }
.sound-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.sound-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 16ch; }
.sound-copy p { color: var(--muted); margin-top: 20px; font-size: 1.08rem; max-width: 52ch; }
.sound-sub { font-size: 1rem !important; }

.threepack {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow);
}
.threepack-label {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 14px;
}
.threepack-list { border-top: 1px solid var(--line); margin-bottom: 22px; }
.threepack-list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.tp-num { font-family: var(--font-display); color: var(--accent); font-weight: 600; font-size: 14px; }
.tp-track { display: block; font-weight: 600; color: var(--heading); }
.tp-artist { display: block; font-size: 13.5px; color: var(--muted); }
.tp-time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }

/* =========================================================
   HERITAGE / SINCE 1974
   ========================================================= */
.heritage { padding: 84px 0; background: var(--navy); color: #fff; }
.heritage-inner { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; }
.heritage-mark {
  position: relative; overflow: hidden;
  width: 240px; height: 240px; flex: none;
  border-radius: var(--r-lg); background: #000;
  border: 1px solid rgba(255, 255, 255, .12);
}
.heritage-logo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 30px;
  opacity: 0; transition: opacity .8s ease;
}
.heritage-logo.is-active { opacity: 1; }
.heritage-era {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-soft); background: rgba(0, 0, 0, .45);
  padding: 4px 12px; border-radius: var(--pill); z-index: 1;
}
.heritage-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 18ch; }
.heritage-copy p { color: rgba(255, 255, 255, .8); margin-top: 18px; max-width: 52ch; font-size: 1.08rem; }

/* =========================================================
   IN ROTATION (artist wall)
   ========================================================= */
.rotation { padding: 90px 0; background: var(--navy-deep); color: #fff; overflow: hidden; }
.rotation-head { text-align: center; margin-bottom: 40px; }
.rotation-head h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.rotation-head .lead { color: rgba(255, 255, 255, .72); margin: 14px auto 0; }

.marquee { display: flex; gap: 0; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 28px; flex: none;
  padding-right: 28px;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span:not(.m-dot) {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  color: rgba(255, 255, 255, .92); white-space: nowrap;
}
.m-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft); flex: none; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* In rotation — living artist logo wall */
@keyframes marquee-rev { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.rwall { display: flex; flex-direction: column; gap: 24px; margin-top: 4px; }
.rwall-row {
  display: flex; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rwall-track { display: flex; align-items: center; gap: 16px; flex: none; padding-right: 16px; }
.rwall-row--l .rwall-track { animation: marquee 58s linear infinite; }
.rwall-row--r .rwall-track { animation: marquee-rev 68s linear infinite; }
.rwall:hover .rwall-track { animation-play-state: paused; }

/* uniform tiles so every logo reads at a consistent size on the navy */
.rwall-item {
  position: relative; flex: none; display: flex; align-items: center; justify-content: center;
  width: 192px; height: 96px; padding: 14px 22px; border-radius: 16px; text-decoration: none;
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.rwall-item:hover {
  transform: translateY(-5px); background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2); box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
}
.band-logo {
  max-height: 58px; max-width: 150px; width: auto; height: auto; object-fit: contain;
  opacity: .96; transition: opacity .25s ease, transform .25s ease;
}
.rwall-item:hover .band-logo { opacity: 1; transform: scale(1.07); }
.band-logo--text {
  font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.12;
  color: rgba(255, 255, 255, .92); text-align: center; transition: color .25s ease;
}
.rwall-item:hover .band-logo--text { color: #fff; }

/* live "on air now" state, driven by the stream's now-playing feed */
.rwall-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%) scale(.5);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: var(--accent-strong); padding: 4px 10px; border-radius: var(--pill);
  opacity: 0; pointer-events: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
  transition: opacity .3s ease, transform .3s ease;
}
.rwall-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: onair-pulse 1.4s ease-in-out infinite; }
.rwall-item.is-onair {
  background: rgba(255, 255, 255, .1);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 40px color-mix(in srgb, var(--accent) 42%, transparent);
}
.rwall-item.is-onair .band-logo { opacity: 1; transform: scale(1.06); }
.rwall-item.is-onair .rwall-tag { opacity: 1; transform: translateX(-50%) scale(1); }
@keyframes onair-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.6); } }

@media (prefers-reduced-motion: reduce) { .rwall-track { animation-duration: 160s; } }
@media (max-width: 600px) {
  .rwall-item { width: 144px; height: 76px; padding: 12px 16px; }
  .band-logo { max-height: 44px; max-width: 112px; }
  .band-logo--text { font-size: 1.05rem; }
  .rwall-track { gap: 12px; padding-right: 12px; }
}

.rotation-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 820px; margin: 40px auto 0; padding: 0 24px;
}
.rotation-grid li {
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--pill);
  padding: 8px 16px;
}

/* =========================================================
   SPORTS
   ========================================================= */
.sports { padding: 96px 0; }
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.score-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm);
}
.score-league {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; color: var(--accent-strong);
  font-size: 14px; letter-spacing: .08em; padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.score-league span { color: var(--muted); font-family: var(--font-body); font-weight: 500; letter-spacing: 0; font-size: 13px; }
.score-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.team { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--heading); }
.team-badge {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: var(--navy); color: #fff;
}
.team-score { color: var(--muted); font-weight: 600; font-size: 14px; }
.score-foot { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.score-time { color: var(--muted); font-family: var(--font-body); font-weight: 400; letter-spacing: 0; font-size: 13px; }
.score-match { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 16px; }
.score-team { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.score-logo { width: 56px; height: 56px; object-fit: contain; }
.score-logo:not(.loaded) { visibility: hidden; }
.score-abbr { font-family: var(--font-display); font-size: 1.05rem; color: var(--heading); }
.score-vs { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.score-card--off .score-match { opacity: .45; min-height: 76px; }
.score-card--off .score-vs { color: var(--muted); }

/* ---- live Arizona team cards (ESPN-powered) ---- */
.team-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.team-card--live { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.team-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.team-logo { width: 40px; height: 40px; object-fit: contain; flex: none; }
.team-id { min-width: 0; flex: 1; }
.team-id h3 { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.1; color: var(--heading); }
.team-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.team-league {
  flex: none; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 14%, transparent); padding: 4px 9px; border-radius: var(--pill);
}
.team-game { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px 0 4px; min-height: 100px; }
.g-state { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.g-state--live { color: var(--accent-strong); display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; }
.g-state--final { color: var(--heading); }
.g-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-strong); animation: live-ping 1.6s ease-out infinite; }
@keyframes live-ping { 0% { box-shadow: 0 0 0 0 rgba(169, 87, 80, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(169, 87, 80, 0); } }
.g-teams { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.g-row { display: flex; align-items: center; gap: 12px; }
.g-logo { width: 26px; height: 26px; object-fit: contain; flex: none; }
.g-abbr { font-family: var(--font-display); font-size: 1.05rem; color: var(--muted); flex: 1; }
.g-score { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.g-row.is-lead .g-abbr { color: var(--heading); }
.g-row.is-lead .g-score { color: var(--accent-strong); }
.g-matchup { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--font-display); font-size: 1.2rem; color: var(--heading); }
.g-matchup img { width: 30px; height: 30px; object-fit: contain; }
.g-matchup em { font-style: normal; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.g-note { margin-top: 9px; font-size: 12.5px; color: var(--muted); }
.team-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---- next-5 schedule strip ---- */
.g-strip { display: flex; gap: 6px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.g-strip::-webkit-scrollbar { display: none; }
.g-chip { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 9px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line-soft); font-size: 11px; color: var(--muted); white-space: nowrap; }
.g-chip b { color: var(--heading); font-family: var(--font-display); font-weight: 400; font-size: 13px; }
.g-chip span { font-weight: 700; letter-spacing: .02em; }

/* ---- division standings tables ---- */
.standings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.standings-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.standings-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent-strong); letter-spacing: .04em; margin-bottom: 10px; }
.standings-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.standings-table th { text-align: right; font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.standings-table th:first-child { text-align: left; }
.standings-table td { text-align: right; padding: 7px 4px; color: var(--ink); border-bottom: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
.standings-table tr:last-child td { border-bottom: 0; }
.st-team { display: flex; align-items: center; gap: 8px; text-align: left; font-weight: 600; color: var(--heading); }
.st-logo { width: 20px; height: 20px; object-fit: contain; flex: none; }
.standings-table .is-az td { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--heading); font-weight: 800; }
.standings-table .is-az td:first-child { border-radius: 6px 0 0 6px; }
.standings-table .is-az td:last-child { border-radius: 0 6px 6px 0; }

/* ---- marquee events (World Cup / golf / March Madness / Olympics) ---- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; align-items: stretch; }
.event-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); }
.event-card--live { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.event-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 13px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.event-head h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--heading); }
.ev-badge { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ev-live { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.ev-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.event-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
/* World Cup matches */
.wc-list { display: grid; gap: 8px; margin-bottom: 16px; }
.wc-match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--r-sm); }
.wc-match.is-live { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.wc-side { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.wc-side--r { justify-content: flex-end; }
.wc-side b { font-family: var(--font-display); font-weight: 400; color: var(--heading); font-size: 1rem; }
.wc-flag { width: 22px; height: 16px; object-fit: contain; flex: none; }
.wc-mid { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.wc-mid b { font-family: var(--font-display); font-size: 1.15rem; color: var(--heading); font-variant-numeric: tabular-nums; }
.wc-mid i { font-style: normal; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.wc-mid i.is-live { color: var(--accent-strong); font-weight: 700; }
/* golf majors list */
.major-list { display: grid; }
.major-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.major-row:last-child { border-bottom: 0; }
.maj-name { font-family: var(--font-display); color: var(--heading); font-size: 1rem; }
.maj-date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.maj-tag { font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--pill); }
.maj-done { color: var(--muted); background: var(--surface-2); }
.maj-next { color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.major-row--done .maj-name { color: var(--muted); }
.major-row--next .maj-name { font-weight: 700; }
.maj-champ { color: var(--accent-strong) !important; font-family: var(--font-display); font-weight: 400; }
.ev-note b { color: var(--heading); font-weight: 700; }
.ev-note .mm-logo { display: inline-block; width: 18px; height: 18px; object-fit: contain; vertical-align: -4px; margin-right: 5px; }
/* countdown cards */
.count { text-align: center; padding: 18px 0 8px; }
.count-num { display: block; font-family: var(--font-display); font-size: 3.1rem; line-height: 1; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.count-lbl { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
/* reigning champion cards */
.champ { display: flex; align-items: center; gap: 14px; padding: 6px 0 4px; flex: 1; }
.champ-logo { width: 50px; height: 50px; object-fit: contain; flex: none; }
.champ-meta { display: flex; flex-direction: column; min-width: 0; }
.champ-label { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.champ-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--heading); line-height: 1.15; margin-top: 3px; }
.champ-score { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---- festivals ---- */
.festival-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fest-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.fest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fest-img { width: 100%; height: 152px; object-fit: cover; display: block; background: var(--navy); }
.fest-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.fest-az, .fest-genre { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--pill); margin-bottom: 9px; }
.fest-az { color: #fff; background: var(--accent-strong); }
.fest-genre { color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.fest-body h3 { font-family: var(--font-display); font-size: 1.32rem; color: var(--heading); line-height: 1.1; }
.fest-when { color: var(--accent-strong); font-weight: 700; font-size: 14px; margin-top: 7px; }
.fest-loc { color: var(--muted); font-size: 13px; margin-top: 3px; }
.fest-btn { margin-top: 16px; align-self: flex-start; padding: 10px 20px; font-size: 14px; }
.fest-img--name { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; background: linear-gradient(135deg, var(--navy), var(--accent-deep)); }
.fest-img--name span { font-family: var(--font-display); color: #fff; font-size: 1.45rem; line-height: 1.12; }
.fest-marquee { background: #bd8a32; }
.fest-card--marquee { border-color: color-mix(in srgb, #bd8a32 45%, var(--line)); }
@media (max-width: 900px) { .festival-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .festival-grid { grid-template-columns: 1fr; } }

/* Collapsible bucket-list section */
.fest-bucket { margin-top: 30px; border: 1px solid color-mix(in srgb, #bd8a32 45%, var(--line)); border-radius: var(--r); background: color-mix(in srgb, #bd8a32 6%, var(--surface)); overflow: hidden; }
.fest-bucket > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.fest-bucket > summary::-webkit-details-marker { display: none; }
.fest-bucket-title { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--heading); line-height: 1.1; }
.fest-bucket-sub { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.fest-bucket-chev { flex: none; width: 13px; height: 13px; border-right: 2px solid #bd8a32; border-bottom: 2px solid #bd8a32; transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.fest-bucket[open] > summary .fest-bucket-chev { transform: rotate(-135deg); }
.fest-bucket > summary:hover .fest-bucket-title { color: #bd8a32; }
.fest-bucket-grid { padding: 4px 24px 26px; }
@media (max-width: 600px) { .fest-bucket > summary { padding: 16px; } .fest-bucket-grid { padding: 4px 16px 18px; } }

/* ---- library events (filterable, color-coded card grid) ---- */
.lev-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--heading); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: var(--pill); cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.chip span { opacity: .5; font-weight: 800; margin-left: 3px; }
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }
.chip.is-active span { opacity: .85; }
.lev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.lev { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.lev:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lev-badge { flex: none; width: 56px; height: 62px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; line-height: 1; background: var(--navy); }
.lev-dnum { font-family: var(--font-display); font-size: 1.7rem; }
.lev-mon { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-top: 3px; }
.lev-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.lev-cat { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.lev-body h3 { font-family: var(--font-display); font-size: 1.12rem; color: var(--heading); line-height: 1.18; }
.lev-meta { color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.4; }
.lev-link { margin-top: 11px; align-self: flex-start; font-weight: 700; font-size: 13px; color: var(--accent-strong); }
.lev-link:hover { color: var(--accent-deep); }
.cat-youth .lev-badge { background: #bd8a32; } .cat-youth .lev-cat { color: #a8761f; }
.cat-art .lev-badge { background: var(--accent-strong); } .cat-art .lev-cat { color: var(--accent-strong); }
.cat-comm .lev-badge { background: #5f8a6a; } .cat-comm .lev-cat { color: #4d7457; }
.cat-book .lev-badge { background: #3a5a8c; } .cat-book .lev-cat { color: #3a5a8c; }
.cat-default .lev-badge { background: var(--navy); }
.chip.cat-youth.is-active { background: #bd8a32; border-color: #bd8a32; color: #fff; }
.chip.cat-art.is-active { background: var(--accent-strong); border-color: var(--accent-strong); }
.chip.cat-comm.is-active { background: #5f8a6a; border-color: #5f8a6a; color: #fff; }
.chip.cat-book.is-active { background: #3a5a8c; border-color: #3a5a8c; color: #fff; }
@media (max-width: 600px) { .lev-grid { grid-template-columns: 1fr; } }

/* ---- movie showtimes ---- */
.showing-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; }
.showing { display: flex; align-items: center; gap: 18px; padding: 14px 6px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.showing:hover { background: var(--surface-2); }
.showing-poster { flex: none; width: 54px; height: 80px; object-fit: cover; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-soft); background: var(--navy); }
@media (max-width: 640px) {
  .showing { flex-wrap: wrap; gap: 12px 14px; }
  .showing-poster { width: 46px; height: 68px; }
  .showing .concert-info { flex: 1 1 50%; }
  .showing .concert-btn { width: 100%; justify-content: center; }
}

/* ---- movie flip cards ---- */
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 22px; }
.film-card { perspective: 1300px; aspect-ratio: 2 / 3; cursor: pointer; border-radius: var(--r); outline: none; }
.film-inner { position: relative; width: 100%; height: 100%; transition: transform .65s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.film-card:hover .film-inner, .film-card:focus-within .film-inner { transform: rotateY(180deg); }
.film-front, .film-back { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.film-front { background: linear-gradient(155deg, #2a3566, var(--navy-deeper)); }
.film-poster { width: 100%; height: 100%; object-fit: cover; }
.film-flip { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(19, 36, 65, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: #fff; font-size: 15px; opacity: .85; }
.film-front-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 14px; background: linear-gradient(transparent, rgba(19, 36, 65, .55) 45%, rgba(19, 36, 65, .96)); }
.film-front-meta h3 { color: #fff; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.16; }
.film-date { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 5px; }
.film-card--noimg .film-poster { display: none; }
.film-card--noimg .film-front-meta { inset: 0; padding: 22px; display: flex; flex-direction: column; justify-content: center; text-align: center; background: none; }
.film-card--noimg .film-front-meta h3 { font-size: 1.3rem; }
.film-back { transform: rotateY(180deg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px; }
.film-tag { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 3px 9px; border-radius: var(--pill); margin-bottom: 10px; }
.film-back h3 { font-family: var(--font-display); font-size: 1.12rem; color: var(--heading); line-height: 1.16; }
.film-when { color: var(--accent-strong); font-weight: 700; font-size: 12.5px; margin-top: 8px; }
.film-venue { color: var(--muted); font-size: 12px; margin-top: 3px; line-height: 1.35; }
.film-summary { color: var(--ink); font-size: 12px; line-height: 1.42; margin-top: 9px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.film-back .btn { margin-top: auto; justify-content: center; padding: 9px; font-size: 13px; }
.film-back { padding: 16px; }
.film-card:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
@media (prefers-reduced-motion: reduce) { .film-inner { transition: none; } }

/* ---- concerts ---- */
.concert-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; }
.concert { display: flex; align-items: center; gap: 18px; padding: 16px 6px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.concert:hover { background: var(--surface-2); }
.concert-date { flex: none; width: 52px; text-align: center; display: flex; flex-direction: column; line-height: 1; }
.cd-mo { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.cd-day { font-family: var(--font-display); font-size: 1.85rem; color: var(--heading); margin-top: 3px; }
.concert-thumb { flex: none; width: 100px; height: 66px; object-fit: cover; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.concert-info { flex: 1; min-width: 0; }
.concert-info h3 { font-family: var(--font-display); font-size: 1.28rem; color: var(--heading); line-height: 1.12; }
.concert-lineup { color: var(--accent-strong); font-size: 13px; font-weight: 600; margin-top: 2px; }
.concert-venue { color: var(--ink); font-size: 14px; margin-top: 4px; }
.concert-when { color: var(--muted); font-size: 13px; margin-top: 3px; }
.concert-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; text-align: right; }
.concert-price { font-family: var(--font-display); font-size: 1.1rem; color: var(--heading); }
.cstat { font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--pill); color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.cstat--on { color: #3a7d54; background: rgba(58, 125, 84, .13); }
.cstat--soon { color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.cstat--alert { color: var(--accent-deep); background: rgba(154, 68, 61, .13); }
.concert-btn { flex: none; padding: 10px 22px; font-size: 14px; }
@media (max-width: 640px) {
  .concert { flex-wrap: wrap; gap: 12px 14px; }
  .concert-date { width: 44px; }
  .concert-thumb { width: 76px; height: 50px; }
  .concert-info { flex: 1 1 50%; }
  .concert-meta { flex-direction: row; align-items: center; gap: 10px; text-align: left; }
  .concert-btn { width: 100%; justify-content: center; }
}

/* live news / weather audio */
.news-audio { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.audio-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 14px; row-gap: 10px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px;
}
.audio-ic {
  grid-row: span 2; width: 46px; height: 46px; border-radius: var(--r-sm);
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent-strong);
}
.audio-ic svg { fill: currentColor; }
.audio-meta { display: flex; flex-direction: column; }
.audio-k { font-family: var(--font-display); font-size: 1.05rem; color: var(--heading); }
.audio-sub { font-size: 13px; color: var(--muted); }
.audio-card audio { grid-column: 1 / -1; width: 100%; height: 38px; }

/* =========================================================
   NEWS & WEATHER (bento)
   ========================================================= */
.news { padding: 96px 0; background: var(--bg-2); }
.news-bento {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: minmax(150px, auto); gap: 18px;
}
.news-tile {
  position: relative; overflow: hidden;
  border-radius: var(--r); padding: 24px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 180px;
}
.news-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .35));
  z-index: 0;
}
.news-tile > * { position: relative; z-index: 1; }
.news-tile--lead { grid-row: span 2; min-height: 320px; }
.news-kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .9); margin-bottom: auto;
}
.news-tile h3 { color: #fff; font-size: 1.15rem; margin-top: 14px; }
.news-tile--lead h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.news-tile p { color: rgba(255, 255, 255, .82); font-size: 14px; margin-top: 8px; }
.news-more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; color: #fff; border-bottom: 1.5px solid var(--accent-soft); padding-bottom: 2px; align-self: flex-start; }

/* brand-tinted tiles (placeholders for real photography) */
.art-dawn { background: linear-gradient(150deg, #b9603f, #8c3f3a); }
.art-clay { background: linear-gradient(150deg, #a9504a, #6f322f); }
.art-night { background: linear-gradient(150deg, #2c4a73, #16294a); }
.art-sky { background: linear-gradient(150deg, #3f6088, #243f63); }

/* =========================================================
   ADVENTURES
   ========================================================= */
.adventures { padding: 96px 0; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card {
  position: relative; overflow: hidden;
  border-radius: var(--r); padding: 26px; min-height: 230px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.adv-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .4)); }
.adv-card > * { position: relative; z-index: 1; }
.adv-ic {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: auto;
  background: rgba(255, 255, 255, .16); color: #fff;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.adv-ic svg { fill: currentColor; }
.adv-card h3 { color: #fff; font-size: 1.35rem; margin-top: 16px; }
.adv-card p { color: rgba(255, 255, 255, .85); font-size: 14.5px; margin-top: 8px; }

/* =========================================================
   ADVERTISING CTA
   ========================================================= */
.advertise { padding: 90px 0; background: radial-gradient(130% 120% at 15% 10%, var(--navy-deep), var(--navy-deeper)); color: #fff; }
.advertise-inner {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
}
.advertise-copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; }
.advertise-copy p { color: rgba(255, 255, 255, .8); margin-top: 18px; max-width: 52ch; }
.advertise-action { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* =========================================================
   COMMUNITY PARTNERS
   ========================================================= */
.partners { padding: 90px 0; background: var(--bg-2); }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner-grid li { display: flex; }
.partner-grid li a,
.partner-lead {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; min-height: 104px; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  font-family: var(--font-display); font-weight: 600; color: var(--heading);
  transition: transform .15s ease, border-color .2s ease, color .2s ease;
}
.partner-grid li a:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent-strong); }
.partner-lead { background: var(--navy); }
.partner-lead img { width: 78%; max-height: 64px; object-fit: contain; }
.partner-cta a { border-style: dashed; border-color: var(--accent); color: var(--accent-strong); }

/* =========================================================
   WEATHER (live Sedona forecast)
   ========================================================= */
.wx-now {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  color: #fff; border-radius: var(--r); padding: 28px 32px; box-shadow: var(--shadow-sm);
  background-color: var(--navy);
  background-image:
    linear-gradient(110deg, rgba(15, 23, 42, .9) 0%, rgba(15, 23, 42, .62) 52%, rgba(15, 23, 42, .5) 100%),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Cathedral_Rock_-_Sedona_AZ-1.jpg/1920px-Cathedral_Rock_-_Sedona_AZ-1.jpg");
  background-size: cover; background-position: center 40%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.wx-now-main { display: flex; align-items: center; gap: 18px; }
.wx-now-ic { font-size: 3.4rem; line-height: 1; }
.wx-now-temp { font-family: var(--font-display); font-size: 3.1rem; line-height: 1; display: block; }
.wx-now-cond { display: block; margin-top: 4px; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.wx-aqi { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 5px 12px 5px 8px; border-radius: var(--pill); font-size: 12px; font-weight: 700; color: #fff; text-shadow: none; border: 1px solid rgba(255, 255, 255, .18); }
.wx-aqi-n { font-family: var(--font-display); font-size: 1.05rem; line-height: 1; padding: 2px 7px; border-radius: 8px; background: rgba(0, 0, 0, .28); }
.wx-aqi--g { background: #2e9e57; }
.wx-aqi--m { background: #c9a227; }
.wx-aqi--u1 { background: #d97706; }
.wx-aqi--u2 { background: #dc2626; }
.wx-aqi--u3 { background: #7c3aed; }
.wx-aqi--hz { background: #7a1313; }
.wx-now-meta { display: flex; flex-direction: column; gap: 4px; text-align: right; color: rgba(255, 255, 255, .82); font-size: 14px; }
.wx-place { font-family: var(--font-display); color: #fff; font-size: 1.25rem; margin-bottom: 2px; }
.wx-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 14px; }
.wx-day {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 6px;
}
.wx-day-name { font-weight: 700; color: var(--heading); font-size: 13px; }
.wx-day-ic { font-size: 1.7rem; line-height: 1; }
.wx-day-precip { font-size: 11px; color: var(--accent-strong); font-weight: 700; min-height: 14px; }
.wx-day-precip--none { visibility: hidden; }
.wx-day-temps { display: flex; gap: 7px; align-items: baseline; }
.wx-day-hi { font-family: var(--font-display); color: var(--heading); font-size: 1.05rem; }
.wx-day-lo { color: var(--muted); font-size: 13px; }
.wx-credit { color: var(--muted); font-size: 12px; margin-top: 12px; text-align: center; }

/* hero status chips (weather + fire) */
.hero-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }

/* compact hero weather chip */
.wx-chip {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 18px 9px 14px; border-radius: var(--pill); text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease, background .2s ease, border-color .2s ease;
}
.wx-chip.is-ready { opacity: 1; transform: none; }
.wx-chip:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
.wx-chip-ic { font-size: 1.55rem; line-height: 1; }
.wx-chip-temp { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.wx-chip-meta { display: flex; flex-direction: column; line-height: 1.18; }
.wx-chip-cond { font-size: 13px; font-weight: 600; }
.wx-chip-place { font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .68); }

/* compact hero fire-restriction chip */
.fire-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: var(--pill); font-size: 13px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease, background .2s ease;
}
.fire-chip.is-ready { opacity: 1; transform: none; }
.fire-chip-ic { font-size: 1.05rem; line-height: 1; }
.fire-chip--s0 { background: rgba(46, 125, 50, .2); border-color: rgba(46, 125, 50, .5); color: #c4ead0; }
.fire-chip--s1 { background: rgba(232, 135, 12, .2); border-color: rgba(232, 135, 12, .55); color: #ffd9a8; }
.fire-chip--s2 { background: rgba(214, 51, 51, .22); border-color: rgba(214, 51, 51, .6); color: #ffcdcd; }
.fire-chip--s3 { background: rgba(122, 19, 19, .85); border-color: #b33; color: #fff; }
.fire-chip--s1 .fire-chip-ic, .fire-chip--s2 .fire-chip-ic, .fire-chip--s3 .fire-chip-ic { animation: flame 1.8s ease-in-out infinite; }

/* prominent fire-restriction banner (news weather page) */
.fire { margin-bottom: 22px; }
.fire-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: var(--r);
  text-decoration: none; border: 1px solid; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fire-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fire-ic { font-size: 2.1rem; line-height: 1; flex: none; }
.fire-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fire-level { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; }
.fire-sub { font-size: 13px; margin-top: 3px; opacity: .9; }
.fire-cta { font-weight: 800; font-size: 13px; white-space: nowrap; flex: none; }
.fire-card--s0 { background: color-mix(in srgb, #2e7d32 12%, var(--surface)); border-color: color-mix(in srgb, #2e7d32 42%, var(--line)); color: #1b5e20; }
.fire-card--s1 { background: color-mix(in srgb, #e8870c 14%, var(--surface)); border-color: color-mix(in srgb, #e8870c 48%, var(--line)); color: #8a4600; }
.fire-card--s2 { background: color-mix(in srgb, #d63333 14%, var(--surface)); border-color: color-mix(in srgb, #d63333 48%, var(--line)); color: #9a1818; }
.fire-card--s3 { background: #7a1313; border-color: #7a1313; color: #fff; }
.fire-card--s1 .fire-ic, .fire-card--s2 .fire-ic, .fire-card--s3 .fire-ic { animation: flame 1.8s ease-in-out infinite; }
@keyframes flame { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.12) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .fire-ic, .fire-chip-ic { animation: none !important; } }
@media (max-width: 560px) { .fire-card { flex-wrap: wrap; gap: 10px 14px; } .fire-cta { width: 100%; } }

/* =========================================================
   ADVENTURES (hiking / biking / ski — live conditions + trails)
   ========================================================= */
.adv-live { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.adv-live-head { display: flex; align-items: center; gap: 14px; }
.adv-live-ic { font-size: 2.2rem; line-height: 1; flex: none; }
.adv-live-block { display: flex; flex-direction: column; }
.adv-live-title { font-family: var(--font-display); font-size: 1.42rem; color: var(--heading); line-height: 1.1; }
.adv-live-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.adv-live-head--wet .adv-live-title { color: #a01818; }
.adv-live-head--dry .adv-live-title { color: #1b6e3a; }
.adv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; margin-top: 18px; }
.adv-stat { background: var(--bg-2, #f4f1ec); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.adv-stat-k { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.adv-stat-v { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--heading); margin-top: 3px; }
.adv-tip { margin-top: 16px; color: var(--ink); font-size: 14px; line-height: 1.55; }
.adv-link { color: var(--accent-strong); font-weight: 700; white-space: nowrap; }

/* Oak Creek live flow */
.creek-card { position: relative; overflow: hidden; background: linear-gradient(150deg, #12384a, #0c2733); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 24px 26px; box-shadow: var(--shadow); color: #eaf6fb; }
.creek-hero { display: flex; align-items: center; gap: 16px; }
.creek-status { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; color: #fff; }
.creek-note { color: rgba(234,246,251,.8); font-size: 14px; margin-top: 4px; line-height: 1.45; }
.creek-wave { flex: none; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6fd0e6, #2b8fb3); box-shadow: 0 0 0 6px rgba(111,208,230,.14), 0 0 18px rgba(111,208,230,.4); animation: creekpulse 2.6s ease-in-out infinite; }
@keyframes creekpulse { 0%,100% { box-shadow: 0 0 0 5px rgba(111,208,230,.12), 0 0 14px rgba(111,208,230,.35); } 50% { box-shadow: 0 0 0 10px rgba(111,208,230,.05), 0 0 26px rgba(111,208,230,.55); } }
.creek-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 20px; }
.creek-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px; }
.creek-stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.creek-stat span { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: rgba(234,246,251,.65); font-weight: 700; margin-top: 3px; }
.creek-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; color: rgba(234,246,251,.6); }
.creek-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #57e08a; box-shadow: 0 0 0 0 rgba(87,224,138,.6); animation: creekdot 1.8s ease-out infinite; }
@keyframes creekdot { 0% { box-shadow: 0 0 0 0 rgba(87,224,138,.6); } 100% { box-shadow: 0 0 0 8px rgba(87,224,138,0); } }
.creek-high .creek-status, .creek-flood .creek-status { color: #ffd7c2; }
.creek-flood .creek-card { }
.creek-card.creek-flood { background: linear-gradient(150deg, #4a1f16, #331410); }
.creek-card.creek-flood .creek-wave { background: radial-gradient(circle at 35% 30%, #ffab8a, #d1502f); box-shadow: 0 0 0 6px rgba(209,80,47,.18), 0 0 18px rgba(209,80,47,.5); }
/* creek hero badges */
.creek-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.creek-tempbadge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; color: #eaf6fb; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); padding: 5px 11px; border-radius: 999px; }
/* flash-flood strip */
.creek-floodstrip { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 13px 16px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.creek-floodstrip b { display: block; color: #fff; font-size: 14px; }
.creek-floodstrip span { display: block; color: rgba(234,246,251,.78); font-size: 13px; margin-top: 2px; line-height: 1.45; }
.creek-flood-ic { font-size: 1.15rem; line-height: 1.3; flex: none; }
.creek-floodstrip.flood-moderate { background: rgba(224,185,58,.16); border-color: rgba(224,185,58,.4); }
.creek-floodstrip.flood-elevated { background: rgba(224,138,58,.2); border-color: rgba(224,138,58,.5); }
.creek-floodstrip.flood-high { background: rgba(210,75,58,.24); border-color: rgba(210,75,58,.6); }
.creek-floodstrip.flood-extreme { background: rgba(210,40,40,.34); border-color: rgba(255,120,120,.7); animation: floodpulse 2s ease-in-out infinite; }
@keyframes floodpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,80,80,.4); } 50% { box-shadow: 0 0 0 5px rgba(255,80,80,0); } }
/* creek stat clarity colors */
.creek-stat--good b { color: #9df0c4; } .creek-stat--ok b { color: #ffe6a6; } .creek-stat--warn b { color: #ffc39a; } .creek-stat--bad b { color: #ff9a8a; }
/* creek activity advisories */
.creek-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.creek-act { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 11px 14px; }
.creek-act-k { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: rgba(234,246,251,.72); text-transform: uppercase; flex: none; }
.creek-act b { text-align: right; color: #fff; font-size: 13px; font-weight: 700; }
.creek-act.act-good b { color: #9df0c4; } .creek-act.act-ok b { color: #ffe6a6; } .creek-act.act-warn b { color: #ff9a8a; }
/* Slide Rock feature */
.creek-slide { margin-top: 16px; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.creek-slide-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.creek-slide-ic { font-size: 1.3rem; }
.creek-slide-head b { color: #fff; font-family: var(--font-display); font-size: 1.24rem; }
.creek-slide p { color: rgba(234,246,251,.82); font-size: 14px; line-height: 1.6; margin-top: 8px; }
.creek-slide .adv-link { color: #8fe0ff; }
/* Slide Rock attraction */
.slide-card { background: linear-gradient(150deg, #0f4657, #0a2b38); }
.slide-about { margin-top: 16px; }
.slide-about p { color: rgba(234,246,251,.85); font-size: 14px; line-height: 1.65; }
.slide-about .adv-link { color: #8fe0ff; display: inline-block; margin-top: 6px; }
.slide-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 14px 0 4px; }
.slide-fact { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 11px 13px; }
.slide-fact b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.slide-fact span { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: rgba(234,246,251,.65); font-weight: 700; margin-top: 3px; }

/* ===== Mellow Meter — KAZM easy→epic scale ===== */
.mm-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: #26333f;
  background: var(--surface); border: 1px solid var(--line); padding: 5px 12px 5px 10px; border-radius: 999px; white-space: nowrap; }
.mm-badge .mm-k { font-size: 9px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin: 0; }
.mm-badge .mm-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px currentColor; opacity: 1; }
.mm-badge--e { color: #1f7a4d; } .mm-badge--e .mm-dot { background: #2fae6a; color: rgba(47,174,106,.18); }
.mm-badge--a { color: #9a7a10; } .mm-badge--a .mm-dot { background: #e3b93a; color: rgba(227,185,58,.2); }
.mm-badge--c { color: #b1621a; } .mm-badge--c .mm-dot { background: #e0873a; color: rgba(224,135,58,.2); }
.mm-badge--x { color: #b23a2c; } .mm-badge--x .mm-dot { background: #d24b3a; color: rgba(210,75,58,.2); }
/* badge on dark creek card */
.creek-card .mm-badge { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #fff; }
.creek-card .mm-badge .mm-k { color: rgba(255,255,255,.6); }
.spot-mm { margin-top: 12px; }
.trail-card .trail-top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

/* Trail flip cards — front info / back OSM route map */
.trail-flip { background: transparent; border: 0; box-shadow: none; padding: 0; perspective: 1300px; }
.trail-flip:hover { transform: none; box-shadow: none; }
.trail-flip-inner { position: relative; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.trail-flip.flipped .trail-flip-inner { transform: rotateY(180deg); }
.trail-face { border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.trail-front { position: relative; display: flex; flex-direction: column; padding: 20px 22px; height: 306px; }
.trail-front h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--heading); margin-top: 12px; }
.trail-front p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 8px; }
.trail-back { position: absolute; inset: 0; transform: rotateY(180deg); padding: 0; }
.trail-map { position: absolute; inset: 0; border-radius: var(--r); background: #eef1ee; z-index: 0; }
.trail-map .leaflet-container { width: 100%; height: 100%; border-radius: var(--r); background: #eef1ee; font: inherit; }
.trail-map-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.trail-route-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-strong); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  font-weight: 800; font-size: 13px; padding: 8px 15px; border-radius: 999px; cursor: pointer; font-family: inherit; }
.trail-route-btn:hover { background: color-mix(in srgb, var(--accent) 24%, var(--surface)); }
.trail-back-btn { position: absolute; top: 10px; right: 10px; z-index: 500; background: rgba(20,26,46,.9); color: #fff; border: 0;
  font-weight: 800; font-size: 12px; padding: 7px 13px; border-radius: 999px; cursor: pointer; font-family: inherit; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.trail-back-btn:hover { background: #141a2e; }

/* Mellow Meter legend */
.mm-legend { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.mm-legend-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mm-legend-tag { font-family: var(--font-display); font-size: 1.4rem; color: var(--heading); background: linear-gradient(90deg, #2fae6a, #e3b93a, #e0873a, #d24b3a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mm-legend-head p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; flex: 1 1 260px; }
.mm-legend-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.mm-legend-row { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; background: var(--bg-2, #f4f1ec); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mm-legend-row .mm-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px currentColor; }
.mm-legend-row.mm-badge--e .mm-dot { background: #2fae6a; color: rgba(47,174,106,.18); }
.mm-legend-row.mm-badge--a .mm-dot { background: #e3b93a; color: rgba(227,185,58,.2); }
.mm-legend-row.mm-badge--c .mm-dot { background: #e0873a; color: rgba(224,135,58,.2); }
.mm-legend-row.mm-badge--x .mm-dot { background: #d24b3a; color: rgba(210,75,58,.2); }
.mm-legend-row b { color: var(--heading); font-size: 14px; } .mm-legend-row span { color: var(--muted); font-size: 12.5px; }

/* ===== NWS alert banner ===== */
.wx-alerts:empty { display: none; }
.wx-alerts-wrap { margin: 0 auto; }
.wx-alerts-wrap:has(.wx-alerts:empty) { display: none; }
.wx-alert { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; padding: 13px 18px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(135deg, #b8471f, #7a2a12); color: #fff; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.16); }
.wx-alert--sev { background: linear-gradient(135deg, #c22020, #7a1010); animation: floodpulse 2s ease-in-out infinite; }
.wx-alert--mod { background: linear-gradient(135deg, #c9791d, #8a4b12); }
.wx-alert--min { background: linear-gradient(135deg, #3f6ea8, #263f66); }
.wx-alert-ic { font-size: 1.35rem; flex: none; }
.wx-alert-body { flex: 1; min-width: 0; }
.wx-alert-body b { display: block; font-size: 15px; }
.wx-alert-body span { display: block; font-size: 13px; color: rgba(255,255,255,.85); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wx-alert-src { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .1em; background: rgba(255,255,255,.9); color: #201400; padding: 4px 9px; border-radius: 999px; }
.alert-more { font-size: 11px; font-weight: 800; opacity: .85; }
/* minor advisory (air quality, etc.) — tiny chip, not a banner */
.wx-alert-chip { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; text-decoration: none; color: #7a5a12;
  background: color-mix(in srgb, #e0b93a 18%, var(--surface)); border: 1px solid color-mix(in srgb, #e0b93a 45%, var(--line)); }
.wx-alert-chip:hover { background: color-mix(in srgb, #e0b93a 28%, var(--surface)); }
.wx-alert-chip-ic { font-size: 12px; line-height: 1; }
.wx-alert-chip-more { font-size: 10px; font-weight: 800; opacity: .75; }
/* homepage: single alert pill tucked under the three hero chips */
.hero-alert { margin-top: 10px; }
.hero-alert:empty { display: none; }
.hero-alert .wx-alert-chip, .hero-alert .wx-alert { margin-bottom: 0; }
.trail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.trail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trail-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.trail-diff { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--pill); color: #fff; }
.trail-diff--easy { background: #2e7d32; }
.trail-diff--mod { background: #1f6fb2; }
.trail-diff--hard { background: #c0392b; }
.trail-diff--exp { background: #222; }
.trail-dist { color: var(--muted); font-size: 13px; font-weight: 600; }
.trail-card h3 { font-family: var(--font-display); font-size: 1.26rem; color: var(--heading); margin-top: 12px; }
.trail-card p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.5; }

/* Mellow Meter — how chill (vs intense) a trail is */
.mellow-meter { display: flex; align-items: center; gap: 9px; margin-top: 11px; }
.mm-k { font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.mm { display: inline-flex; gap: 4px; }
.mm i { width: 17px; height: 6px; border-radius: 3px; background: var(--line); }
.mm[data-level="1"] i:nth-child(-n+1),
.mm[data-level="2"] i:nth-child(-n+2),
.mm[data-level="3"] i:nth-child(-n+3),
.mm[data-level="4"] i:nth-child(-n+4),
.mm[data-level="5"] i:nth-child(-n+5) { background: linear-gradient(90deg, #5fa888, #3f9d8f); }

.snowbowl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 4px; }
.snowbowl-fact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; box-shadow: var(--shadow-sm); }
.snowbowl-fact b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--heading); }
.snowbowl-fact span { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .trail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .adv-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trail-grid { grid-template-columns: 1fr; } }

/* =========================================================
   TRAFFIC (live ADOT heat map)
   ========================================================= */
.traffic-frame {
  position: relative; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: var(--navy-deep, #16213e);
  box-shadow: 0 22px 60px -18px rgba(15, 23, 42, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.traffic-map { height: 500px; width: 100%; z-index: 0; background: #1d2540; }
.tl-green { background: #2ee06a; }
.tl-yellow { background: #f6c915; }
.tl-red { background: #ff4d4d; }
.tl-dark { background: #b3261e; }

/* pulsing LIVE badge */
.traffic-live {
  position: absolute; top: 14px; left: 14px; z-index: 1000;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: rgba(15, 23, 42, .72); padding: 7px 13px 7px 11px; border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.traffic-live i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255, 77, 77, .7); animation: live-pulse 1.8s ease-out infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, .65); } 70% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }

/* frosted floating legend */
.traffic-legend2 {
  position: absolute; bottom: 14px; left: 14px; z-index: 1000;
  display: flex; flex-direction: column; gap: 7px;
  background: rgba(15, 23, 42, .72); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 12px 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.traffic-legend2 span { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.traffic-legend2 i { width: 20px; height: 6px; border-radius: 3px; flex: none; }
@media (max-width: 600px) {
  .traffic-map { height: 380px; }
  .traffic-legend2 { flex-direction: row; flex-wrap: wrap; gap: 6px 12px; max-width: calc(100% - 28px); padding: 9px 11px; }
  .traffic-legend2 span { font-size: 11px; }
}

/* compact homepage traffic preview */
.traffic-mini-wrap { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.traffic-mini { height: 240px; width: 100%; background: var(--bg-2, #eee); z-index: 0; }
.traffic-mini-link { position: absolute; inset: 0; z-index: 1000; display: flex; align-items: flex-end; padding: 16px; text-decoration: none; }
.traffic-mini-link span { display: inline-flex; align-items: center; gap: 8px; background: rgba(15, 23, 42, .82); color: #fff; font-weight: 700; font-size: 13px; padding: 9px 15px; border-radius: var(--pill); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .2s ease; }
.traffic-mini-wrap:hover .traffic-mini-link span { background: var(--accent-strong); }
@media (max-width: 600px) { .traffic-mini { height: 200px; } }

/* =========================================================
   SCHUMANN RESONANCE (Earth's frequency)
   ========================================================= */
.sr-grid { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: stretch; }
.sr-hero {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 4px; padding: 30px 22px; border-radius: var(--r); color: #fff;
  background: radial-gradient(120% 120% at 50% 0%, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.sr-hero::before { content: ""; position: absolute; inset: -40% -10% auto -10%; height: 70%; opacity: .5; filter: blur(30px); background: radial-gradient(circle, var(--_g, #3f9d8f), transparent 70%); }
.sr-hero--vc { --_g: #3f9d8f; } .sr-hero--c { --_g: #4f9d6a; } .sr-hero--m { --_g: #d09a2c; } .sr-hero--e { --_g: #dd7a2a; } .sr-hero--h { --_g: #d64545; }
.sr-score { position: relative; font-family: var(--font-display); font-size: 4.6rem; line-height: 1; }
.sr-activity { position: relative; font-family: var(--font-display); font-size: 1.25rem; }
.sr-freq { position: relative; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.sr-freq b { color: #fff; }
.sr-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.sr-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.sr-wave-g1 { animation: sr-flow 17s linear infinite; }
.sr-wave-g2 { animation: sr-flow 11s linear infinite; }
@keyframes sr-flow { to { transform: translateX(-1200px); } }
.sr-fill { fill: var(--_g); opacity: .2; }
.sr-line { fill: none; stroke: var(--_g); stroke-width: 2.5; opacity: .6; }
@media (prefers-reduced-motion: reduce) { .sr-wave-g1, .sr-wave-g2 { animation: none; } }

/* homepage Schumann chip */
.sr-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill); font-size: 13px; font-weight: 700; text-decoration: none; border: 1px solid transparent; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease, background .2s ease; }
.sr-chip.is-ready { opacity: 1; transform: none; }
.sr-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: sr-breathe 2.6s ease-in-out infinite; }
@keyframes sr-breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.65); } }
.sr-chip--vc, .sr-chip--c { background: rgba(63, 157, 143, .2); border-color: rgba(63, 157, 143, .5); color: #b8e6dc; }
.sr-chip--m { background: rgba(208, 154, 44, .22); border-color: rgba(208, 154, 44, .55); color: #ffe1a8; }
.sr-chip--e { background: rgba(221, 122, 42, .22); border-color: rgba(221, 122, 42, .6); color: #ffd2ad; }
.sr-chip--h { background: rgba(214, 69, 69, .22); border-color: rgba(214, 69, 69, .6); color: #ffcccc; }
.sr-body { display: flex; flex-direction: column; gap: 14px; }
.sr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sr-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.sr-stat-k { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.sr-stat-v { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--heading); margin-top: 3px; text-transform: capitalize; }
/* Live resonance spectrum — custom animated centerpiece */
.sr-viz-panel { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 16px; padding: 14px 16px 4px;
  background: radial-gradient(120% 140% at 15% 0%, #1a2452 0%, #0d1230 55%, #070a1c 100%);
  border: 1px solid rgba(120,180,255,.22); box-shadow: 0 12px 32px rgba(0,0,0,.4), inset 0 0 50px rgba(60,90,200,.14); }
.sr-viz-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.sr-viz-k { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #cfe4ff; }
.sr-viz-dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe0ff; box-shadow: 0 0 9px #6fe0ff; animation: srLive 1.6s ease-in-out infinite; }
.sr-viz-hz { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #9fd0ff; font-variant-numeric: tabular-nums; }
.sr-viz { display: block; width: 100%; height: 190px; }
@media (max-width: 560px) { .sr-viz { height: 150px; } }

/* Schumann spectrogram — live observatory console */
.sr-spec { margin: 0; }
.sr-spec-frame { position: relative; border-radius: 14px; overflow: hidden; background: #050912;
  border: 1px solid rgba(120,180,255,.32);
  box-shadow: 0 0 0 1px rgba(120,180,255,.08), 0 12px 34px rgba(0,0,0,.45), inset 0 0 46px rgba(40,90,180,.16); }
/* crop into the vivid plot — trims the white axis margins, colorbar & logo */
.sr-spec-img { display: block; width: 100%; height: auto; transform: scale(1.22); transform-origin: 45% 44%;
  filter: hue-rotate(300deg) saturate(1.6) contrast(1.2) brightness(1.05); }
/* tame the white data-gap patches: a blue multiply tint pulls the glaring
   white into the spectrogram's own palette so gaps read as "quiet", not blown out */
.sr-spec-tint { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(140% 130% at 50% 42%, #aebfdd 30%, #4a6392 68%, #34507e 100%); opacity: .62; }
/* deepen the edges so the plot melts into the console */
.sr-spec-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 120% at 50% 50%, transparent 58%, rgba(3,7,16,.8) 100%); }
/* CRT scanlines + a slow sweep line */
.sr-spec-scan { position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.sr-spec-frame::after { content: ""; position: absolute; left: 0; right: 0; height: 16%; top: -16%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(130,205,255,.22), transparent); animation: srScan 5s linear infinite; }
@keyframes srScan { to { top: 116%; } }
.sr-spec-frame::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0,0,0,.55); border-radius: 14px; }
.sr-corner { position: absolute; width: 16px; height: 16px; border: 2px solid rgba(140,205,255,.85); }
.sr-corner--tl { top: 9px; left: 9px; border-right: 0; border-bottom: 0; }
.sr-corner--tr { top: 9px; right: 9px; border-left: 0; border-bottom: 0; }
.sr-corner--bl { bottom: 9px; left: 9px; border-right: 0; border-top: 0; }
.sr-corner--br { bottom: 9px; right: 9px; border-left: 0; border-top: 0; }
.sr-spec-live { position: absolute; top: 11px; right: 11px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #eafff2;
  background: rgba(5,10,22,.72); border: 1px solid rgba(120,205,255,.34); padding: 4px 10px; border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sr-spec-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ee38a; box-shadow: 0 0 9px #4ee38a; animation: srLive 1.6s ease-in-out infinite; }
@keyframes srLive { 0%,100% { opacity: 1; } 50% { opacity: .28; } }
.sr-spec-cap { margin-top: 11px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.sr-spec-cap-k { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.sr-spec-cap-src { margin-left: auto; opacity: .82; font-variant-numeric: tabular-nums; }
.sr-note { color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 720px) { .sr-grid { grid-template-columns: 1fr; } .sr-stats { grid-template-columns: repeat(2, 1fr); } .sr-score { font-size: 3.8rem; } }

/* vortex sites — flip cards */
.vortex-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vortex-card { height: 280px; border: 0; background: none; padding: 0; perspective: 1100px; cursor: pointer; outline: none; }
.vortex-inner { position: relative; width: 100%; height: 100%; transition: transform .65s cubic-bezier(.4, .2, .2, 1); transform-style: preserve-3d; }
.vortex-card:hover .vortex-inner, .vortex-card:focus-within .vortex-inner, .vortex-card:focus .vortex-inner { transform: rotateY(180deg); }
.vortex-front, .vortex-back { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: var(--r); overflow: hidden; }
.vortex-front { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.vortex-card:focus .vortex-front { box-shadow: 0 0 0 2px var(--accent-strong), var(--shadow-sm); }
.vortex-type { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--pill); color: #fff; margin-bottom: 10px; align-self: flex-start; }
.vortex-type--up { background: #c0603a; }
.vortex-type--in { background: #4a7fb0; }
.vortex-type--bal { background: #6b7f4a; }
.vortex-front h3 { font-family: var(--font-display); font-size: 1.24rem; color: var(--heading); }
.vortex-front p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.5; }
.vortex-where { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--accent-strong); }
.vortex-flip-hint { position: absolute; bottom: 12px; right: 16px; font-size: 11px; font-weight: 600; color: var(--muted); opacity: .75; }
.vortex-back { transform: rotateY(180deg); background-color: var(--navy); background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.vortex-back-name { padding: 16px 18px; color: #fff; font-family: var(--font-display); font-size: 1.4rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
/* pulsing energy ring */
.vortex-pulse { position: absolute; top: 22px; right: 22px; width: 12px; height: 12px; }
.vortex-pulse::before, .vortex-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--_p, var(--accent-strong)); }
.vortex-pulse::after { animation: vpulse 2.4s ease-out infinite; }
@keyframes vpulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(4.6); opacity: 0; } }
.vortex-card--up { --_p: #c0603a; }
.vortex-card--in { --_p: #4a7fb0; }
.vortex-card--bal { --_p: #6b7f4a; }
@media (prefers-reduced-motion: reduce) { .vortex-pulse::after { animation: none; } .vortex-inner { transition: none; } }

/* cosmic conditions (moon + geomagnetic) */
.cosmic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0 8px; }
.cos-card { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.cos-ic { font-size: 2rem; line-height: 1; }
.cos-k { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 6px; }
.cos-v { font-family: var(--font-display); font-size: 1.5rem; color: var(--heading); line-height: 1.1; }
.cos-sub { color: var(--muted); font-size: 13px; }
.cos-kp--g1 .cos-v, .cos-kp--g2 .cos-v, .cos-kp--g3 .cos-v { color: #c0392b; }
.cos-kp--a .cos-v { color: #d97706; }

.section-subhead { margin: 30px 0 16px; }
.section-subhead h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--heading); }
.section-subhead p { color: var(--muted); font-size: 15px; margin-top: 4px; max-width: 64ch; }

/* tone-off-the-tower story */
.tone-story { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.tone-story-copy h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--heading); margin-top: 6px; }
.tone-story-copy p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 12px; }
.tone-story-copy strong { color: var(--heading); }
.tone-disclaimer { font-size: 13px; font-style: italic; border-left: 3px solid var(--accent-soft); padding-left: 14px; margin-top: 18px; }
.tone-ladder-wrap { background: radial-gradient(120% 120% at 50% 0%, var(--navy) 0%, var(--navy-deep) 100%); border-radius: var(--r); padding: 26px 24px 22px; box-shadow: var(--shadow-sm); }
.tone-ladder { display: flex; align-items: flex-end; justify-content: center; gap: 12px; height: 180px; }
.tone-bar { flex: 1; max-width: 52px; border-radius: 10px 10px 0 0; background: linear-gradient(to top, var(--accent-deep), var(--accent)); display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; }
.tone-bar--all { background: repeating-linear-gradient(45deg, var(--accent-soft), var(--accent-soft) 5px, var(--accent) 5px, var(--accent) 10px); }
.tone-hz { font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.tone-loop { text-align: center; color: rgba(255, 255, 255, .72); font-size: 12px; margin-top: 12px; letter-spacing: .02em; }
.tri-wave { display: block; width: 100%; height: 34px; margin-top: 16px; }
.tri-wave path { fill: none; stroke: var(--accent-soft); stroke-width: 2; opacity: .85; }
.tone-cap { text-align: center; color: rgba(255, 255, 255, .6); font-size: 11px; margin-top: 6px; font-style: italic; }
@media (max-width: 760px) { .tone-story { grid-template-columns: 1fr; gap: 26px; } }

/* KAZM Archives */
.archive-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.archive-card .eyebrow { color: var(--accent-strong); margin-bottom: 4px; }
.archive-card h3 { font-family: var(--font-display); font-size: 1.55rem; color: var(--heading); line-height: 1.12; }
.archive-card p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 12px; }
.archive-card--split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; }
.archive-card--reverse .archive-copy { order: 2; }
.phase-viz { display: flex; flex-direction: column; justify-content: center; }
.phase-viz .tri-wave { height: 92px; margin-top: 0; }
.archive-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.archive-trio .archive-card { margin-bottom: 0; }
.archive-trio h3 { font-size: 1.3rem; }
.archive-trio p { font-size: 14px; }
@media (max-width: 820px) {
  .archive-card--split { grid-template-columns: 1fr; gap: 24px; }
  .archive-card--reverse .archive-copy { order: 0; }
  .archive-trio { grid-template-columns: 1fr; }
}
.archive-card--aurora { position: relative; overflow: hidden; }
.archive-card--aurora::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #7c3aed, #d94fb0, #3f9d8f, #2ee06a); }

/* lunar map placeholder */
/* Detailed lunar map — live-rendered near side + ephemeris console */
.lunar { margin: 22px 0 8px; }
.lunar-card { position: relative; overflow: hidden; border-radius: var(--r); padding: 24px 26px; color: #e9edff; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.12); background: radial-gradient(130% 120% at 82% 0%, #202b52 0%, #121935 55%, #0a0e20 100%); }
.lunar-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.4px 1.4px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 88% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 60% 8%, #cfe 50%, transparent 51%), radial-gradient(1.2px 1.2px at 30% 12%, #fff 50%, transparent 51%); opacity: .45; }
.lunar-main { position: relative; z-index: 1; display: flex; gap: 26px; align-items: center; }
.lunar-disc { flex: none; width: 300px; max-width: 44%; }
.lunar-frame { position: relative; border-radius: 50%; padding: 0; }
.lunar-frame canvas { display: block; width: 100%; height: auto; border-radius: 50%; filter: drop-shadow(0 0 26px rgba(150,180,255,.28)); }
.lunar-live { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #bfe6ff; background: rgba(8,12,26,.6); border: 1px solid rgba(150,180,255,.3); border-radius: 20px; padding: 3px 9px; }
.lunar-live i { width: 6px; height: 6px; border-radius: 50%; background: #7dffb0; box-shadow: 0 0 8px #7dffb0; animation: lunarPulse 2.2s ease-in-out infinite; }
@keyframes lunarPulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.lunar-frame [class^="lc-"] { position: absolute; font-size: 11px; font-weight: 800; color: rgba(203,214,255,.6); letter-spacing: .08em; }
.lc-n { top: -2px; left: 50%; transform: translateX(-50%); } .lc-s { bottom: -2px; left: 50%; transform: translateX(-50%); }
.lc-e { right: -3px; top: 50%; transform: translateY(-50%); } .lc-w { left: -4px; top: 50%; transform: translateY(-50%); }
.lunar-info { flex: 1; min-width: 0; }
.lunar-phase { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lunar-ph-ic { font-size: 2.7rem; line-height: 1; flex: none; filter: drop-shadow(0 0 10px rgba(255,255,240,.35)); }
.lunar-ph-name { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.05; color: #fff; }
.lunar-ph-sub { display: block; font-size: 13px; color: rgba(233,237,255,.72); margin-top: 3px; }
.lunar-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lstat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 11px 13px; }
.lstat-k { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(203,214,255,.6); font-weight: 800; }
.lstat-v { display: block; font-size: 16px; color: #fff; font-weight: 700; margin-top: 3px; line-height: 1.15; }
.lstat-s { display: block; font-size: 11px; color: rgba(233,237,255,.6); margin-top: 2px; line-height: 1.35; }
.lunar-feat { position: relative; z-index: 1; margin-top: 18px; }
.lunar-feat-h { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(203,214,255,.62); font-weight: 800; margin-bottom: 9px; }
.lunar-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.lchip { font-size: 12px; color: #e9edff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 20px; padding: 4px 11px; }
.lchip--mare { color: #cbd6ff; border-color: rgba(140,165,255,.32); }
.lchip--crater::before { content: "◉ "; color: rgba(255,255,240,.65); }
.lchip--site { color: #9fe9ff; border-color: rgba(120,230,255,.4); background: rgba(120,230,255,.08); }
.lchip--site::before { content: "▸ "; }
.lunar-foot { position: relative; z-index: 1; margin-top: 16px; font-size: 12px; color: rgba(233,237,255,.55); line-height: 1.5; }
@media (max-width: 720px) { .lunar-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lunar-main { flex-direction: column; } .lunar-disc { width: 240px; max-width: 80%; } .lunar-info { width: 100%; } }

/* ===== Sedona Horoscope ===== */
.page-hero--stars { position: relative; overflow: hidden; background: radial-gradient(130% 120% at 78% -10%, #26305c 0%, #141a36 52%, #0a0e20 100%); }
.page-hero--stars::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 82% 16%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 58% 30%, #cfe 50%, transparent 51%), radial-gradient(1.4px 1.4px at 33% 62%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 71% 74%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 46% 84%, #dde 50%, transparent 51%), radial-gradient(1px 1px at 92% 52%, #fff 50%, transparent 51%); opacity: .5; }
.page-hero--stars .wrap { position: relative; z-index: 1; }

/* live sky strip */
.sky-now { margin: 22px 0 8px; }
.sky-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.skb { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; background: radial-gradient(120% 130% at 50% 0%, #202b52 0%, #121935 70%); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px 8px; box-shadow: var(--shadow-sm); }
.skb-p { font-size: 1.7rem; line-height: 1; color: #ffe9a8; }
.skb-in { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(203,214,255,.5); }
.skb-s { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; }
.skb-d { font-size: 12px; color: rgba(203,214,255,.7); }
.skb-d .rx { color: #ff9a7a; font-style: normal; }
.skb-n { font-size: 11px; color: rgba(233,237,255,.55); margin-top: 2px; }
.sky-strip-foot { margin: 14px 2px 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.sky-strip-foot b { color: var(--ink); }
@media (max-width: 860px) { .sky-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .sky-strip { grid-template-columns: repeat(3, 1fr); } .skb-p { font-size: 1.45rem; } }

/* zodiac cards */
.horo-updated { color: var(--muted); font-size: 13px; font-style: italic; }
.zodiac { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.zc { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.zc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.zc-logo { position: relative; height: 132px; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 130% at 70% 0%, #202b52 0%, #10162e 60%, #0a0e20 100%); overflow: hidden; }
.zc-logo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1px 1px at 18% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 82% 24%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 60% 74%, #cfe 50%, transparent 51%), radial-gradient(1px 1px at 30% 80%, #fff 50%, transparent 51%); opacity: .45; }
.cst { position: relative; z-index: 1; width: 82%; height: 100%; }
.zc-glyph { position: absolute; z-index: 2; right: 12px; bottom: 8px; font-size: 2rem; line-height: 1; color: rgba(255,255,255,.9); text-shadow: 0 0 14px rgba(150,180,255,.6); }
.zc-sunbadge { position: absolute; z-index: 2; top: 10px; left: 10px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1a1204; background: linear-gradient(180deg, #ffe08a, #ffb44d); border-radius: 20px; padding: 3px 9px; box-shadow: 0 0 14px rgba(255,190,90,.5); }
.zc--sun { border-color: rgba(255,190,90,.5); box-shadow: 0 0 0 1px rgba(255,190,90,.25), var(--shadow-sm); }
.zc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.zc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.zc-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.zc-dates { font-size: 12px; color: var(--muted); flex: none; }
.zc-sub { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.zc-star { margin: 8px 0 0; font-size: 12px; color: var(--muted); } .zc-star b { color: var(--ink); }
.zc-tabs { display: flex; gap: 6px; margin: 14px 0 10px; }
.zc-tab { flex: 1; font: inherit; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2, rgba(0,0,0,.04)); border: 1px solid var(--line); border-radius: 20px; padding: 6px 4px; cursor: pointer; transition: all .15s ease; }
.zc-tab:hover { color: var(--ink); }
.zc-tab.is-active { color: #fff; background: var(--navy); border-color: var(--navy); }
.zc-read { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink); flex: 1; }
.zc--fire .zc-head h3 { color: #d1683a; } .zc--earth .zc-head h3 { color: #4f8a4a; }
.zc--air .zc-head h3 { color: #3f7fa6; } .zc--water .zc-head h3 { color: #5a6fb0; }
@media (max-width: 860px) { .zodiac { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .zodiac { grid-template-columns: 1fr; } }

/* cosmic weather — aspects */
.aspects { margin: 20px 0 8px; }
.asp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.asp { background: var(--surface); border: 1px solid var(--line); border-left-width: 4px; border-radius: 12px; padding: 13px 15px; box-shadow: var(--shadow-sm); }
.asp-pair { display: block; font-size: 1.35rem; color: var(--ink); line-height: 1; }
.asp-sym { color: var(--muted); }
.asp-name { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); margin-top: 6px; text-transform: capitalize; }
.asp-note { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.asp--conjunction { border-left-color: #d1a13a; } .asp--sextile { border-left-color: #4f8a4a; }
.asp--square { border-left-color: #c0533f; } .asp--trine { border-left-color: #3f7fa6; }
.asp--opposition { border-left-color: #8257a8; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* retrograde watch */
.retro-grid { display: flex; flex-direction: column; gap: 10px; }
.retro { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; box-shadow: var(--shadow-sm); }
.retro-g { display: inline-block; font-size: 1.15rem; color: #c0533f; margin-right: 6px; }
.retro b { color: var(--ink); font-size: 14px; } .retro span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.45; }

/* balance of the sky */
.balance { }
.bal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bal-col h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.bal-row { display: grid; grid-template-columns: 64px 1fr 20px; align-items: center; gap: 9px; margin-bottom: 8px; }
.bal-k { font-size: 12.5px; color: var(--ink); } .bal-v { font-size: 12.5px; color: var(--muted); text-align: right; }
.bal-track { height: 8px; background: rgba(0,0,0,.07); border-radius: 6px; overflow: hidden; }
.bal-track i { display: block; height: 100%; border-radius: 6px; background: var(--navy); }
.el-fire i { background: #d1683a; } .el-earth i { background: #4f8a4a; } .el-air i { background: #3f7fa6; } .el-water i { background: #5a6fb0; }
.mo-cardinal i { background: #c98a2e; } .mo-fixed i { background: #7a6bb0; } .mo-mutable i { background: #3f9aa6; }
@media (max-width: 420px) { .bal-cols { grid-template-columns: 1fr; } }

/* birth chart */
.bchart { margin-top: 20px; }
.bchart-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; background: radial-gradient(120% 130% at 80% 0%, #202b52 0%, #131a34 60%, #0c1024 100%); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
.bc-field { display: flex; flex-direction: column; gap: 5px; }
.bc-field label { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: rgba(233,237,255,.8); }
.bc-field label span { font-weight: 400; color: rgba(233,237,255,.5); }
.bc-field input, .bc-field select { font: inherit; font-size: 14px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 9px 12px; min-width: 150px; }
.bc-field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; }
.bc-field select option { color: #14203c; }
.bc-go { align-self: flex-end; }
.bchart-out:empty { display: none; }
.bc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 20px; }
.bc-res { background: radial-gradient(120% 130% at 60% 0%, #222d55 0%, #10162e 70%); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; padding: 16px 18px; color: #e9edff; box-shadow: var(--shadow-sm); }
.bc-res-k { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(203,214,255,.6); font-weight: 800; }
.bc-res-v { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-top: 4px; }
.bc-res-d { display: block; font-size: 12.5px; color: rgba(233,237,255,.66); margin-top: 3px; }
.bc-foot { margin: 14px 2px 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ===== Chakras — the glowing energy body ===== */
.chakras { margin: 8px 0; }
.chk-wrap { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 34px; align-items: start; }
.chk-lotus { width: 44px; height: 44px; flex: none; }

/* the energy-body stage */
.chk-stage { position: relative; height: 560px; border-radius: var(--r); background: radial-gradient(120% 90% at 50% 12%, #1a2b4d 0%, #0c1024 60%), radial-gradient(80% 60% at 50% 100%, #171f3e 0%, #0a0e20 100%); background-color: #0a0e20; overflow: hidden; box-shadow: var(--shadow), inset 0 0 60px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.08); }
.chk-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.3px 1.3px at 18% 20%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 30%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 60% 68%, #cfe 50%, transparent 51%), radial-gradient(1px 1px at 30% 80%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 85% 84%, #fff 50%, transparent 51%); opacity: .5; }
.chk-figure { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.chk-orb { position: absolute; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); background: none; border: none; cursor: pointer; padding: 0; z-index: 2; }
.chk-orb-core { position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, var(--cc) 0%, color-mix(in srgb, var(--cc) 55%, transparent) 42%, transparent 70%); filter: blur(2px); animation: chkBreathe 4.5s ease-in-out infinite; }
.chk-orb .chk-lotus { position: relative; width: 46px; height: 46px; z-index: 1; transition: transform .3s ease; }
.chk-orb-lab { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; text-align: left; }
.chk-orb-lab b { display: block; font-size: 14px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.chk-orb-lab span { display: block; font-size: 11.5px; color: rgba(203,214,255,.7); }
.chk-orb:hover .chk-lotus { transform: scale(1.12); }
.chk-orb.is-active { z-index: 3; }
.chk-orb.is-active .chk-ring, .chk-detail-head .chk-ring { transform-origin: 50px 50px; animation: chkSpin 26s linear infinite; }
.chk-orb.is-active .chk-ring2, .chk-detail-head .chk-ring2 { transform-origin: 50px 50px; animation: chkSpin 44s linear infinite reverse; }
.chk-orb.is-active .chk-orb-core { inset: -14px; animation: chkBreathe 3s ease-in-out infinite; }
.chk-orb.sounding .chk-orb-core { animation: chkBloom 1.6s ease-out infinite; }
@keyframes chkBreathe { 0%,100% { opacity: .55; transform: scale(.92); } 50% { opacity: .95; transform: scale(1.08); } }
@keyframes chkBloom { 0% { opacity: 1; transform: scale(.85); } 70% { opacity: .35; } 100% { opacity: 0; transform: scale(2.1); } }
@keyframes chkSpin { to { transform: rotate(360deg); } }
@media (max-width: 380px) { .chk-orb-lab b { font-size: 12.5px; } .chk-orb-lab span { font-size: 10.5px; } }

/* detail card */
.chk-detail { background: radial-gradient(130% 120% at 85% 0%, #1c2647 0%, #121935 55%, #0b0f22 100%); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 26px 28px; color: #e9edff; box-shadow: var(--shadow); position: sticky; top: 92px; }
.chk-detail-head { display: flex; align-items: center; gap: 16px; }
.chk-detail-head .chk-lotus { width: 92px; height: 92px; filter: drop-shadow(0 0 16px rgba(255,255,255,.15)); }
.chk-eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.chk-detail-head h3 { margin: 2px 0; font-family: var(--font-display); font-size: 1.9rem; color: #fff; line-height: 1.05; }
.chk-loc { display: block; font-size: 13px; color: rgba(233,237,255,.62); }
.chk-aff { margin: 16px 0 4px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; }
.chk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.chk-stats > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 8px; text-align: center; }
.chk-stats span { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(203,214,255,.6); font-weight: 800; }
.chk-stats b { display: block; font-size: 14px; color: #fff; margin-top: 4px; }
.chk-gov { margin: 6px 0; font-size: 14px; line-height: 1.55; color: rgba(233,237,255,.85); }
.chk-gov b { color: #fff; }
.chk-blocked { color: rgba(233,237,255,.68); }
.chk-corr { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 14px 0; }
.chk-corr > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 10px; padding: 9px 13px; }
.chk-corr span { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: rgba(203,214,255,.6); font-weight: 800; margin-right: 8px; }
.chk-corr b { font-size: 13.5px; color: #fff; font-weight: 400; }
.chk-vortex { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: rgba(233,237,255,.8); background: rgba(255,255,255,.05); border-left: 3px solid rgba(255,255,255,.3); border-radius: 8px; padding: 10px 13px; }
.chk-vortex b { color: #fff; }
.chk-play-row { margin-top: 18px; }
.chk-play { width: 100%; }
.chk-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.chk-note { font-size: 12.5px; color: var(--muted); flex: 1; min-width: 200px; }
@media (max-width: 720px) { .chk-wrap { grid-template-columns: 1fr; } .chk-detail { position: static; } .chk-stage { height: 500px; max-width: 420px; margin: 0 auto; } }
@media (max-width: 420px) { .chk-stats { grid-template-columns: repeat(2, 1fr); } }

/* immersive sound bath */
body.chk-imm-open { overflow: hidden; }
.chk-imm { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; }
.chk-imm[hidden] { display: none; }
.chk-imm-veil { position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 40%, color-mix(in srgb, var(--cc, #6a4fb0) 30%, #05060f) 0%, #05060f 70%); animation: chkVeil 6s ease infinite alternate; }
@keyframes chkVeil { to { filter: brightness(1.15); } }
.chk-imm-x { position: absolute; top: 20px; right: 24px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.chk-imm-inner { position: relative; z-index: 1; text-align: center; color: #fff; padding: 20px; max-width: 560px; }
.chk-breath { position: relative; width: 240px; height: 240px; margin: 0 auto 34px; display: flex; align-items: center; justify-content: center; }
.chk-breath-orb { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--cc, #8a6fd0) 0%, color-mix(in srgb, var(--cc, #8a6fd0) 40%, transparent) 55%, transparent 72%); animation: chkBreatheBig 7.6s ease-in-out infinite; }
.chk-breath-ring { position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--cc, #8a6fd0) 60%, transparent); animation: chkBreatheRing 7.6s ease-in-out infinite; }
.chk-breath-txt { position: relative; z-index: 2; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em; color: rgba(255,255,255,.9); text-shadow: 0 1px 10px rgba(0,0,0,.5); }
@keyframes chkBreatheBig { 0%,100% { transform: scale(.7); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes chkBreatheRing { 0%,100% { transform: scale(.75); opacity: .4; } 50% { transform: scale(1.25); opacity: .9; } }
.chk-imm-dots { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.chk-imm-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); transition: all .4s ease; }
.chk-imm-dots i.on { background: var(--cc); }
.chk-imm-dots i.cur { transform: scale(1.7); box-shadow: 0 0 14px var(--cc); }
.chk-imm-name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; }
.chk-imm-name span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.chk-imm-aff { font-size: 1.15rem; font-style: italic; color: rgba(255,255,255,.85); margin: 12px 0 8px; min-height: 1.4em; }
.chk-imm-hz { font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.55); }

/* ===== Tarot ===== */
.tarot { margin-top: 20px; }
.tarot-eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #c98a2e; margin-bottom: 6px; }
.tarot-day { display: flex; gap: 30px; align-items: center; background: radial-gradient(130% 120% at 80% 0%, #1c2647 0%, #121935 55%, #0b0f22 100%); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 28px 30px; color: #e9edff; box-shadow: var(--shadow); }
.tarot-day-info h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.9rem; color: #fff; }
.tarot-day-info p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: rgba(233,237,255,.85); }
.tarot-day-note { font-size: 12.5px !important; color: rgba(233,237,255,.55) !important; }
.tarot-revtag { font-size: .55em; vertical-align: middle; background: rgba(224,57,63,.25); border: 1px solid rgba(224,57,63,.5); color: #ffb3b0; border-radius: 20px; padding: 3px 10px; letter-spacing: .06em; }

/* the card itself */
.tc { position: relative; width: 150px; perspective: 900px; cursor: pointer; flex: none; }
.tc-inner { position: relative; width: 100%; aspect-ratio: 3 / 5; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.25,1); }
.tc.is-flipped .tc-inner { transform: rotateY(180deg); }
.tc-back, .tc-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 12px; overflow: hidden; }
.tc-back { background: radial-gradient(120% 100% at 50% 0%, #253261 0%, #131a38 55%, #0b0f24 100%); border: 1px solid rgba(210,180,110,.5); box-shadow: 0 6px 22px rgba(0,0,0,.45), inset 0 0 0 5px rgba(210,180,110,.16), inset 0 0 0 6px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; }
.tc-back i { position: absolute; inset: 10px; border: 1px solid rgba(210,180,110,.4); border-radius: 8px; background-image: radial-gradient(1px 1px at 22% 24%, #cdd9ff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 70% 16%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 44% 52%, #cdd9ff 50%, transparent 51%), radial-gradient(1px 1px at 80% 70%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 30% 84%, #cdd9ff 50%, transparent 51%); opacity: .8; }
/* broadcast waves rippling out from behind the logo — it's a radio station's deck */
.tc-back::after { content: ""; position: absolute; inset: 10px; border-radius: 8px; pointer-events: none; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 12px, rgba(210,180,110,.09) 12px 13px, transparent 13px 30px); }
/* the hidden KAZM — a ghost of the logo that wakes when you hover the card */
.tc-back-logo { position: absolute; width: 68%; opacity: .08; z-index: 1; filter: brightness(2.2) saturate(0); transition: opacity .5s ease, filter .5s ease; }
.tc:not(.is-flipped):hover .tc-back-logo, .tc:not(.is-flipped):focus .tc-back-logo { opacity: .2; filter: brightness(2.4) saturate(.4); }
.tc-face { transform: rotateY(180deg); background: linear-gradient(170deg, #f7efdc 0%, #efe3c6 100%); border: 1px solid rgba(140,110,60,.55); box-shadow: 0 6px 22px rgba(0,0,0,.4), inset 0 0 0 5px rgba(140,110,60,.22), inset 0 0 0 6px rgba(247,239,220,.9); display: flex; }
.tc-face-in { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 9px 9px 8px; text-align: center; min-height: 0; }
.tc.is-rev .tc-face-in { transform: rotate(180deg); }
.tc-img { width: 100%; flex: 1; min-height: 0; object-fit: cover; border-radius: 5px; border: 1px solid rgba(140,110,60,.4); }
.tc-tag { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8a6a33; }
.tc-glyph { font-size: 3rem; line-height: 1; filter: drop-shadow(0 2px 5px rgba(120,90,40,.35)); }
.tc-name { font-family: var(--font-display); font-size: .86rem; line-height: 1.15; color: #3c2f18; flex: none; }
.tc-revb { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a33d36; border: 1px solid rgba(163,61,54,.5); border-radius: 20px; padding: 2px 9px; }
.tc-pos { display: block; text-align: center; margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tc:hover .tc-inner { box-shadow: 0 0 30px rgba(210,180,110,.25); }
.tc:not(.is-flipped):hover .tc-inner { transform: rotateY(0) translateY(-6px); }

/* pull-your-own */
.tarot-pull { margin-top: 26px; }
.tarot-pull-head h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.tarot-pull-head p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.tarot-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.tarot-table { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; min-height: 0; }
.tarot-table:not(:empty) { padding: 26px 18px; background: radial-gradient(120% 120% at 50% 0%, #1c2647 0%, #10162e 60%, #0b0f22 100%); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); box-shadow: var(--shadow); }
.tarot-read { margin-top: 16px; }
.tarot-line { margin: 8px 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.tarot-line b { color: var(--ink); }
.tarot-pos-tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--navy); border-radius: 20px; padding: 3px 10px; margin-right: 9px; vertical-align: 1px; }
@media (max-width: 640px) { .tarot-day { flex-direction: column; text-align: center; } .tc { width: 132px; } .tarot-table { gap: 16px; } }

/* astro correspondence on the card face */
.tc-astro { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; color: #8a6a33; font-style: normal; display: block; margin-top: 1px; }

/* the deal — cards arrive one by one */
.tc-slot { opacity: 0; transform: translateY(26px) scale(.92); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.25,1); }
.tc-slot.is-dealt { opacity: 1; transform: none; }

/* Celtic Cross layout: cross of six + staff of four */
.tarot-table--celtic { display: grid !important; grid-template-areas: ". p5 . p10" "p4 p1 p6 p9" ". p3 . p8" ". . . p7"; gap: 18px 22px; justify-content: center; align-items: center; }
.tarot-table--celtic .tc { width: 106px; }
.tarot-table--celtic .tc-glyph { font-size: 2.1rem; }
.tarot-table--celtic .tc-name { font-size: .86rem; }
.tarot-table--celtic .tc-pos { font-size: 10px; letter-spacing: .06em; margin-top: 7px; }
.tc-slot[data-cross] { z-index: 2; pointer-events: none; }
.tc-slot[data-cross] .tc { pointer-events: auto; }
.tc.tc--waiting, .tc-slot[data-cross] .tc.tc--waiting { pointer-events: none; }   /* clicks fall through to the heart beneath */
.tc-slot[data-cross].is-dealt { transform: rotate(90deg) translateX(30px); }
.tc-slot[data-cross] .tc-pos { transform: rotate(-90deg); position: absolute; right: -74px; top: 50%; margin: 0; }
@media (max-width: 860px) { .tarot-table--celtic { grid-template-areas: ". p5 ." "p4 p1 p6" ". p3 ." "p10 p9 p8" ". p7 ."; } .tarot-table--celtic .tc { width: 96px; } }

/* reading actions + journal */
.tarot-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.tarot-saved-note { font-size: 12.5px; color: var(--muted); }
.tj-posnote { color: var(--muted); font-style: italic; }
.tarot-journal { margin-top: 34px; }
.tj-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.tj-clear { padding: 6px 14px; font-size: 12.5px; }
.tj-note { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.tj-entry { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.tj-when { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.tj-entry .tarot-line { font-size: 13px; margin: 5px 0; }

/* the whole deck, open for study */
.tarot-lib { margin-top: 34px; }

/* the stacked deck — 78 cards asleep until you spread them */
.tlib-deckwrap { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 0 10px; }
.tlib-deck { position: relative; width: 158px; aspect-ratio: 3 / 5; background: none; border: none; padding: 0; cursor: pointer; }
.tlib-deckcard { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 100% at 50% 0%, #253261 0%, #131a38 55%, #0b0f24 100%); border: 1px solid rgba(210,180,110,.5); box-shadow: 0 8px 24px rgba(0,0,0,.5), inset 0 0 0 5px rgba(210,180,110,.16), inset 0 0 0 6px rgba(0,0,0,.3); transition: transform .45s cubic-bezier(.2,.7,.25,1), opacity .4s ease; }
.tlib-deckcard i { position: absolute; inset: 10px; border: 1px solid rgba(210,180,110,.4); border-radius: 8px; background-image: radial-gradient(1px 1px at 22% 24%, #cdd9ff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 70% 16%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 44% 52%, #cdd9ff 50%, transparent 51%), radial-gradient(1px 1px at 80% 70%, #fff 50%, transparent 51%); opacity: .8; }
.tlib-deckcard img { width: 68%; opacity: .1; filter: brightness(2.2) saturate(0); transition: opacity .5s ease; }
.tlib-deckcard:nth-child(1) { transform: rotate(-8deg) translate(-8px, 5px); }
.tlib-deckcard:nth-child(2) { transform: rotate(-4deg) translate(-4px, 2px); }
.tlib-deckcard:nth-child(3) { transform: rotate(-.5deg); }
.tlib-deckcard:nth-child(4) { transform: rotate(3deg) translate(4px, -2px); }
.tlib-deckcard:nth-child(5) { transform: rotate(6.5deg) translate(7px, -5px); }
.tlib-deck:hover .tlib-deckcard:nth-child(1) { transform: rotate(-14deg) translate(-20px, 9px); }
.tlib-deck:hover .tlib-deckcard:nth-child(2) { transform: rotate(-7deg) translate(-10px, 4px); }
.tlib-deck:hover .tlib-deckcard:nth-child(4) { transform: rotate(7deg) translate(10px, -4px); }
.tlib-deck:hover .tlib-deckcard:nth-child(5) { transform: rotate(14deg) translate(20px, -9px); }
.tlib-deck:hover .tlib-deckcard img { opacity: .2; }
/* the spread — the stack scatters as the table takes over */
.tlib-deck.is-open .tlib-deckcard:nth-child(1) { transform: rotate(-32deg) translate(-130px, 30px); opacity: 0; }
.tlib-deck.is-open .tlib-deckcard:nth-child(2) { transform: rotate(-16deg) translate(-70px, -30px); opacity: 0; }
.tlib-deck.is-open .tlib-deckcard:nth-child(3) { transform: translateY(-70px) scale(1.06); opacity: 0; }
.tlib-deck.is-open .tlib-deckcard:nth-child(4) { transform: rotate(16deg) translate(70px, -30px); opacity: 0; }
.tlib-deck.is-open .tlib-deckcard:nth-child(5) { transform: rotate(32deg) translate(130px, 30px); opacity: 0; }
.tlib-deck-lab { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #c98a2e; }
.tlib-gather { display: flex; justify-content: center; margin-top: 18px; }

.tlib-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tlib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.tlib-card { display: flex; flex-direction: column; align-items: center; gap: 6px; font: inherit; cursor: pointer; background: linear-gradient(170deg, #f7efdc 0%, #efe3c6 100%); border: 1px solid rgba(140,110,60,.4); border-radius: 10px; padding: 7px 7px 8px; opacity: 0; transform: translateY(16px) rotate(2.5deg) scale(.9); transition: transform .38s cubic-bezier(.2,.7,.25,1), opacity .38s ease, box-shadow .15s ease; }
.tlib-card.is-in { opacity: 1; transform: none; }
.tlib-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(120,90,40,.25); }
.tlib-card.is-active { box-shadow: 0 0 0 2px #c98a2e, 0 4px 14px rgba(201,138,46,.35); }
.tlib-img { width: 100%; border-radius: 6px; border: 1px solid rgba(140,110,60,.35); display: block; }
.tlib-n { font-size: 11px; line-height: 1.25; text-align: center; color: #3c2f18; font-weight: 700; }
.tlib-detail { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(170deg, #f7efdc 0%, #efe3c6 100%); border: 1px solid rgba(140,110,60,.5); border-radius: 14px; padding: 16px 20px; margin-bottom: 14px; box-shadow: inset 0 0 0 4px rgba(140,110,60,.14); }
.tlib-d-img { width: 128px; flex: none; border-radius: 8px; border: 1px solid rgba(140,110,60,.45); box-shadow: 0 4px 14px rgba(120,90,40,.3); }
.tlib-detail h4 { margin: 2px 0 8px; font-family: var(--font-display); font-size: 1.3rem; color: #3c2f18; }
.tlib-detail p { margin: 4px 0; font-size: 13.5px; line-height: 1.55; color: #4a3a20; }
.tlib-detail .tc-tag { font-size: 10px; }

/* ===== brand art gallery (About) ===== */
.moods-hero { margin-top: 22px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.moods-hero img { display: block; width: 100%; height: auto; }
.moods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 760px) { .moods-grid { grid-template-columns: repeat(2, 1fr); } }
.mood { margin: 0; background: #0d1226; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.mood img { display: block; width: 100%; height: 200px; object-fit: contain; padding: 14px; box-sizing: border-box; }
.mood figcaption { padding: 10px 14px 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(233,237,255,.6); text-align: center; border-top: 1px solid rgba(255,255,255,.08); }

/* ===== UFC fight center ===== */
.ufc-next { margin-top: 20px; }
.ufc-card { background: radial-gradient(130% 120% at 80% 0%, #23151a 0%, #150e14 50%, #0c090f 100%); border: 1px solid rgba(224,80,70,.28); border-radius: var(--r); padding: 24px 26px; color: #f2ecec; box-shadow: var(--shadow); }
.ufc-card.is-live { border-color: rgba(255,90,72,.6); box-shadow: 0 0 0 1px rgba(255,90,72,.3), 0 0 34px rgba(255,90,72,.18), var(--shadow); }
.ufc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.ufc-league { display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ff8d7a; }
.ufc-livepill { color: #fff; background: #d2261c; border-radius: 20px; padding: 2px 10px; font-size: 10.5px; letter-spacing: .12em; animation: lunarPulse 1.6s ease-in-out infinite; }
.ufc-title { margin: 4px 0 6px; font-family: var(--font-display); font-size: 2rem; line-height: 1.05; color: #fff; }
.ufc-meta { display: block; font-size: 13px; color: rgba(242,236,236,.65); }
.ufc-cd { font-size: 15px; color: rgba(242,236,236,.75); text-align: right; font-variant-numeric: tabular-nums; flex: none; }
.ufc-cd b { font-family: var(--font-display); font-size: 1.9rem; color: #fff; }
.ufc-cd-live { font-weight: 900; letter-spacing: .12em; color: #ff5a48; }
.ufc-bouts { display: flex; flex-direction: column; gap: 10px; }
.ufc-bout { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 12px 16px; }
.ufc-bout--main { background: linear-gradient(120deg, rgba(210,38,28,.16), rgba(255,255,255,.05) 55%); border-color: rgba(255,120,100,.35); padding: 16px 18px; }
.ufc-bout.is-live { border-color: rgba(255,90,72,.6); box-shadow: 0 0 16px rgba(255,90,72,.2); }
.ufc-bout-top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.ufc-bill { font-size: 9.5px; font-weight: 900; letter-spacing: .16em; color: rgba(242,236,236,.45); }
.ufc-bill--main { color: #ffb3a6; font-size: 11px; }
.ufc-wc { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: rgba(242,236,236,.6); background: rgba(255,255,255,.07); border-radius: 20px; padding: 2px 10px; }
.ufc-st { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; }
.ufc-st--live { color: #ff5a48; animation: lunarPulse 1.6s ease-in-out infinite; }
.ufc-st--done { color: rgba(242,236,236,.55); }
.ufc-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.ufc-f { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ufc-f--r { flex-direction: row-reverse; text-align: right; }
.ufc-f-t b { display: block; font-size: 14.5px; color: #fff; line-height: 1.2; }
.ufc-bout--main .ufc-f-t b { font-size: 17px; }
.ufc-f-t span { display: block; font-size: 11.5px; color: rgba(242,236,236,.55); }
.ufc-f.is-winner .ufc-f-t b { color: #9df5c0; }
.ufc-w { font-style: normal; color: #9df5c0; }
.ufc-x { font-family: var(--font-display); font-size: .95rem; color: rgba(255,141,122,.75); letter-spacing: .05em; }
.ufc-bout--main .ufc-x { font-size: 1.3rem; }
.ufc-oct { width: 34px; height: 34px; flex: none; clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%); background: rgba(255,255,255,.1); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ufc-bout--main .ufc-oct { width: 44px; height: 44px; }
.ufc-oct img { width: 100%; height: 100%; object-fit: cover; }
.ufc-foot { margin-top: 14px; font-size: 11.5px; color: rgba(242,236,236,.45); }
.ufc-lastcard { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.ufc-last-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ufc-last-h b { font-size: 15px; color: var(--ink); }
.ufc-last-h span { font-size: 12px; color: var(--muted); }
.ufc-res { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.ufc-res .ufc-oct { width: 26px; height: 26px; }
.ufc-res-t { font-size: 13.5px; color: var(--ink); min-width: 0; }
.ufc-res-st { margin-left: auto; font-size: 11px; color: var(--muted); flex: none; }
@media (max-width: 620px) { .ufc-vs { grid-template-columns: 1fr; gap: 8px; } .ufc-f--r { flex-direction: row; text-align: left; } .ufc-x { display: none; } .ufc-cd { text-align: left; } }

/* ===== Sound Healing — the transmission room ===== */
.sh-grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 26px; align-items: start; margin-top: 22px; }
@media (max-width: 880px) { .sh-grid { grid-template-columns: 1fr; } }
.sh-log { background: linear-gradient(170deg, #f7efdc 0%, #efe3c6 100%); border: 1px solid rgba(140,110,60,.5); border-radius: var(--r); padding: 22px 24px; box-shadow: inset 0 0 0 4px rgba(140,110,60,.14), var(--shadow-sm); position: sticky; top: 92px; }
.sh-log-h { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: #8a6a33; margin-bottom: 12px; }
.sh-log p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.65; color: #4a3a20; }
.sh-log b { color: #3c2f18; }
.sh-log-f { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(140,110,60,.4); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: #8a6a33; }

.sh-console { position: relative; background: radial-gradient(130% 120% at 82% 0%, #1c2647 0%, #121935 55%, #0a0e20 100%); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 24px 26px; color: #e9edff; box-shadow: var(--shadow); overflow: hidden; }
.sh-lamprow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sh-lamp { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: rgba(233,237,255,.4); }
.sh-lamp i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f55; transition: all .4s ease; }
.sh-lamp.is-on { color: #ff9a8a; }
.sh-lamp.is-on i { background: #ff5a48; box-shadow: 0 0 14px #ff5a48; animation: lunarPulse 2.4s ease-in-out infinite; }
.sh-cycle { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #8de8ff; }
.sh-scope { display: block; width: 100%; height: 130px; border-radius: 12px; background: #070b1c; border: 1px solid rgba(141,232,255,.2); box-shadow: inset 0 0 30px rgba(79,195,247,.08); }
.sh-readout { display: flex; align-items: baseline; gap: 14px; margin: 16px 0 4px; flex-wrap: wrap; }
.sh-freq { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #fff; text-shadow: 0 0 22px rgba(141,232,255,.4); }
.sh-freq small { font-size: 1.1rem; color: rgba(233,237,255,.6); }
.sh-delta { font-size: 1.2rem; color: #8de8ff; }
.sh-sub { font-size: 13px; color: rgba(233,237,255,.65); }
.sh-segs { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.sh-seg { font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .05em; color: rgba(233,237,255,.55); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 5px 14px; transition: all .5s ease; cursor: pointer; }
.sh-seg:hover { color: #fff; border-color: rgba(141,232,255,.5); }
.sh-seghint { margin: -4px 0 14px; font-size: 12px; color: rgba(233,237,255,.5); line-height: 1.5; }
.sh-seg--all { letter-spacing: .14em; }
.sh-seg.is-live { color: #0a1020; background: #8de8ff; border-color: #8de8ff; box-shadow: 0 0 18px rgba(141,232,255,.5); }
.sh-progrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sh-prog { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.sh-prog i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #4fc3f7, #8de8ff); border-radius: 4px; transition: width .25s linear; }
.sh-time { font-size: 13px; font-weight: 700; color: rgba(233,237,255,.75); font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }
.sh-ctl { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.sh-ctl-lab { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(203,214,255,.55); margin-bottom: 6px; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-console .chip { font: inherit; font-size: 12.5px; font-weight: 700; color: rgba(233,237,255,.75); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 6px 13px; cursor: pointer; transition: all .15s ease; }
.sh-console .chip:hover { color: #fff; }
.sh-console .chip.is-active { color: #0a1020; background: #8de8ff; border-color: #8de8ff; }
.sh-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sh-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: rgba(233,237,255,.55); }
.sh-breathbox { margin-top: 20px; display: flex; align-items: center; gap: 22px; }
.sh-breathviz { position: relative; width: 110px; height: 110px; flex: none; display: flex; align-items: center; justify-content: center; }
.sh-breathviz i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(141,232,255,.35) 0%, rgba(141,232,255,.08) 60%, transparent 75%); border: 1px solid rgba(141,232,255,.4); animation: shBreathe 11s ease-in-out infinite; }
.sh-breathviz span { position: relative; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8de8ff; }
@keyframes shBreathe { 0%, 100% { transform: scale(.55); } 50% { transform: scale(1); } }
.sh-breathnote { margin: 0; font-size: 13px; line-height: 1.6; color: rgba(233,237,255,.7); }

.sh-bins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
@media (max-width: 760px) { .sh-bins { grid-template-columns: 1fr; } }
.sh-bin { background: radial-gradient(120% 130% at 70% 0%, #1c2647 0%, #10162e 60%, #0a0e20 100%); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 22px 24px; color: #e9edff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sh-bin-hz { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #8de8ff; background: rgba(141,232,255,.1); border: 1px solid rgba(141,232,255,.3); border-radius: 20px; padding: 4px 12px; }
.sh-bin h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.sh-bin p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; color: rgba(233,237,255,.75); flex: 1; }

/* doors to the other sound rooms */
.sh-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
@media (max-width: 720px) { .sh-doors { grid-template-columns: 1fr; } }
.sh-door { display: flex; align-items: center; gap: 16px; text-decoration: none; background: radial-gradient(120% 130% at 70% 0%, #1c2647 0%, #10162e 60%, #0a0e20 100%); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.sh-door:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(141,232,255,.4); }
.sh-door-ic { font-size: 2rem; line-height: 1; flex: none; filter: drop-shadow(0 0 10px rgba(141,232,255,.3)); }
.sh-door-t { min-width: 0; }
.sh-door-t b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: #fff; margin-bottom: 3px; }
.sh-door-t span { display: block; font-size: 12.5px; line-height: 1.5; color: rgba(233,237,255,.65); }
.sh-door-a { margin-left: auto; flex: none; font-size: 1.3rem; color: #8de8ff; transition: transform .16s ease; }
.sh-door:hover .sh-door-a { transform: translateX(4px); }

/* Stargazing tonight */
.stargaze { margin: 22px 0 8px; }
.sky-card { position: relative; overflow: hidden; border-radius: var(--r); padding: 24px 26px; color: #e9edff; box-shadow: var(--shadow); background: radial-gradient(130% 120% at 80% 0%, #23305c 0%, #131a34 55%, #0c1024 100%); border: 1px solid rgba(255,255,255,.12); }
.sky-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.4px 1.4px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 70% 20%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 45% 60%, #cfe 50%, transparent 51%), radial-gradient(1.3px 1.3px at 88% 55%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 33% 80%, #fff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 60% 75%, #dde 50%, transparent 51%); opacity: .5; }
.sky-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sky-eyebrow { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(233,237,255,.62); font-weight: 800; }
.sky-verdict { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.05; color: #fff; margin-top: 3px; }
.sky-score { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #cbd6ff; flex: none; }
.sky-score::after { content: "/100"; font-size: .85rem; color: rgba(203,214,255,.5); }
.sky-note { position: relative; z-index: 1; color: rgba(233,237,255,.82); font-size: 14px; line-height: 1.5; margin-top: 10px; }
.sky-rows { position: relative; z-index: 1; margin-top: 18px; display: grid; gap: 12px; }
.sky-row { display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px; }
.sky-ic { font-size: 1.4rem; line-height: 1; flex: none; }
.sky-row b { display: block; color: #fff; font-size: 14px; }
.sky-row span { display: block; color: rgba(233,237,255,.72); font-size: 13px; margin-top: 2px; line-height: 1.45; }
.sky-foot { position: relative; z-index: 1; margin-top: 16px; font-size: 12px; color: rgba(233,237,255,.55); }
.sky-exc .sky-verdict { color: #9df5c0; } .sky-good .sky-verdict { color: #bfe6ff; }
.sky-fair .sky-verdict { color: #ffe1a6; } .sky-bright .sky-verdict { color: #ffc0b0; }

/* ===== Cosmic Ambient generative player ===== */
.cosmic-audio { margin: 22px 0 8px; }
.cxa-card { display: flex; align-items: center; gap: 20px; padding: 24px 26px; border-radius: var(--r); color: #eae6ff;
  background: radial-gradient(120% 130% at 15% 10%, #2b2a5c 0%, #16173a 55%, #0c0d24 100%); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); }
.cxa-card.field-u { background: radial-gradient(120% 130% at 15% 10%, #3a2c5c 0%, #191340 55%, #0c0d24 100%); }
.cxa-card.field-a { background: radial-gradient(120% 130% at 15% 10%, #4a2b52 0%, #2a1436 55%, #100a20 100%); }
.cxa-card.field-s { background: radial-gradient(120% 130% at 15% 10%, #5a233f 0%, #331028 55%, #14060f 100%); }
.cxa-btn { position: relative; flex: none; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(150deg, #8a7ff0, #5b6bd6); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(90,90,220,.4); }
.cxa-btn .cxa-pause { display: none; } .cxa-btn .cxa-play { margin-left: 3px; }
.cosmic-audio .is-playing .cxa-play { display: none; } .cosmic-audio .is-playing .cxa-pause { display: block; }
.cxa-orb { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.cxa-orb i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(160,150,255,.5); opacity: 0; }
.cosmic-audio .is-playing .cxa-orb i { animation: cxaPulse 3.4s ease-out infinite; }
.cosmic-audio .is-playing .cxa-orb i:nth-child(2) { animation-delay: 1.1s; }
.cosmic-audio .is-playing .cxa-orb i:nth-child(3) { animation-delay: 2.2s; }
@keyframes cxaPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
.cxa-info { min-width: 0; }
.cxa-title { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.cxa-btn-label { font-size: .9rem; color: rgba(234,230,255,.6); font-family: var(--font-body); }
.cxa-read { color: rgba(234,230,255,.82); font-size: 14px; line-height: 1.6; margin-top: 6px; }
.cxa-read b { color: #cfc8ff; font-weight: 700; }
.cxa-field { display: inline-block; margin-top: 8px; font-size: 12.5px; color: rgba(234,230,255,.7); }
.cxa-field b { color: #fff; }
@media (max-width: 520px) { .cxa-card { flex-direction: column; text-align: center; } }

/* ===== Solstice tracker — wheel of the year ===== */
.solstice { margin: 22px 0 8px; }
.sol-card { display: flex; align-items: center; gap: 28px; padding: 24px 28px; border-radius: var(--r); color: #efe9dd;
  background: radial-gradient(120% 130% at 85% 10%, #3a2f4e 0%, #201b33 55%, #12101f 100%); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); }
.sol-wheel { position: relative; flex: none; width: 262px; height: 184px; }
.sol-wheel svg { width: 100%; height: 100%; overflow: visible; }
.sol-base { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 11; }
.sol-arc { fill: none; stroke-width: 9; stroke-linecap: round; opacity: .4; transition: opacity .4s ease; }
.sol-arc--on { opacity: 1; }
.sol-trail { fill: none; stroke: #fff6df; stroke-width: 4.5; stroke-linecap: round; opacity: .95; filter: drop-shadow(0 0 5px rgba(255,209,122,.9)); }
.sol-node { fill: #fff; opacity: .85; }
.sol-node--next { fill: #fff; filter: drop-shadow(0 0 5px rgba(255,255,255,.9)); }
.sol-lbl { fill: rgba(239,233,221,.66); font-size: 10px; font-weight: 800; letter-spacing: .05em; font-family: var(--font-body); text-transform: uppercase; }
.sol-lbl--next { fill: #ffe1a6; }
.sol-sun { fill: url(#solSunG); filter: drop-shadow(0 0 7px rgba(255,200,110,.95)); }
.sol-sun-glow { fill: #ffd27a; opacity: .45; transform-box: fill-box; transform-origin: center; animation: solGlow 3.2s ease-in-out infinite; }
@keyframes solGlow { 0%,100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.8); opacity: 0; } }
.sol-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.sol-days { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: #fff; }
.sol-days-k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(239,233,221,.6); margin-top: 3px; }
.sol-info { flex: 1; min-width: 0; }
.sol-season { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #cbb8f0; font-weight: 800; }
.sol-next { font-family: var(--font-display); font-size: 1.7rem; color: #fff; margin-top: 4px; }
.sol-when { color: rgba(239,233,221,.8); font-size: 14px; margin-top: 2px; }
.sol-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.sol-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 10px 13px; }
.sol-stat b { display: block; font-family: var(--font-display); font-size: 1.2rem; color: #fff; }
.sol-stat span { display: block; font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: rgba(239,233,221,.6); font-weight: 700; margin-top: 2px; }
@media (max-width: 560px) { .sol-card { flex-direction: column; text-align: center; } .sol-stats { justify-items: center; } }

/* ===== Golden Hour Mode ===== */
body.golden-hour::after { content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background: radial-gradient(120% 90% at 80% 100%, rgba(255,150,60,.16), transparent 55%), radial-gradient(120% 80% at 10% 0%, rgba(255,190,90,.1), transparent 50%);
  mix-blend-mode: multiply; animation: goldWash 6s ease-in-out infinite; }
@keyframes goldWash { 0%,100% { opacity: .8; } 50% { opacity: 1; } }
.golden-badge { position: fixed; left: 50%; top: 74px; transform: translateX(-50%); z-index: 95;
  display: flex; align-items: center; gap: 11px; max-width: calc(100vw - 32px); padding: 10px 12px 10px 16px; border-radius: 999px;
  color: #2a1400; background: linear-gradient(135deg, #ffcf85, #f0993f); box-shadow: 0 10px 30px rgba(180,90,20,.35); border: 1px solid rgba(255,255,255,.5);
  animation: goldIn .5s cubic-bezier(.16,1,.3,1); }
.golden-badge--soon { background: linear-gradient(135deg, #ffe0ad, #e7b063); }
@keyframes goldIn { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.golden-badge-ic { font-size: 1.3rem; line-height: 1; flex: none; }
.golden-badge-body { min-width: 0; }
.golden-badge-body b { display: block; font-size: 14px; line-height: 1.2; }
.golden-badge-body span { display: block; font-size: 12px; opacity: .82; }
.golden-badge-x { flex: none; border: 0; background: rgba(0,0,0,.12); color: #2a1400; width: 24px; height: 24px; border-radius: 50%; font-size: 17px; line-height: 1; cursor: pointer; }
.golden-badge-x:hover { background: rgba(0,0,0,.2); }
@media (max-width: 520px) { .golden-badge { top: 66px; } }
/* Photographer's light — golden & blue hour */
.golden { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0 8px; }
.gold-card { border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.gold-morning { background: linear-gradient(155deg, #fef4e2, #fbe4c4); }
.gold-card--hero { background: linear-gradient(150deg, #b8471f, #7a2a12); border-color: rgba(255,255,255,.14); box-shadow: var(--shadow); color: #fff; }
.gold-head { display: flex; align-items: center; gap: 10px; }
.gold-ic { font-size: 1.6rem; line-height: 1; }
.gold-when { font-family: var(--font-display); font-size: 1.3rem; color: var(--heading); }
.gold-card--hero .gold-when { color: #fff; }
.gold-tag { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7a2a12; background: rgba(255,255,255,.9); padding: 4px 9px; border-radius: var(--pill); }
.gold-rows { margin-top: 14px; display: grid; gap: 8px; }
.gold-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(0,0,0,.04); }
.gold-card--hero .gold-row { background: rgba(255,255,255,.1); }
.gold-row span { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.gold-card--hero .gold-row span { color: rgba(255,255,255,.72); }
.gold-row b { font-family: var(--font-display); font-size: 1.12rem; color: var(--heading); white-space: nowrap; }
.gold-card--hero .gold-row b { color: #fff; }
.gold-row.is-key { background: rgba(224,146,60,.18); }
.gold-card--hero .gold-row.is-key { background: rgba(255,214,150,.22); }
.gold-row.is-key span { color: var(--accent-strong); }
.gold-card--hero .gold-row.is-key span { color: #ffe1b0; }
@media (max-width: 560px) { .golden { grid-template-columns: 1fr; } }
/* Seen around Sedona — live wildlife & blooms */
.wild-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 4px 0 8px; }
.wild-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.wild-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wild-photo { display: block; width: 100%; aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: #dfe3dc; }
.wild-info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 1px; }
.wild-name { font-family: var(--font-display); font-size: 1.02rem; color: var(--heading); line-height: 1.2; }
.wild-sci { font-size: 11px; font-style: italic; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wild-when { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--accent-strong); }
/* category tabs */
.wild-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.wild-tab { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 13px; padding: 7px 15px; border-radius: 999px; cursor: pointer; font-family: inherit; transition: all .15s ease; }
.wild-tab:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.wild-tab.is-on { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }

/* This week in nature dashboard */
.ndash { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ndash-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.nd-a { border-left-color: #b5651d; } .nd-p { border-left-color: #c0398a; } .nd-i { border-left-color: #d59a1e; }
.nd-b { border-left-color: #3a7bd5; } .nd-r { border-left-color: #2f9e6a; } .nd-m { border-left-color: #5a8fd6; }
.ndash-ic { font-size: 1.7rem; line-height: 1; }
.ndash-k { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.ndash-v { display: block; font-family: var(--font-display); font-size: 1.32rem; color: var(--heading); line-height: 1.15; margin-top: 3px; }
.ndash-sub { display: block; font-size: 12px; color: var(--accent-strong); font-weight: 700; margin-top: 5px; }

/* Nature almanac */
.almanac { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.alm-tile { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.alm-ic { font-size: 1.5rem; line-height: 1; flex: none; }
.alm-tile b { display: block; font-family: var(--font-display); font-size: 1.14rem; color: var(--heading); line-height: 1.1; }
.alm-tile span { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 2px; }

/* Bloom guide */
.bloom-grid, .catref-grid, .cal-grid, .plant-grid, .sounds-grid { display: grid; gap: 16px; }
.bloom-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.bloom-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.bloom-card h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--heading); }
.bloom-when { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .03em; padding: 3px 10px; border-radius: var(--pill); }
.bloom-peak { background: #fbe3cf; color: #a4491b; } .bloom-begin { background: #dff0d8; color: #2f7a3a; } .bloom-end { background: #ece1c8; color: #7a5a1c; }
.bloom-facts { list-style: none; margin: 12px 0 0; padding: 0; }
.bloom-facts li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.bloom-facts li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Category reference */
.catref-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.catref { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.catref h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--heading); }
.catref ul { list-style: none; margin: 12px 0 0; padding: 0; }
.catref li { font-size: 14px; color: var(--muted); line-height: 1.5; padding: 4px 0 4px 14px; position: relative; border-top: 1px solid var(--line); }
.catref li:first-child { border-top: 0; }
.catref li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-strong); }

/* Seasonal calendar */
.cal-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cal-card { border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.cal-card h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--heading); }
.cal-mo { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.cal-card ul { list-style: none; margin: 12px 0 0; padding: 0; }
.cal-card li { font-size: 14px; color: var(--ink); line-height: 1.5; margin-top: 7px; }
.cal-spring { background: linear-gradient(160deg, #eef6e6, #fbfdf7); }
.cal-summer { background: linear-gradient(160deg, #fdf1df, #fefaf3); }
.cal-fall { background: linear-gradient(160deg, #f8e9db, #fdf6ef); }
.cal-winter { background: linear-gradient(160deg, #e6eef6, #f6f9fc); }

/* Native plants */
.plant-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.plant-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.plant-ic { font-size: 1.8rem; line-height: 1; }
.plant-card h4 { font-family: var(--font-display); font-size: 1.18rem; color: var(--heading); margin-top: 6px; }
.plant-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 12px 0 0; }
.plant-card dt { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-strong); }
.plant-card dd { margin: 0; font-size: 13px; color: var(--muted); }

/* Wildlife sounds */
.sounds-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sound-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.sound-card h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--heading); }
.sound-card ul { list-style: none; margin: 10px 0 0; padding: 0; }
.sound-card li { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 6px; padding-left: 14px; position: relative; }
.sound-card li::before { content: "♪"; position: absolute; left: 0; top: 0; color: var(--accent); font-size: 12px; }

/* Photo subjects */
.psub-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.psub { background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.psub-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.psub-note a { color: var(--accent-strong); font-weight: 700; }

/* Sightings map */
.natmap-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.natmap { height: 440px; background: #eef1ee; }
.natmap .leaflet-container { height: 100%; width: 100%; font: inherit; }
@media (max-width: 560px) { .natmap { height: 320px; } }

/* Rotating notes + facts */
.two-col-notes { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.mnote, .dyk { border-radius: var(--r); padding: 26px 28px; transition: opacity .4s ease; }
.mnote.is-fade, .dyk.is-fade { opacity: 0; }
.mnote { position: relative; background: radial-gradient(120% 130% at 12% 0%, #26365f 0%, #16203f 60%, #0e1630 100%); color: #eaefff; box-shadow: var(--shadow); }
.mnote-mark { font-family: var(--font-display); font-size: 4rem; line-height: .6; color: rgba(224,168,90,.5); }
.mnote-text { font-size: 17px; line-height: 1.65; color: #eef2ff; margin-top: 6px; }
.mnote-by { display: block; margin-top: 14px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(234,239,255,.6); font-weight: 700; }
.dyk { background: linear-gradient(160deg, #fdf3e2, #fbfaf6); border: 1px solid var(--line); }
.dyk-k { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent-strong); }
.dyk-text { font-size: 15px; line-height: 1.65; color: var(--ink); margin-top: 8px; }
@media (max-width: 720px) { .two-col-notes { grid-template-columns: 1fr; } }

/* Kids checklist */
.spot-grid-kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.spot-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 18px 12px; cursor: pointer; font-family: inherit; transition: all .18s ease; }
.spot-item:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-3px); }
.spot-emoji { font-size: 2.4rem; line-height: 1; filter: grayscale(.4); transition: filter .18s ease; }
.spot-label { font-size: 13px; font-weight: 700; color: var(--heading); }
.spot-check { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: transparent; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; transition: all .18s ease; }
.spot-item.is-got { border-color: #2f9e6a; background: color-mix(in srgb, #2f9e6a 8%, var(--surface)); }
.spot-item.is-got .spot-emoji { filter: none; }
.spot-item.is-got .spot-check { background: #2f9e6a; color: #fff; }

/* Care cards + Leave No Trace */
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.care-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.care-card h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--heading); }
.care-list { list-style: none; margin: 14px 0 0; padding: 0; }
.care-list li { font-size: 14.5px; color: var(--ink); line-height: 1.55; margin-top: 10px; padding-left: 4px; }
@media (max-width: 720px) { .care-grid { grid-template-columns: 1fr; } }

/* Cross-links */
.xlink-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.xlink { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 14px; text-decoration: none; color: var(--heading); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.xlink:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.xlink span { font-size: 2rem; line-height: 1; }

/* Best photo spots */
.spot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 6px; }
.spot-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.spot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.spot-card h4 { font-family: var(--font-display); font-size: 1.22rem; color: var(--heading); line-height: 1.15; }
.spot-light { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 4px 10px; border-radius: var(--pill); white-space: nowrap; }
.spot-light--sunset { background: #fbe3cf; color: #a4491b; }
.spot-light--sunrise { background: #fde6d6; color: #b05a1e; }
.spot-light--afternoon { background: #f3e0d0; color: #8a4b22; }
.spot-light--midday { background: #ece1c8; color: #7a5a1c; }
.spot-light--milky { background: #dfe2f5; color: #3a3f7a; }
.spot-where { margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--accent-strong); }
.spot-tip { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* KAZM Archives — digital museum */
.arch-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.arch-index-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.arch-index-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.arch-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent-strong); }
.arch-index-card .arch-t { font-family: var(--font-display); font-size: 1.18rem; color: var(--heading); margin-top: 4px; }
.arch-index-card .arch-d { color: var(--muted); font-size: 13px; margin-top: 4px; }
.arch-chapter { max-width: 74ch; }
.arch-chapter h2 { margin-top: 6px; }
.arch-chapter p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 14px; }
.arch-chapter strong { color: var(--heading); }
.arch-era-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--accent-strong); padding: 4px 11px; border-radius: var(--pill); }
.arch-list { margin: 16px 0 0; padding-left: 0; list-style: none; }
.arch-list li { position: relative; padding-left: 22px; color: var(--ink); font-size: 15px; line-height: 1.5; margin-top: 8px; }
.arch-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); }
.arch-list--cols { columns: 2; column-gap: 32px; }
.arch-list--cols li { break-inside: avoid; }
.arch-soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.arch-soon { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); padding: 20px 22px; }
.arch-soon h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--heading); }
.arch-soon p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.5; }
.arch-soon::after { content: "Coming soon"; display: inline-block; margin-top: 12px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: var(--pill); padding: 3px 9px; }
.arch-byline { margin-top: 14px; font-family: var(--font-display); font-style: italic; font-size: 1.02rem; color: var(--accent-strong); }
.arch-intro { max-width: 74ch; margin: 0 auto 8px; padding: 22px 26px; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border-left: 3px solid var(--accent-strong); border-radius: var(--r); }
.arch-intro p { color: var(--ink); font-size: 16px; line-height: 1.75; margin-top: 0; }
.arch-intro p + p { margin-top: 12px; }
.arch-sign { font-family: var(--font-display); font-size: 1.35rem; color: var(--heading); margin-top: 22px !important; }
@media (max-width: 560px) { .arch-list--cols { columns: 1; } }
.memory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.memory-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent-soft); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); opacity: .85; }
.memory-card p { font-family: var(--font-display); font-size: 1.15rem; color: var(--heading); line-height: 1.35; }
.memory-card cite { display: block; margin-top: 10px; font-style: normal; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .vortex-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vortex-grid { grid-template-columns: 1fr; } .cosmic { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .wx-days { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .wx-now { padding: 22px; } .wx-now-meta { text-align: left; } }
@media (max-width: 460px) { .wx-days { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: start; }
.contact-main h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 4px; }
.contact-main .lead { margin: 16px 0 36px; }
.contact-rows { display: grid; gap: 4px; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-ic {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent-strong);
}
.contact-ic svg { fill: currentColor; }
.contact-k { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-v { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--heading); margin-top: 2px; }
a.contact-v:hover { color: var(--accent-strong); }

.request-card {
  background: var(--navy); color: #fff;
  border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow);
  position: sticky; top: calc(var(--header-h) + 20px);
}
.request-card h3 { color: #fff; font-size: 1.6rem; margin: 16px 0 0; }
.request-card p { color: rgba(255, 255, 255, .78); margin-top: 10px; font-size: 15px; }
.request-card .btn { margin-top: 22px; }
.request-mailing { font-size: 13px !important; color: rgba(255, 255, 255, .55) !important; margin-top: 18px !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deeper); color: rgba(255, 255, 255, .72); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 34px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 18px; }
.footer-tag { max-width: 34ch; font-size: 15px; color: rgba(255, 255, 255, .6); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff;
  transition: background .2s ease, transform .15s ease;
}
.social a:hover { background: var(--accent-strong); transform: translateY(-2px); }
.social svg { fill: currentColor; }

.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .66); font-size: 15px; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; justify-content: space-between;
}
.footer-freq { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.footer-freq strong { color: #fff; font-family: var(--font-display); font-size: 15px; letter-spacing: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer-legal a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, .5); width: 100%; }

/* =========================================================
   SPECIALTY SHOWS
   ========================================================= */
.specialty { padding: 96px 0; }
.show-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
.show-list li { display: flex; flex-direction: column; gap: 4px; padding: 22px 2px; border-bottom: 1px solid var(--line); }
.show-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--heading); }
.show-host { color: var(--muted); font-size: 15px; }

.show-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.show-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.show-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.show-card h3 { font-family: var(--font-display); font-size: 1.32rem; color: var(--heading); line-height: 1.12; }
.show-card-host { color: var(--accent-strong); font-weight: 700; font-size: 14px; margin-top: 5px; }
.show-card-desc { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 10px; }
@media (max-width: 600px) { .show-card-grid { grid-template-columns: 1fr; } }

/* =========================================================
   RECENTLY PLAYED (Apple Music crate)
   ========================================================= */
.recent { padding: 84px 0; background: var(--navy-deeper); color: #fff; }
.recent-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.recent-head h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.recent-head .eyebrow { margin-bottom: 8px; }
.recent-note { color: rgba(255, 255, 255, .6); font-size: 14px; flex: none; }
.recent-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(166px, 1fr);
  gap: 18px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.recent-list::-webkit-scrollbar { height: 6px; }
.recent-list::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }
.recent-empty { color: rgba(255, 255, 255, .55); font-size: 15px; }
.recent-card { display: block; scroll-snap-align: start; }
.recent-art {
  display: block; position: relative; aspect-ratio: 1; border-radius: 14px;
  background: #1b2640 center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.recent-art:not(.has-art)::before {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  background: radial-gradient(circle at 50% 42%, rgba(207, 118, 105, .55), transparent 62%);
}
.recent-apple {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease;
}
.recent-apple svg { fill: currentColor; }
.recent-card:hover .recent-art { transform: translateY(-6px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .7); }
.recent-card:hover .recent-apple { opacity: 1; transform: none; }
.recent-meta { display: block; margin-top: 14px; }
.recent-title { display: block; font-family: var(--font-display); color: #fff; font-size: 1.05rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-artist { display: block; color: var(--accent-soft); font-size: 13px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   STICKY LIVE PLAYER
   ========================================================= */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: color-mix(in srgb, var(--navy-deeper) 94%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  transform: translateY(100%); transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.player.show { transform: none; }
.player { overflow: hidden; }
/* PWA install chip */
.pwa-install { position: fixed; left: 16px; bottom: 16px; z-index: 88; display: flex; align-items: stretch; gap: 1px;
  border-radius: 999px; overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.28); animation: pwaIn .4s cubic-bezier(.16,1,.3,1); }
.has-player .pwa-install { bottom: 84px; }
.pwa-install button { border: 0; cursor: pointer; font-family: inherit; font-weight: 800; color: #201400; background: #e0a85a; }
.pwa-install-go { padding: 11px 16px; font-size: 14px; }
.pwa-install-go:hover { background: #ecb768; }
.pwa-install-x { padding: 0 14px; font-size: 20px; line-height: 1; background: #d69a48; }
.pwa-install-x:hover { background: #c98d3c; }
@keyframes pwaIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .pwa-install-go { font-size: 13px; padding: 10px 13px; } }
.player-viz { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 44px; opacity: 0; transition: opacity .5s ease; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.viz-live .player-viz { opacity: 1; }
.viz-live .eq i { animation: none !important; transition: height .09s linear, opacity .09s linear; background: var(--accent); }
.player-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 24px; }
.player-meta { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player-art { width: 42px; height: 42px; flex: none; border-radius: 8px; object-fit: contain; background: #f6efe2; }
.player-art.is-art { object-fit: cover; background: #1b2640; }
.player-onair { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-soft); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; flex: none; }
.player-eq { color: var(--accent-soft); }
.player-track { display: flex; flex-direction: column; min-width: 0; }
.player-title { color: #fff; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-artist { color: rgba(255, 255, 255, .62); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-btn {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  background: var(--accent-strong); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 11px 22px; border-radius: var(--pill); transition: background .2s ease, transform .15s ease;
}
.player-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.player-btn svg { fill: currentColor; }
body.has-player { padding-bottom: 74px; }

/* =========================================================
   LISTEN / PLAY BUTTON POLISH
   ========================================================= */
.listen-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.listen-btn { position: relative; box-shadow: 0 10px 24px -12px rgba(154, 68, 61, .8); }
.listen-btn:hover .listen-icon { background: rgba(255, 255, 255, .34); }
body:not(.is-playing) .listen-btn::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none;
  animation: listen-pulse 2.6s ease-out infinite;
}
@keyframes listen-pulse {
  0% { box-shadow: 0 0 0 0 rgba(169, 87, 80, .5); }
  70% { box-shadow: 0 0 0 14px rgba(169, 87, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(169, 87, 80, 0); }
}

/* circular play badge inside the streaming CTAs */
.btn-primary[data-listen] svg,
.nowcard-play svg,
.player-btn svg {
  background: rgba(255, 255, 255, .2); border-radius: 50%;
  padding: 6px; box-sizing: content-box; transition: background .2s ease;
}
.btn-primary[data-listen]:hover svg,
.nowcard-play:hover svg,
.player-btn:hover svg { background: rgba(255, 255, 255, .34); }

.hero-cta .btn-primary { padding: 15px 26px; font-size: 1.05rem; box-shadow: 0 16px 32px -14px rgba(154, 68, 61, .8); }
.nowcard-play { margin-top: 22px; padding: 14px; font-size: 1.02rem; }
.player-btn:hover { transform: translateY(-1px) scale(1.02); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .nowcard { max-width: 380px; }
  .schedule-grid, .sound-grid, .advertise-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .heritage-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; justify-items: center; }
  .heritage-copy h2, .heritage-copy p { margin-left: auto; margin-right: auto; }
  .news-bento { grid-template-columns: 1fr 1fr; }
  .news-tile--lead { grid-row: span 1; grid-column: span 2; min-height: 240px; }
  .request-card { position: static; }
}

@media (max-width: 940px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }

  /* mobile nav panel */
  .primary-nav.open {
    display: block; position: fixed; inset: var(--header-h) 0 0;
    background: var(--bg); padding: 18px 24px 40px; overflow-y: auto; z-index: 99;
    border-top: 1px solid var(--line);
  }
  .primary-nav.open .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav.open .nav-list > li { width: 100%; }
  .primary-nav.open .nav-list a,
  .primary-nav.open .nav-trigger {
    color: var(--ink); width: 100%; justify-content: space-between;
    font-size: 17px; padding: 14px 6px; border-radius: var(--r-sm);
  }
  .primary-nav.open .nav-trigger { display: flex; }
  .primary-nav.open .mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 0 0 8px 8px; padding: 2px 0 6px; display: none;
  }
  .primary-nav.open .mega.open { display: grid; }
  .listen-ways { grid-template-columns: 1fr 1fr; gap: 24px; }
  .score-grid, .adv-grid, .standings-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .schedule, .sound, .sports, .news, .adventures, .contact, .rotation { padding: 64px 0; }
  .advertise { padding: 64px 0; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .listen-ways { grid-template-columns: 1fr; }
  .news-bento { grid-template-columns: 1fr; }
  .news-tile--lead { grid-column: span 1; }
  .news-audio { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: span 2; }
  .lineup li { grid-template-columns: 58px 12px 1fr; gap: 12px; }
  .listen-label { display: none; }
  .listen-btn { padding: 10px 12px; }
  .specialty, .recent, .partners { padding: 64px 0; }
  .show-list { grid-template-columns: 1fr; }
  .recent-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .recent-note { display: none; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .player-inner { padding: 10px 16px; gap: 12px; }
  .player-onair, .player-btn-label { display: none; }
  .player-btn { padding: 11px 16px; }
  body.has-player { padding-bottom: 70px; }
}

/* =========================================================
   EXPLORE HUB (home launchpad)
   ========================================================= */
.hub { padding: 96px 0; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; min-height: 178px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}
.hub-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.hub-ic {
  width: 50px; height: 50px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--navy); color: #fff; margin-bottom: 6px;
}
.hub-ic svg { fill: currentColor; }
.hub-card h3 { font-size: 1.4rem; }
.hub-card p { color: var(--muted); font-size: 14.5px; }
.hub-card .hub-go {
  margin-top: auto; align-self: flex-start; color: var(--accent-strong); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.hub-card .hub-go svg { fill: currentColor; transition: transform .2s ease; }
.hub-card:hover .hub-go svg { transform: translateX(4px); }
.hub-card--wide { grid-column: span 1; }
.hub-card--feature {
  grid-column: span 1; background: radial-gradient(130% 130% at 12% 12%, var(--navy-deep), var(--navy-deeper));
  color: #fff; border-color: rgba(255,255,255,.12);
}
.hub-card--feature h3 { color: #fff; }
.hub-card--feature p { color: rgba(255,255,255,.72); }
.hub-card--feature .hub-ic { background: var(--accent-strong); }
.hub-card--feature .hub-go { color: var(--accent-soft); }
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hub-grid { grid-template-columns: 1fr; } .hub { padding: 64px 0; } }

/* =========================================================
   INNER PAGES
   ========================================================= */
.nav-current > a, .nav-current > .nav-trigger { color: #fff; }
.site-header.scrolled .nav-current > a,
.site-header.scrolled .nav-current > .nav-trigger { color: var(--accent-strong); }

.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 85% 0%, var(--navy-deep), var(--navy-deeper) 70%);
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 64px;
}
.page-hero::after {
  content: ""; position: absolute; top: -30%; right: -5%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(169, 87, 80, .4), transparent 62%); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--accent-soft); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); max-width: 18ch; }
.page-hero .lead { color: rgba(255, 255, 255, .82); margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.page-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.page-section { padding: 80px 0; }
.page-section--tint { background: var(--bg-2); }
.page-section--dark { background: var(--navy-deep); color: #fff; }
.page-section--dark h2, .page-section--dark h3 { color: #fff; }
.page-section--dark .lead { color: rgba(255, 255, 255, .78); }

.prose { max-width: 68ch; }
.prose p { color: var(--ink); font-size: 1.1rem; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--accent-strong); border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--accent); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: 1rem; }
.info-card .info-ic {
  width: 48px; height: 48px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent-strong); margin-bottom: 16px;
}
.info-ic svg { fill: currentColor; }

/* embedded AzuraCast / external pages */
.embed-frame {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.embed-frame iframe { display: block; width: 100%; height: 760px; border: 0; }
.embed-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* feature list rows (news / shows) */
.feature-rows { display: grid; gap: 18px; }
.feature-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px;
  transition: transform .15s ease, border-color .2s ease;
}
.feature-row:hover { transform: translateY(-2px); border-color: var(--accent); }
.feature-row .fr-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; flex: none; }
.feature-row .fr-ic svg { fill: currentColor; }
.feature-row h3 { font-size: 1.2rem; }
.feature-row p { color: var(--muted); font-size: 14.5px; margin-top: 3px; }
.feature-row audio { height: 38px; }

/* advertising stats */
.ad-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.ad-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.ad-stat-num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--accent-strong); line-height: 1; }
.ad-stat-label { color: var(--muted); margin-top: 10px; font-size: 14.5px; }

/* contact form */
.contact-form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 14px; color: var(--heading); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(169, 87, 80, .15); }
.field textarea { min-height: 130px; resize: vertical; }

/* staff */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 22px; }
.staff-card { text-align: center; }
.staff-photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--r); object-fit: cover;
  background: linear-gradient(150deg, var(--navy-deep), var(--accent-strong));
  display: grid; place-items: center; color: #fff; font-family: var(--font-display);
  font-size: 2.6rem; letter-spacing: .04em; box-shadow: var(--shadow-sm);
}
/* gentle hue variation so the monogram avatars don't read as identical tiles */
.staff-card:nth-child(3n+2) .staff-photo { background: linear-gradient(150deg, var(--accent-deep), #bd8a32); }
.staff-card:nth-child(3n) .staff-photo { background: linear-gradient(150deg, #2a5d63, var(--accent-strong)); }
.staff-card h3 { margin-top: 16px; font-size: 1.22rem; }
.staff-role { color: var(--accent-strong); font-weight: 700; font-size: 13px; letter-spacing: .01em; margin-top: 4px; }
.staff-bio { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 9px; }

.page-section .section-head { margin-bottom: 36px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* =========================================================
   PODCASTS (custom UI + player)
   ========================================================= */
.pod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.pod-card {
  text-align: left; font: inherit; cursor: pointer; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.pod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); }
.pod-cover { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--surface-2); }
.pod-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pod-author { color: var(--accent-strong); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.pod-card h3 { font-size: 1.18rem; line-height: 1.2; }
.pod-desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pod-count { margin-top: auto; color: var(--ink-soft); font-size: 12.5px; font-weight: 700; }

.pod-back { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; cursor: pointer; color: var(--accent-strong); font-weight: 800; font-size: 14px; margin-bottom: 22px; padding: 6px 0; }
.pod-back svg { fill: currentColor; }
.pod-detail-head { display: grid; grid-template-columns: 210px 1fr; gap: 30px; align-items: start; margin-bottom: 36px; }
.pod-detail-head .pod-cover { border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 1; }
.pod-detail-meta h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 6px 0 0; }
.pod-detail-meta .pod-desc { -webkit-line-clamp: unset; display: block; color: var(--muted); margin: 14px 0 22px; max-width: 62ch; }
.pod-playlatest svg { fill: currentColor; }

.pod-eps { display: grid; gap: 10px; }
.pod-ep { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 18px; transition: border-color .2s ease, background .2s ease; }
.pod-ep:hover { border-color: var(--accent); }
.pod-ep.is-active { border-color: var(--accent); background: var(--surface-2); }
.pod-ep-play { width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer; background: var(--navy); display: grid; place-items: center; flex: none; transition: background .2s ease, transform .15s ease; }
.pod-ep-play svg { fill: #fff; }
.pod-ep-play:hover { background: var(--accent-strong); transform: scale(1.07); }
.pod-ep.is-active .pod-ep-play { background: var(--accent-strong); }
.pod-ep-title { font-weight: 600; color: var(--heading); font-size: 15px; }
.pod-ep-date { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

.podplayer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; transform: translateY(130%); transition: transform .32s cubic-bezier(.2,.7,.2,1); background: rgba(18, 26, 44, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,.12); color: #fff; }
.podplayer.show { transform: none; }
body.podplaying { padding-bottom: 92px; }
body.podplaying .player.show { transform: translateY(180%); }
.podplayer-inner { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 18px; align-items: center; padding: 11px 20px; max-width: 1240px; margin: 0 auto; }
.podplayer-now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.podplayer-art { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; flex: none; background: rgba(255,255,255,.1); }
.podplayer-title { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podplayer-pod { color: rgba(255,255,255,.6); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podplayer-center { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.podplayer-controls { display: flex; align-items: center; gap: 8px; }
.podplayer-controls button { background: none; border: none; cursor: pointer; color: #fff; display: grid; place-items: center; padding: 6px; border-radius: 9px; }
.podplayer-controls button:hover { background: rgba(255,255,255,.12); }
.podplayer-controls svg { fill: #fff; }
.podplayer-controls .pp-main { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-strong); }
.podplayer-controls .pp-main:hover { background: var(--accent); }
.podplayer-seek { display: flex; align-items: center; gap: 10px; width: 100%; }
.pp-range { flex: 1; min-width: 160px; accent-color: var(--accent); cursor: pointer; }
.pp-time { font-variant-numeric: tabular-nums; font-size: 12px; color: rgba(255,255,255,.72); }
.podplayer-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.pp-speed { background: rgba(255,255,255,.1); border: none; color: #fff; cursor: pointer; font-weight: 800; font-size: 12px; padding: 8px 10px; border-radius: 8px; min-width: 42px; }
.pp-speed:hover { background: rgba(255,255,255,.2); }
.pp-close { background: none; border: none; cursor: pointer; color: rgba(255,255,255,.7); display: grid; place-items: center; padding: 8px; border-radius: 8px; }
.pp-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.pp-close svg { fill: currentColor; }
@media (max-width: 820px) {
  .podplayer-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .podplayer-center { grid-column: 1 / -1; order: 3; }
  .podplayer-actions { order: 2; }
}
@media (max-width: 560px) {
  .pod-detail-head { grid-template-columns: 120px 1fr; gap: 18px; }
  .podplayer-seek .pp-time { display: none; }
}

/* =========================================================
   RSS FEED OUTPUT (news desks + sports headlines)
   ========================================================= */
[data-rss] { display: grid; gap: 14px; }
.rss-cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .rss-cols { grid-template-columns: 1fr; } }
.rss-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 15px 18px; transition: border-color .2s ease, transform .15s ease; }
.rss-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.rss-date { display: block; color: var(--accent-strong); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.rss-item h3 { font-size: 1.02rem; line-height: 1.3; }
.rss-item h3 a, .rss-item h3 span { color: var(--heading); }
.rss-item h3 a:hover { color: var(--accent-strong); }
.rss-summary { color: var(--muted); font-size: 13.5px; margin-top: 7px; line-height: 1.5; }
.rss-loading { color: var(--muted); font-size: 14px; }
.news-desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.desk-title { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
@media (max-width: 860px) { .news-desks { grid-template-columns: 1fr; gap: 34px; } }

/* =========================================================
   CLIENT-SIDE ROUTER PAGE TRANSITION
   ========================================================= */
#main { transition: opacity .18s ease; }
#main.is-leaving { opacity: 0; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .onair-dot::after { display: none; }
}
