/* ==========================================================
   RADIO KIBUT · premium community page
   Palette: Benjamin Moore
   --essex / --chantilly / --chantilly-pure / --stone-hearth
   --rustic-taupe / --rustic-taupe-light
   ========================================================== */

/* ==========================================================
   1. HERO · radio identity · dark + animated audio visualizer
   ========================================================== */
.rk-hero {
  --rk-gold: #C9A66B;
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center;
  padding: clamp(48px, 8vh, 120px) clamp(32px, 5vw, 96px);
  color: var(--chantilly-pure);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 42%, rgba(25, 229, 231, 0.10), transparent 30%),
    radial-gradient(circle at 86% 50%, rgba(7, 135, 207, 0.08), transparent 28%),
    #000;
}
/* Mountain silhouette at hero bottom */
.rk-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 34%; opacity: 0.95;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(6,11,9,0.95), rgba(6,11,9,0.18), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 230 L120 190 L230 220 L360 140 L480 210 L620 120 L770 210 L910 145 L1060 220 L1220 150 L1370 210 L1600 135 L1600 300 L0 300 Z' fill='%230b1410'/%3E%3Cpath d='M0 260 L170 220 L310 245 L460 190 L610 250 L760 200 L920 250 L1120 210 L1300 255 L1600 205 L1600 300 L0 300 Z' fill='%23060A08'/%3E%3C/svg%3E") center bottom/cover no-repeat;
}
.rk-hero-content {
  position: relative; z-index: 2;
  width: min(560px, 50vw);
}
.rk-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--stone-hearth);
  margin-bottom: 28px;
}
.rk-hero-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--stone-hearth);
}
/* Logo · custom image-based mark (transparent PNG / SVG) */
.rk-logo {
  margin: 0 0 32px;
  display: block;
  line-height: 0;
}
.rk-logo-img {
  display: block;
  width: 100%;
  max-width: clamp(280px, 36vw, 560px);
  height: auto;
}
.rk-subtitle {
  color: var(--rk-gold, #C9A66B);
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: clamp(0.82rem, 1.3vw, 1.05rem);
  line-height: 1.8;
  margin: 0 0 26px;
  font-weight: 400;
}
.rk-tagline {
  color: rgba(247, 246, 241, 0.86);
  font-size: clamp(0.96rem, 1.1vw, 1.12rem);
  line-height: 1.72;
  max-width: 500px;
  margin: 0 0 38px;
  font-weight: 300;
}
.rk-hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.rk-secondary-link {
  color: var(--chantilly-pure);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.88;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 4px;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.rk-secondary-link:hover { opacity: 1; transform: translateX(4px); color: var(--stone-hearth); }

/* Audio visualizer · pulsing bars · right side of hero */
.rk-visualizer {
  position: absolute;
  z-index: 1;
  left: 50%; right: clamp(32px, 5vw, 96px);
  top: 24%; bottom: 38%;
  display: flex; align-items: center; gap: 7px;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(25, 229, 231, 0.32));
}
.rk-bar {
  flex: 1;
  width: 6px;
  border-radius: 999px;
  transform-origin: center;
  background: linear-gradient(180deg, rgba(25, 229, 231, 0.85), rgba(7, 135, 207, 0.65));
  opacity: 0.22;
  animation: rkBarPulse 1.2s ease-in-out infinite;
  will-change: transform;
}
.rk-bar:nth-child(3n)  { animation-duration: 0.82s; opacity: 0.42; }
.rk-bar:nth-child(4n)  { animation-duration: 1.45s; opacity: 0.72; }
.rk-bar:nth-child(5n)  { animation-duration: 1.05s; opacity: 0.58; }
.rk-bar:nth-child(7n)  { animation-duration: 1.75s; opacity: 0.85; }
.rk-bar:nth-child(2n)  { animation-delay: -0.25s; }
.rk-bar:nth-child(3n)  { animation-delay: -0.55s; }
.rk-bar:nth-child(5n)  { animation-delay: -0.85s; }
@keyframes rkBarPulse {
  0%, 100% { transform: scaleY(0.35); }
  25%      { transform: scaleY(1.05); }
  50%      { transform: scaleY(0.55); }
  75%      { transform: scaleY(1.35); }
}
/* Per-bar baseline heights · data-bearing waveform shape */
.rk-bar:nth-child(1)  { height: 10%; }
.rk-bar:nth-child(2)  { height: 14%; }
.rk-bar:nth-child(3)  { height: 22%; }
.rk-bar:nth-child(4)  { height: 34%; }
.rk-bar:nth-child(5)  { height: 48%; }
.rk-bar:nth-child(6)  { height: 67%; }
.rk-bar:nth-child(7)  { height: 82%; }
.rk-bar:nth-child(8)  { height: 58%; }
.rk-bar:nth-child(9)  { height: 39%; }
.rk-bar:nth-child(10) { height: 24%; }
.rk-bar:nth-child(11) { height: 18%; }
.rk-bar:nth-child(12) { height: 30%; }
.rk-bar:nth-child(13) { height: 46%; }
.rk-bar:nth-child(14) { height: 71%; }
.rk-bar:nth-child(15) { height: 92%; }
.rk-bar:nth-child(16) { height: 64%; }
.rk-bar:nth-child(17) { height: 42%; }
.rk-bar:nth-child(18) { height: 29%; }
.rk-bar:nth-child(19) { height: 22%; }
.rk-bar:nth-child(20) { height: 37%; }
.rk-bar:nth-child(21) { height: 55%; }
.rk-bar:nth-child(22) { height: 76%; }
.rk-bar:nth-child(23) { height: 45%; }
.rk-bar:nth-child(24) { height: 31%; }
.rk-bar:nth-child(25) { height: 66%; }
.rk-bar:nth-child(26) { height: 96%; }
.rk-bar:nth-child(27) { height: 78%; }
.rk-bar:nth-child(28) { height: 52%; }
.rk-bar:nth-child(29) { height: 34%; }
.rk-bar:nth-child(30) { height: 24%; }
.rk-bar:nth-child(31) { height: 39%; }
.rk-bar:nth-child(32) { height: 59%; }
.rk-bar:nth-child(33) { height: 88%; }
.rk-bar:nth-child(34) { height: 100%; }
.rk-bar:nth-child(35) { height: 69%; }
.rk-bar:nth-child(36) { height: 46%; }
.rk-bar:nth-child(37) { height: 27%; }
.rk-bar:nth-child(38) { height: 20%; }
.rk-bar:nth-child(39) { height: 33%; }
.rk-bar:nth-child(40) { height: 50%; }
.rk-bar:nth-child(41) { height: 73%; }
.rk-bar:nth-child(42) { height: 94%; }
.rk-bar:nth-child(43) { height: 62%; }
.rk-bar:nth-child(44) { height: 41%; }
.rk-bar:nth-child(45) { height: 58%; }
.rk-bar:nth-child(46) { height: 83%; }
.rk-bar:nth-child(47) { height: 100%; }
.rk-bar:nth-child(48) { height: 91%; }
.rk-bar:nth-child(49) { height: 64%; }
.rk-bar:nth-child(50) { height: 42%; }
.rk-bar:nth-child(51) { height: 28%; }
.rk-bar:nth-child(52) { height: 35%; }
.rk-bar:nth-child(53) { height: 57%; }
.rk-bar:nth-child(54) { height: 77%; }
.rk-bar:nth-child(55) { height: 100%; }
.rk-bar:nth-child(56) { height: 72%; }
.rk-bar:nth-child(57) { height: 49%; }
.rk-bar:nth-child(58) { height: 36%; }
.rk-bar:nth-child(59) { height: 25%; }
.rk-bar:nth-child(60) { height: 18%; }

/* Stats inline at hero bottom-right · compact ambient cards */
.rk-hero-stats {
  position: absolute;
  z-index: 3;
  right: clamp(32px, 5vw, 96px);
  bottom: clamp(28px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  min-width: min(640px, 50vw);
  color: var(--chantilly-pure);
}
.rk-stat-mini {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0 22px;
  border-left: 1px solid rgba(247, 246, 241, 0.14);
}
.rk-stat-mini:first-child { border-left: none; }
.rk-stat-mini-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 32px;
  color: var(--rk-gold, #C9A66B);
  margin-bottom: 10px;
}
.rk-stat-mini-icon svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rk-stat-mini strong {
  display: block;
  font-size: clamp(1.36rem, 2.4vw, 2.0rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--chantilly-pure);
}
.rk-stat-mini small {
  display: block;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  opacity: 0.82;
  font-weight: 500;
}

/* Live listen button · gold border + play triangle + label */
.rk-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  background: transparent;
  color: var(--chantilly-pure);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--rk-gold, #C9A66B);
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.rk-live-btn:hover {
  background: rgba(201, 166, 107, 0.10);
  color: var(--chantilly-pure);
  border-color: var(--rk-gold, #C9A66B);
  transform: translateY(-2px);
}
.rk-live-play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  color: var(--chantilly-pure);
  flex-shrink: 0;
}
.rk-live-play svg { width: 100%; height: 100%; fill: currentColor; }
.rk-live-btn:active {
  transform: scale(0.98);
}
.rk-live-btn svg {
  flex-shrink: 0;
}
.rk-live-btn-large {
  padding: 18px 32px;
  font-size: 0.86rem;
  letter-spacing: 0.24em;
  background: var(--essex);
  color: var(--chantilly-pure);
  border-color: var(--essex);
}
.rk-live-btn-large:hover {
  background: var(--rustic-taupe);
  border-color: var(--rustic-taupe);
  color: var(--chantilly-pure);
}

/* Pulsing red dot · LIVE indicator */
.rk-live-dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: #E54848;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.rk-live-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #E54848;
  opacity: 0.4;
  animation: rkLivePulse 1.6s ease-out infinite;
}
@keyframes rkLivePulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  100% { transform: scale(2.4);  opacity: 0; }
}

