/* ==========================================================================
   Moni's Glamorous Touch
   Black, ivory and a restrained gold. Bodoni Moda for display, Jost for
   reading, Allura only for short accent words.
   ========================================================================== */

:root {
  /* Color */
  --ink: #141210;
  --ink-2: #1d1a17;
  --ink-3: #2c2723;
  --ivory: #f6f1e8;
  --paper: #fbf8f2;
  --white: #fffdf9;
  --muted: #5c544a;          /* body-secondary text on light, 6.6:1 */
  --muted-dark: #a69d90;     /* secondary text on black, 6.5:1 */
  --line: #ddd3c3;           /* decorative hairlines */
  --line-dark: #3a342e;
  --control: #8a8073;        /* form borders, 3.5:1 against paper */
  --gold: #c6a76c;           /* accent on black only */
  --gold-deep: #7a5c28;      /* gold for text on light, 5.5:1 */
  --error: #9b2c1f;

  /* Type */
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-script: "Allura", "Snell Roundhand", cursive;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.85rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 3.2rem);

  /* Space + layout */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --max: 76rem;
  --header-h: 4.5rem;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.9s;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--gold-deep); }

strong { font-weight: 600; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

[hidden] { display: none !important; }

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

.results :focus-visible,
.prep :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

section[id], [id^="svc-"] { scroll-margin-top: calc(var(--header-h) + 1rem); }
main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--ivory);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Shared type ---------- */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
}

.script-accent {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.4rem, 2.4rem + 4.5vw, 6rem);
  line-height: 0.8;
  color: var(--gold-deep);
  margin-bottom: -0.12em;
  margin-left: -0.04em;
  position: relative;
  z-index: 1;
}

.section-title__main {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  padding-left: clamp(1.25rem, 5vw, 3.5rem);
}

.section-title--light .script-accent { color: var(--gold); }
.section-title--light .section-title__main { color: var(--ivory); }

/* ---------- Buttons + links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); }

.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--ivory); }

.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: transparent; color: var(--ivory); }

.btn--small { min-height: 2.75rem; padding: 0.6rem 1rem; font-size: 0.75rem; letter-spacing: 0.14em; }

.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.link-arrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.link-arrow:hover::after { width: 3.25rem; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.icon-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
.icon-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---------- Wordmark ---------- */

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
}
.wordmark__caps {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.wordmark__script {
  font-family: var(--font-script);
  font-size: 1.6rem;
  line-height: 0.9;
  margin-top: 0.05rem;
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 241, 232, 0.97); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.site-nav { margin-left: auto; }

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.6rem) / 0 1px no-repeat;
  transition: background-size 0.3s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="true"] { background-size: 100% 1px; }

.site-nav__toggle { display: none; }

/* Without JS the nav simply wraps beneath the wordmark on small screens. */
.no-js .site-header__inner { flex-wrap: wrap; padding-block: 0.5rem; }
@media (max-width: 59.99em) { .no-js .site-header { position: relative; } }

@media (max-width: 59.99em) {
  .js .site-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0 0.5rem;
    border: 0;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .site-nav__toggle-bars,
  .site-nav__toggle-bars::before {
    display: block;
    width: 1.35rem;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
  }
  .site-nav__toggle-bars { position: relative; transform: translateY(-3px); }
  .site-nav__toggle-bars::before { content: ""; position: absolute; top: 6px; }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars { transform: rotate(45deg); }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }

  .js .site-nav__list {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(20, 18, 16, 0.35);
  }
  .js .site-nav__list.is-open { display: flex; }
  .js .site-nav__list li + li { border-top: 1px solid var(--line); }
  .js .site-nav__list a {
    width: 100%;
    min-height: 3.5rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0;
    text-transform: none;
    background: none;
  }
}

@media (max-width: 26em) {
  .site-nav__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--ivory);
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4rem);
}

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }

