/* ==========================================================
   HOMEPAGE COMPONENTS
   Featured film, A/B/C pathways, wave ribbon and editorial calendar.
   ========================================================== */

/* Quiet film frame, with functional playback, seeking, mute and fullscreen controls. */

.intro-grid-media {
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.story-intro h2 {
  font-size: clamp(44px,4.7vw,68px);
  margin-bottom: 24px;
}

.story-intro .large-paragraph {
  font-size: clamp(20px,2.1vw,28px);
  max-width: 510px;
  margin-bottom: 28px;
  line-height: 1.55;
}

.story-film {
  margin: 0;
  min-width: 0;
}

.film-frame {
  position: relative;
  border-radius: 25px;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--plum-dark);
  isolation: isolate;
}

.film-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(23,10,31,.22),transparent 30%,rgba(23,10,31,.64));
  z-index: 1;
  pointer-events: none;
  transition: opacity .35s;
}

.film-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.film-badge {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  right: 22px;
  color: var(--ivory);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.film-badge>span {
  border: 1px solid rgba(255,249,201,.45);
  font-size: 10px;
  letter-spacing: .08em;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 100px;
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}

.film-play-overlay {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255,249,201,.94);
  border: 1px solid var(--ivory);
  display: grid;
  place-items: center;
  backdrop-filter: blur(12px);
  z-index: 3;
  transition: opacity .25s,background .25s;
}

.film-play-overlay:hover {
  background: var(--aqua);
}

.play-triangle {
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--plum);
}

.film-caption {
  position: absolute;
  bottom: 30px;
  left: 28px;
  z-index: 2;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 37px;
  line-height: 1.12;
  transition: opacity .3s;
}

.film-caption>span,.film-caption>strong {
  display: block;
  font-weight: 400;
}

.film-caption>strong {
  font-style: italic;
  color: var(--aqua);
}

.film-frame.is-playing .film-play-overlay {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.film-frame.is-playing .film-caption,.film-frame.is-playing .film-badge {
  opacity: 0;
  pointer-events: none;
}

.film-frame.is-playing::after {
  opacity: 0;
}

.film-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 4px;
  min-width: 0;
}

.icon-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  height: 42px;
  width: 42px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  font-size: 17px;
  color: var(--plum);
  transition: background .2s,border-color .2s;
}

.icon-btn:hover {
  background: var(--soft-mint);
  border-color: var(--teal);
}

.icon-btn:disabled {
  opacity: .4;
  cursor: default;
}

.icon-btn svg,.copy-account svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.film-time {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.film-seek {
  min-width: 20px;
  flex: 1;
  accent-color: var(--plum);
  height: 24px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

/* The native range input otherwise adds a white iOS/Safari track. */
.film-seek::-webkit-slider-runnable-track {
  height: 5px;
  background: var(--surface-inset);
  border-radius: 20px;
  border: 1px solid var(--surface-border);
}
.film-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--plum);
  border: 2px solid var(--ivory);
}
.film-seek::-moz-range-track {
  height: 5px;
  background: var(--surface-inset);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
}
.film-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--plum);
  border: 2px solid var(--ivory);
  border-radius: 50%;
}

.sound-waves {
  display: none;
}

[data-video-action="mute"][aria-pressed="false"] .sound-waves {
  display: block;
}

[data-video-action="mute"][aria-pressed="false"] .sound-cross {
  display: none;
}

.film-note {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.5;
  min-height: 17px;
}

.film-frame:fullscreen {
  border-radius: 0;
  background: black;
}

.film-frame:fullscreen video {
  object-fit: contain;
}

/* A -> B -> C: the same dimensions and hierarchy, one moving plum spotlight. */

.pathways-section {
  background: linear-gradient(130deg,var(--surface-soft) 0%,var(--ivory) 100%);
  padding: 80px 0 56px;
}

.pathways-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 40px;
}

.pathways-heading h2 {
  font-size: clamp(46px,5vw,72px);
  line-height: 1.06;
  margin: 0;
}

.pathways-heading .lead {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 505px;
}

.pathways-grid-v3 {
  margin: 0;
  gap: 20px;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.pathways-grid-v3 .path-card-v3 {
  background: var(--surface-raised);
  color: var(--plum-dark);
  padding: 25px 25px 23px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid var(--surface-border);
  box-shadow: 0 14px 35px rgba(54,20,72,.045);
  transform: none;
  transition: background-color .8s ease,color .7s ease,border-color .3s,box-shadow .6s;
}

.pathways-grid-v3 .path-card-v3:nth-child(2) {
  background: var(--surface-card);
}

.pathways-grid-v3 .path-card-v3.is-current {
  background: var(--plum);
  color: var(--ivory);
  box-shadow: 0 15px 35px rgba(75,32,100,.13);
}

.pathways-grid-v3 .path-card-v3:focus-visible {
  outline-color: var(--teal);
  outline-offset: 6px;
}

.path-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .095em;
  text-transform: uppercase;
  line-height: 1.35;
  margin: 0 0 20px;
  min-height: 22px;
}

