:root {
  color-scheme: light;
  --paper: #f7f4ef;
  --indigo: #2e2a44;
  --saffron: #e9c46a;
  --saffron-deep: #d4a94a;
  --night: #1a1828;
  --night-soft: #252238;
  --muted: #5b5670;
  --line: #d8d0c2;
  --cream: #f7f4ef;
  --radius: 4px;
  --arch: 50% 50% 0 0 / 26% 26% 0 0;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--indigo);
  font: 400 1rem/1.6 var(--sans);
  overflow-x: hidden;
}

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

a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--saffron);
  color: var(--indigo);
  padding: 8px 14px;
  z-index: 10;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.header-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--indigo);
}
.brand-arch {
  width: 20px;
  height: 26px;
  border: 2px solid var(--saffron-deep);
  border-bottom: 0;
  border-radius: var(--arch);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--saffron-deep); }

/* hero */
.hero {
  background: var(--night);
  color: var(--cream);
  padding: 48px 0 64px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero .lead { color: #cfc9dc; }
.hero h1 { color: var(--cream); }
.arch-frame {
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--night-soft);
  aspect-ratio: 4 / 5;
  position: relative;
}
.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arch-frame.wide { aspect-ratio: 4 / 3; }

.candle {
  display: inline-block;
  width: 12px;
  height: 44px;
  background: linear-gradient(var(--cream), #e4dccd);
  border-radius: 2px;
  position: relative;
  margin-bottom: 14px;
}
.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 10px;
  height: 18px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 70%, #fff3c4 0 35%, var(--saffron) 60%, transparent 72%);
  border-radius: 50% 50% 40% 40%;
}

.button {
  display: inline-block;
  background: var(--saffron);
  color: var(--indigo);
  font: 600 1rem/1 var(--sans);
  padding: 14px 22px;
  border: 0;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--saffron-deep); }
.button.ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.button.ghost:hover { background: rgba(247, 244, 239, 0.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
.section { padding: 64px 0; }
.section.tight { padding: 40px 0; }
.section.night { background: var(--night); color: var(--cream); }
.section.night h2, .section.night h3 { color: var(--cream); }
.section.night .lead { color: #cfc9dc; }
.section-head { max-width: 42em; margin-bottom: 32px; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* casino band */
.casino-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
  margin: 28px 0 0;
}
.casino-facts div { border-top: 1px solid rgba(233, 196, 106, 0.35); padding-top: 14px; }
.casino-facts dt { font-size: 0.9rem; color: #cfc9dc; }
.casino-facts dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--saffron);
  line-height: 1;
}

/* route as a chain of arches */
.route {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.route li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding-bottom: 28px;
}
.route li:last-child { padding-bottom: 0; }
.route li::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 74px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}
.route li:last-child::before { display: none; }
.day-arch {
  width: 64px;
  height: 78px;
  border: 2px solid var(--saffron-deep);
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--paper);
}
.route .stop-port { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: 0; }
.route .stop-meta { color: var(--muted); font-size: 0.95rem; margin: 2px 0 6px; }
.route .stop-note { margin: 0; }
.route .sea { color: var(--muted); font-style: italic; }

/* cards */
.grid-2 { display: grid; gap: 24px; }
.card {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card .arch-frame { margin: -22px -22px 18px; border-radius: 0; aspect-ratio: 16 / 10; }
.card p:last-child { margin-bottom: 0; }
.card h2 { font-size: 1.5rem; }

/* tickets */
.ticket-choice {
  display: grid;
  gap: 16px;
}
.ticket-option {
  display: block;
  position: relative;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fffdf9;
  cursor: pointer;
}
.ticket-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ticket-option:has(input:checked) { border-color: var(--indigo); box-shadow: inset 4px 0 0 var(--saffron-deep); }
.ticket-option:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 3px; }
.ticket-option h3 { margin-bottom: 4px; }
.ticket-price {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  margin: 10px 0;
}
.ticket-option ul { padding-left: 1.1em; margin: 0; font-size: 0.97rem; }
.ticket-option li { margin-bottom: 4px; }

form.stack { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--sans);
  color: var(--indigo);
  background: #fffdf9;
  border: 1px solid #b9b0a0;
  border-radius: var(--radius);
  padding: 12px;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { color: var(--muted); font-size: 0.9rem; }
.notice-line { min-height: 1.5em; font-weight: 500; margin: 0; }
.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--indigo);
  background: #fffdf9;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}
.notice.error { border-left-color: #9b2c2c; }
.notice.ok { border-left-color: var(--saffron-deep); }

fieldset { border: 0; padding: 0; margin: 0; }

/* age dialog */
dialog.age-check {
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--indigo);
  width: min(92vw, 460px);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(26, 24, 40, 0.35);
}
dialog.age-check::backdrop { background: rgba(26, 24, 40, 0.72); }
dialog.age-check h2 { font-size: 2rem; }
dialog.age-check .actions { margin-top: 18px; }
dialog.age-check .actions .button { flex: 1 1 200px; text-align: center; }
dialog.age-check .actions .button.ghost { color: var(--indigo); border-color: var(--indigo); }

/* table-like info */
.info-list { margin: 0; display: grid; gap: 14px; }
.info-list div { border-top: 1px solid var(--line); padding-top: 12px; }
.info-list dt { font-weight: 600; }
.info-list dd { margin: 2px 0 0; }

/* helplines */
.helplines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.helplines li { border-top: 1px solid var(--line); padding-top: 12px; }

/* page head */
.page-head { padding: 56px 0 28px; }
.page-head.night { background: var(--night); color: var(--cream); }
.page-head.night h1 { color: var(--cream); }
.page-head.night .lead { color: #cfc9dc; }

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 28px;
  padding-bottom: 36px;
}
.footer-brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin: 0 0 6px; }
.footer-label { font-weight: 600; margin-bottom: 6px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-small { color: var(--muted); font-size: 0.88rem; margin-top: 14px; }
.gaming-notice { background: var(--night); color: var(--cream); padding: 16px 0; font-size: 0.92rem; }
.gaming-notice p { margin: 0; }
.gaming-notice a { color: var(--saffron); }

/* breakpoints */
@media (min-width: 760px) {
  .header-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .ticket-choice { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .section { padding: 88px 0; }
  .route li { grid-template-columns: 76px 1fr; }
  .route li::before { left: 37px; top: 84px; }
  .day-arch { width: 76px; height: 92px; border-radius: 38px 38px 0 0; font-size: 1.8rem; }
  .casino-facts { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .casino-facts { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .arch-frame { animation: arch-in 900ms ease-out both; }
  @keyframes arch-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}
