/* Layout: header band + booking flow (left) with sticky appointment ticket (right); stacks on phones.
   Matches the studio's existing booking page: forest green, collegiate slab display face (Graduate). */
:root {
  --bg: #f3f4f1;
  --surface: #ffffff;
  --ink: #161a14;
  --muted: #5f665b;
  --line: #d9ddd4;
  --accent: #1f5c12;        /* Houzfresh forest green */
  --accent-ink: #ffffff;
  --accent-soft: #e2eedc;
  --zest: #161a14;          /* underline under the highlighted word */
  --danger: #b0322a;
  --danger-soft: #f7e5e3;
  --ok: #1f5c12;
  --ok-soft: #e2eedc;
  --shadow: 0 1px 2px rgba(22, 26, 20, .06), 0 8px 24px rgba(22, 26, 20, .07);
  --star: #d99a12;

  --logo-filter: none;      /* logo files are black on white */
  --logo-blend: multiply;   /* hides the white background */
  --font-display: "Graduate", "Rockwell", "Georgia", serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11140f; --surface: #191d16; --ink: #e9ece5; --muted: #9ba394; --line: #2c3328;
    --accent: #7cc560; --accent-ink: #0d1a08; --accent-soft: #1f3317; --zest: #e9ece5;
    --danger: #f0857c; --danger-soft: #3a1d1a; --ok: #7cc560; --ok-soft: #1f3317;
    --logo-filter: invert(1); --logo-blend: screen;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #11140f; --surface: #191d16; --ink: #e9ece5; --muted: #9ba394; --line: #2c3328;
  --accent: #7cc560; --accent-ink: #0d1a08; --accent-soft: #1f3317; --zest: #e9ece5;
  --danger: #f0857c; --danger-soft: #3a1d1a; --ok: #7cc560; --ok-soft: #1f3317;
  --logo-filter: invert(1); --logo-blend: screen;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--font-body);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: .01em; }
h1, h2, h3, .brand-name, .service-name, .step-num { font-synthesis: none; }
p { margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .02em; line-height: 1; display: grid; }
.logo-img { display: block; height: 40px; width: auto; max-width: 220px; margin-block: -6px -4px; object-fit: contain; object-position: left center; filter: var(--logo-filter); mix-blend-mode: var(--logo-blend); }
@media (max-width: 380px) { .logo-img { height: 24px; } }
.brand-name small { font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: var(--step--1);
  padding: 8px 14px; border-radius: 999px;
}
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--ink); }
.nav a:hover { color: var(--ink); }

/* ---------- intro ---------- */
.intro .wrap { padding-block: 40px 28px; display: grid; gap: 18px; }
.intro h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.3rem); text-transform: uppercase; max-width: 20ch; }
.intro h1 mark {
  color: var(--accent); background: none; padding: 0;
  text-decoration: underline; text-decoration-color: var(--zest); text-decoration-thickness: .09em; text-underline-offset: .1em;
}
.intro p.lede { color: var(--muted); font-size: var(--step-1); max-width: 52ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 4px 0 0; list-style: none; color: var(--muted); font-size: var(--step--1); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* hero: text left, studio photo collage right; collage drops under the text on phones */
.intro-grid { grid-template-columns: minmax(0, 1fr); align-items: center; }
.intro-text { display: grid; gap: 18px; align-content: center; min-width: 0; }
.intro-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .intro-grid:has(.collage:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; }
  .intro .wrap.intro-grid { padding-block: 48px 40px; }
}
.rating-line {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
  font-weight: 600; font-size: var(--step--1);
}
.rating-line:hover { border-color: var(--accent); }
.rating-line .stars { font-size: 1rem; }
.stars { color: var(--star); letter-spacing: .06em; white-space: nowrap; }
.stars .off { color: var(--line); }

