/* Maison Aarya · Concept project. Warm cream, terracotta, olive-brown ink.
   Mobile-first. Tokens on :root. No frameworks, no third-party requests. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  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: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  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: "Figtree";
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  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;
}

:root {
  /* Colour */
  --cream: #F5EDE0;
  --paper: #FBF6EE;
  --sand: #EBDFCB;
  --tile: #F1E3CB;
  --ink: #2E2919;
  --ink-2: #5E5440;
  --ink-3: #6B6250;
  --berry: #8A2F52;
  --berry-deep: #6C2140;
  --berry-hi: #C07A92;
  --olive: #55622F;
  --olive-deep: #3F4A26;
  --gold: #C9A96B;
  --gold-light: #E9D3A4;
  --line: rgb(122 106 74 / 0.3);
  --line-strong: #7A6A4A;
  --focus: #8A2F52;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-h1: clamp(2.9rem, 1.2rem + 7.8vw, 6.9rem);
  --fs-h2: clamp(2.3rem, 1.4rem + 3.6vw, 4.25rem);

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1200px;
  --header-h: 68px;

  /* Shape */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --arch: 50% 50% 18px 18px / 36% 36% 18px 18px;

  /* Depth */
  --shadow-1: 0 1px 0 rgb(255 255 255 / 0.6) inset, 0 1px 2px rgb(46 41 25 / 0.08), 0 16px 32px -20px rgb(46 41 25 / 0.35);
  --shadow-2: 0 2px 6px rgb(46 41 25 / 0.1), 0 40px 70px -32px rgb(46 41 25 / 0.5);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-ui: 200ms;
  --dur-reveal: 800ms;

  /* Shared back pill, recoloured for this demo (see assets/back.css) */
  --pf-back-bg: rgb(46 41 25 / 0.92);
  --pf-back-fg: var(--paper);
  --pf-back-ring: rgb(201 169 107 / 0.5);
}

/* Set on the element itself by assets/back.css, so the override must target .pf-back */
.pf-back {
  --pf-back-bg: rgb(46 41 25 / 0.92);
  --pf-back-fg: #FBF6EE;
  --pf-back-ring: rgb(201 169 107 / 0.5);
}
.pf-back:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--cream);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
main { display: block; }
main:focus { outline: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.035em; }
h1 em { font-style: italic; color: var(--berry); }
h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; }
h4 { font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); line-height: 1.2; letter-spacing: -0.01em; }
h5 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

.muted { color: var(--ink-2); }
.hint { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.5; }

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }

/* Skip link: centred so it never sits under the shared back pill */
.skip-link {
  position: fixed;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.skip-link:focus { top: 12px; outline-color: var(--berry); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--berry);
  color: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.chip--dark { background: var(--gold-light); color: var(--ink); }

.demo-tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: var(--ink-2);
  white-space: nowrap;
}

.optional { font-weight: 400; color: var(--ink-2); }
.req { font-weight: 400; color: var(--ink-2); font-size: var(--fs-xs); }

/* Buttons: 48px tall, pill, visible focus from :focus-visible */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.1 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--berry); color: var(--paper); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--berry-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.4); }
.btn-quiet { background: transparent; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Grain: a tiny inline noise tile, purely decorative, not a network request */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgb(245 237 224 / 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: var(--header-h);
  /* Left clearance for the fixed "Portfolio" pill (12px inset, ends at 124px) */
  padding-left: 136px;
  padding-right: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle-bars {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  transform: translate(-50%, -50%);
  background: var(--ink);
  transition: background-color var(--dur-ui) var(--ease);
}
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-ui) var(--ease), top var(--dur-ui) var(--ease);
}
.menu-toggle-bars::before { top: -5px; }
.menu-toggle-bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Mobile: a disclosure panel under the header. Without JS it stays visible. */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  gap: var(--s-4);
  padding: var(--s-4) var(--gutter) var(--s-5);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.js .site-nav:not(.is-open) { display: none; }
