/* ============================================================
   HubTickets demo venue framework (shared by all demo sites)
   Venue-agnostic: every colour and font comes from theme.css.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--c-brand-2); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--c-action); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0; }
.lead { font-size: 1.15rem; color: var(--c-muted); max-width: 60ch; }
.eyebrow { font: 700 0.8rem/1 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-brand-2); }
.muted { color: var(--c-muted); }
.small { font-size: 0.9rem; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Layout */
.wrap {
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 8vw, 96px); }
/* Booking pages (book/*.html: .band--book holds the HubTickets hub, data-display="page"): a short
   top so the journey sits close under the header instead of below an empty band. */
.band--book { padding-top: clamp(20px, 3vw, 32px); }
/* The journey's container: the site's own "Book online" card (white, dashed line), opened up to hold the hub.
   Sized as the locked night-range mock (2026-11-13): the booking pages are 1254 wide with 16px gutters (header and
   footer too, so they line up with the card) and the card pads 18px, which gives the journey its 1182. Phones get
   the hub edge to edge, no card. */
@media (min-width: 720px) {
  body:has(.band--book) .wrap { max-width: 1254px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .band--book .ht-embed { background: var(--c-card); border: 2px dashed var(--c-line); border-radius: var(--radius); padding: 18px; }
}
.band--tint { background: var(--c-brand-tint); }
.band--brand { background: var(--c-brand); color: var(--c-on-brand); }
.band--brand .eyebrow { color: var(--c-action-tint); }
.band--brand .lead, .band--brand .muted { color: var(--c-on-brand); opacity: 0.85; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.split > * { min-width: 0; }

/* Demo banner (required on every demo page) */
.demo-bar {
  background: var(--c-ink); color: #f5f3ee;
  font-size: 0.85rem; line-height: 1.4;
  padding-top: max(8px, env(safe-area-inset-top, 0px)); padding-bottom: 8px;
}
.demo-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; text-align: center; }
.demo-bar strong { color: #fff; }
.demo-bar code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; background: rgba(255,255,255,0.12); padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.demo-bar a { color: #fff; }
/* Phones: one short line, so the bar does not crowd the page (the full text wrapped to five lines). */
.demo-bar .demo-short { display: none; }
@media (max-width: 719px) {
  .demo-bar { font-size: 0.78rem; padding-top: max(6px, env(safe-area-inset-top, 0px)); padding-bottom: 6px; }
  .demo-bar .demo-long { display: none; }
  .demo-bar .demo-short { display: inline; white-space: nowrap; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-brand); color: var(--c-on-brand); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin-right: auto; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand__name { font: 800 1.35rem/1 var(--f-display); letter-spacing: -0.01em; }
.brand__sub { display: block; font: 600 0.68rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; margin-top: 3px; }
.nav { display: flex; gap: 4px; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(255,255,255,0.1); }
.nav a[aria-current="page"] { background: rgba(255,255,255,0.16); }
.nav-toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,0.4); color: inherit; border-radius: 10px; padding: 8px 12px; font: 600 0.9rem var(--f-body); cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--c-brand); flex-direction: column; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 20px; border-top: 1px solid rgba(255,255,255,0.12); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1.05rem; }
  .site-header .btn { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--action { background: var(--c-action); color: var(--c-action-ink); box-shadow: 0 6px 18px -8px var(--c-action); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--light { background: var(--c-card); color: var(--c-brand); }
.btn--sm { padding: 10px 18px; font-size: 0.92rem; }

/* Image slots: AI image if present, brand gradient if not */
.img {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background-color: var(--c-brand);
  background-image: var(--img, linear-gradient(transparent, transparent)), var(--ph, var(--ph-1));
  background-size: cover; background-position: center;
  aspect-ratio: 4 / 3; max-width: 100%;
}
.img[data-ph="2"] { --ph: var(--ph-2); }
.img[data-ph="3"] { --ph: var(--ph-3); }
.img[data-ph="4"] { --ph: var(--ph-4); }
.img--wide { aspect-ratio: 16 / 9; }
.img--tall { aspect-ratio: 4 / 5; }

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; border-radius: 0; aspect-ratio: auto; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-shade, linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.08) 100%)); }
.hero .wrap { padding-block: clamp(64px, 11vw, 140px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { max-width: 15ch; }
.hero .lead { color: rgba(255,255,255,0.9); }
.hero .eyebrow { color: var(--c-action-tint); }
.hero--short .wrap { padding-block: clamp(48px, 7vw, 88px); }

/* Cards */
.card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card .img { border-radius: 0; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.card a.card__link { color: var(--c-brand); font-weight: 700; text-decoration: none; }
.card a.card__link:hover { text-decoration: underline; }
.price { font: 800 1.5rem/1 var(--f-display); color: var(--c-price, var(--c-action)); font-variant-numeric: tabular-nums; }
.price small { font: 600 0.8rem var(--f-body); color: var(--c-muted); }
.band--brand .price { color: var(--c-action); }
.band--brand .price small { color: var(--c-on-brand); opacity: 0.8; }
.badge { display: inline-block; align-self: flex-start; font: 700 0.72rem/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--c-action-tint); color: var(--c-action-tint-ink, var(--c-ink)); }
.badge--brand { background: var(--c-brand-tint); color: var(--c-brand); }

/* Price tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-card); }
table.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.prices th, table.prices td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
table.prices thead th { font: 700 0.78rem var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); background: var(--c-brand-tint); }
table.prices tr:last-child td { border-bottom: 0; }
table.prices td.num { text-align: right; font-weight: 700; white-space: nowrap; }
table.prices th.num { text-align: right; }

/* HubTickets booking hub slot.
   Live: the HubTickets embed injects the hub into [data-hub].
   Preview: the placeholder below shows until the embed is connected. */
.ht-hub { border-radius: var(--radius); }
.ht-hub__ph {
  background: var(--c-card); border: 2px dashed var(--c-line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.ht-hub__ph h3 { font-size: 1.25rem; }
.ht-hub__ph .ht-hub__tag { font: 700 0.7rem/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.ht-hub.is-live .ht-hub__ph { display: none; }
/* Hub card keeps dark text when placed on a brand-coloured band */
.band--brand .ht-hub__ph { color: var(--c-ink); }
.band--brand .ht-hub__ph .muted, .band--brand .ht-hub__ph .price small { color: var(--c-muted); opacity: 1; }


/* Lists and info */
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-brand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.fact { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px; }
.fact b { display: block; font: 800 1.3rem/1.1 var(--f-display); color: var(--c-brand); }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px 20px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--c-muted); }
.callout { background: var(--c-action-tint); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }

/* Footer */
.site-footer { background: var(--c-brand); color: var(--c-on-brand); padding-block: 56px 24px; font-size: 0.95rem; }
.site-footer a { color: inherit; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-grid h4 { font: 700 0.8rem var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { font: 700 0.72rem/1 var(--f-body); padding: 7px 9px; border-radius: 6px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.85rem; opacity: 0.85; }

/* HubTickets contact button: hubtickets.ai's primary button (mint gradient,
   dark teal label, thin teal ring) with the HubTickets icon. */
.ht-fab {
  position: fixed; z-index: 60;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px;
  background-color: #6dd4cf;
  background-image: radial-gradient(130% 150% at 92% 130%, rgba(180,99,42,0.26), transparent 60%), linear-gradient(100deg, #9ae2dc 0%, #6dd4cf 38%, #47a99d 100%);
  color: #0e3a38; text-decoration: none;
  padding: 6px 20px 6px 6px; border-radius: 999px;
  outline: 1px solid rgba(0,80,73,0.42); outline-offset: -1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25), 0 10px 30px -10px rgba(0,0,0,0.45);
  font: 700 0.875rem/1.25 "Open Sans", var(--f-body);
  transition: filter 0.2s, outline-color 0.2s;
}
.ht-fab:hover { filter: brightness(1.05); outline-color: rgba(0,80,73,0.55); }
.ht-fab:focus-visible { border-radius: 999px; outline: 2px solid transparent; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0e3a38, 0 10px 30px -10px rgba(0,0,0,0.45); }
.ht-fab__logo { width: 38px; height: 38px; flex: none; display: block; }
.ht-fab small { display: block; font-weight: 600; font-size: 0.72rem; }
@media (max-width: 520px) { .ht-fab small { display: none; } }
/* Booking pages on a phone: no floating button. The booking box uses the bottom of the screen there
   (sheets, bay arrows, the assistant's message box) and the button sat over them. The footer keeps the link. */
@media (max-width: 719px) { body:has(.band--book) .ht-fab { display: none; } }

/* Enquiry form (Netlify Forms) */
.enquiry { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.enquiry label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.enquiry input, .enquiry select, .enquiry textarea { font: 400 1rem var(--f-body); color: var(--c-ink); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--c-action); outline-offset: 1px; }
.enquiry .btn { align-self: flex-start; }

/* On phones the headline spans the full image, so darken evenly */
@media (max-width: 640px) {
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.6) 100%); }
}