.path-topline .path-arrow {
  font-size: 23px;
  line-height: 1;
  opacity: .7;
}

.path-photo {
  height: 205px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 26px;
  background: var(--surface-inset);
}

.path-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 72%,rgba(29,10,42,.19));
  pointer-events: none;
}

.path-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transition: transform .7s var(--ease);
}

.path-photo.portrait-crop img {
  object-position: 50% 16%;
}

.path-card-v3:hover .path-photo img {
  transform: scale(1.035);
}

.path-letter {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  height: 57px;
  width: 57px;
  border-radius: 50%;
  font-size: 40px;
  line-height: 1;
  background: var(--ivory);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--plum);
  box-shadow: 0 0 0 5px rgba(255,249,201,.17);
  transition: background-color .7s,color .7s;
}

.is-current .path-letter {
  background: var(--aqua);
  color: var(--plum-dark);
}

.pathways-grid-v3 .path-card-v3 h3 {
  font-size: clamp(26px,2.3vw,32px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -.035em;
  margin: 0 0 15px;
}

.pathways-grid-v3 .path-card-v3 p {
  font-size: 14px;
  line-height: 1.65;
  opacity: 1;
  margin: 0 0 28px;
  max-width: none;
  min-height: 70px;
}

.pathways-grid-v3 .path-card-v3 .card-link {
  font-size: 12px;
  border-top-color: rgba(73,41,91,.25);
  margin-top: auto;
  padding-top: 17px;
}

.pathways-grid-v3 .path-card-v3.is-current .card-link {
  border-top-color: rgba(255,249,201,.35);
}

.path-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--aqua);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
}

.path-card-v3.is-current .path-progress {
  opacity: 1;
  transform: scaleX(var(--reading-progress,0));
}

.pathway-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}

.pathway-footnote {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.pathway-selectors {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pathway-selectors button {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  border: 1px solid var(--surface-border-strong);
  background: transparent;
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
  transition: background-color .4s,color .4s;
}

.pathway-selectors button[aria-pressed="true"] {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--ivory);
}

.motion-button {
  font-size: 11px;
  letter-spacing: .02em;
  border: 1px solid var(--surface-border-strong);
  background: transparent;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 100px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  white-space: nowrap;
}

.motion-button:hover {
  border-color: var(--plum);
  background: rgba(92,42,123,.06);
}

.motion-button span {
  font-size: 10px;
}

.motion-button.light {
  color: var(--ivory);
  border-color: rgba(255,249,201,.35);
}

.motion-button.light:hover {
  background: rgba(255,249,201,.09);
  border-color: var(--ivory);
}

/* The moving text is on an SVG textPath, NOT a straight marquee in a wavy box. */

.possibility-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 610px;
  background: var(--plum-dark);
  color: var(--ivory);
  padding: 78px 0 235px;
}

.possibility-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
  filter: saturate(.75);
}

.possibility-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg,#361448 0%,rgba(54,20,72,.96) 22%,rgba(54,20,72,.72) 48%,rgba(38,16,47,.38) 100%);
}

.possibility-copy {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.possibility-copy h2 {
  font-size: clamp(50px,5.5vw,80px);
  max-width: 780px;
  margin: 20px 0 18px;
  line-height: 1.02;
}

.possibility-copy h2 em {
  color: var(--aqua);
}

.possibility-copy p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  max-width: 430px;
  margin: 0;
  line-height: 1.65;
}

