/*
Author: Yogabrata Mukhopadhyay
Organization: Brahmexa
Copyright: Copyright (c) 2026 Brahmexa. All rights reserved.
*/

:root {
  --navy: #071633;
  --navy-2: #0c2f73;
  --blue: #0c3d8f;
  --red: #d0121a;
  --red-deep: #9d0d13;
  --gold: #f0c014;
  --gold-2: #ffe56a;
  --saffron: #e07a12;
  --teal: #0e7c72;
  --cream: #fff6e8;
  --mist: #e7f0fb;
  --paper: #f6f1e8;
  --ink: #141820;
  --muted: #5b6573;
  --line: #e1e6ee;
  --white: #ffffff;
  --bar: #071633;
  --on-bar: #ffffff;
  --sheet: #ffffff;
  --ticker: #d0121a;
  --on-ticker: #ffffff;
  --card: #ffffff;
  --founder-a: #140c08;
  --founder-b: #2c160e;
  --founder-ink: #ffffff;
  --tone-1: #8d1220;
  --tone-2: #0c3d8f;
  --tone-3: #8a4e08;
  --desk: #05080f;
  --desk-ink: #ffffff;
  --shadow: 0 14px 36px rgba(7, 22, 51, 0.08);
  --wrap: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hind Siliguri", "Nirmala UI", "Vrinda", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue);
  text-underline-offset: 0.16em;
}

button,
input {
  font: inherit;
}

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.en {
  font-family: "Barlow Condensed", "Hind Siliguri", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.6rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold);
  color: var(--navy);
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.utility {
  background: var(--bar);
  color: var(--on-bar);
  font-size: 0.94rem;
}

.utility-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.08rem 0.5rem 0.02rem;
  flex: none;
}

.live-pill i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--white);
  animation: ym-pulse 1.5s infinite;
}

@keyframes ym-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.clock {
  color: rgba(255, 255, 255, 0.86);
}

.finder {
  margin-left: auto;
}

.finder input {
  width: min(260px, 42vw);
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--on-bar) 35%, transparent);
  background: color-mix(in srgb, var(--on-bar) 8%, transparent);
  color: var(--on-bar);
  padding: 0 0.7rem;
}

.finder input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.masthead {
  background: var(--sheet);
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 98px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.logo-stage {
  width: 92px;
  height: 92px;
  perspective: 680px;
  flex: none;
}

.logo-tilt {
  position: relative;
  display: block;
  width: 92px;
  height: 92px;
  transform-style: preserve-3d;
  animation: ym-logo-spin 7s ease-in-out infinite;
}

.brand-logo {
  width: 92px;
  height: 92px;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 14px 22px rgba(7, 22, 51, 0.35),
    0 0 0 3px #fff,
    0 0 0 6px var(--blue);
}

.logo-glint {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.62) 48%, transparent 64%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: ym-logo-spin 7s ease-in-out infinite;
}

@keyframes ym-logo-spin {
  0%, 100% { transform: rotateY(-34deg) rotateX(12deg) translateZ(0); }
  50% { transform: rotateY(34deg) rotateX(-10deg) translateZ(16px); }
}

.founder-top {
  background: linear-gradient(90deg, var(--founder-a) 0%, var(--founder-b) 52%, var(--founder-a) 100%);
  color: var(--founder-ink);
  border-bottom: 3px solid var(--gold);
}

.founder-top-inner {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem 0;
}

.founder-top img,
.founder-portrait {
  width: 132px;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #00bad4;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.founder-portrait {
  width: min(280px, 100%);
  display: block;
  margin-bottom: 1rem;
}

.founder-kicker {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.95rem;
}

.founder-name {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
}

.founder-top p {
  line-height: 1.45;
}

.founder-motto {
  max-width: 16rem;
  text-align: right;
  font-weight: 700;
  color: var(--gold-2);
  line-height: 1.35;
}

.channel-name {
  display: block;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
}

.channel-en {
  display: block;
  margin-top: 0.12rem;
  color: var(--red);
  font-weight: 700;
  font-size: 1rem;
}

.tagline {
  margin-left: auto;
  text-align: right;
  color: var(--muted);
  font-size: 0.98rem;
}

.tagline strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 42px;
  padding: 0 0.85rem;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.brand-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 46%, var(--gold) 46% 50%, var(--blue) 50% 100%);
}