/* ==========================================================
   2. INTRO · single strong paragraph on cream
   ========================================================== */
.rk-intro {
  background: var(--chantilly);
  padding: clamp(80px, 12vh, 130px) 32px;
}
.rk-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.rk-intro p {
  font-size: clamp(1.06rem, 1.45vw, 1.22rem);
  line-height: 1.78;
  color: var(--essex);
  margin: 0 0 22px;
  font-weight: 300;
}
.rk-intro p:last-child { margin-bottom: 0; }
.rk-intro p strong {
  font-weight: 500;
  color: var(--rustic-taupe);
}
.rk-intro .eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rustic-taupe);
  font-weight: 500;
  margin-bottom: 18px;
}
.rk-intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--essex);
  margin: 0 0 32px;
}
.rk-intro h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--rustic-taupe);
}

/* ==========================================================
   3. STATS · four numerical anchors
   ========================================================== */
.rk-stats {
  background: var(--chantilly-pure);
  padding: 56px 32px;
  border-top: 1px solid rgba(122, 105, 87, 0.16);
  border-bottom: 1px solid rgba(122, 105, 87, 0.16);
}
.rk-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.rk-stat strong {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 300;
  color: var(--essex);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.rk-stat span {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rustic-taupe);
  font-weight: 500;
}

