/* Madame & Mane: deep burgundy on warm beige, Cinzel capitals and a light sans, arched windows like the
   badge, and the brand's burgundy-and-beige stripes. The brand colours and fonts are the variables below. */
:root {
  --cream: #efe7dc;
  --paper: #faf6f0;
  --beige: #e1d4c3;
  --burgundy: #41140f;
  --wine: #6b2a20;
  --ink: #2a0d09;
  --rose: #8a4b3c;
  --tan: #b08a6a;
  --muted: #7a625a;
  --line: color-mix(in srgb, var(--burgundy) 22%, transparent);
  --bad: #9b2c22;
  --radius: 4px;
  --arch: 999px 999px 4px 4px;
  --display: 'Cinzel', Georgia, serif;
  --sans: 'Helvetica Neue', 'Inter', Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --stripes: repeating-linear-gradient(90deg, var(--burgundy) 0 14px, var(--beige) 14px 26px);
}

* { box-sizing: border-box; }
/* touch-action: no double-tap zoom on phones (pinch-zoom is stopped in site.js). */
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; touch-action: manipulation; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  /* "clip" rather than "hidden": hidden would turn the page into its own scroll box and stop the menu from staying at the top. */
  overflow-x: clip;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: 0.04em; color: var(--burgundy); }
h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 0.8rem; }
a { color: inherit; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.9rem; font: 500 0.74rem var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--rose); margin: 0 0 0.9rem; }
.eyebrow::before, .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }

.progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 30; background: var(--burgundy); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; border-radius: var(--radius); border: 1px solid var(--burgundy);
  font: 500 0.8rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.btn-lg { padding: 1.05rem 2.1rem; }
.btn-primary { background: var(--burgundy); color: var(--beige); }
.btn-primary:hover { background: var(--wine); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--burgundy); }
.btn-ghost:hover { background: var(--burgundy); color: var(--beige); }
.btn:disabled { opacity: 0.6; cursor: default; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1rem var(--gutter);
  background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s, border-color 0.3s;
}
/* Once the page scrolls, the menu tightens up and a hairline separates it from the content. */
.nav.scrolled { padding-block: 0.6rem; border-color: var(--line); }
.brand { display: block; line-height: 0; }
.brand-logo { height: 20px; width: auto; }
.nav-links { display: flex; gap: 0.2rem; margin-left: auto; }
.nav-links a { white-space: nowrap; text-decoration: none; font: 500 0.72rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; padding: 0.4rem 0.75rem; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.15rem; height: 1px; background: var(--burgundy); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.nav-links a:hover::after { transform: none; }
.nav-book { padding: 0.6rem 1.2rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--burgundy); margin: 7px 0; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter) clamp(3rem, 6vw, 5.5rem);
  max-width: 1280px; margin: 0 auto;
}
.hero-copy { animation: rise 1s var(--ease) both; }
.logo { line-height: 0; margin: 0.4rem 0 1.4rem; }
.logo img { width: min(100%, 520px); height: auto; }
.tag { font: 400 clamp(1rem, 2vw, 1.25rem) var(--display); letter-spacing: 0.12em; color: var(--rose); margin-bottom: 1.2rem; }
/* "Opening Wednesday 11 November", shown until the opening day. */
.opening { display: inline-block; font: 500 0.75rem var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--beige); background: var(--burgundy); padding: 0.55rem 1rem; border-radius: 2px; margin: 0 0 1.3rem; }
.opening-book { font-size: 0.92rem; color: var(--rose); margin: -0.4rem 0 1rem; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); font-weight: 300; max-width: 30rem; margin: 0 0 2rem; }
.lead b { display: block; font: 500 0.78rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--burgundy); margin-top: 0.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-art { position: relative; justify-self: center; width: min(100%, 440px); animation: rise 1.1s 0.15s var(--ease) both; }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden;
  background: radial-gradient(120% 80% at 50% 70%, var(--wine), var(--burgundy) 70%);
  box-shadow: 0 0 0 1px var(--burgundy), 0 0 0 10px var(--cream), 0 0 0 11px var(--line);
}
.awning { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: var(--stripes); opacity: 0.95; }
.awning::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--beige); }
.rider { position: absolute; left: 50%; top: 46%; width: 78%; translate: -50% -50%; animation: canter 6s ease-in-out infinite; }
.badge { position: absolute; width: clamp(92px, 24%, 118px); right: -6%; top: 8%; background: var(--cream); border-radius: 999px; padding: 8px; rotate: 8deg; box-shadow: 0 10px 30px -14px rgba(42, 13, 9, 0.5); }

