/* The Castrol Experience: guest site styles. Mobile first. No inline styles (strict CSP). */

/* Fieldwork (Hvd Fonts) is a licensed typeface. Drop the licensed WOFF2 files into public/fonts/ with these names,
   or set ADOBE_FONTS_KIT to an Adobe Fonts project that includes "fieldwork". Montserrat (similar geometric shapes) is the fallback. */
@font-face { font-family: "Fieldwork"; src: local("Fieldwork Geo Light"), local("FieldworkGeo-Light"), local("Fieldwork-GeoLight"), local("Fieldwork Light"), url("../fonts/fieldwork-geo-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Fieldwork"; src: local("Fieldwork Geo Regular"), local("FieldworkGeo-Regular"), url("../fonts/fieldwork-geo-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fieldwork"; src: local("Fieldwork Geo DemiBold"), local("FieldworkGeo-DemiBold"), url("../fonts/fieldwork-geo-demibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fieldwork"; src: local("Fieldwork Geo Bold"), local("FieldworkGeo-Bold"), url("../fonts/fieldwork-geo-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --green: #009A4E;          /* Castrol green (roundel) */
  --green-cta: #00843D;      /* AA contrast with white text */
  --green-cta-hover: #006B32;
  --green-text: #006B32;     /* green for text on white and pale grey (AA) */
  --green-glow: #2BE07A;     /* the lit-entrance neon, for dark sections */
  --green-tint: #E9F6EF;
  --red: #E4002B;
  --red-ink: #C8102E;
  --ink: #1A1F1D;            /* headings: softer than black, like castrol.com */
  --text: #3A403E;           /* body copy: dark grey on white */
  --ink-2: #4A524F;
  --muted: #5B6662;
  --line: #DCE3E0;
  --paper: #FFFFFF;
  --paper-2: #F4F7F5;
  --night: #070B0A;
  --night-2: #0F1614;
  --night-text: #E8EEEB;
  --night-muted: #A9B5B0;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: 20px;
  --head: "Fieldwork", "fieldwork", "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body: "Fieldwork", "fieldwork", "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
body { margin: 0; font-family: var(--body); font-weight: 400; font-size: 17px; line-height: 1.7; letter-spacing: 0.01em; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
strong, b { font-weight: 600; }
img, video { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--green-text); text-underline-offset: 3px; }
a:hover { color: #004F25; }
h1, h2, h3 { font-family: var(--head); color: inherit; line-height: 1.18; letter-spacing: 0; margin: 0 0 0.55em; }
main h1, main h2, main h3 { color: var(--ink); }
.hero h1, .hero h2, .page-hero h1, .page-hero h2, .film h2, .cta-band h2, .site-footer h2 { color: inherit; }
h1 { font-weight: 600; font-size: clamp(2.2rem, 7.2vw, 4.4rem); }
h2 { font-weight: 600; font-size: clamp(1.7rem, 4.4vw, 2.7rem); }
h3 { font-weight: 600; font-size: 1.15rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; }

/* Focus: visible on light and dark backgrounds */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--green-glow); border-radius: 4px; }
.hero :focus-visible, .film :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
main:focus { outline: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.staging-banner { background: #FFF4CC; color: #3B2F00; font-size: 0.85rem; padding: 8px var(--gutter); text-align: center; border-bottom: 1px solid #E8D58A; }
.draft-tag { display: inline-block; vertical-align: middle; margin-left: 6px; font: 600 0.68rem/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; background: #FFE27A; color: #3B2F00; padding: 4px 7px; border-radius: 999px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 1rem/1.2 var(--head); letter-spacing: 0.01em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-cta); color: #fff; }
.btn-primary:hover { background: var(--green-cta-hover); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-danger { background: var(--red-ink); color: #fff; }
.btn-danger:hover { background: #A00D25; color: #fff; }
.btn-danger-outline { background: #fff; color: var(--red-ink); border-color: var(--red-ink); }
.btn-danger-outline:hover { background: var(--red-ink); color: #fff; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .logo-h { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font: 400 0.98rem var(--head); padding: 8px 2px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--green-cta); box-shadow: inset 0 -2px 0 var(--green); }
.site-nav .nav-venue { display: none; }
@media (max-width: 719px) { .brand .logo-h { height: 30px; } }
.nav-book { white-space: nowrap; gap: 0; }
@media (max-width: 560px) { .nb-long { display: none; } .site-nav .nav-agenda { display: none; } .brand .logo-h { height: 24px; } }
@media (max-width: 360px) { .brand .logo-h { height: 20px; } .site-nav .btn-sm { padding: 8px 12px; font-size: .82rem; } }
@media (min-width: 720px) { .site-nav .nav-venue { display: inline-block; } .site-nav { gap: 28px; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--night-text); overflow: hidden; isolation: isolate; }
.hero-media { position: relative; aspect-ratio: 4 / 4.2; max-height: 62vh; overflow: hidden; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-lit { opacity: 0; animation: lights-on 1.6s cubic-bezier(.3,.0,.2,1) .5s forwards; }
@keyframes lights-on { 0% { opacity: 0; } 18% { opacity: .55; } 24% { opacity: .1; } 34% { opacity: .8; } 40% { opacity: .35; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-lit { animation: none; opacity: 1; } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,11,10,0) 45%, rgba(7,11,10,.85) 88%, var(--night) 100%); }
.hero-inner { position: relative; padding-top: 0; padding-bottom: 48px; margin-top: -72px; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--green-glow); margin-bottom: 16px; }
.hero h1 { color: #fff; }
.hero h1 .hl { display: block; white-space: nowrap; }
.hero-lede { font-size: 1.08rem; color: var(--night-text); max-width: 56ch; }
.hero .cta-row .btn { flex: 1 1 220px; }
.hero-facts { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 14px; font-size: .97rem; }
.hero-facts span { display: block; font: 600 .72rem/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); }

@media (min-width: 960px) {
  .hero { min-height: min(88vh, 860px); display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0 0 0 auto; width: 54%; max-height: none; aspect-ratio: auto; }
  .hero-media::after { background: linear-gradient(90deg, var(--night) 0%, rgba(7,11,10,.75) 18%, rgba(7,11,10,0) 52%), linear-gradient(0deg, rgba(7,11,10,.6), rgba(7,11,10,0) 30%); }
  .hero-inner { margin-top: 0; padding-top: 72px; padding-bottom: 72px; }
  .hero-copy { max-width: 600px; }
  .hero .cta-row .btn { flex: 0 0 auto; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-head { margin-bottom: 28px; }
.kicker { font: 600 .78rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--green-text); margin-bottom: 14px; }
.kicker-light { color: var(--green-glow); }
.two-col { display: grid; gap: 32px; }
@media (min-width: 960px) { .two-col { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; } }

/* Dates */
.section-dates { padding-top: 56px; }
.date-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
@media (min-width: 720px) { .date-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .page-home .date-list { grid-template-columns: repeat(4, 1fr); } }
.date-card { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.date-card.state-full, .date-card.state-past { background: var(--paper-2); }
.date-card.state-full .avail { color: var(--red-ink); }
.date-badge { flex: 0 0 auto; width: 60px; height: 64px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.db-day { font: 600 1.6rem/1 var(--head); }
.db-mon { font: 600 .72rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--green-glow); margin-top: 6px; }
.date-card-body { display: flex; flex-direction: column; }
.date-card-title { font: 600 1rem/1.3 var(--head); }
.avail { font-size: .93rem; color: var(--green-text); font-weight: 600; }
.avail-low { color: #A35A00; }
.retry-note { background: #FFF1F1; border: 1px solid #F3C2C8; color: #7A0C1E; border-radius: var(--radius-sm); padding: 12px 16px; }
[data-loading] .avail { color: var(--muted); }

/* Feature: lounge */
.feature { background: var(--paper-2); }
.feature-grid { display: grid; gap: 32px; align-items: center; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 60, 30, .45); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) { .feature-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }
.pillars { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.pillars li { padding-left: 20px; border-left: 3px solid var(--green); }
.pillars strong { display: block; font-family: var(--head); font-size: 1.05rem; }
.pillars span { color: var(--ink-2); }

/* Gallery */
.gallery-section { padding-top: 0; background: var(--paper-2); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.g-hide-sm { display: none; }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } .g-hide-sm { display: block; } .gallery figure:nth-child(2) { transform: translateY(40px); } .gallery-section { padding-bottom: 136px; } }

/* Film */
.film { background: radial-gradient(120% 80% at 80% 50%, #0B2A1A 0%, var(--night) 60%); color: var(--night-text); }
.film h2 { color: #fff; }
.film-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .film-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; max-width: 460px; width: 100%; justify-self: center; box-shadow: 0 0 0 1px rgba(43,224,122,.25), 0 40px 80px -30px rgba(43,224,122,.35); }
.video-frame video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.video-controls { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; justify-content: space-between; }
.vbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(7,11,10,.72); color: #fff; font: 600 .9rem var(--head); cursor: pointer; }
.vbtn:hover { background: rgba(7,11,10,.92); }
.vicon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; }
.vicon-pause { width: 12px; height: 14px; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; }

/* Glance */
.glance { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.glance li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.glance .t { font: 600 1rem var(--head); color: var(--green-text); min-width: 54px; }

/* Venue */
.section-venue { background: var(--paper-2); }
.venue-info { display: grid; gap: 24px; }
@media (min-width: 720px) { .venue-info:not(.compact) { grid-template-columns: 1fr 1fr; } }
.info-block h3 { display: inline-block; margin-bottom: 6px; }
.info-block p { margin-bottom: .6em; color: var(--ink-2); }
.venue-info.compact { gap: 14px; }
.venue-info.compact h3 { font-size: 1rem; }

/* CTA band */
.cta-band { background: var(--green-cta); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 52ch; margin: 0 auto 24px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, var(--night) 0%, #0B2A1A 100%); color: var(--night-text); padding: 56px 0 48px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.4rem); max-width: 22ch; }
.page-hero .lede { color: var(--night-text); }
.page-hero-sm { padding: 40px 0 36px; }
@media (min-width: 960px) { .page-hero-photo.page-hero-sm { padding: 64px 0 56px; } .page-hero-photo:not(.page-hero-sm) { padding: 80px 0 72px; } }
.page-hero h1:focus { outline: none; }

/* Agenda */
.agenda-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .agenda-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; } .rotation-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 82px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 14px 0; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 77px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.tl-rotation::before { background: var(--green); }
.tl-break::before { border-color: var(--red); }
.tl-time { font: 600 1.05rem/1.3 var(--head); color: var(--ink); text-align: right; }
.tl-end { display: block; font: 400 .8rem var(--body); color: var(--muted); }
.tl-body strong { font-family: var(--head); font-size: 1.05rem; }
.tl-desc { display: block; color: var(--ink-2); font-size: .95rem; }
.rotation-card { background: var(--paper-2); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--green); }
.rotation-card h2 { font-size: 1.6rem; }
.session-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.session-list li { display: flex; gap: 14px; align-items: flex-start; }
.sn { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .9rem/32px var(--head); text-align: center; }
.sd { display: block; color: var(--ink-2); font-size: .93rem; }

/* Panels & notices */
.panel { background: var(--paper-2); border-radius: var(--radius); padding: 24px; }
.panel h2 { font-size: 1.35rem; }
.notice { border-radius: var(--radius-sm); padding: 16px 20px; background: var(--paper-2); border-left: 4px solid var(--ink); margin-bottom: 24px; }
.notice-info { background: #FFF6D6; border-left-color: #C89A00; }
.notice-info h2 { margin-top: 0; }
.notice h2 { font-size: 1.2rem; margin-bottom: 4px; }
.notice-success { background: var(--green-tint); border-left-color: var(--green); font-weight: 600; }
.email-note { background: var(--green-tint); border-radius: var(--radius-sm); padding: 14px 18px; }

/* ---------- Forms ---------- */
.section-form { padding-top: 40px; }
.form-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 7fr 4fr; gap: 56px; align-items: start; } .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form { display: block; }
.step { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.step legend { font: 600 1.35rem/1.2 var(--head); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 0; }
.step-n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--green-cta); color: #fff; font-size: 1rem; align-items: center; justify-content: center; }
.field { margin-bottom: 20px; }
.code-submit { margin-top: 16px; }
label { display: block; font-weight: 400; color: var(--ink); margin-bottom: 6px; }
.hint { color: var(--muted); font-size: .93rem; margin: -2px 0 10px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1.05rem var(--body); color: var(--ink); background: #fff;
  border: 2px solid #8A9692; border-radius: var(--radius-sm); }
input:focus-visible, textarea:focus-visible { border-color: var(--ink); }
.has-error input, input[aria-invalid="true"] { border-color: var(--red-ink); }
.field-error { color: var(--red-ink); font-weight: 600; margin: 0 0 8px; }
.error-summary { border: 3px solid var(--red-ink); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 28px; background: #fff; }
.error-summary h2 { font-size: 1.2rem; margin-bottom: 8px; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary li + li { margin-top: 6px; }
.error-summary a { color: var(--red-ink); font-weight: 600; display: inline-block; min-height: 24px; }
.error-summary:focus { outline: 3px solid var(--ink); }

/* Date radio cards */
.date-options { display: grid; gap: 10px; }
@media (min-width: 720px) { .date-options { grid-template-columns: 1fr 1fr; } }
.date-option { position: relative; }
.date-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.date-option label { display: flex; gap: 14px; align-items: center; margin: 0; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 400; transition: border-color .15s, background .15s; min-height: 84px; }
.date-option label:hover { border-color: var(--green); }
.date-option input:checked + label { border-color: var(--green-cta); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green-cta); }
.date-option input:checked + label .date-badge { background: var(--green-cta); }
.date-option input:checked + label .db-mon { color: #fff; }
.date-option input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--green-glow); }
.date-option.is-disabled label { cursor: not-allowed; background: var(--paper-2); color: var(--muted); }
.date-option.is-disabled .date-badge { background: #9AA5A1; }
.date-option.is-disabled .avail { color: var(--red-ink); }
.do-text { display: flex; flex-direction: column; }
.do-date { font: 600 1rem/1.3 var(--head); }

.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice { position: relative; flex: 1 1 140px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { margin: 0; display: flex; align-items: center; justify-content: center; min-height: 56px; border: 2px solid var(--line); border-radius: var(--radius); font: 600 1.05rem var(--head); cursor: pointer; background: #fff; }
.choice label:hover { border-color: var(--green); }
.choice input:checked + label { border-color: var(--green-cta); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green-cta); }
.choice input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--green-glow); }
.choice input:disabled + label { cursor: not-allowed; background: var(--paper-2); color: var(--muted); text-decoration: line-through; }
[data-two-note]:empty { display: none; }
[data-two-note] { margin-top: 10px; color: #7A4300; font-weight: 600; }

.privacy-note { font-size: .9rem; color: var(--ink-2); background: var(--paper-2); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; }
.privacy-note p { margin: 0 0 6px; }

/* Summary */
.summary { margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; border-top: 1px solid var(--line); }
.summary > div:first-child { border-top: 0; background: var(--green-tint); }
.summary dt { font-size: .85rem; color: var(--muted); font-weight: 400; }
.summary dd { margin: 0; font-weight: 400; color: var(--ink); overflow-wrap: anywhere; }
.summary .ref { font: 600 1.5rem var(--head); letter-spacing: .04em; color: var(--green-text); }
@media (min-width: 600px) { .summary > div { grid-template-columns: 200px 1fr; align-items: baseline; } }
.manage-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.manage-actions .btn { flex: 1 1 200px; }
.prose p { max-width: 70ch; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; max-width: 70ch; }
.prose li { margin-bottom: .35em; }

/* ---------- Footer ---------- */
.partner-strip { background: #fff; border-top: 1px solid #E3E7E5; padding: 28px 0; }
.partner-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px 32px; }
.partner-divider { width: 1px; height: 56px; background: #C9D0CD; }
.campaign-logo { display: block; height: 64px; width: auto; }
.campaign-placeholder { display: inline-flex; align-items: center; justify-content: center; width: 200px; height: 64px; border: 2px dashed #9AA5A0; border-radius: 8px; color: #5F6B66; font: 600 .8rem/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase; text-align: center; padding: 0 12px; }
@media (max-width: 599px) { .partner-divider { display: none; } }
.partner-logo { display: block; width: 320px; max-width: 100%; height: auto; }
@media (min-width: 900px) { .partner-strip { padding: 36px 0; } .partner-logo { width: 460px; } }
.site-footer { background: var(--night); color: var(--night-text); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { width: max-content; }
.footer-brand .logo { height: 96px; width: auto; }
.site-footer .muted { color: var(--night-muted); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #fff; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: auto 1fr auto; gap: 48px; align-items: start; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.25); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.is-visible { transform: none; }
@media (min-width: 960px) { .sticky-cta { display: none !important; } }
body.has-sticky .site-footer { padding-bottom: 110px; }

/* Add to calendar */
.cal-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; }
.cal-title { font-size: 1.1rem; margin-bottom: 12px; }
.cal-links { display: flex; flex-wrap: wrap; gap: 10px; }
.cal-links .btn { flex: 1 1 180px; }

/* Compact contact details */
.contact-summary { background: var(--paper-2); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 24px; }
.cs-label { font: 600 .75rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cs-main { margin-bottom: 6px; overflow-wrap: anywhere; }
.contact-summary .hint { margin: 0 0 8px; }
.sub-legend { font-size: 1.05rem; margin: 8px 0 12px; }
.check-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.check-row input { width: 24px; height: 24px; accent-color: var(--green-cta); flex: 0 0 auto; margin: 0; }
.check-row label { margin: 0; font-weight: 400; }
.waitlist-link { margin: 14px 0 0; font-size: .95rem; }

/* Live summary (desktop) */
.booking-summary { margin-bottom: 20px; border-top: 4px solid var(--green); }
.booking-summary dl { margin: 0 0 18px; }
.booking-summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.booking-summary dt { color: var(--muted); font-size: .92rem; }
.booking-summary dd { margin: 0; font-weight: 400; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
@media (max-width: 959px) { .booking-summary { display: none; } }

/* Sticky confirm bar (mobile) */
.confirm-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.25);
  transform: translateY(110%); transition: transform .25s ease; }
.confirm-bar.is-visible { transform: none; }
.cb-text { margin: 0; font: 600 .95rem/1.3 var(--head); }
.confirm-bar .btn { flex: 0 0 auto; }
@media (min-width: 960px) { .confirm-bar { display: none !important; } }
body.has-confirm-bar .site-footer { padding-bottom: 100px; }

/* Waiting list */
.choice-col { display: grid; gap: 10px; }
.choice-col .choice label { justify-content: space-between; padding: 0 18px; font-size: 1rem; }
.choice-note { font: 400 .88rem var(--body); color: var(--muted); }
.waitlist-entries { margin-bottom: 28px; }
.wl-list { list-style: none; padding: 0; margin: 0; }
.wl-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }

/* ---------- Attendee details ---------- */
.attendee { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 4px; margin: 0 0 16px; min-width: 0; }
.attendee-title { font: 600 1rem/1.3 var(--head); color: var(--ink); padding: 0 6px; margin-left: -6px; }
.field-pair { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-pair { grid-template-columns: 1fr 1fr; } }
.att-line { display: block; }
.att-line + .att-line { margin-top: 8px; }

/* Booking pages: the heritage lounge photo behind the dark header */
.page-hero-photo { position: relative; overflow: hidden; isolation: isolate; }
.page-hero-photo > .wrap { position: relative; z-index: 1; }
.ph-media { position: absolute; inset: 0; z-index: -1; }
.ph-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,11,10,.94) 0%, rgba(7,11,10,.82) 40%, rgba(7,11,10,.35) 100%), linear-gradient(0deg, rgba(7,11,10,.55), rgba(7,11,10,0) 60%); }
.ph-img, .ph-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
@media (max-width: 719px) { .ph-media::after { background: linear-gradient(180deg, rgba(7,11,10,.72), rgba(7,11,10,.9)); } }

.yesno-q { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.step .yesno-q legend { font: 400 1rem/1.5 var(--body); color: var(--ink); margin-bottom: 8px; padding: 0; display: block; }
.choice-row-sm .choice { flex: 0 1 140px; }
.choice-row-sm .choice label { min-height: 48px; }
.yesno-q [data-cond] .field { margin: 14px 0 0; }

/* Same-email pop-up, registration deadline and cancel prompt */
.modal { border: 0; border-radius: var(--radius-sm); padding: 28px 24px 24px; max-width: min(460px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.35); color: var(--text); }
.modal::backdrop { background: rgba(7, 11, 10, .6); }
.modal h2 { font-size: 1.3rem; margin: 0 0 12px; color: var(--ink); }
.modal p { margin: 0 0 12px; }
.modal form { margin-top: 20px; }
.same-email { margin: -4px 0 16px; }
.deadline-note { border-left: 4px solid #C89A00; background: #FFF6D6; padding: 12px 16px; border-radius: 6px; margin: 16px 0; color: var(--ink); }
.cancel-prompt { margin: 16px 0; }
.cancel-prompt a { font-weight: 600; }
