/* Hustle Oslo — Luma-inspired dark signup UI
   Brand: purple #2e195e / #1a0f38 / #120a28, cream #fcf8e6, orange #df8026,
   light blue #4e83b1, deep blue #2b3e95. WCAG 2.2 AA on dark.
*/

:root {
  --purple: #2e195e;
  --purple-mid: #1a0f38;
  --purple-deep: #120a28;
  --cream: #fcf8e6;
  --orange: #df8026;
  --light-blue: #4e83b1;
  --deep-blue: #2b3e95;
  --text: #fcf8e6;
  --muted: #b8aec9;
  --muted-soft: #8f84a8;
  --error: #ff8a8a;
  --card: rgba(46, 25, 94, 0.55);
  --card-solid: #241447;
  --card-elevated: #2e195e;
  --glass: rgba(46, 25, 94, 0.45);
  --border: rgba(252, 248, 230, 0.12);
  --border-strong: rgba(252, 248, 230, 0.22);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 9999px;
  --focus: 0 0 0 3px rgba(223, 128, 38, 0.65);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --touch: 44px;
  --sticky-pad: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 15% -5%, rgba(78, 131, 177, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(223, 128, 38, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(43, 62, 149, 0.2), transparent 55%),
    var(--purple-deep);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--light-blue);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--orange);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cream);
  color: var(--purple-deep);
  padding: 0.75rem 1rem;
  z-index: 100;
  border-radius: 6px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Top bar — minimal brand chip */
.site-header {
  padding: 1rem 1.25rem 0.25rem;
}

.site-header-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--orange) 0%, #c96e1c 40%, var(--deep-blue) 100%);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(223, 128, 38, 0.35);
}

