/* ==========================================================
   Maison Lina — barber & beauty house, La Marsa
   Espresso / dusty rose / brass on warm cream. Prata (OFL) + system sans.
   ========================================================== */
@font-face {
  font-family: "Prata";
  src: url("../fonts/prata-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --espresso: #231a17;
  --espresso-2: #2f2420;
  --espresso-3: #3d302a;
  --cream: #f6efe7;
  --cream-2: #efe4d8;
  --paper: #fffaf5;
  --blush: #ecd3cb;
  --blush-2: #f5e3dd;
  --rose: #b9776d;
  --rose-ink: #8f4c43;      /* rose for text on cream (AA) */
  --brass: #c9a46a;
  --brass-ink: #765a2c;     /* brass for text on cream (AA) */
  --ink: #2a211d;
  --muted: #6b5d55;
  --line: #e2d4c6;
  --danger: #a3281f;
  --ok: #2e6b4a;
  --radius: 18px;
  --shadow: 0 24px 50px -28px rgba(35, 26, 23, .45);
  --display: "Prata", "Didot", "Bodoni 72", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink); background: var(--cream); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--espresso); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* back to projects */
.back-link {
  position: fixed; left: 14px; bottom: 14px; z-index: 90;
  background: rgba(35, 26, 23, .9); color: var(--cream); text-decoration: none;
  font: 600 .8rem/1 var(--sans); padding: 10px 14px; border-radius: 999px;
  backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,.22);
  border: 1px solid rgba(201,164,106,.5);
}
.back-link:hover { background: var(--espresso); color: var(--blush); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-dark:hover:not(:disabled) { background: var(--rose-ink); }
.btn-line { border-color: currentColor; background: transparent; color: var(--espresso); }
.btn-line:hover:not(:disabled) { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .85rem; }
.btn-xs { min-height: 36px; padding: 0 14px; font-size: .8rem; }
.btn-block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }

/* Arch masks */
.arch { border-radius: 999px 999px 22px 22px; overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80; height: var(--header-h);
  background: rgba(246, 239, 231, .86); backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(35,26,23,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: end center; width: 40px; height: 46px; padding-bottom: 7px;
  border: 1.5px solid var(--brass); border-radius: 999px 999px 6px 6px;
  font: 400 1rem/1 var(--display); letter-spacing: .06em; color: var(--espresso); background: var(--blush-2);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 400 1.55rem/1 var(--display); letter-spacing: .02em; }
.brand-text small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav ul { display: flex; gap: 24px; }
.main-nav ul a { text-decoration: none; font-size: .92rem; font-weight: 500; padding: 6px 0; position: relative; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--rose); transition: right .25s; }
.main-nav ul a:hover::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--espresso); background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 1.6px; background: var(--espresso); transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 90%; background: radial-gradient(closest-side, var(--blush-2), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; min-height: min(760px, calc(100vh - var(--header-h) - 60px)); padding-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 22px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(185,119,109,.2); }
.status-dot.open { background: #3f8a5c; box-shadow: 0 0 0 4px rgba(63,138,92,.2); }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: 1.02; margin-bottom: 26px; }
.hero h1 em { color: var(--rose-ink); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 33em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt { font: 400 2.1rem/1 var(--display); color: var(--espresso); }
.hero-facts dt span { font-size: 1.1rem; color: var(--brass); margin-left: 3px; vertical-align: .5em; }
.hero-facts dd { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 470px); }
.hero-arch { aspect-ratio: 11 / 14; box-shadow: var(--shadow); outline: 1.5px solid var(--brass); outline-offset: 10px; }
.seal { position: absolute; top: 22px; left: -46px; width: 120px; height: 120px; }
.seal-bg { fill: var(--espresso); }
.seal-text { font: 600 9.6px/1 var(--sans); letter-spacing: 2.4px; fill: var(--blush); }
.seal-icon { fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; }
.next-card {
  position: absolute; left: -64px; bottom: 40px; width: 272px; padding: 18px 20px 16px;
  background: var(--paper); border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(35,26,23,.5); border: 1px solid var(--line);
}
.next-label { margin: 0 0 4px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-ink); }
.next-when { margin: 0; font: 400 1.4rem/1.2 var(--display); white-space: nowrap; color: var(--espresso); }
.next-who { margin: 2px 0 10px; font-size: .85rem; color: var(--muted); min-height: 1.3em; }
.next-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font-weight: 700; font-size: .86rem; color: var(--espresso); border-bottom: 1.5px solid var(--brass); }
.next-link:hover { color: var(--rose-ink); }

