/* Halcyon: pearl, lilac and sea-glass on an ink violet night. All colour lives in the two theme blocks. */
:root[data-theme="dark"] {
  --bg: #130e22;
  --bg-2: #191230;
  --ink: #eee9f5;
  --ink-2: #c9c1dc;
  --muted: #a9a1c2;
  --line: rgba(232, 222, 250, .14);
  --line-2: rgba(232, 222, 250, .26);
  --glass: rgba(34, 26, 58, .46);
  --glass-2: rgba(44, 34, 74, .62);
  --lilac: #c3b2f2;
  --sea: #a2dccf;
  --blush: #f1d3e2;
  --iri-1: #c9b8f6;
  --iri-2: #f1d3e2;
  --iri-3: #9fdccd;
  --accent: #c8b8f6;
  --focus: #b9f0e2;
  --btn-bg: linear-gradient(115deg, #f4effb 0%, #e2d7f7 45%, #cfeee6 100%);
  --btn-ink: #1c1533;
  --btn-edge: rgba(255, 255, 255, .55);
  --slot: rgba(195, 178, 242, .09);
  --slot-edge: rgba(195, 178, 242, .34);
  --slot-hover: rgba(195, 178, 242, .2);
  --slot-on-bg: linear-gradient(115deg, #f4effb, #d8ccf5 55%, #c6ebe1);
  --slot-on-ink: #1c1533;
  --taken: rgba(232, 222, 250, .07);
  --taken-ink: #8e86a8;
  --err: #ffb4c4;
  --danger: #ffb4c4;
  --hero-shade: linear-gradient(180deg, rgba(19, 14, 34, 0) 55%, rgba(19, 14, 34, .9) 100%);
  --hero-text-glow: 0 1px 24px rgba(19, 14, 34, .55);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f7f5fa;
  --bg-2: #efebf5;
  --ink: #251d3b;
  --ink-2: #3c3356;
  --muted: #5d5574;
  --line: rgba(60, 44, 110, .14);
  --line-2: rgba(60, 44, 110, .26);
  --glass: rgba(255, 255, 255, .55);
  --glass-2: rgba(255, 255, 255, .78);
  --lilac: #56419c;
  --sea: #1f6658;
  --blush: #a24a72;
  --iri-1: #8a73d6;
  --iri-2: #d58cb2;
  --iri-3: #4fae9a;
  --accent: #56419c;
  --focus: #3a2d86;
  --btn-bg: linear-gradient(115deg, #2b2248 0%, #3a2d63 55%, #23524c 100%);
  --btn-ink: #f7f5fa;
  --btn-edge: rgba(255, 255, 255, .2);
  --slot: rgba(255, 255, 255, .7);
  --slot-edge: rgba(86, 65, 156, .3);
  --slot-hover: rgba(86, 65, 156, .1);
  --slot-on-bg: linear-gradient(115deg, #2b2248, #3a2d63 55%, #23524c);
  --slot-on-ink: #f7f5fa;
  --taken: rgba(60, 44, 110, .05);
  --taken-ink: #6f6888;
  --err: #a3193f;
  --danger: #a3193f;
  --hero-shade: linear-gradient(180deg, rgba(247, 245, 250, 0) 60%, rgba(247, 245, 250, .92) 100%);
  --hero-text-glow: 0 1px 22px rgba(247, 245, 250, .7);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 360;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.defs .s1 { stop-color: var(--iri-1); }
.defs .s2 { stop-color: var(--iri-2); }
.defs .s3 { stop-color: var(--iri-3); }
h1, h2, h3 { font-family: 'Italiana', 'Didot', serif; font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: .005em; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--glass-2); border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
}

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  height: 68px; padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-left));
  transition: background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.top.is-scrolled { background: var(--glass-2); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 210deg, var(--iri-1), var(--iri-2), var(--iri-3), var(--iri-1)); opacity: .9; box-shadow: inset 0 0 0 5px var(--bg); outline: 1px solid var(--line-2); }
.brand-name { font-family: 'Italiana', serif; font-size: 1.7rem; letter-spacing: .04em; }
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a { text-decoration: none; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; color: var(--ink-2); font-size: .98rem; }
.nav a:hover { color: var(--ink); background: var(--slot); }
.count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-size: .78rem; font-weight: 500; display: inline-grid; place-items: center; }
.count[hidden] { display: none; }
.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; color: var(--ink); }
.theme-btn:hover { background: var(--slot); }