.nav-links { list-style: none; display: grid; }
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-cta { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: var(--s-7);
  align-items: center;
  max-width: 1280px;
  margin-inline: auto;
  padding: var(--s-6) var(--gutter) var(--s-7);
}
.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
}
.hero h1 { margin-top: var(--s-4); max-width: 11ch; }
.lede {
  margin-top: var(--s-5);
  max-width: 36ch;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.facts {
  list-style: none;
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.facts strong { color: var(--ink); font-weight: 600; margin-right: 0.35rem; }

.hero-art {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  justify-self: center;
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: #C98E66;
}
.hero-art > svg {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
}
.hero-chip {
  position: absolute;
  z-index: 4;
  left: 12px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  max-width: calc(100% - 24px);
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border-radius: 20px;
  background: rgb(251 246 238 / 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
  font-size: var(--fs-xs);
  line-height: 1.35;
}
.hero-chip svg { width: 28px; height: 28px; flex: none; color: var(--berry); }
.hero-chip strong { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.hero-chip span span { color: var(--ink-2); }

/* Parallax-light: scroll-driven, only where supported and motion is allowed */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-art .layer-far { animation: drift-far linear both; animation-timeline: view(); }
    .hero-art .layer-near { animation: drift-near linear both; animation-timeline: view(); }
  }
}
@keyframes drift-far {
  from { transform: translate3d(0, -10px, 0); }
  to { transform: translate3d(0, 10px, 0); }
}
@keyframes drift-near {
  from { transform: translate3d(0, 10px, 0); }
  to { transform: translate3d(0, -10px, 0); }
}

.band { border-block: 1px solid var(--line); }
.band-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2) var(--s-5);
  padding: var(--s-4) var(--gutter);
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.band-list li + li::before { content: "·"; margin-right: var(--s-5); color: var(--gold); }

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--s-8) var(--gutter);
}
.section-head {
  display: grid;
  gap: var(--s-4);
  max-width: 46rem;
  margin-bottom: var(--s-7);
}
.section-head > p:not(.eyebrow):not(.honest-note) { max-width: 52ch; }

/* ---------- Services menu ---------- */
.menu { display: grid; gap: var(--s-5); }
.menu-group {
  padding: var(--s-5) clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgb(201 169 107 / 0.3);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.menu-group > h3 {
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item:last-child { border-bottom: 0; }
.item-name { font-size: 1.1875rem; }
.item-desc {
  margin-top: var(--s-1);
  max-width: 40ch;
  font-size: var(--fs-small);
  color: var(--ink-2);
  line-height: 1.5;
}
.item-meta {
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  flex: none;
  text-align: right;
  white-space: nowrap;
}
.price {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.dur { font-size: var(--fs-xs); color: var(--ink-2); }

/* ---------- Booking request ---------- */
.book .section-head { margin-bottom: var(--s-6); }
.honest-note {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--tile);
  color: var(--ink);
  font-size: var(--fs-small);
  line-height: 1.5;
  max-width: 52ch;
}
.honest-note strong { font-weight: 600; }

.booking {
  max-width: 880px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid rgb(201 169 107 / 0.35);
  box-shadow: var(--shadow-1);
}

.stepper-nav { padding: var(--s-5) var(--s-5) 0; }
.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
  list-style: none;
  font-size: var(--fs-xs);
  color: var(--ink-2);
}
.stepper li {
  display: grid;
  justify-items: start;
  gap: var(--s-2);
  min-width: 0;
  line-height: 1.25;
}
.step-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease);
}
.stepper { counter-reset: st; }
.stepper li { counter-increment: st; }
.step-dot::before { content: counter(st); }
.stepper li.is-done .step-dot {
  background: var(--olive);
  border-color: var(--olive);
  color: transparent;
}
.stepper li.is-done .step-dot::before { content: ""; }
.stepper li.is-done .step-dot::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: translate(0, -1px) rotate(-45deg);
}
.stepper li.is-current .step-dot {
  background: var(--berry);
  border-color: var(--berry);
  color: var(--paper);
}
.stepper li.is-current .step-label,
.stepper li.is-done .step-label { color: var(--ink); }
.stepper li.is-current .step-label { font-weight: 600; }
.progress {
  height: 3px;
  margin-top: var(--s-4);
  border-radius: 3px;
  background: var(--sand);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--berry);
  transform-origin: left center;
  transform: scaleX(var(--p, 0.25));
  transition: transform var(--dur-reveal) var(--ease);
}
.progress-text {
  margin-top: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--ink-2);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.booking-form { display: block; }
