/* ------------------------------------------------------------------ *
 * The typefaces, served from this site rather than from Google
 * ------------------------------------------------------------------ *
 *
 * These used to come from fonts.googleapis.com, which cost every first-time
 * visitor two extra DNS lookups, two TCP connections and two TLS handshakes
 * before a single letter could be drawn — and put a request to a third party
 * on every page view, which a studio handling private work should not need to
 * explain to anybody.
 *
 * They are variable fonts: one file covers weights 300 to 700, where the old
 * setup pulled a separate file per weight. Alex Brush is gone entirely — it
 * was still being downloaded for a wordmark the header stopped using when it
 * moved to the logo artwork.
 *
 * The latin-ext files are listed but only fetched when a character needs them,
 * which is what unicode-range is for: an Afrikaans page never touches them, a
 * client called Renée does.
 *
 * font-display: swap means text is readable in the fallback face immediately
 * rather than invisible while the font arrives. The two faces used above the
 * fold are preloaded in the page head, so in practice the swap rarely shows.
 */


@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==================================================================
   StefCreated — site stylesheet
   ------------------------------------------------------------------
   1. Tokens & base          5. Components (cards, forms, buttons)
   2. Header & navigation    6. Client tools (quote, calendar, etc.)
   3. Heroes                 7. Footer, lightbox, utilities
   4. Sections & layouts     8. Studio tools (backoffice, release)
   ================================================================== */

/* ------------------------------------------------------------------ *
 * 1. Tokens & base
 * ------------------------------------------------------------------ */

:root {
  --bg: #faf7f5;
  --bg-2: #f1ebe7;
  --card: #ffffff;
  --ink: #141212;
  --ink-2: #3a3434;
  --muted: #6e6462;
  --line: #e6dcd7;
  --line-2: #d6c8c1;
  --accent: #c48f74;
  /* Deepened from #a86f55, which read at 3.5-4.1:1 against the paper. Almost
     every use of this token is small uppercase text — eyebrows, package names,
     timeline years — where WCAG asks for 4.5:1. This clears it on all four
     surfaces the site puts it on, the tinted accent-soft panel included
     (4.51, 4.60, 5.10 and 5.36:1), and reads better over warm paper besides. */
  --accent-2: #8f5e48;
  --accent-soft: #f6e7df;
  --rose: #d9a68f;
  --rose-light: #f0cdbb;
  /* WhatsApp's own darker brand green. The bright #25d366 carries white text
     at 1.98:1 — unreadable in daylight and a straight WCAG failure; this is
     5.2:1. The glyph on the button is what people recognise anyway. */
  --wa: #0f7a6c;
  --wa-hover: #0c655a;

  --dark: #121011;
  --dark-2: #1b1819;
  --dark-ink: #f3ece8;
  --dark-muted: #a79c98;
  --dark-line: rgba(243,236,232,0.14);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-script: "Alex Brush", "Brush Script MT", cursive;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(64px, 9vw, 120px);
  --radius: 4px;
  --shadow: 0 18px 50px -20px rgba(28,25,23,0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

/* The header is fixed, so anything jumped to lands underneath it: without
   this, "Skip to content" put the first 83px of the page behind the bar, and
   every in-page link did the same. The bar is 75px on a phone and 95px from
   768px up, so one value clears it everywhere with a little air to spare —
   `npm run ui` fails if the header ever outgrows it. */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0; }

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

h1 em, h2 em, h3 em, .serif-em { font-style: italic; font-weight: 400; color: var(--accent-2); }

p { margin: 0 0 1em; }

::selection { background: var(--accent-soft); color: var(--ink); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.narrow { max-width: 820px; }

/* Long-form copy: the sections that answer the questions a visitor arrives
   with. Links inside it have to look like links — they are the route to the
   packages, the guides and the booking form. */
.wrap.narrow h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 30px 0 10px;
}

.wrap.narrow p { max-width: 68ch; }

.wrap.narrow p a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.wrap.narrow p a:hover { color: var(--accent); border-bottom-color: var(--ink); }
.wrap.wide { max-width: 1440px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }

.eyebrow.plain::before { display: none; }

.section-title { margin: 0 0 18px; max-width: 18ch; }

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 0 40px;
}

.section-desc.narrow { max-width: 640px; }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.center .section-title, .center .section-desc { margin-left: auto; margin-right: auto; }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-2); font-weight: 300; }

.muted { color: var(--muted); }

/* ------------------------------------------------------------------ *
 * 2. Header & navigation
 * ------------------------------------------------------------------ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 400;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.skip-link:focus { left: 0; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,247,245,0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(28,25,23,0.35); }

/* backdrop-filter makes the header the containing block for fixed children,
   which would trap the full-screen menu inside the bar. Drop it while open. */
.site-header.menu-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }

/* Over a hero photograph the header has no background of its own, so the
   navigation is only as readable as the picture behind it lets it be. A pale
   sky is the hard case: the gradient has to still be carrying weight at the
   height the links actually sit, not just at the very top of the bar. */
body.hero-page .site-header:not(.scrolled):not(.menu-open) {
  background: linear-gradient(to bottom,
    rgba(12,10,12,0.78) 0%, rgba(12,10,12,0.62) 55%, rgba(12,10,12,0.28) 100%);
  border-color: transparent;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* The bordered "Book Now" is the palest thing in the bar and sits furthest
   right, where the scrim is thinnest. It carries its own. */
body.hero-page .site-header:not(.scrolled):not(.menu-open) .nav-cta {
  background: rgba(12,10,12,0.45);
  border-color: rgba(255,255,255,0.8);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  color: inherit;
  min-height: 40px;
}

.logo-img { height: 74px; width: auto; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12)); transition: height 0.3s var(--ease); }
.site-header.scrolled .logo-img { height: 62px; }
.tool-body .logo-img { height: 58px; }

.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }

