/* devondotcole — styles
   Colors come from CSS variables set by site.config.js (see js/common.js).
   The values below are the default "seal" theme so the page never flashes. */

:root {
  --bg: #3D77A8;
  --panel: #4A82B2;
  --ink: #FFFFFF;
  --brand: #FFFFFF;
  --on-brand: #0E1B33;
  --accent: #FF4F86;
  --line: #7DA5C9;
  --frame: #0E1B33;

  --ink-soft: color-mix(in srgb, var(--ink) 82%, var(--bg));
  --brand-tint: color-mix(in srgb, var(--brand) 12%, var(--bg));
  --hover-mix: color-mix(in srgb, var(--brand) 82%, var(--frame));

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --notch: 12px;
  --gutter: clamp(16px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--frame);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  font-stretch: 100%;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.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; }

/* ── Page frame (the site sits on a navy board, like a print on a mat) ── */
.site {
  max-width: 1440px;
  margin: clamp(0px, 2.4vw, 32px) auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: clamp(0px, 1vw, 14px);
  overflow: clip; /* clip, not hidden, so sticky panels still stick */
}

/* Bordered grid cells — the structural language of the whole site */
.cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.row { display: grid; border-bottom: 1px solid var(--line); }
.row > :last-child { border-right: 0; }
.row > * { border-bottom: 0; }

/* ── Header ── */
.header {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) 0.5fr 2fr 0.5fr minmax(220px, 1.3fr);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header > * { border-right: 1px solid var(--line); }
.header > :last-child { border-right: 0; }
.header__logo { display: flex; align-items: center; padding: 18px var(--gutter); text-decoration: none; }
.header__spacer { background: var(--panel); }
.header__nav { display: grid; grid-template-columns: 1fr 1fr; }
.header__nav a {
  display: grid; place-items: center; padding: 10px; text-decoration: none;
  color: var(--brand); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.header__nav a:nth-child(2n) { border-right: 0; }
.header__nav a:nth-child(n+3) { border-bottom: 0; }
.header__nav a:hover, .header__nav a[aria-current="page"] { background: var(--brand-tint); }
.header__cta { display: grid; grid-template-rows: 1fr 1fr; }
.header__cta .booking-link {
  display: grid; place-items: center; background: var(--brand); color: var(--on-brand);
  text-decoration: none; font-weight: 600;
}
.header__cta .booking-link:hover { background: var(--hover-mix); }
.socials-mini { display: flex; justify-content: center; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.socials-mini a {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel); color: var(--brand); text-decoration: none;
}
.socials-mini a:hover { background: var(--brand); color: var(--on-brand); }
.socials-mini svg { width: 15px; height: 15px; }

/* Wordmark: DEVONDOTCOLE in Michroma, with a camera-lens O */
.wordmark, .logo { font-family: "Michroma", var(--font); font-weight: 400; font-stretch: 100%; text-transform: uppercase; letter-spacing: -0.01em; }
.logo { display: inline-flex; align-items: baseline; color: var(--brand); font-size: 1.02rem; line-height: 1; }
.lens-o { position: relative; display: inline-block; line-height: 1; }
/* Positioned over the O's inner opening (measured from Michroma's glyph) */
.lens-o__blades { position: absolute; left: 0.155em; top: 0.26em; width: 0.73em; height: 0.615em; overflow: visible; }

/* ── Buttons (notched top-right corner, like a film-frame cut) ── */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border: 0; cursor: pointer; text-decoration: none;
  font-weight: 600; font-size: 1rem; background: var(--b); color: var(--on-brand);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
}
.btn:hover { background: color-mix(in srgb, var(--b) 82%, var(--frame)); }
.btn:focus-visible { clip-path: none; }
.btn--ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); clip-path: none; }
.btn--ghost:hover { background: var(--brand-tint); }
.btn--big { min-height: 60px; padding: 16px 40px; font-size: 1.15rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.text-link { color: var(--brand); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--accent); }