.brand h1 {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.tagline {
  display: none;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  min-width: var(--touch);
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  background: rgba(252, 248, 230, 0.08);
  border: 1px solid var(--border);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ig-link:hover {
  background: rgba(252, 248, 230, 0.14);
  color: var(--cream);
}

.ig-link:focus-visible {
  box-shadow: var(--focus);
}

.ig-link .ig-label {
  display: none;
}

@media (min-width: 380px) {
  .ig-link .ig-label {
    display: inline;
  }
}

main {
  max-width: 480px;
  margin: 0 auto;
  padding: 0.75rem 1.1rem calc(var(--sticky-pad) + 2rem);
}

/* Steps — subtle progress dots / pills */
.steps {
  display: flex;
  gap: 0.4rem;
  margin: 0.75rem 0 1.1rem;
  flex-wrap: wrap;
}

.step-pill {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0.4rem 0.25rem;
  min-height: 2rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  background: rgba(252, 248, 230, 0.06);
  color: var(--muted-soft);
  border: 1px solid transparent;
}

.step-pill.active {
  background: rgba(252, 248, 230, 0.14);
  color: var(--cream);
  border-color: var(--border-strong);
}

.step-pill.done {
  background: rgba(78, 131, 177, 0.25);
  color: #c5daf0;
}

/* Panels */
.panel {
  display: none;
}

.panel.active {
  display: block !important;
  animation: fadeIn 0.25s ease;
}

.panel:not(.active) {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.15rem 1.4rem;
  margin-bottom: 1rem;
}

.card h2,
.panel-title {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1.2;
}

.card h2:focus,
.panel-title:focus {
  outline: none;
}

.card h3 {
  margin: 1.25rem 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ─── Hero video (centered square tile) ──────────────────────────────────── */
.hero-visual {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1 / 1;
  max-height: 280px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 18px;
  background-color: var(--purple);
  background-image: url("assets/hero-poster.jpg");
  background-size: cover;
  background-position: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  background: transparent;
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-enclosure,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* ─── Landing intro (panel 1) ────────────────────────────────────────────── */
body.is-landing {
  background: #121214;
  color: #f4f4f5;
}

body.is-landing .site-header,
body.is-landing #step-nav {
  display: none !important;
}

body.is-landing main {
  padding-top: 0.35rem;
  padding-bottom: 0.75rem;
}

body.is-landing .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.35rem;
  padding-top: 1rem;
  color: #a1a1aa;
}

body.is-landing .site-footer a {
  color: #d4d4dc;
}

body.is-landing .site-footer a:hover {
  color: #ffffff;
}

.landing-panel {
  margin-bottom: 0.25rem;
}

.landing-logo {
  display: block;
  width: min(52%, 11.75rem);
  height: auto;
  margin: 0.15rem auto 0.95rem;
}

.landing-kicker {
  margin: 0.95rem 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #a1a1aa;
}

.landing-title {
  margin: 0 0 1.2rem;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.landing-title:focus {
  outline: none;
}

.landing-section {
  margin: 0 0 1.2rem;
}

.landing-label {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #c8c8d0;
  line-height: 1.3;
}

.landing-about {
  margin: 0;
  color: #d6d6de;
  font-size: 0.98rem;
  line-height: 1.45;
}

.class-schedule {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  display: grid;
  gap: 0.4rem;
  background: #1c1c1f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
}

.class-schedule li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  background: #2a2a2e;
  border-radius: 12px;
}

.class-schedule-name {
  font-weight: 600;
  color: #ffffff;
}

.class-schedule time {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #e4e4ea;
  white-space: nowrap;
}

.address-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.address-text {
  margin: 0;
  padding-top: 0.55rem;
  color: #f2f2f5;
  font-size: 0.98rem;
  line-height: 1.35;
}

.copy-address {
  appearance: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #f2f2f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.copy-address:hover {
  background: rgba(255, 255, 255, 0.06);
}

.copy-address .icon-check {
  display: none;
}

.copy-address.is-copied .icon-copy {
  display: none;
}

.copy-address.is-copied .icon-check {
  display: block;
}

.map-frame {
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: #d9d9de;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-frame:focus-within {
  box-shadow: var(--focus);
}

.upcoming-row[hidden] {
  display: none !important;
}

.upcoming-row {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.1rem 0.05rem 0.45rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.upcoming-row:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 12px;
}

.upcoming-card {
  flex: 0 0 8.5rem;
  scroll-snap-align: start;
  background: #2a2a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.9rem 0.8rem 0.85rem;
  min-height: 5.5rem;
}

.upcoming-date {
  margin: 0 0 0.28rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.upcoming-kind {
  margin: 0;
  color: #b4b4bc;
  font-size: 0.84rem;
  line-height: 1.3;
}

.upcoming-empty {
  margin: 0;
  color: #b4b4bc;
  font-size: 0.95rem;
}

.detail-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.detail-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #f4f4f5;
  font-size: 0.98rem;
  line-height: 1.35;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: #f4f4f5;
}

.landing-actions {
  display: grid;
  gap: 0.7rem;
  margin: 0.35rem 0 0.15rem;
}

.landing-actions .btn {
  width: 100%;
  min-height: 52px;
  font-size: 1.02rem;
  font-weight: 600;
}

.landing-actions .btn-primary {
  background: #ffffff;
  color: #111114;
  box-shadow: none;
}

.landing-actions .btn-primary:hover {
  background: #f4f4f6;
  color: #111114;
}

.landing-actions .btn-secondary {
  background: #2a2a2e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-actions .btn-secondary:hover {
  background: #35353a;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
}

@media (min-width: 800px) {
  body.is-landing main {
    padding-top: 2.25rem;
  }

  .landing-logo {
    margin-top: 0.25rem;
    margin-bottom: 1.15rem;
  }
}

.cancel-note {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  background: rgba(78, 131, 177, 0.18);
  border: 1px solid rgba(78, 131, 177, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #d4e4f2;
}

.cancel-note strong {
  color: var(--cream);
}

.cancel-note a {
  color: var(--cream);
  font-weight: 600;
}

/* Schedule */
.schedule-block {
  margin: 0 0 1.15rem;
  padding: 1rem 1.05rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.schedule-block--muted {
  background: rgba(252, 248, 230, 0.04);
}

.schedule-title {
  margin: 0 0 0.65rem !important;
  font-family: var(--font) !important;
  font-size: 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted) !important;
  font-weight: 600 !important;
}

.schedule-sub {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.schedule-sub:first-of-type {
  margin-top: 0.15rem;
}

.schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.7rem;
  background: rgba(18, 10, 40, 0.45);
  border-radius: 10px;
  font-size: 0.92rem;
}

.schedule-slot {
  font-weight: 700;
  color: var(--cream);
}

.schedule-list time {
  font-variant-numeric: tabular-nums;
  color: var(--light-blue);
  font-weight: 600;
}

.deadline-hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.empty-state {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--muted);
  background: var(--glass);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Event / ticket fieldsets */
.event-fieldset,
.ticket-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.ticket-fieldset legend {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
  padding: 0;
}

.event-list,
.ticket-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Shared selectable card with radio-check */
.event-option,
.ticket-option {
  position: relative;
}

.event-option input,
.ticket-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.event-option label,
.ticket-option label {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  cursor: pointer;
  min-height: var(--touch);
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.event-option label:hover,
.ticket-option label:hover {
  border-color: var(--border-strong);
  background: rgba(46, 25, 94, 0.65);
}

.event-option input:checked + label,
.ticket-option input:checked + label {
  border-color: rgba(252, 248, 230, 0.35);
  background: rgba(46, 25, 94, 0.75);
  box-shadow: 0 0 0 1px rgba(252, 248, 230, 0.12);
}

.event-option input:focus-visible + label,
.ticket-option input:focus-visible + label {
  box-shadow: var(--focus);
}

.radio-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 2px solid rgba(252, 248, 230, 0.35);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.radio-check::after {
  content: "";
  display: none;
  width: 10px;
  height: 6px;
  border-left: 2.5px solid #120a28;
  border-bottom: 2.5px solid #120a28;
  transform: rotate(-45deg) translateY(-1px);
}

.event-option input:checked + label .radio-check,
.ticket-option input:checked + label .radio-check {
  background: var(--cream);
  border-color: var(--cream);
}

.event-option input:checked + label .radio-check::after,
.ticket-option input:checked + label .radio-check::after {
  display: block;
}

.option-body {
  flex: 1;
  min-width: 0;
}

.event-date {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream);
  margin: 0 0 0.2rem;
}

.event-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-class {
  background: rgba(78, 131, 177, 0.3);
  color: #d4e4f2;
}

.badge-social {
  background: rgba(223, 128, 38, 0.28);
  color: #ffe0b8;
}

/* Tickets — Luma sheet feel */
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.sheet-header h2 {
  margin: 0;
}

.sheet-handle {
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-pill);
  background: rgba(252, 248, 230, 0.22);
}

.ticket-name {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream);
}

.ticket-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.price-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(223, 128, 38, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffe0b8;
}

.price-chip .amount {
  color: var(--cream);
  font-weight: 700;
}

.price-chip .tier-label {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
}

/* Student | Standard — one control above the ticket options */
.tier-segment {
  margin: 0 0 1.15rem;
  padding: 1.05rem 1.1rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.tier-segment legend {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.65rem;
  padding: 0;
}

.segmented-control {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(18, 10, 40, 0.45);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
}

.segmented-control .segment {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.segmented-control .segment input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.segmented-control .segment label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--cream);
  background: transparent;
}

.segmented-control .segment label:hover {
  background: rgba(252, 248, 230, 0.08);
}

.segmented-control .segment input:checked + label {
  background: var(--cream);
  color: var(--purple-deep);
  border-color: var(--cream);
}

.segmented-control .segment input:checked + label:hover {
  background: var(--cream);
}

.segmented-control .segment input:focus-visible + label {
  box-shadow: var(--focus);
}

.tier-status {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
}

.tier-segment .student-note {
  margin-top: 0.4rem;
}

.student-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Registration summary row (Luma-style) */
.reg-hero {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.reg-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(223, 128, 38, 0.5), transparent 55%),
    linear-gradient(145deg, var(--purple), var(--deep-blue));
}