.ribbon-stage {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  height: 230px;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.forher-ribbon {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.ribbon-surface {
  stroke: var(--aqua);
  stroke-width: 64;
  stroke-linecap: butt;
}

.ribbon-shadow {
  stroke: rgba(14,5,23,.15);
  stroke-width: 70;
}

.ribbon-type {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .15px;
  fill: var(--plum-dark);
}

.ribbon-measure {
  visibility: hidden;
}

.ribbon-bottom {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ribbon-bottom>span {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

/* Compact calendar: one featured date, two short rows, details on demand. */

.agenda-section {
  padding: 84px 0 68px;
  background: var(--paper);
}

.agenda-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}

.agenda-heading h2 {
  font-size: clamp(40px,4.4vw,64px);
  line-height: 1.08;
  margin: 16px 0 16px;
}

.agenda-heading p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 700px;
}

.agenda-heading .btn {
  flex-shrink: 0;
  min-height: 47px;
  font-size: 12px;
}

.agenda-board {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.agenda-feature {
  background: var(--plum);
  color: var(--ivory);
  border-radius: 24px;
  padding: 27px 28px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 325px;
}

.agenda-feature::before {
  content: "";
  position: absolute;
  height: 200px;
  width: 200px;
  border: 1px solid rgba(255,249,201,.10);
  border-radius: 50%;
  top: -100px;
  right: -45px;
  box-shadow: 0 0 0 36px rgba(255,249,201,.025);
  pointer-events: none;
}

.agenda-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  min-height: 25px;
  font-weight: 600;
}

.agenda-feature-top>span:first-child {
  color: var(--aqua);
}

.agenda-location {
  opacity: .8;
  font-size: 9px;
  text-align: right;
}

.featured-event-main {
  display: grid;
  grid-template-columns: 127px minmax(0,1fr);
  gap: 29px;
  align-items: center;
  margin: 24px 0 23px;
  flex: 1;
}

.date-ticket {
  border-right: 1px solid rgba(255,249,201,.23);
  padding-right: 25px;
}

.ticket-day {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -.065em;
  font-size: 106px;
  line-height: .98;
  color: var(--aqua);
  margin-bottom: 15px;
}

.ticket-month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
}

.agenda-up-next {
  display: block;
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 9px;
}

.featured-event-copy h3 {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -.035em;
  margin: 0 0 12px;
}

.featured-event-copy h3:focus-visible {
  outline-color: var(--aqua);
}

.featured-event-copy p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin: 0;
}

.agenda-feature-bottom {
  border-top: 1px solid rgba(255,249,201,.22);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.source-link {
  font-size: 11px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  line-height: 1.4;
}

.source-link:hover {
  text-decoration: underline;
}

.save-date {
  min-height: 36px;
  border: 1px solid rgba(255,249,201,.4);
  border-radius: 100px;
  padding: 8px 13px;
  background: transparent;
  color: var(--ivory);
  font-size: 11px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.save-date:hover {
  background: rgba(255,249,201,.13);
}

.agenda-feature button:focus-visible,.agenda-feature a:focus-visible {
  outline-color: var(--aqua);
}

.agenda-next {
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  background: var(--surface-raised);
  padding: 22px 25px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.agenda-next-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  gap: 16px;
}

.agenda-next-top>span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--teal-readable);
  font-weight: 800;
}

.agenda-arrows {
  display: flex;
  gap: 8px;
}

.agenda-arrows .icon-btn {
  width: 35px;
  height: 35px;
  flex-basis: 35px;
  padding: 5px;
  font-size: 18px;
}

.agenda-rows {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.agenda-row {
  display: grid;
  grid-template-columns: 57px 1fr 20px;
  gap: 17px;
  align-items: center;
  padding: 16px 0;
  text-align: left;
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--surface-border);
  width: 100%;
}

.agenda-row:last-child {
  border-bottom: 0;
}

.agenda-row:hover .agenda-row-title {
  color: var(--teal-readable);
}

.agenda-row-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--surface-inset);
  border-radius: 12px;
  padding: 10px 4px;
  color: var(--plum);
  min-height: 63px;
}

.agenda-row-date strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1;
}

.agenda-row-date small {
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.agenda-row-title {
  font-size: 16px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.02em;
  display: block;
  color: var(--plum-dark);
}

.agenda-row-region {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.agenda-row-arrow {
  color: var(--plum);
  font-size: 21px;
}

.agenda-count {
  font-size: 10px;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.5;
}

.calendar-disclaimer {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 17px 0 0;
}

.dates-dialog {
  border: 0;
  border-radius: 24px;
  max-width: min(640px,calc(100% - 30px));
  width: 100%;
  max-height: 85dvh;
  overflow: auto;
  padding: 28px 32px;
  color: var(--ink);
  background: var(--surface-raised);
  box-shadow: 0 30px 100px rgba(29,9,40,.25);
}

.dates-dialog::backdrop {
  background: rgba(27,12,37,.6);
  backdrop-filter: blur(5px);
}

.dates-dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
}

.dates-dialog-top h2 {
  font-size: 40px;
  margin: 14px 0 6px;
}

.dialog-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 10px 0 20px;
}

.dates-list {
  display: flex;
  flex-direction: column;
}

.dates-list .agenda-row {
  padding: 12px 0;
}

.dates-list .agenda-row-title {
  font-size: 16px;
}

/* Brand refresh: legible labels above programme photographs. */
.pathways-grid-v3 .path-card-v3 { padding-top: 30px; overflow: visible; }
.path-topline { min-height: 0; margin-bottom: 20px; align-items: flex-start; line-height: 1.55; }
.path-topline > span:first-child { min-width: 0; white-space: normal; overflow-wrap: break-word; }
.path-topline .path-arrow { flex: 0 0 18px; }
.path-photo { background: var(--ivory); }
.path-photo img { object-position: center center; }