.logo-mark .mark-bg { fill: var(--ink); transition: fill 0.35s ease; }
.logo-mark .mark-fg { fill: var(--bg); transition: fill 0.35s ease; }
body.hero-page .site-header:not(.scrolled):not(.menu-open) .logo-mark .mark-bg { fill: rgba(255,255,255,0.14); }
body.hero-page .site-header:not(.scrolled):not(.menu-open) .logo-mark .mark-fg { fill: #fff; }

.logo-text { display: flex; flex-direction: column; line-height: 1; }

.wordmark { display: inline-flex; align-items: baseline; gap: 6px; line-height: 1; white-space: nowrap; }

.wordmark .wm-script {
  font-family: var(--font-script);
  font-size: 2.05rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 0.8;
  transform: translateY(2px);
}

.wordmark .wm-caps {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.logo-text small {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.68;
  margin-top: 5px;
  padding-left: 2px;
}

.logo-text small b { font-weight: 400; color: var(--accent); margin: 0 3px; }

body.hero-page .site-header:not(.scrolled):not(.menu-open) .wordmark .wm-script { color: var(--rose-light); }
body.hero-page .site-header:not(.scrolled):not(.menu-open) .logo-text small b { color: var(--rose-light); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  white-space: nowrap;
  opacity: 0.78;
  position: relative;
  transition: opacity 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover, .site-nav a.active { opacity: 1; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

.site-nav .nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.8;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-wa svg { width: 18px; height: 18px; }

.nav-wa:hover { opacity: 1; background: var(--wa); border-color: var(--wa); color: #fff; }

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 20px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover, .nav-cta.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

body.hero-page .site-header:not(.scrolled):not(.menu-open) .nav-cta:hover { background: #fff; border-color: #fff; color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 8px 0 8px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle .bars { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.nav-toggle .bars span { display: block; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s ease; }

.site-header.menu-open .bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.menu-open .bars span:nth-child(2) { opacity: 0; }
.site-header.menu-open .bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .site-nav a { padding: 8px 9px; font-size: 11px; letter-spacing: 0.1em; }
  .nav-cta { padding: 10px 14px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header-actions .nav-cta { display: none; }

  .site-nav {
    position: fixed;
    inset: 0;
    top: 0;
    padding: 110px var(--gutter) 40px;
    background: var(--bg);
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.35s var(--ease), visibility 0.35s;
    z-index: -1;
  }

  .site-nav.open { opacity: 1; visibility: visible; transform: none; }

  .site-nav a {
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    padding: 10px 0;
    opacity: 1;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after { display: none; }
  .site-nav a.active { color: var(--accent-2); }

  .site-nav .nav-extra {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 0;
    padding: 12px 0 4px;
  }

  .site-nav .nav-extra.first { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
  .site-nav .nav-extra.nav-cta-mobile {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    background: var(--ink);
    color: var(--bg);
    padding: 16px 26px;
    border-radius: var(--radius);
    font-weight: 600;
  }
  .site-nav .nav-extra.nav-wa-mobile { display: inline-flex; align-items: center; gap: 10px; width: auto; color: var(--ink); padding: 12px 0; }
  .site-nav .nav-extra svg { width: 18px; height: 18px; }

  body.menu-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ *
 * 3. Heroes
 * ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 35%);
}

/* The scrim has to paint on top of the photograph. Both it and the <img> are
   absolutely positioned with z-index auto, and a ::before is the first child,
   so without these the browser paints the picture over the scrim in tree order
   and the gradient does nothing at all — which is how a white heading ends up
   invisible on a white sky. */
.hero > img, .page-hero > img { z-index: 0; }
.hero::before, .page-hero::before { z-index: 1; }
.hero-overlay, .page-hero-overlay { z-index: 2; }

/* A second, small scrim that follows the text block rather than the frame.
   The hero gradient is tuned to the shape of the picture, so how much cover a
   line gets depends on how tall the hero happens to be and how bright that
   particular photograph is — which is why a breadcrumb sitting high in a short
   hero over a pale sky measured 3.9:1 while the same markup elsewhere measured
   6:1. This sits directly behind the words, so every hero gets the same floor
   without darkening the whole photograph to reach it. */
.hero-overlay::before, .page-hero-overlay::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: -28px;
  bottom: -28px;
  background: linear-gradient(to right,
    rgba(12,10,12,0.42) 0%, rgba(12,10,12,0.3) 45%, rgba(12,10,12,0) 82%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Same tuning as .page-hero::before, measured the same way: `npm run ui`
     reports the ratio for every line of text over this photograph. */
  background:
    linear-gradient(to bottom, rgba(12,10,12,0.45) 0%, rgba(12,10,12,0) 30%),
    linear-gradient(to right, rgba(12,10,12,0.58) 0%, rgba(12,10,12,0.26) 42%, rgba(12,10,12,0) 72%),
    linear-gradient(to top, rgba(12,10,12,0.88) 0%, rgba(12,10,12,0.52) 42%, rgba(12,10,12,0.16) 72%, rgba(12,10,12,0) 100%);
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 160px var(--gutter) clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}

.hero-overlay h1 { color: #fff; max-width: 12ch; margin-bottom: 22px; }


.hero-overlay h1 em { color: var(--rose-light); }

/* Full white, not 80%: over a photograph the faded version measured 4.26:1,
   just under the line, and it is the smallest text in the hero. */
.hero-overlay .eyebrow { color: #fff; }

.hero-overlay p { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; max-width: 520px; color: rgba(255,255,255,0.86); margin: 0 0 30px; font-weight: 300; }

.hero-side { justify-self: end; text-align: right; }

.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }

.hero-facts li { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.75); }

.hero-facts li strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; letter-spacing: 0; color: #fff; text-transform: none; line-height: 1; margin-bottom: 4px; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.35);
  overflow: hidden;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: #fff;
  animation: cue 2.2s var(--ease) infinite;
}

@keyframes cue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* Interior page hero */
.page-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.page-hero.short { min-height: clamp(360px, 48vh, 520px); }

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 30%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Tuned against the measurement, not by eye: heavy enough that a white
     heading clears 4.5:1 over the palest photograph on the site, and no
     heavier, because every extra point of black is a photograph the studio
     cannot show. `npm run ui` reports the ratio for each one. */
  background:
    linear-gradient(to bottom, rgba(12,10,12,0.45) 0%, rgba(12,10,12,0) 30%),
    linear-gradient(to right, rgba(12,10,12,0.58) 0%, rgba(12,10,12,0.26) 45%, rgba(12,10,12,0) 75%),
    linear-gradient(to top, rgba(12,10,12,0.88) 0%, rgba(12,10,12,0.58) 52%, rgba(12,10,12,0.16) 78%, rgba(12,10,12,0) 100%);
  pointer-events: none;
}

.page-hero-overlay {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px var(--gutter) clamp(44px, 6vw, 72px);
}

.page-hero-overlay h1 { color: #fff; max-width: 14ch; margin-bottom: 16px; }
/* The italic accent in a heading is a paper colour by default. Over a hero
   photograph it has to be the light one, as it already is on the home page —
   otherwise the emphasised word is the least readable in the sentence. */
.page-hero-overlay h1 em, .hero-overlay h1 em { color: #f8e2d6; }

.page-hero-overlay p { max-width: 560px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255,255,255,0.86); font-weight: 300; margin: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin: 0 0 22px;
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb .crumb-last { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
/* The separators recede; the page you are on does not. At 0.5 the current
   crumb measured 3.5:1 over the paler heroes — it is 11px text, so it needs
   4.5:1 like any other. */
.breadcrumb span { opacity: 0.6; }
.breadcrumb .crumb-last { opacity: 1; color: #fff; }

/* ------------------------------------------------------------------ *
 * 4. Sections & layouts
 * ------------------------------------------------------------------ */

main { display: block; }

.sec { padding: var(--sec) 0; }
.sec.tight { padding: calc(var(--sec) * 0.6) 0; }
.sec.flush-top { padding-top: 0; }
.sec.alt { background: var(--bg-2); }
.sec.card-bg { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .section-desc { margin-bottom: 0; }
.sec-head .sec-link { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; white-space: nowrap; }
.sec-head .sec-link:hover { color: var(--accent-2); }

/* Split layouts: text beside imagery */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split.reverse > :first-child { order: 2; }

.split-text .section-title { max-width: 16ch; }
.split-text p { color: var(--muted); }
.split-text p.lead { color: var(--ink-2); }

.split-media { position: relative; }

.split-media img { width: 100%; height: auto; border-radius: var(--radius); }

/* Stacked, offset photo pair */
.photo-stack { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.photo-stack img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.photo-stack img:nth-child(2) { margin-top: clamp(40px, 8vw, 96px); }

.photo-frame { position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.photo-frame .photo-tag {
  position: absolute;
  left: -12px; bottom: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.photo-frame .photo-tag strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1; margin-bottom: 4px; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 32px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.feature-list li { padding: 11px 0 11px 26px; border-top: 1px solid var(--line); position: relative; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 1px; background: var(--accent); }

/* Legacy category-page feature block */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature.reverse .feature-img { order: 2; }
.feature-img img { width: 100%; height: auto; border-radius: var(--radius); }
.feature-text p { color: var(--muted); }

/* Stats row */
.stats-row { display: flex; gap: clamp(24px, 4vw, 56px); margin: 32px 0 36px; flex-wrap: wrap; }
.stat-num { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; font-weight: 400; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* Collections grid (home) */
.collections {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 14px;
}

.collections .cat-tile:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.collections .cat-tile:nth-child(2) { grid-column: span 4; }
.collections .cat-tile:nth-child(3) { grid-column: span 3; }
.collections .cat-tile:nth-child(4) { grid-column: span 3; }
.collections .cat-tile:nth-child(5) { grid-column: span 4; }

.collections .cat-tile { aspect-ratio: auto; min-height: 260px; }
.collections .cat-tile:nth-child(1) { min-height: 540px; }

/* Category tiles */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 14px;
}

.cat-grid.two { --cols: 2; }
.cat-grid.four { --cols: 4; }
.cat-grid.small { --cols: 4; }

.cat-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  isolation: isolate;
}

.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 25%);
  transition: transform 1s var(--ease), filter 0.5s ease;
}

.cat-tile:hover img { transform: scale(1.05); }

.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Reaches further up than it looks like it needs to: on a phone a tile is
     short and wide, so the caption sits proportionally higher in the frame
     than it does on a desktop, where the same gradient was comfortable. */
  background: linear-gradient(to top, rgba(10,8,10,0.9) 0%, rgba(10,8,10,0.62) 28%, rgba(10,8,10,0.2) 58%, transparent 78%);
  transition: opacity 0.4s ease;
}

.cat-tile span {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  /* Its own cover, behind the words themselves. The frame gradient is tuned to
     the shape of the tile, which changes with the screen; this does not, so a
     caption reads the same over a bright beach as over a dark studio wall. */
  background: linear-gradient(to top, rgba(10,8,10,0.82) 0%, rgba(10,8,10,0.62) 55%, rgba(10,8,10,0.34) 100%);
  padding: 22px 22px 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.5s var(--ease);
}

.cat-tile span small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.cat-tile span::after {
  content: "\2192";
  font-family: var(--font-body);
  font-size: 13px;
  margin-top: 6px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.cat-tile:hover span::after { opacity: 0.9; transform: none; }

.cat-tile.is-dark::after { background: linear-gradient(to top, rgba(23,20,26,0.94) 0%, rgba(23,20,26,0.6) 35%, rgba(23,20,26,0.2) 70%, rgba(23,20,26,0.06) 100%); }

.cat-tile .tile-badge {
  position: absolute;
  z-index: 1;
  top: 14px; left: 14px; right: auto; bottom: auto;
  display: inline-block;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  /* The badge sits at the top corner of a tile, above where the tile's
     gradient starts, so this pill is the only thing between the label and the
     photograph. Measured: 0.55 left it at 2.96:1 over the paler frames. */
  background: rgba(23,20,26,0.88);
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 2px;
  /* A tile is about 168px wide on a small phone. The badge wraps inside it
     rather than running past the corner: a pill that overflows is not only
     untidy, it puts its own text over the page behind the tile, where there
     is no scrim and nothing to read it against. */
  max-width: calc(100% - 28px);
  white-space: normal;
  transition: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.cat-tile .tile-badge::after { display: none; }

.portfolio-group { margin-bottom: clamp(56px, 8vw, 96px); }
.portfolio-group:last-child { margin-bottom: 0; }
.group-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; margin-bottom: 28px; }
.group-heading h2 { max-width: 20ch; }
.group-heading p { color: var(--muted); max-width: 480px; margin: 0; }

/* Photo gallery — masonry columns keep every frame's own proportions */
.gallery { columns: 3; column-gap: 14px; }

.gallery img {
  width: 100%;
  height: auto;
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--bg-2);
  transition: transform 0.6s var(--ease), filter 0.4s ease, box-shadow 0.4s ease;
}

.gallery img:hover { transform: translateY(-3px); filter: brightness(1.04); box-shadow: var(--shadow); }

.gallery.wide { columns: 4; }

.gallery-note { color: var(--muted); font-size: 0.9rem; margin-top: 28px; }
.gallery-note a { border-bottom: 1px solid var(--line-2); transition: border-color 0.2s ease, color 0.2s ease; }
.gallery-note a:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* Process steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }

.step-card { position: relative; padding-top: 24px; border-top: 1px solid var(--line-2); }

.step-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 44px; height: 2px;
  background: var(--accent);
}

.step-num { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--accent); margin: 0 0 14px; }

.step-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin: 0 0 10px; }

.step-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Intro / prose */
.intro-body { max-width: 720px; color: var(--muted); font-size: 1.05rem; }
.intro-body p { margin-bottom: 18px; }
.intro-body a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.intro-body a:hover { color: var(--accent-2); border-color: var(--accent-2); }

.founder-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-style: italic;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
}

.founder-quote::before { content: "\201C"; display: block; font-size: 5rem; line-height: 0.6; color: var(--accent); margin-bottom: 20px; font-style: normal; }

.founder-quote cite {
  display: block;
  margin-top: 26px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.timeline-item { padding-top: 24px; border-top: 1px solid var(--line-2); position: relative; }
.timeline-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--accent); }
.timeline-year { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.timeline-item h3 { font-size: 1.6rem; margin: 0 0 10px; }
.timeline-item p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Long-form articles */
.article-body { max-width: 720px; margin: 0 auto; color: var(--ink-2); font-size: 1.06rem; line-height: 1.75; }
.article-body > p:first-child { font-size: 1.25rem; line-height: 1.55; color: var(--ink); font-weight: 300; }
.article-body h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 44px 0 14px; }
.article-body p { margin: 0 0 16px; }
.article-body em { color: var(--ink); }
.article-body a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.article-body a:hover { color: var(--accent-2); border-color: var(--accent-2); }
.article-body .feature-list { margin: 16px 0 24px; }

/* Journal cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.3s ease;
}

.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }

.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--focus, 50% 30%); transition: transform 1s var(--ease); }
.post-card:hover img { transform: scale(1.04); }
.post-card .post-media { overflow: hidden; }

.post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }

.post-tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }

.post-card h3 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 10px; }

.post-card p { color: var(--muted); font-size: 0.93rem; margin: 0 0 18px; flex: 1; }

.post-more { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.post-more::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.post-card:hover .post-more::after { transform: translateX(4px); }

/* Area cards */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.area-card { padding: 26px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.area-card::before { content: ""; position: absolute; top: 0; left: 24px; width: 40px; height: 2px; background: var(--accent); }
.area-card h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.area-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* FAQ */
.faq-group { max-width: 800px; margin: 0 auto 48px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 { font-size: 1.9rem; margin: 0 0 18px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-2); }
.faq-body { padding: 0 4px 22px; color: var(--muted); font-size: 0.97rem; max-width: 680px; }
.faq-body p { margin: 0 0 10px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

/* Dark Stefsetherealdream theme: remap the tokens, and every component follows */
.ethereal, main.ethereal, section.ethereal {
  --bg: var(--dark);
  --bg-2: var(--dark-2);
  --card: #1e1a23;
  --ink: var(--dark-ink);
  --ink-2: #d8d0c8;
  --muted: var(--dark-muted);
  --line: var(--dark-line);
  --line-2: rgba(242,236,229,0.26);
  --accent-soft: rgba(196,143,116,0.16);
  --accent-2: #dfae95;
  background: var(--dark);
  color: var(--dark-ink);
}

.ethereal .sec.alt { background: var(--dark-2); }
.ethereal .sec.card-bg { background: #1a1620; }

.ethereal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  padding: 7px 14px;
  border-radius: 2px;
  margin-bottom: 22px;
  color: var(--accent-2);
}

.ethereal-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Over a hero photograph the badge sits on the dark scrim, where the accent
   tuned for paper reads at 3.5:1. The light one is 6.8:1 there. */
.page-hero-overlay .ethereal-badge { color: var(--accent); border-color: rgba(242,236,229,0.3); }

/* The plain-language explanation above a form that asks for personal
   details: what is kept, who sees it, and how to have it removed. It sits
   in the flow of the form, so it matches the fields' width. */
.notice-box {
  border: 1px solid var(--line-2);
  padding: 22px 26px;
  margin: 0 0 26px;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: var(--radius);
}

.notice-box p { margin: 0 0 12px; }
.notice-box p:last-child { margin-bottom: 0; }

/* The same box when what it explains is about to be destroyed. */
.notice-danger {
  border-color: #e5c9c9;
  background: #faf1f1;
  color: #6b2626;
  padding: 14px 16px;
  margin: 0 0 16px;
}

/* Stefsetherealdream band on light pages */
.ethereal-band { position: relative; overflow: hidden; }
.ethereal-band .split { align-items: center; }
.ethereal-band .band-media { position: relative; }
.ethereal-band .band-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.ethereal-band .band-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  pointer-events: none;
}

/* ------------------------------------------------------------------ *
 * 5. Components
 * ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  padding: 14px 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.hero-overlay .btn:hover, .page-hero-overlay .btn:hover { background: #fff; border-color: #fff; color: #1c1917; }

.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }

.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }

.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); color: #fff; }

.btn-light { background: #fff; border-color: #fff; color: #1c1917; }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

.btn svg { width: 16px; height: 16px; }

.btn-sm { padding: 11px 20px; font-size: 11px; }

.btn:disabled { opacity: 0.5; cursor: default; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.link-arrow::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:hover { color: var(--accent-2); }

/* Packages */
.packages-group { margin-bottom: clamp(56px, 8vw, 96px); }
.packages-group:last-child { margin-bottom: 0; }
.packages-group > h2 { margin: 0 0 8px; }
.packages-group > p { color: var(--muted); max-width: 520px; margin: 0 0 32px; }

.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.3s ease;
}

.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }

.package-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }

.package-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px; left: 26px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
}

