/* Cormorant Garamond (variable, 400-700), self-hosted so the heading font never depends on the network. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Cormorant Garamond (variable, 400-700), self-hosted so the heading font never depends on the network. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* CODE Salon extensions funnel. Look mirrors the owner's Perspective grey
   funnel (Cormorant Garamond, blush palette, pill buttons); our own CSS. */
:root {
  --bg: #eee4e4;
  --ink: #382824;
  --mute: rgba(56, 40, 36, .62);
  --line: rgba(56, 40, 36, .16);
  --panel: #f0e7e7;
  --panel-2: #e5dbda;
  --accent: #cc9081;
  --accent-ink: #1f1614;
  --accent-soft: rgba(204, 144, 129, .22);
  --star: #e8901a;
  --danger: #a3271b;
  --ph-bg: #fff3c4;
  --ph-ink: #6b4e00;
  --serif: "Cormorant Garamond", Georgia, Cambria, serif;
  --wm: "Avenir Next", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -.02em; }
h1 { font-size: 40px; line-height: 1.08; }
h2 { font-size: 30px; line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--mute); }
.small { font-size: 15px; }
.center { text-align: center; }
.ph {
  background: var(--ph-bg); color: var(--ph-ink);
  border-radius: 6px; padding: 1px 6px;
  font: 600 13px/1.45 -apple-system, system-ui, sans-serif; letter-spacing: 0;
}
.ph-tiny { font-size: 9px; padding: 0 3px; line-height: 1.3; }