.hero__title {
  display: flex;
  flex-direction: column;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1;
}
.hero__caps {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.2rem + 4.6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__script {
  font-family: var(--font-script);
  font-size: clamp(4.4rem, 2rem + 12vw, 10.5rem);
  line-height: 0.72;
  margin: 0.02em 0 0.08em -0.04em;
  color: var(--ink);
}
.hero__caps--end { align-self: flex-end; margin-right: 0.15em; }

.hero__descriptor {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.85rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(0.75rem, 0.7rem + 0.3vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: clamp(0.14em, 0.1em + 0.4vw, 0.22em);
  text-transform: uppercase;
}
.hero__descriptor::before,
.hero__descriptor::after {
  content: "";
  width: clamp(1rem, 4vw, 3rem);
  height: 1px;
  background: var(--gold-deep);
}
.hero__descriptor span[aria-hidden] { color: var(--gold-deep); }

.hero__lede {
  max-width: 34ch;
  margin-top: 1.5rem;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2rem;
}

.hero__media { position: relative; }
.hero__frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  margin-right: 1rem;
  background: var(--ink);
}
.hero__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
/* A single offset hairline in gold: the only ornament in the hero. */
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: -1;
}
.hero__caption {
  position: relative;
  margin-top: 1.75rem;
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (min-width: 48em) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
  .hero__media { margin-top: 2rem; }
  .hero__frame { aspect-ratio: 3 / 4.4; }
}

@media (min-width: 64em) {
  .hero__grid { grid-template-columns: minmax(0, 6.5fr) minmax(0, 4.5fr); column-gap: 6rem; }
}

/* ---------- Services ---------- */

.services { background: var(--paper); }

.services__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }

.services__note {
  max-width: 34ch;
  color: var(--muted);
}

.services__index { margin-top: 2rem; }
.services__index ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.services__index li { border-bottom: 1px solid var(--line); }
.services__index li:nth-child(odd) { border-right: 1px solid var(--line); }
.services__index a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 0.85rem 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.services__index li:nth-child(even) a { padding-left: 0.85rem; }
.services__index a:hover { color: var(--gold-deep); }
.services__count {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.svc-group + .svc-group { margin-top: clamp(3rem, 6vw, 4.5rem); }

.svc-group__title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.1;
}
.svc-group__num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name price"
    "time book";
  column-gap: 1rem;
  align-items: baseline;
  padding-block: 1.1rem 0.6rem;
  border-bottom: 1px solid var(--line);
}
.svc__name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.3;
}
.svc__price {
  grid-area: price;
  justify-self: end;
  font-size: 1.0625rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.svc__time {
  grid-area: time;
  align-self: center;
  font-size: var(--step--1);
  color: var(--muted);
}
.svc__book {
  grid-area: book;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  justify-content: flex-end;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--gold);
}
.svc__book:hover { color: var(--gold-deep); }

@media (min-width: 40em) {
  .svc {
    grid-template-columns: minmax(0, 1fr) auto 4.5rem 4.5rem;
    grid-template-areas: "name time price book";
    padding-block: 0.65rem;
    align-items: center;
  }
  .svc__price { text-align: right; }
  .svc__time { text-align: right; }
}

@media (min-width: 60em) {
  .services__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 7vw, 7rem);
  }
  .services__sticky {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
  .services__index ul { grid-template-columns: 1fr; }
  .services__index li:nth-child(odd) { border-right: 0; }
  .services__index li:nth-child(even) a { padding-left: 0; }
  .svc-group:first-child .svc-group__title { margin-top: 1rem; }
}

/* ---------- Results (before / after) ---------- */

.results {
  background: var(--ink);
  color: var(--ivory);
}

.results__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }

.results__intro > p {
  max-width: 38ch;
  color: var(--muted-dark);
}