.reg-hero-text {
  min-width: 0;
}

.reg-hero-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--cream);
  line-height: 1.3;
}

.reg-hero-meta {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ticket-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  min-height: var(--touch);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.ticket-summary-row .ts-name {
  font-weight: 600;
  color: var(--cream);
}

.ticket-summary-row .ts-price {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.summary-box {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.15rem;
  font-size: 0.92rem;
}

.summary-box dt {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.6rem;
}

.summary-box dt:first-child {
  margin-top: 0;
}

.summary-box dd {
  margin: 0.15rem 0 0;
  color: var(--cream);
  font-weight: 600;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-group label,
.form-group .label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.req {
  color: var(--orange);
  text-transform: none;
}

.optional {
  font-weight: 500;
  color: var(--muted-soft);
  font-size: 0.9em;
  text-transform: none;
  letter-spacing: 0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: var(--touch);
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: rgba(18, 10, 40, 0.55);
  color: var(--cream);
  transition: border-color 0.15s, background 0.15s;
}

.form-group input::placeholder {
  color: var(--muted-soft);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b8aec9' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--purple-mid);
  color: var(--cream);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--border-strong);
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"] {
  border-color: var(--error);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.15rem;
  min-height: var(--touch);
}

.checkbox-row input[type="checkbox"] {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.checkbox-row label {
  font-weight: 600;
  color: var(--cream);
  cursor: pointer;
  line-height: 1.4;
  padding-top: 0.1rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--error);
  display: none;
}

.field-error.visible {
  display: block;
}

.form-live {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--error);
  min-height: 1.25em;
}

.form-live:empty {
  display: none;
}

.first-timer-fields.hidden {
  display: none;
}

.label-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.label-row label {
  margin-bottom: 0;
  flex: 1;
}

.help-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch);
  height: var(--touch);
  min-width: var(--touch);
  min-height: var(--touch);
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(18, 10, 40, 0.5);
  color: var(--cream);
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.help-toggle:hover {
  background: rgba(252, 248, 230, 0.1);
}