.collage {
  display: grid; gap: 10px; height: clamp(320px, 62vw, 520px);
  grid-template-columns: 1.45fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr));
}
.collage .ph { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--line); min-height: 0; }
.collage .ph:first-child { grid-row: 1 / -1; }
.collage .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.collage .ph:hover img { transform: scale(1.04); }
.collage[data-count="1"] { grid-template-columns: 1fr; }
.collage[data-count="2"] .ph:nth-child(2) { grid-row: 1 / -1; }
.collage[data-count="3"] { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.collage .more {
  position: absolute; right: 10px; bottom: 10px; padding: 5px 11px; border-radius: 999px;
  background: rgba(10, 14, 8, .72); color: #fff; font-size: .78rem; font-weight: 700;
}
@media (max-width: 899px) { .collage { height: clamp(300px, 92vw, 460px); } }

/* lightbox */
.lightbox { padding: 0; border: 0; background: rgba(6, 8, 5, .9); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 8, 5, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 86vh; border-radius: 10px; object-fit: contain; }
.lb-btn {
  position: fixed; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 16px; right: 16px; font-size: 1.1rem; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: var(--step--1); opacity: .8; }

/* reviews */
.reviews { border-top: 1px solid var(--line); background: var(--surface); }
.reviews .wrap { padding-block: 44px 56px; display: grid; gap: 22px; }
.reviews-head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: end; justify-content: space-between; }
.reviews-title { display: grid; gap: 8px; }
.reviews h2 { font-size: var(--step-2); text-transform: uppercase; }
.reviews-summary { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: var(--step--1); }
.reviews-summary strong { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); font-weight: 400; }
.reviews-summary .stars { font-size: 1.15rem; }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.review { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.review p { white-space: pre-line; overflow-wrap: anywhere; }
.review footer { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: var(--step--1); }
.review footer b { color: var(--ink); }
.review-more { justify-self: center; }
.review-form { display: grid; gap: 14px; max-width: 560px; padding: 22px; border-radius: var(--radius); border: 1.5px solid var(--accent); background: var(--bg); }
.review-form h3 { font-size: var(--step-1); text-transform: uppercase; }
.star-field { border: 0; padding: 0; margin: 0; }
.star-field legend { font-weight: 600; font-size: var(--step--1); padding: 0; margin-bottom: 6px; }
.star-input { display: flex; gap: 2px; }
.star-field .star-input label { cursor: pointer; font-size: 2.2rem; font-weight: 400; line-height: 1; color: var(--line); position: relative; padding: 2px; }
.star-field .star-input label span { color: inherit; font-weight: inherit; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label:has(~ label input:checked), .star-input label:has(input:checked) { color: var(--star); }
.star-input:hover label { color: var(--star); }
.star-input label:hover ~ label { color: var(--line); }
.star-input label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 1px; border-radius: 6px; }
.star-field.invalid .star-input label { color: var(--danger-soft); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- booking layout ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-bottom: 64px; }
@media (max-width: 880px) { .booking { grid-template-columns: minmax(0, 1fr); } }

.step { padding-block: 26px; border-top: 1px solid var(--line); display: grid; gap: 16px; min-width: 0; }
.step:first-child { border-top: 0; padding-top: 0; }
.step-head { display: flex; align-items: baseline; gap: 12px; }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step--1);
  width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  border: 1.5px solid var(--ink); transform: translateY(-2px);
}
.step.done .step-num { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.step h2 { font-size: 1.4rem; text-transform: uppercase; }
.service-cat {
  grid-column: 1 / -1; font-size: .95rem; text-transform: uppercase; color: var(--accent);
  padding-top: 10px; border-bottom: 1.5px solid var(--line); padding-bottom: 6px;
}
.service-cat:first-child { padding-top: 0; }
.service-kreyol { font-size: .8rem; color: var(--muted); font-style: italic; }
.policy { font-size: .8rem; color: var(--muted); }
.policy summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.policy ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }

