/* R2 Media
   Layout: full-bleed alternating bands; content held to a centered column by .bleed padding (no wrapper divs).
   Look: built from the logo — near-black stage, white type, cool gray outlines, electric logo blue with a navy edge;
   an elegant serif with a script flourish keeps the wedding polish. */

/* ===== Tokens ===== */
:root {
  --bg: #0a0b0f;
  --bg-alt: #111319;
  --surface: #171a22;
  --line: #2a2f3a;
  --fg: #f5f7fa;
  --muted: #a3abb8;
  --accent: #4d8ef0;        /* blue for text and icons (logo blue lifted for contrast on near-black) */
  --accent-fill: #1769e8;   /* the logo's blue, for buttons and fills */
  --accent-ink: #ffffff;    /* text on --accent-fill */
  --accent-2: #8ec5ff;      /* ice blue: gradients, script accents, sparkle */
  --danger: #ff6b6b;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);

  /* Logo colors, exactly as supplied (light theme swaps the white letters for near-black) */
  --logo-letters: #ffffff;
  --logo-outline: #808080;
  --logo-accent: #1769e8;
  --logo-edge: #0b2f7a;

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r: 14px;
  --wrap: 1180px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f7f9; --bg-alt: #eceff3; --surface: #ffffff; --line: #d9dee6;
    --fg: #0b0d12; --muted: #566070; --accent: #1769e8; --accent-fill: #1769e8; --accent-ink: #ffffff;
    --accent-2: #0a4cb5; --danger: #c62828; --shadow: 0 22px 50px -26px rgba(10, 20, 40, .3);
    --logo-letters: #0b0d12;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f7f9; --bg-alt: #eceff3; --surface: #ffffff; --line: #d9dee6;
  --fg: #0b0d12; --muted: #566070; --accent: #1769e8; --accent-fill: #1769e8; --accent-ink: #ffffff;
  --accent-2: #0a4cb5; --danger: #c62828; --shadow: 0 22px 50px -26px rgba(10, 20, 40, .3);
  --logo-letters: #0b0d12;
  color-scheme: light;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p, figure, blockquote { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.01em; font-weight: 600; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
h3 { font-size: 1.55rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent-fill); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ===== Layout primitives ===== */
/* Full-width band whose content is centered in a --wrap column with side gutters */
.bleed {
  padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter-r), calc((100% - var(--wrap)) / 2 + var(--gutter-r)));
}
.narrow { --wrap: 820px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }

