:root {
  --rx-green: #103f38;
  --rx-green-deep: #082b27;
  --rx-terracotta: #9c4a2e;
  --rx-gold: #b99a61;
  --rx-cream: #f4f0e7;
  --rx-ink: #24150f;
  --rx-sunset-deep: #43201e;
  --rx-sunset-mid: #874331;
  --rx-sunset-glow: #c87549;
}

/* HERO — restrained, cinematic and editorial. */
.mega.dark.rx-hero {
  min-height: calc(100svh - 84px);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 78px) clamp(34px, 4vw, 58px);
  background:
    radial-gradient(circle at 53% 45%, rgba(203, 103, 62, .23), transparent 28%),
    linear-gradient(118deg, #2c1719 0%, #51241f 58%, #82402f 100%);
}

.mega > .rx-hero-visual,
.mega > .rx-hero-shade {
  width: 40%;
}

.rx-hero-visual .rx-piece { display: none; }
.rx-hero-visual .rx-piece-10 {
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: none;
  box-shadow: none;
}
.rx-hero-visual .rx-piece-10 img {
  object-position: 50% 42%;
  filter: saturate(.94) contrast(1.02) brightness(.91);
  animation: rx-cinematic-zoom 14s ease-out both;
}

@keyframes rx-cinematic-zoom {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}

.mega > .rx-hero-shade {
  background:
    linear-gradient(90deg, rgba(130,64,47,.72) 0, rgba(130,64,47,.2) 8%, transparent 17%),
    linear-gradient(0deg, rgba(48,20,19,.2), transparent 38%);
}

.rx-hero .kicker {
  width: 56%;
  color: rgba(244,240,231,.75);
}
.rx-hero .kicker > span:first-child {
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #f1bf82;
}

.rx-hero .signature-title {
  width: 56%;
  gap: clamp(16px, 2vw, 30px);
}
.rx-hero .signature-title h1 {
  font-size: clamp(82px, 9.6vw, 150px);
  line-height: .8;
  letter-spacing: -.075em;
}
.rx-hero .signature-badge {
  padding: 19px 11px;
  font-size: clamp(10px, .8vw, 12px);
  letter-spacing: .17em;
  white-space: nowrap;
  background: var(--rx-cream) !important;
  color: var(--rx-ink) !important;
  border: 0;
  box-shadow: -9px -9px 0 var(--rx-terracotta) !important;
  transform: rotate(180deg);
}
.rx-hero .rx-acts-badge {
  position: relative;
  width: clamp(58px, 4.6vw, 72px);
  min-height: clamp(190px, 18vw, 235px);
  display: block;
  writing-mode: horizontal-tb;
  transform: none;
  perspective: 700px;
  overflow: hidden;
}
.rx-acts-badge b {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  writing-mode: vertical-rl;
  white-space: nowrap;
  opacity: 0;
  font: 800 clamp(11px, .9vw, 14px)/1 'Syne', sans-serif;
  letter-spacing: .13em;
  backface-visibility: hidden;
  transform-origin: center;
  animation: rx-badge-flip 9s cubic-bezier(.55,.08,.34,.95) infinite;
}
.rx-acts-badge b:nth-child(2) { animation-delay: 3s; }
.rx-acts-badge b:nth-child(3) { animation-delay: 6s; }

@keyframes rx-badge-flip {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(180deg) rotateY(-90deg); }
  8%, 27% { opacity: 1; transform: translate(-50%, -50%) rotate(180deg) rotateY(0); }
  35%, 100% { opacity: 0; transform: translate(-50%, -50%) rotate(180deg) rotateY(90deg); }
}
.rx-title-tagline {
  margin-top: clamp(12px, 1.6vw, 22px);
  font: italic 500 clamp(30px, 3.2vw, 50px)/1 'Cormorant Garamond', serif;
  letter-spacing: -.025em;
}