/* barber chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* time slots */
#times { display: grid; gap: 14px; }
.time-group { display: grid; gap: 8px; }
.time-label { font-family: var(--font-body); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.time {
  padding: 10px 6px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--step--1);
}
.time:hover { border-color: var(--accent); }
.time[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.step-hint { color: var(--muted); font-size: var(--step--1); }

/* services */
.services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
/* folding service categories */
.cat { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .15s; }
.cat.open, .cat.picked { border-color: var(--accent); }
.cat-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.cat-head:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.cat-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.cat-name { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .01em; }
.cat-sub { font-size: .8rem; color: var(--muted); font-style: italic; }
.cat-meta { font-size: var(--step--1); color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.cat-chev { font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.cat.open .cat-chev { transform: rotate(90deg); color: var(--accent); }
.cat-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 4px 12px 14px; }
.cat-panel[hidden] { display: none; }
@media (max-width: 560px) { .cat-panel { grid-template-columns: minmax(0, 1fr); padding: 2px 10px 12px; } }
.service {
  position: relative; display: grid; gap: 6px; padding: 16px 16px 14px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.service:hover { border-color: var(--accent); }
.service input { position: absolute; opacity: 0; pointer-events: none; }
.service:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.service:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.service-name { font-family: var(--font-display); font-weight: 400; font-size: 1rem; text-transform: uppercase; letter-spacing: .01em; }
.service-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.service-price small { color: var(--muted); font-weight: 400; }
.service-desc { color: var(--muted); font-size: var(--step--1); }
.service-hours { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }

/* dates */
.date-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.month-label { font-weight: 600; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  display: inline-grid; place-items: center; cursor: pointer;
}
.icon-btn:disabled { opacity: .35; cursor: default; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day {
  display: grid; gap: 2px; justify-items: center; padding: 10px 2px; border-radius: 12px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); font-variant-numeric: tabular-nums;
}
.day .dow { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.day .dnum { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.day .dleft { font-size: .7rem; color: var(--muted); }
.day:hover:not(:disabled) { border-color: var(--accent); }
.day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.day[aria-pressed="true"] .dow, .day[aria-pressed="true"] .dleft { color: var(--accent-ink); }
.day:disabled { cursor: default; background: transparent; border-style: dashed; opacity: .5; }
@media (max-width: 420px) { .days { gap: 5px; } .day .dleft { display: none; } }

.windows { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.window {
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; text-align: left; font-weight: 600; font-variant-numeric: tabular-nums;
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
}
.window small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.window:hover:not(:disabled) { border-color: var(--accent); }
.window[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.window:disabled { cursor: default; text-decoration: line-through; opacity: .45; }
.empty-note { color: var(--muted); font-size: var(--step--1); padding: 14px; border: 1.5px dashed var(--line); border-radius: 12px; }

/* fields */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.field .err { color: var(--danger); font-size: .8rem; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.bday-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; max-width: 360px; }
.bday-hint { color: var(--muted); font-size: .8rem; }
.move-box { margin-top: 16px; padding: 16px; border: 1.5px solid var(--line); border-radius: 12px; display: grid; gap: 12px; }
.move-box select { width: 100%; max-width: 360px; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: inherit; }
.pts-box { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--accent); background: var(--accent-soft); font-size: var(--step--1); cursor: pointer; }
.pts-box input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.pts-info { color: var(--muted); font-size: .85rem; }
.bday-gift { padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); border: 1.5px solid var(--accent); font-size: var(--step--1); }

/* summary ticket */
.ticket {
  position: sticky; top: 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.ticket-head { padding: 18px 20px 14px; border-bottom: 1.5px dashed var(--line); }
.ticket-head h3 { font-size: var(--step-1); }
.ticket-rows { padding: 14px 20px; display: grid; gap: 12px; margin: 0; }
.ticket-rows div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
.ticket-rows dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; padding-top: 2px; }
.ticket-rows dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ticket-rows dd.pending { color: var(--muted); font-weight: 400; }
.ticket-foot { padding: 4px 20px 20px; display: grid; gap: 10px; }
.ticket-note { font-size: .8rem; color: var(--muted); }
@media (max-width: 880px) { .ticket { position: static; } }

.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
}
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .5; cursor: default; filter: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.danger { background: var(--danger); color: #fff; }
.btn.small { padding: 8px 14px; font-size: var(--step--1); }

.alert { padding: 12px 14px; border-radius: 10px; font-size: var(--step--1); background: var(--danger-soft); color: var(--danger); }
.alert.ok { background: var(--accent-soft); color: var(--ink); }

/* confirmation + manage */
.panel { max-width: 640px; margin: 0 auto 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: grid; gap: 18px; }
@media (max-width: 480px) { .panel { padding: 20px; } }
.panel h2 { font-size: var(--step-2); }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.code-box { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; min-width: 0; }
.code-box span { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.code-box strong { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.25rem; letter-spacing: .04em; overflow-wrap: anywhere; }
.status-pill { display: inline-block; justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--ok-soft); color: var(--ok); }
.status-pill.cancelled, .status-pill.no-show { background: var(--danger-soft); color: var(--danger); }
.status-pill.completed { background: var(--line); color: var(--muted); }
.deposit-box { display: grid; gap: 10px; padding: 16px; border-radius: 12px; border: 1.5px solid var(--accent); background: var(--accent-soft); }
.deposit-box.paid { border-color: var(--line); }
.addr-box { display: grid; gap: 4px; justify-items: start; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.addr-box strong { font-size: var(--step-1); }
.addr-box .btn { margin-top: 6px; }
.pay-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.pay-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.pay-value { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; color: var(--ink); }
.pay-note { font-size: .82rem; color: var(--muted); }
.pay-note b { color: var(--ink); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
.site-footer .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* =====================================================================
   Studio look: deep forest band (header, hero, footer) taken from the studio
   itself (green chair & curtains, cognac leather, warm wood, soft light).
   ===================================================================== */
:root {
  --hero-bg: #10200c;
  --hero-bg-2: #1c3415;
  --hero-ink: #f5f0e6;
  --hero-muted: #b8c2ad;
  --hero-accent: #a6d98a;
  --warm: #c9824a;          /* cognac, from the couch & curtains */
  --hero-line: rgba(245, 240, 230, .14);
}

.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: .74rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--warm);
}

/* header joins the hero band */
.site-header { background: var(--hero-bg); border-bottom: 1px solid var(--hero-line); }
.site-header .logo-img { filter: invert(1); mix-blend-mode: screen; }
.site-header .brand-name small { color: var(--hero-accent); }
.site-header .nav a { color: var(--hero-muted); }
.site-header .nav a:hover { color: var(--hero-ink); }
.site-header .nav a[aria-current="page"] { background: rgba(245, 240, 230, .1); color: var(--hero-ink); }

/* hero */
.intro {
  color: var(--hero-ink);
  background:
    radial-gradient(900px 480px at 82% 10%, rgba(166, 217, 138, .16), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(201, 130, 74, .14), transparent 60%),
    linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-2) 100%);
}
.intro .wrap.intro-grid { padding-block: 44px 52px; }
@media (min-width: 900px) { .intro .wrap.intro-grid { padding-block: 64px 72px; } }
.intro h1 { color: var(--hero-ink); }
.intro h1 mark { color: var(--hero-accent); text-decoration-color: var(--warm); }
.intro p.lede { color: var(--hero-muted); }
.intro .facts { color: var(--hero-muted); }
.intro .facts li::before { background: var(--warm); }
.intro .rating-line { background: rgba(245, 240, 230, .07); border-color: var(--hero-line); color: var(--hero-ink); }
.intro .rating-line:hover { border-color: var(--warm); }
.intro .rating-line .stars .off { color: rgba(245, 240, 230, .25); }
.intro .btn { background: var(--hero-ink); color: var(--hero-bg); }
.intro .btn.ghost { background: transparent; color: var(--hero-ink); border: 1.5px solid rgba(245, 240, 230, .3); }
.intro .btn.ghost:hover { border-color: var(--hero-ink); }
.intro :focus-visible { outline-color: var(--hero-accent); }
.collage .ph { box-shadow: 0 18px 40px rgba(0, 0, 0, .35); outline: 1px solid rgba(245, 240, 230, .08); outline-offset: -1px; }
.collage .ph:first-child { border-radius: 20px; }

/* booking section heading */
.section-head { display: grid; gap: 8px; padding-block: 48px 26px; }
.section-head h2 { font-size: var(--step-3); text-transform: uppercase; }
.section-head .eyebrow { color: var(--accent); }

/* service cards: softer, lift on hover, price in brand green */
.service { border-radius: 16px; box-shadow: 0 1px 2px rgba(22, 26, 20, .05); transition: border-color .15s, box-shadow .2s, transform .2s; }
.service:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.service-price { color: var(--accent); font-size: 1.05rem; }
.service-cat { color: var(--ink); border-bottom-color: var(--warm); border-bottom-width: 2px; }
.step-num { border-color: var(--accent); color: var(--accent); }
.step.done .step-num { color: var(--accent-ink); }
.ticket { border-top: 4px solid var(--accent); }

/* reviews */
.review { position: relative; background: var(--surface); box-shadow: 0 1px 2px rgba(22, 26, 20, .05); padding-top: 26px; }
.review::before {
  content: "\201C"; position: absolute; top: -6px; right: 16px;
  font-family: var(--font-display); font-size: 4.2rem; line-height: 1; color: var(--accent-soft);
}
.reviews { background: var(--bg); }
.reviews .eyebrow { color: var(--accent); }

/* footer: same deep green as the header */
.site-footer { background: var(--hero-bg); color: var(--hero-muted); border-top: 0; }
.site-footer a { color: var(--hero-ink); text-decoration: none; }
.site-footer a:hover { color: var(--hero-accent); text-decoration: underline; }
.site-footer .wrap.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px;
  padding-block: 48px 28px; justify-content: stretch;
}
@media (max-width: 760px) { .site-footer .wrap.foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .site-footer .wrap.foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand .logo-img { filter: invert(1); mix-blend-mode: screen; height: 34px; margin: 0; }
.foot-brand p { max-width: 30ch; }
.foot-col { display: grid; gap: 6px; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.foot-col h4 {
  margin: 0 0 4px; font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--warm);
}
.site-footer .wrap.foot-bottom { border-top: 1px solid var(--hero-line); padding-block: 18px 26px; font-size: .8rem; }

/* ---------- About / portfolio page ---------- */
@media (max-width: 420px) { .site-header .nav a { padding: 8px 10px; } }
.about-hero .wrap { padding-block: 56px 48px; display: grid; gap: 18px; }
@media (min-width: 900px) { .about-hero .wrap { padding-block: 84px 64px; } }
.about-hero h1 { max-width: 16ch; }
.about-hero .lede { max-width: 60ch; }
.about-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 0; }
.about-stats div { padding: 12px 18px; border: 1px solid var(--hero-line); border-radius: 14px; background: rgba(245, 240, 230, .05); min-width: 140px; }
.about-stats dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--warm); font-weight: 700; }
.about-stats dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--hero-ink); }
.about-jump { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 6px; }
.about-jump a { color: var(--hero-muted); font-weight: 600; font-size: var(--step--1); text-decoration: none; border-bottom: 1px solid transparent; }
.about-jump a:hover { color: var(--hero-ink); border-bottom-color: var(--warm); }