/* Marquee bands */
.marquee { position: relative; overflow-x: clip; background: var(--burgundy); color: var(--beige); border-block: 1px solid var(--burgundy); }
.marquee.alt { background: var(--beige); color: var(--burgundy); border-color: var(--line); }
.marquee-track { display: flex; width: max-content; padding: 0.75rem 0; animation: scroll 40s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 400 clamp(1rem, 2vw, 1.3rem) var(--display); letter-spacing: 0.14em; padding: 0 1.4rem; white-space: nowrap; }
.marquee-track i { font-style: normal; margin-left: 2.8rem; opacity: 0.7; }

/* Numbers strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0; }
.stats div { text-align: center; padding: 1.2rem 1rem; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font: 400 clamp(1.3rem, 2.6vw, 1.8rem)/1.2 var(--display); color: var(--burgundy); margin-bottom: 0.3rem; }
.stats span { font: 500 0.7rem var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section { position: relative; padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.section > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.head { margin-bottom: clamp(2rem, 4vw, 3.2rem); text-align: center; }
.sub { font-size: 0.95rem; font-weight: 300; color: var(--muted); margin-top: 0.9rem; }

/* Price list: menu cards with dotted leaders, alternating light and burgundy. */
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 1.4rem; align-items: start; }
.menu-cat { --bg: var(--paper); --fg: var(--ink); --head: var(--burgundy); --rule: var(--line); background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem 1.4rem; }
.menu-cat h3 { font-size: 1.6rem; color: var(--head); text-align: center; margin-bottom: 1.2rem; }
.menu-cat h3::after { content: ''; display: block; width: 40px; height: 1px; background: currentColor; margin: 0.8rem auto 0; opacity: 0.6; }
.menu-item {
  display: block; text-align: left; padding: 0.8rem 0.6rem; margin: 0 -0.6rem; width: calc(100% + 1.2rem);
  background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 2px;
  font: inherit; color: inherit; cursor: pointer; transition: background 0.25s;
}
.menu-item:first-of-type { border-top: 0; }
.menu-item:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.menu-row { display: flex; align-items: baseline; gap: 0.5rem; font: 500 0.82rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.menu-row .dots { flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--fg) 45%, transparent); translate: 0 -0.25em; }
.menu-price { white-space: nowrap; font: 400 1rem var(--display); letter-spacing: 0.04em; color: var(--head); }
.menu-item small { display: block; font-size: 0.88rem; font-weight: 300; opacity: 0.85; margin-top: 0.25rem; }
.menu-item .go { float: right; font: 500 0.68rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; transition: opacity 0.25s; }
.menu-item:hover .go, .menu-item:focus-visible .go { opacity: 1; }
.vat { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 1.6rem; }

/* Stylists: arched portraits like the badge. */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; }
.card { text-align: center; padding: 0 0.6rem 1rem; }
.card .portrait { display: grid; place-items: center; aspect-ratio: 3 / 4; width: min(100%, 210px); margin: 0 auto 1.2rem; border-radius: var(--arch); background: var(--c, var(--burgundy)); overflow: hidden; box-shadow: 0 0 0 1px var(--burgundy), 0 0 0 7px var(--cream), 0 0 0 8px var(--line); transition: transform 0.6s var(--ease); }
.card:hover .portrait { transform: translateY(-6px); }
.card .portrait span { font: 400 3.6rem/1 var(--display); color: var(--beige); }
.card .portrait img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 1.4rem; }
.card .specialty { font: 500 0.68rem var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose); margin: 0.4rem 0 0.6rem; }
.card p { font-size: 0.95rem; font-weight: 300; margin: 0; }
.card .off-today { display: inline-block; font: 500 0.66rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; background: var(--burgundy); color: var(--beige); padding: 0.2rem 0.7rem; border-radius: 2px; margin: 0 0 0.5rem; }
.avatar { display: grid; place-items: center; border-radius: 50%; font: 400 1.1rem/1 var(--display); color: var(--beige); width: 44px; height: 44px; flex: none; }