.ribbon { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; background: var(--espresso); color: var(--blush); padding: 16px 20px; font: 400 1.2rem/1.3 var(--display); letter-spacing: .06em; }
.ribbon li { display: flex; align-items: center; }
.ribbon li + li::before { content: "✦"; color: var(--brass); font-size: .7rem; margin: 0 18px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 14px; }
.kicker span { font: 400 1rem/1 var(--display); color: var(--rose-ink); letter-spacing: .04em; }
.kicker::after { content: ""; width: 48px; height: 1px; background: var(--brass); }
.section h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.section h2 em { color: var(--rose-ink); }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 40em; margin: 0; }
.on-dark .kicker { color: var(--brass); }
.on-dark .kicker span { color: var(--blush); }
.on-dark h2 { color: var(--cream); }
.on-dark .section-intro { color: #d8c8bd; }

/* ---------- Services ---------- */
.services-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs [role=tab] { border: 0; background: none; padding: 14px 16px; font-weight: 600; font-size: .98rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs [role=tab][aria-selected="true"] { color: var(--espresso); border-color: var(--rose); }
.tabs [role=tab]:hover { color: var(--espresso); }
.services-bar .btn { margin-bottom: 8px; }
.svc-panel:focus-visible { outline-offset: 6px; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.svc { display: flex; justify-content: space-between; gap: 18px; padding: 24px 0; border-bottom: 1px dashed var(--line); }
.svc h3 { font: 400 1.6rem/1.15 var(--display); margin-bottom: 6px; }
.svc-main p { margin: 0; color: var(--muted); font-size: .94rem; }
.svc-main .svc-who { margin-top: 6px; font-size: .8rem; color: var(--brass-ink); font-weight: 600; letter-spacing: .03em; }
.svc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; text-align: right; }
.svc-dur { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--muted); }
.svc-price { font: 400 1.6rem/1 var(--display); color: var(--espresso); }

.price-list { margin-top: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.pl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 1.5px solid var(--espresso); padding-bottom: 16px; margin-bottom: 22px; }
.pl-head h3 { font: 400 2.2rem/1 var(--display); margin: 0; }
.pl-brand { margin: 0 0 6px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); font-weight: 700; }
.pl-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.pl-col h4 { font: 700 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose-ink); margin-bottom: 12px; }
.pl-col li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: .92rem; }
.pl-col li i { flex: 1; border-bottom: 1px dotted #bda997; transform: translateY(-4px); min-width: 12px; }
.pl-col li small { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.pl-col li b { font-weight: 700; min-width: 2.2em; text-align: right; }
.pl-foot { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* ---------- Booking ---------- */
.booking { background: var(--espresso); color: var(--cream); position: relative; }
.booking::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 90% 0%, rgba(185,119,109,.22), transparent 70%); pointer-events: none; }
.booking .container { position: relative; }
.book-card { background: var(--cream); color: var(--ink); border-radius: 28px; padding: clamp(18px, 3.4vw, 36px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 28px; counter-reset: s; }
.stepper li { position: relative; }
.stepper button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--paper); font-weight: 600; font-size: .9rem; color: var(--muted); text-align: left;
}
.stepper button span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); font-size: .82rem; flex: none; }
.stepper button[aria-current="step"] { border-color: var(--espresso); color: var(--espresso); background: #fff; }
.stepper button[aria-current="step"] span { background: var(--espresso); color: var(--cream); }
.stepper li.done button { color: var(--espresso); }
.stepper li.done button span { background: var(--brass); color: var(--espresso); }
.stepper button:disabled { cursor: not-allowed; opacity: .6; }
.book-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.book-steps { min-width: 0; }
.step-title { display: block; font: 400 1.8rem/1.15 var(--display); margin: 0 0 16px; color: var(--espresso); }
.step-title:focus { outline: none; }
.step-hint { color: var(--muted); font-size: .92rem; margin: -6px 0 16px; }

.stylist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stylist-opt { position: relative; cursor: pointer; }
.stylist-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.st-card { display: flex; flex-direction: column; height: 100%; border: 1.5px solid var(--line); border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--paper); transition: border-color .2s, box-shadow .2s, transform .2s; }
.st-card img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 25%; width: 100%; }
.st-txt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.st-txt strong { font-size: .95rem; }
.st-txt small { color: var(--muted); font-size: .8rem; }
.st-txt em { font-style: normal; font-size: .76rem; font-weight: 600; color: var(--brass-ink); margin-top: 4px; }
.st-note { font-size: .74rem; color: var(--danger); margin-top: 4px; }
.stylist-opt:hover .st-card { border-color: var(--rose); }
.stylist-opt input:checked + .st-card { border-color: var(--espresso); box-shadow: 0 0 0 2px var(--espresso), 0 16px 30px -20px rgba(35,26,23,.6); }
.stylist-opt input:checked + .st-card::after { content: "✓"; position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--espresso); color: var(--cream); font-weight: 700; font-size: .85rem; }
.stylist-opt input:focus-visible + .st-card { outline: 3px solid var(--rose); outline-offset: 3px; }