.about-sec .wrap { padding-block: 64px; }
@media (max-width: 600px) { .about-sec .wrap { padding-block: 44px; } }
.about-sec.alt { background: var(--surface); border-block: 1px solid var(--line); }
.about-sec.dark { background: var(--hero-bg); color: var(--hero-ink); }
.about-sec.dark .sec-sub { color: var(--hero-muted); }
.about-sec h2 { font-size: var(--step-3); text-transform: uppercase; }
.sec-head { display: grid; gap: 8px; margin-bottom: 28px; max-width: 60ch; }
.sec-sub { color: var(--muted); }
.prose { display: grid; gap: 14px; font-size: 1.06rem; max-width: 62ch; }

.founder { display: grid; gap: 36px; align-items: center; }
@media (min-width: 820px) { .founder:has(.founder-photo:not([hidden])) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.founder-photo { margin: 0; position: relative; isolation: isolate; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; display: block; box-shadow: var(--shadow); }
.founder-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--warm); border-radius: 22px; z-index: -1;
}
@media (max-width: 600px) { .founder-photo::after { inset: 12px -10px -12px 10px; } }
.founder-text { display: grid; gap: 14px; }
.founder-text .eyebrow { color: var(--accent); }

.story { display: grid; gap: 28px; }
@media (min-width: 820px) { .story { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; } }
.story .eyebrow { color: var(--accent); }
.story-body { display: grid; gap: 28px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); display: grid; gap: 22px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before {
  content: ""; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.tl-date { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; }

/* photo tiles */
.celeb-tile, .work-tile, .studio-tile {
  position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; border-radius: 16px; background: var(--line); display: block; width: 100%;
}
.celeb-tile img, .work-tile img, .studio-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.celeb-tile:hover img, .work-tile:hover img, .studio-tile:hover img { transform: scale(1.04); }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; text-align: left;
  background: linear-gradient(transparent, rgba(6, 10, 4, .85)); color: #fff; font-weight: 700;
}
.celeb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.celeb-tile { aspect-ratio: 3 / 4; outline: 1px solid var(--hero-line); }
.celeb-tile .tile-cap { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.work-tile { aspect-ratio: 4 / 5; }
@media (max-width: 480px) { .work-grid, .celeb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .tile-cap { font-size: .85rem; padding: 28px 10px 8px; } }
.studio-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.studio-tile { aspect-ratio: 3 / 4; scroll-snap-align: start; }
.lb-fig { margin: 0; display: grid; gap: 10px; justify-items: center; }
.lb-fig figcaption { color: #fff; font-weight: 700; text-align: center; }
.lb-fig figcaption:empty { display: none; }

.about-cta { background: linear-gradient(135deg, var(--hero-bg-2), var(--hero-bg)); color: var(--hero-ink); text-align: center; }
.about-cta .wrap { padding-block: 64px; display: grid; gap: 14px; justify-items: center; }
.about-cta h2 { font-size: var(--step-3); text-transform: uppercase; }
.about-cta p { color: var(--hero-muted); }
.about-cta .btn { background: var(--hero-ink); color: var(--hero-bg); }
.about-cta .btn.ghost { background: transparent; color: var(--hero-ink); border: 1.5px solid rgba(245, 240, 230, .3); }
.about-cta .intro-cta { justify-content: center; }

/* ---------- scroll reveal (motion.js adds .rv; toggles .rv-in each time it enters or leaves the screen) ---------- */
/* Items sliding in from the side must not make the page scroll sideways on phones. */
html, body { overflow-x: clip; }
.rv {
  --rv-ease: cubic-bezier(.16, 1, .3, 1);
  opacity: 0;
  filter: blur(5px);
  transition: opacity .5s var(--rv-ease) var(--rv-delay, 0ms), transform .55s var(--rv-ease) var(--rv-delay, 0ms), filter .5s var(--rv-ease) var(--rv-delay, 0ms);
  will-change: opacity, transform;
}
.rv-up[data-rv-from="bottom"] { transform: translate3d(0, 40px, 0); }
.rv-up[data-rv-from="top"] { transform: translate3d(0, -40px, 0); }
.rv-zoom[data-rv-from="bottom"] { transform: translate3d(0, 28px, 0) scale(.93); }
.rv-zoom[data-rv-from="top"] { transform: translate3d(0, -28px, 0) scale(.93); }
.rv-side[data-rv-from="bottom"] { transform: translate3d(36px, 20px, 0); }
.rv-side[data-rv-from="top"] { transform: translate3d(36px, -20px, 0); }
.rv.rv-in { opacity: 1; filter: none; transform: none; }
/* Leaving the screen: quick and without the stagger, so it's ready to come back. */
.rv:not(.rv-in) { transition-duration: .3s; transition-delay: 0ms; }
/* Hero photos drift slightly slower than the page. */
.collage { translate: 0 calc(var(--hero-shift, 0px) * -1); }
.collage .ph.rv-zoom img { transform: scale(1.1); transition: transform .9s var(--rv-ease) var(--rv-delay, 0ms); }
.collage .ph.rv-zoom.rv-in img { transform: scale(1); }
.collage .ph.rv-zoom.rv-in:hover img { transform: scale(1.04); transition-duration: .5s; transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
