/* PoorMode. Rich Mode is the default look; the home-page switch (#mode-switch) flips the whole page to Poor Mode.
   Colours are tokens on :root; Poor Mode and the reserve page override them. System fonts only. */

:root {
  --bg: #0c0c0c;
  --ink: #fff4cf;
  --muted: #d9cfae;
  --accent: #ffcc00;
  --accent-ink: #0c0c0c;
  --card: #171717;
  --line: #ffcc00;
  --shadow: #ffcc00;
  --stamp: #ffcc00;
  --focus: #fff4cf;
  --pattern: repeating-linear-gradient(90deg, rgba(255, 204, 0, 0.05) 0 2px, transparent 2px 24px);
  --head: Impact, "Arial Narrow", "Arial Black", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

/* Poor Mode: cardboard, ink and a red stamp. */
body:has(#mode-switch:checked) {
  --bg: #e9dfc6;
  --ink: #1c1a15;
  --muted: #3d3a30;
  --accent: #b3122b;
  --accent-ink: #ffffff;
  --card: #fffaf0;
  --line: #1c1a15;
  --shadow: #1c1a15;
  --stamp: #b3122b;
  --focus: #1c1a15;
  --pattern: radial-gradient(rgba(60, 40, 10, 0.07) 1px, transparent 1.4px) 0 0 / 9px 9px;
  color-scheme: light;
}
html:has(#mode-switch:checked) { background: #e9dfc6; }

/* Reserve page: a yellow poster. */
body.reserve {
  --bg: #ffd400;
  --ink: #111111;
  --muted: #2a2600;
  --accent: #111111;
  --accent-ink: #ffd400;
  --card: #fff6c2;
  --line: #111111;
  --shadow: #111111;
  --stamp: #111111;
  --focus: #111111;
  --pattern: none;
  --rf-bg: #fffdf0;
  --rf-fg: #111111;
  --rf-muted: #2a2600;
  --rf-accent: #111111;
  --rf-accent-fg: #ffd400;
  --rf-border: #111111;
  --rf-radius: 0px;
  --rf-font: var(--body);
  color-scheme: light;
}
html:has(body.reserve) { background: #ffd400; }

*, *::before, *::after { box-sizing: border-box; }
html { background: #0c0c0c; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: var(--pattern);
  color: var(--ink);
  font: 18px/1.5 var(--body);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-wrap: break-word;
}

a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 10; padding: 8px 12px; background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 0.95; letter-spacing: 0.02em; margin: 0; }
h2 { font-size: clamp(36px, 5vw, 62px); text-transform: uppercase; margin-bottom: 24px; }
h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 10px; }
h3.sub { font-size: 30px; margin: 40px 0 16px; }

.top { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.wordmark { font-family: var(--head); font-size: 28px; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; color: var(--ink); }
.pill {
  display: inline-block; padding: 10px 18px; border: 3px solid var(--line); border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none;
}

.kicker { margin: 0 0 12px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.lede { font-size: clamp(18px, 2vw, 22px); max-width: 36em; margin: 0 0 24px; }

.btn {
  display: inline-block; padding: 16px 24px; border: 3px solid var(--line); border-radius: 0;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 18px; font-weight: 800;
  text-decoration: none; box-shadow: 6px 6px 0 var(--shadow); transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--shadow); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding-top: 24px; padding-bottom: 56px;
}
.hero h1 { font-size: clamp(56px, 11vw, 168px); line-height: 0.88; text-transform: uppercase; margin: 0.08em 0 0.2em; }
.hero h1 span { color: var(--accent); }

.hero-switch {
  position: relative; display: grid; justify-items: center; gap: 22px;
  padding: 40px 22px 36px; background: var(--card); border: 3px solid var(--line); box-shadow: 10px 10px 0 var(--shadow);
  transition: background-color 0.3s ease;
}

.toggle-wrap { display: grid; justify-items: center; gap: 14px; }
.toggle { position: relative; display: grid; justify-items: center; gap: 12px; cursor: pointer; }
.toggle input {
  position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none;
}
.toggle-name { font-family: var(--head); font-size: 32px; text-transform: uppercase; letter-spacing: 0.04em; }
.toggle input:focus-visible ~ .track { outline: 3px solid var(--focus); outline-offset: 5px; }

.track {
  position: relative; display: block; width: min(100%, 340px); height: 120px;
  border: 3px solid var(--line); border-radius: 999px; background: var(--bg);
}
.tside {
  position: absolute; top: 50%; width: 50%; transform: translateY(-50%); text-align: center;
  font-family: var(--head); font-size: 24px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.tside.rich { left: 0; }
.tside.poor { right: 0; }
.knob {
  position: absolute; top: 12px; left: 12px; width: 90px; height: 90px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--line); transition: left 0.35s ease, background-color 0.3s ease;
}
.toggle input:checked ~ .track .knob { left: calc(100% - 102px); }

.toggle-help { margin: 0; max-width: 32ch; text-align: center; font-size: 16px; color: var(--muted); }

.stamp {
  position: absolute; top: -26px; right: 12px; width: min(210px, 60%); height: auto;
  color: var(--stamp); transform: rotate(-8deg); pointer-events: none;
}
.rich-stamp { display: block; }
.poor-stamp { display: none; }
body:has(#mode-switch:checked) .rich-stamp { display: none; }
body:has(#mode-switch:checked) .poor-stamp { display: block; animation: stamp-in 0.25s ease-out both; }
@keyframes stamp-in {
  from { transform: rotate(-8deg) scale(1.25); opacity: 0; }
  to { transform: rotate(-8deg) scale(1); opacity: 1; }
}

/* Blocks */
.block { padding-top: 56px; padding-bottom: 56px; border-top: 3px solid var(--line); }

.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  padding: 22px; background: var(--card); border: 3px solid var(--line); box-shadow: 6px 6px 0 var(--shadow);
}
.card p { margin: 0; font-size: 17px; }
.cards .card:nth-child(even) { transform: rotate(0.4deg); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 62ch; }
.facts li { padding: 14px 18px 14px 22px; background: var(--card); border-left: 8px solid var(--accent); font-size: 17px; }
.facts strong { display: inline-block; font-family: var(--head); font-size: 28px; font-weight: 400; color: var(--accent); margin-right: 6px; }

.notice p { font-size: 20px; max-width: 48ch; margin: 0; }

.cta p { font-size: 20px; max-width: 48ch; margin: 0 0 24px; }

.narrow { max-width: 760px; }
.narrow h1 { font-size: clamp(48px, 9vw, 112px); text-transform: uppercase; margin: 0.1em 0 0.3em; }
.steps { margin: 0 0 8px; padding-left: 1.4em; }
.steps li { margin-bottom: 10px; font-size: 18px; }

.back { margin-top: 28px; }
.back a { font-weight: 700; }

.foot {
  display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 32px;
  border-top: 3px solid var(--line); font-size: 15px;
}
.foot a { font-weight: 700; }

/* Reserve form (widgets.css markup, themed by the variables above) */
.reserve .rf-form { max-width: none; }
.reserve .rf-field input, .reserve .rf-field textarea, .reserve .rf-which { border-width: 2px; }
.reserve .rf-pill span { border-width: 2px; }
.reserve .rf-submit { box-shadow: 6px 6px 0 #111111; border: 3px solid #111111; padding: 14px 26px; font-size: 18px; }
.reserve .rf-submit:hover { transform: translate(-2px, -2px); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(52px, 17vw, 96px); }
  .stamp { width: min(180px, 55%); top: -22px; right: 8px; }
  .hero-switch { padding: 40px 16px 28px; }
  .toggle-name { font-size: 26px; }
  .track { height: 104px; }
  .knob { width: 78px; height: 78px; top: 9px; left: 9px; }
  .toggle input:checked ~ .track .knob { left: calc(100% - 90px); }
  .tside { font-size: 20px; }
  .btn { display: block; text-align: center; }
  .pill { padding: 8px 14px; }
}

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