.ba-index { margin-top: 2.5rem; }
.ba-index__label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.ba-index__list { border-top: 1px solid var(--line-dark); }
.ba-index__list li { border-bottom: 1px solid var(--line-dark); }
.ba-index__btn {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0;
  border: 0;
  background: none;
  color: var(--muted-dark);
  text-align: left;
  transition: color 0.25s ease, padding 0.35s var(--ease);
}
.ba-index__btn .ba-index__num { font-size: 0.75rem; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.ba-index__btn .ba-index__name { font-family: var(--font-display); font-size: 1.2rem; }
.ba-index__btn:hover { color: var(--ivory); }
.ba-index__btn[aria-current="true"] { color: var(--ivory); padding-left: 0.75rem; box-shadow: inset 1px 0 0 var(--gold); }
.ba-index__btn[aria-current="true"] .ba-index__num { color: var(--gold); }

.ba-viewer { position: relative; min-width: 0; }

.ba + .ba { margin-top: 3rem; }        /* no-JS: every set stacked */
.js .ba + .ba { margin-top: 0; }

.ba__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.4rem, 1.2vw, 0.85rem);
  max-width: min(100%, 100vh);
}

.ba__pane {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--ink-2);
}
.ba__pane img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.ba__pane--after img { object-position: var(--after-pos, 50% 45%); }

.ba__tag {
  position: absolute;
  left: 0; bottom: 0;
  padding: 0.45rem 0.8rem;
  background: rgba(20, 18, 16, 0.82);
  color: var(--ivory);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ba__pane--after .ba__tag { color: var(--gold); }

.ba__caption {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1rem;
}
.ba__num { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--gold); }
.ba__label { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); }

.js .ba.is-entering .ba__pane img { animation: ba-in 0.7s var(--ease) both; }
.js .ba.is-entering .ba__pane--after img { animation-delay: 0.08s; }
@keyframes ba-in {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: none; }
}

.ba-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.ba-toggle {
  display: inline-flex;
  border: 1px solid var(--line-dark);
}
.ba-toggle__btn {
  min-width: 5.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 0;
  background: transparent;
  color: var(--muted-dark);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.ba-toggle__btn[aria-pressed="true"] { background: var(--ivory); color: var(--ink); }

.ba-step { display: inline-flex; align-items: center; gap: 0.75rem; margin-left: auto; color: var(--ivory); }
.ba-step__count {
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
.icon-btn:hover:not(:disabled) { background: var(--ivory); color: var(--ink); }

/* Phones: one large photo at a time with a Before / After switch. */
@media (max-width: 37.49em) {
  .js .ba__pair { grid-template-columns: 1fr; }
  .js .ba[data-view="before"] .ba__pane--after,
  .js .ba[data-view="after"] .ba__pane--before { display: none; }
  .js .ba__pane { aspect-ratio: 3 / 4; }
}
@media (max-width: 37.49em) {
  .ba-toggle { flex: 1 1 100%; }
  .ba-toggle__btn { flex: 1 1 50%; }
  .ba-step { flex: 1 1 100%; justify-content: space-between; margin-left: 0; }
}
@media (min-width: 37.5em) {
  .ba-toggle { display: none; }
}

@media (min-width: 60em) {
  .results__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .results__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .js .ba-step { display: none; }
  .js .ba-controls { display: none; }
}

/* ---------- About ---------- */

.about { background: var(--ivory); }

.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }

.about__media {
  position: relative;
  max-width: 30rem;
}
.about__media img { width: 100%; aspect-ratio: 1041 / 1559; object-fit: cover; }
.about__media::after {
  content: "";
  position: absolute;
  left: -1rem; right: 2.5rem; bottom: -1rem;
  height: 1px;
  background: var(--gold);
}

.about__text {
  max-width: 36rem;
  font-size: var(--step-1);
  line-height: 1.7;
}
.about__text + .about__text { margin-top: 1.25rem; }
.about__text:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: 0.85;
  padding: 0.06em 0.12em 0 0;
  color: var(--ink);
}
.about__copy .link-arrow { margin-top: 2rem; }

