:root {
  --navy: #0b1f3a;
  --navy-soft: #183452;
  --green: #3fae5a;
  --green-soft: #eef9f1;
  --ink: #102642;
  --muted: #657184;
  --line: #dde2e8;
  --surface: #ffffff;
  --page: #f8fafc;
  --shadow: 0 18px 38px rgba(11, 31, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: relative;
  z-index: 20;
  min-height: 90px;
  background: var(--navy);
  box-shadow: 0 6px 16px rgba(11, 31, 58, 0.12);
}

.nav-shell {
  width: min(1168px, calc(100% - 48px));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand img {
  display: block;
  width: 86px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.primary-nav a {
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #b9ebc4;
}

.nav-cta {
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: #b9ebc4;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.detail-hero {
  min-height: 520px;
  display: flex;
  align-items: stretch;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(5, 15, 29, 0.9) 0%, rgba(5, 15, 29, 0.7) 46%, rgba(5, 15, 29, 0.28) 100%),
    url("./this-is-a-clue-trivia-night.jpg");
  background-size: cover;
  background-position: center 48%;
}

.hero-shell {
  width: min(1168px, calc(100% - 48px));
  margin: 0 auto;
  padding: 66px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.back-link {
  margin-bottom: 32px;
  color: #75d88b;
  font-weight: 750;
}

.back-link:hover,
.back-link:focus-visible {
  color: #aff0bd;
}

.partner-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(5, 15, 29, 0.2);
}

.partner-label span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 11px;
}

.location {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 700;
}

.detail-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 6.3vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-summary {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.detail-section {
  padding: 72px 24px 88px;
  background:
    radial-gradient(circle at 88% 8%, rgba(63, 174, 90, 0.07), transparent 26%),
    #fff;
}

.detail-grid {
  width: min(1168px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.main-card {
  padding: 42px;
}

.partner-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.partner-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid #d9e1ea;
  border-radius: 15px;
  background: #07101e;
  box-shadow: 0 9px 24px rgba(11, 31, 58, 0.14);
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-card h2,
.facts-card h2,
.planning-callout h2,
.booking-dialog h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.main-card h2 {
  margin-top: 34px;
  font-size: 25px;
}

.partner-intro h2 {
  margin-top: 0;
}

.main-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.divider {
  height: 1px;
  margin: 32px 0 0;
  background: var(--line);
}

.included-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.included-item {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid #e0e8e2;
  border-radius: 13px;
  background: #fbfefc;
  color: var(--ink);
  font-size: 14px;
}

.included-item span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.proof-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #dbe6de;
  border-radius: 15px;
  background: linear-gradient(135deg, #f4fbf6, #fbfdfc);
}

.proof-strip div {
  padding: 20px 16px;
  text-align: center;
}

.proof-strip div + div {
  border-left: 1px solid #dbe6de;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--ink);
  font-size: 21px;
}

.proof-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.sidebar {
  position: sticky;
  top: 24px;
}

.facts-card {
  padding: 34px 32px;
}

.facts-card h2 {
  font-size: 21px;
}

.facts-list {
  margin: 14px 0 26px;
}

.facts-list div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts-list dt {
  margin-bottom: 6px;
  color: #8a93a1;
  font-size: 12px;
  font-weight: 750;
}

.facts-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.facts-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 9px 18px rgba(11, 31, 58, 0.13);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #102b4d;
  box-shadow: 0 12px 22px rgba(11, 31, 58, 0.18);
}

.button-secondary {
  margin-top: 10px;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
}

.facts-card .button {
  width: 100%;
}

.preferred-note {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  padding: 20px;
  border: 1px solid #dbe6de;
  border-radius: 16px;
  background: var(--green-soft);
}

.preferred-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.preferred-note strong {
  font-size: 14px;
}

.preferred-note p {
  margin: 5px 0 0;
  color: #597163;
  font-size: 12px;
  line-height: 1.45;
}

.planning-callout {
  width: min(1168px, calc(100% - 48px));
  margin: 0 auto 88px;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #cce7d2;
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(63, 174, 90, 0.16), transparent 34%),
    linear-gradient(135deg, #f7fcf8, #eef9f1);
  box-shadow: var(--shadow);
}

.planning-callout h2 {
  font-size: clamp(27px, 4vw, 38px);
}

.planning-callout p:not(.eyebrow) {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.button-wide {
  min-width: 244px;
}

.site-footer {
  min-height: 330px;
  padding: 58px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.site-footer > img {
  width: 96px;
  height: auto;
}

.site-footer > p {
  margin: 28px 0 22px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  font-weight: 750;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: #b9ebc4;
}

.site-footer .mockup-note {
  margin: 40px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(3, 14, 29, 0.34);
}

.booking-dialog::backdrop {
  background: rgba(4, 15, 29, 0.72);
  backdrop-filter: blur(5px);
}

.booking-form,
.success-state {
  padding: 36px;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.booking-dialog h2 {
  font-size: 32px;
}

.dialog-copy {
  margin: 12px 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.booking-form > label {
  margin-top: 16px;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cad2dc;
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: #fff;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 174, 90, 0.13);
}

.booking-form .button {
  width: 100%;
  margin-top: 20px;
}

.form-disclaimer {
  margin: 10px 0 0;
  color: #8a93a1;
  font-size: 11px;
  text-align: center;
}

.success-state {
  min-height: 340px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.success-state[hidden] {
  display: none;
}

.success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 26px;
  font-weight: 900;
}

.success-state p {
  max-width: 460px;
  margin: 12px auto 24px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 940px) {
  .nav-shell {
    min-height: 78px;
  }

  .site-header {
    min-height: 78px;
  }

  .brand img {
    width: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    padding: 20px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 24px rgba(5, 15, 29, 0.2);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 2px;
  }

  .primary-nav .nav-cta {
    margin-top: 10px;
    padding: 13px 18px;
    text-align: center;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .facts-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }

  .facts-card h2,
  .facts-list,
  .facts-card .button {
    grid-column: 1 / -1;
  }

  .planning-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .hero-shell {
    width: min(100% - 32px, 1168px);
  }

  .detail-hero {
    min-height: 510px;
    background-image:
      linear-gradient(90deg, rgba(5, 15, 29, 0.9), rgba(5, 15, 29, 0.58)),
      url("./this-is-a-clue-trivia-night.jpg");
    background-position: 58% center;
  }

  .hero-shell {
    padding: 54px 0 60px;
  }

  .back-link {
    margin-bottom: 26px;
  }

  .detail-hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .hero-summary {
    font-size: 17px;
  }

  .detail-section {
    padding: 40px 16px 54px;
  }

  .main-card,
  .facts-card {
    padding: 26px 22px;
    border-radius: 17px;
  }

  .partner-intro {
    align-items: flex-start;
  }

  .partner-logo {
    width: 60px;
    height: 60px;
  }

  .included-grid,
  .proof-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div + div {
    border-top: 1px solid #dbe6de;
    border-left: 0;
  }

  .facts-card {
    display: block;
  }

  .planning-callout {
    width: calc(100% - 32px);
    margin-bottom: 56px;
    padding: 27px 23px;
    border-radius: 17px;
  }

  .button-wide {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    min-height: 310px;
  }

  .booking-form,
  .success-state {
    padding: 30px 22px;
  }

  .booking-dialog h2 {
    padding-right: 30px;
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