.package-card > p { color: var(--muted); font-size: 0.93rem; margin: 0; }

.package-name { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }

.package-price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

.package-price span { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; }

.package-tagline { color: var(--muted); font-size: 0.9rem; margin: 0 0 22px; }

.package-card ul { list-style: none; padding: 0; margin: 0 0 26px; color: var(--ink-2); font-size: 0.92rem; flex: 1; }

.package-card li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative; }
.package-card li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 1px; background: var(--accent); }

.package-card .btn { align-self: flex-start; }

.package-note { color: var(--muted); font-size: 0.9rem; max-width: 720px; margin: 44px 0 0; }
.package-note a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }

.testimonial-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 30px 30px;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 14px; left: 26px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.8;
}

.testimonial-quote { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; margin: 0 0 20px; }

.testimonial-name { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }

.testimonial-featured { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonial-featured .testimonial-quote { font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-style: italic; line-height: 1.35; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 88px); align-items: start; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-form label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.97rem;
  font-family: inherit;
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* :focus-within as well as :focus. A date input's calendar button lives in the
   browser's own shadow DOM, and tabbing onto it takes :focus off the input —
   which made the ring vanish part-way through stepping across the field. */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.contact-form input:focus-within,
.contact-form select:focus-within,
.contact-form textarea:focus-within { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form button[type="submit"], .contact-form .submit {
  align-self: flex-start;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  padding: 15px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.contact-form button[type="submit"]:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }

.hidden-field { position: absolute; left: -9999px; }

.form-fallback-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
/* A line under a field explaining why it is being asked for at all. */
.form-hint { font-size: 0.85rem; color: var(--muted); margin: -6px 0 0; }
.form-fallback-note a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

.form-success {
  font-size: 0.92rem;
  color: var(--ink);
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: none;
}

.form-success.show { display: block; }

.booking-embed { max-width: 760px; height: 640px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.booking-embed iframe { width: 100%; height: 100%; border: 0; }

.contact-info h2 { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); margin: 30px 0 8px; }
.contact-info h2:first-child { margin-top: 0; }
.contact-info p { color: var(--ink-2); }
.contact-info a { border-bottom: 1px solid transparent; }
.contact-info a:hover { border-color: currentColor; }

.contact-cards { display: grid; gap: 14px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.25s ease, transform 0.35s var(--ease);
}

.contact-card:hover { border-color: var(--accent); transform: translateX(3px); }

.contact-card .cc-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-2);
}