/* ===== Type utilities ===== */
.eyebrow { font: 600 .76rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .26em; color: var(--accent); margin-bottom: 14px; }
.sub { color: var(--muted); max-width: 62ch; margin-top: 16px; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-right: 8px; }
.script { font: 400 2rem/1 var(--f-script); color: var(--accent); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Line icons drawn straight on the <svg>, framed by its own padding */
.icon-tile { display: block; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg, .chat-input button svg, .player-controls svg, .chat-launcher-icon { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  background: var(--accent-fill); color: var(--accent-ink); border: 2px solid var(--accent-fill);
  padding: 15px 24px; border-radius: 999px; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--accent-fill); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-small { padding: 10px 18px; font-size: .92rem; min-height: 44px; }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0; color: var(--accent); font: 600 1rem var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--surface); color: var(--fg); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 2; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand { display: inline-flex; flex: none; }
.logo { display: block; height: 52px; width: auto; aspect-ratio: 1316 / 1198; }
.logo-lg { height: 96px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { padding-block: 10px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .96rem; }
.nav a:not(.btn):hover { color: var(--fg); }
.header-book { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; padding: 11px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 8vw, 110px) clamp(56px, 8vw, 110px);
  background: radial-gradient(60% 70% at 85% 10%, color-mix(in srgb, var(--accent-fill) 22%, transparent), transparent 70%), radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 70%);
}
.hero > :not(canvas) { position: relative; z-index: 1; }
.hero-sparkle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-title { font: 600 clamp(3.2rem, 8vw, 6.4rem)/.95 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.hero-title em { display: block; margin-top: .12em; font-size: .7em; line-height: 1.05; font-style: italic; font-weight: 500; }
.hl { background: linear-gradient(100deg, var(--accent), var(--accent-2) 75%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 54ch; margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-photos { padding: 0 0 48px 28px; }
.hp-main { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 18px 18px; box-shadow: var(--shadow); outline: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 10px; }
.hp-inset { position: absolute; left: 0; bottom: 0; width: 46%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--bg); box-shadow: var(--shadow); }
.hp-tag { position: absolute; right: -6px; top: 18%; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font: 600 .85rem var(--f-body); box-shadow: var(--shadow); }
.hp-tag span { font: 400 1.25rem var(--f-script); color: var(--accent); margin-right: 4px; }

/* ===== Ornament ===== */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; color: var(--accent); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: min(120px, 25vw); background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { transform: scaleX(-1); }
.ornament span { width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service, .step-card { display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.service { padding: 28px; gap: 12px; }
.service:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.service p { color: var(--muted); }
.service .icon-tile { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); margin-bottom: 6px; }

/* ===== Behind the decks ===== */
.decks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.deck-card { display: flex; flex-direction: column; gap: 10px; }
.deck-card > :not(figure) { padding-right: 8px; }
.deck-card h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.deck-photo { position: relative; margin-bottom: 42px; aspect-ratio: 3 / 2; max-width: 100%; }
.deck-photo > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.deck-inset { position: absolute; right: 18px; bottom: -30px; width: 38%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid var(--bg); box-shadow: var(--shadow); }
.deck-inset-left { right: auto; left: 18px; }

/* ===== Events ===== */
.events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.event { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(28px, 4vw, 40px); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; border: 1px solid var(--line); background: var(--surface); }
.event::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6, 8, 12, .2) 0%, rgba(6, 8, 12, .72) 42%, rgba(6, 8, 12, .96) 100%); }
.event > :not(.event-bg) { position: relative; z-index: 2; }
.event-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.event:hover .event-bg { transform: scale(1.04); }
.event h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); color: #f5f7fa; }
.event p { color: #c3cad6; max-width: 52ch; opacity: .92; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.event .link-btn { align-self: flex-start; margin-top: 4px; color: #8ec5ff; }

/* ===== Run of show ===== */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .btn { margin-top: 28px; }
.runsheet { list-style: none; margin: 0; padding: 8px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.runsheet li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 14px 24px; align-items: baseline; }
.runsheet li + li { border-top: 1px dashed var(--line); }
.runsheet time { font: 500 .85rem/1.4 var(--f-mono); color: var(--accent); font-variant-numeric: tabular-nums; }
.runsheet strong { display: block; font-weight: 600; }
.runsheet span { color: var(--muted); font-size: .93rem; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step-card { padding: 26px 24px; gap: 10px; }
.step-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.step-card h3 { font-size: 1.45rem; }
.step-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.step-card .link-btn { align-self: flex-start; }
.step-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 600 italic 1.6rem/1 var(--f-display); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); margin-bottom: 6px; }

/* ===== Packages ===== */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pkg { padding: 32px 28px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.pkg .ticks { flex: 1; margin-bottom: 24px; }
.pkg .btn { width: 100%; }
.pkg-featured { border: 2px solid var(--accent-fill); box-shadow: var(--shadow); }
.pkg-flag { position: absolute; top: -13px; left: 28px; background: var(--accent-fill); color: var(--accent-ink); font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.shot { border-radius: var(--r); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; background: var(--surface); }
.shot-wide { grid-column: span 2; }
.shot-tall { grid-row: span 2; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: relative; font: 400 1.35rem/1 var(--f-script); background: color-mix(in srgb, var(--bg) 80%, transparent); padding: 8px 14px 6px; border-radius: 999px; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; font: 600 1.5rem/1.15 var(--f-display); }
.facts .wide { grid-column: 1 / -1; }
.facts .wide dd { font-size: 1.25rem; }
.hero .eyebrow { font-size: clamp(1rem, 1.7vw, 1.3rem); letter-spacing: .16em; line-height: 1.45; margin-bottom: 20px; }

/* ===== Reviews ===== */
.review-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: 24px 28px; margin-bottom: 20px; background: var(--bg-alt); }
.score-block { display: flex; align-items: center; gap: 16px; }
.score { font: 600 4rem/1 var(--f-display); letter-spacing: -.02em; }
.score-note { color: var(--muted); font-size: .9rem; margin-top: 8px; max-width: 24ch; }
.review-scores { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.review-scores div { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 1px solid var(--line); }
.review-scores dt { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.review-scores dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.review-scores .stars { font-size: .7rem; margin-right: 6px; }
/* Masonry columns: reviews of any length and count pack without gaps */
.reviews { columns: 3; column-gap: 20px; }
.review { padding: 28px; display: flex; flex-direction: column; gap: 14px; break-inside: avoid; margin-bottom: 20px; }
.review h3 { font-size: 1.6rem; }
.review blockquote { font: 500 italic 1.2rem/1.5 var(--f-display); }
.review figcaption { margin-top: auto; padding-top: 4px; font: 500 .78rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: .12em; font-size: 1.1rem; line-height: 1; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 500 1.5rem/1 var(--f-mono); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ===== Booking ===== */
.book { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; background: radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%), var(--bg); }
.book-alt { margin-top: 28px; color: var(--muted); }
.calendly-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.calendly-inline-widget { min-width: 280px; height: 700px; }
.calendly-fallback { padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-height: 320px; justify-content: center; color: var(--muted);
  background: repeating-linear-gradient(0deg, transparent 0 47px, color-mix(in srgb, var(--line) 55%, transparent) 47px 48px), repeating-linear-gradient(90deg, transparent 0 47px, color-mix(in srgb, var(--line) 55%, transparent) 47px 48px); }
.cf-title { font: 600 2rem/1.1 var(--f-display); color: var(--fg); }

/* ===== Contact + form ===== */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-width: 0; text-decoration: none; }
.contact-card .icon-tile { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.cc-text { min-width: 0; }
.cc-label, .cc-value { display: block; }
.cc-label { font: 600 .7rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cc-value { font-weight: 600; overflow-wrap: anywhere; }
.contact-card:hover .cc-value { color: var(--accent); }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(22px, 4vw, 36px); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-weight: 600; font-size: .92rem; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea, .chat-input input { font: 400 1rem var(--f-body); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus, .chat-input input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { color: var(--muted); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-tag { color: var(--muted); margin-top: 8px; font-size: .95rem; max-width: 36ch; }
.footer-contact { display: grid; gap: 6px; }
.footer-base { margin-top: 36px; color: var(--muted); font-size: .88rem; }

/* ===== Phone carousel dots ===== */
.carousel-dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel-dots button { width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .25s, background .25s; }
.carousel-dots button[aria-current="true"]::before { width: 22px; background: var(--accent); }

/* ===== Chat ===== */
@keyframes pulse { from { transform: scale(.6); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-launcher {
  position: fixed; z-index: 70;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--accent-fill); color: var(--accent-ink); border: 0; font: 700 .98rem var(--f-body); cursor: pointer;
  box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--accent-fill) 75%, transparent); transition: transform .2s;
}
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher[aria-expanded="true"] { display: none; }
.chat-launcher-icon { display: none; width: 24px; height: 24px; stroke-width: 2; }
.chat-launcher-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-ink); position: relative; }
.chat-launcher-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent-ink); opacity: .5; animation: pulse 1.8s ease-out infinite; }
.chat-panel {
  position: fixed; z-index: 80;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 110px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55);
  display: flex; flex-direction: column; overflow: hidden; animation: rise .22s ease-out;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); flex: none; }