/* Gallery placeholders: hair swatches in arched frames, until the salon uploads its own photos. */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.4rem; }
.look { text-align: center; }
.look-art { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: var(--arch); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.look-art svg { width: 62%; height: auto; overflow: visible; }
.look-art .lock { rotate: var(--r); transform-box: view-box; transform-origin: 50% 4%; animation: sway 5s ease-in-out infinite; animation-delay: calc(var(--n) * -0.7s); }
.look p { margin: 0.8rem 0 0; font: 500 0.7rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }

/* Gallery tabs (All · Colour · Cut & Style …) sit just above the photos. */
.gallery-tabs { justify-content: center; margin-bottom: 1.4rem; }
.gallery.photos { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-flow: dense; }
.photo { margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; transition: transform 0.8s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo:nth-child(5n + 1) { grid-row: span 2; }
.photo:nth-child(5n + 1) img { aspect-ratio: auto; height: calc(100% - 2.2rem); min-height: 300px; }
.photo:nth-child(5n + 1):not(:has(figcaption)) img { height: 100%; }
.photo figcaption { padding: 0.55rem 0.4rem 0.1rem; font: 500 0.7rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; text-align: center; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; }
.review { margin: 0; padding: 2rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-align: center; }
.review:nth-child(3n + 2) { background: var(--burgundy); color: var(--beige); }
.review:nth-child(3n + 2) figcaption { color: var(--beige); }
.review blockquote { margin: 0.6rem 0 1rem; font-size: 1rem; font-weight: 300; font-style: italic; }
.review figcaption { font: 400 1.1rem var(--display); letter-spacing: 0.08em; color: var(--burgundy); }
.stars { letter-spacing: 0.25em; margin: 0; color: var(--tan); }
.stars span { opacity: 0.3; }

/* Booking */
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.3rem; max-width: 1060px; align-items: start; }
.ticket:has(.stub[hidden]) { grid-template-columns: 1fr; max-width: 720px; }
.wizard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 4vw, 2.4rem); min-width: 0; }
.stub { position: sticky; top: 90px; background: var(--burgundy); color: var(--beige); border-radius: var(--radius); padding: 2.4rem 1.5rem 1.4rem; overflow: hidden; }
/* The striped awning along the top of the summary card. */
.stub::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--stripes); }
.stub-mark { position: absolute; right: 1.2rem; top: 1.8rem; width: 34px; opacity: 0.5; }
.stub-title { font: 400 1.35rem/1.1 var(--display); letter-spacing: 0.06em; margin-bottom: 0.8rem; padding-right: 48px; }
.stub dl { margin: 0; display: grid; gap: 0.15rem; }
.stub dt { font: 500 0.66rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; margin-top: 0.7rem; }
.stub dd { margin: 0; font-weight: 400; font-size: 1rem; min-height: 1.6rem; }
.stub dd.set { animation: fade 0.5s var(--ease); }
.stub-price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid color-mix(in srgb, var(--beige) 40%, transparent); margin: 1.2rem 0 0.8rem; padding-top: 0.9rem; font: 500 0.7rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.stub-price b { font: 400 1.7rem var(--display); }
.stub-note { font: 400 0.9rem var(--display); letter-spacing: 0.1em; text-align: center; margin: 0; opacity: 0.8; }

