:root {
  --ink: #0b0a09;
  --paper: #f6f2ec;
  --white: #fff;
  --ivory: #f6f2ec;
  --brand-dark: #000;
  --brand-gold: #cfb468;
  --brand-gold-deep: #7a5f1f;
  --line: #d9d2c5;
  --muted: #68645f;
  --font-serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-sans: Jost, 'Futura', 'Century Gothic', Arial, sans-serif;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; font-variant-numeric: lining-nums; letter-spacing: 0; line-height: 1.02; overflow-wrap: anywhere; }
h1 { font-size: 7rem; margin-bottom: 1.25rem; }
h2 { font-size: 4rem; }
h3 { font-size: 1.5rem; }
p { line-height: 1.6; }

.site-header { height: 76px; padding: 0 3vw; display: flex; align-items: center; gap: 3rem; background: var(--brand-dark); color: var(--ivory); border-bottom: 1px solid rgba(207, 180, 104, .55); position: relative; z-index: 5; }
.brand { display: inline-flex; flex-shrink: 0; padding: 4px 8px; border: 1px solid var(--ivory); }
.brand img { display: block; width: auto; height: 54px; }
.site-header nav { display: flex; gap: 1.6rem; flex: 1; }
.site-header nav a { color: var(--ivory); text-decoration: none; font-size: .9rem; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.language-form select { border: 0; background: var(--brand-dark); color: var(--ivory); font-weight: 700; padding: .6rem .2rem; }

.hero { min-height: calc(88svh - 76px); background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 6vw; position: relative; color: var(--ivory); }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(8, 7, 6, .58); }
.hero-copy { position: relative; max-width: 780px; }
.hero-copy > p:not(.eyebrow) { font-size: 1.2rem; max-width: 640px; }
.hero-copy .brand-tagline { color: var(--brand-gold); font-size: .85rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; margin: -0.5rem 0 1.5rem; }
.eyebrow { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .25em; margin-bottom: .8rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 44px; border: 1px solid currentColor; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.1rem; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--brand-gold); color: var(--brand-dark); border-color: var(--brand-gold); }
.button-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-quiet { background: transparent; color: inherit; }