@media (min-width: 48em) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 7vw, 7rem); }
}

/* ---------- Booking ---------- */

.book { background: var(--paper); }

.book__head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.book__head .section-title { margin-bottom: 0; }
.book__intro { max-width: 40rem; color: var(--muted); }
.book__intro p + p { margin-top: 0.85rem; }
.book__intro a, .times__more a, .policy a { color: var(--ink); font-weight: 500; }

@media (min-width: 60em) {
  .book__head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; column-gap: 5rem; }
}

.notice {
  margin-bottom: 2rem;
  padding: 1.1rem 1.25rem;
  border-left: 2px solid var(--gold-deep);
  background: var(--ivory);
  font-size: 0.9375rem;
}
.notice__title { font-weight: 600; margin-bottom: 0.25rem; }
.notice a { font-weight: 500; }

.booking {
  border: 1px solid var(--line);
  background: var(--white);
}

.booking__progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  counter-reset: none;
}
.booking__progress li {
  padding: 1rem clamp(0.5rem, 2vw, 1.25rem);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 2px solid transparent;
  margin-top: -1px;
}
.booking__progress li + li { border-left: 1px solid var(--line); }
.booking__progress li[aria-current="step"] { color: var(--ink); border-top-color: var(--ink); }
.booking__progress li.is-done { color: var(--ink); }
.booking__progress-num { display: block; color: var(--gold-deep); margin-bottom: 0.15rem; }

@media (max-width: 37.49em) {
  .booking__progress li:not([aria-current="step"]) .booking__progress-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}

.booking__body { display: grid; }

.booking__steps { padding: clamp(1.25rem, 4vw, 2.5rem); min-width: 0; }

.booking__aside {
  order: -1;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.9375rem;
}
.booking__aside-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.booking__aside-empty { color: var(--muted); }
.selection__services { list-style: none; padding: 0; }
.selection__service { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3; }
.selection__meta { color: var(--muted); }
.selection__when { margin-top: 0.35rem; }