.steps { list-style: none; display: flex; gap: 0.6rem; padding: 0; margin: 0 0 1.8rem; counter-reset: step; }
.steps li { flex: 1; counter-increment: step; font: 500 0.68rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0.6rem; border-top: 2px solid var(--line); transition: border-color 0.4s; }
.steps li::before { content: counter(step) '. '; }
.steps li.active { color: var(--burgundy); border-color: var(--burgundy); }
.steps li.complete { border-color: var(--tan); }
.step { animation: fade 0.5s var(--ease); }
.step h3 { margin-bottom: 1.1rem; font-size: 1.6rem; }
.options { display: grid; gap: 0.5rem; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.cat-tab { font: 500 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 0.65rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.cat-tab:hover { border-color: var(--burgundy); }
.cat-tab.active { background: var(--burgundy); color: var(--beige); border-color: var(--burgundy); }
.options .opt { animation: fade 0.4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 0.03s); }
.addons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.addon { font: 400 0.85rem var(--sans); padding: 0.5rem 0.95rem; border: 1px solid var(--line); border-radius: 2px; background: var(--cream); color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.addon b { font-weight: 500; opacity: 0.75; }
.addon:hover { border-color: var(--burgundy); }
.addon.on { background: var(--burgundy); color: var(--beige); border-color: var(--burgundy); }
.addon.on::before { content: '✓ '; }
.cat-count { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; margin-left: 0.3em; border-radius: 999px; background: var(--tan); color: #fff; font: 500 0.7rem var(--sans); letter-spacing: 0; }
.opt.pick .tick-box { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--burgundy); font: 400 0.95rem var(--sans); transition: background 0.2s; }
.opt.pick.on { background: var(--burgundy); color: var(--beige); }
.opt.pick.on .tick-box { background: var(--beige); color: var(--burgundy); border-color: var(--beige); }
.opt.pick.on .opt-main small { opacity: 0.85; }
.opt.pick.on:hover { background: var(--wine); color: var(--beige); }
.opt.pick.on .opt-side { background: var(--beige); }
.basket { position: sticky; bottom: 12px; z-index: 3; margin-top: 1rem; }
/* With nothing picked yet there is only a hint, which should stay under the list rather than float over it. */
.basket:not(:has(.basket-bar)) { position: static; }
.basket-items { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.basket-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.35rem 0.3rem 0.8rem; border-radius: 999px; background: var(--beige); font: 400 0.82rem var(--sans); animation: fade 0.4s var(--ease); }
.basket-chip button { border: 0; background: var(--burgundy); color: var(--beige); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 0.7rem; flex: none; }
.basket-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.6rem 0.6rem 0.6rem 1.2rem; background: var(--ink); color: var(--beige); border-radius: var(--radius); font: 400 0.88rem var(--sans); }
.basket-bar b { font-weight: 500; }
.basket-bar .btn-primary { background: var(--beige); color: var(--burgundy); border-color: var(--beige); }
.basket-bar .btn-primary:hover { background: #fff; }
.basket-hint { font-size: 0.85rem; font-weight: 300; color: var(--muted); margin: 0.6rem 0 0; }
.opt {
  display: flex; align-items: center; gap: 0.9rem; width: 100%;
  text-align: left; padding: 0.85rem 1.1rem;
  background: var(--cream); border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; color: inherit; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.opt:hover { border-color: var(--burgundy); }
.opt .opt-main { flex: 1; min-width: 0; font-weight: 500; }
.opt .opt-main small { display: block; font-size: 0.8rem; font-weight: 300; opacity: 0.85; }
.opt .opt-side { white-space: nowrap; font: 400 0.95rem var(--display); background: var(--paper); color: var(--burgundy); padding: 0.15rem 0.6rem; border-radius: 2px; }

.days { display: flex; gap: 0.5rem; overflow-x: auto; padding: 4px 2px 0.8rem; margin-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--burgundy) transparent; }
.day {
  flex: none; width: 64px; padding: 0.6rem 0;
  background: var(--cream); border: 1px solid transparent; border-radius: var(--arch);
  font: inherit; color: inherit; text-align: center; cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.day small { display: block; font: 500 0.64rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.day b { font: 400 1.5rem/1.2 var(--display); }
.day:hover { border-color: var(--burgundy); }
.day.selected { background: var(--burgundy); color: var(--beige); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.5rem; min-height: 3rem; }
.slot {
  padding: 0.6rem 0; background: var(--cream); border: 1px solid transparent; border-radius: 2px;
  font: 400 0.88rem var(--sans); color: inherit; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
  animation: fade 0.4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 0.02s);
}
.slot:hover { background: var(--burgundy); color: var(--beige); }
.slots .muted { grid-column: 1 / -1; }

.summary { background: var(--cream); border-radius: var(--radius); padding: 1rem 1.3rem; margin-bottom: 1.2rem; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.2rem; margin: 0; }
.summary dt { font: 500 0.68rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; align-self: center; color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; }
.summary .btn { margin-top: 1rem; }

form label { display: block; font: 500 0.7rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
form label .muted { text-transform: none; letter-spacing: 0; font-weight: 300; }
input, textarea, select {
  display: block; width: 100%; margin-top: 0.4rem; padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--burgundy) 40%, transparent); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: 400 1rem var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus { outline: 0; border-color: var(--burgundy); box-shadow: 0 0 0 3px color-mix(in srgb, var(--burgundy) 15%, transparent); }
.form-error { color: var(--bad); font-weight: 500; font-size: 0.95rem; min-height: 1.2rem; margin: 0.2rem 0 0.6rem; }
.wizard-nav { margin-top: 1.4rem; }
.done { text-align: center; }
.done .summary { text-align: left; max-width: 420px; margin: 1.2rem auto; }
.tick { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--burgundy); color: var(--burgundy); font-size: 1.6rem; display: grid; place-items: center; margin: 0 auto 1rem; animation: fade 0.6s var(--ease); }
.ref { font: 400 2.4rem var(--display); letter-spacing: 0.2em; color: var(--burgundy); }
/* "Book on WhatsApp only" card, shown instead of the booking form. */
.wa-book {
  max-width: 640px; margin: 0 auto; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 2.8rem) clamp(1.2rem, 5vw, 2.6rem);
}
.wa-book h3 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 0.8rem; }
.wa-book p { max-width: 30rem; margin: 0 auto 1.4rem; font-weight: 300; }
.wa-book .wa-book-note { font: 500 0.75rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin: 1.2rem auto 0; }