/* ── Display type ── */
.display { font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; line-height: 0.88; color: var(--brand); margin: 0; text-transform: uppercase; }
.h2 { font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; line-height: 0.95; color: var(--brand); font-size: clamp(2.4rem, 6.4vw, 5.6rem); margin: 0; text-transform: uppercase; }
.h3 { font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; font-size: 1.35rem; margin: 0 0 6px; color: var(--ink); }
.lede { color: var(--brand); font-size: 1.12rem; max-width: 46ch; margin: 0 0 28px; }
.muted { color: var(--ink-soft); }

/* ── Hero ── */
.hero-name { background: var(--panel); padding: clamp(28px, 6vw, 72px) var(--gutter) clamp(20px, 4vw, 52px); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-name .display { white-space: nowrap; display: inline-flex; align-items: baseline; font-size: 11.4vw; }
@media (min-width: 1440px) { .hero-name .display { font-size: 164px; } }
.hero-name .display { font-family: "Michroma", var(--font); font-weight: 400; font-stretch: 100%; letter-spacing: -0.02em; line-height: 1; }

.hero-split { display: grid; grid-template-columns: 1.15fr 1fr; border-bottom: 1px solid var(--line); }
.hero-split__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 72px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Photo frame with rule-of-thirds guides */
.frame { position: relative; overflow: hidden; background: var(--frame); min-height: 320px; border-right: 1px solid var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::before, .frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(to right, transparent calc(33.33% - 0.5px), color-mix(in srgb, var(--bg) 55%, transparent) calc(33.33% - 0.5px) calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), color-mix(in srgb, var(--bg) 55%, transparent) calc(66.66% - 0.5px) calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px));
}
.frame::after {
  background:
    linear-gradient(to bottom, transparent calc(33.33% - 0.5px), color-mix(in srgb, var(--bg) 55%, transparent) calc(33.33% - 0.5px) calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), color-mix(in srgb, var(--bg) 55%, transparent) calc(66.66% - 0.5px) calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px));
}
.frame__focus { position: absolute; left: 66.66%; top: 33.33%; width: 54px; height: 54px; translate: -50% -50%; pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top left / 2px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 2px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 2px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 2px 14px no-repeat;
}

/* Placeholder used until real photos are added */
.ph {
  position: relative; width: 100%; height: 100%; min-height: inherit; display: grid; place-items: end start; padding: 16px;
  background:
    radial-gradient(120% 90% at 75% 20%, color-mix(in srgb, var(--bg) 70%, transparent), transparent 60%),
    radial-gradient(80% 70% at 10% 100%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--frame) 80%, var(--brand)), var(--frame));
  color: color-mix(in srgb, #fff 80%, transparent); font-size: 0.82rem;
}
.ph span { background: color-mix(in srgb, var(--frame) 55%, transparent); padding: 4px 8px; }

/* ── Category strip ── */
.strip { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); border-bottom: 1px solid var(--line); }
.strip a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 22px var(--gutter); text-decoration: none; border-right: 1px solid var(--line); }
.strip a:last-child { border-right: 0; }
.strip a:hover { background: var(--brand-tint); }
.strip strong { font-weight: 800; font-stretch: 118%; font-size: 1.35rem; color: var(--brand); }
.strip small { color: var(--ink-soft); font-size: 0.9rem; }

/* ── Services list (home) ── */
.services { display: grid; grid-template-columns: 1.75fr 1fr; border-bottom: 1px solid var(--line); }
.services__list { border-right: 1px solid var(--line); }
.services__head { padding: clamp(32px, 5vw, 64px) var(--gutter) 28px; }
.services__head p { margin: 14px 0 0; max-width: 52ch; }
.svc {
  display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 24px; width: 100%;
  padding: 18px var(--gutter); background: none; border: 0; border-top: 1px solid var(--line); text-align: left; cursor: pointer;
}
.svc__name { font-weight: 900; font-stretch: 118%; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.3rem, 2.8vw, 2.2rem); color: var(--brand); line-height: 1.05; }
.svc__meta { color: var(--ink-soft); font-size: 0.95rem; }
.svc__price { font-weight: 800; font-size: 1.15rem; color: var(--brand); min-width: 4ch; text-align: right; }
.svc:hover { background: var(--brand-tint); }
.svc[aria-pressed="true"] { background: var(--brand); }
.svc[aria-pressed="true"] * { color: var(--on-brand); }
.services__detail { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 48px); }
.aperture { width: clamp(110px, 12vw, 150px); color: var(--brand); }
.aperture .blade { transition: transform 0.5s cubic-bezier(.2,.8,.2,1); transform-origin: 50px 50px; }
.includes { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.includes li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.price-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price-line strong { font-size: 2.2rem; font-weight: 900; font-stretch: 118%; color: var(--brand); letter-spacing: -0.02em; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); background: var(--panel); }
.notice svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.notice p { margin: 0; max-width: 90ch; }

