/* Brand tokens match the live css/styles-v4.css. No external font dependency.
   The live site uses Oswald/Open Sans; native condensed/sans fallbacks retain
   its uppercase, tracked headings without requiring Google Fonts. */
:root {
  color-scheme: dark;
  --fire-orange: #ff6b35;
  --fire-red: #dc2626;
  --fire-dark: #991b1b;
  --ice-blue: #0ea5e9;
  --ice-light: #7dd3fc;
  --ice-cyan: #06b6d4;
  --dark-bg: #0f172a;
  --darker-bg: #020617;
  --card-bg: #1e293b;
  --text-light: #f8fafc;
  --text-muted: #b4c1d3;
  --border-color: #334155;
  --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --heading-font: "Arial Narrow", "Aptos Narrow", "Roboto Condensed", Impact, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--dark-bg); color: var(--text-light); font: 400 16px/1.65 var(--body-font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:not(:disabled), input[type="checkbox"]:not(:disabled), input[type="radio"]:not(:disabled) { cursor: pointer; }
a { color: var(--ice-light); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: #fff; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--ice-light); outline-offset: 4px; }
h1, h2, h3, h4 { font-family: var(--heading-font); text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; font-weight: 700; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 12px 20px; background: #fff; color: var(--darker-bg); border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.site-header { background: #fff; color: var(--dark-bg); border-bottom: 1px solid #dce4ec; }
.header-top { background: linear-gradient(90deg, var(--fire-orange), var(--fire-red), var(--ice-blue), var(--ice-cyan)); color: var(--darker-bg); padding: 8px 16px; text-align: center; font-size: 11px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.header-top span { margin: 0 5px; }
.header-inner { max-width: 1400px; margin: auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-logo { display: block; width: 174px; height: auto; object-fit: contain; background: #fff; flex-shrink: 0; }
.header-label { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: right; }
.header-dot { width: 6px; height: 6px; background: var(--ice-cyan); border-radius: 50%; }
.page-layout { width: min(1400px, 100%); padding: 28px 16px 48px; margin: auto; display: grid; gap: 28px; align-items: start; }
.tour-intro { position: relative; isolation: isolate; padding: 26px 24px; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--fire-dark) -55%, var(--dark-bg) 48%, #0c4a6e 145%); }
.tour-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .15; background: repeating-linear-gradient(135deg, transparent 0 90px, rgba(125,211,252,.22) 90px 91px, transparent 91px 180px); pointer-events: none; }
.intro-topline, .card-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.eyebrow, .section-kicker { display: block; font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5; }
.eyebrow { color: var(--ice-light); }
.intro-mark { color: var(--text-muted); font: 600 12px var(--heading-font); letter-spacing: .12em; }
.tour-intro h1 { font-size: clamp(43px, 9vw, 68px); margin: 26px 0 20px; letter-spacing: .025em; }
.fire-text { color: var(--fire-orange); }
.ice-text { color: var(--ice-blue); }
.intro-copy { color: #d7e1ed; font-size: 15px; max-width: 460px; }
.preview-note { color: var(--ice-light); border-left: 2px solid var(--ice-blue); padding-left: 12px; font-size: 12px; margin-top: 20px; }
.tour-date { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.date-line { width: 4px; height: 42px; border-radius: 4px; background: linear-gradient(var(--fire-orange), var(--ice-blue)); flex-shrink: 0; }
.tour-date strong { display: block; font-size: 17px; }
.tour-date span:not(.date-line) { display: block; font-size: 12px; color: var(--text-muted); }
.tour-facts { margin: 28px 0 0; display: grid; }
.tour-facts div { border-top: 1px solid rgba(148,163,184,.25); padding: 13px 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tour-facts dt { color: var(--text-muted); font-size: 11px; }
.tour-facts dd { margin: 0; font-size: 12px; font-weight: 600; text-align: right; }
.intro-footnote { display: none; }
.registration-card { min-width: 0; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: 0 18px 45px rgba(2,6,23,.18); padding: 24px 20px; position: relative; }
.registration-card::before { content: ""; position: absolute; height: 3px; top: -1px; left: 18px; right: 18px; background: linear-gradient(90deg, var(--fire-orange), var(--fire-red), var(--ice-blue), var(--ice-cyan)); border-radius: 6px; }
.small-label { font-size: 10px; color: var(--text-muted); white-space: nowrap; }
.registration-title { font-size: 22px; margin-top: 12px; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 0 22px; margin: 22px 0 26px; gap: 8px; border-bottom: 1px solid var(--border-color); list-style: none; }
.stepper li { color: var(--text-muted); font-size: 10px; line-height: 1.35; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.step-number { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #64748b; color: #cbd5e1; border-radius: 50%; font: 700 12px var(--body-font); }
.stepper .is-current { color: var(--text-light); font-weight: 700; }
.is-current .step-number { background: var(--ice-blue); color: var(--darker-bg); border-color: var(--ice-blue); box-shadow: 0 0 0 4px rgba(14,165,233,.1); }
.stepper .is-complete { color: var(--ice-light); }
.is-complete .step-number { background: #0c4a6e; color: var(--ice-light); border-color: var(--ice-light); }
.section-heading { margin-bottom: 22px; }
.section-kicker { color: var(--ice-light); margin-bottom: 9px; }
.section-heading h3 { font-size: 25px; margin-bottom: 12px; }
.section-heading p { font-size: 14px; color: var(--text-muted); }
.status-message { font-size: 13px; color: var(--ice-light); }
.status-message:not(:empty) { margin-bottom: 16px; padding-left: 12px; border-left: 2px solid var(--ice-blue); }
.notice { border-radius: 8px; border: 1px solid; padding: 14px 16px; font-size: 13px; margin: 0 0 20px; overflow-wrap: anywhere; }
.notice-error { color: #fecaca; background: #391821; border-color: #a8474f; }
.notice-info { color: #cceeff; background: #11334b; border-color: #397697; }
.safety-box { background: linear-gradient(135deg, rgba(255,107,53,.09), rgba(14,165,233,.06)); border: 1px solid #5d4a49; border-left: 3px solid var(--fire-orange); padding: 18px; border-radius: 8px; }
.safety-heading { display: flex; align-items: flex-start; gap: 12px; }
.safety-symbol { width: 26px; height: 26px; display: grid; place-items: center; background: var(--fire-orange); color: var(--darker-bg); font-size: 16px; font-weight: 900; border-radius: 50%; flex-shrink: 0; }
.safety-heading h4 { font-size: 17px; color: #ffac8e; }
.safety-heading p { color: var(--text-muted); font-size: 12px; margin-top: 6px; }
.safety-list { padding-left: 18px; margin: 16px 0 0; color: #d6deea; font-size: 13px; }
.safety-list li { padding-left: 3px; margin-bottom: 10px; }
.safety-list li:last-child { margin-bottom: 0; }
.safety-list li::marker { color: var(--fire-orange); }
.safety-list strong { color: var(--text-light); font-weight: 650; }
.agreement-box { margin-top: 24px; }
.agreement-box h4 { font-size: 19px; margin-bottom: 8px; }
.agreement-box > p { color: var(--text-muted); font-size: 13px; }
.button { min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-family: var(--heading-font); font-weight: 700; font-size: 15px; letter-spacing: .055em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 14px; line-height: 1.4; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--fire-red), var(--fire-dark)); box-shadow: 0 3px 12px rgba(153,27,27,.17); }
.button-primary:hover:not(:disabled) { background: linear-gradient(135deg, #c51f1f, #801919); }
.button-primary:disabled { background: #384457; border-color: #5c6a7d; color: #bdc7d5; box-shadow: none; cursor: not-allowed; }
.button-outline { color: var(--ice-light); border: 1px solid var(--ice-blue); background: var(--dark-bg); }
.button-outline:hover { color: #fff; background: #0c4a6e; }
.button-back { background: transparent; color: var(--text-muted); border-color: var(--border-color); }
.button-back:hover:not(:disabled) { background: var(--dark-bg); color: #fff; }
.button-back:disabled { opacity: .55; cursor: not-allowed; }
.agreement-link { width: 100%; margin-top: 16px; justify-content: space-between; }
.material-status-line { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 10px 0 15px; }
.field-hint { color: var(--text-muted); font-size: 11px; }
.text-button { border: none; padding: 10px 2px; background: transparent; font-size: 12px; color: var(--ice-light); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.text-button:hover:not(:disabled) { color: #fff; }
.text-button:disabled { color: var(--text-muted); opacity: .65; cursor: not-allowed; }
.check-row { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 13px 0; font-size: 13px; line-height: 1.65; }
.check-row input { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; accent-color: var(--ice-blue); }
.check-row:has(input:disabled) { color: var(--text-muted); cursor: not-allowed; }
.legal-note { font-size: 11px !important; color: var(--text-muted); margin: 3px 0 0 32px; line-height: 1.7; }
.step-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--border-color); margin-top: 26px; padding-top: 22px; }
.step-actions .button-primary { flex: 1; }
.action-note { font-size: 11px; color: var(--text-muted); flex-basis: 100%; }
.availability-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.timezone-label { font-size: 11px; color: #d4deeb; font-weight: 700; }
.slot-list { margin-top: 20px; display: grid; gap: 24px; }
.slot-day { min-width: 0; margin: 0; padding: 0; border: none; }
.slot-day legend { font: 700 19px var(--heading-font); text-transform: uppercase; letter-spacing: .055em; padding: 0; color: var(--ice-light); margin-bottom: 12px; }
.slot-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.slot-option { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--dark-bg); border: 1px solid #5a6a82; border-radius: 8px; cursor: pointer; min-height: 90px; }
.slot-option input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 18px; accent-color: var(--ice-blue); }
.slot-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.slot-title { font-size: 14px; font-weight: 750; }
.slot-meta { font-size: 11px; color: var(--text-muted); }
.slot-option:hover:not(.is-disabled) { border-color: var(--ice-blue); }
.slot-option:has(input:checked) { border-color: var(--ice-blue); background: #10354f; box-shadow: inset 0 0 0 1px var(--ice-blue); }
.slot-option:has(input:focus-visible) { outline: 3px solid var(--ice-light); outline-offset: 3px; }
.slot-option.is-disabled { background: #303946; border-color: #505b6c; color: #bac4d2; cursor: not-allowed; }
.slot-option.is-disabled .slot-meta { color: #bec8d5; }
.slot-option.is-disabled input { cursor: not-allowed; }
.loading-box { padding: 28px 16px; text-align: center; border: 1px dashed #63748d; border-radius: 8px; font-size: 13px; color: var(--text-muted); background: var(--dark-bg); }
.availability-note { font-size: 11px; color: var(--text-muted); line-height: 1.7; margin-top: 18px; }
.selection-summary { background: #10334b; border: 1px solid #38617e; border-radius: 8px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.selection-summary .section-kicker { margin-bottom: 5px; }
.selection-summary strong { display: block; font-size: 15px; overflow-wrap: anywhere; }
.selection-summary .field-hint { display: block; margin-top: 4px; }
.participant-fields { border: none; margin: 0; padding: 0; min-width: 0; }
.name-fields { display: grid; gap: 18px; }
.field { margin-bottom: 18px; }
.name-fields .field { margin-bottom: 0; }
.name-fields { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.field input { color: var(--text-light); background: var(--dark-bg); border: 1px solid #64748b; border-radius: 8px; padding: 13px 14px; width: 100%; min-height: 48px; font-size: 16px; }
.field input:focus { border-color: var(--ice-blue); }
.field input:disabled { color: #c5d0df; background: #303a4a; }
input[aria-invalid="true"] { border-color: #fda4af; outline-color: #fda4af; }
.field-error { color: #fda4af; font-size: 12px; margin-top: 7px; }
.participant-agreements { margin-top: 22px; padding-top: 8px; border-top: 1px solid var(--border-color); }
.participant-agreements .check-row { border-bottom: 1px solid var(--border-color); }
.participant-agreements .field-error { margin-left: 32px; margin-bottom: 8px; }
.captcha-box { margin-top: 24px; padding: 16px 0; border-bottom: 1px solid var(--border-color); min-width: 0; }
.captcha-box .field-hint { margin-top: 10px; }
#tour-captcha { min-height: 78px; }
.submit-note { font-size: 11px; color: var(--text-muted); margin-top: 20px; }
#retry-notice { margin-top: 20px; margin-bottom: 0; }
.confirmation-panel { padding: 8px 0; }
.confirmation-mark { width: 58px; height: 58px; border-radius: 50%; background: #10374d; border: 1px solid var(--ice-blue); color: var(--ice-light); display: grid; place-items: center; font-size: 30px; margin-bottom: 24px; }
.confirmation-panel h3 { font-size: 30px; margin: 10px 0 16px; }
.confirmation-panel > p { color: var(--text-muted); font-size: 14px; }
.confirmation-details { background: var(--dark-bg); border: 1px solid var(--border-color); padding: 20px; border-radius: 8px; margin: 24px 0; }
.confirmation-details div + div { border-top: 1px solid var(--border-color); padding-top: 16px; margin-top: 16px; }
.confirmation-details dt { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.confirmation-details dd { margin: 0; font-weight: 650; }
.confirmation-details dd.field-hint { font-weight: 400; margin-top: 5px; }
#booking-id { color: var(--ice-light); overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 15px; }
.confirmation-reminder h4 { color: #ffac8e; font-size: 18px; margin-bottom: 10px; }
.confirmation-reminder p { font-size: 13px; color: #d8e0eb; }
.confirmation-reminder p + p { margin-top: 12px; }
.confirmation-contact { margin-top: 24px; }
.site-footer { border-top: 1px solid var(--border-color); background: var(--darker-bg); padding: 36px 20px 24px; }
.footer-inner { max-width: 1280px; margin: auto; display: grid; gap: 26px; }
.footer-inner h2 { font-size: 18px; color: var(--fire-orange); margin-bottom: 12px; }
.footer-inner p, .footer-inner address, .footer-inner a { color: var(--text-muted); font-size: 13px; font-style: normal; line-height: 1.8; }
.footer-inner a { display: block; padding: 4px 0; }
.footer-inner a:hover { color: var(--ice-light); }
.footer-inner address + p { margin-top: 6px; color: var(--ice-light); font-size: 11px; }
.footer-bottom { max-width: 1280px; margin: 26px auto 0; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (min-width: 480px) {
  .brand-logo { width: 208px; }
  .header-top { font-size: 12px; }
  .registration-card { padding: 28px; }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stepper li { font-size: 11px; flex-direction: row; align-items: center; }
  .step-number { flex-shrink: 0; }
  .name-fields { grid-template-columns: 1fr 1fr; }
  .step-actions .button-primary { flex: initial; }
  .action-note { flex: 1; max-width: 220px; }
}
@media (min-width: 800px) {
  .header-inner { padding: 14px 36px; }
  .brand-logo { width: 240px; }
  .header-label { font-size: 12px; }
  .page-layout { grid-template-columns: minmax(260px, .8fr) minmax(460px, 1.2fr); padding: 44px 28px 64px; gap: 26px; }
  .tour-intro { padding: 30px 26px; }
  .tour-intro h1 { font-size: clamp(50px, 5.5vw, 72px); }
  .intro-footnote { display: flex; gap: 12px; align-items: center; margin-top: 50px; font-size: 11px; color: var(--text-muted); }
  .small-rule { width: 25px; height: 1px; background: var(--ice-blue); }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
}
@media (min-width: 1100px) {
  .page-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 40px; padding: 56px 36px 80px; }
  .tour-intro { padding: 36px; }
  .tour-intro h1 { font-size: 76px; margin-top: 36px; }
  .intro-copy { font-size: 16px; }
  .tour-facts { margin-top: 36px; }
  .tour-facts dt, .tour-facts dd { font-size: 12px; }
  .registration-card { padding: 36px 40px; }
  .registration-title { font-size: 25px; }
  .section-heading h3 { font-size: 28px; }
  .stepper li { font-size: 12px; }
  .safety-box { padding: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform 140ms cubic-bezier(.23,1,.32,1), opacity 140ms; }
  .button:active:not(:disabled) { transform: scale(.98); }
  .slot-option { transition: border-color 140ms, background-color 140ms; }
}
@media (forced-colors: active) {
  .slot-option.is-disabled { border-style: dashed; }
  .button-primary { border: 1px solid ButtonText; }
  .step-number { border: 1px solid CanvasText; }
}
@media print {
  body { background: #fff; color: #000; }
  .tour-intro, .stepper, .site-footer, .header-top, .header-label, #tour-form, .card-topline, .registration-title, .confirmation-contact { display: none; }
  .page-layout { display: block; padding: 0; }
  .registration-card, .confirmation-details, .safety-box { background: #fff; color: #000; border-color: #666; box-shadow: none; }
  .confirmation-panel *, .confirmation-details *, .safety-box * { color: #000 !important; }
  .confirmation-mark { border-color: #000; background: #fff; }
}
