:root {
  --bg: #202228;
  --panel: #2a2d34;
  --panel2: #30343c;
  --text: #fff;
  --muted: #c7c9ce;
  --coral: #ff705d;
  --orange: #ff9a43;
  --yellow: #f4ff00;
  --line: #484c55;
  --green: #4bd58a;
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #121317;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
button {
  font: inherit;
}
.app {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 64px 1fr 62px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #ffffff1a;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand img {
  width: 70px;
  height: 42px;
  object-fit: contain;
}
.brand div {
  display: grid;
  gap: 3px;
}
.brand strong {
  font-size: 12px;
  letter-spacing: 0.08em;
}
.brand span {
  font-size: 12px;
  color: #aeb0b5;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.global-clock {
  display: flex;
  align-items: stretch;
  gap: 5px;
  margin-right: 6px;
}
.top-actions .global-timer {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 126px;
  padding: 7px 12px;
  border-color: #f4ff0055;
  background: #f4ff000d;
}
.top-actions .global-timer:hover {
  background: #f4ff0018;
}
.global-timer span {
  color: var(--yellow);
  font-size: 20px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.global-timer small {
  color: #bfc1c6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.top-actions .global-reset {
  display: grid;
  width: 38px;
  padding: 0;
  place-items: center;
  color: #d6d7da;
  font-size: 18px;
}
.global-clock.running .global-timer {
  border-color: var(--coral);
}
.global-clock.running .global-timer span {
  color: var(--coral);
}
.global-clock.finished .global-timer {
  border-color: var(--coral);
  background: #ff705d22;
  animation: timer-alert 1s ease-in-out infinite;
}
.global-clock.finished .global-timer span,
.global-clock.finished .global-timer small {
  color: #ff8b7b;
}
@keyframes timer-alert {
  50% {
    box-shadow: 0 0 0 4px #ff705d22;
  }
}
.top-actions button,
.nav > button {
  padding: 9px 13px;
  border: 1px solid #ffffff24;
  border-radius: 10px;
  background: #ffffff0b;
  color: #eee;
  cursor: pointer;
}
.top-actions button:hover,
.nav > button:hover:not(:disabled) {
  background: #ffffff18;
}
.stage {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
}
.slide {
  position: relative;
  width: min(100%, 1280px);
  max-height: calc(100dvh - 154px);
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 25px 85px #0009;
  padding: 5.3% 6.2%;
  animation: enter 0.32s ease;
}
.slide:after {
  content: "";
  position: absolute;
  left: 6.2%;
  right: 6.2%;
  bottom: 4%;
  height: 1px;
  background: #ffffff18;
}
@keyframes enter {
  from {
    opacity: 0.2;
    transform: translateY(8px) scale(0.996);
  }
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.eyebrow {
  margin: 0 0 1.25%;
  color: var(--coral);
  font-size: clamp(10px, 0.75vw, 13px);
  font-weight: 800;
  letter-spacing: 0.11em;
}
.slide h1 {
  font-size: clamp(38px, 4.9vw, 74px);
  line-height: 1.01;
  letter-spacing: -0.045em;
}
.slide h2 {
  max-width: 92%;
  margin-bottom: 2.3%;
  font-size: clamp(27px, 3.2vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.lead {
  max-width: 85%;
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 20px);
  line-height: 1.45;
}
.slide-no {
  position: absolute;
  right: 4.4%;
  bottom: 4.8%;
  font-size: 12px;
  color: #8e9198;
}
.cover-copy {
  width: 52%;
  padding-top: 4%;
}
.cover-copy .eyebrow {
  margin-bottom: 13%;
}
.cover-copy p {
  margin-top: 5%;
  font-size: clamp(15px, 1.3vw, 21px);
  color: var(--muted);
  line-height: 1.45;
}
.cover-image {
  position: absolute;
  right: 5%;
  top: 16%;
  width: 45%;
  height: 61%;
  object-fit: cover;
  border-radius: 5px;
}
.cover-logo {
  position: absolute;
  right: 5%;
  top: 5%;
  width: 78px;
}
.number-list {
  display: grid;
  gap: 20px;
  margin-top: 4%;
}
.number-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}
.number-row > span {
  color: var(--coral);
  font-weight: 900;
  font-size: clamp(17px, 1.4vw, 23px);
}
.number-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(15px, 1.25vw, 20px);
}
.number-row p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 16px);
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  margin-top: 5%;
}
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.panel h3 {
  font-size: clamp(18px, 1.7vw, 27px);
  color: var(--coral);
}
.panel p {
  color: var(--muted);
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.5;
}
.bottom-callout {
  position: absolute;
  left: 6.2%;
  right: 6.2%;
  bottom: 9%;
  font-weight: 800;
  font-size: clamp(13px, 1.05vw, 17px);
}
.rsvp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 6%;
}
.rsvp button {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: white;
  text-align: left;
  cursor: pointer;
}
.rsvp button strong {
  display: block;
  margin-bottom: 9px;
  font-size: clamp(23px, 2.2vw, 34px);
}
.rsvp button:nth-child(1) strong {
  color: var(--coral);
}
.rsvp button:nth-child(2) strong {
  color: var(--orange);
}
.rsvp button.active {
  border-color: var(--yellow);
  background: #383b31;
  transform: translateY(-6px);
}
.response {
  margin-top: 30px;
  color: var(--yellow);
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 800;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 6%;
}
.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: white;
  text-align: left;
  cursor: pointer;
}
.step span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  font-weight: 900;
}
.step.active {
  border-color: var(--coral);
  background: #352a2b;
  transform: translateY(-6px);
}
.step.done span {
  background: var(--green);
}
.step p {
  color: var(--muted);
  line-height: 1.45;
}
.image-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5%;
  align-items: center;
  margin-top: 3%;
}
.image-split img {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  border-radius: 6px;
}
.choice-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.choice-tabs button {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #ddd;
  cursor: pointer;
}
.choice-tabs button.active {
  background: var(--coral);
  border-color: var(--coral);
  color: #111;
  font-weight: 800;
}
.choice-detail {
  min-height: 230px;
  padding: 30px;
  border-radius: 15px;
  background: var(--panel);
}
.choice-detail h3 {
  font-size: clamp(25px, 2.3vw, 36px);
  color: var(--orange);
}
.choice-detail p {
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 19px);
  line-height: 1.5;
}
.booking {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6%;
  align-items: center;
  margin-top: 3%;
}
.booking img {
  width: 100%;
  border-radius: 6px;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.slots button {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: white;
  cursor: pointer;
}
.slots button.active {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
  font-weight: 800;
}
.commitments {
  display: grid;
  gap: 16px;
  margin-top: 7%;
}
.commitments label {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  font-size: clamp(16px, 1.5vw, 23px);
  font-weight: 800;
  cursor: pointer;
}
.commitments input {
  width: 22px;
  height: 22px;
  accent-color: var(--yellow);
}
.commitments label:has(input:checked) {
  color: var(--yellow);
  border-color: var(--yellow);
  background: #36362c;
}
.practice {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 6%;
  align-items: center;
  margin-top: 3%;
}
.practice img {
  width: 100%;
  border-radius: 6px;
}
.timer {
  font-size: clamp(45px, 6vw, 88px);
  font-weight: 900;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}
.timer-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.timer-actions button {
  padding: 12px 20px;
  border: 0;
  border-radius: 9px;
  background: var(--coral);
  color: #111;
  font-weight: 800;
  cursor: pointer;
}
.timer-actions button + button {
  background: var(--panel2);
  color: white;
}
.checklist {
  display: grid;
  gap: 12px;
  margin-top: 4%;
}
.check-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: white;
  text-align: left;
  cursor: pointer;
}
.check-item > span {
  color: var(--coral);
  font-size: 18px;
  font-weight: 900;
}
.check-item strong {
  display: block;
  margin-bottom: 4px;
}
.check-item small {
  color: var(--muted);
}
.check-item.done {
  border-color: var(--green);
  opacity: 0.72;
}
.check-item.done > span {
  color: var(--green);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #bbb;
}
.nav > button {
  font-size: 19px;
  padding: 7px 12px;
}
.nav > button:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.progress {
  display: flex;
  gap: 5px;
}
.progress button {
  width: 20px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #444;
  cursor: pointer;
}
.progress button.done {
  background: #858585;
}
.progress button.active {
  width: 42px;
  background: linear-gradient(90deg, var(--coral), var(--yellow));
}
.nav > span {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.overview {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 5vh 6vw;
  border: 0;
  background: #15161af7;
  color: white;
}
.overview::backdrop {
  background: #111;
}
.overview header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto 30px;
}
.overview header small {
  color: var(--coral);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.overview header h2 {
  margin: 7px 0 0;
  font-size: clamp(32px, 4vw, 56px);
}
.overview header button {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: white;
  cursor: pointer;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: auto;
}
.overview-grid button {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  color: white;
  text-align: left;
  cursor: pointer;
}
.overview-grid button:hover,
.overview-grid button.active {
  border-color: var(--coral);
  transform: translateY(-3px);
}
.overview-grid span {
  color: var(--coral);
  font-weight: 900;
}
.overview-grid strong {
  margin: auto 0 7px;
  font-size: 17px;
}
.overview-grid small {
  color: #aaa;
}
@media (max-width: 850px) {
  .app {
    grid-template-rows: 58px 1fr 58px;
  }
  .slide {
    height: calc(100dvh - 144px);
    max-height: none;
    aspect-ratio: auto;
    overflow: auto;
    padding: 8% 7% 13%;
  }
  .slide:after {
    display: none;
  }
  .cover-copy {
    width: 70%;
  }
  .cover-image {
    opacity: 0.3;
    width: 55%;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .cols,
  .image-split,
  .booking,
  .practice {
    grid-template-columns: 1fr;
  }
  .image-split img,
  .booking img,
  .practice img {
    max-height: 220px;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 580px) {
  .stage {
    padding: 8px;
  }
  .slide {
    height: calc(100dvh - 132px);
    border-radius: 11px;
  }
  .brand div,
  .top-actions > #overviewBtn,
  .top-actions > #fullscreenBtn {
    display: none;
  }
  .topbar {
    padding: 0 12px;
  }
  .global-clock {
    margin-right: 0;
  }
  .top-actions .global-timer {
    min-width: 112px;
  }
  .global-timer span {
    font-size: 18px;
  }
  .brand img {
    width: 52px;
  }
  .rsvp {
    grid-template-columns: 1fr;
  }
  .progress button {
    width: 9px;
  }
  .progress button.active {
    width: 22px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .cover-copy {
    width: 100%;
  }
  .cover-image {
    right: -15%;
    width: 80%;
  }
  .number-row {
    grid-template-columns: 35px 1fr;
  }
  .slots {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