.rx-hero .hero-foot { width: 56%; }
.rx-hero-meta { color: rgba(244,240,231,.66); }
.rx-hero-cta {
  margin-left: auto;
  padding: 15px 20px 13px;
  border: 0;
  background: #087866;
  color: #fff;
  transition: transform .25s ease, background .25s ease;
}
.rx-hero-cta:hover { transform: translateY(-3px); background: #066b5b; }

.rx-event-bar {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background: #351b1d;
  color: #d18a51;
  border-top: 1px solid rgba(255,255,255,.13);
}
.rx-event-track {
  display: flex;
  width: max-content;
  animation: rx-event-marquee 22s linear infinite;
}
.rx-event-bar span {
  flex: 0 0 auto;
  padding: 17px 22px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.13);
  font: 800 11px 'Syne', sans-serif;
  letter-spacing: .16em;
  white-space: nowrap;
}
@keyframes rx-event-marquee { to { transform: translateX(-50%); } }

/* MANIFESTO */
.rx-intro {
  padding: clamp(100px, 11vw, 165px) clamp(24px, 7vw, 108px);
  grid-template-columns: 1.15fr .65fr;
  background: var(--rx-cream);
  gap: 11vw;
}
.rx-intro h2 {
  max-width: 850px;
  font: 500 clamp(58px, 7.6vw, 114px)/.88 'Cormorant Garamond', serif;
  letter-spacing: -.055em;
}
.rx-intro h2 em { color: var(--rx-terracotta); font-weight: 500; }
.rx-intro-copy { max-width: 570px; color: #74645c; }
.rx-facts { margin-top: 44px; border-color: rgba(36,21,15,.28); }
.rx-facts div { padding: 25px 0; }
.rx-facts b { font: 600 24px 'Cormorant Garamond', serif; }

/* SEASON 2 — FILM + RADIO */
.rx-season-media {
  padding: clamp(95px, 10vw, 155px) clamp(22px, 5vw, 78px);
  background: #087866;
  color: var(--rx-cream);
}
.rx-season-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3vw 9vw;
  align-items: end;
  margin-bottom: clamp(55px, 7vw, 95px);
}
.rx-season-head .rx-index { grid-column: 1 / -1; color: #d18a51; }
.rx-season-head h2 {
  margin: 0;
  font: 500 clamp(62px, 8vw, 118px)/.8 'Cormorant Garamond', serif;
  letter-spacing: -.055em;
}
.rx-season-head h2 em { color: #d18a51; font-weight: 500; }
.rx-season-head > p { margin: 0 0 .5em; max-width: 500px; color: rgba(244,240,231,.76); font-size: 18px; }
.rx-season-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.82fr); gap: clamp(28px,4vw,64px); align-items: start; max-width: 1320px; margin: 0 auto; }
.rx-sneak,.rx-radio { min-width: 0; }
.rx-media-label { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font: 700 11px 'Syne',sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.rx-media-label span { display: grid; place-items: center; width: 34px; height: 34px; background: #d18a51; color: #25100b; border-radius: 50%; }
.rx-sneak video { display: block; width: 100%; max-width: 760px; aspect-ratio: 16/9; object-fit: cover; background: #082b27; box-shadow: 14px 14px 0 #082b27; }
.rx-sneak > p { margin: 20px 0 0; color: rgba(244,240,231,.72); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.rx-radio { padding: clamp(24px,3vw,42px); background: var(--rx-cream); color: #25100b; box-shadow: 14px 14px 0 #d18a51; }
.rx-radio .rx-media-label { color: #087866; }
.rx-radio h3 { margin: 36px 0 20px; font: 500 clamp(44px,4.8vw,70px)/.82 'Cormorant Garamond',serif; letter-spacing: -.045em; }
.rx-radio > p { margin: 0 0 28px; color: #74645c; line-height: 1.6; }
.rx-radio iframe { display: block; border: 0; border-radius: 12px; }

/* THREE ACTS */
.rx-journey {
  padding: clamp(100px, 10vw, 150px) clamp(22px, 5vw, 78px);
  background: var(--rx-ink);
  color: var(--rx-cream);
}
.rx-journey-head {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: clamp(65px, 8vw, 110px);
}
.rx-journey-head .rx-index { grid-column: 1 / -1; color: #d18a51; }
.rx-journey-head h2 {
  margin: 0;
  font: 500 clamp(58px, 7.5vw, 108px)/.84 'Cormorant Garamond', serif;
  letter-spacing: -.055em;
}
.rx-journey-head h2 em { color: #d18a51; font-weight: 500; }
.rx-journey-head p { margin: 0; max-width: 520px; color: rgba(244,240,231,.7); font-size: 18px; }

.rx-journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 42px;
}
.rx-journey-track::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, #f4f0e7, #d18a51 52%, #9c4a2e);
}
.rx-journey-track div { position: relative; padding-top: 58px; }
.rx-journey-track b {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rx-cream);
  color: var(--rx-ink);
  font: 700 11px 'Syne', sans-serif;
}
.rx-journey-track strong { display: block; color: #d18a51; font: 700 12px 'Syne', sans-serif; letter-spacing: .12em; }
.rx-journey-track span { display: block; margin-top: 8px; color: rgba(244,240,231,.72); font-size: 14px; }

/* The timeline plays as a short ascent when it enters the viewport. */
.rx-journey-track.is-dynamic .rx-journey-step {
  opacity: .24;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.rx-journey-track.is-dynamic .rx-journey-step > b { opacity: 0; transform: scale(.65); }
.rx-journey-track.is-dynamic .rx-journey-step.is-passed,
.rx-journey-track.is-dynamic .rx-journey-step.is-current {
  opacity: 1;
  transform: none;
}
.rx-journey-track.is-dynamic .rx-journey-step.is-passed > b {
  opacity: 1;
  transform: scale(1);
  transition: opacity .3s ease, transform .45s cubic-bezier(.2,.85,.25,1.35);
}
.rx-journey-runner {
  --runner-x: 0px;
  --runner-y: 0px;
  --runner-turn: 0deg;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rx-cream);
  color: var(--rx-ink);
  font: normal 700 11px 'Syne', sans-serif;
  transform: translate(var(--runner-x), var(--runner-y)) rotate(var(--runner-turn));
  transition: transform .9s cubic-bezier(.62,.02,.3,1), background-color .45s ease, color .45s ease, box-shadow .45s ease;
  box-shadow: 0 0 0 5px rgba(244,240,231,.12);
}
.rx-journey-track.is-dynamic .rx-journey-runner { display: grid; place-items: center; }
.rx-journey-runner span {
  margin: 0;
  color: inherit;
  transform: rotate(calc(-1 * var(--runner-turn)));
  transition: transform .9s cubic-bezier(.62,.02,.3,1), opacity .2s ease;
}
.rx-journey-track[data-stage="2"] .rx-journey-runner { background: #d18a51; color: #25150f; box-shadow: 0 0 0 5px rgba(209,138,81,.17); }
.rx-journey-track[data-stage="3"] .rx-journey-runner { background: #9c4a2e; color: #fff; box-shadow: 0 0 0 5px rgba(156,74,46,.22); }

.rx-acts { gap: 1px; background: rgba(244,240,231,.28); padding: 1px; }
.rx-acts .rx-act-card { min-height: 640px; border: 0; }
.rx-act-face { padding: clamp(30px, 3vw, 48px); }
.rx-act-face span { top: clamp(30px, 3vw, 48px); left: clamp(30px, 3vw, 48px); color: rgba(244,240,231,.72); }
.rx-act-front::before { background: linear-gradient(180deg, rgba(10,8,6,.08), rgba(10,8,6,.88)); }
.rx-act-front h3 {
  font: 500 clamp(62px, 6.5vw, 102px)/.76 'Cormorant Garamond', serif;
  letter-spacing: -.055em;
}
.rx-act-front .rx-act-summary {
  max-width: 29ch;
  margin: 24px 0 0;
  color: rgba(244,240,231,.92);
  font: 500 clamp(14px, 1.1vw, 17px)/1.45 'DM Sans', sans-serif;
}
.rx-act-front small { color: var(--rx-gold); }
.rx-act-back { background: var(--rx-green-deep); }
.rx-act-card:nth-child(2) .rx-act-back { background: var(--rx-terracotta); }
.rx-act-card:nth-child(3) .rx-act-back { background: var(--rx-ink); }
.rx-act-back h3 { font: 500 clamp(42px, 4.2vw, 68px)/.88 'Cormorant Garamond', serif; letter-spacing: -.045em; }
.rx-journey-close {
  margin: clamp(55px, 6vw, 90px) 0 0;
  text-align: center;
  color: #d18a51;
  font: italic 500 clamp(30px, 4vw, 58px)/1 'Cormorant Garamond', serif;
}

/* TICKETS */
.rx-tickets { padding: clamp(72px, 7vw, 105px) clamp(22px, 5vw, 78px) clamp(90px, 9vw, 135px); background: #e9dfd0; }
.rx-ticket-head { gap: 22px 8vw; margin-bottom: 46px; }
.rx-ticket-head h2 { font: 500 clamp(58px, 7.5vw, 108px)/.88 'Cormorant Garamond', serif; }
.rx-formulas { gap: 14px; border: 0; }
.rx-formula {
  min-height: 470px;
  padding: 30px 24px;
  border: 1px solid rgba(36,21,15,.2);
  background: rgba(244,240,231,.46);
  transition: transform .3s ease, background .3s ease;
}
.rx-formula:hover { transform: translateY(-8px); background: var(--rx-cream); }
.rx-formula:last-child { background: var(--rx-terracotta); }
.rx-formula h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.rx-add { transition: background .2s ease, color .2s ease; }
.rx-add:hover { background: var(--rx-terracotta); }

.rx-note { background: var(--rx-green-deep); padding: clamp(100px, 11vw, 170px) clamp(24px, 7vw, 108px); }
.rx-note h2 { font: 500 clamp(62px, 8vw, 120px)/.84 'Cormorant Garamond', serif; }
.rx-note a { color: var(--rx-gold); }

@media (max-width: 900px) {
  .rx-hero .signature-title { width: 58%; }
  .rx-hero .signature-title h1 { font-size: 11vw; }
  .mega > .rx-hero-visual, .mega > .rx-hero-shade { width: 40%; }
  .rx-intro { grid-template-columns: 1fr; }
  .rx-journey-head { grid-template-columns: 1fr; }
  .rx-season-head { grid-template-columns: 1fr; }
  .rx-season-grid { grid-template-columns: 1fr; }
  .rx-formulas { gap: 0; }
}

@media (max-width: 640px) {
  .mega.dark.rx-hero { min-height: calc(100svh - 72px); padding: 32px 20px 74px; }
  .mega > .rx-hero-visual, .mega > .rx-hero-shade { width: 40%; }
  .rx-hero .kicker { width: 100%; }
  .rx-hero .signature-title { width: 64%; gap: 9px; }
  .rx-hero .signature-title h1 { font-size: 14vw; }
  .rx-hero .signature-badge { font-size: 9px; padding: 10px 6px; }
  .rx-title-tagline { font-size: 24px; max-width: 13ch; }
  .rx-hero .hero-foot { width: 100%; }
  .rx-event-bar span { padding: 15px 25px 14px; font-size: 9px; }
  .rx-acts .rx-act-card { min-height: 560px; }
  .rx-journey { padding: 80px 20px; }
  .rx-season-media { padding: 80px 20px; }
  .rx-season-head h2 { font-size: 18vw; }
  .rx-radio { box-shadow: 8px 8px 0 #d18a51; }
  .rx-journey-track { grid-template-columns: 1fr; gap: 28px; padding-left: 32px; }
  .rx-journey-track::before { top: 18px; bottom: 18px; left: 17px; right: auto; width: 2px; height: auto; }
  .rx-journey-track div { padding: 0 0 0 34px; min-height: 76px; }
  .rx-journey-track b { left: -32px; }
  .rx-journey-runner { top: 0; left: -32px; }
}

@media (prefers-reduced-motion: reduce) {
  .rx-event-bar { overflow-x: auto; }
  .rx-event-track { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rx-hero-visual .rx-piece-10 img { animation: none; }
  .rx-acts-badge b { display: none; animation: none; }
  .rx-acts-badge b:first-child { display: block; opacity: 1; transform: translate(-50%, -50%) rotate(180deg); }
  .rx-journey-track.is-dynamic .rx-journey-step { opacity: 1; transform: none; }
  .rx-journey-track.is-dynamic .rx-journey-step > b { opacity: 1; transform: none; }
  .rx-journey-track.is-dynamic .rx-journey-runner { display: none; }
}
