@font-face {
  font-family: "Strenuous";
  src: url("assets/strenuous bl.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "Laca";
  src: url("assets/Laca Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --orange: #ff5900;
  --purple: #6831ff;
  --turquoise: #0ad6cc;
  --yellow: #f6bb00;
  --charcoal: #24242a;
  --paper: #f4f5f2;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.24);
  --display: "Strenuous", Impact, sans-serif;
  --body: "Laca", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html, body { margin: 0; width: 100%; min-width: 320px; height: 100%; min-height: 100%; }

body {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button { color: inherit; font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1rem;
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: none; }

.kiosk {
  --scene: var(--purple);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
  background: var(--charcoal);
}

.backdrop, .backdrop__image, .backdrop__color { position: absolute; inset: 0; }
.backdrop { z-index: -2; overflow: hidden; }
.backdrop__image {
  background: url("assets/slide-01.jpg") center / cover no-repeat;
  filter: saturate(.9) contrast(1.04);
  opacity: .82;
  transform: scale(1.04);
  transition: background-image .8s var(--ease), opacity .8s var(--ease), transform 9s ease;
}
.scene-changing .backdrop__image { opacity: .44; transform: scale(1.09); }
.backdrop__color {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--scene) 72%, transparent) 0%, color-mix(in srgb, var(--scene) 63%, transparent) 54%, color-mix(in srgb, var(--charcoal) 38%, transparent) 100%),
    linear-gradient(0deg, rgba(36, 36, 42, .58) 0%, rgba(36, 36, 42, .12) 52%, rgba(36, 36, 42, .26) 100%);
  transition: background .7s var(--ease);
}

.shape { position: absolute; pointer-events: none; border: 2px solid rgba(255,255,255,.18); }
.shape--one {
  width: min(23vw, 25rem); aspect-ratio: 1; right: 13%; top: -13%;
  border-radius: 50%; animation: drift 12s ease-in-out infinite alternate;
}
.shape--two {
  width: min(12vw, 13rem); aspect-ratio: 1; right: -2%; bottom: 18%;
  background: color-mix(in srgb, var(--yellow) 75%, transparent); border: 0;
  transform: rotate(32deg); animation: rotateFloat 18s ease-in-out infinite alternate;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto minmax(14rem, 1fr);
  align-items: center;
  gap: 2rem;
  min-height: clamp(5.5rem, 10vh, 8.5rem);
  padding: 1.5rem clamp(2rem, 4vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.brand-crop {
  width: min(15rem, 22vw);
}
.brand {
  display: block;
  width: 100%;
  height: auto;
}
.event-date { text-align: center; text-transform: uppercase; letter-spacing: .13em; font-size: clamp(.66rem, .8vw, .92rem); }
.event-date span, .event-date strong { display: block; }
.event-date strong { margin-top: .35rem; color: rgba(255,255,255,.68); font-weight: 400; }

.demo-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(36,36,42,.18);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: clamp(.62rem, .65vw, .76rem);
  cursor: pointer;
  transition: background .25s ease, transform .25s var(--ease);
}
.demo-trigger:hover { background: rgba(36,36,42,.42); }
.demo-trigger:active { transform: translateY(1px); }
.live-dot { width: .55rem; aspect-ratio: 1; background: var(--turquoise); border-radius: 50%; animation: pulse 1.8s ease-in-out infinite; }

.stage {
  display: grid;
  grid-template-columns: minmax(12rem, .72fr) minmax(28rem, 1.8fr) minmax(18rem, .78fr);
  min-height: 0;
  overflow: hidden;
  padding: clamp(2rem, 5vh, 5rem) clamp(2rem, 4vw, 5rem);
}

.timeline-column { container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; padding-right: clamp(2rem, 3vw, 4rem); border-right: 1px solid var(--line); }
.eyebrow, .rail-label, .control-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
  font-size: clamp(.7rem, .75vw, .92rem);
}
.eyebrow { color: var(--yellow); }
.clock { display: flex; align-items: baseline; margin: auto 0; max-width: 100%; font-family: var(--display); font-size: clamp(4rem, min(9.5vw, 48cqi), 10.5rem); line-height: .72; letter-spacing: -.035em; white-space: nowrap; }
.clock i { font: inherit; color: var(--yellow); animation: blink 1s steps(1) infinite; }
.progress-copy { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .1em; font-size: clamp(.66rem, .7vw, .82rem); }
.progress-track { height: 4px; overflow: hidden; background: rgba(255,255,255,.22); }
.progress-track span { display: block; width: 48%; height: 100%; background: var(--yellow); transform-origin: left; transition: width 1s var(--ease); }

.current-event {
  align-self: center;
  min-width: 0;
  max-height: 100%;
  overflow: hidden;
  padding: 1rem clamp(2.5rem, 5vw, 7rem);
  max-width: 70rem;
}
.current-event.is-exiting { animation: eventOut .45s var(--ease) both; }
.current-event.is-entering > * { animation: eventIn .75s var(--ease) both; }
.current-event.is-entering > *:nth-child(2) { animation-delay: .08s; }
.current-event.is-entering > *:nth-child(3) { animation-delay: .16s; }
.current-event.is-entering > *:nth-child(4) { animation-delay: .24s; }
.status-line { display: flex; align-items: center; gap: 1rem; }
.status-pill {
  display: inline-flex; align-items: center; padding: .48rem .78rem;
  background: var(--yellow); color: var(--charcoal); text-transform: uppercase;
  letter-spacing: .13em; font-size: clamp(.67rem, .7vw, .82rem); font-weight: 800;
}
.status-pill::before { content: ""; width: .48rem; aspect-ratio: 1; margin-right: .55rem; border-radius: 50%; background: var(--orange); animation: pulse 1.8s ease-in-out infinite; }
.event-range { text-transform: uppercase; letter-spacing: .12em; font-size: clamp(.76rem, .85vw, 1rem); }
.current-event h1 {
  max-width: 15ch;
  margin: clamp(1.3rem, 2.5vh, 2.5rem) 0 clamp(1.3rem, 2.5vh, 2.4rem);
  font-family: var(--display);
  font-size: clamp(2.7rem, min(5.3vw, 9dvh), 6.6rem);
  line-height: .88;
  letter-spacing: -.018em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(36,36,42,.18);
}
.event-summary { max-width: 58ch; margin: 0; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.25vw, 1.45rem); line-height: 1.35; }
.event-meta { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 3vw, 3rem); margin-top: clamp(1.5rem, 3.5vh, 3rem); }
.meta-item { display: inline-flex; align-items: center; gap: .65rem; font-size: clamp(.85rem, 1vw, 1.1rem); }
.meta-item svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; }