/* Keeping the reference: send to WhatsApp, copy, and the note that it is saved on this phone. */
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin: 0.4rem 0 0.6rem; }
.done-note { font-size: 0.9rem; color: var(--muted); max-width: 420px; margin: 0 auto; }
.done-note a, .lookup-help a { color: var(--burgundy); font-weight: 500; text-underline-offset: 3px; }

/* My booking: bookings remembered on this phone, and help for a lost reference. */
.my-bookings { max-width: 800px; margin-bottom: 1rem; display: grid; gap: 0.6rem; }
.my-bookings p { margin: 0; font-weight: 500; }
.saved-ref {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; width: 100%; text-align: left; cursor: pointer;
  padding: 0.85rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit;
  transition: border-color 0.2s;
}
.saved-ref:hover { border-color: var(--burgundy); }
.saved-ref b { font: 400 1.2rem var(--display); letter-spacing: 0.14em; color: var(--burgundy); }
.saved-ref span { font-size: 0.92rem; }
.lookup-help { max-width: 800px; margin: 0.9rem 0 0; font-size: 0.95rem; }

/* My booking */
.lookup { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; max-width: 800px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.lookup label { margin: 0; }
#lookupError { text-align: center; margin-top: 0.8rem; }
#lookupResult { max-width: 460px; background: var(--paper); border: 1px solid var(--line); }
.status { display: inline-block; padding: 0.1rem 0.7rem; border-radius: 2px; font: 500 0.68rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; background: var(--beige); }
.status.confirmed, .status.completed { background: var(--burgundy); color: var(--beige); }
.status.cancelled, .status.no_show { background: var(--bad); color: #fff; }

/* Policies */
.policies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; max-width: 920px; }
.policies > div { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--burgundy); border-radius: var(--radius); padding: 1.7rem 1.5rem; }
.policies h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.policies p { font-size: 0.95rem; font-weight: 300; margin: 0; }
.fyi { position: relative; margin-top: 2.4rem; max-width: 760px; background: var(--burgundy); color: var(--beige); border-radius: var(--radius); padding: 2.2rem 1.8rem; text-align: center; overflow: hidden; }
.fyi h3 { color: var(--beige); font-size: 1.5rem; margin-bottom: 0.6rem; }
.fyi p { font-weight: 300; margin: 0; }
.fyi-amp { position: absolute; right: -10px; bottom: -18px; width: 110px; opacity: 0.12; filter: brightness(0) invert(0.88); }