.contact-card.wa .cc-icon { background: rgba(37,211,102,0.14); color: #1a9d4b; }

.contact-card .cc-icon svg { width: 20px; height: 20px; }

.contact-card strong { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-card span { font-size: 1rem; color: var(--ink); }

/* The studio's location. A picture of a map rather than an embedded one: the
   embed pulled a few hundred kilobytes of third-party JavaScript and reported
   every visitor to it, including the ones reading about boudoir sessions.
   Tapping it opens a real maps app, which is what it was ever used for. */
.map-embed { margin: 14px 0 0; }

.map-embed > a {
  display: block;
  position: relative;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-embed img { width: 100%; height: 100%; object-fit: cover; display: block; }

.map-embed .map-open {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.map-embed > a:hover .map-open { transform: translateY(-2px); }
.map-embed > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.map-embed figcaption { font-size: 0.72rem; color: var(--muted); margin-top: 8px; }
.map-embed figcaption a { color: var(--muted); border-bottom: 1px solid var(--line-2); }

.social-icon { width: 17px; height: 17px; flex-shrink: 0; }
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.social-row { display: flex; gap: 20px; flex-wrap: wrap; }

/* CTA band. Pinned to the light theme's ink/paper rather than var(--ink)/
   var(--bg): the .ethereal theme swaps those tokens, which flipped the band
   to a light surface while the copy, glow and buttons inside it stayed
   hardcoded light — an invisible paragraph on every gated page.
   The warm plum gradient and rose hairlines keep the band distinct from the
   equally dark sections around it on those pages. */
.cta-section {
  padding: var(--sec) 0;
  background: linear-gradient(135deg, #181316 0%, #141212 48%, #1c1517 100%);
  color: #faf7f5;
  border-top: 1px solid rgba(217,166,143,0.22);
  border-bottom: 1px solid rgba(217,166,143,0.12);
  position: relative;
  overflow: hidden;
}

.cta-section .wrap { position: relative; z-index: 1; }

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.cta-section::before {
  right: -10%; top: -40%;
  width: 60vw; height: 180%;
  background: radial-gradient(closest-side, rgba(196,143,116,0.3), transparent 70%);
}

.cta-section::after {
  left: -12%; bottom: -70%;
  width: 40vw; height: 140%;
  background: radial-gradient(closest-side, rgba(217,166,143,0.14), transparent 70%);
}

.cta-section h2 { color: inherit; max-width: 16ch; margin-bottom: 14px; }
.cta-section p { color: rgba(248,245,240,0.78); max-width: 520px; margin: 0 0 30px; font-size: 1.05rem; }

/* Band buttons: a champagne primary with a rose glow, and an outline
   WhatsApp button that carries the brand-green icon and fills on hover. */
.cta-section .btn {
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}

.cta-section .btn-dark {
  background: linear-gradient(135deg, #fdf7f3 0%, #f0cdbb 100%);
  border-color: rgba(253,247,243,0.9);
  color: #1c1917;
  box-shadow: 0 10px 28px -12px rgba(217,166,143,0.55);
}
.cta-section .btn-dark:hover,
.cta-section .btn-dark:focus-visible {
  background: linear-gradient(135deg, #f6dccd 0%, #d9a68f 100%);
  border-color: #d9a68f;
  color: #1c1917;
  box-shadow: 0 16px 36px -12px rgba(217,166,143,0.75);
  transform: translateY(-2px);
}

/* Plain outline button (the only other variant used in a band). Kept at
   low specificity so the WhatsApp rules below can override its hover. */
.cta-section .btn:not([class*="btn-"]) {
  color: inherit;
  border-color: rgba(250,247,245,0.42);
  background: rgba(255,255,255,0.03);
}
.cta-section .btn:not([class*="btn-"]):hover,
.cta-section .btn:not([class*="btn-"]):focus-visible {
  border-color: rgba(250,247,245,0.85);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.cta-section .btn[href*="wa.me"] svg { color: var(--wa); }
.cta-section .btn[href*="wa.me"]:hover,
.cta-section .btn[href*="wa.me"]:focus-visible {
  background: var(--wa);
  border-color: var(--wa);
  color: #0c2016;
  box-shadow: 0 14px 32px -12px rgba(37,211,102,0.55);
}
.cta-section .btn[href*="wa.me"]:hover svg,
.cta-section .btn[href*="wa.me"]:focus-visible svg { color: currentColor; }

.cta-section.soft { background: var(--bg-2); color: var(--ink); border-color: var(--line); }
.cta-section.soft::before, .cta-section.soft::after { display: none; }
.cta-section.soft p { color: var(--muted); }
.cta-section.soft .btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.cta-section.soft .btn-dark:hover, .cta-section.soft .btn-dark:focus-visible { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.cta-section.soft .btn:not([class*="btn-"]) { border-color: var(--line-2); background: transparent; }
.cta-section.soft .btn:not([class*="btn-"]):hover,
.cta-section.soft .btn:not([class*="btn-"]):focus-visible { border-color: var(--ink); background: var(--card); }
.cta-section.soft .btn[href*="wa.me"]:hover,
.cta-section.soft .btn[href*="wa.me"]:focus-visible { background: var(--wa); border-color: var(--wa); }

.cta-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.cta-inline p { margin: 0; }
.cta-inline .btn-row { justify-content: flex-end; }

/* Error page */
.error-section { padding-top: 180px; }

/* ------------------------------------------------------------------ *
 * 6. Client tools
 * ------------------------------------------------------------------ */

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.3s ease;
}

.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }

.tool-card .tc-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tool-card .tc-icon svg { width: 22px; height: 22px; }

.tool-card h3 { font-size: 1.55rem; }
.tool-card p { color: var(--muted); font-size: 0.93rem; margin: 0; flex: 1; }
.tool-card .post-more { margin-top: 6px; }
.tool-card.private { border-style: dashed; }

.tool-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

.tool-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 26px; }
.tool-panel + .tool-panel { margin-top: 20px; }
.tool-panel h2 { font-size: 1.7rem; margin: 0 0 6px; }
.tool-panel > p { color: var(--muted); font-size: 0.93rem; margin: 0 0 22px; }
.tool-panel .panel-step { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; display: block; }

.tool-summary { position: sticky; top: 96px; background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 30px 28px; }
.tool-summary h2 { color: inherit; font-size: 1.6rem; margin: 0 0 4px; }
.tool-summary .ts-sub { color: rgba(248,245,240,0.6); font-size: 0.85rem; margin: 0 0 22px; }

.q-lines { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid rgba(248,245,240,0.16); }
.q-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(248,245,240,0.16); font-size: 0.9rem; }
.q-lines li span:first-child { color: rgba(248,245,240,0.78); }
.q-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.q-lines li.empty { color: rgba(248,245,240,0.5); font-style: italic; }

.q-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.q-total span:first-child { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248,245,240,0.7); }
.q-total strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.q-note { font-size: 0.78rem; color: rgba(248,245,240,0.6); margin: 0 0 22px; }

.tool-summary .btn-dark { background: #faf7f5; border-color: #faf7f5; color: #1c1917; width: 100%; }
.tool-summary .btn-dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.tool-summary .btn-wa { width: 100%; margin-top: 10px; }

/* Option cards (radio) */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opt-grid.wide { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.opt-card { position: relative; }

.opt-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }

.opt-card > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.opt-card > span strong { font-size: 0.95rem; font-weight: 600; }
.opt-card > span small { color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.opt-card > span em { font-style: normal; font-family: var(--font-display); font-size: 1.25rem; color: var(--accent-2); margin-top: 6px; }

.opt-card input:checked + span { border-color: var(--ink); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--ink) inset; }
.opt-card input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt-card input:disabled + span { opacity: 0.45; cursor: default; }

/* Add-on rows (checkbox) */
.addon-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }

.addon-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.addon-row input { width: 18px; height: 18px; accent-color: var(--accent-2); margin: 0; cursor: pointer; }
.addon-row strong { display: block; font-size: 0.95rem; font-weight: 600; }
.addon-row small { color: var(--muted); font-size: 0.8rem; }
.addon-row .addon-price { font-family: var(--font-display); font-size: 1.2rem; white-space: nowrap; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: var(--card); cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.stepper button:hover { background: var(--accent-soft); }
.stepper output { min-width: 40px; text-align: center; font-weight: 600; font-size: 0.95rem; }

/* Availability calendar */
.cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal-head h2 { font-size: 1.6rem; margin: 0; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 38px; height: 38px; border: 1px solid var(--line-2); background: var(--card); border-radius: 50%; cursor: pointer; font-size: 1.05rem; color: var(--ink); transition: background 0.2s ease, border-color 0.2s ease; }
.cal-nav button:hover:not(:disabled) { background: var(--accent-soft); border-color: var(--accent); }
.cal-nav button:disabled { opacity: 0.35; cursor: default; }

.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0 10px; }

.cal-day {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
  font-family: inherit;
  padding: 0;
}

.cal-day:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-1px); }
.cal-day.blank { visibility: hidden; }
.cal-day:disabled, .cal-day.past { color: var(--line-2); cursor: default; background: transparent; }
.cal-day.today { font-weight: 700; }
.cal-day.today::before { content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cal-day .dot { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.cal-day.open .dot { background: #3a9d5d; }
.cal-day.limited .dot { background: #d9a02b; }
.cal-day.full { background: var(--bg-2); color: var(--muted); }
.cal-day.full .dot { background: #b3433a; }
.cal-day.full:not(:disabled) { cursor: not-allowed; }
/* A day the studio has closed: leave, a holiday, a date held while a deposit
   is arranged. Still selectable, so the panel can say why. */
/* The hatching is what says "closed"; the date itself still has to be read,
   and at phone size the muted grey measured 4.26:1 over it. */
.cal-day.closed { background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--bg-2) 6px 8px); color: var(--ink); }
.cal-day.closed .dot { background: var(--line-2); }
.cal-day.selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; background: var(--accent-soft); }

.cal-legend { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 16px; font-size: 0.78rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
/* Closed days are hatched rather than dotted — nothing is on offer. */
.cal-legend i.legend-closed { background: var(--bg-2); border: 1px solid var(--line-2); }

.cal-status { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; min-height: 1.4em; }

.day-panel { margin-top: 0; }
.day-panel .dp-date { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; margin: 0 0 4px; }
.day-panel .dp-state { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; }
.day-panel .dp-state.open { color: #2e7d4f; }
.day-panel .dp-state.limited { color: #a5761a; }
.day-panel .dp-state.full { color: #a53a30; }
.day-panel .dp-state.closed { color: var(--muted); }
.day-panel .btn { width: 100%; }
.day-panel .btn + .btn { margin-top: 10px; }

/* Checklist */
.progress { height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; margin: 8px 0 24px; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.4s var(--ease); }
.progress-label { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.check-group { margin-bottom: 30px; }
.check-group h3 { font-size: 1.4rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { border-bottom: 1px solid var(--line); }
.check-list label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 4px; cursor: pointer; font-size: 0.95rem; }
.check-list input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent-2); cursor: pointer; }
.check-list input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.check-list small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.tool-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* What to bring — the packing list on the release form and the done screen.
   Reuses the checklist tool's list styling; only the header is its own. */
.prep-head { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.prep-head .panel-sub { margin-bottom: 0; }
.prep-progress { flex-shrink: 0; text-align: right; min-width: 82px; padding: 10px 12px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); }
.prep-progress strong { display: block; font-size: 1.1rem; font-weight: 500; }
.prep-progress span { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.prep-skipped { font-size: 0.85rem; color: var(--muted); border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--card); padding: 10px 14px; margin: 0 0 18px; border-radius: var(--radius); }
/* The release form uppercases its field labels; a packing-list line is a
   sentence, not a field name, and reads as one on the done screen too. */
.contact-form .prep-panel .check-list label {
  text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 400; color: var(--ink);
  display: grid; margin: 0; padding: 12px 4px;
}
.contact-form .prep-panel .check-list label small { text-transform: none; letter-spacing: 0; }
.prep-panel .check-group { margin-bottom: 22px; }
.prep-panel .check-group:last-child { margin-bottom: 0; }
.prep-panel .check-group h3 { font-size: 1.2rem; }
@media (max-width: 600px) {
  .prep-head { flex-direction: column; gap: 12px; }
  .prep-progress { text-align: left; }
}

/* Session finder */
.finder-q { margin-bottom: 30px; }
.finder-q h3 { font-size: 1.45rem; margin: 0 0 14px; }
.finder-result { background: var(--card); border: 1px solid var(--accent); border-radius: var(--radius); padding: 30px; }
.finder-result .fr-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; display: block; }
.finder-result h2 { font-size: 2rem; margin: 0 0 8px; }
.finder-result p { color: var(--muted); margin: 0 0 18px; }
.finder-result .fr-alt { font-size: 0.85rem; color: var(--muted); margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.finder-result .fr-alt a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

.info-box { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--card); padding: 16px 18px; font-size: 0.9rem; color: var(--ink-2); border-radius: var(--radius); }
.info-box a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

/* 18+ consent gate. Gated pages ship with html.adult-gate; an inline head
   script removes it when consent is already stored, so nothing flashes. */
html.adult-gate { overflow: hidden; }
html.adult-gate .page-hero > img,
html.adult-gate main img { filter: blur(28px) saturate(0.6); }
html.adult-gate .page-hero,
html.adult-gate main { pointer-events: none; user-select: none; }
html:not(.adult-gate) .consent-modal.ssr { display: none; }

/* A photograph that has not been asked for yet. Its address is parked in
   data-gated-src and its src is an empty SVG of exactly the right proportions
   (scripts/gate.js), so the browser requests nothing, leaves the right amount
   of room, and nothing shifts when the real file arrives after consent. All
   this does is fill the gap with a tone instead of a blank rectangle. */
img[data-gated-src] {
  background-image: linear-gradient(150deg, #2b242a 0%, #3d323a 45%, #241e23 100%);
  background-size: cover;
  background-position: center;
}

/* An uploaded gallery photograph arrives without width and height — the studio
   replaced the strip from the backoffice and the file's proportions are not
   known until it loads. Behind the confirmation that does not matter: a wall
   of even placeholders is a better answer than a row of slivers. */
.gallery img[data-gated-src]:not([width]) { aspect-ratio: 3 / 4; }

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12,10,12,0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow-y: auto;
}

.consent-card {
  --ink: #141212; --bg: #faf7f5; --muted: #6e6462; --line: #e6dcd7; --line-2: #d6c8c1; --accent-2: #8f5e48;
  background: #fffdfb;
  color: #141212;
  max-width: 540px;
  width: 100%;
  border-radius: 6px;
  padding: 38px 36px 32px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
  animation: fade 0.3s ease;
}

.consent-card .ethereal-badge { margin-bottom: 18px; }
.consent-card h2 { font-size: 2.1rem; margin: 0 0 12px; }
.consent-card p { color: #6e6462; font-size: 0.97rem; margin: 0 0 12px; }
.consent-card .btn-row { margin-top: 24px; }
.consent-card .btn { border-color: #141212; color: #141212; }
.consent-card .btn-dark { background: #141212; color: #faf7f5; }
.consent-card .consent-note { font-size: 0.78rem; margin: 20px 0 0; }
.consent-card .consent-note a { color: #141212; border-bottom: 1px solid #d6c8c1; }
.consent-card noscript p { color: #a53a30; font-weight: 600; }

/* Previews of the collection on other pages stay blurred until consent */
.adult-locked { position: relative; }
.adult-locked img,
.cat-tile.adult-locked img,
.cat-tile.adult-locked:hover img { filter: blur(22px) saturate(0.6); transform: scale(1.12); }
.adult-locked::before {
  content: "18+ \00b7\00a0 Tap to view";
  position: absolute;
  z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 10px 14px;
  border-radius: 2px;
  background: rgba(12,10,12,0.5);
  white-space: nowrap;
  pointer-events: none;
}
.band-media.adult-locked, .post-media.adult-locked { overflow: hidden; border-radius: var(--radius); }

@media (max-width: 600px) {
  .consent-card { padding: 28px 22px 24px; }
  .consent-card h2 { font-size: 1.7rem; }
}

/* ------------------------------------------------------------------ *
 * 7. Footer, lightbox, floating buttons, utilities
 * ------------------------------------------------------------------ */

.site-footer { background: #121011; color: #f3ece8; }

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(242,236,229,0.12);
}

.footer-top h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 18ch; color: #fff; }
.footer-top h2 em { color: var(--rose-light); }

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-brand .footer-logo { margin: 0 0 18px; }
.footer-brand .footer-logo img { width: auto; height: 190px; max-width: 100%; }
.footer-brand .wordmark .wm-script { font-size: 2.4rem; color: var(--rose); }
.footer-brand .wordmark .wm-caps { font-size: 1.15rem; }
.footer-tagline { font-size: 9px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--rose); margin: 0 0 18px; }
.footer-brand .footer-logo .logo-mark { width: 34px; height: 34px; }
.footer-brand .footer-logo .mark-bg { fill: rgba(255,255,255,0.1); }
.footer-brand .footer-logo .mark-fg { fill: #fff; }

.footer-brand p { color: rgba(242,236,229,0.62); font-size: 0.9rem; max-width: 320px; margin: 0 0 18px; }

.footer-brand .social-row a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(242,236,229,0.2); border-radius: 50%; transition: border-color 0.2s ease, background 0.2s ease; }
.footer-brand .social-row a:hover { border-color: var(--accent); background: rgba(196,143,116,0.18); }
.footer-brand .social-row { gap: 10px; }

.footer-col h3 { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); margin: 0 0 16px; }

.footer-col a { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(242,236,229,0.82); margin-bottom: 10px; transition: color 0.2s ease, transform 0.3s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }

.footer-col .wa-link { color: #7fe3a5; }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid rgba(242,236,229,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(242,236,229,0.5);
  font-size: 12px;
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(242,236,229,0.7); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }

.site-footer.tool-footer { background: #121011; }

/* Floating buttons */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px 0 14px;
  border-radius: 27px;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,0.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.3s ease;
}

.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(37,211,102,0.8); }

@media (max-width: 600px) {
  .wa-float { padding: 0; width: 54px; justify-content: center; }
  .wa-float span { display: none; }
}

.back-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(250,247,245,0.92);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}

.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--ink); color: var(--bg); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14,12,14,0.94);
  align-items: center;
  justify-content: center;
  padding: 56px 72px 64px;
}

.lightbox.open { display: flex; animation: fade 0.25s ease; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }

.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 210;
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.lightbox-nav:hover { opacity: 1; background: rgba(255,255,255,0.16); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.lightbox-caption { opacity: 0.85; font-family: var(--font-display); font-size: 1.05rem; font-style: italic; }
.lightbox-count { opacity: 0.6; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.8s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
}

/* Print: give the reader the content, not the chrome */
@media print {
  body:not(.tool-body) .site-header,
  body:not(.tool-body) .site-footer,
  body:not(.tool-body) .back-top,
  body:not(.tool-body) .wa-float,
  body:not(.tool-body) .skip-link,
  body:not(.tool-body) .cta-section,
  body:not(.tool-body) .page-hero img,
  body:not(.tool-body) .page-hero::before,
  body:not(.tool-body) .tool-actions,
  body:not(.tool-body) .lightbox { display: none !important; }

  body:not(.tool-body) .page-hero,
  body:not(.tool-body) .page-hero-overlay { position: static; min-height: 0; color: #000; background: none; padding: 0 0 20px; }
  body:not(.tool-body) .page-hero-overlay h1, body:not(.tool-body) .page-hero-overlay p { color: #000; }
  body:not(.tool-body) .breadcrumb { display: none; }
  body:not(.tool-body) { background: #fff; color: #000; }
  .sec { padding: 20px 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
  .check-list input:checked + span { text-decoration: none; color: #000; }
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .collections .cat-tile:nth-child(1) { grid-column: span 6; }
  .collections .cat-tile:nth-child(2) { grid-column: span 6; }
  .collections .cat-tile:nth-child(3),
  .collections .cat-tile:nth-child(4),
  .collections .cat-tile:nth-child(5) { grid-column: span 4; }
  .collections .cat-tile:nth-child(1) { min-height: 480px; }
}

@media (max-width: 960px) {
  .hero-overlay { grid-template-columns: 1fr; }
  .hero-side { justify-self: start; text-align: left; }
  .hero-facts { flex-direction: row; gap: 32px; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-summary { position: static; }
  .gallery.wide { columns: 3; }
  .cat-grid.four, .cat-grid.small { --cols: 2; }
}

@media (max-width: 760px) {
  .split, .split.reverse, .feature, .feature.reverse, .contact-grid, .timeline { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .feature.reverse .feature-img { order: 0; }
  .sec-head, .group-heading, .cta-inline, .footer-top { grid-template-columns: 1fr; align-items: start; }
  .cta-inline .btn-row { justify-content: flex-start; gap: 12px; }
  .cat-grid { --cols: 1; }
  .cat-grid.four, .cat-grid.small, .cat-grid.two { --cols: 2; }
  .cat-tile { aspect-ratio: 4 / 5; }
  .collections { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .collections .cat-tile { grid-column: span 1 !important; grid-row: span 1 !important; min-height: 0 !important; aspect-ratio: 4 / 5; }
  .collections .cat-tile:nth-child(1) { grid-column: span 2 !important; aspect-ratio: 4 / 3; }
  .gallery, .gallery.wide { columns: 2; column-gap: 10px; }
  .gallery img { margin-bottom: 10px; }
  .contact-form .row-2 { grid-template-columns: 1fr; }
  .photo-frame .photo-tag { left: 12px; }
  .hero-overlay { padding-top: 130px; }
  .hero-facts li strong { font-size: 1.7rem; }
  .founder-quote::before { font-size: 3.6rem; }
}

@media (max-width: 600px) {
  .header-inner { gap: 10px; padding: 12px var(--gutter); }
  .logo { gap: 8px; }
  .logo-img, .site-header.scrolled .logo-img { height: 56px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-text small { display: none; }
  .wordmark .wm-script { font-size: 1.75rem; }
  .wordmark .wm-caps { font-size: 0.9rem; letter-spacing: 0.22em; }
  .nav-wa { width: 36px; height: 36px; }
  .nav-toggle { padding-left: 2px; gap: 8px; }
  .hero-side { display: none; }
  .hero-overlay { padding-bottom: 72px; }
  .cat-tile .tile-badge { font-size: 9px; padding: 5px 8px; top: 10px; left: 10px; }
  .cat-tile span { padding: 16px 14px 14px; font-size: 1.3rem; }
  .cat-tile span small { font-size: 10px; letter-spacing: 0.12em; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 60px 12px 64px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .opt-grid, .opt-grid.wide { grid-template-columns: 1fr 1fr; }
  .cal { padding: 14px 12px 12px; }
  .cal-grid { gap: 4px; }
  .cal-day { font-size: 0.85rem; }
  .tool-panel { padding: 22px 18px 20px; }
  .tool-summary { padding: 24px 20px; }
  .package-card { padding: 30px 22px 26px; }
  .testimonial-card { padding: 40px 22px 26px; }
}

@media (max-width: 420px) {
  .nav-toggle .label { display: none; }
  .logo-img, .site-header.scrolled .logo-img { height: 50px; }
  .footer-brand .footer-logo img { height: 150px; }
  .cat-grid.four, .cat-grid.small, .cat-grid.two { --cols: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .opt-grid, .opt-grid.wide { grid-template-columns: 1fr; }
  .cta-inline .btn { width: 100%; }
}

/* Touch targets for standalone links on small screens */
@media (max-width: 720px) {
  .footer-col a { min-height: 32px; margin-bottom: 4px; }
  .footer-bottom a, .breadcrumb a, .gallery-note a, .link-row a, .social-link { display: inline-block; padding-block: 6px; }
}

/* ------------------------------------------------------------------ *
 * 8. Studio tools (backoffice, release form, client gallery)
 * ------------------------------------------------------------------ */

.tool-body { background: var(--bg-2); }

.tool-body .site-header { background: rgba(250,247,245,0.97); }

.tool-body .eyebrow { display: flex; justify-content: center; }
.tool-body .eyebrow::before { display: none; }
.tool-body .section-title { text-align: center; margin-left: auto; margin-right: auto; max-width: none; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.tool-body .panel .section-title { max-width: none; }
.tool-body .contact-form input, .tool-body .contact-form select, .tool-body .contact-form textarea { padding: 12px 14px; }
.tool-body .contact-form button[type="submit"], .tool-body .btn.btn-dark { align-self: auto; }
.tool-body .btn { padding: 12px 24px; }
/* ------------------------------------------------------------------ *
 * Studio tools: admin dashboard + digital booking & release form
 * ------------------------------------------------------------------ */

.tool-body { background: #f6f5f4; }

/* The hidden attribute always wins, even over display rules like
   .form-success.show that the tool pages toggle alongside it */
[hidden] { display: none !important; }

.tool-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  white-space: nowrap;
}

.tool-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 110px 20px 60px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 28px;
  margin-bottom: 22px;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0 0 14px;
}

.panel-title > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 400;
  flex-shrink: 0;
}

.panel-title em { font-style: normal; font-weight: 400; color: var(--muted); }

.panel-lead {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto 18px;
  text-align: center;
}

.panel .eyebrow + .section-title { margin-bottom: 12px; }

.panel-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.tool-form, .tool-form-flat { gap: 0; }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 16px;
}

.field-grid.one { grid-template-columns: 1fr; }

.field-grid label small { text-transform: none; letter-spacing: 0; }

.field-error {
  color: #8a2b2b;
  background: #faf1f1;
  border: 1px solid #e5c9c9;
  font-size: 0.9rem;
  padding: 12px 14px;
}

.group-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 10px;
  display: block;
}

.group-label small { text-transform: none; letter-spacing: 0; }

/* Booking summary card (release page) */
.booking-card { text-align: center; }

.booking-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 18px 0 0;
  text-align: left;
}

.booking-facts .fact { background: #fff; padding: 14px 16px; }

.booking-facts .fact span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.booking-facts .fact strong { font-weight: 500; font-size: 0.95rem; }

/* What the studio already had on file, shown for confirmation instead of
   being asked for a second time (release page, section 1). */
.known-details {
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 14px 16px 16px;
  margin-bottom: 20px;
}

.known-lead { margin: 0; font-size: 0.92rem; color: var(--muted); }

.known-details .booking-facts { margin: 12px 0 14px; }

.known-details .btn-mini { display: inline-block; }

.booking-note {
  border: 1px dashed var(--line);
  background: #fafafa;
  text-align: left;
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 0.92rem;
}

.booking-note span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.booking-note p { margin: 0; }

/* Comfort matrix */
.comfort-list { margin: 4px 0 18px; }

/* Comfort topics are grouped: a swimwear question and a fine-art nude
   question should never read as the same kind of question. */
.comfort-group { margin-bottom: 26px; }

.comfort-group:last-child { margin-bottom: 0; }

.comfort-group-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0;
}

.comfort-group-desc {
  margin: 3px 0 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

.comfort-group .comfort-row:first-of-type { border-top: 1px solid var(--line); }

.comfort-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.comfort-row.comfort-missing { background: #faf1f1; outline: 1px solid #e5c9c9; }

.comfort-info strong { display: block; font-size: 0.95rem; font-weight: 500; }

.comfort-info small { color: var(--muted); font-size: 0.82rem; }

.seg { display: flex; border: 1px solid var(--line); }

.seg-opt { position: relative; }

.seg-opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.seg-opt span {
  display: block;
  padding: 8px 13px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  cursor: pointer;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.seg-opt:first-child span { border-left: 0; }

.seg-opt input:checked + span { background: var(--ink); color: #fff; }

.seg-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -2px; }

/* Terms + consent */
.terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.terms-list li { padding: 7px 0; border-top: 1px solid var(--line); }

.consent-list { display: flex; flex-direction: column; gap: 10px; }

.check-row,
.contact-form label.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 0;
  cursor: pointer;
}

.check-row input { margin-top: 3px; flex-shrink: 0; width: auto; }

.agree-row { border: 1px solid var(--ink); padding: 14px 16px; margin-bottom: 16px; font-weight: 500; }

/* Signature pad */
.sig-wrap { position: relative; margin-bottom: 18px; }

.sig-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
  border: 1px dashed #bbb;
  background: #fff;
  touch-action: none;
  cursor: crosshair;
}

.btn-mini {
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
}

.sig-wrap .btn-mini { position: absolute; top: 8px; right: 8px; }

/* Share + code */
.share-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 0 0 16px; }

.btn-plain { cursor: pointer; font-family: inherit; }

.code-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.code-box {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--muted);
  word-break: break-all;
  resize: vertical;
}

/* Admin: PIN gate */
.gate-panel { max-width: 460px; margin: 40px auto; text-align: center; }

.gate-form { flex-direction: row; gap: 10px; justify-content: center; }

.gate-form input { max-width: 180px; text-align: center; letter-spacing: 0.2em; }

.gate-panel .field-error { margin-top: 12px; }

.gate-reset { font-size: 0.8rem; color: var(--muted); margin-top: 18px; }

.gate-reset a { text-decoration: underline; }

/* Admin: stats */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.stat-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  text-align: center;
}

.stat-box strong { display: block; font-size: 1.7rem; font-weight: 300; }

.stat-box span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Admin: comfort topic pills */
/* Chips, either loose (the enrolment form's interests) or in named groups
   (the studio's comfort topics, grouped the way the model is asked them). */
.cat-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.cat-group { flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }

.cat-group-title {
  flex: 0 0 100%;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat-check { position: relative; }

.cat-check input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.cat-check span {
  display: block;
  border: 1px solid var(--line);
  padding: 7px 13px;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
}

.cat-check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Admin: link result */
.link-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }

.link-result .share-row { justify-content: flex-start; }

.qr-side { text-align: center; }

.qr-box { border: 1px solid var(--line); background: #fff; padding: 8px; display: inline-block; margin-bottom: 10px; }

.qr-box canvas { display: block; width: 100%; max-width: 240px; height: auto; image-rendering: pixelated; }

.qr-note { font-size: 0.8rem; color: var(--muted); margin: 10px 0 0; }

/* Admin: bookings list */
.bookings-list { display: flex; flex-direction: column; }

.booking-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto auto;
  gap: 4px 14px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.booking-row:hover { background: #fafafa; }

.booking-row.past { opacity: 0.6; }

.booking-who strong { display: block; font-size: 0.98rem; }

.booking-who small, .booking-when small { color: var(--muted); font-size: 0.74rem; line-height: 1.35; display: block; }

.booking-when { font-size: 0.88rem; }

.badge {
  justify-self: start;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.badge-sent { border-color: var(--ink); color: var(--ink); }

.badge-completed { background: var(--ink); border-color: var(--ink); color: #fff; }

.badge-confirmed { background: #1e5631; border-color: #1e5631; color: #fff; }

.booking-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.booking-actions button {
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
}

.booking-actions button:hover { border-color: var(--ink); }

.booking-actions button.danger { color: #8a2b2b; }

/* Admin: enquiries. The same row as a booking, with the visitor's own words
   below it — the part the studio actually reads before replying. */
.enq-row .enq-message {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 2px 0 6px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.enq-row .booking-actions { grid-column: 1 / -1; justify-content: flex-start; }

/* What is still owed, under the client's name in the bookings list. */
.booking-who .money { font-weight: 600; letter-spacing: 0.01em; }
.booking-who .money-due { color: #8a2b2b; }
.booking-who .money-part { color: #8a6a1a; }
.booking-who .money-ok { color: #1e5631; }

.badge-enq-new { background: var(--ink); border-color: var(--ink); color: #fff; }
.badge-enq-replied { border-color: var(--ink); color: var(--ink); }
.badge-enq-booked { background: #1e5631; border-color: #1e5631; color: #fff; }

/* Admin: the model directory. Three states, read at a glance: somebody who
   put themselves forward, somebody the studio has actually worked with, and
   somebody kept for the record but out of the working list. Archived keeps
   the plain muted badge — it should recede, not announce itself. */
.badge-md-enrolled { border-color: var(--ink); color: var(--ink); }
.badge-md-active { background: #1e5631; border-color: #1e5631; color: #fff; }
.badge-md-archived { border-color: var(--line); color: var(--muted); }

.tab-badge {
  display: inline-block;
  min-width: 18px;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 9px;
  background: #b3433a;
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.5;
}

.tab-btn.active .tab-badge { background: #fff; color: var(--ink); }

/* Admin: closed days */
.blocked-list { list-style: none; margin: 18px 0 0; padding: 0; }

.blocked-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.blocked-row.past { opacity: 0.55; }
.blocked-note { color: var(--muted); font-size: 0.84rem; }
.blocked-empty { color: var(--muted); font-size: 0.88rem; padding-top: 10px; list-style: none; }

/* Admin: the calendar feed address */
.feed-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 16px; }

.feed-url {
  flex: 1 1 320px;
  min-width: 0;
  overflow-wrap: anywhere;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 9px 12px;
  font-size: 0.8rem;
}

/* Admin: backup row */
.backup-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }

.file-btn { position: relative; overflow: hidden; }

@media (max-width: 720px) {
  .tool-page { padding-top: 96px; }
  .panel { padding: 22px 18px; }
  .field-grid { grid-template-columns: 1fr; }
  /* the three comfort options share the width instead of forcing the page wider */
  .comfort-row { grid-template-columns: minmax(0, 1fr); }
  .comfort-info { min-width: 0; }
  .seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .seg-opt span {
    padding: 8px 4px;
    font-size: 0.72rem;
    text-align: center;
    white-space: normal;
  }
  .link-cols { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .booking-row { grid-template-columns: 1fr auto; }
  .booking-when { grid-column: 1; }
}

/* Toolbar search + filter chips */
.contact-form .bar-search,
.bar-search {
  width: auto;
  flex: 0 1 210px;
  min-width: 130px;
  padding: 7px 10px;
  font-size: 0.84rem;
  border: 1px solid var(--line);
  font-family: inherit;
  background: #fff;
}

/* A dropdown sitting in the same toolbar as the search box. Narrower than a
   search field, because a province name is shorter than a search phrase. */
.bar-select { flex: 0 1 170px; min-width: 120px; cursor: pointer; }

.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }

.chip {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 13px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}

.chip:hover { border-color: var(--ink); color: var(--ink); }

.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Sticky tab bar */
.tab-nav {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: #f6f5f4;
  padding: 10px 0;
  margin-bottom: 16px;
}

/* Toasts */
.toast-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  pointer-events: none;
}

.toast {
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  padding: 12px 18px;
  max-width: 320px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  animation: toast-in 0.22s ease;
}

.toast-error { background: #8a2b2b; }

.toast.out { opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
}

@media (max-width: 600px) {
  /* keep the toolbar on one row and drop the mouse-only hint */
  .gal-bar select, .contact-form .gal-bar select { min-width: 0; flex: 1 1 46%; }
  .bar-search, .contact-form .bar-search { flex: 1 1 40%; min-width: 0; }
  .gal-hint { display: none; }
  .toast-wrap { left: 12px; right: 12px; align-items: stretch; }
  .toast { max-width: none; }
  .tab-nav { top: 60px; }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}

.modal[hidden] { display: none; }

.modal-card {
  background: #fff;
  max-width: 720px;
  width: 100%;
  padding: 24px 28px 36px;
}

.modal-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

body.modal-open { overflow: hidden; }

/* Release document (screen + print) */
.rel-doc { font-size: 0.92rem; }

.rel-doc .doc-head { text-align: center; border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 22px; }

.rel-doc .doc-brand {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.rel-doc h1 { font-size: 1.4rem; font-weight: 300; letter-spacing: 0.03em; margin: 0 0 6px; }

.rel-doc .doc-ref { font-size: 0.8rem; color: var(--muted); margin: 0; }

.rel-doc section { margin-bottom: 22px; }

.rel-doc h2 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin: 0 0 10px;
}

.doc-row { display: flex; gap: 16px; padding: 4px 0; }

.doc-row span { flex: 0 0 180px; color: var(--muted); font-size: 0.85rem; }

.doc-row strong { font-weight: 500; }

.doc-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }

.doc-table th, .doc-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }

.doc-table th { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.doc-group-row th {
  padding-top: 12px;
  color: var(--ink);
  font-size: 0.7rem;
  background: #f6f2f0;
}

.doc-rating-no { color: #8a2b2b; font-weight: 600; }

.doc-rating-discuss { color: #7a5b17; }

.doc-note { margin-top: 10px; }

.doc-note span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-note p { margin: 2px 0 0; white-space: pre-wrap; }

.doc-terms, .doc-consent { list-style: none; padding: 0; margin: 0 0 10px; }

.doc-terms li { padding: 4px 0; color: var(--muted); font-size: 0.86rem; }

.doc-consent li { padding: 4px 0; }

.doc-consent-no { color: var(--muted); }

.doc-legal { font-size: 0.85rem; color: var(--muted); }

.doc-sig { margin: 10px 0; }

.doc-sig span { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.doc-sig img { max-width: 240px; border-bottom: 1px solid var(--ink); }

.doc-countersign { display: flex; align-items: flex-end; gap: 16px; margin-top: 26px; font-size: 0.8rem; color: var(--muted); }

.doc-countersign .doc-line { flex: 1; border-bottom: 1px solid var(--ink); max-width: 260px; }

.doc-foot {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Footer variant for tool pages */

/* Printing: when a release document is staged, print only it */
.print-only { display: none; }

@media print {
  body:has(#printArea:not(:empty)) .site-header,
  body:has(#printArea:not(:empty)) .site-footer,
  body:has(#printArea:not(:empty)) .modal { display: none !important; }
  body:has(#printArea:not(:empty)) .tool-page > *:not(#printArea) { display: none !important; }
  body:has(#printArea:not(:empty)) .tool-page { padding: 0; max-width: none; }
  #printArea:not(:empty) { display: block; }
  .tool-body { background: #fff; }
}

@media (max-width: 720px) {
  .tool-page { padding-top: 96px; }
  .panel { padding: 22px 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .comfort-row { grid-template-columns: 1fr; }
  .seg { justify-self: start; }
  .seg-opt span { padding: 8px 10px; }
  .link-cols { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .booking-row { grid-template-columns: 1fr auto; }
  .booking-when { grid-column: 1; }
}

/* Backoffice: tabs, gallery manager, site images, migration banner */
.tab-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.tab-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
}

.tab-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.tool-tag .btn-mini { margin-left: 10px; vertical-align: middle; }

/* Gallery manager: compact fixed-height strip */
.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;
}

.gal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.contact-form .gal-bar select,
.gal-bar select {
  width: auto;
  min-width: 190px;
  padding: 7px 10px;
  font-size: 0.84rem;
}

.gal-spacer { flex: 1 1 auto; }

.gal-count {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.gal-count.warn { color: #7a5b17; }
.gal-count.dirty { color: var(--ink); font-weight: 600; }

.btn-mini.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-mini.primary:hover { opacity: 0.85; }
.btn-mini.danger { color: #8a2b2b; border-color: #e5c9c9; }
.btn-mini:disabled { opacity: 0.35; cursor: default; }

.gal-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 6px;
  max-height: 232px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  background: #fafafa;
}

.gal-strip.file-hover { border-color: var(--ink); background: #f0efee; }

.gal-tile {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--line);
  background: #eee;
  overflow: hidden;
  cursor: grab;
}

.gal-tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.gal-tile.selected { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

.gal-tile.dragging { opacity: 0.35; }

.gal-tile.drop-target { border-color: var(--ink); box-shadow: -3px 0 0 0 var(--ink); }

.gal-tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.gal-num {
  position: absolute;
  top: 0; left: 0;
  background: rgba(0,0,0,0.62);
  color: #fff;
  font-size: 0.6rem;
  line-height: 1;
  padding: 3px 5px;
}

.gal-warn {
  position: absolute;
  right: 3px; bottom: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #c9a227;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.gal-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.gal-editor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.gal-editor img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}

.gal-edit-field { flex: 1 1 auto; min-width: 0; }

.contact-form .gal-edit-field input,
.gal-edit-field input {
  width: 100%;
  padding: 9px 11px;
  font-size: 0.88rem;
}

.gal-edit-actions { display: flex; gap: 6px; flex-shrink: 0; }

.gal-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.gal-hint {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 600px) {
  .gal-strip { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); max-height: 196px; }
  .gal-editor { flex-wrap: wrap; }
  .gal-edit-field { flex-basis: 100%; order: 3; }
}

/* Collapsible panel (rarely-used tools) */
.panel-collapse { padding: 0; }

.panel-collapse > summary {
  list-style: none;
  padding: 18px 26px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-collapse > summary::-webkit-details-marker { display: none; }

.panel-collapse > summary::before {
  content: "+";
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
}

.panel-collapse[open] > summary::before { content: "\2212"; }

.panel-collapse > summary small { color: var(--muted); font-weight: 400; }

.panel-collapse > summary:hover { background: #fafafa; }

.collapse-body { padding: 0 26px 24px; }

/* Modals: title bar, wide variant, action row */
.modal-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.modal-title em { font-style: normal; font-weight: 400; color: var(--muted); }

.modal-bar { align-items: center; }

.modal-wide { max-width: 860px; }

.modal-actions { margin-top: 6px; }

.gal-empty p { margin: 0 0 14px; }

@media (max-width: 860px) {
  /* name on one line, date + status sharing the next, actions below */
  .booking-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .booking-who { grid-column: 1 / -1; grid-row: 1; }
  .booking-when { grid-column: 1; grid-row: 2; }
  .booking-row .badge { grid-column: 2; grid-row: 2; justify-self: end; }
  .booking-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .booking-actions button { padding: 4px 9px; font-size: 0.65rem; }
  .panel-collapse > summary { padding: 16px 18px; }
  .collapse-body { padding: 0 18px 20px; }
}

@media (max-width: 600px) {
  /* one scrolling row of filters rather than two wrapped rows */
  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
}

/* ------------------------------------------------------------------ *
 * Backoffice dashboard: this week's agenda + what needs doing
 * ------------------------------------------------------------------ */

.attn-list { display: flex; flex-direction: column; }

.attn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0 9px 13px;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--line);
  font-size: 0.9rem;
}

.attn-row:first-child { border-top: 0; }

.attn-warn { border-left-color: #c9a227; }
.attn-ok { border-left-color: #1e5631; }
.attn-muted { border-left-color: var(--line); color: var(--muted); }

.attn-row button {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
}

.attn-row button:hover { border-color: var(--ink); }

.week-list { display: flex; flex-direction: column; }

.wk-day {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.wk-day:first-child { border-top: 0; }

.wk-date strong { display: block; font-size: 0.92rem; }

.wk-date small { color: var(--muted); font-size: 0.76rem; }

.wk-day.is-today .wk-date strong { color: var(--ink); }

.wk-day.is-today .wk-date::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin-top: 6px;
}

.wk-sessions { display: flex; flex-direction: column; gap: 8px; }

.wk-session {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 11px;
}

.wk-session.unsigned { border-left: 3px solid #c9a227; }

.wk-time { font-size: 0.86rem; font-weight: 500; color: var(--muted); }

.wk-body { min-width: 0; }

.wk-body strong { display: block; font-size: 0.95rem; }

.wk-body small { display: block; color: var(--muted); font-size: 0.76rem; }

.wk-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }

.flag {
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.flag-ok { border-color: #1e5631; color: #1e5631; }
.flag-no { border-color: #8a2b2b; color: #8a2b2b; }
.flag-discuss { border-color: #7a5b17; color: #7a5b17; }
.flag-note { border-color: var(--muted); }

.wk-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.wk-actions button {
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 9px;
  cursor: pointer;
  white-space: nowrap;
}

.wk-actions button:hover { border-color: var(--ink); }

@media (max-width: 720px) {
  .wk-day { grid-template-columns: 1fr; gap: 8px; }
  .wk-date { display: flex; align-items: baseline; gap: 8px; }
  .wk-day.is-today .wk-date::after { display: none; }
  .wk-session { grid-template-columns: 46px 1fr; }
  .wk-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .attn-row { flex-wrap: wrap; }
}

/* Gallery delivery */
/* Admin: the photographs delivered to one client. */
.gm-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
  min-height: 96px;
  max-height: 300px;
  overflow-y: auto;
  padding: 6px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background: #fafafa;
}

.gm-photos.drop-target { border-color: var(--ink); background: #f0efee; }

.gm-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #eee;
  overflow: hidden;
  cursor: grab;
}

.gm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-photo.dragging { opacity: 0.45; }
.gm-photo.is-fav { border-color: #b3433a; }

.gm-fav {
  position: absolute;
  left: 4px;
  bottom: 3px;
  color: #b3433a;
  font-size: 0.9rem;
  text-shadow: 0 0 3px #fff, 0 0 6px #fff;
}

.gm-photo-x {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #8a2b2b;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.gm-photo:hover .gm-photo-x, .gm-photo-x:focus-visible { opacity: 1; }

@media (hover: none) { .gm-photo-x { opacity: 1; } }

.gm-progress { font-size: 0.82rem; color: var(--muted); margin: 0 0 10px; }

.gm-photos .gal-empty { grid-column: 1 / -1; }

.gm-heading {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 20px 0 14px;
}

.badge-delivered { background: #1e5631; border-color: #1e5631; color: #fff; }

.gl-open { margin: 22px 0 6px; }

.gl-pass { margin: 18px auto 0; max-width: 320px; }

.gl-pass-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 10px 12px;
}

.gl-pass-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  word-break: break-all;
}

/* ---------------------------------------------------------------- *
 * The client's own gallery: the delivered photographs, the hearts
 * they mark them with, and the lightbox they read them in.
 * ---------------------------------------------------------------- */

.gl-expiry {
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.gl-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.gl-hint { margin: 0 0 18px; }

.gl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.gl-tile {
  position: relative;
  margin: 0;
  background: var(--bg-2);
  overflow: hidden;
}

.gl-open-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gl-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gl-tile:hover img { transform: scale(1.03); }

.gl-open-photo:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* The heart. Always visible on a touch screen — hover is not a thing there —
   and filled once the photograph is a favourite. */
.gl-heart {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  cursor: pointer;
  line-height: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.gl-heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.gl-heart:hover { color: #b3433a; transform: scale(1.08); }
.gl-heart[aria-pressed="true"] { color: #b3433a; }
.gl-heart[aria-pressed="true"] svg { fill: currentColor; stroke: currentColor; }
.gl-heart-label { display: none; }

.gl-save {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gl-tile:hover .gl-save, .gl-save:focus-visible { opacity: 1; }

@media (hover: none) {
  /* No hover to reveal it, so it simply stays. */
  .gl-save { opacity: 1; }
}

.gl-empty { color: var(--muted); font-size: 0.9rem; padding: 26px 0; text-align: center; }

/* ------------------------------------------------------- Lightbox */

.gl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 12, 12, 0.94);
  padding: 56px 16px 78px;
}

.gl-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gl-lb-close, .gl-lb-nav {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.gl-lb-close:hover, .gl-lb-nav:hover { opacity: 1; }

.gl-lb-close { top: 14px; right: 18px; font-size: 2.2rem; }
.gl-lb-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 0 14px; }
.gl-lb-prev { left: 4px; }
.gl-lb-next { right: 4px; }

.gl-lb-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px;
  color: #fff;
}

.gl-lb-count { font-size: 0.8rem; letter-spacing: 0.1em; opacity: 0.75; }

.gl-lb-bar .gl-heart {
  position: static;
  background: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 10px;
}

.gl-lb-bar .gl-heart .gl-heart-label {
  display: inline;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.gl-lb-bar .gl-heart[aria-pressed="true"] { color: #e8837a; }

.gl-lb-bar .btn-mini { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.gl-lb-bar .btn-mini:hover { background: rgba(255, 255, 255, 0.2); }

@media (max-width: 560px) {
  .gl-bar .gal-spacer { display: none; }
  .gl-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
  .gl-lightbox { padding: 48px 6px 72px; }
  .gl-lb-nav { font-size: 2.2rem; }
}

/* Narrow phones: let the tool-page header label wrap rather than
   forcing the whole page wider than the screen. */
@media (max-width: 560px) {
  .tool-tag {
    white-space: normal;
    text-align: right;
    font-size: 9px;
    letter-spacing: 0.08em;
    padding: 5px 8px;
  }

  .tool-body .header-inner { gap: 10px; }

  .logo small { display: none; }
}

/* Deployment status rows in the backoffice Settings tab. Colour carries the
   same meaning as the leading word, so it never carries it alone. */
.dep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dep-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid #e6e6e6;
  border-left-width: 4px;
  border-radius: 8px;
  background: #fafafa;
  font-size: 14px;
  line-height: 1.5;
}
.dep-row strong { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; padding-top: 2px; }
.dep-good { border-left-color: #2e7d32; }
.dep-good strong { color: #2e7d32; }
.dep-warn { border-left-color: #b26a00; }
.dep-warn strong { color: #b26a00; }
.dep-bad  { border-left-color: #b3261e; }
.dep-bad strong { color: #b3261e; }
@media (max-width: 560px) {
  .dep-row { grid-template-columns: 1fr; gap: 4px; }
}