.chat-avatar svg { width: 26px; height: auto; aspect-ratio: 1316 / 859; }
.chat-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.chat-title span { font-size: .8rem; color: var(--muted); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .96rem; line-height: 1.5; overflow-wrap: anywhere; animation: rise .18s ease-out; }
.msg-bot, .typing { background: var(--bg-alt); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--accent-fill); color: var(--accent-ink); border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; }
.msg a { color: inherit; }
.typing { display: inline-flex; gap: 4px; padding: 14px; border-radius: 16px 16px 16px 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.summary { align-self: stretch; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .9rem; display: grid; gap: 6px; }
.summary div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
.summary dt { font: 500 .7rem/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-quick:empty { display: none; }
.chip { border: 1px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 999px; padding: 9px 14px; font: 500 .9rem var(--f-body); cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 22%, var(--bg)); border-color: var(--accent); }
.chip-primary { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); font-weight: 700; }
.chat-date { flex: 1 1 100%; display: flex; gap: 8px; }
.chat-date input { flex: 1; min-width: 0; font: 400 1rem var(--f-body); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.chat-input { display: flex; gap: 8px; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.chat-input input { border-radius: 999px; padding: 12px 16px; }
.chat-input button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent-fill); color: var(--accent-ink); cursor: pointer; display: grid; place-items: center; }
.chat-input button svg { width: 20px; height: 20px; stroke-width: 2; }