/* Hero */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-canvas, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-canvas { display: block; }
.hero-fallback { display: none; z-index: -3;
  background:
    radial-gradient(60% 50% at 78% 28%, color-mix(in srgb, var(--iri-1) 55%, transparent), transparent 70%),
    radial-gradient(45% 40% at 60% 50%, color-mix(in srgb, var(--iri-2) 40%, transparent), transparent 70%),
    radial-gradient(50% 45% at 90% 60%, color-mix(in srgb, var(--iri-3) 45%, transparent), transparent 70%),
    var(--bg);
  filter: blur(10px);
}
.hero.no-gl .hero-fallback { display: block; }
.hero.no-gl .hero-canvas { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-shade); pointer-events: none; }
.hero-inner {
  width: min(1320px, 100% - 32px); margin-inline: auto;
  padding: 140px 0 64px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 48px; align-items: end;
}
.hero h1 {
  font-size: clamp(3.6rem, 9.4vw, 9.6rem);
  line-height: .9;
  letter-spacing: -.012em;
  text-shadow: var(--hero-text-glow);
  max-width: 9ch;
}
.hero-copy { position: relative; isolation: isolate; }
.hero-copy::before { content: ""; position: absolute; inset: -12% -18% -14% -24%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 72%, transparent), color-mix(in srgb, var(--bg) 30%, transparent) 70%, transparent); }
.hero-lede { margin-top: 28px; max-width: 34em; font-size: 1.14rem; color: var(--ink-2); text-shadow: var(--hero-text-glow); }

.intent { border-radius: 28px; padding: 26px; display: grid; gap: 14px; }
.intent-title { font-size: 2rem; }
.intent textarea {
  width: 100%; resize: none; font-size: 1.05rem; line-height: 1.5;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 2px 12px; color: var(--ink);
}
.intent textarea::placeholder { color: var(--muted); opacity: 1; }
.intent textarea:focus { outline: none; border-bottom-color: var(--accent); }
.intent textarea:focus-visible { box-shadow: 0 2px 0 0 var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 8px 16px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); font-size: .95rem;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.chip:hover { background: var(--slot-hover); color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); background: var(--slot-hover); }
.intent-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.intent-note { font-size: .84rem; color: var(--muted); flex: 1 1 14em; }
.suggest { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }
.suggest[hidden] { display: none; }
.suggest-label { font-size: .88rem; color: var(--muted); }
.suggest-name { font-family: 'Italiana', serif; font-size: 2.1rem; line-height: 1.05; }
.suggest-why { color: var(--ink-2); min-height: 3.2em; }
.suggest-why.is-typing::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.suggest .btn { justify-self: start; margin-top: 6px; }

/* Buttons */
.btn {
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 1rem; font-weight: 450; letter-spacing: .01em; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .2s ease, background .25s ease, border-color .25s ease, opacity .2s ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-edge); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { background: var(--slot-hover); }
.btn-danger { color: var(--danger); }
.btn-danger-solid { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 60%, transparent); }
.btn-danger-solid:hover { background: color-mix(in srgb, var(--danger) 12%, transparent); }
.btn-icon { width: 48px; padding: 0; border-color: var(--line-2); background: transparent; color: var(--ink); }
.btn-icon:hover:not(:disabled) { background: var(--slot-hover); }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 12px 2px; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-size: 1rem; }

/* Sections */
.book { padding: 96px 0 40px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 48px; }
.section-head h2, .shows h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.confirm-note { margin-top: 14px; color: var(--ink-2); }
.section-head p { color: var(--muted); max-width: 36em; }