.intro-band { background: var(--brand-dark); color: var(--ivory); padding: 7rem 8vw; border-top: 1px solid var(--brand-gold); }
.intro-band h2 { max-width: 900px; }
.intro-band > p:last-child { max-width: 680px; }
.content-section { padding: 7rem 6vw; max-width: 1500px; margin: 0 auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 0; }
.item-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.item-card { padding: 2rem; background: var(--paper); min-height: 230px; }
.item-index { color: var(--brand-gold-deep); font-weight: 900; }
.membership-band { padding: 5rem 6vw; background: var(--ink); color: var(--ivory); display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.membership-band h2 { max-width: 850px; margin-bottom: 0; }

.page-header { min-height: 55svh; padding: 8rem 8vw 5rem; background: var(--brand-dark); color: var(--ivory); border-bottom: 1px solid var(--brand-gold); display: flex; flex-direction: column; justify-content: flex-end; }
.page-header.compact { min-height: 38svh; }
.page-header > p:last-child { max-width: 700px; font-size: 1.15rem; }
.contact-header { min-height: 70svh; background: var(--brand-gold); color: var(--brand-dark); }
.contact-methods { display: grid; gap: .75rem; justify-items: start; }
.contact-link { font-size: 4rem; font-weight: 800; overflow-wrap: anywhere; }
.contact-address { margin-top: 2rem; font-style: normal; font-size: 1.15rem; max-width: 36rem; }
.resource-list article { border-top: 1px solid var(--line); padding: 2rem 0; display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: center; }
.resource-list h2 { font-size: 2rem; margin-bottom: 0; }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.plan-card { border: 1px solid var(--line); border-radius: 6px; padding: 2rem; min-height: 360px; display: flex; flex-direction: column; }
.plan-card h2 { font-size: 2.2rem; }
.plan-card small { font-size: .9rem; font-weight: 400; }
.plan-card .button { margin-top: auto; }
.plan-card form { margin-top: auto; }
.plan-card form .button { width: 100%; }
.plan-badge { align-self: flex-start; background: var(--brand-gold); color: var(--brand-dark); border-radius: 4px; padding: .25rem .6rem; font-weight: 600; font-size: .9rem; }
.plan-card.featured { background: var(--brand-dark); color: var(--ivory); border-color: var(--brand-gold); }

.form-shell { max-width: 1200px; min-height: calc(100svh - 76px); margin: 0 auto; padding: 7rem 4vw; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.form-shell h1 { font-size: 5rem; }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 2rem; }
.form-panel > div { margin-bottom: 1.2rem; }
.form-panel label { display: block; font-size: .8rem; font-weight: 800; margin-bottom: .35rem; }
.form-panel input:not([type='checkbox']), .form-panel select { width: 100%; min-height: 46px; border: 1px solid #aaa; border-radius: 3px; padding: .65rem; font: inherit; background: var(--white); }
.form-panel input[type='checkbox'] { width: 20px; height: 20px; vertical-align: middle; }
.form-panel .helptext, .booking-field .helptext { color: var(--muted); display: block; font-size: .78rem; margin-top: .3rem; }
.selected-plan { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; background: var(--paper); border-left: 4px solid var(--brand-gold); }
.form-panel ul.errorlist, .form-panel .errorlist { color: #a22d25; padding-left: 1.2rem; }
.guest-invite-shell { min-height: auto; }
.guest-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.4rem; overflow-wrap: anywhere; }
.guest-pass-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem; background: var(--white); border-bottom: 1px solid var(--line); }
.guest-pass-row span { display: grid; gap: .3rem; }
.guest-pass-row img { flex: none; max-width: 35%; height: auto; }

.booking-list small { display: block; color: var(--muted); margin-top: .25rem; }
.booking-detail { max-width: 900px; margin: 0 auto; padding: 7rem 4vw; }
.booking-detail h1 { font-size: 6rem; }
.booking-detail dl { border-top: 1px solid var(--line); }
.booking-detail dl div { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; padding: 1rem 0; }
.booking-detail dt { color: var(--muted); }
.booking-detail dd { margin: 0; font-weight: 700; }
.notice { margin: 2rem 0; padding: 1.25rem; border-left: 4px solid var(--brand-gold); background: var(--white); }
.notice p { margin: .35rem 0 0; }
.bank-transfer dl { margin: 1rem 0 0; border-top: 1px solid var(--line); }
.bank-transfer dl div { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: .3rem; padding: .6rem 0; }
.bank-transfer dt { color: var(--muted); }
.bank-transfer dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.access-code { margin: 2rem 0; padding: 2rem; background: var(--white); display: grid; grid-template-columns: 1fr 220px; gap: 2rem; align-items: center; }
.access-code h2 { font-size: 2rem; }
.access-code img { width: 220px; height: 220px; }
.participant-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.participant-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }

