/* Salon website ("/"). Same brand system as /book: navy ink, Cormorant wordmark in the
   tenant's WORDMARK_COLOR, and BOOKING_PAGE_ACCENT_COLOR used boldly, as whole bands,
   not just on buttons. booking_theme.js sets --accent and the --wm-* shades; the values
   here are fallbacks. */
:root {
  --ink: #0f172a;
  /* Warm ivory, warm hairlines, warm grey: screen white and slate read "software", not salon.
     --muted stays 5.4:1 on --paper. */
  --paper: #fcfaf7;
  --line: #ebe4da;
  --muted: #6f655c;
  --text: #463f39;    /* paragraph grey, warm like the paper */
  --accent: #0d9488;
  --wm-dark: #a1821f;
  --wm-light: #e4d193;
  --wm-hi: #efe3be;
  --wm-line: rgba(201,162,39,.65);
  --wm-dot: rgba(201,162,39,.07);
  /* Darkened so white text clears 4.5:1 on any mid-tone accent. */
  --accent-ink: color-mix(in srgb, var(--accent) 80%, #000);
  --mist: color-mix(in srgb, var(--accent) 6%, var(--paper));
  --serif: 'Cormorant Garamond', Georgia, serif;
  /* Two families, each with one job: Cormorant for display (upright titles, italic accents,
     the wordmark), Jost for everything you read or tap. Jost loads 400 and 500 only. */
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
  --gutter: 20px;     /* phones: one left edge for every block on the page */
  color-scheme: light;
}
/* Safari before 16.2 has no color-mix(): without this the openings band loses its background
   and its white text sits on white. The plain accent is the fallback. */
@supports not (color: color-mix(in srgb, red, red)) {
  :root { --accent-ink: var(--accent); --mist: #f5f0e9; }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
/* font-synthesis: none, so no weight above 500 (not loaded) is ever faked by smearing the 500. */
body { font: 17px/1.65 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; font-synthesis: none; }
a { color: var(--accent-ink); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* On the dark and teal areas a teal ring vanishes (1.5:1 on the band); white reads on all of them. */
:is(.hero, .openings, .reviews, .foot, .bar) :focus-visible { outline-color: #fff; }
img { display: block; max-width: 100%; }
/* Titles stand upright; the one italic word in each carries the wordmark's gold (large text: 3.5:1 passes). */
h2 { font: 400 clamp(2.5rem, 7vw, 3.75rem)/1.08 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
h2 i { color: var(--wm-dark); }
/* Small tracked label over each title, led by a gold rule: the editorial cue of every luxury reference. */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 1.1rem;
  font: 500 0.72rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--wm-line); }
.sprite { display: none; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: 999px;
  font: 500 0.8rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.btn[href^="tel:"] { font-size: 0.95rem; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.btn-book { background: var(--accent-ink); color: #fff; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-light { background: #fff; color: var(--accent-ink); }
.btn-line { border: 1px solid var(--accent-ink); color: var(--accent-ink); }

/* ── Menu bar ──────────────────────────────────────── */
.nav {
  display: none; align-items: center; gap: 2rem;   /* phones: the hero wordmark is the header */
  height: 72px; padding: 0 16px;
  background: rgba(252,250,247,.94);   /* --paper */
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);   /* Safari before 18 needs the prefix */
}
.nav-name {
  margin-right: auto; padding: 6px 0;   /* 44px tall: the tablet bar is 40 */
  font: italic 400 2rem/1 var(--serif); color: var(--ink); text-decoration: none;
}
.nav-links, .nav-phone, .nav-book { display: none; }
.nav-links { gap: 1.75rem; }
.nav-links a, .nav-phone { color: var(--ink); text-decoration: none; }
/* The padding is the hit area: 44px tall, the whole menu bar's height worth of target for an iPad finger. */
.nav-links a { padding: 16px 0; font: 500 0.75rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.nav-phone { align-items: center; gap: 0.45rem; padding: 8px 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.nav-book { min-height: 42px; }

/* ── Hero: the salon's own photo, full width ───────── */
.hero {
  position: relative; overflow: hidden;
  margin: 0; border-radius: 0;   /* full bleed at every width; its words sit on the page's column */
  min-height: 46vh; min-height: 46svh;   /* no photo yet: a short band, not a screen of empty navy */
  display: flex; align-items: flex-end;
  background: var(--ink);
  background-image: radial-gradient(var(--wm-dot) 1px, transparent 1px);
  background-size: 22px 22px;
  color: #e2e8f0;
}
.hero--photo { min-height: 78vh; min-height: 78svh; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Darkens the bottom-left corner only, so any phone photo keeps the words readable. */
.hero--photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,.82) 100%),
              linear-gradient(90deg, rgba(15,23,42,.5), rgba(15,23,42,0) 65%);
}
.hero-body { position: relative; z-index: 1; padding: 28px var(--gutter) 36px; max-width: 760px; }
.wordmark { font-weight: 400; }
.wm-name {
  display: block;
  font: italic 400 clamp(4.25rem, 17vw, 8.5rem)/0.92 var(--serif);
  padding: 0 0.08em 0.06em; margin-left: -0.08em;   /* italic overhang would clip the gradient */
  background: linear-gradient(160deg, var(--wm-dark) 0%, var(--wm-light) 30%, var(--wm-hi) 45%, var(--wm-dark) 70%, var(--wm-light) 100%);
  background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: glint 2.6s cubic-bezier(.2,.7,.2,1) .2s both;
}
/* One pass of light across the gold lettering on load, then it rests. */
@keyframes glint { from { background-position: 100% 0; } to { background-position: 0 0; } }
.wm-sub {
  display: block; margin-top: 0.8rem;
  font: 500 0.75rem/1 var(--sans); letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.tagline { margin-top: 1.25rem; max-width: 28em; font: italic 400 1.45rem/1.35 var(--serif); color: #fff; text-wrap: balance; }
.actions { display: none; gap: 0.75rem; margin-top: 1.75rem; flex-wrap: wrap; }

/* ── Info strip: what a passer-by needs, right under the photo ── */
.strip {
  max-width: var(--wrap); box-sizing: content-box; margin: 0 auto; padding: 22px var(--gutter) 0;
  display: grid; gap: 0.4rem; font-size: 1rem;
}
.strip a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.strip-contact { display: grid; }
/* 44px rows: on a phone the address (directions) and the number are real tap targets. */
.strip-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.strip-status {
  display: flex; align-items: flex-start; gap: 8px;   /* a status that wraps keeps its dot on the first line */
  font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink);
}
.strip-status::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 0.45em; border-radius: 50%; background: currentColor; }

/* ── Sections ──────────────────────────────────────── */
main > section { padding: 4.5rem var(--gutter); }
main > section > h2, main > section > .eyebrow, .intro, .cat, .gallery-grid, .review-grid, .reviews-all, .faq-list, .visit-cols {
  max-width: var(--wrap); margin-left: auto; margin-right: auto;
}
main > section > h2 { margin-bottom: 2.25rem; }

.intro { display: grid; gap: 1.25rem; padding-top: 3.5rem; box-sizing: content-box; }   /* the section is its own column */
/* margin: 0 0 1rem, not just the bottom: as a grid item, the shared auto side margins shrink a short
   title and center it (10px off the edge on a 430px phone). 1rem + the grid gap = every section's spacing. */
.intro h2 { margin: 0 0 1rem; }
.intro h2 ~ p { max-width: 36em; font-size: 1.08rem; color: var(--text); }   /* not the eyebrow above it */
.intro > .eyebrow { grid-column: 1 / -1; margin: 0; }   /* a grid item: auto margins would shrink and center it */

/* Services: one block per category, its photo in an arch beside the price list. */
.services { padding-top: 1rem; }
.cat-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: var(--wrap); margin: -1rem auto 2.5rem; }
.cat-jump a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  font: 500 0.72rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
}
.cat { display: grid; gap: 1.75rem; margin-bottom: 4rem; }
.cat:last-child { margin-bottom: 0; }
.cat-photo { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--mist); }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-list h3 { font: 400 2.1rem/1.1 var(--serif); color: var(--ink); margin-bottom: 0.75rem; }
.cat-list ul { list-style: none; border-top: 1px solid var(--line); }
.cat-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1.25rem; align-items: center;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.svc-name { display: block; }
.svc-dur { display: block; font-size: 0.85rem; color: var(--muted); }
.price { font-weight: 500; font-variant-numeric: tabular-nums; }
/* Each category is a <details>; the summary is its h3. site.js opens them all from 760px up,
   so wider screens look exactly like a plain heading over the list. */
.cat-list summary { list-style: none; }
.cat-list summary::-webkit-details-marker { display: none; }
.cat-thumb, .cat-meta { display: none; }
/* Phones: the categories are tap-to-open rows, like /book's. The rows are the category list,
   so the jump chips and the big photos step aside; a round thumbnail stands in for the photo. */
@media (max-width: 759px) {
  .cat-jump, .cat-photo { display: none; }
  .cat { margin-bottom: 0; }
  .cat:first-of-type summary { border-top: 1px solid var(--line); }
  .cat-list summary {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer;
  }
  .cat-list summary::after {
    content: '+'; margin-left: auto; color: var(--accent-ink);
    font-size: 1.6rem; line-height: 1; transition: transform .2s;
  }
  .cat-list[open] summary::after { transform: rotate(45deg); }
  .cat-list h3 { margin: 0; font-size: 1.6rem; }
  .cat-meta {
    display: block; margin-top: 4px; color: var(--muted);
    font: 500 0.72rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;   /* = .eyebrow */
  }
  .cat-thumb { display: block; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--mist); }
  .cat-list ul { border-top: 0; }   /* the summary's bottom line already sits over the first row */
}

/* Next openings: the salon's color as a full band. */
.openings {
  background: var(--accent-ink); color: #fff;
  display: grid; gap: 1.5rem; justify-items: start;
}
.openings > * { width: 100%; max-width: var(--wrap); margin: 0 auto; }
/* Phones: the fixed Book bar sits right under this band, so its own button would be a second
   identical one on screen. Wider screens have no bar, so the band keeps it there. */
.openings .btn { display: none; width: auto; margin: 0; }
.openings-title { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.openings-title i { color: inherit; }
.openings-note { margin-top: 0.5rem; color: #fff; }   /* 82% white measured 4.2:1; solid white passes on any accent */
/* The times are information, not buttons: the band's one Book button is the action.
   A 2 × 2 timetable on phones (no wrap leaves "PM" or a separator stranded), 4 across wider. */
.openings-times {
  display: grid; grid-template-columns: repeat(2, max-content); gap: 0.35rem 2rem;
  font-size: 1.2rem; font-weight: 500; font-variant-numeric: tabular-nums;
}
.openings-times[hidden] { display: none; }

.gallery-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--line); }

/* Reviews: real clients' words, set big. */
.reviews { background: var(--ink); color: #fff; }
.reviews h2 i { color: var(--wm-light); }
.reviews .eyebrow { color: rgba(255,255,255,.62); }
.review-grid { display: grid; gap: 2.5rem; }
.review { display: grid; gap: 0.9rem; align-content: start; }
.stars { color: var(--wm-light); letter-spacing: 0.15em; font-size: 1.05rem; }
.review blockquote { font: italic 400 1.6rem/1.35 var(--serif); }
.review figcaption { font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.review figcaption span { display: block; margin-top: 2px; font-size: 0.8rem; letter-spacing: 0; text-transform: none; color: #94a3b8; }
.reviews-all { margin-top: 2.5rem; }
.reviews-all a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }

.faq { background: var(--mist); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-ink); font-weight: 400; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.2rem; max-width: 40em; color: var(--text); }

.visit-cols { display: grid; gap: 2.5rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 28rem; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .today th, .hours .today td { font-weight: 500; color: var(--accent-ink); }
.addr { font: 400 1.6rem/1.35 var(--serif); font-variant-numeric: lining-nums; }
.where-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.where-btns .btn { flex: 1 1 auto; }

/* ── Footer + phone bar ────────────────────────────── */
.foot {
  background: var(--ink); color: #94a3b8;
  padding: 3rem var(--gutter) calc(3rem + 76px);   /* clears the fixed phone bar */
  text-align: center; font-size: 0.9rem;
}
.foot-name { font: italic 400 1.8rem/1.2 var(--serif); color: #fff; margin-bottom: 1rem; }
.foot a { color: #e2e8f0; }
.foot-links {
  display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem;
  font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
}
/* 44px rings: a full thumb target, and a quiet outline instead of loud brand colors. */
.foot-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  transition: color .2s, border-color .2s;
}
.foot-icon .i { width: 20px; height: 20px; }
.foot-links a:not(.foot-icon) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.5rem; }   /* a word, as tall as the rings */
.credit { margin-top: 0.4rem; font-size: 0.8rem; }

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 0.6rem;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15,23,42,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* Two equal halves; a button grows past half only if its label needs it. Sized so
   "Book online" + "(816) 529-8666" fit a 320px phone. */
.bar .btn { flex: 1; padding: 0 12px; }
.bar .btn-ghost:only-child { background: var(--accent-ink); border-color: transparent; }   /* online booking off: calling is the action */
@media (max-width: 349px) {   /* 320px phones, fold covers: the number doesn't fit beside "Book online" */
  .bar-num { display: none; }
  .bar .btn-ghost::after { content: 'Call'; }
}

/* ── Wider screens ─────────────────────────────────── */
@media (min-width: 760px) {
  html { scroll-padding-top: 84px; }   /* clears the sticky menu bar, which phones don't have */
  .bar { display: none; }
  .foot { padding-bottom: 3rem; }
  .nav { display: flex; position: sticky; top: 0; z-index: 30; padding: 0 max(32px, calc((100% - var(--wrap)) / 2)); }
  /* No phone bar from here up, so the menu bar carries the number. Section links wait for 960px. */
  .nav-phone, .nav-book { display: inline-flex; }
  /* Full bleed here too: as an inset card its words sat 80px in while the page's column moved with
     the window (196px in on a 1512px laptop). Now they start where every section starts. */
  .hero-body { max-width: none; width: 100%; padding: 56px max(32px, calc((100% - var(--wrap)) / 2)); }
  .actions { display: flex; }
  /* The intro's two columns, so the address and phone sit exactly over its paragraph. */
  .strip { grid-template-columns: 1fr 1fr; gap: 0 4rem; align-items: center; padding: 22px 32px 0; }
  .strip-contact { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.4rem 2.5rem; }
  main > section { padding: 6rem 32px; }
  .intro { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; padding-top: 4.5rem; }
  .services { padding-top: 1.5rem; }
  .openings { grid-template-columns: 1fr auto; align-items: center; column-gap: 3rem; }
  .openings > * { max-width: none; }
  .openings-text { grid-column: 1; }
  .openings-times { grid-column: 1; grid-template-columns: repeat(4, max-content); }   /* site.js shows 4 at most */
  .openings .btn { display: inline-flex; grid-column: 2; grid-row: 1 / span 2; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .review-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .visit-cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .cat--photo { grid-template-columns: minmax(280px, 400px) 1fr; gap: 4.5rem; align-items: start; }
  .cat--photo:nth-of-type(even) { grid-template-columns: 1fr minmax(280px, 400px); }
  .cat--photo:nth-of-type(even) .cat-photo { order: 2; }
  .cat-photo { position: sticky; top: 104px; aspect-ratio: 3 / 4; border-radius: 999px 999px 22px 22px; }
  /* The band's content lines up with every other section's 1120px column. */
  .openings { padding-left: max(32px, calc((100% - var(--wrap)) / 2)); padding-right: max(32px, calc((100% - var(--wrap)) / 2)); }
}

/* ── Hover: mouse and trackpad only. On a phone a tap would leave the hover look stuck on. ── */
@media (hover: hover) {
  .btn-book:hover {
    background: color-mix(in srgb, var(--accent) 60%, #000);
    box-shadow: 0 12px 24px -12px rgba(15,23,42,.65); transform: translateY(-1px);
  }
  .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.14); }
  .btn-light:hover { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; }   /* the openings band */
  .btn-line:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
  .nav-links a:hover, .nav-phone:hover, .strip a:hover { color: var(--accent-ink); }
  .cat-jump a:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
  .foot a:hover, .foot-icon:hover { color: var(--wm-light); border-color: var(--wm-light); }
}

@media (prefers-reduced-motion: reduce) {
  .wm-name { animation: none; background-position: 0 0; }
  .btn, .foot-icon { transition: none; }
  .btn-book:hover { transform: none; }
  html { scroll-behavior: auto; }
}