.help-toggle[aria-expanded="true"] {
  background: var(--cream);
  color: var(--purple-deep);
  border-color: var(--cream);
}

.help-panel {
  margin: 0 0 0.55rem;
  padding: 0.85rem 1rem;
  background: rgba(78, 131, 177, 0.2);
  border: 1px solid rgba(78, 131, 177, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #d4e4f2;
}

.help-panel p {
  margin: 0;
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.confirm-txn {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.confirm-txn strong {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  word-break: break-all;
  color: var(--cream);
}

/* Vipps box */
.vipps-box {
  background: var(--glass);
  border: 1px solid rgba(223, 128, 38, 0.4);
  border-radius: var(--radius);
  padding: 1.15rem;
  margin: 1.15rem 0;
}

.vipps-box h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.vipps-amount {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0.25rem 0;
  letter-spacing: -0.02em;
}

.vipps-number {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: var(--orange);
}

.vipps-box > p {
  color: var(--muted);
  margin: 0.35rem 0;
}

.vipps-steps {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.vipps-steps li {
  margin-bottom: 0.4rem;
}

.vipps-steps strong {
  color: var(--cream);
}

.status-banner {
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  font-size: 0.92rem;
}

.status-banner.success {
  background: rgba(40, 160, 90, 0.2);
  color: #b8f0cc;
  border: 1px solid rgba(40, 160, 90, 0.4);
}

.status-banner.warning {
  background: rgba(223, 128, 38, 0.2);
  color: #ffe0b8;
  border: 1px solid rgba(223, 128, 38, 0.45);
}

.status-banner.error {
  background: rgba(200, 60, 60, 0.2);
  color: #ffb0b0;
  border: 1px solid rgba(200, 60, 60, 0.4);
}

.status-banner.pending {
  background: rgba(78, 131, 177, 0.22);
  color: #d4e4f2;
  border: 1px solid rgba(78, 131, 177, 0.4);
}

/* Buttons + sticky footers */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.actions--sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  margin: 0;
  padding: 0.85rem 1.1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(18, 10, 40, 0.96) 60%, rgba(18, 10, 40, 0.85));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  justify-content: stretch;
  align-items: stretch;
}

.actions--sticky .sticky-total {
  flex: 0 0 100%;
}

.actions--sticky .btn {
  flex: 1;
}

.actions--sticky .btn-secondary {
  flex: 0 0 auto;
  min-width: 5.5rem;
}

.sticky-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0 0.15rem;
}

.sticky-total .st-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.sticky-total .st-amount {
  color: var(--cream);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: var(--touch);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  transition: transform 0.1s, background 0.15s, opacity 0.15s, border-color 0.15s;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Primary = white pill, black text (Luma) */
.btn-primary {
  background: var(--cream);
  color: #120a28;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: #fff;
  color: #120a28;
}

.btn-secondary {
  background: rgba(252, 248, 230, 0.08);
  color: var(--cream);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(252, 248, 230, 0.14);
  border-color: rgba(252, 248, 230, 0.35);
}

.btn-block {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  text-align: center;
  padding: 0.5rem 1.25rem 1.5rem;
  font-size: 0.8rem;
  color: var(--muted-soft);
  max-width: 480px;
  margin: 0 auto;
}

.site-footer a {
  color: var(--muted);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--cream);
}

/* Hide sticky actions when panel not active — handled via panel structure */
.panel[hidden] .actions--sticky,
.panel:not(.active) .actions--sticky {
  display: none;
}

@media (min-width: 480px) {
  .hero-visual {
    width: min(100%, 320px);
    max-height: 320px;
  }

  .actions:not(.actions--sticky) {
    justify-content: flex-end;
  }

  .actions--sticky {
    border-radius: 20px 20px 0 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
  }
}

/* ─── Calendar date picker ───────────────────────────────────────────────── */
.lead--tight {
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.calendar-wrap {
  margin: 0 0 1rem;
  padding: 0.85rem 0.75rem 1rem;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
  text-align: center;
  flex: 1;
}

.cal-nav {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: rgba(18, 10, 40, 0.45);
  color: var(--cream);
  width: var(--touch);
  height: var(--touch);
  min-width: var(--touch);
  min-height: var(--touch);
  border-radius: 50%;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cal-nav:hover:not(:disabled) {
  background: rgba(252, 248, 230, 0.12);
}

.cal-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}

.cal-weekday {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-soft);
  padding: 0.25rem 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
}

.cal-day {
  appearance: none;
  border: 2px solid transparent;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  min-height: var(--touch);
  min-width: 0;
  padding: 0.2rem 0.1rem 0.35rem;
  border-radius: 12px;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  position: relative;
}

.cal-day--empty {
  visibility: hidden;
  pointer-events: none;
}

.cal-day--muted {
  color: var(--muted-soft);
  opacity: 0.55;
}

.cal-day--today .cal-day-num {
  color: var(--orange);
  font-weight: 700;
}

.cal-day--has-event {
  cursor: pointer;
}

.cal-day--has-event:hover {
  background: rgba(252, 248, 230, 0.08);
}

.cal-day--focused {
  background: rgba(78, 131, 177, 0.22);
  border-color: rgba(78, 131, 177, 0.55);
}

.cal-day--selected {
  background: rgba(252, 248, 230, 0.14);
  border-color: var(--cream);
  box-shadow: 0 0 0 1px rgba(252, 248, 230, 0.2);
}

.cal-day--selected.cal-day--focused {
  background: rgba(252, 248, 230, 0.18);
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(223, 128, 38, 0.45);
}

.cal-day:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.cal-day-num {
  line-height: 1.1;
}

.cal-dots {
  display: flex;
  gap: 3px;
  min-height: 6px;
  align-items: center;
  justify-content: center;
}

.cal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cal-dot--class {
  background: var(--light-blue);
}

.cal-dot--social {
  background: var(--orange);
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0.85rem 0 0;
  padding: 0.55rem 0.15rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Day event pills */
.day-pills {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1rem;
  min-height: 0;
}

.day-pills:empty {
  display: none;
}

.day-pills-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.event-pill {
  appearance: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  min-height: var(--touch);
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--cream);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.event-pill:hover {
  border-color: var(--border-strong);
  background: rgba(46, 25, 94, 0.65);
}

.event-pill[aria-pressed="true"] {
  border-color: rgba(252, 248, 230, 0.4);
  background: rgba(46, 25, 94, 0.8);
  box-shadow: 0 0 0 1px rgba(252, 248, 230, 0.15);
}

.event-pill:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.event-pill-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.1rem;
  border-radius: 50%;
  border: 2px solid rgba(252, 248, 230, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-pill[aria-pressed="true"] .event-pill-check {
  background: var(--cream);
  border-color: var(--cream);
}

.event-pill-check::after {
  content: "";
  display: none;
  width: 10px;
  height: 6px;
  border-left: 2.5px solid #120a28;
  border-bottom: 2.5px solid #120a28;
  transform: rotate(-45deg) translateY(-1px);
}

.event-pill[aria-pressed="true"] .event-pill-check::after {
  display: block;
}

.event-pill-body {
  flex: 1;
  min-width: 0;
}

.event-pill-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--cream);
}

.event-pill-meta {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.selected-nights-count {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--light-blue);
}

/* Multi-night ticket blocks */
.ticket-nights {
  display: grid;
  gap: 1.15rem;
}

.ticket-night {
  padding: 1rem 1.05rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ticket-night-header {
  margin-bottom: 0.75rem;
}

.ticket-night-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.ticket-night-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.ticket-night .schedule-block {
  margin-bottom: 0.85rem;
}

.ticket-night .ticket-list {
  margin-top: 0.35rem;
}

.nights-summary-list {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.nights-summary-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.nights-summary-item .nsi-main {
  min-width: 0;
}

.nights-summary-item .nsi-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cream);
}

.nights-summary-item .nsi-meta {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.nights-summary-item .nsi-price {
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
  flex-shrink: 0;
}