/* view change: soft fade + rise */
.view { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.view-enter { opacity: 0; transform: translateY(10px); }

/* wordmark */
.wordmark { display: inline-flex; align-items: baseline; gap: 5px; color: var(--ink); white-space: nowrap; }
.wm-code { font: 500 27px/1 var(--wm); letter-spacing: .03em; }
.wm-salon { font: 500 13px/1 var(--wm); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 32px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 17px/1.2 var(--serif); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, filter .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(.96); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.arrow { flex: none; }
.link-btn, .back-link {
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font: 500 16px var(--serif); color: var(--mute);
}
.link-btn { margin-top: 14px; text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[data-focus]:focus { outline: none; }

/* ---------- landing ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(238, 228, 228, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 20px; }

.hero { padding: 18px 0 48px; }
.hero h1 { max-width: 15ch; }
.lede { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--mute); }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
.rating-row { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatars { display: flex; flex: none; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel-2); border: 2px solid var(--bg);
  font: 600 15px var(--serif); margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--star); letter-spacing: 3px; font-size: 16px; line-height: 1.2; }
.rating-text { font-size: 15px; line-height: 1.4; color: var(--mute); }

.slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px; background: var(--panel-2); color: var(--mute);
}
.consult-card { position: relative; }
.consult-photo { width: 100%; aspect-ratio: 16 / 17; max-height: 520px; object-fit: cover; }
.consult-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px;
  background: linear-gradient(transparent, rgba(56, 40, 36, .55));
  color: #fff;
}
.consult-price { font-size: 32px; font-weight: 500; line-height: 1.1; }

.section { padding: 64px 0 8px; }
.section h2 { margin-bottom: 26px; }

.featured { margin: 0; }
.featured blockquote { margin: 14px 0 0; font-size: 24px; line-height: 1.35; font-weight: 500; }
.featured figcaption { margin-top: 28px; }
.who { font-weight: 600; font-size: 16px; }
.featured .muted { font-size: 15px; margin-top: 2px; }

.gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 24px 6px; scroll-padding: 0 24px; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.g-item { flex: 0 0 68%; max-width: 280px; margin: 0; scroll-snap-align: start; }
.g-photo { width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; object-fit: cover; }
.g-item figcaption { margin-top: 10px; font-size: 15px; }

.step-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.step-card {
  padding: 26px 24px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(56, 40, 36, .08);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); font-size: 13px; margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--mute); font-size: 16px; line-height: 1.55; }

.menu { list-style: none; padding: 0; margin: 0; }
.menu li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 18px; }
.menu-price { white-space: nowrap; }
.menu-time { font-size: 15px; color: var(--mute); }
.menu-text { font-size: 15px; color: var(--mute); margin-top: 4px; line-height: 1.5; }
.menu + .small { margin-top: 12px; }

.specialist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.portrait { width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; object-fit: cover; object-position: 50% 30%; }
.spec-text h3 { font-size: 26px; }
.spec-text p { font-size: 15px; line-height: 1.45; margin-top: 4px; }
.spec-quote { margin: 26px 0 0; padding: 22px; border-radius: 16px; background: var(--panel); }
.spec-quote blockquote { margin: 0; font-size: 19px; line-height: 1.45; font-style: italic; }
.spec-quote figcaption { margin-top: 12px; font-size: 15px; color: var(--mute); }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--panel-2); }
.faq details[open] { background: var(--panel); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-size: 17px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--mute); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 22px 22px; color: var(--mute); font-size: 16px; line-height: 1.6; }

.final { position: relative; margin-top: 72px; padding-bottom: 72px; }
.final-photo { width: 100%; height: 300px; object-fit: cover; object-position: 50% 62%; }
.final .glass {
  position: relative; margin-top: -90px;
  padding: 30px 24px; border-radius: 20px;
  background: rgba(240, 231, 231, .92); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(56, 40, 36, .14);
  text-align: center;
}
.final .glass p { margin: 12px 0 22px; }

.site-footer { background: var(--panel-2); padding: 48px 0 36px; text-align: center; }
.site-footer h2 { margin: 12px 0 24px; }
.hours {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 17px; text-align: left;
}
.hours span:last-child { font-weight: 600; }
.site-footer .small { margin-top: 20px; line-height: 1.6; }
.foot-links { display: flex; justify-content: center; gap: 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-links a { color: var(--mute); text-decoration: none; }

/* ---------- quiz / contact / ask pages ---------- */
.page { min-height: 100vh; min-height: 100dvh; padding-bottom: 40px; }
.step-head { padding: 22px 0 8px; }
.step-meter { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.step-count { font-size: 14px; letter-spacing: .14em; color: var(--mute); white-space: nowrap; }
.step-count b { color: var(--ink); font-weight: 600; }
.meter { flex: 1; max-width: 220px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--accent); transition: width .4s var(--ease); }
.page-title { font-size: 30px; line-height: 1.15; margin-top: 22px; }
.page-sub { margin-top: 14px; color: var(--mute); font-size: 17px; line-height: 1.65; }

.answers { display: grid; gap: 14px; margin-top: 26px; }
.answer {
  display: flex; align-items: center; gap: 16px;
  width: 100%; padding: 8px; text-align: left; cursor: pointer;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 18px;
  font: inherit;
  transition: border-color .15s ease, background-color .15s ease, transform .12s ease;
}
.answer:hover { border-color: rgba(56, 40, 36, .4); }
.answer:active { transform: scale(.99); }
.answer.is-on { border-color: var(--accent); background: var(--accent-soft); }
.ans-photo { flex: none; width: 104px; height: 104px; border-radius: 12px; object-fit: cover; }
.ans-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--panel-2);
}
.ans-emoji { font-size: 34px; line-height: 1; }
.ans-text { display: grid; gap: 4px; }
.ans-title { font-size: 20px; font-weight: 600; line-height: 1.2; }
.ans-sub { font-size: 16px; color: var(--mute); line-height: 1.35; }
.back-link { display: inline-flex; margin-top: 16px; }

.form { display: grid; gap: 18px; margin-top: 26px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 16px; font-weight: 500; }
.field em { font-style: normal; color: var(--mute); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 18px;
  border: 1px solid rgba(56, 40, 36, .25); border-radius: 14px;
  background: var(--panel); color: var(--ink);
  font: 400 18px var(--serif);
}
.field textarea { border-radius: 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(56, 40, 36, .4); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-err { font-size: 15px; font-weight: 600; color: var(--danger); }
.field-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.form-actions .back-link { margin: 0; }
.consent { font-size: 14px; color: var(--mute); text-align: center; }
.consent a { color: var(--mute); }

/* last step */
.done { padding-bottom: 48px; }
.done-photo { width: 100%; height: 300px; object-fit: cover; object-position: 50% 62%; }
.done-card {
  position: relative; margin-top: -64px;
  padding: 28px 24px 30px; border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 20px 40px rgba(56, 40, 36, .14);
}
.done-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
}
.done .page-title { margin-top: 22px; }
.done .page-sub { margin-bottom: 24px; }
.done hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0 24px; }
.kicker { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.timeline { list-style: none; padding: 0; margin: 18px 0 0; }
.timeline li { position: relative; padding: 0 0 22px 38px; }
.timeline li::before {
  content: ""; position: absolute; left: 6px; top: 8px;
  width: 10px; height: 10px; border-radius: 50%; background: rgba(56, 40, 36, .3);
}
.timeline li::after {
  content: ""; position: absolute; left: 10px; top: 26px; bottom: 4px;
  width: 1.5px; background: var(--line);
}
.timeline li:last-child::after { display: none; }
.timeline li.is-now::before { background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline h3 { font-size: 18px; }
.timeline p { color: var(--mute); font-size: 16px; line-height: 1.55; margin-top: 4px; }

.noscript { padding: 40px 16px; text-align: center; }

@media (min-width: 720px) {
  h1 { font-size: 52px; }
  .hero { padding: 48px 0 64px; }
  .consult-card, .final-photo, .done-photo { max-width: 600px; margin-left: auto; margin-right: auto; }
  .consult-photo, .final-photo, .done-photo { border-radius: 20px; }
  .gallery { max-width: 600px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .view, .btn, .answer, .meter span, .faq summary svg { transition: none; }
}