/* ── Testimonials ── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.quote { padding: clamp(28px, 4vw, 48px) var(--gutter); border-right: 1px solid var(--line); margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.quote:last-child { border-right: 0; }
.quote blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.quote figcaption strong { display: block; color: var(--brand); }
.quote figcaption span { color: var(--ink-soft); font-size: 0.92rem; }

.section-title { padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }

/* ── About teaser ── */
.about-teaser { display: grid; grid-template-columns: 1fr 1.75fr; border-bottom: 1px solid var(--line); }
.about-teaser .frame { min-height: 280px; }
.about-teaser__copy { padding: clamp(28px, 5vw, 64px) var(--gutter); }
.about-teaser__copy p { font-size: 1.2rem; max-width: 58ch; margin: 18px 0 20px; }

/* ── Contact grid ── */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.contact a { display: flex; flex-direction: column; gap: 4px; padding: 26px var(--gutter); text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact a:nth-child(3n) { border-right: 0; }
.contact a:nth-last-child(-n+3) { border-bottom: 0; }
.contact a:hover { background: var(--brand-tint); }
.contact small { color: var(--ink-soft); }
.contact strong { color: var(--brand); font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }

/* ── Footer ── */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px var(--gutter); color: var(--ink-soft); font-size: 0.92rem; }