.booking { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.steps { display: grid; gap: 0; min-width: 0; }
.step { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; padding-top: 0; }
.step-title { font-size: clamp(1.8rem, 3vw, 2.3rem); display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.step-n {
  font-size: 1rem; font-family: 'Jost', sans-serif; font-weight: 400;
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--ink-2); transform: translateY(-4px);
}
.step.is-done .step-n { background: var(--btn-bg); color: var(--btn-ink); border-color: transparent; }
.step.is-locked > :not(.step-title):not(.step-hint) { opacity: .72; filter: saturate(.4); pointer-events: none; }
.step-hint { color: var(--muted); margin: -10px 0 18px; }
.fine { font-size: .86rem; color: var(--muted); margin-top: 14px; }

.resched-banner { border-radius: 18px; padding: 16px 20px; margin-bottom: 28px; color: var(--ink); border-color: var(--accent); }
.resched-banner[hidden] { display: none; }

/* Treatments */
.treat-list, .prac-list, .legend, .session-list, .shows-list { list-style: none; margin: 0; padding: 0; }
.treat-list { border-top: 1px solid var(--line); }
.treat-list li { border-bottom: 1px solid var(--line); }
.treat {
  width: 100%; text-align: left; background: transparent; border: 0; border-radius: 0;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 20px 14px; position: relative; color: var(--ink);
  transition: background .3s ease;
}
.treat::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(var(--iri-1), var(--iri-2), var(--iri-3)); opacity: 0; transition: opacity .3s ease; }
.treat:hover { background: linear-gradient(90deg, var(--slot), transparent 80%); }
.treat[aria-pressed="true"] { background: linear-gradient(90deg, var(--slot-hover), transparent 85%); }
.treat[aria-pressed="true"]::before { opacity: 1; }
.treat:focus-visible { border-radius: 14px; outline-offset: -2px; }
.treat-glyph svg { width: 44px; height: 44px; fill: none; stroke: url(#iri); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; display: block; }
.treat-main { display: grid; gap: 4px; min-width: 0; }
.treat-name { font-family: 'Italiana', serif; font-size: 1.75rem; line-height: 1.1; }
.treat-desc { color: var(--muted); font-size: .98rem; max-width: 46em; }
.treat-meta { display: grid; justify-items: end; gap: 2px; color: var(--ink-2); font-size: .95rem; white-space: nowrap; }
.treat-price { font-family: 'Italiana', serif; font-size: 1.5rem; color: var(--ink); }

/* Practitioners */
.prac-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.prac {
  width: 100%; min-height: 76px; text-align: left; display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px; border-radius: 20px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  transition: background .25s ease, border-color .25s ease, opacity .25s ease;
}
.prac:hover:not(:disabled) { background: var(--slot); }
.prac[aria-pressed="true"] { border-color: var(--accent); background: var(--slot-hover); }
.prac:disabled { opacity: .62; cursor: not-allowed; }
.prac-text { display: grid; gap: 2px; min-width: 0; }
.prac-name { font-size: 1.04rem; font-weight: 450; }
.prac-role { font-size: .86rem; color: var(--muted); line-height: 1.35; }
.prac-days { font-size: .84rem; color: var(--ink-2); line-height: 1.35; }
.avatar { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; overflow: hidden; display: block; outline: 1px solid var(--line-2); outline-offset: 2px; }
.avatar svg { width: 100%; height: 100%; display: block; }

/* Calendar */
.cal-bar { display: flex; align-items: center; gap: 14px; }
.cal-range { font-family: 'Italiana', serif; font-size: 1.6rem; flex: 1; text-align: center; }
.tz { color: var(--muted); font-size: .92rem; margin: 10px 0 18px; text-align: center; }
.daystrip { display: none; }
.cal-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 20px; padding: 40px 20px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { display: grid; gap: 6px; align-content: start; min-width: 0; }
.day-head { text-align: center; padding: 6px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.day-head b { display: block; font-weight: 450; font-size: .95rem; }
.day-head span { display: block; font-family: 'Italiana', serif; font-size: 1.6rem; line-height: 1.1; }
.day.is-today .day-head span { color: var(--accent); }
.day-note { font-size: .82rem; color: var(--muted); text-align: center; padding: 10px 2px; }
.slots { display: grid; gap: 6px; }
.slot {
  min-height: 44px; border-radius: 12px; border: 1px solid var(--slot-edge); background: var(--slot);
  font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--ink); padding: 0 4px;
  transition: background .2s ease, transform .2s ease;
}
.slot:hover:not(:disabled) { background: var(--slot-hover); }
.slot:disabled { cursor: default; }
.slot.is-taken { background: transparent; border-color: var(--taken); color: var(--taken-ink); text-decoration: line-through; text-decoration-thickness: 1px; }
.slot.is-closed, .slot.is-past { background: radial-gradient(circle, var(--line-2) 0 1.5px, transparent 2px) center / 100% 100% no-repeat; border: 1px solid transparent; color: transparent; }
.slot.is-closed::after, .slot.is-past::after { content: ""; }
.slot.is-reset { border-style: solid; border-color: transparent; background: repeating-linear-gradient(135deg, var(--taken) 0 6px, transparent 6px 12px); }
.slot[aria-pressed="true"], .slot[aria-pressed="true"]:hover:not(:disabled) { background: var(--slot-on-bg); color: var(--slot-on-ink); border-color: transparent; font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: var(--muted); font-size: .88rem; justify-content: center; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 22px; height: 14px; border-radius: 4px; display: inline-block; }
.key-free { background: var(--slot); border: 1px solid var(--slot-edge); }
.key-taken { background: transparent; border: 1px solid var(--line); background-image: linear-gradient(var(--taken-ink), var(--taken-ink)); background-size: 70% 1px; background-position: center; background-repeat: no-repeat; }
.key-closed { background: radial-gradient(circle, var(--muted) 0 1.5px, transparent 2px) center / 100% 100% no-repeat; }
.key-reset { background: repeating-linear-gradient(135deg, var(--line-2) 0 3px, transparent 3px 6px); }

/* Details form */
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide, .err-form, .btn-book, .details .fine { grid-column: 1 / -1; }
.field label { font-size: .95rem; color: var(--ink-2); }
.opt { color: var(--muted); }
.field input, .field textarea, .remind input[type="tel"] {
  width: 100%; font-size: 16px; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--glass); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .remind input[type="tel"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field input[aria-invalid="true"], .remind input[aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: .9rem; min-height: 0; }
.err:empty { display: none; }
.err.is-suggest { color: var(--ink-2); }
.err .fix { background: none; border: 0; padding: 0 2px; color: inherit; text-decoration: underline; text-underline-offset: 3px; min-height: 0; font-weight: 500; }
.hint { color: var(--muted); font-size: .88rem; }
.btn-book { justify-self: start; min-width: 260px; margin-top: 4px; }

/* Summary */
.summary { position: sticky; top: 92px; border-radius: 26px; padding: 26px; }
.summary h3 { font-size: 1.9rem; margin-bottom: 14px; }
.sum-list, .confirm-list { margin: 0; display: grid; }
.sum-list div, .confirm-list div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.sum-list dt, .confirm-list dt { color: var(--muted); font-size: .92rem; }
.sum-list dd, .confirm-list dd { margin: 0; }
.sum-local { color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); padding-top: 12px; }
.sum-local:empty { display: none; }

/* Confirmation */
.confirm { grid-column: 1 / -1; max-width: 760px; margin-inline: auto; width: 100%; text-align: center; padding: 8px 0 24px; }
.confirm[hidden] { display: none; }
.confirm:focus { outline: none; }
.booking.is-confirmed .steps, .booking.is-confirmed .summary { display: none; }
.confirm-halo { width: 132px; height: 132px; margin: 0 auto 18px; position: relative; }
.confirm-halo::before { content: ""; position: absolute; inset: -30px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--iri-1) 40%, transparent), color-mix(in srgb, var(--iri-3) 18%, transparent) 60%, transparent); opacity: 0; transform: scale(.6); }
.confirm-halo svg { width: 100%; height: 100%; position: relative; overflow: visible; }
.halo-ring { fill: none; stroke: url(#iri); stroke-width: 1.4; stroke-dasharray: 315; stroke-dashoffset: 315; transform-origin: 60px 60px; transform: rotate(-90deg); }
.halo-ring-2 { stroke-width: 1; stroke-dasharray: 252; stroke-dashoffset: 252; opacity: .7; }
.halo-check { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.confirm.is-playing .halo-ring { animation: draw 1.4s cubic-bezier(.6, .1, .2, 1) forwards; }
.confirm.is-playing .halo-ring-2 { animation: draw 1.6s .15s cubic-bezier(.6, .1, .2, 1) forwards, spin 18s linear infinite; }
.confirm.is-playing .halo-check { animation: draw .6s 1.05s ease-out forwards; }
.confirm.is-playing .confirm-halo::before { animation: bloom 2.4s .4s ease-out forwards; }
.confirm.is-playing .confirm-title, .confirm.is-playing .confirm-ref { animation: rise .9s .7s both cubic-bezier(.2, .7, .2, 1); }
.confirm.is-playing .confirm-ref { animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
@keyframes bloom { 0% { opacity: 0; transform: scale(.6); } 50% { opacity: 1; } 100% { opacity: .55; transform: scale(1.1); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.confirm.is-cancelled .halo-ring { stroke: var(--line-2); }
.confirm.is-cancelled .halo-check { opacity: 0; }
.confirm-title { font-size: clamp(2.6rem, 6vw, 4rem); }
.confirm-ref { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }
.confirm-ref strong { display: block; font-family: 'Italiana', serif; font-weight: 400; color: var(--ink); font-size: clamp(2.4rem, 7vw, 3.4rem); letter-spacing: .12em; margin-top: 2px; background: linear-gradient(100deg, var(--ink) 20%, var(--iri-1) 45%, var(--iri-3) 60%, var(--ink) 85%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.confirm.is-cancelled .confirm-ref strong { text-decoration: line-through; text-decoration-thickness: 1px; -webkit-text-fill-color: var(--muted); }
.confirm-list { text-align: left; margin: 30px auto 0; max-width: 560px; }
.confirm-list div:last-child { border-bottom: 1px solid var(--line); }
.remind { border: 0; padding: 0; margin: 28px auto 0; max-width: 560px; text-align: left; }
.remind legend { padding: 0; font-size: .95rem; color: var(--ink-2); margin-bottom: 10px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; gap: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 999px; color: var(--ink-2); transition: background .25s ease, color .25s ease; }
.seg input:checked + span { background: var(--slot-on-bg); color: var(--slot-on-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.remind-phone { margin-top: 14px; display: grid; gap: 6px; }
.remind-phone[hidden] { display: none; }
.remind-phone label { font-size: .92rem; color: var(--ink-2); }
.inline-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-row input { flex: 1 1 200px; }
.remind-line { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cancel-ask { border-radius: 20px; padding: 18px 20px; margin: 18px auto 0; max-width: 560px; display: grid; gap: 12px; justify-items: center; }
.cancel-ask[hidden] { display: none; }
.confirm .link-btn { margin-top: 12px; }

/* Upcoming sessions */
.sessions { padding: 72px 0 48px; }
.empty { color: var(--muted); border: 1px dashed var(--line-2); border-radius: 22px; padding: 28px; text-align: center; }
.empty[hidden] { display: none; }
.session-list { border-top: 1px solid var(--line); }
.session {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 22px 6px; border-bottom: 1px solid var(--line);
}
.session-date { text-align: center; line-height: 1; }
.session-date b { display: block; font-weight: 450; font-size: .9rem; color: var(--muted); }
.session-date span { display: block; font-family: 'Italiana', serif; font-size: 3rem; line-height: 1; margin-top: 4px; }
.session-main { display: grid; gap: 4px; min-width: 0; }
.session-name { font-family: 'Italiana', serif; font-size: 1.7rem; line-height: 1.1; }
.session-meta { color: var(--muted); font-size: .95rem; }
.session-meta span { white-space: nowrap; }
.session-tag { display: inline-block; font-size: .82rem; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); margin-left: 8px; vertical-align: 2px; }
.session.is-cancelled .session-name, .session.is-cancelled .session-date span { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.session-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.session-actions .btn { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.session-ask { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border-radius: 18px; }

/* What this demo shows */
.shows { padding: 72px 0 96px; }
.shows h2 { margin-bottom: 36px; }
.shows-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; counter-reset: none; }
.shows-list li { padding: 18px 0 18px 30px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); max-width: 36em; }
.shows-list li::before { content: ""; position: absolute; left: 0; top: 28px; width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(var(--iri-1), var(--iri-2), var(--iri-3), var(--iri-1)); }

.foot { border-top: 1px solid var(--line); padding: 40px 0 88px; color: var(--muted); font-size: .92rem; }
.foot .wrap { display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
.foot-brand { font-family: 'Italiana', serif; font-size: 1.6rem; color: var(--ink); }

/* Tablet and down */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 128px; }
  .intent { max-width: 620px; }
  .booking { grid-template-columns: 1fr; }
  .summary { position: static; order: 2; }
  .steps { order: 1; }
}
@media (max-width: 860px) {
  .daystrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 16px; }
  .daystrip button {
    min-height: 60px; border-radius: 16px; border: 1px solid var(--line); background: transparent; color: var(--ink-2);
    display: grid; place-items: center; align-content: center; gap: 0; padding: 6px 0; line-height: 1.1;
  }
  .daystrip button b { font-weight: 450; font-size: .78rem; }
  .daystrip button span { font-family: 'Italiana', serif; font-size: 1.35rem; color: var(--ink); }
  .daystrip button[aria-pressed="true"] { background: var(--slot-on-bg); border-color: transparent; }
  .daystrip button[aria-pressed="true"] b, .daystrip button[aria-pressed="true"] span { color: var(--slot-on-ink); }
  .daystrip button.has-none span { color: var(--muted); }
  .daystrip button .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .7; margin-top: 3px; }
  .daystrip button.has-none .dot { opacity: 0; }
  .daystrip[hidden] { display: none; }
  .week { grid-template-columns: 1fr; }
  .day { display: none; }
  .day.is-active { display: grid; }
  .day-head { display: none; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .slot.is-closed, .slot.is-past, .slot.is-reset { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .shows-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav a:not(.nav-sessions) { display: none; }
  .nav a { padding: 10px 12px; }
  .top { gap: 8px; height: 62px; }
  .brand-name { font-size: 1.5rem; }
  .hero { min-height: 0; }
  .hero-inner { padding: 120px 0 40px; gap: 28px; }
  .hero h1 { font-size: clamp(3.4rem, 16.5vw, 5.4rem); }
  .hero-lede { font-size: 1.04rem; margin-top: 20px; }
  .intent { padding: 20px; border-radius: 24px; }
  .intent-title { font-size: 1.7rem; }
  .chip { padding: 8px 14px; font-size: .92rem; }
  .book { padding-top: 64px; }
  .treat { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 8px; align-items: start; }
  .treat-glyph svg { width: 36px; height: 36px; margin-top: 4px; }
  .treat-meta { grid-column: 2; justify-items: start; display: flex; gap: 14px; align-items: baseline; }
  .treat-name { font-size: 1.55rem; }
  .prac-list { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
  .btn-book { width: 100%; min-width: 0; }
  .session { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px 2px; }
  .session-date span { font-size: 2.4rem; }
  .session-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .confirm-actions .btn { flex: 1 1 100%; }
  .sum-list div, .confirm-list div { grid-template-columns: 84px minmax(0, 1fr); }
  .summary { padding: 22px; }
  .step-title { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .suggest-why.is-typing::after { display: none; }
}