.backoffice-shell { min-height: calc(100svh - 76px); display: grid; grid-template-columns: 280px 1fr; }
.backoffice-sidebar { background: var(--brand-dark); color: var(--ivory); padding: 2rem; border-top: 1px solid var(--brand-gold); }
.backoffice-home { display: block; font-weight: 800; text-decoration: none; margin-bottom: 1.5rem; }
.backoffice-sidebar nav { display: grid; gap: .25rem; }
.backoffice-sidebar nav a { color: var(--ivory); text-decoration: none; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.backoffice-main { padding: 3rem; min-width: 0; }
.backoffice-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.backoffice-heading h1 { font-size: 4rem; margin-bottom: 0; }
.backoffice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.backoffice-card { min-height: 150px; display: flex; flex-direction: column; gap: .5rem; text-decoration: none; background: var(--white); border: 1px solid var(--line); padding: 1.25rem; border-radius: 6px; }
.backoffice-card span { color: var(--brand-gold-deep); font-size: 2rem; font-weight: 900; }
.backoffice-card small { color: var(--muted); overflow-wrap: anywhere; }
.backoffice-search { display: flex; gap: .75rem; margin-bottom: 1rem; }
.backoffice-search input { flex: 1; min-height: 44px; border: 1px solid #aaa; border-radius: 3px; padding: .65rem; font: inherit; }
.quick-filters { display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: .55rem 1.2rem; margin: 0 0 1rem; padding: .9rem 1rem; background: var(--white); border: 1px solid var(--line); }
.quick-filter { display: contents; }
.quick-filter-label { color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.quick-filter ul { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.quick-filter a { display: inline-flex; align-items: center; min-height: 32px; padding: .25rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .82rem; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
.quick-filter a:hover { border-color: var(--brand-gold); }
.quick-filter a.is-active { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--brand-gold); }
.quick-filter a:focus-visible { outline: 2px solid var(--brand-gold-deep); outline-offset: 2px; }
.backoffice-results { display: flex; gap: 1rem; align-items: baseline; margin: 0 0 .75rem; color: var(--muted); font-size: .85rem; }
.backoffice-results a { color: var(--brand-gold-deep); }
.backoffice-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.backoffice-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.backoffice-table th, .backoffice-table td { text-align: left; padding: .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.backoffice-table th { font-size: .75rem; text-transform: uppercase; }
.backoffice-form { max-width: 920px; }
.invite-form { max-width: 900px; gap: 2rem; }
.invite-form .booking-step { animation: none; }
.invite-form .booking-field { margin-bottom: 1rem; }
.invite-form .booking-field textarea, .invite-form .booking-field select, .invite-share input { width: 100%; min-height: 58px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--ink); font: inherit; }
.invite-form .booking-field textarea { min-height: 120px; resize: vertical; }
.invite-modes > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.invite-modes label { position: relative; display: block; padding: 1.3rem; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-family: var(--font-serif); font-size: 1.55rem; }
.invite-modes label:has(input:checked) { border-color: var(--brand-gold); background: var(--brand-dark); color: var(--white); }
.invite-modes input { margin-right: .7rem; accent-color: var(--brand-gold); }
.invite-form:has(#id_mode_0:checked) .invite-session-fields, .invite-form:has(#id_mode_1:checked) .invite-guest-fields { display: none; }
.invite-share { max-width: 900px; display: grid; gap: 1rem; margin-bottom: 2rem; }
.invite-share input { overflow: hidden; text-overflow: ellipsis; }
.invite-copy-row { display: flex; gap: .5rem; }
.invite-copy-row input { flex: 1; min-width: 0; }
.invite-copy-row button { flex: none; }
.invite-edit-form .share-toggle { margin-top: 1rem; }
.invite-registrations { margin: 2.5rem 0; }
.invite-registrations h2 { font-size: 2rem; margin-bottom: 1rem; }
.email-discovery-controls { display: flex; gap: .75rem; }
.email-discovery-controls input { flex: 1; min-width: 0; }
.email-discovery-controls .button { flex: none; }
.email-discovery p { min-height: 1.4rem; margin: .35rem 0 0; color: var(--muted); font-size: .78rem; }
.email-discovery p.is-error { color: #a22d25; }
.backoffice-actions { margin-top: 1rem; }
.kpi-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.5rem; align-items: end; }
.kpi-filters label { display: grid; gap: .3rem; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.kpi-filters input { min-height: 44px; border: 1px solid #aaa; border-radius: 3px; padding: .65rem; font: inherit; background: var(--white); }
.kpi-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.kpi-cards article, .kpi-panel { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.25rem; }
.kpi-cards span { color: var(--muted); display: block; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.kpi-cards strong { display: block; font-size: 1.7rem; margin: .35rem 0; }
.kpi-cards small { color: var(--muted); }
.kpi-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kpi-panel h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.kpi-wide { grid-column: 1 / -1; }
.kpi-bars { display: grid; gap: .65rem; }
.kpi-bar { display: grid; grid-template-columns: minmax(80px, 140px) 1fr minmax(72px, auto); gap: .75rem; align-items: center; }
.kpi-bar span { color: var(--muted); overflow-wrap: anywhere; }
.kpi-bar div { height: 14px; background: var(--paper); border: 1px solid var(--line); }
.kpi-bar i { display: block; height: 100%; min-width: 2px; background: var(--brand-gold-deep); }
.kpi-pie-wrap { display: grid; grid-template-columns: 180px 1fr; gap: 1.25rem; align-items: center; }
.kpi-pie { width: 180px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); }
.kpi-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.kpi-legend span { display: inline-block; width: 12px; height: 12px; margin-right: .5rem; vertical-align: -1px; border: 1px solid var(--line); }

.account-header { padding: 6rem 6vw 2rem; display: flex; justify-content: space-between; align-items: end; }
.account-header h1 { font-size: 5rem; margin-bottom: 0; }
.account-summary { margin: 0 6vw; padding: 2rem; background: var(--brand-dark); color: var(--ivory); border: 1px solid var(--brand-gold); display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2rem; }
.account-summary span { display: block; font-size: .8rem; margin-bottom: .5rem; }
.account-summary strong { font-size: 2rem; }
.credit-top-up { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.credit-top-up .button { min-height: 36px; padding: .4rem .8rem; font-size: .85rem; }
.terms-check { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem; margin: .75rem 0; font-size: .85rem; }
.terms-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--brand-dark); }
.terms-check label { flex: 1; min-width: 0; }
.terms-check a { text-decoration: underline; }
.terms-check .errorlist { flex-basis: 100%; margin: 0; padding: 0; list-style: none; color: #a22d25; }
.credit-top-up .terms-check { flex-basis: 100%; margin: 0; }
.credit-top-up-note { display: block; margin-top: .5rem; font-size: .8rem; opacity: .8; }
.booking-list > a { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.status { font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.messages { position: fixed; top: 90px; right: 2rem; z-index: 10; }
.message { padding: 1rem; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.site-footer { background: var(--brand-dark); color: var(--ivory); padding: 3rem 6vw; display: grid; grid-template-columns: minmax(180px, 260px) 1fr auto; gap: 3rem; align-items: center; border-top: 1px solid var(--brand-gold); }
.footer-lockup { display: block; width: 100%; height: auto; }
.site-footer p { margin: 0; }
.footer-contact { display: grid; gap: .5rem; justify-items: start; }
.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; }

@media (max-width: 900px) {
  h1 { font-size: 4.5rem; }
  h2 { font-size: 2.75rem; }
  .site-header { height: auto; min-height: 68px; flex-wrap: wrap; gap: .8rem; padding: .8rem 1rem; }
  .site-header nav { order: 3; flex: 0 0 100%; overflow-x: auto; gap: 1.1rem; padding-top: .65rem; border-top: 1px solid var(--line); }
  .header-actions { margin-left: auto; }
  .hero { min-height: 72svh; padding: 3rem 1.25rem; }
  .hero h1 { font-size: 5rem; }
  .intro-band, .content-section { padding: 4rem 1.25rem; }
  .item-grid, .plan-grid { grid-template-columns: 1fr 1fr; }
  .membership-band, .section-heading { align-items: flex-start; flex-direction: column; }
  .page-header { min-height: 45svh; padding: 5rem 1.25rem 3rem; }
  .resource-list article { grid-template-columns: 1fr; gap: 1rem; }
  .form-shell { min-height: auto; padding: 4rem 1.25rem; grid-template-columns: 1fr; gap: 2rem; }
  .form-shell h1, .booking-detail h1, .account-header h1 { font-size: 3.5rem; }
  .contact-link { font-size: 2.5rem; }
  .account-header { padding: 4rem 1.25rem 2rem; align-items: flex-start; }
  .account-summary { margin: 0 1.25rem; grid-template-columns: 1fr 1fr; }
  .account-summary .button { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  h1, .hero h1, .form-shell h1, .booking-detail h1, .account-header h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .contact-link { font-size: 1.6rem; }
  .brand img { height: 44px; }
  .header-actions .button { font-size: 0; width: 44px; padding: 0; }
  .header-actions .button::after { content: "\2192"; font-size: 1.2rem; }
  .item-grid, .plan-grid { grid-template-columns: 1fr; }
  .item-card { min-height: 180px; }
  .account-header { flex-direction: column; gap: 1rem; }
  .account-summary { grid-template-columns: 1fr; }
  .account-summary .button { grid-column: auto; }
  .booking-detail dl div { grid-template-columns: 1fr; gap: .3rem; }
  .access-code { grid-template-columns: 1fr; }
  .backoffice-shell { grid-template-columns: minmax(0, 1fr); }
  .backoffice-sidebar { min-width: 0; padding: 1.25rem; }
  .backoffice-home { margin-bottom: .5rem; }
  .backoffice-sidebar nav { display: flex; gap: 1rem; overflow-x: auto; white-space: nowrap; }
  .backoffice-sidebar nav a { flex: none; border-bottom: 0; }
  .backoffice-main { padding: 1.25rem; }
  .invite-modes > div { grid-template-columns: 1fr; }
  .backoffice-grid { grid-template-columns: 1fr; }
  .backoffice-heading { align-items: flex-start; flex-direction: column; }
  .email-discovery-controls { flex-direction: column; }
  .quick-filters { grid-template-columns: 1fr; gap: .35rem; }
  .quick-filter ul { margin-bottom: .5rem; }
  .kpi-filters, .kpi-cards, .kpi-layout, .kpi-pie-wrap { grid-template-columns: 1fr; }
  .kpi-bar { grid-template-columns: 1fr; gap: .3rem; }
}

/* Booking page */
.gold-rule { display: block; width: 180px; height: 1px; margin: 0 0 1.5rem; background: linear-gradient(90deg, transparent, var(--brand-gold) 20%, var(--brand-gold) 80%, transparent); position: relative; }
.gold-rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-gold); transform: translate(-50%, -50%); }
.booking-hero { position: relative; overflow: hidden; }
.booking-hero::after { content: "XIX"; position: absolute; right: -1vw; bottom: -3.2rem; font-family: var(--font-serif); font-size: 22rem; line-height: 1; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px rgba(207, 180, 104, .22); pointer-events: none; }
.booking-hero > * { position: relative; z-index: 1; }
.booking-hero h1 { margin-bottom: 1.75rem; }
.booking-hero .eyebrow, .booking-hero-note { color: var(--brand-gold); }
.booking-hero-note { margin: 0; font-size: .74rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }

.booking-stage { font-variant-numeric: lining-nums; max-width: 1240px; margin: 0 auto; padding: 5.5rem 4vw 7rem; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 4.5rem; align-items: start; }
.booking-flow { display: grid; gap: 3.25rem; }
.booking-step { margin: 0; padding: 0; border: 0; min-width: 0; animation: booking-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.booking-step:nth-of-type(2) { animation-delay: .08s; }
.booking-step:nth-of-type(3) { animation-delay: .16s; }
.booking-step legend { display: flex; align-items: baseline; gap: 1rem; width: 100%; padding: 0 0 .9rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: 2rem; line-height: 1; }
.step-numeral { min-width: 2.2rem; color: var(--brand-gold-deep); font-size: 1rem; font-weight: 600; letter-spacing: .2em; }

.activity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.activity-tile { position: relative; display: grid; gap: .35rem; padding: 1.4rem 1.25rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s, background .25s; }
.activity-tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.activity-tile::before { content: ""; position: absolute; top: 1rem; right: 1rem; width: 14px; height: 14px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .25s, box-shadow .25s; }
.activity-tile:hover { border-color: var(--brand-gold); transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(11, 10, 9, .55); }
.activity-tile:has(input:checked) { border-color: var(--brand-dark); background: var(--brand-dark); color: var(--ivory); box-shadow: 0 18px 36px -24px rgba(11, 10, 9, .8); }
.activity-tile:has(input:checked)::before { border-color: var(--brand-gold); box-shadow: inset 0 0 0 3px var(--brand-dark), inset 0 0 0 8px var(--brand-gold); }
.activity-tile:has(input:focus-visible) { outline: 2px solid var(--brand-gold-deep); outline-offset: 3px; }
.activity-icon { width: 38px; height: 38px; margin-bottom: .6rem; color: var(--brand-gold-deep); transition: color .25s; }
.activity-tile:has(input:checked) .activity-icon { color: var(--brand-gold); }
.activity-name { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.05; }
.activity-meta { color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
.activity-tile:has(input:checked) .activity-meta { color: rgba(246, 242, 236, .7); }
.activity-prices { display: grid; grid-template-columns: 1fr 1fr; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.activity-tile:has(input:checked) .activity-prices { border-top-color: rgba(207, 180, 104, .35); }
.activity-prices span { display: grid; gap: .1rem; font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.activity-prices span + span { padding-left: .8rem; border-left: 1px solid var(--line); }
.activity-tile:has(input:checked) .activity-prices span { color: var(--brand-gold); }
.activity-tile:has(input:checked) .activity-prices span + span { border-left-color: rgba(207, 180, 104, .35); }
.activity-prices strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.activity-tile:has(input:checked) .activity-prices strong { color: var(--ivory); }

.booking-when { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.booking-field { display: grid; gap: .5rem; }
.booking-field label { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.booking-field input, .booking-length select { width: 100%; min-height: 58px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--ink); font: inherit; font-family: var(--font-serif); font-size: 1.45rem; font-variant-numeric: lining-nums; color-scheme: light; transition: border-color .2s, box-shadow .2s; }
.booking-field input:hover, .booking-length select:hover { border-color: var(--brand-gold); }
.booking-length { max-width: 16rem; margin-top: 1rem; }
.booking-field input:focus, .booking-length select:focus { outline: none; border-color: var(--brand-gold-deep); box-shadow: 0 0 0 3px rgba(207, 180, 104, .3); }

.share-toggle { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; transition: border-color .25s; }
.share-toggle:hover { border-color: var(--brand-gold); }
.share-toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.share-switch { flex: none; position: relative; width: 48px; height: 26px; border-radius: 13px; background: var(--line); transition: background .25s; }
.share-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.share-toggle:has(input:checked) { border-color: var(--brand-gold); }
.share-toggle:has(input:checked) .share-switch { background: var(--brand-dark); }
.share-toggle:has(input:checked) .share-switch::after { transform: translateX(22px); background: var(--brand-gold); }
.share-toggle:has(input:focus-visible) { outline: 2px solid var(--brand-gold-deep); outline-offset: 3px; }
.share-copy { display: grid; gap: .2rem; }
.share-copy strong { font-weight: 500; }
.share-copy small { color: var(--muted); font-size: .82rem; }

.booking-submit { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.booking-submit p { margin: 0; color: var(--muted); font-size: .85rem; }
.booking-submit .button { gap: .8rem; min-width: 220px; min-height: 54px; border-radius: 2px; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; transition: background .25s, color .25s, border-color .25s; }
.booking-submit .button span { transition: transform .25s; }
.booking-submit .button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--brand-gold); }
.booking-submit .button:hover span { transform: translateX(4px); }
.booking-alert { padding: 1rem 1.25rem; border-left: 3px solid #a22d25; background: var(--white); color: #a22d25; }
.booking-alert ul, .booking-flow .errorlist { margin: .5rem 0 0; padding: 0; list-style: none; color: #a22d25; font-size: .85rem; }

.open-sessions { font-variant-numeric: lining-nums; position: sticky; top: 2rem; padding: 2.5rem 2.2rem; background: var(--brand-dark); color: var(--ivory); border: 1px solid rgba(207, 180, 104, .4); outline: 1px solid rgba(207, 180, 104, .25); outline-offset: -10px; animation: booking-rise .7s .2s cubic-bezier(.2, .7, .2, 1) both; }
.open-sessions .eyebrow { color: var(--brand-gold); }
.open-sessions h2 { font-size: 2.4rem; margin-bottom: 1.2rem; }
.open-sessions article { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid rgba(207, 180, 104, .25); }
.open-sessions article strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; }
.open-sessions small { display: block; margin-top: .2rem; color: rgba(246, 242, 236, .65); font-size: .8rem; }
.open-sessions-count { color: var(--brand-gold); font-family: var(--font-serif); font-size: 1.2rem; }
.open-sessions .button { border-color: var(--brand-gold); color: var(--brand-gold); border-radius: 2px; }
.open-sessions .button:hover { background: var(--brand-gold); color: var(--brand-dark); }
.open-sessions-empty { margin: 0 0 .4rem; font-family: var(--font-serif); font-size: 1.35rem; }
.open-sessions-hint { margin: 0; color: rgba(246, 242, 236, .65); font-size: .88rem; }

.slot-calendar { display: grid; gap: 1rem; }
.slot-calendar[hidden], .booking-when[hidden] { display: none; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.calendar-range { margin: 0; font-family: var(--font-serif); font-size: 1.4rem; text-transform: capitalize; }
.calendar-nav { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); font: inherit; font-size: 1.1rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.calendar-nav:hover:not(:disabled) { border-color: var(--brand-dark); background: var(--brand-dark); color: var(--brand-gold); }
.calendar-nav:disabled { opacity: .35; cursor: default; }
.calendar-nav:focus-visible { outline: 2px solid var(--brand-gold-deep); outline-offset: 2px; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.calendar-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.legend-swatch { width: 14px; height: 14px; border: 1px solid var(--line); border-radius: 2px; }
.calendar-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--white); scrollbar-width: thin; }
.calendar-grid { display: grid; grid-template-columns: 64px repeat(var(--calendar-days, 7), minmax(82px, 1fr)); min-width: max-content; transition: opacity .2s; }
.slot-calendar.is-loading .calendar-grid { opacity: .35; }
.calendar-corner, .calendar-day { position: sticky; top: 0; z-index: 1; background: var(--white); border-bottom: 1px solid var(--line); }
.calendar-corner { left: 0; z-index: 2; }
.calendar-day { display: grid; justify-items: center; gap: .1rem; padding: .7rem .3rem .6rem; }
.calendar-day small { color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.calendar-day strong { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; }
.calendar-day.is-today small { color: var(--brand-gold-deep); }
.calendar-day.is-today strong { background: var(--brand-gold); color: var(--brand-dark); }
.calendar-time { position: sticky; left: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: flex-end; padding: .3rem .6rem 0 0; background: var(--white); border-right: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.slot { display: flex; align-items: center; justify-content: center; min-height: 46px; margin: 0; border: 0; border-top: 1px solid #ece6db; border-left: 1px solid #ece6db; font: inherit; font-size: .74rem; }
.slot-available { background: var(--white); color: var(--brand-gold-deep); font-weight: 600; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.slot-available:hover { background: #fbf6e8; box-shadow: inset 0 0 0 1px var(--brand-gold); color: var(--brand-dark); }
.slot-available[aria-pressed='false']::after { content: attr(data-time); opacity: 0; transition: opacity .15s; }
.slot-available[aria-pressed='false']:hover::after, .slot-available[aria-pressed='false']:focus-visible::after { opacity: 1; }
.slot-available:focus-visible { outline: 2px solid var(--brand-gold-deep); outline-offset: -3px; }
.slot-available[aria-pressed='true'] { background: var(--brand-dark); color: var(--brand-gold); box-shadow: inset 0 0 0 1px var(--brand-gold); }
.slot-available.is-in-range { background: #3a352c; color: var(--brand-gold); box-shadow: inset 0 0 0 1px var(--brand-gold); }
.slot-booked { background: repeating-linear-gradient(135deg, #e7e1d6 0 6px, #efeae1 6px 12px); color: #6c665f; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.slot-closed { background: repeating-linear-gradient(135deg, #f1ece4 0 3px, #f7f3ed 3px 9px); color: var(--muted); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.slot-unavailable, .slot-past, .slot-none { background: #f8f5f0; }
.legend-swatch.slot-available { background: var(--white); border-color: var(--brand-gold); }
.legend-swatch.slot-booked { background: repeating-linear-gradient(135deg, #e7e1d6 0 3px, #efeae1 3px 6px); }
.legend-swatch.slot-closed { background: repeating-linear-gradient(135deg, #f1ece4 0 2px, #f7f3ed 2px 5px); }
.legend-swatch.slot-unavailable { background: #f8f5f0; }
.calendar-status { margin: 0; min-height: 1.6em; font-size: .9rem; }

@keyframes booking-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .booking-step, .open-sessions { animation: none; }
  .slot-available, .calendar-grid, .calendar-nav { transition: none; }
  .activity-tile, .share-switch::after, .booking-submit .button span { transition: none; }
}
@media (max-width: 900px) {
  .booking-stage { grid-template-columns: 1fr; gap: 3rem; padding: 3.5rem 1.25rem 5rem; }
  .open-sessions { position: static; }
  .booking-hero::after { font-size: 12rem; bottom: -1.6rem; }
}
@media (max-width: 560px) {
  .calendar-grid { grid-template-columns: 52px repeat(var(--calendar-days, 7), minmax(66px, 1fr)); }
  .calendar-range { font-size: 1.15rem; }
  .booking-hero::after { right: .75rem; bottom: -.9rem; font-size: 9.5rem; }
  .booking-hero-note { letter-spacing: .16em; line-height: 1.8; }
  .activity-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .activity-tile { padding: 1rem .85rem .9rem; }
  .activity-tile::before { top: .75rem; right: .75rem; }
  .activity-icon { width: 30px; height: 30px; margin-bottom: .3rem; }
  .activity-name { font-size: 1.3rem; }
  .activity-meta { font-size: .7rem; }
  .activity-prices { margin-top: .6rem; padding-top: .6rem; }
  .activity-prices span { font-size: .56rem; letter-spacing: .12em; }
  .activity-prices span + span { padding-left: .55rem; }
  .activity-prices strong { font-size: 1.15rem; }
  .booking-when { grid-template-columns: 1fr; }
  .booking-step legend { font-size: 1.6rem; }
  .booking-submit { flex-direction: column; align-items: stretch; }
  .booking-submit .button { width: 100%; }
  .open-sessions { padding: 2rem 1.4rem; }
  .open-sessions article { grid-template-columns: 1fr auto; }
  .open-sessions article form { grid-column: 1 / -1; }
}

.opening-hours { border-top: 1px solid var(--line); }
.opening-hours-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.opening-hours-table { width: 100%; border-collapse: collapse; }
.opening-hours-table th, .opening-hours-table td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.opening-hours-table thead th { color: var(--brand-gold-deep); font-size: .8rem; }
.opening-hours-table td { font-variant-numeric: tabular-nums; }
.opening-hours-notes { display: grid; gap: 2rem; }
.opening-hours-notes div { border-left: 1px solid var(--brand-gold); padding-left: 1.5rem; }
.opening-hours-notes strong { letter-spacing: .1em; text-transform: uppercase; }
.opening-hours-notes p { margin: .4rem 0 0; color: var(--muted); }
.plan-notes { margin-top: 2rem; display: grid; gap: .5rem; color: var(--muted); }
.plan-notes p { margin: 0; }
.plan-notes strong { color: var(--ink); }
.booking-adults-note, .booking-component-note { margin: 0 0 1rem; padding: 1rem 1.25rem; border-left: 3px solid var(--brand-gold); background: var(--white); }
.legal-text { max-width: 900px; }
.legal-text h2 { font-size: 2rem; margin: 2.5rem 0 .75rem; }
.rules-list { padding-left: 1.5rem; }
.rules-list li::marker { color: var(--brand-gold-deep); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; }
.cookie-table th, .cookie-table td { padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

@media (max-width: 900px) {
  .opening-hours-layout { grid-template-columns: 1fr; }
}
