/* ============================================================
   Glow Studio Salon - demo template
   Rebrand by editing the tokens below, then swapping assets/img.
   Mobile-first. Tokens first; everything reads from them.
   ============================================================ */

:root {
  /* ---- Brand tokens: change these five and the whole site changes ---- */
  --bone: #f6f2ec;          /* page canvas, warm, never stark white */
  --panel: #fdfbf8;         /* cards and raised surfaces */
  --ink: #241d1a;           /* deep espresso, never pure black */
  --brass: #9a6f3f;         /* the single accent: links, marks, hover */
  --brass-deep: #7d5930;

  --ink-soft: #5d534c;      /* body text */
  --ink-mute: #6f655d;      /* small labels: 5.1:1 on bone, so captions and meta stay readable */
  --line: #e4ddd3;
  --line-soft: #efe9e1;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .8, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --gutter: clamp(1.15rem, 5vw, 3rem);
  --max: 1180px;
  --section: clamp(3.75rem, 9vw, 7rem);
  --header-h: 64px;
  --radius: 4px;             /* barely-there corners: salon-editorial, not app-like */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 500; background: var(--ink); color: var(--bone); padding: .7rem 1.1rem; border-radius: var(--radius); }
.skip-link:focus-visible { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
}

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 36;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.35rem, 6.5vw, 4.1rem); line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); letter-spacing: -0.005em; }

.kicker {
  display: block;
  font-family: var(--body);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1rem;
}
.lede { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 56ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .85rem 1.6rem;
  font-family: var(--body); font-size: .95rem; font-weight: 600; line-height: 1.2;
  letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .3s var(--ease-soft), color .3s var(--ease-soft), border-color .3s var(--ease-soft), transform .2s var(--ease-soft);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--bone); }