/* ==========================================================
   4. PROGRAMMING · what the radio broadcasts
   ========================================================== */
.rk-program {
  background: var(--chantilly);
  padding: clamp(80px, 12vh, 130px) 32px;
}
.rk-program-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.rk-program-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.rk-program-header .eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rustic-taupe);
  font-weight: 500;
  margin-bottom: 20px;
}
.rk-program-header h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--essex);
  margin: 0 0 16px;
}
.rk-program-header h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--rustic-taupe);
}
.rk-program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.rk-program-card {
  padding: 36px 28px;
  background: var(--chantilly-pure);
  border: 1px solid rgba(122, 105, 87, 0.16);
  text-align: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.rk-program-card:hover {
  transform: translateY(-4px);
  border-color: var(--stone-hearth);
}
.rk-program-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--essex);
  color: var(--stone-hearth);
  margin-bottom: 22px;
}
.rk-program-card-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rk-program-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--essex);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.rk-program-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--essex);
  opacity: 0.82;
  margin: 0;
}

/* ==========================================================
   5. QUOTE · prominent identity statement
   ========================================================== */
.rk-quote {
  background: var(--essex);
  color: var(--chantilly-pure);
  padding: clamp(100px, 14vh, 160px) 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rk-quote-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.rk-quote .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--stone-hearth);
  margin-bottom: 32px;
}
.rk-quote blockquote {
  font-family: "Helvetica Neue", "HelveticaNeue", "Helvetica Neue LT", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.35;
  margin: 0 0 28px;
  color: var(--chantilly-pure);
  letter-spacing: -0.005em;
}
.rk-quote blockquote em {
  font-style: normal;
  color: var(--stone-hearth);
  font-weight: 500;
}
.rk-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-hearth);
  opacity: 0.82;
  font-weight: 500;
}