/* ── Explore page ── */
.page-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(24px, 4vw, 40px); background: var(--panel); border-bottom: 1px solid var(--line); }
.page-head .display { font-size: clamp(3.4rem, 12vw, 10rem); }
.page-head p { margin: 0; max-width: 40ch; }
.tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; position: sticky; top: 0; background: var(--bg); z-index: 5; }
.tabs a { flex: 1 0 auto; padding: 16px var(--gutter); text-align: center; text-decoration: none; font-weight: 700; color: var(--brand); border-right: 1px solid var(--line); }
.tabs a:last-child { border-right: 0; }
.tabs a[aria-current="true"] { background: var(--brand); color: var(--on-brand); }
.cat { border-bottom: 1px solid var(--line); scroll-margin-top: 56px; }
.cat__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; padding: clamp(28px, 4vw, 48px) var(--gutter) 24px; }
.cat__head p { margin: 10px 0 0; max-width: 52ch; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.gallery button { padding: 0; border: 0; background: var(--frame); cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.gallery button.wide { grid-column: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.gallery button:hover img { transform: scale(1.03); }
.gallery .ph { cursor: default; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: color-mix(in srgb, var(--frame) 94%, transparent); display: none; place-items: center; padding: 56px 16px; }
.lightbox[open] { display: grid; }
.lightbox img { max-height: 84vh; max-width: 92vw; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; padding: 10px 16px; }
.lightbox .lb-close { top: 8px; right: 8px; }
.lightbox .lb-prev { left: 4px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 4px; top: 50%; translate: 0 -50%; }

/* ── About page ── */
.about-page { display: grid; grid-template-columns: 1fr 1.3fr; border-bottom: 1px solid var(--line); }
.about-page .frame { min-height: 520px; }
.about-page__copy { padding: clamp(32px, 5vw, 72px) var(--gutter); }
.about-page__copy p { font-size: 1.15rem; max-width: 60ch; }
.about-page__copy p:first-child { font-size: 1.45rem; color: var(--brand); font-weight: 500; line-height: 1.4; }

/* ── Booking page ── */
.book { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; border-bottom: 1px solid var(--line); }
.book__steps { border-right: 1px solid var(--line); }
.step { border-bottom: 1px solid var(--line); padding: clamp(24px, 3.5vw, 40px) var(--gutter); }
.step:last-child { border-bottom: 0; }
.step__title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 20px; font-weight: 900; font-stretch: 118%; font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; letter-spacing: -0.02em; color: var(--brand); }
.step__num { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; font-size: 0.6em; border: 2px solid var(--brand); border-radius: 50%; flex: none; font-stretch: 100%; }
.step[data-locked="true"] { opacity: 0.45; pointer-events: none; }

.svc-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-pick label { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: baseline; padding: 16px; background: var(--bg); cursor: pointer; }
.svc-pick input { accent-color: var(--brand); margin: 0; translate: 0 2px; }
.svc-pick strong { font-weight: 800; color: var(--brand); }
.svc-pick small { grid-column: 2 / -1; color: var(--ink-soft); }
.svc-pick label:has(input:checked) { background: var(--brand); }
.svc-pick label:has(input:checked) * { color: var(--on-brand); }
.svc-pick label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: -3px; }

.cal { border: 1px solid var(--line); touch-action: pan-y; }
.cal__bar { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; border-bottom: 1px solid var(--line); background: var(--panel); }
.cal__bar h3 { margin: 0; text-align: center; font-weight: 800; font-stretch: 112%; font-size: 1.2rem; color: var(--brand); }
.cal__bar button { height: 52px; background: none; border: 0; cursor: pointer; color: var(--brand); font-size: 1.4rem; }
.cal__bar button:hover:not([disabled]) { background: var(--brand-tint); }
.cal__bar button[disabled] { opacity: 0.3; cursor: default; }
.cal__months { display: flex; gap: 6px; padding: 10px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.cal__months button { flex: none; padding: 6px 14px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; border-radius: 999px; font-size: 0.9rem; }
.cal__months button[aria-current="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__dow { padding: 8px 0; text-align: center; font-size: 0.8rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.day {
  aspect-ratio: 1 / 0.86; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 8px; background: var(--bg); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; text-align: left;
}
.day:nth-child(7n) { border-right: 0; }
.day__n { font-weight: 700; font-size: 1.05rem; }
.day__open { font-size: 0.74rem; color: var(--brand); line-height: 1.2; }
.day__open::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-right: 5px; }
.day[data-few="true"] .day__open::before { background: var(--accent); }
.day:hover:not([disabled]) { background: var(--brand-tint); }
.day[disabled] { cursor: default; color: color-mix(in srgb, var(--ink) 45%, var(--bg)); background: color-mix(in srgb, var(--panel) 45%, var(--bg)); }
.day[disabled] .day__open { color: inherit; }
.day[disabled] .day__open::before { display: none; }
.day[aria-pressed="true"], .day[aria-pressed="true"]:hover:not([disabled]) { background: var(--brand); color: var(--on-brand); }
.day[aria-pressed="true"] .day__open { color: var(--on-brand); }
.day[aria-pressed="true"] .day__open::before { background: var(--on-brand); }
.day.blank { cursor: default; background: var(--bg); }

.times { margin-top: 22px; }
.times__label { margin: 0 0 12px; font-weight: 600; }
.times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.slot { padding: 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; text-align: left; font-weight: 600; color: var(--brand); }
.slot small { display: block; font-weight: 400; color: var(--ink-soft); }
.slot:hover:not([disabled]) { border-color: var(--brand); background: var(--brand-tint); }
.slot[aria-pressed="true"], .slot[aria-pressed="true"]:hover:not([disabled]) { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.slot[aria-pressed="true"] small { color: var(--on-brand); }
.slot[disabled] { cursor: default; color: color-mix(in srgb, var(--ink) 50%, var(--bg)); text-decoration: line-through; text-decoration-color: var(--accent); background: color-mix(in srgb, var(--panel) 45%, var(--bg)); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea { padding: 12px 14px; border: 1px solid var(--line); background: var(--bg); border-radius: 0; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--ink) 65%, var(--bg)); }
.field textarea { min-height: 96px; resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.field .radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.field .radio input { accent-color: var(--brand); margin-top: 5px; }
.travel-warn { display: none; grid-column: 1 / -1; padding: 14px 16px; border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--bg)); }
.travel-warn[data-show="true"] { display: block; }
.form-error { color: var(--accent); font-weight: 600; margin: 12px 0 0; min-height: 1.5em; }