.btn--primary:hover { background: var(--brass-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--light { border-color: rgba(255,255,255,.8); color: #fff; background: rgba(36,29,26,.3); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--small { min-height: 44px; padding: .5rem 1rem; font-size: .85rem; }  /* 44px: the minimum comfortable touch target */
.btn .arrow { transition: transform .3s var(--ease-soft); }
.btn:hover .arrow { transform: translateX(3px); }

.link-u { color: var(--brass-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link-u:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(246,242,236,.93);
  -webkit-backdrop-filter: saturate(150%) blur(8px); backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 1.28rem; letter-spacing: .01em; font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 24; }
.brand span { font-size: .58rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-mute); margin-top: .35rem; }
.nav { display: none; }
.header-right { display: flex; align-items: center; gap: .8rem; }
.header-phone { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: -8px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

@media (min-width: 900px) {
  :root { --header-h: 78px; }
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 1.9rem; }
  .nav a {
    position: relative; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--ink); text-decoration: none; padding: .4rem 0;
  }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .header-phone { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 300; background: var(--ink); color: var(--bone);
  padding: calc(env(safe-area-inset-top, 0px) + 1rem) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2rem);
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.drawer-top .brand { color: var(--bone); }
.drawer-top .brand span { color: rgba(246,242,236,.65); }
.drawer-close { width: 46px; height: 46px; margin-right: -8px; background: none; border: 0; color: var(--bone); cursor: pointer; }
.drawer nav { margin-top: 1.4rem; display: grid; }
.drawer nav a { padding: .95rem 0; font-family: var(--display); font-size: 1.5rem; color: var(--bone); text-decoration: none; border-bottom: 1px solid rgba(246,242,236,.12); }
.drawer .drawer-cta { margin-top: auto; padding-top: 2rem; display: grid; gap: .7rem; }
.drawer .drawer-meta { margin-top: 1.5rem; font-size: .9rem; color: rgba(246,242,236,.7); }
body.drawer-open { overflow: hidden; }

/* ---------- Sticky mobile book bar ---------- */
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: .6rem;
  padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(246,242,236,.97); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.book-bar.is-shown { transform: none; }
.book-bar .btn { min-height: 46px; font-size: .9rem; padding-inline: .7rem; }
@media (max-width: 899px) { body.has-book-bar { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 900px) { .book-bar { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--panel { background: var(--panel); }
.section--ink { background: var(--ink); color: #d8cfc6; }
.section--ink h2, .section--ink h3 { color: var(--bone); }
.section--ink .kicker { color: #b3a79c; }
.section--ink .lede { color: #d8cfc6; }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head.center { margin-inline: auto; }

/* ---------- Home hero ---------- */
.hero { position: relative; }
.hero-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.02fr .98fr; gap: clamp(2.5rem, 5vw, 4.5rem); } }
.hero h1 { margin-bottom: .45em; }
.hero .lede { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 480px) { .hero-actions { display: grid; } .hero-actions .btn { width: 100%; } }
.hero-figure { position: relative; isolation: isolate; }
.hero-figure img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
/* A thin brass frame offset behind the photo: an editorial accent, not a floating box. */
.hero-figure::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  border: 1px solid var(--brass); border-radius: var(--radius); z-index: 0;
}
@media (max-width: 899px) { .hero-figure::before { inset: 12px -10px -10px 12px; } }
@media (max-width: 899px) { .hero-figure img { aspect-ratio: 4 / 3; } }

.trust {
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; list-style: none;
  padding: 1.1rem 0 0; margin-top: 1.8rem; border-top: 1px solid var(--line);
}
.trust li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.trust svg { width: 15px; height: 15px; color: var(--brass); flex: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2.6rem, 7vw, 4.6rem) clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 16ch; }
.crumbs { font-size: .8rem; color: var(--ink-mute); margin-bottom: 1.1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- Service list ---------- */
.svc-group + .svc-group { margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.svc-group h3 { font-size: .78rem; font-family: var(--body); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: baseline;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.svc-name { font-family: var(--display); font-size: 1.22rem; color: var(--ink); grid-column: 1; }
.svc-price { font-weight: 700; color: var(--ink); white-space: nowrap; grid-column: 2; grid-row: 1; }
.svc-meta { grid-column: 1 / -1; font-size: .92rem; color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.svc-book { grid-column: 1 / -1; margin-top: .55rem; }
@media (min-width: 720px) {
  .svc { grid-template-columns: 1fr auto auto; align-items: center; gap: .25rem 1.4rem; }
  .svc-name { grid-column: 1; grid-row: 1; }
  .svc-meta { grid-column: 1; grid-row: 2; margin-top: .1rem; }
  .svc-price { grid-column: 2; grid-row: 1 / span 2; font-size: 1.05rem; }
  .svc-book { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; }
}
.svc-note { margin-top: 1.4rem; font-size: .95rem; color: var(--ink-mute); max-width: 60ch; }

/* ---------- Stylists ---------- */
.stylists { display: grid; gap: 1.4rem; list-style: none; }
@media (min-width: 680px) { .stylists { grid-template-columns: repeat(3, 1fr); } }
.stylist { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.stylist img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stylist-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.stylist-body h3 { margin: 0; }
.stylist-role { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); }
.stylist-body p { margin: .3rem 0 0; font-size: .96rem; }
.stylist-body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 679px) { .stylist-body .btn { align-self: stretch; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: .9rem; list-style: none; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line-soft); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: .6rem .1rem 0; font-size: .88rem; color: var(--ink-mute); }
.gallery figcaption b { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: .15rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 1.2rem; list-style: none; }
@media (min-width: 780px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.review .stars { display: flex; gap: .15rem; color: var(--brass); margin-bottom: .8rem; }
.review .stars svg { width: 15px; height: 15px; }
.review p { font-family: var(--display); font-size: 1.1rem; line-height: 1.5; color: var(--ink); margin: 0; }
.review .tag { display: inline-block; margin-top: .9rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.reviews-note { margin-top: 1.2rem; font-size: .88rem; color: var(--ink-mute); text-align: center; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.3rem; list-style: none; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-size: 1.6rem; color: var(--brass); margin-bottom: .5rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.step p { margin: 0; font-size: .96rem; }

/* ---------- Booking form ---------- */
.book-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .book-grid { grid-template-columns: 1.15fr .85fr; } }
.form { display: grid; gap: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); }
@media (min-width: 620px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field label .opt { font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bone); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .72rem .85rem; transition: border-color .25s var(--ease-soft), background .25s var(--ease-soft);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--ink-mute); }
.form-success { display: none; grid-column: 1 / -1; background: #efe7db; border: 1px solid var(--brass); border-radius: var(--radius); padding: 1.1rem 1.2rem; color: var(--ink); }
.form.sent .form-success { display: block; }
.form.sent .form-hide { display: none; }

.book-aside { display: grid; gap: 1.6rem; }
.aside-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.aside-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.aside-card ul { list-style: none; display: grid; gap: .5rem; font-size: .96rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line-soft); padding-bottom: .4rem; }
.hours-row:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-row b { font-weight: 600; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.2rem; position: relative; font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease-soft); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 1.2rem 1.2rem; }
.faq .answer p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--bone); padding-block: clamp(3.5rem, 8vw, 5.5rem); text-align: center; }
.cta-band h2 { color: var(--bone); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: #d8cfc6; max-width: 48ch; margin-inline: auto; }
.cta-band .actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); padding: clamp(2.8rem, 7vw, 4.2rem) 0 1.8rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.4rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--brass-deep); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; font-size: .84rem; color: var(--ink-mute); }
.demo-flag { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--brass-deep); }
.demo-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(16px); }
.stagger.in > * { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stagger.in > :nth-child(2) { transition-delay: .08s; }
.stagger.in > :nth-child(3) { transition-delay: .16s; }
.stagger.in > :nth-child(4) { transition-delay: .24s; }
.stagger.in > :nth-child(5) { transition-delay: .32s; }
.stagger.in > :nth-child(6) { transition-delay: .4s; }
.stagger.done > :nth-child(n), .stagger.done > :nth-child(2), .stagger.done > :nth-child(3),
.stagger.done > :nth-child(4), .stagger.done > :nth-child(5), .stagger.done > :nth-child(6) { transition-delay: 0s; }