.step { padding: var(--s-5) var(--s-5) var(--s-6); }
.step > h3 { margin-bottom: var(--s-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.step > .hint { margin-bottom: var(--s-5); }
.step-error-static { padding: var(--s-5); color: var(--ink-2); }

.step-error {
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: rgb(138 47 82 / 0.1);
  color: var(--berry-deep);
  font-weight: 600;
  font-size: var(--fs-small);
}

.field-set { margin-bottom: var(--s-6); }
.field-set legend {
  padding: 0;
  margin-bottom: var(--s-1);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}
.field-set > .hint { margin-bottom: var(--s-4); }

/* Checkbox and radio cards, wrapping a visually hidden native input */
.option-grid { display: grid; gap: var(--s-3); }
.card-opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  min-height: 56px;
  padding: var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper);
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.card-opt:hover { border-color: var(--ink-2); }
.card-opt:has(input:checked) {
  background: var(--tile);
  border-color: var(--berry);
  box-shadow: inset 0 0 0 1px var(--berry);
}
.card-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-opt:has(input:disabled) { cursor: not-allowed; }
.card-opt input,
.day-strip input,
.time-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.opt-body { display: grid; gap: 0.2rem; flex: 1; min-width: 0; }
.opt-name { font-weight: 600; line-height: 1.3; }
.opt-desc { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.45; }
.opt-meta {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.opt-meta span { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--ink-2); }
.opt-tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  transition: background-color var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease);
}
.opt-tick svg { width: 14px; height: 14px; opacity: 0; color: var(--paper); transition: opacity var(--dur-ui) var(--ease); }
.card-opt:has(input:checked) .opt-tick { background: var(--berry); border-color: var(--berry); }
.card-opt:has(input:checked) .opt-tick svg { opacity: 1; }
.radio-tick { border-radius: 50%; }
.radio-tick::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  opacity: 0;
}
.card-opt:has(input:checked) .radio-tick::after { opacity: 1; }
.card-opt:has(input:checked) .radio-tick { background: var(--berry); }

.stylist-body { display: grid; gap: 0.1rem; min-width: 0; }
.stylist-role { font-size: var(--fs-xs); color: var(--ink-2); }
.mini-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 52px;
  border-radius: var(--arch);
  background: linear-gradient(160deg, var(--a1, #B5623F), var(--a2, #6B3320));
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Day strip: horizontally scrollable radio group, closed Mondays */
.day-strip {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  margin-inline: calc(var(--s-5) * -1);
  padding: var(--s-1) var(--s-5) var(--s-3);
  scroll-padding-inline: var(--s-5);
}
.day {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.day label {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.1rem;
  width: 74px;
  min-height: 88px;
  padding: var(--s-2) var(--s-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper);
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: background-color var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease);
}
.day .d-dow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.day .d-num { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.05; font-variant-numeric: lining-nums; }
.day .d-mon { font-size: var(--fs-xs); color: var(--ink-2); }
.day .d-state { margin-top: 0.15rem; font-size: 0.75rem; font-weight: 600; color: var(--ink-2); }
.day input:checked + label { background: var(--berry); border-color: var(--berry); color: var(--paper); }
.day input:checked + label .d-dow,
.day input:checked + label .d-mon,
.day input:checked + label .d-state { color: var(--paper); }
.day input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }
.day input:disabled + label {
  border-style: dashed;
  background: transparent;
  cursor: not-allowed;
}
.day input:disabled + label .d-num { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }

/* Time grid: some slots disabled, with the reason as visible text */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: var(--s-2);
}
.slot { position: relative; }
.slot label {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.1rem;
  min-height: 52px;
  padding: var(--s-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  cursor: pointer;
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 600;
  transition: background-color var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease);
}
.slot .t-state { font-size: 0.75rem; font-weight: 400; color: var(--ink-2); line-height: 1.2; }
.slot input:checked + label { background: var(--berry); border-color: var(--berry); color: var(--paper); }
.slot input:checked + label .t-state { color: var(--paper); }
.slot input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }
.slot input:disabled + label {
  background: var(--sand);
  border-style: dashed;
  border-color: var(--ink-3);
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  cursor: not-allowed;
}
.slot input:disabled + label .t-state { text-decoration: none; color: var(--ink-2); }
#time-fieldset:disabled .hint { color: var(--ink-2); }