.svc-picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.svc-pick { position: relative; cursor: pointer; }
.svc-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.svc-pick span { display: grid; grid-template-columns: 22px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); transition: border-color .2s, background .2s; }
.svc-pick span::before { content: ""; grid-row: 1 / 3; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #b6a393; background: #fff; }
.svc-pick strong { font-size: .95rem; }
.svc-pick small { grid-column: 2; color: var(--muted); font-size: .8rem; }
.svc-pick b { grid-row: 1 / 3; grid-column: 3; font: 400 1.35rem/1 var(--display); }
.svc-pick:hover span { border-color: var(--rose); }
.svc-pick input:checked + span { border-color: var(--espresso); background: #fff; }
.svc-pick input:checked + span::before { background: var(--espresso) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6efe7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--espresso); }
.svc-pick input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }

.date-strip-wrap { margin: 0 0 18px; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #c9b6a6 transparent; }
.day { flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 999px 999px 14px 14px; border: 1.5px solid var(--line); background: var(--paper); scroll-snap-align: start; }
.day small { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.day strong { font: 400 1.6rem/1.1 var(--display); }
.day em { font-style: normal; font-size: .72rem; color: var(--muted); }
.day:hover:not(:disabled) { border-color: var(--rose); }
.day[aria-checked="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.day[aria-checked="true"] small, .day[aria-checked="true"] em { color: var(--blush); }
.day:disabled { cursor: not-allowed; background: transparent; border-style: dashed; opacity: .6; }
.day:disabled em { color: var(--rose-ink); font-weight: 600; }
.slot-group { margin-bottom: 14px; }
.slot-group > p { margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.slot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { min-height: 42px; border-radius: 12px; border: 1.5px solid var(--espresso); background: #fff; font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; }
.slot.free:hover { background: var(--blush-2); }
.slot[aria-pressed="true"] { background: var(--espresso); color: var(--cream); }
.slot { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.1; padding: 4px 2px; }
.slot small { font-size: .62rem; font-weight: 600; letter-spacing: .02em; text-transform: lowercase; text-decoration: none; }
.slot.taken { border-color: transparent; background: repeating-linear-gradient(135deg, #e6d9cc 0 6px, #eee3d8 6px 12px); color: #7d6d62; cursor: not-allowed; }
.slot.taken .slot-t { text-decoration: line-through; }
/* "Not enough time": greyed, struck through and labelled so it never reads as an available slot */
.slot.short { border: 1.5px dashed #c3b1a2; background: #efe9e3; color: #857568; cursor: not-allowed; }
.slot.short .slot-t { text-decoration: line-through; opacity: .8; }
.no-slots { padding: 18px; border-radius: 14px; background: var(--blush-2); color: var(--rose-ink); font-weight: 600; margin: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .78rem; color: var(--muted); margin-top: 6px; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 18px; height: 12px; border-radius: 4px; }
.lg-free { border: 1.5px solid var(--espresso); background: #fff; }
.lg-taken { background: repeating-linear-gradient(135deg, #e6d9cc 0 3px, #eee3d8 3px 6px); }
.lg-short { border: 1.5px dashed #c3b1a2; background: #efe9e3; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 12px; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend, .custom-amount label { font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .custom-amount input {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #d6c5b5; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 86px; }
.field input:focus, .field textarea:focus, .custom-amount input:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(185,119,109,.3); }
.phone-wrap { display: flex; align-items: stretch; }
.phone-wrap span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid #d6c5b5; border-right: 0; border-radius: 12px 0 0 12px; background: var(--cream-2); font-weight: 600; font-size: .9rem; }
.phone-wrap input { border-radius: 0 12px 12px 0; }
.field-hint { margin: 5px 0 0; font-size: .78rem; color: var(--muted); }
.field-error { margin: 4px 0 0; font-size: .8rem; font-weight: 600; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.invalid input, .invalid textarea, [aria-invalid="true"] { border-color: var(--danger) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-top: 4px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--espresso); flex: none; }

.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.step-nav #nextStep { margin-left: auto; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--espresso-2); color: var(--cream); border-radius: 22px; padding: 24px; }
.summary h3 { font: 400 1.5rem/1.1 var(--display); color: var(--blush); margin-bottom: 14px; }
.summary dl { margin: 0; }
.summary dl div { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.summary dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #bfa996; font-weight: 700; }
.summary dd { margin: 3px 0 0; font-size: .92rem; }
.summary dd span { display: flex; justify-content: space-between; gap: 8px; }
.summary dd small { color: #d6c3b4; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 6px; }
.sum-total span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #bfa996; font-weight: 700; }
.sum-total strong { font: 400 2.1rem/1 var(--display); color: var(--brass); }
.sum-note { margin: 0; font-size: .8rem; color: #cbb8aa; }

.confirm { text-align: center; padding: 10px 0 6px; }
.confirm:focus { outline: none; }
.confirm-mark { width: 74px; height: 74px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 999px 999px 16px 16px; background: var(--espresso); color: var(--brass); }
.confirm-mark .ic { width: 34px; height: 34px; stroke-width: 2.4; }
.confirm h3 { font: 400 2.2rem/1.1 var(--display); color: var(--espresso); }
.cf-ref { color: var(--muted); }
.cf-ref strong { font-family: ui-monospace, Consolas, monospace; color: var(--espresso); background: var(--blush-2); padding: 3px 9px; border-radius: 8px; letter-spacing: .06em; }
.cf-lines { max-width: 460px; margin: 18px auto; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px; }
.cf-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cf-lines div:last-child { border: 0; }
.cf-lines dt { color: var(--muted); font-size: .86rem; }
.cf-lines dd { margin: 0; font-weight: 600; text-align: right; font-size: .92rem; }
.cf-stamp { font-weight: 600; color: var(--rose-ink); }
.cf-stamp a { color: inherit; }
.cf-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 14px 0 10px; }
.cf-note { font-size: .8rem; color: var(--muted); margin: 0; }

.my-appts { margin-top: 32px; }
.my-appts h3 { font: 400 1.7rem/1.1 var(--display); color: var(--blush); }
.my-appts ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.appt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--espresso-2); border: 1px solid rgba(255,255,255,.08); }
.appt-date { display: grid; place-items: center; width: 54px; height: 60px; flex: none; border-radius: 999px 999px 10px 10px; background: var(--blush); color: var(--espresso); line-height: 1; }
.appt-date strong { font: 400 1.5rem/1 var(--display); }
.appt-date small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.appt-txt { flex: 1; min-width: 0; }
.appt-txt p { margin: 0; font-size: .9rem; }
.appt-svcs { color: #d6c3b4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appt-ref { font-size: .76rem !important; color: #bfa996; font-family: ui-monospace, Consolas, monospace; }
.appt .btn-line { color: var(--cream); flex: none; }
.appt .btn-line:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.appt .btn-line.confirming { background: var(--rose); border-color: var(--rose); color: #fff; white-space: normal; max-width: 120px; line-height: 1.2; }
.my-appts .empty { color: #cbb8aa; margin: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.member { display: flex; flex-direction: column; }
.member-photo { aspect-ratio: 4 / 5; margin-bottom: 18px; background: var(--blush); }
.member h3 { font: 400 1.65rem/1.1 var(--display); margin-bottom: 2px; }
.member-role { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-ink); }
.member-bio { color: var(--muted); font-size: .93rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tags li { font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.member-days { display: flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; color: var(--brass-ink); margin-bottom: 14px; }
.member .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Studio band ---------- */
.studio { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.studio picture, .studio > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.studio img { object-fit: cover; }
.studio::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,26,23,.85) 0%, rgba(35,26,23,.35) 55%, rgba(35,26,23,.1)); }
.studio-copy { position: relative; z-index: 1; padding: 80px 0 64px; }
.studio h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 10em; margin-bottom: 12px; }
.studio h2 em { color: var(--blush); }
.studio p { max-width: 30em; font-size: 1.08rem; color: #f0e2d8; margin: 0; }

/* ---------- Gallery ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 26px; }
.chip { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: .88rem; }
.chip:hover { border-color: var(--rose); }
.chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--blush); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.gal-grid li:nth-child(3n+2) .gal-item { border-radius: 999px 999px var(--radius) var(--radius); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gal-item:hover img { transform: scale(1.04); }
.gal-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 9px 14px; border-radius: 12px; background: rgba(35,26,23,.78); color: var(--cream); font-size: .84rem; text-align: left; backdrop-filter: blur(4px); }

/* ---------- Loyalty ---------- */
.loyalty { background: var(--blush); position: relative; overflow: hidden; }
.loyalty::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 1.5px solid rgba(143,76,67,.25); }
.loyalty-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.loyalty-copy p { color: #5a4740; }
.loyalty .kicker, .loyalty .kicker span { color: var(--rose-ink); }
.loyalty-status { font-weight: 700; color: var(--espresso) !important; font-size: 1.02rem; }
.loyalty-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reward-code { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1.5px dashed var(--rose-ink); color: var(--espresso) !important; }
.stamp-card {
  position: relative; aspect-ratio: 1.6 / 1; max-width: 520px; width: 100%; justify-self: end; padding: clamp(18px, 4vw, 30px);
  border-radius: 26px; background: radial-gradient(120% 120% at 100% 0%, #3d2e28, var(--espresso) 60%); color: var(--cream);
  box-shadow: 0 40px 60px -30px rgba(35,26,23,.7); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-2deg);
}
.stamp-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201,164,106,.4); border-radius: 18px; pointer-events: none; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; }
.sc-brand { font: 400 clamp(1.4rem, 3.6vw, 2rem)/1 var(--display); color: var(--blush); }
.sc-sub { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 2vw, 16px); margin: 14px 0; }
.stamps li { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed rgba(201,164,106,.6); font-size: .78rem; font-weight: 700; color: rgba(246,239,231,.5); }
.stamps li.on { border: 0; background: var(--brass); color: var(--espresso); font: 400 clamp(1rem, 2.6vw, 1.35rem)/1 var(--display); box-shadow: inset 0 0 0 4px rgba(35,26,23,.2); transform: rotate(-8deg); }
.stamps li.last:not(.on) { border-style: solid; border-color: var(--blush); color: var(--blush); letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.stamps li.pop { animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(1.6) rotate(-20deg); opacity: 0; } 100% { transform: scale(1) rotate(-8deg); opacity: 1; } }
.sc-foot { display: flex; justify-content: space-between; margin: 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #cbb8aa; font-weight: 600; }
.stamp-card.full { box-shadow: 0 0 0 3px var(--brass), 0 40px 60px -30px rgba(35,26,23,.7); }

/* ---------- Gift cards ---------- */
.gift-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.gift-grid.done { grid-template-columns: minmax(0, 600px); justify-content: center; }
.gift-form { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3.4vw, 34px); }
.gift-form > .field { margin-bottom: 18px; }
.amounts, .designs { display: flex; flex-wrap: wrap; gap: 8px; }
.pill, .swatch { position: relative; cursor: pointer; }
.pill input, .swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.pill span { display: grid; place-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #d6c5b5; background: #fff; font-weight: 600; font-size: .92rem; }
.pill input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.pill input:focus-visible + span, .swatch input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }
.swatch span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; border: 1.5px solid #d6c5b5; background: #fff; font-weight: 600; font-size: .9rem; }
.swatch span::before { content: ""; width: 28px; height: 28px; border-radius: 50%; }
.sw-rose span::before { background: linear-gradient(135deg, #f1d6ce, #c98a80); }
.sw-espresso span::before { background: linear-gradient(135deg, #4a3830, #1c1512); }
.sw-brass span::before { background: linear-gradient(135deg, #e6cd9c, #a9844a); }
.swatch input:checked + span { border-color: var(--espresso); box-shadow: 0 0 0 1.5px var(--espresso); }
.custom-amount { margin-top: 12px; max-width: 260px; display: flex; flex-direction: column; }
.custom-amount.invalid input { border-color: var(--danger); }

.gift-side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.giftcard {
  position: relative; aspect-ratio: 1.6 / 1; border-radius: 22px; padding: clamp(18px, 3.4vw, 28px); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 30px 50px -28px rgba(35,26,23,.6); transition: background .3s, color .3s;
}
.giftcard::before { content: ""; position: absolute; right: -40px; bottom: -80px; width: 220px; height: 280px; border-radius: 999px 999px 0 0; border: 1.5px solid currentColor; opacity: .25; }
.giftcard::after { content: ""; position: absolute; right: 0; bottom: -60px; width: 140px; height: 200px; border-radius: 999px 999px 0 0; border: 1.5px solid currentColor; opacity: .18; }
.gc-rose { background: linear-gradient(135deg, #f4ddd6, #d8a79e); color: var(--espresso); }
.gc-espresso { background: linear-gradient(135deg, #3f2f29, #1b1411); color: var(--blush); }
.gc-brass { background: linear-gradient(135deg, #efdcb4, #b99258); color: #2c2015; }
.gc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gc-brand { font: 400 clamp(1.4rem, 3vw, 1.9rem)/1 var(--display); }
.gc-amount { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--display); }
.gc-to { margin: auto 0 4px; font-size: .95rem; position: relative; }
.gc-to strong { font-weight: 700; }
.gc-msg { margin: 0 0 12px; font: italic 400 1rem/1.4 Georgia, serif; opacity: .9; max-width: 22em; overflow-wrap: anywhere; position: relative; }
.gc-bottom { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; letter-spacing: .06em; position: relative; }
.gc-code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; }
.gift-success { background: var(--paper); border: 1.5px solid var(--espresso); border-radius: 20px; padding: 22px; }
.gift-success:focus { outline: none; box-shadow: 0 0 0 3px var(--rose); }
.gift-success h3 { font: 400 1.7rem/1.1 var(--display); }
.gift-success .cf-actions { justify-content: flex-start; margin-bottom: 0; }
.small { font-size: .84rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream-2); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--paper); border-radius: 22px; padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.review:nth-child(2) { border-radius: 999px 999px 22px 22px; padding-top: 64px; text-align: center; }
.stars { color: var(--brass); letter-spacing: 3px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; flex: 1; }
.review blockquote p { font: 400 1.35rem/1.35 var(--display); color: var(--espresso); margin: 0; }
.who { margin: 0; font-weight: 700; font-size: .9rem; }
.who span { font-weight: 400; color: var(--muted); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list .ic { color: var(--rose-ink); width: 22px; height: 22px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--rose-ink); }
.parking { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.hours-card { background: var(--espresso); color: var(--cream); border-radius: 999px 999px 26px 26px; padding: 80px clamp(24px, 4vw, 44px) 36px; }
.hours-card h3 { display: flex; align-items: center; justify-content: center; gap: 10px; font: 400 1.9rem/1.1 var(--display); color: var(--blush); margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--brass); font-weight: 700; }
.hours .tag { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; background: var(--brass); color: var(--espresso); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: #d8c8bd; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-footer .brand-mark { background: transparent; color: var(--blush); }
.brand-footer strong { color: var(--cream); }
.brand-footer small { color: #bfa996; }
.foot-about { margin-top: 16px; max-width: 26em; font-size: .92rem; }
.site-footer h3 { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.site-footer li { padding: 4px 0; font-size: .92rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blush); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; font-size: .82rem; color: #bfa996; }
.footer-base p { margin: 0; }
.footer-base a { text-decoration: underline; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(20,14,12,.94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: var(--cream); margin-top: 14px; font-size: .95rem; text-align: center; }
.lb-count { color: #bfa996; margin-left: 8px; font-variant-numeric: tabular-nums; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(246,239,231,.4); background: rgba(35,26,23,.6); color: var(--cream); font-size: 1.9rem; line-height: 1; }
.lb-close:hover, .lb-nav:hover { background: var(--rose); border-color: var(--rose); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140px); background: var(--espresso); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-size: .9rem; z-index: 140; transition: transform .35s, visibility .35s; visibility: hidden; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; border: 1px solid rgba(201,164,106,.5); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .next-card { left: -24px; }
  .seal { left: -20px; }
  .book-body { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
  .stylist-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
}
@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 20px 22px; box-shadow: 0 20px 30px -20px rgba(35,26,23,.35);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 13px 0; font: 400 1.5rem/1.1 var(--display); border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .nav-cta { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero-visual { justify-self: center; width: min(100%, 440px); margin-left: 40px; }
  .svc-list { grid-template-columns: 1fr; }
  .pl-cols { grid-template-columns: 1fr 1fr; }
  .book-body { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; padding: 18px 20px; }
  .summary dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .loyalty-grid, .gift-grid, .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .stamp-card { justify-self: center; }
  .gift-side { position: static; order: -1; width: 100%; max-width: 520px; justify-self: center; }
  .stylist-grid { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .review:nth-child(2) { border-radius: 22px; padding-top: 28px; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .container { width: calc(100% - 32px); }
  .brand-text strong { font-size: 1.35rem; }
  .brand-text small { font-size: .62rem; letter-spacing: .1em; }
  .brand-mark { width: 36px; height: 42px; font-size: .9rem; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 3.6rem); }
  .lead { font-size: 1.02rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 26px; }
  .hero-facts dt { font-size: 1.7rem; }
  .hero-facts dd { font-size: .76rem; }
  .hero-visual { margin-left: 0; width: 100%; padding: 0 12px; }
  .seal { width: 92px; height: 92px; left: -4px; top: 10px; }
  .next-card { left: -4px; bottom: 18px; width: 236px; padding: 14px 16px; }
  .next-when { font-size: 1.2rem; }
  .ribbon { font-size: 1.02rem; padding: 14px 12px; }
  .ribbon li + li::before { margin: 0 10px; }
  .section-head { margin-bottom: 32px; }
  .services-bar { flex-direction: column; align-items: stretch; gap: 0; }
  .services-bar .btn { align-self: flex-start; margin: 12px 0 8px; }
  .tabs [role=tab] { padding: 12px 10px; font-size: .92rem; }
  .svc { flex-direction: column; gap: 10px; padding: 20px 0; }
  .svc-meta { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .svc-meta .svc-price { margin-left: auto; }
  .pl-cols { grid-template-columns: 1fr; }
  .pl-head h3 { font-size: 1.8rem; }
  .book-card { border-radius: 22px; padding: 16px; }
  .stepper { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 20px; }
  .stepper button { flex-direction: column; gap: 4px; padding: 8px 2px; font-size: .7rem; text-align: center; border-radius: 12px; }
  .stepper button span { width: 26px; height: 26px; }
  .step-title { font-size: 1.5rem; }
  .stylist-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .st-txt { padding: 10px 10px 12px; }
  .st-txt strong { font-size: .86rem; }
  .st-txt small { font-size: .74rem; }
  .svc-picks { grid-template-columns: 1fr; }
  .slot-row { grid-template-columns: repeat(4, 1fr); }
  .slot { font-size: .84rem; }
  .form-grid { grid-template-columns: 1fr; }
  .summary dl { grid-template-columns: 1fr 1fr; }
  .summary dl div:nth-child(2) { grid-column: 1 / -1; order: 5; }
  .step-nav .btn { flex: 1; padding: 0 14px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .member h3 { font-size: 1.3rem; }
  .member-role { font-size: .68rem; letter-spacing: .08em; }
  .member-bio { font-size: .84rem; }
  .tags li { font-size: .7rem; padding: 3px 8px; }
  .member .btn { width: 100%; white-space: normal; text-align: center; min-height: 40px; }
  .studio { min-height: 380px; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gal-cap { left: 6px; right: 6px; bottom: 6px; padding: 6px 9px; font-size: .72rem; border-radius: 9px; }
  .chips { margin-top: -8px; }
  .stamp-card { transform: none; }
  .stamps li { font-size: .64rem; }
  .hours-card { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lightbox { padding: 70px 10px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
  .back-link { bottom: 12px; left: 12px; padding: 9px 12px; }
  .toast { bottom: 64px; }
}
@media (max-width: 380px) {
  .team-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Print: price list or gift card only ---------- */
@media print {
  body.print-prices > *:not(main), body.print-gift > *:not(main) { display: none !important; }
  body.print-prices main > *:not(#services) { display: none !important; }
  body.print-prices #services .section-head, body.print-prices .services-bar, body.print-prices .svc-panel, body.print-prices #printPrices { display: none !important; }
  body.print-prices #priceList { display: block !important; box-shadow: none; border: 0; margin: 0; }
  body.print-prices #services { padding: 0; }
  body.print-gift main > *:not(#gift) { display: none !important; }
  body.print-gift #gift .section-head, body.print-gift .gift-form, body.print-gift .gift-success { display: none !important; }
  body.print-gift #gift { padding: 0; }
  body.print-gift .gift-grid { display: block; }
  body.print-gift .giftcard { max-width: 16cm; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* "All projects" link: on phones it moves into the page footer (see app.js) so it never covers content;
   without JS it falls back to a small round button */
@media (max-width: 640px) {
  .back-link { width: 40px; height: 40px; min-height: 0; padding: 0 !important; display: inline-grid; place-items: center; overflow: hidden; font-size: 0 !important; letter-spacing: 0; }
  .back-link::before { content: "\2190"; font-size: 1.1rem; line-height: 1; }
}
.back-foot { display: flex; justify-content: center; width: 100%; flex-basis: 100%; grid-column: 1 / -1; padding: 16px 16px 24px; }
.back-link.in-footer { position: static; inset: auto; width: auto; height: auto; min-height: 42px; padding: 0 18px !important; display: inline-flex; align-items: center; font-size: .82rem !important; letter-spacing: .02em; opacity: 1; transform: none; box-shadow: none; }
.back-link.in-footer::before { content: none; }