/* Footer */
.footer { background: var(--burgundy); color: var(--beige); padding: 4rem var(--gutter) 5rem; text-align: center; }
.footer::before { content: ''; display: block; height: 14px; margin: -4rem calc(-1 * var(--gutter)) 3.5rem; background: var(--stripes); }
.footer .wordmark { line-height: 0; margin: 0 auto 2.8rem; max-width: 760px; }
.footer .wordmark img { width: 100%; height: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; max-width: 980px; margin: 0 auto; }
.footer h3 { font-size: 1.05rem; color: var(--beige); letter-spacing: 0.14em; margin-bottom: 0.7rem; }
.footer p { margin-bottom: 0.3rem; font-weight: 300; }
.footer a { text-underline-offset: 4px; }
.footer a:hover { color: #fff; }
.footer-badge { display: block; width: 92px; margin: 2.8rem auto 0; opacity: 0.85; }
.footer-note { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-top: 2rem; }

.sticky-book { display: none; }

/* "Get the app" card */
.install-card {
  position: fixed; z-index: 25; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 460px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.8rem;
  padding: 0.75rem 0.9rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -16px rgba(42, 13, 9, 0.45);
  animation: cardIn 0.6s var(--ease);
}
.install-card { transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
.install-card.away { opacity: 0; visibility: hidden; transform: translateY(24px); }
.install-card img { border-radius: 12px; }
.install-text b { display: block; font: 400 1.05rem/1.1 var(--display); color: var(--burgundy); }
.install-text span { display: block; font-size: 0.85rem; font-weight: 300; line-height: 1.3; margin-top: 0.15rem; }
.install-card .btn { padding: 0.55rem 1rem; }
.install-x { position: absolute; top: -12px; right: -8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--burgundy); color: var(--beige); cursor: pointer; font-size: 0.72rem; }

/* iPhone steps sheet */
.ios-sheet { position: fixed; inset: 0; z-index: 50; display: grid; align-items: end; background: rgba(42, 13, 9, 0.55); backdrop-filter: blur(3px); animation: fadeIn 0.25s ease; }
.ios-panel { background: var(--cream); border-radius: 18px 18px 0 0; padding: 1.6rem 1.4rem 2rem; text-align: center; animation: sheetUp 0.45s var(--ease); max-width: 520px; width: 100%; margin: 0 auto; }
.ios-panel img { border-radius: 16px; }
.ios-panel h3 { font-size: 1.4rem; margin: 0.9rem 0 1.1rem; }
.ios-panel ol { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: 0.6rem; text-align: left; }
.ios-panel li { display: flex; align-items: center; gap: 0.8rem; background: var(--paper); border-radius: var(--radius); padding: 0.75rem 0.9rem; font-size: 0.95rem; }
.step-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--burgundy); color: var(--beige); font: 400 0.95rem var(--display); }
.ios-ico { width: 22px; height: 22px; vertical-align: -5px; color: #0a7aff; margin: 0 0.15rem; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px); } }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes fadeIn { from { opacity: 0; } }

/* A light shower of ampersands and dots after a booking. */
.confetti { position: fixed; z-index: 45; pointer-events: none; left: var(--x); top: var(--y); font-family: var(--display); font-size: var(--s); animation: confetti var(--t) cubic-bezier(0.1, 0.7, 0.3, 1) forwards; }

/* Scroll reveals: only hide content when JavaScript is running. */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--stagger, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
@keyframes canter { 0%, 100% { translate: -50% -50%; } 50% { translate: -50% -53%; } }
@keyframes sway { 0%, 100% { rotate: calc(var(--r) - 2deg); } 50% { rotate: calc(var(--r) + 2deg); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(0.4); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(1); } }

@media (max-width: 900px) {
  /* On a phone the name and the details come first; the arched window sits under them. */
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .logo img { width: min(100%, 380px); }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { width: min(82%, 380px); margin-top: 1rem; }
  .ticket { grid-template-columns: 1fr; }
  .stub { position: relative; top: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .stats div:nth-child(3) { border-left: 0; }
}

@media (max-width: 1080px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0.2rem; padding: 0.8rem var(--gutter) 1.2rem; background: var(--cream); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; font-size: 0.8rem; }
  .nav-links a::after { left: 0; right: auto; width: 40px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-book { display: none; }
  .brand-logo { height: 16px; }
  .steps li { font-size: 0; letter-spacing: 0; }
  .steps li::before { font-size: 0.8rem; content: counter(step); }
  .lookup { grid-template-columns: 1fr; }
  .policies { grid-template-columns: 1fr; }
  .footer a { display: inline-block; padding: 0.5rem 0.25rem; }
  .sticky-book { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 15; box-shadow: 0 12px 30px -12px rgba(42, 13, 9, 0.6); }
  .install-card { bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.closed-note { font-weight: 500; }