/* Fields */
.field { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.field label { font-weight: 600; }
.field input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--ink);
  font: 1rem/1.3 var(--font-body);
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: var(--ink-3); opacity: 1; }
.field input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field input[aria-invalid="true"] {
  border-color: var(--berry);
  box-shadow: inset 0 0 0 1px var(--berry);
}
.field-error { font-weight: 600; font-size: var(--fs-small); color: var(--berry-deep); }

/* Summary card and preview */
.summary {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream);
}
.summary-title { font-size: 1.5rem; }
.summary-label { margin-bottom: var(--s-2); }
.summary-services { list-style: none; display: grid; gap: var(--s-2); }
.summary-services li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px dashed var(--line);
  font-size: var(--fs-small);
}
.summary-services li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary-grid {
  display: grid;
  gap: var(--s-3);
  margin: 0;
}
.summary-grid > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.summary-grid dt { color: var(--ink-2); font-size: var(--fs-small); }
.summary-grid dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.summary-grid #sum-total { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; }

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.copy-status { margin-top: var(--s-3); min-height: 1.5em; font-size: var(--fs-small); font-weight: 600; color: var(--olive-deep); }
#wa-link[hidden] { display: none !important; }

/* Sticky footer keeps the total and Back/Next within thumb reach */
.booking-footer {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5) calc(var(--s-3) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: rgb(251 246 238 / 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.running { display: grid; line-height: 1.2; min-width: 0; }
.running-total {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.running-meta { font-size: var(--fs-xs); color: var(--ink-2); }
.footer-buttons { display: flex; gap: var(--s-2); margin-left: auto; }
.footer-buttons .btn { min-width: 112px; }

/* ---------- Craft ---------- */
.craft {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
.craft-art {
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  justify-self: center;
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.craft-art svg { width: 100%; height: 100%; }
.craft-copy { display: grid; gap: var(--s-4); }
.craft-copy h2 { margin-bottom: var(--s-3); max-width: 16ch; }
.pillars { list-style: none; display: grid; gap: var(--s-6); margin-top: var(--s-4); }
.pillars li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--berry);
  padding-top: 0.4rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.pillars h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin-bottom: var(--s-2); }
.pillars p { color: var(--ink-2); max-width: 42ch; }

/* ---------- Team ---------- */
.team { list-style: none; display: grid; gap: var(--s-4); }
.person {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4);
  border: 1px solid rgb(201 169 107 / 0.3);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.person-body { display: grid; gap: var(--s-2); min-width: 0; }
.person-body h3 { font-size: 1.5rem; }
.role { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; color: var(--olive-deep); }
.person-body p.muted { font-size: var(--fs-small); line-height: 1.5; }
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(170deg, var(--a1), var(--a2));
}
/* Abstract head-and-shoulders silhouette, drawn in CSS */
.avatar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28%;
  width: 46%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgb(251 246 238 / 0.16);
  z-index: 0;
}
.avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20%;
  width: 96%;
  height: 52%;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: rgb(251 246 238 / 0.16);
  z-index: 0;
}
.avatar-initials {
  position: relative;
  z-index: 1;
  margin-top: 10%;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--paper);
  text-shadow: 0 1px 12px rgb(46 41 25 / 0.25);
}
.avatar--1 { --a1: #B5623F; --a2: #6B3320; }
.avatar--2 { --a1: #7E8D57; --a2: #3A4524; }
.avatar--3 { --a1: #B98A5C; --a2: #6E4A2A; }
.avatar--4 { --a1: #A8705F; --a2: #5A3026; }

/* ---------- Gallery strip ---------- */
.strip {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  padding: var(--s-2) var(--gutter) var(--s-5);
  max-width: var(--max);
  margin-inline: auto;
  border-radius: var(--r-md);
}
.tile {
  flex: 0 0 min(70vw, 280px);
  scroll-snap-align: start;
  display: grid;
  gap: var(--s-3);
}
.tile-art {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.tile figcaption { font-size: var(--fs-small); color: var(--ink-2); }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: var(--s-4); }
.review {
  display: grid;
  gap: var(--s-4);
  align-content: start;
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--tile);
}
.review blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: var(--fs-small); color: var(--ink-2); }
.stars { color: var(--berry); letter-spacing: 0.15em; font-size: 0.9375rem; }

/* ---------- Visit ---------- */
.visit { display: grid; gap: var(--s-6); }
.visit-info { display: grid; gap: var(--s-4); align-content: start; }
.visit-info h2 { margin-bottom: var(--s-1); }
.address { font-style: normal; font-family: var(--font-display); font-size: 1.375rem; line-height: 1.4; }
.sub-title { margin-top: var(--s-4); font-size: 1.375rem; }
.hours { display: grid; margin: 0; }
.hours > div {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
}
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }
.contact-list { list-style: none; display: grid; gap: var(--s-2); }
.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  font-size: var(--fs-small);
}
.contact-list li span:first-child { min-width: 5.5rem; color: var(--ink-2); }
.map { display: grid; gap: var(--s-2); }
.map svg {
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 340;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line);
}
.map figcaption { font-size: var(--fs-xs); color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-8) var(--gutter) calc(var(--s-7) + env(safe-area-inset-bottom));
}
.footer-inner { max-width: var(--max); margin-inline: auto; display: grid; gap: var(--s-4); }
.footer-brand { font-family: var(--font-display); font-size: 2rem; letter-spacing: -0.02em; }
.footer-note { max-width: 56ch; color: #C9BBA0; font-size: var(--fs-small); }
.site-footer a { color: var(--gold-light); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer .demo-tag { color: var(--cream); border-color: #C9BBA0; }

/* ---------- Layout breakpoints ---------- */
@media (min-width: 640px) {
  .option-grid,
  .option-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person { grid-template-columns: 1fr; }
  .person .avatar { aspect-ratio: 5 / 4; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stepper-nav { padding-inline: var(--s-6); }
  .step { padding-inline: var(--s-6); }
  .booking-footer { padding-inline: var(--s-6); }
}

@media (min-width: 900px) {
  :root {
    --header-h: 76px;
  }
  .header-inner { padding-left: 156px; }
  .brand { font-size: 1.1875rem; }
  .menu-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex !important;
    align-items: center;
    gap: var(--s-6);
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-links { display: flex; gap: var(--s-5); }
  .nav-links a {
    min-height: 44px;
    padding: 0 0.25rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border: 0;
    position: relative;
  }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0.25rem;
    right: 0.25rem;
    bottom: 8px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-ui) var(--ease);
  }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-cta { width: auto; min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.9375rem; }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--s-8);
    padding-top: var(--s-8);
    padding-bottom: var(--s-9);
  }
  .hero-art { width: 100%; max-width: 500px; justify-self: end; }
  .band-list { gap: var(--s-3) var(--s-7); }

  .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

  .booking .step { padding-inline: var(--s-7); }
  .stepper-nav { padding-inline: var(--s-7); }
  .booking-footer { padding-inline: var(--s-7); }

  .craft { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--s-9); }
  .craft-art { justify-self: start; width: 100%; max-width: 480px; }

  .team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .person { grid-template-columns: 1fr; }
  .team .avatar { width: 100%; }

  .visit { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: var(--s-8); }
  .section { padding-block: var(--s-9); }
}

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .hero-art .layer-far,
  .hero-art .layer-near { animation: none !important; transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .progress span { transition: none; }
}

/* Phone ergonomics */
.day-strip { overscroll-behavior-x: contain; } /* an edge swipe in the strip must not trigger the browser's back gesture */
.step input, .step textarea, .step select { scroll-margin-block: 90px 120px; } /* focus-scroll clears the header and the sticky total bar */

/* Phone held sideways: the page is short, so let the header scroll away instead of taking a fifth of the screen. */
@media (orientation: landscape) and (max-height: 500px) {
  .site-header { position: static; }
}