@media (min-width: 60em) {
  .booking__body { grid-template-columns: minmax(0, 1fr) 18rem; }
  .booking__aside {
    order: 0;
    padding: 2.5rem 2rem;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .booking__aside > div { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.booking__step { border: 0; padding: 0; margin: 0; min-width: 0; }

.booking__legend { padding: 0; margin-bottom: 1.5rem; float: left; width: 100%; }
.booking__legend + * { clear: both; }
.booking__step-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.15;
}
.booking__step-title:focus { outline: none; }
.booking__step-title:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.booking__help { color: var(--muted); margin-bottom: 1.5rem; }

.booking__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.booking__nav--start { justify-content: flex-start; }
.booking__nav .btn { flex: 1 1 9rem; }
@media (min-width: 37.5em) { .booking__nav .btn { flex: 0 0 auto; } }

.booking__fineprint { margin-top: 0.85rem; font-size: var(--step--1); color: var(--muted); text-align: right; }

.booking__result p + p { margin-top: 0.85rem; }
.booking__result .booking__step-title { margin-bottom: 1rem; }

/* Service options */
.svc-options__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.svc-options__group + .svc-options__group { margin-top: 1.75rem; }
.svc-options__legend {
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.option {
  position: relative;
  display: block;
}
.option input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.option__label {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  margin-top: -1px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.option__label::before {
  content: "";
  width: 1.1rem; height: 1.1rem;
  border: 1px solid var(--control);
  border-radius: 2px;
  box-shadow: inset 0 0 0 4px var(--white);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.option__name { line-height: 1.35; }
.option__note { grid-column: 2 / -1; margin-top: -0.4rem; font-size: var(--step--1); color: var(--gold-deep); }
.option__meta { font-size: var(--step--1); color: var(--muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.option__meta b { color: var(--ink); font-weight: 500; }
.option input:hover:not(:disabled) + .option__label { background: var(--paper); }
.option input:checked + .option__label {
  position: relative;
  z-index: 1;
  border-color: var(--ink);
  background: var(--ivory);
}
.option input:checked + .option__label::before {
  border-color: var(--ink);
  box-shadow: none;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23f6f1e8' stroke-width='2'/%3E%3C/svg%3E") center / 85% no-repeat;
}
.option input:disabled + .option__label { cursor: not-allowed; color: var(--muted); }
.option input:disabled + .option__label::before { border-color: var(--line); }
.option input:disabled + .option__label .option__meta b { color: var(--muted); }
.option input:focus-visible + .option__label { outline: 2px solid var(--ink); outline-offset: 2px; z-index: 2; position: relative; }

@media (max-width: 23em) {
  .option__label { grid-template-columns: 1.1rem minmax(0, 1fr); }
  .option__meta { grid-column: 2; text-align: left; }
}

/* Calendar + times */
.schedule { display: grid; gap: 2rem; }
@media (min-width: 64em) {
  .schedule { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; }
}

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.cal__month { font-family: var(--font-display); font-size: 1.25rem; }

.cal__grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.cal__grid th {
  padding-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cal__grid td { padding: 1px; text-align: center; }

.cal__day {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  min-height: 2.5rem;
  max-height: 3.25rem;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.cal__day:hover:not([aria-disabled="true"]) { border-color: var(--ink); }
.cal__day[aria-disabled="true"] { color: var(--control); cursor: not-allowed; text-decoration: line-through; text-decoration-color: var(--line); }
.cal__day.is-today { box-shadow: inset 0 -2px 0 var(--gold-deep); }
.cal__day[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.times__set { border: 0; padding: 0; margin: 0; min-width: 0; }
.times__legend {
  padding: 0;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.times__hint { color: var(--muted); font-size: 0.9375rem; }

.times__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}
@media (min-width: 30em) { .times__options { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 64em) { .times__options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.time-option { position: relative; }
.time-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.time-option span {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.time-option input:hover + span { border-color: var(--ink); }
.time-option input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.time-option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.times__more { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); }

/* Fields */
.field + .field { margin-top: 1.25rem; }
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--control);
  border-radius: 0;
  background: var(--white);
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 3px 0 0 var(--error); }
.field-hint { margin-top: 0.35rem; font-size: var(--step--1); color: var(--muted); }

.field-error {
  margin-top: 0.4rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--error);
}
.field-error::before { content: "! "; font-weight: 700; }

.field--check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  margin-top: 1.75rem;
  align-items: start;
}
.field--check input {
  width: 1.375rem; height: 1.375rem;
  margin: 0.15rem 0 0;
  accent-color: var(--ink);
}
.field--check label { margin: 0; font-weight: 400; font-size: 0.9375rem; line-height: 1.55; }
.field--check label a { font-weight: 500; }
.field--check .field-error { grid-column: 2; }

/* Review */
.summary { border-top: 1px solid var(--line); }
.summary > div,
.deposit__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.summary dt, .deposit__rows dt { color: var(--muted); }
.summary dd, .deposit__rows dd { text-align: right; font-weight: 500; }

.deposit {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--ivory);
}
.deposit__rows > div:last-child { border-bottom: 0; }
.deposit__rows .is-total dt { color: var(--ink); }
.deposit__rows .is-total dd { font-size: 1.2rem; font-weight: 600; }
.deposit__note { margin-top: 0.85rem; font-size: 0.9375rem; color: var(--muted); }
.svc-options__status { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.deposit__flag { margin-top: 0.85rem; font-size: 0.9375rem; padding-left: 0.85rem; border-left: 2px solid var(--gold-deep); }

/* ---------- Policies ---------- */

.policies { background: var(--ivory); }

.policies__grid { display: grid; gap: 3rem; }

.policy {
  display: grid;
  gap: 0.35rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.policy:last-child { border-bottom: 1px solid var(--line); }
.policy dt {
  font-family: var(--font-display);
  font-size: var(--step-1);
}
.policy dd { color: var(--muted); max-width: 40rem; }
.policy dd strong { color: var(--ink); }

@media (min-width: 40em) {
  .policy { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 2rem; }
}

.prep {
  align-self: start;
  padding: clamp(1.75rem, 5vw, 3rem);
  background: var(--ink);
  color: var(--ivory);
}
.prep__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.prep__list { counter-reset: prep; }
.prep__list li {
  counter-increment: prep;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  padding-block: 1rem;
  border-top: 1px solid var(--line-dark);
  color: #e9e2d6;
}
.prep__list li::before {
  content: counter(prep, decimal-leading-zero);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding-top: 0.3rem;
}
.prep__item-title {
  display: block;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.25rem;
}

@media (min-width: 60em) {
  .policies__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4.5fr); column-gap: clamp(3rem, 6vw, 6rem); }
  .prep { margin-top: 7.5rem; }
}

/* ---------- Visit ---------- */

.visit { background: var(--paper); }

.visit__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 4.5vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  max-width: 14ch;
}

.visit__grid { display: grid; border-top: 1px solid var(--ink); }

.visit__col { padding-block: 1.75rem; }
.visit__col + .visit__col { border-top: 1px solid var(--line); }

.visit__label {
  margin-bottom: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.visit__big {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: normal;
  line-height: 1.3;
}
.visit__col .link-arrow { margin-top: 0.75rem; }
.visit__small { margin-top: 0.75rem; max-width: 30ch; font-size: 0.9375rem; color: var(--muted); }

.visit__contact li + li { margin-top: 0.15rem; }
.visit__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  overflow-wrap: anywhere;
}
.visit__phone { font-family: var(--font-display); font-size: var(--step-2); text-decoration: none; }
.visit__email { font-size: 0.9375rem; }

@media (min-width: 48em) {
  .visit__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .visit__col { padding: 2rem 2rem 0 0; }
  .visit__col + .visit__col { border-top: 0; border-left: 1px solid var(--line); padding-left: 2rem; }
}

.visit__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.visit__social .visit__label { margin: 0; }
.social { display: flex; flex-wrap: wrap; gap: 0 1.75rem; }
.social a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 0.55rem) / 100% 1px no-repeat;
}
.social a:hover { color: var(--gold-deep); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding-block: 3.5rem 2rem;
}
.site-footer__inner {
  display: grid;
  gap: 2rem;
  align-items: end;
}
.wordmark--footer .wordmark__caps { font-size: 1rem; }
.wordmark--footer .wordmark__script { font-size: 2.5rem; color: var(--gold); }
.site-footer__tag {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.site-footer .btn { justify-self: start; }
.site-footer__meta {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--step--1);
  color: var(--muted-dark);
}

@media (min-width: 48em) {
  .site-footer__inner { grid-template-columns: 1fr auto; }
  .site-footer .btn { justify-self: end; }
  .site-footer__meta { grid-column: 1 / -1; }
}

/* ---------- Scroll reveal ----------
   Only active once JS adds .reveal-ready, so content is never hidden
   if scripts fail or motion is reduced. */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-ready [data-reveal="image"] {
  transform: none;
  clip-path: inset(6% -2rem -2rem -2rem);
  transition: opacity 1.1s var(--ease), clip-path 1.2s var(--ease);
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(-2rem -2rem -2rem -2rem);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* Windows high contrast: keep selected states distinguishable. */
@media (forced-colors: active) {
  .option input:checked + .option__label,
  .time-option input:checked + span,
  .cal__day[aria-pressed="true"],
  .ba-toggle__btn[aria-pressed="true"] { outline: 3px solid Highlight; }
  .option__label::before { forced-color-adjust: none; }
}

@media print {
  .site-header, .booking, .notice, .ba-controls { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