.pay-box { min-height: 120px; }
.pay-offline { padding: 18px; border: 1px dashed var(--line); background: var(--panel); }

.summary { position: sticky; top: 0; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.summary h2 { margin: 0; }
.summary dl { margin: 0; border-top: 1px solid var(--line); }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary .due { font-size: 1.1rem; }
.summary .due dd { color: var(--brand); font-weight: 900; font-size: 1.5rem; }
.summary .fine { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

.confirm { padding: clamp(40px, 7vw, 96px) var(--gutter); border-bottom: 1px solid var(--line); }
.confirm p { font-size: 1.15rem; max-width: 56ch; }

/* ── Theme panel (open with #themes) ── */
.theme-panel { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: min(340px, calc(100vw - 32px)); background: var(--bg); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 50px rgb(0 0 0 / 0.28); padding: 16px; font-size: 0.92rem; }
.theme-panel h2 { margin: 0 0 10px; font-size: 1rem; }
.theme-panel .presets { display: grid; gap: 6px; }
.theme-panel .preset { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); background: none; cursor: pointer; text-align: left; }
.theme-panel .preset[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.theme-panel .sw { display: flex; }
.theme-panel .sw i { width: 18px; height: 18px; display: block; border: 1px solid rgb(0 0 0 / 0.15); margin-right: -4px; border-radius: 50%; }
.theme-panel .pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 12px 0; }
.theme-panel .pickers label { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.theme-panel .pickers input { width: 36px; height: 26px; padding: 0; border: 1px solid var(--line); background: none; }
.theme-panel textarea { width: 100%; height: 110px; font-family: ui-monospace, Consolas, monospace; font-size: 0.75rem; padding: 6px; border: 1px solid var(--line); background: var(--panel); }
.theme-panel .row-btns { display: flex; gap: 8px; margin-top: 8px; }
.theme-panel .row-btns button { flex: 1; padding: 8px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .header { grid-template-columns: 1fr 1.6fr 1fr; }
  .header__spacer { display: none; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .book__steps { border-right: 0; border-bottom: 1px solid var(--line); }
  .summary { position: static; }
}
@media (max-width: 820px) {
  .header { grid-template-columns: 1fr auto; }
  .header__logo { border-right: 0; }
  .header__nav { grid-column: 1 / -1; order: 3; border-top: 1px solid var(--line); border-right: 0; }
  .header__cta { border-right: 0; border-left: 1px solid var(--line); grid-template-rows: 1fr; }
  .header__cta .booking-link { padding: 0 22px; }
  .header__cta .socials-mini { display: none; }
  .hero-split, .services, .about-teaser, .about-page { grid-template-columns: 1fr; }
  .frame { border-right: 0; border-bottom: 1px solid var(--line); min-height: 300px; aspect-ratio: 4 / 3; }
  .services__list { border-right: 0; border-bottom: 1px solid var(--line); }
  .quotes { grid-template-columns: 1fr; }
  .quote { border-right: 0; border-bottom: 1px solid var(--line); }
  .quote:last-child { border-bottom: 0; }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact a, .contact a:nth-child(3n), .contact a:nth-last-child(-n+3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .contact a:nth-child(2n) { border-right: 0; }
  .contact a:nth-last-child(-n+2) { border-bottom: 0; }
  .strip { grid-template-columns: 1fr; }
  .strip a { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip a:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .page-head, .cat__head { grid-template-columns: 1fr; }
  .svc-pick, .form { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .svc__meta { grid-row: 2; }
  .about-page .frame { min-height: 360px; }
}
@media (max-width: 520px) {
  .contact { grid-template-columns: 1fr; }
  .contact a, .contact a:nth-child(2n), .contact a:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact a:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery button.wide { grid-column: auto; aspect-ratio: 4 / 5; }
  .day { padding: 5px; aspect-ratio: 1 / 1.05; }
  .day__open { font-size: 0.7rem; }
  .day__word { display: none; }
  .day__open::before { margin-right: 3px; }
  .hero-actions .btn { flex: 1; }
}