.primary-nav {
  background: var(--bar);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.72rem 0.82rem;
  color: var(--on-bar);
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--gold-2);
  box-shadow: inset 0 -3px 0 var(--red);
}

.mega {
  display: none;
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(7, 22, 51, 0.16);
  padding: 0.35rem 0;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
  display: block;
}

.mega a {
  display: block;
  padding: 0.38rem 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.mega a:hover,
.mega a:focus-visible {
  background: #f8eef0;
  color: var(--red);
}

.ticker {
  display: flex;
  align-items: center;
  height: 44px;
  background: var(--ticker);
  color: var(--on-ticker);
  overflow: hidden;
}

.ticker-label {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex: none;
  padding: 0 0.85rem;
  background: var(--bar);
  color: var(--gold-2);
  font-weight: 700;
  white-space: nowrap;
}

.ticker-viewport {
  overflow: hidden;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 44px;
}

.ticker-track {
  display: flex;
  flex: none;
  width: max-content;
  animation: ym-tick 48s linear infinite;
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
  gap: 0.9rem;
  padding-right: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.ticker-group span {
  flex: none;
  white-space: nowrap;
}

.sep {
  color: var(--gold-2);
}

@keyframes ym-tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero {
  position: relative;
  background: var(--bar);
}

.hero-story {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
}

.live-row {
  background: var(--desk);
  color: var(--desk-ink);
}

.live-row-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 1.1rem;
  align-items: stretch;
  padding: 1rem 0 1.15rem;
}

.live-board {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0.95rem 1rem 0.85rem;
  color: var(--desk-ink);
  background: var(--desk);
  border: 1px solid #1b2744;
  border-top: 3px solid var(--gold);
}

.live-board h2 {
  margin-top: 0.15rem;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.25;
}

.live-board > p {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.86);
}

.live-desks {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.live-desk {
  display: grid;
  gap: 0.12rem;
  padding: 0.55rem 0.7rem 0.6rem;
  text-decoration: none;
  color: var(--desk-ink);
  background: color-mix(in srgb, var(--desk-ink) 6%, transparent);
  border-left: 4px solid var(--red);
}

.live-desk.howrah {
  border-left-color: #4d8dff;
}

.live-desk.hooghly {
  border-left-color: var(--gold);
}

.live-desk .en {
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.live-desk strong {
  font-size: 1.15rem;
}

.live-desk span:last-child {
  color: color-mix(in srgb, var(--desk-ink) 78%, transparent);
  line-height: 1.35;
}

.live-desk:hover {
  background: rgba(255, 255, 255, 0.09);
}

.live-beats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: 0.75rem;
  flex: 1;
  align-content: start;
}

.live-beat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.5rem;
  text-decoration: none;
  color: var(--desk-ink);
  background: color-mix(in srgb, var(--desk-ink) 6%, transparent);
}

.live-beat b {
  color: var(--gold-2);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
}

.live-beat:hover {
  background: rgba(240, 192, 20, 0.14);
}

.live-reach {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.live-reach a {
  color: var(--gold-2);
  font-weight: 700;
  text-decoration: none;
}

.live-reach a:hover {
  text-decoration: underline;
}

.hero-shade {
  display: none;
}

.hero-caption {
  position: static;
  padding: 0.95rem 1rem 1.15rem;
  color: var(--on-bar);
  background: var(--bar);
}

.lt-kicker {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 1.05rem;
}

.hero-caption h1 {
  margin-top: 0.25rem;
  max-width: 18ch;
  font-size: 1.7rem;
  line-height: 1.22;
  font-weight: 700;
  text-wrap: balance;
}

.hero-caption p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 960px) {
  .hero-shade {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 22, 51, 0) 42%, rgba(7, 22, 51, 0.88) 100%);
  }

  .hero-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: min(42%, 36rem);
    padding: 1.4rem 1.35rem 1.45rem;
    background: transparent;
  }

  .hero-caption h1 {
    max-width: 16ch;
    font-size: clamp(1.85rem, 3.1vw, 3.15rem);
  }
}

.lt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-deep);
}

.btn-line {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.btn-line:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-2);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--blue);
}

.monitor {
  background: var(--desk);
  color: var(--desk-ink);
  padding: 0.7rem 0.7rem 0.8rem;
  border: 1px solid #1b2744;
}

.monitor-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 36px;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.monitor-top .en {
  color: rgba(255, 255, 255, 0.72);
}