/* ==========================================================
   6. CLOSING · impact / how to listen
   ========================================================== */
.rk-closing {
  background: var(--chantilly-pure);
  padding: clamp(80px, 12vh, 130px) 32px;
  text-align: center;
}
.rk-closing-inner {
  max-width: 720px;
  margin: 0 auto;
}
.rk-closing .eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rustic-taupe);
  font-weight: 500;
  margin-bottom: 22px;
}
.rk-closing h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.018em;
  color: var(--essex);
  margin: 0 0 28px;
}
.rk-closing h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--rustic-taupe);
}
.rk-closing p {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--essex);
  opacity: 0.86;
  margin: 0;
}

/* ==========================================================
   6. LIVE CTA SECTION · final prominent call-to-action
   ========================================================== */
.rk-live-cta-section {
  background: var(--chantilly);
  padding: clamp(80px, 12vh, 130px) 32px;
  text-align: center;
}
.rk-live-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.rk-live-cta-section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rustic-taupe);
  font-weight: 500;
  margin-bottom: 22px;
}
.rk-live-cta-section h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.018em;
  color: var(--essex);
  margin: 0 0 18px;
}
.rk-live-cta-section h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--rustic-taupe);
}
.rk-live-cta-section p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--essex);
  opacity: 0.82;
  margin: 0 0 36px;
}

/* ==========================================================
   7. ARTICLE NAV + BACK
   ========================================================== */
.rk-page-nav { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.rk-page-back { max-width: 1080px; margin: 0 auto; padding: 0 32px 80px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 980px) {
  .rk-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  /* Switch to flex column · stack content / visualizer / stats vertically
     so they no longer overlap (was absolutely positioned on desktop). */
  .rk-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 48px 24px 32px;
    min-height: 0;
    gap: 28px;
  }
  /* Make hero-content's children become direct flex items of .rk-hero,
     so we can intercalate the visualizer between logo and subtitle. */
  .rk-hero-content { display: contents; }
  .rk-logo        { order: 1; }
  .rk-visualizer  { order: 2; }
  .rk-subtitle    { order: 3; }
  .rk-tagline     { order: 4; }
  .rk-hero-cta    { order: 5; gap: 14px; }
  .rk-hero-stats  { order: 6; }
  .rk-visualizer {
    position: static;
    left: auto; right: auto;
    top: auto; bottom: auto;
    width: 100%;
    height: 60px;
    gap: 4px;
    margin: 0;
  }
  .rk-bar { width: 4px; }
  .rk-hero-stats {
    position: static;
    left: auto; right: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .rk-stat-mini {
    padding: 0 8px;
  }
  .rk-stat-mini-icon { width: 28px; height: 26px; margin-bottom: 8px; }
  .rk-stat-mini strong { font-size: 1.05rem; }
  .rk-stat-mini small { font-size: 0.56rem; letter-spacing: 0.12em; margin-top: 6px; }
}
@media (max-width: 560px) {
  .rk-hero { padding: 40px 22px 28px; gap: 24px; }
  .rk-hero-cta { flex-direction: column; align-items: stretch; }
  .rk-live-btn { justify-content: center; }
  .rk-secondary-link { justify-content: center; padding: 10px 4px; }
  .rk-visualizer { height: 48px; gap: 3px; }
  .rk-bar { width: 3px; }
  .rk-intro, .rk-program, .rk-quote, .rk-closing { padding-left: 22px; padding-right: 22px; }
  .rk-stats { padding: 44px 22px; }
  .rk-stats-inner { gap: 18px; }
  .rk-program-card { padding: 28px 22px; }
  .rk-quote blockquote { font-size: clamp(1.4rem, 6.5vw, 1.9rem); }
  .rk-stat-mini { padding: 0 4px; }
  .rk-stat-mini small { font-size: 0.48rem; letter-spacing: 0.08em; }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .rk-bar { animation: none; }
  .rk-program-card { transition: none; }
  .rk-live-dot::before { animation: none; }
}