.side-rail { display: grid; grid-template-rows: 1.1fr .9fr; min-width: 0; border-left: 1px solid var(--line); }
.next-event, .value-card { display: flex; flex-direction: column; padding-left: clamp(1.7rem, 2.5vw, 3.5rem); }
.next-event { padding-bottom: clamp(1.5rem, 3vh, 3rem); border-bottom: 1px solid var(--line); }
.rail-label { display: flex; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.66); }
.next-event h2 { max-width: 14ch; margin: auto 0 .5rem; font-family: var(--display); font-size: clamp(1.75rem, 2.4vw, 3.2rem); line-height: .95; text-transform: uppercase; }
.next-event > p { margin: 0; color: rgba(255,255,255,.7); font-size: clamp(.82rem, .9vw, 1rem); }
.countdown { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.countdown span { color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.countdown strong { font-family: var(--display); font-size: clamp(1.7rem, 2vw, 2.6rem); line-height: .8; font-weight: 700; }
.value-card { justify-content: center; padding-top: clamp(1.5rem, 3vh, 3rem); }
.value-number { margin: auto 0 .4rem; font-family: var(--display); font-size: clamp(3.5rem, 5.7vw, 7.2rem); line-height: .72; color: var(--yellow); white-space: nowrap; }
.value-copy { max-width: 25ch; margin: .7rem 0 0; font-size: clamp(.9rem, 1.05vw, 1.18rem); line-height: 1.3; }
.value-card.fact-changing > * { animation: factIn .55s var(--ease) both; }

.ticker {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  min-height: clamp(4.5rem, 7vh, 6rem);
  background: var(--paper);
  color: var(--charcoal);
}
.ticker__label { display: flex; align-items: center; padding: 0 clamp(2rem, 4vw, 5rem); background: var(--yellow); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: clamp(.68rem, .75vw, .88rem); }
.ticker__viewport { display: flex; align-items: center; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker__track span { display: flex; align-items: center; white-space: nowrap; font-size: clamp(.86rem, .95vw, 1.05rem); }
.ticker__track span::after { content: ""; width: .45rem; aspect-ratio: 1; margin: 0 2.7rem; background: var(--orange); transform: rotate(45deg); }
.slide-counter { display: flex; align-items: center; gap: .65rem; min-width: 8.5rem; padding: 0 2rem; border-left: 1px solid #d8d9d4; font-variant-numeric: tabular-nums; font-size: .75rem; }
.slide-counter i { width: 2rem; height: 1px; background: currentColor; }

.announcement {
  position: fixed;
  z-index: 8;
  left: 50%;
  bottom: clamp(6.5rem, 10vh, 9rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  width: min(46rem, calc(100vw - 3rem));
  padding: 1.2rem 1.4rem 1.5rem;
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: 1.2rem 1.2rem 0 rgba(36,36,42,.25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 130%);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.announcement.is-visible { opacity: 1; transform: translate(-50%, 0); }
.announcement__mark { display: grid; place-items: center; width: 3.3rem; aspect-ratio: 1; background: var(--orange); color: white; }
.announcement__mark svg { width: 1.65rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.announcement p { margin: .15rem 0 .28rem; color: #6b6c70; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 800; }
.announcement strong { display: block; font-family: var(--display); font-size: clamp(1.25rem, 1.7vw, 1.85rem); line-height: 1; text-transform: uppercase; }
.announcement__timer { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #dbdcd8; }
.announcement__timer span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; }
.announcement.is-visible .announcement__timer span { animation: noticeTimer 7s linear forwards; }

.demo-panel {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  width: min(27rem, 100vw);
  height: 100dvh;
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: -1.5rem 0 3.5rem rgba(36,36,42,.25);
  transform: translateX(110%);
  transition: transform .55s var(--ease);
}
.demo-panel.is-open { transform: none; }
.demo-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem; border-bottom: 1px solid #d7d8d4; }
.demo-panel__head p { margin: 0 0 .25rem; color: #76777a; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.demo-panel__head strong { font-size: 1.15rem; }
.icon-button { display: grid; place-items: center; width: 2.7rem; aspect-ratio: 1; border: 1px solid #c9cac6; background: transparent; cursor: pointer; }
.icon-button svg { width: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.demo-panel__body { padding: 2rem 1.6rem; }
.control-label { margin: 0 0 .8rem; color: #707175; }
.control-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; margin-bottom: 2.2rem; }
.control-button, .message-list button { min-height: 3rem; border: 1px solid #c9cac6; background: white; cursor: pointer; transition: transform .2s var(--ease), background .2s ease, color .2s ease; }
.control-button:hover, .message-list button:hover { background: #e7e8e4; }
.control-button:active, .message-list button:active { transform: translateY(1px); }
.control-button--primary { background: var(--orange); border-color: var(--orange); color: white; }
.control-button--primary:hover { background: #dd4d00; }
.message-list { display: grid; gap: .65rem; }
.message-list button { padding: .9rem 1rem; text-align: left; }
.shortcuts { margin: 2rem 0 0; color: #747579; font-size: .78rem; line-height: 1.6; }
kbd { padding: .13rem .35rem; border: 1px solid #c4c5c1; background: white; font: inherit; font-weight: 800; }

noscript { position: fixed; z-index: 30; inset: auto 1rem 1rem; padding: 1rem; background: white; color: var(--charcoal); }

@keyframes eventOut { to { opacity: 0; transform: translateY(-1.5rem); } }
@keyframes eventIn { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: none; } }
@keyframes factIn { from { opacity: 0; transform: translateY(.9rem); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .42; transform: scale(.7); } }
@keyframes blink { 50% { opacity: .15; } }
@keyframes drift { to { transform: translate(-2rem, 2.2rem) rotate(12deg); } }
@keyframes rotateFloat { to { transform: translate(-2rem, -1.4rem) rotate(66deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes noticeTimer { to { transform: scaleX(0); } }

@media (max-width: 1100px) {
  .stage { grid-template-columns: minmax(10rem, .6fr) minmax(25rem, 1.7fr); }
  .side-rail { display: none; }
  .current-event { padding-right: 1rem; }
}

@media (max-width: 720px), (orientation: portrait) {
  body { overflow: hidden; }
  .kiosk { min-height: 100dvh; overflow: hidden; }
  .topbar { grid-template-columns: 1fr auto; padding: 1rem 1.2rem; }
  .brand-crop { width: min(15rem, 58vw); }
  .event-date { display: none; }
  .stage { grid-template-columns: 1fr; align-content: center; gap: clamp(1rem, 3vh, 2rem); padding: clamp(1rem, 3vh, 2rem) 1.2rem; }
  .timeline-column { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; padding: 0 0 1.3rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .clock { grid-row: 1 / 3; grid-column: 2; font-size: clamp(4rem, 18vw, 7rem); }
  .progress-block { align-self: end; }
  .current-event { align-self: start; padding: 0; }
  .current-event h1 { margin: 1rem 0; font-size: clamp(2.25rem, min(10vw, 7.2dvh), 4.6rem); }
  .event-summary { font-size: .98rem; }
  .ticker { grid-template-columns: auto 1fr; }
  .ticker__label { padding: 0 1rem; }
  .slide-counter { display: none; }
  .shape--one { width: 55vw; right: -18%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