.monitor-top a {
  margin-left: auto;
  color: var(--gold-2);
  font-weight: 700;
  text-decoration: none;
}

.monitor-screen {
  background: #0b1220;
  min-height: 560px;
}

.monitor-screen iframe {
  display: block;
  width: 100%;
  border: 0;
  background: var(--white);
}

.monitor-note {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.monitor.compact .monitor-screen {
  min-height: 480px;
}

.command {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bar);
}

.command a:nth-child(1) {
  background: var(--tone-1);
}

.command a:nth-child(2) {
  background: var(--tone-2);
}

.command a:nth-child(3) {
  background: var(--tone-3);
}

.command a {
  display: grid;
  gap: 0.05rem;
  padding: 0.9rem 1rem 0.95rem;
  color: var(--white);
  text-decoration: none;
}

.command a + a {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.1);
}

.command .en {
  color: var(--gold-2);
  font-weight: 700;
}

.command strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.command span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.command a:hover {
  background: var(--red);
}

.block {
  padding: 1.35rem 0;
}

.block:nth-child(odd) {
  background: var(--cream);
}

.block:nth-child(even) {
  background: var(--mist);
}

.section-kicker {
  color: var(--red);
  font-weight: 700;
  font-size: 0.98rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.section-head h2,
.lead h2,
.prose h2 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.28;
  color: var(--navy);
}

.lead {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 1.15rem;
  align-items: start;
}

.lead p + p,
.prose p + p {
  margin-top: 0.75rem;
}

.facts {
  display: grid;
  gap: 0.5rem;
}

.facts li {
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 0.55rem 0.75rem;
  box-shadow: var(--shadow);
}

.facts strong {
  display: block;
  color: var(--navy);
}

.facts span {
  color: var(--muted);
  font-size: 0.95rem;
}

.story-rail:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.story-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.story-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.story-card div {
  padding: 0.75rem 0.8rem 0.9rem;
}

.story-card time {
  display: block;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 600;
}

.story-card p {
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.beat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.beat {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.75rem 0.8rem 0.85rem;
  min-height: 100%;
}

.beat b {
  display: block;
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

.beat strong {
  display: block;
  color: var(--navy);
  line-height: 1.35;
}

.beat span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.desk-grid,
.directory,
.sibling-grid {
  display: grid;
  gap: 0.75rem;
}

.desk-grid,
.directory {
  grid-template-columns: repeat(3, 1fr);
}

.sibling-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.desk-card,
.place-card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  padding: 0.9rem 0.95rem 1rem;
  box-shadow: var(--shadow);
}

.desk-card.howrah,
.place-card.howrah {
  border-top-color: var(--blue);
}

.desk-card.hooghly,
.place-card.hooghly {
  border-top-color: var(--saffron);
}

.desk-card .en,
.place-card .en {
  color: var(--red);
  font-weight: 700;
  font-size: 0.92rem;
}

.desk-card h3,
.place-card h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.28rem;
  line-height: 1.3;
}

.desk-card h3 a,
.place-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.desk-card h3 a:hover,
.place-card h3 a:hover {
  color: var(--red);
}

.desk-places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin-top: 0.7rem;
}

.desk-places a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.desk-places a:hover {
  color: var(--red);
}