/* ===== Music player ===== */
@keyframes spin { to { transform: rotate(360deg); } }
.player {
  position: fixed; z-index: 65;
  left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(380px, calc(100vw - 40px)); background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s, width .3s;
}
.player.is-ready { opacity: 1; transform: none; }
.player-bar { display: flex; align-items: center; gap: 12px; padding: 10px; }
.player-disc { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; background: none; color: var(--accent-ink); }
/* the spinning record is the button's ::before, so the play/pause glyph stays upright */
.player-disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-fill) 0 17%, #07080b 18% 21%, transparent 22%), repeating-radial-gradient(circle, #0e1014 0 2px, #1a1d24 2px 3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.player[data-state="playing"] .player-disc::before { animation: spin 3.2s linear infinite; }
.player-disc svg { position: relative; grid-area: 1 / 1; width: 16px; height: 16px; fill: currentColor; }
.player-disc .ic-play { margin-left: 2px; }
.player-disc .ic-pause, .player[data-state="playing"] .ic-play { display: none; }
.player[data-state="playing"] .ic-pause { display: block; }
.player[data-state="waiting"] .player-disc::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 1.8s ease-out infinite; }
.player-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.player-label, .player-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-label { font: 600 .66rem/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.player-title { font: 600 1.08rem/1.2 var(--f-display); }
.player-progress { height: 4px; border-radius: 4px; background: var(--line); margin-top: 5px; cursor: pointer; position: relative; }
.player-progress span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-fill), var(--accent-2)); }
.player-controls { display: flex; gap: 2px; flex: none; }
.player-controls button { width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.player-controls button:hover { color: var(--fg); background: var(--bg-alt); }
.player-controls svg { width: 18px; height: 18px; stroke-width: 1.8; }
.player-controls .ic-solid svg { fill: currentColor; stroke: none; }
.player.is-muted .wave { opacity: .2; }
#playerList[aria-expanded="true"] { color: var(--accent); }
.ic-expand { display: none; }
.player-tracks { list-style: none; margin: 0; padding: 4px 8px 10px; border-top: 1px solid var(--line); max-height: 240px; overflow-y: auto; }
.player-tracks button { width: 100%; display: flex; gap: 12px; align-items: baseline; text-align: left; background: none; border: 0; color: var(--fg); padding: 9px 8px; border-radius: 10px; cursor: pointer; font: 500 .92rem var(--f-body); }
.player-tracks button:hover { background: var(--bg-alt); }
.player-tracks .tn { font: 500 .72rem var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.player-tracks .tt { min-width: 0; overflow-wrap: anywhere; }
.player-tracks small { display: block; color: var(--muted); font-size: .8rem; }
.player-tracks .active button { color: var(--accent); }
.player.is-min { width: auto; border-radius: 999px; }
.player.is-min .player-bar { padding: 6px; }
.player.is-min .player-meta, .player.is-min .player-controls > :not(#playerMin), .player.is-min .player-tracks { display: none; }
.player.is-min .ic-expand { display: inline; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
}
@media (max-width: 980px) {
  .contact-cards, .hero, .split, .book, .about { grid-template-columns: minmax(0, 1fr); }
  .hero-photos { max-width: 520px; width: 100%; margin-inline: auto; }
  .decks-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .services, .packages { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .reviews { columns: 2; }
  .review-summary { grid-template-columns: minmax(0, 1fr); }
  .review-scores { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-book { display: inline-flex; margin-left: auto; }
  .nav {
    position: absolute; left: var(--gutter); right: var(--gutter-r); top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    padding: 8px 18px 18px; display: none; max-height: calc(100dvh - 100px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--fg); }
  .nav .btn { margin-top: 16px; }
}
@media (max-width: 640px) {
  .logo { height: 46px; }
  .logo-lg { height: 84px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }
  .lead { margin-top: 18px; }

  /* Swipeable card rows */
  .cards-row {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    max-width: none; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r));
    padding: 14px var(--gutter-r) 8px var(--gutter); scroll-padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; gap: 14px;
  }
  .cards-row::-webkit-scrollbar { display: none; }
  .cards-row > * { scroll-snap-align: start; }
  .cards-row + .carousel-dots { display: flex; }
  .reviews { columns: auto; align-items: start; }
  .review-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review { margin-bottom: 0; }
  .service:hover, .step-card:hover { transform: none; }

  .event { min-height: 300px; }
  .events, .steps, .quote-form { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 14px; }
  .decks-grid { gap: 48px; }
  .deck-photo { margin-bottom: 36px; }
  .contact-card { padding: 14px 16px; }
  .runsheet li { grid-template-columns: 76px minmax(0, 1fr); padding: 13px 18px; gap: 12px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-photos { padding-left: 16px; }
  .hp-tag { right: 0; }
  .gallery { grid-auto-rows: 150px; }

  /* Bottom dock: player on the left, round chat button on the right */
  .player { left: calc(12px + env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 92px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); }
  .player:has(.player-tracks:not([hidden])) { width: calc(100vw - 24px); z-index: 75; }
  .player-bar { gap: 8px; padding: 6px 8px 6px 6px; }
  .player-disc { width: 44px; height: 44px; }
  .player-controls > :not(#playerList):not(#playerNext) { display: none; }
  .player-controls button { width: 44px; height: 44px; }
  .player-title { font-size: .98rem; }
  .chat-launcher { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: 64px; height: 64px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat-launcher-text, .chat-launcher-dot { display: none; }
  .chat-launcher-icon { display: block; }
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100%; height: 100dvh; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); }
}
@media (hover: none) {
  .service:hover, .step-card:hover, .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Bot check, shown only when Cloudflare needs a click (rare) */
.r2-turnstile { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000; }