.page-hero {
  position: relative;
  background: linear-gradient(100deg, var(--bar) 0%, var(--navy-2) 70%, var(--blue) 100%);
  color: var(--white);
  padding: 1.35rem 0 1.4rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(var(--red), var(--gold));
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.crumbs a {
  color: var(--gold-2);
  text-decoration: none;
}

.page-kicker {
  margin-top: 0.45rem;
  color: var(--gold-2);
  font-weight: 700;
}

.page-hero h1 {
  margin-top: 0.15rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.25;
}

.page-hero .lede {
  max-width: 46rem;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.2rem;
  align-items: start;
  padding: 1.2rem 0 2.4rem;
}

.story {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.05rem 1.1rem 1.2rem;
}

.story .beat-grid,
.story .directory {
  grid-template-columns: 1fr 1fr;
}

.story .directory {
  grid-template-columns: 1fr;
}

.prose h2 {
  margin-top: 1.15rem;
}

.sidebar {
  position: sticky;
  top: 0.8rem;
}

.promise {
  margin-top: 1rem;
  background: #f8f1d8;
  border-left: 4px solid var(--gold);
  padding: 0.7rem 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

.watch,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.watch li,
.chips a {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.15rem 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.chips a:hover {
  border-color: var(--red);
  color: var(--red);
}

.about-band {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.7rem;
}

.about-band img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: 18% 30%;
}

.cta-band {
  background: var(--red);
  color: var(--white);
}

.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.1rem;
  padding-bottom: 1.15rem;
}

.cta-band h2 {
  font-size: 1.55rem;
  line-height: 1.3;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer {
  background: var(--bar);
  color: rgba(255, 255, 255, 0.84);
  padding: 1.8rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 1.15rem;
}

.footer .channel-name {
  color: var(--white);
  font-size: 1.45rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold-2);
}

.footer li + li {
  margin-top: 0.18rem;
}

.footer h2 {
  font-size: 1rem;
  color: var(--gold-2);
  margin-bottom: 0.35rem;
}

.fineprint {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.15rem;
  padding-top: 0.75rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .live-row-grid,
  .founder-top-inner,
  .layout,
  .lead,
  .beat-grid,
  .desk-grid,
  .directory,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .live-row-grid,
  .founder-top-inner,
  .layout,
  .lead,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .founder-motto {
    text-align: left;
    max-width: none;
  }

  .founder-top img {
    width: 132px;
    height: auto;
  }

  .sidebar {
    position: static;
  }

  .beat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .tagline {
    display: none;
  }

  .primary-nav {
    display: none;
  }

  .primary-nav.is-open {
    display: block;
    background: var(--sheet);
    border-bottom: 3px solid var(--red);
  }

  .primary-nav.is-open .nav-list {
    flex-direction: column;
  }

  .primary-nav.is-open .nav-link {
    color: var(--ink);
  }

  .primary-nav.is-open .nav-link.is-active {
    color: var(--red);
    box-shadow: inset 3px 0 0 var(--red);
  }

  .primary-nav.is-open .mega {
    position: static;
    display: block;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 0.4rem 0.8rem;
  }

  .command,
  .directory,
  .desk-grid {
    grid-template-columns: 1fr;
  }

  .command a + a {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .about-band,
  .story-rail:not([hidden]) {
    grid-template-columns: 1fr;
  }

  .utility-inner {
    flex-wrap: wrap;
    padding: 0.4rem 0;
  }

  .finder {
    margin-left: 0;
    width: 100%;
  }

  .finder input {
    width: 100%;
  }

  .utility time {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
  }

  .logo-stage,
  .logo-tilt,
  .brand-logo {
    width: 68px;
    height: 68px;
  }

  .masthead-inner {
    min-height: 78px;
    gap: 0.55rem;
  }

  .channel-name {
    font-size: 1.35rem;
  }

  .founder-top img {
    width: 108px;
  }

  .lt-actions .btn {
    flex: 1 1 10rem;
  }

  .about-band img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .live-beats {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track,
  .live-pill i,
  .logo-tilt,
  .logo-glint {
    animation: none;
  }
}

html[data-theme="day"] {
  --bar: #ffffff;
  --on-bar: #071633;
  --sheet: #fffdf8;
  --ticker: #d0121a;
  --on-ticker: #ffffff;
  --paper: #f7f7f5;
  --cream: #fff1f1;
  --mist: #eef4ff;
  --card: #ffffff;
  --ink: #161616;
  --navy: #071633;
  --gold: #c8960a;
  --gold-2: #8a6400;
  --founder-a: #fff4dc;
  --founder-b: #ffe3a3;
  --founder-ink: #3a2508;
  --tone-1: #c8102e;
  --tone-2: #0c3d8f;
  --tone-3: #d86a00;
  --desk: #fff8ee;
  --desk-ink: #1a140c;
  --line: #e4ddd2;
}

html[data-theme="night"] {
  --bar: #07070b;
  --on-bar: #ffe56a;
  --sheet: #121216;
  --ticker: #f0c014;
  --on-ticker: #1a1408;
  --paper: #0b0b0e;
  --cream: #16130e;
  --mist: #12151c;
  --card: #1a1a20;
  --ink: #f6f1e4;
  --navy: #ffe56a;
  --muted: #cbbfaa;
  --line: #34343c;
  --blue: #8ec0ff;
  --red: #ff4d4d;
  --gold: #f0c014;
  --gold-2: #ffe56a;
  --white: #f6f1e4;
  --founder-a: #1a1208;
  --founder-b: #3a2410;
  --founder-ink: #ffe56a;
  --tone-1: #6e1018;
  --tone-2: #14325f;
  --tone-3: #6a4308;
  --desk: #08080c;
  --desk-ink: #f6f1e4;
}

html[data-theme="river"] {
  --bar: #08352f;
  --on-bar: #fff8e8;
  --sheet: #f4fff9;
  --ticker: #e07a12;
  --on-ticker: #1c1206;
  --paper: #e5f4ee;
  --cream: #fff6e2;
  --mist: #d9f0e6;
  --card: #ffffff;
  --ink: #10241f;
  --navy: #08352f;
  --navy-2: #0e5c50;
  --blue: #0e7c72;
  --red: #e07a12;
  --gold: #f0c014;
  --gold-2: #ffe08a;
  --founder-a: #062824;
  --founder-b: #0e5c4e;
  --founder-ink: #fff6e2;
  --tone-1: #0e7c72;
  --tone-2: #08352f;
  --tone-3: #c56a10;
  --desk: #062824;
  --desk-ink: #fff8e8;
}

html[data-theme="fest"] {
  --bar: #5c0d18;
  --on-bar: #fff4d0;
  --sheet: #fff8ea;
  --ticker: #f0c014;
  --on-ticker: #3a0a10;
  --paper: #fff1d6;
  --cream: #ffe7b0;
  --mist: #fff6df;
  --card: #fffdf6;
  --ink: #3a140c;
  --navy: #5c0d18;
  --navy-2: #8a1830;
  --blue: #8a3b12;
  --red: #9d0d13;
  --gold: #e2b007;
  --gold-2: #fff1a8;
  --founder-a: #4a0c16;
  --founder-b: #7a1830;
  --founder-ink: #fff4d0;
  --tone-1: #8d1220;
  --tone-2: #a15c08;
  --tone-3: #c9a20a;
  --desk: #3a0a12;
  --desk-ink: #fff4d0;
}

.palette {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  padding: 0.45rem 1rem;
  background: #111111;
  color: #ffffff;
  border-bottom: 3px solid #f0c014;
}

.palette-label {
  font-weight: 700;
  margin-right: 0.2rem;
}

.palette-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.palette button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.15rem 0.7rem 0.15rem 0.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.palette button.is-on {
  background: #f0c014;
  color: #161616;
}

.swatch {
  display: inline-flex;
  width: 52px;
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.palette button.is-on .swatch {
  border-color: rgba(0, 0, 0, 0.35);
}

.swatch i {
  flex: 1;
}

.ask {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 50;
}

@media (min-width: 960px) {
  .ask {
    left: auto;
    right: 1rem;
  }

  .ask-panel {
    left: auto;
    right: 0;
  }
}

.ask-open {
  min-height: 52px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(7, 22, 51, 0.28);
  cursor: pointer;
}

.ask-open:hover {
  background: var(--gold-2);
}

.ask-panel {
  position: absolute;
  left: 0;
  bottom: 62px;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 2rem));
  max-height: min(70vh, 560px);
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  box-shadow: 0 18px 40px rgba(7, 22, 51, 0.22);
}

.ask-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  background: var(--navy);
  color: var(--white);
}

.ask-head .en {
  color: var(--gold-2);
  font-size: 0.82rem;
}

.ask-head strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.2;
}

.ask-close {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  min-height: 36px;
  padding: 0 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.ask-log {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: auto;
  padding: 0.8rem;
  min-height: 180px;
  background: var(--cream);
}

.ask-msg {
  max-width: 92%;
  padding: 0.55rem 0.7rem;
  line-height: 1.45;
}

.ask-desk {
  align-self: flex-start;
  background: var(--white);
  border-left: 3px solid var(--teal);
}

.ask-user {
  align-self: flex-end;
  background: var(--navy);
  color: var(--white);
}

.ask-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem 0;
}

.ask-chips button {
  border: 1px solid var(--teal);
  background: var(--white);
  color: var(--teal);
  min-height: 34px;
  padding: 0 0.6rem;
  font-weight: 700;
  cursor: pointer;
}

.ask-form {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem 0.7rem 0.75rem;
}

.ask-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0 0.7rem;
}

@media print {
  .utility,
  .ticker,
  .monitor,
  .nav-toggle,
  .finder,
  .cta-band,
  .primary-nav,
  .palette,
  .ask {
    display: none !important;
  }

  .hero-shade {
    background: rgba(7, 22, 51, 0.45);
  }

  body {
    background: white;
  }
}
