/* ==========================================================================
   Gil Ferrer Salon — Bridgehampton, NY
   Static site stylesheet
   ========================================================================== */

/* ---------- Fonts ----------
   The same files Google Fonts serves (latin subset), hosted here so the page
   does not wait on fonts.googleapis.com before it can paint. Libre Baskerville
   is one variable file covering 400-700. */
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/libre-baskerville-400.woff2) format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/libre-baskerville-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-300.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }

/* Metric-matched fallbacks: while a webfont is still on its way, Georgia and
   Arial are stretched to Libre Baskerville's and Poppins' widths and line
   heights (measured in-browser), so the swap does not move anything. */
@font-face { font-family: "Libre Baskerville Fallback"; src: local("Georgia"); size-adjust: 116.2%; ascent-override: 97%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 110.7%; ascent-override: 105%; descent-override: 35%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  --gold:        #b08d57;
  --gold-text:   #876a3c; /* gold for small text on white: 5:1 contrast */
  --gold-soft:   #c0ac8b;
  --gold-pale:   #f0e8dc;
  --ink:         #191e23;
  --ink-2:       #3a4048;
  --ink-3:       #6b7280;
  --line:        #e4ded5;
  --bg:          #ffffff;
  --bg-alt:      #faf7f2;
  --bg-deep:     #16191d;

  --serif: "Libre Baskerville", "Libre Baskerville Fallback", Georgia, "Times New Roman", serif;
  --sans:  "Poppins", "Poppins Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 2px;
  --shadow: 0 1px 3px rgba(25,30,35,.06), 0 12px 32px rgba(25,30,35,.06);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 9vw, 108px); }
/* First section on a page whose content starts with a title or a photograph
   rather than a hero. The standard section padding is tuned for the gap
   *between* two sections; used straight under the header it leaves the page
   looking like it starts late. Applied per page rather than to
   `main > .section:first-child`, because the pages that want it are a
   judgement call, not a structural rule — the FAQ and the price list, for
   instance, are better off with the room. */
.section--top-tight { padding-top: clamp(38px, 6vw, 74px); }
.section--alt { background: var(--bg-alt); }
/* Two alt sections in a row share one background, so their stacked padding
   reads as one oversized gap rather than a boundary. Collapse it to a single
   section's worth of space. */
.section--alt + .section--alt { padding-top: 0; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
/* Copy that sits directly under a banner photograph in the same section.
   Kept in one section on purpose: a banner section and a text section back
   to back stacked two paddings (72px + 108px) into a blank stretch that read
   as the page having ended. */
.banner-intro { margin-top: clamp(28px, 4vw, 48px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Eyebrow / lead ---------- */
.eyebrow {
  font-size: clamp(.82rem, 1.1vw, .88rem); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500; margin: 0 0 1em;
}
.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }

/* ---------- Compact page intro (services) ----------
   Deliberately not a .section: it borrows the top padding the price list
   already had rather than stacking a second block on top of it, so the page
   gains a title and a jump nav without getting appreciably taller. */
.page-intro { padding-block: clamp(44px, 6vw, 72px) 0; }
.page-intro h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: .35em; }
.page-intro .lead { max-width: 60ch; }
.page-intro + .section { padding-top: clamp(32px, 4vw, 52px); }

.jumpnav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px; margin-top: 28px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.jumpnav a {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid transparent;
  padding-bottom: 2px; transition: color .25s var(--ease), border-color .25s var(--ease);
}
.jumpnav a:hover, .jumpnav a:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }

/* On a phone six labels wrap to three rows, which is exactly the vertical
   space this intro is meant not to take. Make it one swipeable row instead,
   bleeding to both screen edges so it reads as scrollable. */
@media (max-width: 700px) {
  .jumpnav {
    flex-wrap: nowrap; justify-content: flex-start; gap: 22px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .jumpnav::-webkit-scrollbar { display: none; }
  .jumpnav a { white-space: nowrap; }
}

/* Breathing room above a heading a jump link lands on.
   NOTE: .header sets position:sticky but does not currently stick — the
   overflow-x:hidden on html/body defeats it sitewide. If that is ever fixed,
   raise this to about 160px so the heading clears the pinned header. */
.pricegroup h2 { scroll-margin-top: 24px; }
/* Same breathing room for the careers application section when the Apply
   button at the top of that page jumps down to it. */
#apply { scroll-margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  text-align: center;
}
.btn:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-1px); }
/* An icon inside a button — the Instagram mark on the team page's Follow
   buttons. Sized to the cap height and coloured with the text, so it flips
   with the button on hover. .btn's own gap sets the space after it. */
.btn__icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.btn--gold { background: var(--gold); border-color: var(--gold); }
.btn--gold:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { padding: 11px 22px; font-size: .7rem; }
/* Solid black primary. Base .btn is already ink-on-white-text, but its hover
   goes gold; this keeps the button black through the hover so it reads as one
   deliberate style wherever it is used. */
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }

/* Homepage hero pair — solid black primary, solid white secondary. Scoped to
   .hero-stack on purpose: btn--gold and btn--light are used on 17 and 11 pages
   respectively, and this is only meant to change the two buttons in the hero. */
.hero-stack .btn--gold { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero-stack .btn--gold:hover { background: var(--ink-2); border-color: var(--ink-2); }
.hero-stack .btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.hero-stack .btn--light:hover { background: var(--gold-pale); border-color: var(--gold-pale); color: var(--ink); }

/* Both "Meet the team" buttons on the homepage — the one in Our Story and the
   one under the stylist cards. Matched on href rather than a new class so the
   other nine ghost buttons (contact, services, tel:, Square) stay outlined. */
.btn--ghost[href="team/index.html"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost[href="team/index.html"]:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Consultation dialog ----------
   Centred, its own scroll, dark ground behind. Built and opened by
   consultation.js; the trigger button is hidden until that file runs. */
.consult {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 32px);
  background: rgba(16, 19, 23, .72);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.consult.is-open { display: flex; }
.consult__panel {
  position: relative;
  width: 100%; max-width: 780px; max-height: 92vh;
  display: flex; flex-direction: column;
  background: var(--bg); border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(16, 19, 23, .38);
}
.consult__head {
  display: flex; align-items: center; gap: 16px;
  padding: 16px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}
.consult__progress {
  margin: 0; flex: 1; text-align: center;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.consult__back, .consult__close {
  background: none; border: 0; padding: 4px 6px; color: var(--ink-3);
  font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  transition: color .25s var(--ease);
}
.consult__close { font-size: 1.5rem; line-height: 1; letter-spacing: 0; }
.consult__back:hover, .consult__close:hover,
.consult__back:focus-visible, .consult__close:focus-visible { color: var(--ink); }
.consult__back[hidden] { visibility: hidden; display: block; }

.consult__body {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: clamp(26px, 4vw, 44px) clamp(18px, 3vw, 44px) clamp(30px, 4vw, 44px);
  text-align: center;
}
.consult__q {
  font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .4em; outline: none;
}
.consult__hint {
  color: var(--ink-3); font-size: .92rem; max-width: 48ch;
  margin: 0 auto 30px; font-style: italic;
}
.consult__lead {
  font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--ink); max-width: 46ch; margin: 0 auto 28px;
}

/* Look picker — image cards, or clean text cards where no photo exists yet. */
.consult__looks {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-auto-rows: 1fr;   /* equal-height cards however the captions wrap */
  text-align: left;
}
.look {
  position: relative; padding: 0; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.look__cap { margin-top: auto; }
.look:hover, .look:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.look img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.look--plain { min-height: 118px; display: flex; align-items: flex-end; }
.look__cap { display: block; padding: 12px 14px 14px; }
.look__label {
  display: block; font-family: var(--serif); font-size: 1.02rem; color: var(--ink);
}
.look__note { display: block; font-size: .78rem; color: var(--ink-3); margin-top: 2px; }

/* Icon cards, not a list of sentences. Reading five phrases and weighing them
   is work; recognising five pictures is not. The icon carries it and the label
   only confirms — which is why the labels here are two words, and the longer
   wording lives in the take-away notes instead. */
.consult__opts {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  grid-auto-rows: 1fr;
  max-width: 560px; margin-inline: auto;
}
.consult__opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-height: 118px; padding: 20px 14px; cursor: pointer;
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.consult__opt:hover, .consult__opt:focus-visible {
  background: var(--ink); border-color: var(--ink); color: #fff;
  transform: translateY(-2px);
}
.consult__icon { display: block; width: 30px; height: 30px; color: var(--gold); }
.consult__icon svg { width: 100%; height: 100%; display: block; }
.consult__opt:hover .consult__icon,
.consult__opt:focus-visible .consult__icon { color: var(--gold-soft); }
.consult__opt-label {
  font-family: var(--sans); font-size: .92rem; font-weight: 400;
  letter-spacing: 0; text-transform: none; line-height: 1.35; text-align: center;
}

.consult__picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.consult__pick { width: 158px; }
.consult__pick img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 10px;
}
.consult__name { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin: 0 0 10px; }
.consult__pick .btn { width: 100%; white-space: nowrap; padding-inline: 8px; }

.consult__notes {
  text-align: left; margin-top: 32px; padding: 22px clamp(18px, 3vw, 26px);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
}
.consult__notes-h { font-size: 1.05rem; margin: 0 0 12px; }
.consult__list { margin: 0; padding-left: 20px; font-size: .92rem; }
.consult__list li { margin-bottom: 9px; }
.consult__list li:last-child { margin-bottom: 0; }
.consult__copy {
  margin-top: 16px; background: none; border: 0; padding: 4px 2px; cursor: pointer;
  font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.consult__copy:hover, .consult__copy:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }

/* On a phone three portrait cards stack into a very long scroll. Lay each one
   out as a compact row instead — thumbnail, name, button — so the whole
   recommendation stays readable without a journey. */
@media (max-width: 620px) {
  .consult__picks { flex-direction: column; gap: 12px; }
  .consult__pick {
    width: 100%; display: flex; align-items: center; gap: 14px;
    text-align: left;
    border: 1px solid var(--line); border-radius: var(--radius); padding: 10px;
  }
  .consult__pick img { width: 56px; flex: 0 0 56px; margin-bottom: 0; }
  .consult__name { margin: 0; flex: 1; font-size: 1.05rem; }
  .consult__pick .btn { width: auto; flex: 0 0 auto; }
}

.consult__cta { justify-content: center; }
.consult__restart {
  display: inline-block; margin-top: 22px; cursor: pointer;
  background: none; border: 0; padding: 4px 2px;
  font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.consult__restart:hover, .consult__restart:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.82);
  font-size: .74rem; letter-spacing: .06em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__status { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot--open   { background: #46b17b; box-shadow: 0 0 0 3px rgba(70,177,123,.22); }
.dot--closed { background: #c2703f; box-shadow: 0 0 0 3px rgba(194,112,63,.2); }

.header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
}
/* The frosted backdrop lives on a pseudo-element, not on .header itself:
   backdrop-filter would make the header a containing block for the
   fixed-position mobile nav, clipping the drawer to the header's box. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 96px; padding-block: clamp(16px, 1.9vw, 24px);
}
.brand { flex: none; display: block; }
.brand img { width: clamp(155px, 17.5vw, 212px); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  font-size: .85rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-2); padding: 8px 0; position: relative; white-space: nowrap;
  transition: color .2s var(--ease);
}
/* Hover: the label warms to gold and a gold rule draws in from the left,
   then slides out to the right on leave rather than snapping back — the
   origin flips between the two states, so the line always travels the same
   way. Current page keeps a still rule in ink so it reads as a marker, not a
   hover that stuck. */
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .32s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--ink); height: 1px; }
.nav a[aria-current="page"]:hover { color: var(--ink); }
.nav a[aria-current="page"]:hover::after { background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .nav a::after { transition: none; } }

/* Just the word. Three lines alone is a convention that people who use the
   web a lot read instantly and everyone else does not — and once the word is
   there, the icon beside it is redundant. Two labels swap on state rather
   than one being rewritten, so the accessible name is always real text and
   never depends on JS having run. */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  height: 38px; padding: 0 13px;
  border: 1px solid var(--ink);
  /* Solid, not outlined: a pale button with a hairline border is easy to miss
     on a phone, and this is the only way into the site's navigation there.
     Kept compact so a centred logo still has room beside it. */
  background: var(--ink); border-radius: var(--radius); position: relative;
}
.nav-toggle__label {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  line-height: 1;
}
/* The header button is hidden while the drawer is open — the drawer carries
   its own close control, so nothing floats over it from the page behind. */
.nav-toggle[aria-expanded="true"] { opacity: 0; pointer-events: none; }

/* The drawer's close button belongs to the mobile slide-out only. Without
   this it renders as the first item of the desktop nav row. */
.nav-close { display: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }   /* flex, so the label sits beside the bars */
  .header__inner { min-height: 64px; padding-block: 14px; }
  /* The logo no longer has the row to itself — the Menu button is a labelled
     control now, not a 44px square. Scale with the viewport so the two never
     collide on a narrow phone while still reaching 180px on a large one. */
  .brand img { width: clamp(132px, 40vw, 175px); }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    /* The close button is inside the drawer now and absolutely positioned, so
       the content no longer has to clear anything floating over it. */
    gap: 4px; padding: 70px 32px 40px; border-left: 1px solid var(--line);
    transform: translateX(101%); transition: transform .34s var(--ease), visibility .34s;
    overflow-y: auto; box-shadow: -20px 0 50px rgba(25,30,35,.1);
    visibility: hidden;
  }
  .nav[data-open="true"] { transform: translateX(0); visibility: visible; }
  .nav a { font-size: .85rem; padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  /* Buttons in the drawer run the full width. There used to be a solid
     "Book Online" here as well, but the sticky bar at the foot of the screen
     already says that, and the "Book" link at the head of the list reaches
     the stylist picker — three ways to book on one screen was too many. */
  .nav .btn {
    margin-top: 20px; width: 100%;
    background: var(--ink); border-color: var(--ink); color: #fff;
  }
  .nav .btn:hover { background: var(--gold); border-color: var(--gold); }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(25,30,35,.42);
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 99;
  }
  .nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1001px) { .nav .btn { display: none; } }
/* Eight items is about the limit this bar was drawn for. Adding Gallery pushed
   the row to within a pixel of the header edge between the mobile breakpoint
   and roughly 1200px, so tighten tracking, size and gap through that band
   only. Above 1200px there is room and the nav returns to full size. The
   logo is deliberately left alone — it is the identity, not slack. */
@media (min-width: 1001px) and (max-width: 1200px) {
  .nav { gap: clamp(11px, 1.5vw, 20px); }
  .nav a { font-size: .8rem; letter-spacing: .09em; }
}

/* ---------- Overlay hero (home) ----------
   The photo runs full-bleed behind the copy. The scrim is weighted to the
   left, so the headline sits over the man's side and her face stays clear.  */
.hero-stack { position: relative; background: var(--bg-deep); overflow: hidden; }
.hero-stack__media { position: absolute; inset: 0; }
/* The hero photograph is a link to Book Online. It sits under the copy, which
   has z-index 2, so the headline, lead and buttons stay clickable in their own
   right and text remains selectable. */
.hero-stack__link { display: block; width: 100%; height: 100%; }
.hero-stack__link img { cursor: pointer; }
.hero-stack__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 20%; }
.hero-stack::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  /* Scrim tinted to the photograph's own hue (its average is a warm 212,171,152)
     rather than a cold charcoal — a neutral black over a warm image reads grey
     and heavy. Same darkening, considerably less of a dead weight over it. */
  background:
    linear-gradient(95deg,
      rgba(55,44,40,.76) 0%,
      rgba(55,44,40,.70) 26%,
      rgba(55,44,40,.44) 46%,
      rgba(55,44,40,.12) 62%,
      rgba(55,44,40,.02) 78%),
    linear-gradient(180deg, rgba(55,44,40,.14) 0%, rgba(55,44,40,0) 34%);
}
.hero-stack__text {
  position: relative; z-index: 2; color: #fff;
  min-height: clamp(440px, 66vh, 640px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(48px, 6vw, 80px);
}
.hero-stack__text > * { max-width: 46%; }
/* The headline's break is deliberate below 700px, not left to chance: it
   wrapped to three lines at 320 and 360 and two at 375+, so the shape of the
   hero changed depending on the phone. */
/* Shown at every width: the headline reads "ask what your hair / can do for
   you" on desktop and mobile alike, only the size differs. Left to natural
   wrapping it broke three ways across three viewports. */
.hero-br { display: inline; }
/* On the narrowest phones "ask what your hair" is 308px against 280px of
   room, so the forced break would just wrap again. A slightly smaller
   headline there keeps it to the intended two lines. */
@media (max-width: 365px) { .hero-stack h1 { font-size: 1.72rem; } }

.hero-stack h1 {
  color: #fff; margin-bottom: .3em;
  /* Wide enough for "ask what your hair" to hold on one line at the desktop
     size — 17ch forced a break mid-phrase and gave three ragged lines. The %
     resolves against the text column, not the viewport, which is why this is
     larger than it looks: at 1000px the column is 904px, so 52% was 470px
     against the 485px the phrase needs. */
  max-width: min(23ch, 56%);
  /* Lowercase to match the footer, which sets this same line in lowercase —
     one slogan should not be typeset two ways. Done in CSS rather than the
     markup so the heading stays properly capitalised for search results and
     screen readers, which read the DOM text, not the rendered case. */
  text-transform: lowercase;
}
.hero-stack .eyebrow { color: var(--gold-soft); }
.hero-stack__lead { color: #fff; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.hero-stack__rule { width: 54px; height: 1px; background: var(--gold-soft); margin: 26px 0 28px; }

/* ---------- Phones: header ----------
   Logo centred on the screen, with the Menu button floated out of the flow at
   the right so it cannot push the logo off axis. The button is deliberately
   compact — a wide one leaves no room beside a centred logo on a 375px
   screen, which is what made this crowded before. */
@media (max-width: 900px) {
  .header__inner { position: relative; justify-content: center; }
  .nav-toggle {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  }

  /* ---- copy centring, every page, phones only ----
     Desktop keeps its left-aligned columns; on a narrow screen a centred
     column reads better because the measure is short enough that the ragged
     left edge never becomes work to track. */

  /* Hero. The rule under the headline is a fixed-width block, so it needs
     centring explicitly rather than inheriting text-align. */
  .hero-stack__text { text-align: center; }
  .hero-stack__rule { margin-inline: auto; }
  .hero-stack .btn-row { justify-content: center; }

  /* Feature columns: section titles, body copy, stylist names and bios on the
     team page, the address block on contact. */
  .feature > div { text-align: center; }
  .feature .btn-row { justify-content: center; }
  .feature .lead { margin-inline: auto; }
  .feature address { text-align: center; }

  /* Services page category headings. The price rows below are flex, so the
     name/price alignment is untouched by this. */
  .pricegroup__sub { text-align: center; }

  /* .stack is the shared text container — the careers intro, gift cards,
     bridal, the team story. All prose, no forms or price lists. */
  .stack { text-align: center; }
  .stack .lead { margin-inline: auto; }

  /* One deliberate exception: the privacy policy is 585 words of long-form
     legal text, where a ragged left edge genuinely costs readability. Styling
     should not win over being able to read your own policy. */
  .longform .stack { text-align: left; }

  /* Our Story: eyebrow and headline above Gil's portrait, the story itself
     below it. The copy all lives in one <div>, so that wrapper is dissolved
     with display:contents — its children become grid items of .feature in
     their own right, and `order` can then place them either side of the photo.
     Selectors still match the DOM, so `> div >` keeps working. */
  /* :not(.feature__media) is essential — a bare `> div` also dissolves the
     media wrapper, which promotes the <picture> (order 0) to a grid item and
     sends the photo straight back to the top. */
  .feature--title-first > div:not(.feature__media) { display: contents; }
  .feature--title-first > div > .eyebrow    { order: 1; }
  .feature--title-first > div > h2          { order: 2; }
  /* The lead is a subtitle — it belongs with the title, above the photo.
     The remaining paragraphs stay below it. */
  .feature--title-first > div > .lead       { order: 3; }
  .feature--title-first .feature__media     { order: 4; }
  .feature--title-first > div > p:not(.eyebrow):not(.lead) { order: 5; }
  /* A list in the copy column (the first-visit steps on book-online) reads
     with the paragraphs, after the photo. Without this it has order 0 and
     jumps above the eyebrow. */
  .feature--title-first > div > ol,
  .feature--title-first > div > ul { order: 5; }
  .feature--title-first > div > .btn-row    { order: 6; }

  /* With the wrapper gone every child is a grid row, so the section's large
     column gap would apply between each one. Zero it and let the elements'
     own margins do the spacing, giving the photo its own breathing room. */
  /* Two classes, to outrank the `gap` shorthand on .feature further down the
     file — same specificity would otherwise lose on source order. */
  .feature.feature--title-first { row-gap: 0; }
  /* Eyebrow and title belong together as one unit; the photo is the next
     beat. The measured gaps were the wrong way round (43px above the title,
     6px below it), so tighten the first and open the second. The eyebrow's
     margin does less than it looks — most of that 43px is the half-leading
     above a large serif line — hence taking it most of the way to zero. */
  .feature--title-first > div > .eyebrow { margin-bottom: .15em; }
  /* .stack > * + * adds 1.1em above the title on the stack-wrapped blocks,
     which is why the eyebrow gap measured 32px there and 2px elsewhere.
     Zero it so every one of these blocks is spaced identically. */
  .feature--title-first > div > h2 { margin-top: 0; margin-bottom: 0; }
  .feature--title-first .feature__media { margin-block: 30px 26px; }

  /* Service cards, stylist cards and testimonials. card__link is an inline
     anchor, so it needs its parent centred rather than the anchor itself. */
  .card__body { text-align: center; }
  .card__body .btn-row { justify-content: center; }
  .card--stylist .svc-list { justify-content: center; }
  /* summary is inline-flex, so centring its inline box needs the parent. */
  .svc-fold { text-align: center; }
  .svc-fold .svc-list { display: inline-grid; text-align: left; }

  /* Every remaining button row, sitewide. .stylist__links is the team page's
     own flex row for Book/Follow — it is not a .btn-row, so it needs naming
     explicitly or the stylist buttons stay left while their bios are centred. */
  .btn-row,
  .stylist__links { justify-content: center; }
  /* text-align too, not just the margin: the homepage writes
     `section-head center`, but FAQ and Wedding Details use a bare
     `section-head` and were left behind. The accordion and the form that
     follow sit outside it, so they stay left where they belong. */
  .section-head { margin-inline: auto; text-align: center; }
  .section-head .lead { margin-inline: auto; }

  /* One page (the Short Hair Challenge promo) writes its section titles as a
     bare h2 straight inside .wrap--narrow, with no section-head or stack
     wrapper. Only h2 — the ordered steps and rules beneath stay left, where a
     numbered list belongs. */
  .section > .wrap--narrow > h2 { text-align: center; }

  /* Contact: the message form comes before the address block on a phone.
     Someone who already knows where the salon is does not need the address
     first, and someone who is writing in wants the form without scrolling
     past a full week of opening hours. Grid children default to order 0, so
     pushing the infobox to 2 is enough to put it second. Desktop keeps the
     two side by side, address on the left, untouched. */
  .grid--form-first > .infobox { order: 2; }
}

@media (max-width: 900px) {
  /* Stacked on a phone rather than overlaid. Full-width copy on top of a
     portrait ran straight across her face, and keeping it legible there meant
     a scrim heavy enough (.80 at the foot) to make the whole hero read murky.
     Separating them fixes both at once: the photograph is shown undarkened,
     and the words sit on their own ground at full contrast. */
  .hero-stack__media { position: relative; inset: auto; }
  .hero-stack__media img {
    height: auto; width: 100%;
    /* Taller again, which the close crop makes safe: she is centred in that
       file, so a portrait container trims backdrop off both sides evenly and
       never cuts into her. Full height of the shot is kept — a container
       taller than the 1.5625 source crops horizontally only. */
    aspect-ratio: 6 / 5;
    object-position: 50% 50%;
  }
  /* The full-bleed scrim existed only to make overlaid text readable. Nothing
     is overlaid now, and it covers the whole section — including the light
     copy block — so it has to go. */
  .hero-stack::after { display: none; }

  /* In its place, a soft vignette on the photograph alone, echoing the shadow
     the desktop scrim casts down its left edge. Same warm tint (55,44,40) as
     that gradient rather than a neutral black, so the two read as one idea —
     a cold grey over this warm image looks like dirt. Transparent across the
     middle 55% so her face is never touched, and topping out at .18 in the
     corners: enough to seat the image on the page, not enough to notice. */
  .hero-stack__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    /* farthest-corner matters: with an explicit ending shape (125% 95%) the
       image's own corners only sit ~70% of the way along the gradient, so the
       final stop never actually rendered — the corners were getting about .20
       when set to .34, which is why it read as invisible. farthest-corner puts
       the 100% stop exactly on the corners, so the value below is the value
       you see. */
    background: radial-gradient(ellipse farthest-corner at 50% 45%,
      rgba(55,44,40,0) 48%,
      rgba(55,44,40,.10) 76%,
      rgba(55,44,40,.30) 100%);
  }

  /* And light, not dark. The near-black ground was only ever there because
     white text sat on top of a photograph; once the words have their own block
     it just reads as a heavy slab bolted under the image. A warm off-white
     picks up the backdrop in the shot and runs into the white section below. */
  .hero-stack { background: var(--bg-alt); }
  .hero-stack__text { color: var(--ink-2); }
  .hero-stack h1 { color: var(--ink); }
  .hero-stack__lead { color: var(--ink-2); }
  .hero-stack .eyebrow { color: var(--gold-text); }

  /* The secondary button is white-on-transparent for the dark overlay; on a
     light ground it would vanish, so it becomes an outline instead. */
  .hero-stack .btn--light {
    background: transparent; color: var(--ink); border-color: var(--ink);
  }
  .hero-stack .btn--light:hover {
    background: var(--ink); color: #fff; border-color: var(--ink);
  }

  .hero-stack__text {
    min-height: 0; justify-content: flex-start;
    padding-block: clamp(30px, 7vw, 46px);
  }
  .hero-stack__text > *, .hero-stack h1 { max-width: none; }
  /* `auto` on the inline sides, not 0: this shorthand sits after the
     margin-inline:auto rule above and would otherwise reset it, leaving the
     gold rule stranded on the left while the copy around it is centred. */
  .hero-stack__rule { margin: 20px auto 22px; }
}

/* ---------- Scroll cue ----------
   "Scroll" set vertically down the right edge of the hero, a line, then a
   chevron. On desktop it sits above the scrim (which is z-index 1) so it is
   not dimmed along with the photograph.

   White throughout: the hero image is a light peach on both layouts, so white
   needs the drop-shadow to hold, but ink read as heavy against it. */
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  position: absolute; right: 34px; z-index: 3;
  pointer-events: none;
  transition: opacity .4s var(--ease);
  filter: drop-shadow(0 1px 5px rgba(25,30,35,.3));
  /* Anchored to the viewport, not the hero's foot. On desktop the hero can be
     taller than the screen — at 1000x700 it runs to 812px — and a cue pinned
     to its bottom edge lands below the fold, where a scroll hint is no use to
     anyone. 48vh keeps it on the first screenful; the calc() stops it running
     past the hero when the hero is short. */
  top: min(48vh, calc(100% - 210px));
}
.scroll-cue__label {
  writing-mode: vertical-rl;
  font-family: var(--sans); font-size: .84rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: #fff;
}
.scroll-cue__line {
  position: relative; width: 1px; height: 62px;
  background: rgba(255,255,255,.45); overflow: hidden;
}
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 40%;
  background: #fff;
  animation: scroll-cue 1.9s cubic-bezier(.5,0,.35,1) infinite;
}
/* Chevron, drawn from two borders on a rotated square — no icon file. */
.scroll-cue__arrow {
  width: 11px; height: 11px; margin-top: -5px;
  border-right: 1.6px solid #fff; border-bottom: 1.6px solid #fff;
  transform: rotate(45deg);
  animation: scroll-cue-arrow 1.9s cubic-bezier(.5,0,.35,1) infinite;
}
/* Set by main.js once the visitor scrolls — the hint has done its job. */
.scroll-cue.is-done { opacity: 0; }

@media (max-width: 900px) {
  /* On a phone the hero is a short stacked band, so anchoring to its foot is
     both simpler and always on screen. */
  .scroll-cue { right: 18px; top: auto; bottom: 26%; gap: 12px; }
  .scroll-cue__line { height: 54px; }
}

/* Travels most of the cycle, with only a short beat at the end. */
@keyframes scroll-cue {
  0%        { transform: translateY(-100%); }
  75%, 100% { transform: translateY(250%); }
}
@keyframes scroll-cue-arrow {
  0%, 55%   { transform: rotate(45deg) translate(0, 0); opacity: .75; }
  75%       { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
  100%      { transform: rotate(45deg) translate(0, 0); opacity: .75; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue__line::after { animation: none; height: 100%; opacity: .55; }
  .scroll-cue__arrow { animation: none; }
}

/* ---------- Grid ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
/* The six service photos in the home carousel are 3:2, and the 4:3 cover
   crop above sliced about a tenth off each side — enough to cut the BEFORE /
   AFTER labels off the keratin picture. Show them whole, at their own shape. */
.carousel__track .card__media { aspect-ratio: 3 / 2; }
.card__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .4em; }
.card__body p { font-size: .93rem; color: var(--ink-3); }
.card__body .btn-row { margin-top: auto; padding-top: 22px; }
.card__link {
  margin-top: auto; padding-top: 18px;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 500;
}
.card__link::after { content: " →"; }
/* The whole card is the click target, while staying a single link. */
a.card__link::before { content: ""; position: absolute; inset: 0; }
a.card__link { text-decoration: none; }
.card:hover a.card__link { color: var(--ink); }
/* Review attributions: bottom-aligned like .card__link but NOT a link,
   so no arrow — the arrow implied a click target that was never there. */
/* Google's own star yellow — these are Google reviews, so the colour is part
   of what makes them read as real rather than as decoration. */
/* Centred at every width: the row of stars is a small badge, and it sits
   above a quote that fills its card edge to edge — hugging the left edge
   left it looking stranded. */
.stars { display: flex; justify-content: center; gap: 4px; margin: 0 0 14px; }
/* fill is set here, not inherited via currentColor: `.card__body p` is the
   more specific selector and would repaint these grey. */
.stars svg { width: 19px; height: 19px; display: block; fill: #fbbc04; }

.quote__by {
  margin-top: auto; padding-top: 18px;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}

/* Feature (image + text) */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 68px); align-items: center; }
.feature__media img { width: 100%; border-radius: var(--radius); }
/* The 4:3 crop is scoped away from --natural rather than overridden with
   aspect-ratio:auto there: an author aspect-ratio:auto discards the ratio the
   browser derives from the img's width/height attributes, so the image had no
   height until it loaded and everything below it jumped. */
.feature__media:not(.feature__media--natural) img { aspect-ratio: 4 / 3; object-fit: cover; }
.feature--tall .feature__media img { aspect-ratio: 3 / 4; }
/* Image shown in full, at the file's own proportions — no crop. Also used on
   the six service photos: they are 3:2, and the default 4:3 cover crop sliced
   off their edges (the keratin before/after labels, for one). */
/* .feature__media--natural: no crop; the img keeps its own proportions (see above). */
/* A photograph presented as a print: a page-coloured border for the mount
   and the soft site shadow to lift it off the background. Used for the two
   empty-salon photographs (homepage front desk, book-online shampoo area).
   On a white section the border is invisible and the shadow alone marks the
   edge of the mount; on .section--alt the white mount shows against the
   warm off-white as well. */
/* A photograph that is also a link — the stylist portraits on the team page
   go to that stylist's booking page, the same place their Book button goes.
   The tap target is the whole picture; hover lifts it a touch so it reads as
   clickable, and keyboard focus gets the same outline as the buttons. */
.feature__media-link { display: block; border-radius: var(--radius); transition: transform .3s var(--ease); }
.feature__media-link:hover { transform: translateY(-2px); }
.feature__media-link:hover img { box-shadow: 0 1px 3px rgba(25,30,35,.08), 0 18px 40px rgba(25,30,35,.12); }
.feature__media-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.feature__media--framed img,
.credit-figure--framed img { border: 8px solid var(--bg); box-shadow: var(--shadow); }
@media (min-width: 860px) { .feature--flip .feature__media { order: 2; } }
/* Picture on the right. 901px rather than the 860px .feature--flip uses:
   below 901 this page is stacked by .feature--title-first, which deliberately
   orders the photo after the heading, and an `order: 2` from here would fight
   it. Nothing here touches the image itself — no stretch, no letterbox: the
   photograph carries its own near-white background, and any panel colour put
   behind it reads as a second shade of white. Column heights are balanced by
   moving copy below the fold instead, see .giftcard-detail. */
@media (min-width: 901px) {
  .feature--media-right .feature__media { order: 2; }
}
/* The two card types and the buy buttons sit under the picture, across the
   full width, rather than stacked in a tall left column beside a short one. */
.giftcard-detail { margin-top: clamp(30px, 4vw, 54px); }
/* Centred: the three Square links are the page's whole purpose, and against
   the two equal cards above them a left-aligned row read as a leftover. */
.giftcard-detail .btn-row { margin-top: clamp(26px, 3.5vw, 40px); justify-content: center; }
.giftcard-detail .form-note { margin-top: 14px; text-align: center; }
/* Where the copy column is much taller than the picture, centring leaves the
   image floating low in the row. Align it to the top of the text instead. */
@media (min-width: 860px) { .feature--align-top { align-items: start; } }

/* ---------- Team ---------- */
.stylist__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-alt); border-radius: var(--radius); }
.stylist__media a { display: block; width: 100%; height: 100%; cursor: pointer; }
.stylist__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s var(--ease); }
.card:hover .stylist__media a img { transform: scale(1.04); }
.stylist__role {
  font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-text); margin: 0 0 .9em;
}
/* What they do, under who they are. .stylist__role used to carry this list on
   the team page while meaning "job title" everywhere else; splitting them lets
   the role read the same on the team page, the booking cards and Gil's entry.
   Kept quieter than the gold title so the two lines do not compete. */
.stylist__skills {
  font-size: .85rem; color: var(--ink-3);
  margin: -.5em 0 1.2em;
}

/* ---------- Stylist cards on Book Online ----------
   Name, services and button all centred on the card's axis. The services
   are a real list rather than a comma run: at card width the commas wrapped
   mid-phrase and read as one long sentence instead of a set of options. */
.card--stylist .card__body { text-align: center; align-items: center; }
.card--stylist .card__body .btn-row { justify-content: center; }
.svc-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 5px;
  font-size: .93rem; color: var(--ink-3);
}
/* Service icons. The salon app has no line-art icon set to borrow — its
   calendar renders SERVICE_EMOJIS (scissors / sparkles / palette) at small
   size — so these are drawn to match the site: 24px line art, thin strokes.
   Applied as a CSS mask rather than an <img>, so each icon takes its colour
   from the stylesheet and can be restyled in one place. The key lives on a
   data-svc attribute, leaving the label text clean for anything reading it. */
/* ---------- Collapsible service list (book-online) ----------
   A native <details> rather than a scripted toggle: it opens with keyboard and
   screen readers for free, works with JS off, and the <li> text stays in the
   DOM while closed — which matters because the consultation dialog reads these
   exact strings to match stylists to services. */
.svc-fold { margin: 4px 0 2px; }
.svc-fold summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); padding: 6px 2px;
  transition: color .2s var(--ease);
}
.svc-fold summary::-webkit-details-marker { display: none; }
.svc-fold summary:hover, .svc-fold summary:focus-visible { color: var(--gold); }
/* Chevron drawn from a rotated corner, so it needs no icon file. */
.svc-fold summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.svc-fold[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
/* Each card sizes to its own content. A grid stretches every item in a row to
   the tallest by default, so opening one stylist’s list pushed all four cards
   to the new height and left the other three with a tall empty gap under the
   summary and their Book button shoved down the page. Opening a fold should
   only ever move the card it is in. */
.grid--stylists { align-items: start; }
.svc-fold .svc-list { margin-top: 10px; }
/* Gil takes consultations rather than bookable services, so his card folds a
   line of explanation away behind the same control instead of a list. Without
   this the four cards ran to different heights, and his was the odd one out. */
.svc-fold__note { margin: 10px 0 0; font-size: .9rem; color: var(--ink-3); }

.svc-list li[data-svc] { display: flex; align-items: center; gap: .55em; }
.svc-list li[data-svc]::before {
  content: ""; flex: none;
  width: 1.05em; height: 1.05em;
  background: var(--gold);
  -webkit-mask: var(--svc-icon) center / contain no-repeat;
          mask: var(--svc-icon) center / contain no-repeat;
}
.svc-list li[data-svc="cuts"] { --svc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2218%22%20r%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2218%22%20r%3D%222.6%22%2F%3E%3Cpath%20d%3D%22M7.8%2016.2%2019%203.5M16.2%2016.2%205%203.5%22%2F%3E%3C%2Fsvg%3E"); }
.svc-list li[data-svc="blowouts"] { --svc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%207.5h9a4%204%200%200%201%200%208h-9z%22%2F%3E%3Cpath%20d%3D%22M7%2015.5v4%22%2F%3E%3Cpath%20d%3D%22M17%2011.5h3.5%22%2F%3E%3Cpath%20d%3D%22M16.5%208l3-1.5M16.5%2015l3%201.5%22%2F%3E%3C%2Fsvg%3E"); }
.svc-list li[data-svc="color"] { --svc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.5c3.2%203.6%205.5%206.4%205.5%209.1a5.5%205.5%200%200%201-11%200c0-2.7%202.3-5.5%205.5-9.1Z%22%2F%3E%3C%2Fsvg%3E"); }
.svc-list li[data-svc="highlights"] { --svc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%204.5v15M12%204.5v15M18%204.5v15%22%2F%3E%3Cpath%20d%3D%22M4.2%209.5h3.6M10.2%2013h3.6M16.2%207.5h3.6%22%2F%3E%3C%2Fsvg%3E"); }
.svc-list li[data-svc="balayage"] { --svc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2019.5c3.5-1%205.5-3.5%206.8-6.6%201.3-3.1%202.2-6.4%205.2-8.4%22%2F%3E%3Cpath%20d%3D%22M16%204.5c1.6-.9%203%20.3%203.4%201.6.5%201.6-.4%203-1.9%203.6%22%2F%3E%3Cpath%20d%3D%22M4%2019.5c-.6.2-1.2.1-1.5-.4%22%2F%3E%3C%2Fsvg%3E"); }
.svc-list li[data-svc="keratin"] { --svc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%208c2-2%204-2%206%200s4%202%206%200%204-2%205%200%22%2F%3E%3Cpath%20d%3D%22M3.5%2013c2-2%204-2%206%200s4%202%206%200%204-2%205%200%22%2F%3E%3Cpath%20d%3D%22M3.5%2018c2-2%204-2%206%200s4%202%206%200%204-2%205%200%22%2F%3E%3C%2Fsvg%3E"); }
.svc-list li[data-svc="makeup"] { --svc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%209.5h6v11H9z%22%2F%3E%3Cpath%20d%3D%22M10.5%209.5V5.2a1.7%201.7%200%200%201%203%200V9.5%22%2F%3E%3Cpath%20d%3D%22M9%2013.5h6%22%2F%3E%3C%2Fsvg%3E"); }.stylist__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- "Meet the team" invitation (careers) ----------
   Faces rather than a text link: someone deciding whether to apply is really
   asking who they would be working with, and four overlapping headshots answer
   that faster than a sentence does. Avatars are 160px crops (~3-4KB each), not
   the full team portraits, which are 150-250KB apiece. */
.team-peek {
  display: flex; align-items: center; gap: 18px;
  margin-top: 34px; padding: 18px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-alt);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.team-peek:hover, .team-peek:focus-visible {
  border-color: var(--gold); transform: translateY(-2px);
}
.team-peek__faces { display: flex; flex: none; }
.team-peek__faces img {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--bg-alt);
  margin-left: -12px;
}
.team-peek__faces img:first-child { margin-left: 0; }
.team-peek__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.team-peek__lead {
  font-family: var(--serif); font-size: 1.02rem; color: var(--ink); line-height: 1.3;
}
.team-peek__cta {
  font-size: .72rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
}
.team-peek__cta::after { content: " \2192"; }

@media (max-width: 700px) {
  .team-peek { flex-direction: column; gap: 14px; text-align: center; }
  .team-peek__text { align-items: center; }
}

/* ---------- Price list ---------- */
.pricegroup + .pricegroup { margin-top: clamp(44px, 6vw, 76px); }
.pricegroup__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 6px; }
.pricegroup__head h2 { margin: 0; }
.pricegroup__sub { color: var(--gold-text); font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; }
.pricelist { list-style: none; margin: 22px 0 0; padding: 0; }
.pricelist li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.pricelist .name { color: var(--ink); text-align: left; }
/* Phones centre body copy (see the header-centring block), but a price list
   is a table: names flush left, prices flush right, whatever the width. */
.pricelist li { text-align: left; }
.pricelist .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.pricelist .price { color: var(--ink); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { font-size: .82rem; color: var(--ink-3); margin-top: 14px; font-style: italic; }
/* Appointment length beside a service name. Only rows whose hands-on time is
   the whole appointment carry one; color rows get a group note instead,
   because the app's figure for those excludes processing and would mislead. */
.pricelist .dur { font-size: .74rem; color: var(--ink-3); font-weight: 300; margin-left: 8px; white-space: nowrap; letter-spacing: .01em; }
.pricelist .dur::before { content: "\00b7"; margin-right: 8px; color: var(--line); }

/* ---------- House rules (services, booking) ----------
   A definition list rather than an FAQ accordion: every rule is meant to be
   read in one pass, not searched for. Two columns where there is room. */
.rules { margin: 34px 0 0; display: grid; gap: 26px 40px; }
@media (min-width: 720px) { .rules { grid-template-columns: 1fr 1fr; } }
.rules > div { display: grid; gap: 6px; }
.rules dt { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); }
.rules dd { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.65; }
.rules--compact { margin-top: 22px; gap: 16px 32px; }
.rules--compact dt { font-size: 1rem; }
.rules--compact dd { font-size: .9rem; }

/* ---------- First visit, as numbered steps (booking page) ----------
   Numbered because it is a sequence: consultation, parking, arrival, the
   chair, the time, the fix. */
.visit-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: visit; }
.visit-steps li { position: relative; padding-left: 52px; color: var(--ink-2); line-height: 1.65; counter-increment: visit; }
.visit-steps li::before {
  content: counter(visit); position: absolute; left: 0; top: .1em;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-size: .95rem; color: var(--gold);
}
.visit-steps strong { color: var(--ink); font-weight: 500; }
.visit-steps a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

/* ---------- Drive times (contact) ----------
   Real town names in real sentences, with a minutes column. */
.areas { margin-top: 26px; }
.areas h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.areas > p { color: var(--ink-2); font-size: .95rem; }
.areas__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 24px; }
.areas__list li { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.areas__list li span:last-child { color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- What the first conversation covers (careers) ---------- */
.terms { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 12px; }
.terms li { padding-left: 22px; position: relative; color: var(--ink-2); line-height: 1.6; }
.terms li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.terms strong { color: var(--ink); font-weight: 500; }

/* ---------- Accordion (FAQ) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1rem, 1.7vw, 1.14rem); color: var(--ink); line-height: 1.45;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 32px;
  width: 11px; height: 11px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 36px; }
.faq .faq__body { padding: 0 40px 26px 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- Contact page: quick answers + message form ----------
   The FAQ is folded into the contact column. A search box filters the
   compact list; the message form watches what is typed and offers
   the related questions under the textarea. The whole thing is there to give
   someone their answer at the moment they are about to write, and never to
   stop them writing: the form stays open and the send button never moves. */
.faq--compact summary { padding: 14px 40px 14px 0; font-size: clamp(.95rem, 1.35vw, 1.02rem); line-height: 1.4; }
.faq--compact summary::after { top: 20px; width: 9px; height: 9px; }
.faq--compact details[open] summary::after { top: 23px; }
.faq--compact .faq__body { padding: 0 32px 18px 0; font-size: .92rem; }
.quick-answers__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: .45em; }
.quick-answers__head h3 { margin-bottom: 0; }
.quick-answers__head .btn { flex-shrink: 0; }
/* The list starts empty and fills only with matches as people search; the
   nine questions are never shown whole here (the FAQ page does that). */
.faq--compact[data-faq] { margin-top: 14px; }
.faq--compact[data-faq] details[hidden] { display: none; }
.faq--compact[data-faq]:not(:has(details:not([hidden]))) { display: none; }

.faq-search { position: relative; }
.faq-search__icon {
  position: absolute; left: 15px; top: 50%; width: 17px; height: 17px;
  transform: translateY(-50%); color: var(--ink-3); pointer-events: none;
}
.faq-search__input {
  font: inherit; font-size: .95rem; color: var(--ink); width: 100%;
  padding: 13px 15px 13px 42px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.faq-search__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.13); }
.faq-search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.faq-empty { font-size: .9rem; color: var(--ink-2); margin: 16px 0 0; padding: 14px 18px; border-left: 2px solid var(--gold); background: var(--bg-alt); }
.contact-form__title { margin-top: 46px; }

/* Related answers under the textarea. Placed below, not above, so the box
   being typed in never jumps. Hidden until there is something to show, and a
   small close puts it away. */
.faq-hint {
  position: relative; border-left: 2px solid var(--gold); background: var(--bg-alt);
  padding: 16px 20px 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
}
.faq-hint__close {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
  border: 0; background: transparent; color: var(--ink-3); font-size: .8rem; cursor: pointer; border-radius: 50%;
}
.faq-hint__close:hover { color: var(--ink); background: rgba(0,0,0,.05); }
.faq-hint__label {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 4px;
}
.faq-hint .faq { border-top: 0; }
.faq-hint .faq details { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-hint .faq details:last-of-type { border-bottom: 0; }
.faq-hint .faq summary { padding: 11px 36px 11px 0; font-size: .98rem; }
.faq-hint .faq summary::after { top: 16px; right: 4px; width: 8px; height: 8px; }
.faq-hint .faq details[open] summary::after { top: 19px; }
.faq-hint .faq .faq__body { padding: 0 28px 14px 0; font-size: .9rem; }
.faq-hint__foot { font-size: .8rem; color: var(--ink-3); margin: 10px 0 0; }

/* ---------- Info / hours ---------- */
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.hours li:last-child { border-bottom: 0; }
.hours .day { color: var(--ink-3); }
.hours .time { color: var(--ink); }
.hours li[data-today="true"] { font-weight: 500; }
.hours li[data-today="true"] .day, .hours li[data-today="true"] .time { color: var(--gold-text); }

.infobox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.infobox h3 { margin-bottom: .8em; }
.address { font-style: normal; line-height: 1.9; }
.address a:hover { color: var(--gold); }

/* ---------- Press strip ---------- */
/* Centred on its own line above the logos. Without a label the strip was
   bare marks with nothing saying what they meant — featured in, or stocked
   here? Deliberately undated: the features ran during the Madison Avenue
   years and the exact years are not on record, so any date here would be a
   guess presented as a fact. */
.press__label { text-align: center; margin-bottom: clamp(20px, 3vw, 32px); }
.press { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 68px); }
.press img { height: clamp(38px, 5.6vw, 58px); width: auto; opacity: .85; transition: opacity .3s var(--ease); }
.press img:hover { opacity: 1; }
/* Four marks need a little more room on the narrowest phones, or the
   last one is orphaned on a third row. */
@media (max-width: 355px) { .press { gap: 20px; } .press img { height: 34px; } }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border: 1px solid var(--gold); color: var(--gold);
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: .9rem;
}
.steps h4 { margin-bottom: .25em; }
.steps p { font-size: .93rem; color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-deep); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 54ch; margin-inline: auto; }
.cta-band .eyebrow { color: var(--gold-soft); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: grid; gap: 7px; }
.field label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.13);
}
.field .req { color: var(--gold); }
.form-note { font-size: .82rem; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; }
/* What the form says while and after it sends (assets/js/forms.js). The
   status line sits just above the button; on success the whole form is
   swapped for the thank-you block so it cannot be sent twice. */
.form-status { margin: 0; font-size: .88rem; color: var(--ink-3); min-height: 0; }
.form-status:empty { display: none; }
.form-status--error { color: #a8542b; }
.form button[disabled] { opacity: .6; cursor: default; }
.form-done { padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form-done h3 { margin: 0 0 10px; }
.form-done p { margin: 0; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: rgba(255,255,255,.68); font-size: .9rem; }
.footer a { color: rgba(255,255,255,.68); transition: color .2s var(--ease); }
.footer a:hover { color: var(--gold-soft); }
.footer__grid {
  display: grid; gap: clamp(32px, 5vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-block: clamp(48px, 7vw, 76px);
}
.footer h3 {
  color: #fff; font-family: var(--sans); font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.4em; font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
/* The footer uses logo-transparent.png, NOT logo.png. The filter crushes the
   artwork to black and inverts it to white, which only works on a file with a
   real alpha channel: an opaque logo turns into a solid white rectangle, and a
   file whose letter counters are opaque comes out with the holes filled in.
   The header uses the same transparent file: logo.png is opaque with an
   off-white (#fdfdfd) background, which showed as a faint box on the white
   header. logo.png is kept only for the schema/og image references. */
/* The footer ships the white-on-transparent logo file, so no filter is needed. */
.footer__logo { width: 180px; margin-bottom: 20px; opacity: .85; }
.footer__slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: .86rem;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--gold-soft);
  margin: 0 0 10px;
}
.footer__since { font-size: .82rem; max-width: 180px; color: rgba(255,255,255,.5); margin: 0; }
.footer .hours li { border-bottom-color: rgba(255,255,255,.1); font-size: .88rem; }
.footer .hours .day { color: rgba(255,255,255,.5); }
.footer .hours .time { color: rgba(255,255,255,.85); }
.footer .hours li[data-today="true"] .day,
.footer .hours li[data-today="true"] .time { color: var(--gold-soft); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 26px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.footer__social { display: flex; gap: 18px; }
/* Design credit: its own line under the bottom bar, centred. Deliberately
   faint: there for anyone who goes looking for it, unnoticed by everyone
   else. Hover and focus bring it up to readable, so it is still a usable link. */
.footer__credit { text-align: center; padding-bottom: 20px; margin-top: -8px; font-size: .72rem; letter-spacing: .06em; }
.footer__credit a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .25s var(--ease); }
.footer__credit a:hover, .footer__credit a:focus-visible { color: rgba(255,255,255,.7); }

/* ---------- Footer on phones ----------
   The grid is auto-fit minmax(220px, 1fr) over four columns. Around 500-620px
   that resolves to two columns of ~230px, which is too narrow for the hours
   rows — "9:30 AM — 6:00 PM" wraps onto a second line and the whole block
   reads as a mess. Below 700px go to a single column and centre it, matching
   the rest of the site on mobile. */
@media (max-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer__logo { margin-inline: auto; }
  /* nowrap would otherwise push this past the screen edge on a small phone. */
  .footer__slogan { white-space: normal; }
  .footer__since { max-width: none; margin-inline: auto; }
  .footer .topbar__status { justify-content: center; }

  /* The hours stay as day-left / time-right rows — that pairing is the whole
     point of the table — but constrained to a readable measure and centred as
     a block, with the time never breaking mid-range. */
  .footer .hours {
    max-width: 320px; margin-inline: auto; text-align: left;
  }
  .footer .hours .time { white-space: nowrap; }

  .footer address { text-align: center; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__social { justify-content: center; }
}

/* ---------- Button grid (careers) ----------
   Four actions in a wrapping flex row came out as two ragged lines of
   different widths. A grid gives every button the same size and makes the
   second row deliberate rather than the result of a wrap: two columns, one on
   a phone. Icons sit left of the label as a CSS mask, so they take the
   button's own colour and invert with it on the solid one. */
.btn-grid {
  display: grid; gap: 12px; margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}
.btn-grid .btn {
  width: 100%; justify-content: flex-start;
  gap: .7em; padding-inline: 20px;
}
.btn-grid .btn::before {
  content: ""; flex: none;
  width: 1.05em; height: 1.05em;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
}
@media (max-width: 560px) {
  .btn-grid { grid-template-columns: 1fr; max-width: none; }
}

/* The careers masthead, centred. Left-aligned it read ragged: a 520px button
   grid and a full-width team card inside an 820px column gave three different
   right edges. Centring makes the block deliberate. It stops at the team card
   — the paragraphs below stay left above 900px, because four centred body
   paragraphs at this measure are hard to read. (Below 900 the sitewide
   `.stack { text-align: center }` rule centres them too, which is the phone
   layout the design already assumes.)
   Deliberately not inside a media query: the button grid needs its auto
   margins at every width, or between 561 and 900px it would sit left while
   the text around it is centred. */
.intro-center > .eyebrow,
.intro-center > h2,
.intro-center > .lead { text-align: center; }
.intro-center > .lead { margin-inline: auto; }
.intro-center > .btn-grid { margin-inline: auto; }
/* The card keeps its full width — it is the clean horizontal edge between the
   centred masthead and the copy below — but its contents centre with
   everything above them. Below 700px it turns column, where this is inert. */
.intro-center > .team-peek { justify-content: center; }

.btn-grid .btn[data-i="apply"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203.5h8a1.5%201.5%200%200%201%201.5%201.5v14a1.5%201.5%200%200%201-1.5%201.5H8A1.5%201.5%200%200%201%206.5%2019V5A1.5%201.5%200%200%201%208%203.5Z%22%2F%3E%3Cpath%20d%3D%22M9.5%208h5M9.5%2011.5h5M9.5%2015h3%22%2F%3E%3C%2Fsvg%3E"); }
.btn-grid .btn[data-i="call"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.5%2016.4v2.3a1.6%201.6%200%200%201-1.8%201.6%2015.6%2015.6%200%200%201-6.8-2.4%2015.4%2015.4%200%200%201-4.7-4.7A15.6%2015.6%200%200%201%204.8%206.3%201.6%201.6%200%200%201%206.4%204.5h2.3a1.6%201.6%200%200%201%201.6%201.4c.1.8.3%201.5.6%202.2a1.6%201.6%200%200%201-.4%201.7l-1%201a12.6%2012.6%200%200%200%204.7%204.7l1-1a1.6%201.6%200%200%201%201.7-.4c.7.3%201.4.5%202.2.6a1.6%201.6%200%200%201%201.4%201.7Z%22%2F%3E%3C%2Fsvg%3E"); }
.btn-grid .btn[data-i="email"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225.5%22%20width%3D%2218%22%20height%3D%2213%22%20rx%3D%221.6%22%2F%3E%3Cpath%20d%3D%22m3.6%206.6%208.4%206%208.4-6%22%2F%3E%3C%2Fsvg%3E"); }
.btn-grid .btn[data-i="refer"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020.5s-7.2-4.3-7.2-9.2a4%204%200%200%201%207.2-2.4%204%204%200%200%201%207.2%202.4c0%204.9-7.2%209.2-7.2%209.2Z%22%2F%3E%3C%2Fsvg%3E"); }

/* ---------- Dialog panels: referral (careers), drive times (contact) ----------
   A native <dialog>: Escape closes it, focus is trapped and returned, and the
   backdrop comes free — none of which needs to be reimplemented. .referral is
   the original; .dialog-panel is the same panel for any other content. */
.referral, .dialog-panel {
  width: min(460px, calc(100vw - 32px));
  padding: clamp(28px, 5vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink-2);
  box-shadow: 0 24px 70px rgba(16,19,23,.28);
  text-align: center;
  /* The close button is absolutely positioned. A modal <dialog> is already a
     positioned box, but say so explicitly rather than relying on the UA
     stylesheet to keep the X inside the panel. */
  position: relative;
}
.referral::backdrop, .dialog-panel::backdrop { background: rgba(16,19,23,.55); }
.referral h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: .35em; }
.referral__amount {
  font-family: var(--serif); font-size: clamp(2.4rem, 7vw, 3.2rem);
  color: var(--gold); line-height: 1; margin: .1em 0 .5em;
}
.referral__close, .dialog-panel__close {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink-3);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.referral__close:hover, .referral__close:focus-visible,
.dialog-panel__close:hover, .dialog-panel__close:focus-visible {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
/* One column of equal-width buttons rather than a wrapped flex row, which
   gave two different widths on two ragged lines inside a 460px panel. */
/* 1fr, not auto: the sitewide mobile rule centres .btn-row, which on a grid
   shrinks auto columns to their content and gave two narrow buttons on a
   phone. A single 1fr column leaves nothing to centre. */
.referral .btn-row { margin-top: 26px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.referral .btn-row .btn { width: 100%; }
/* A left-aligned, slightly wider panel for list content such as the drive
   times, which read as a table rather than an announcement. */
.dialog-panel--left { text-align: left; width: min(540px, calc(100vw - 32px)); }
.dialog-panel h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 0 0 .3em; }
.dialog-panel > p { font-size: .95rem; }
.dialog-panel .areas__list { margin-top: 16px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.1em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

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

/* ---------- Chat assistant ---------- */
.chat { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 200; }

.chat__launch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  border-radius: 999px; cursor: pointer; box-shadow: var(--shadow);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.chat__launch:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-1px); }
.chat__launch-icon { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-soft); }
.chat__launch:hover .chat__launch-icon { background: #fff; }
.chat.is-open .chat__launch { display: none; }

.chat__panel {
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(25,30,35,.18);
}
.chat__panel[hidden] { display: none; }

.chat__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; background: var(--bg-deep); color: #fff;
}
.chat__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
/* The two-tone "gf" mark, flattened to white the same way the footer logo is. */
.chat__mark { width: 38px; height: auto; flex: 0 0 auto; filter: brightness(0) invert(1); opacity: .92; }
.chat__head strong { display: block; font-family: var(--serif); font-size: .98rem; font-weight: 400; }
.chat__head span { display: block; font-size: .76rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.chat__close {
  background: none; border: 0; color: rgba(255,255,255,.7);
  font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px;
}
.chat__close:hover { color: #fff; }

.chat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }

.chat__msg {
  max-width: 85%; padding: 11px 14px; border-radius: 14px;
  font-size: .9rem; line-height: 1.55; white-space: pre-wrap;
}
.chat__msg--bot  { align-self: flex-start; background: var(--bg-alt); color: var(--ink-2); border-bottom-left-radius: 4px; }
.chat__msg--user { align-self: flex-end;  background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
/* Typing indicator: three dots rising in turn, the same cue a messaging app
   gives while a reply is on its way. It sits in a bot bubble so it appears
   exactly where the answer will land. With reduced motion the dots still
   show, they just stop bouncing. */
.chat__msg--typing { display: flex; align-items: center; gap: 5px; padding: 15px 16px; }
.chat__msg--typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3);
  animation: chat-dot 1.2s infinite ease-in-out;
}
.chat__msg--typing span:nth-child(2) { animation-delay: .18s; }
.chat__msg--typing span:nth-child(3) { animation-delay: .36s; }
@keyframes chat-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .chat__msg--typing span { animation: none; opacity: .6; } }

.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat__input {
  flex: 1; min-width: 0; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: .9rem; color: var(--ink-2); background: #fff;
}
.chat__input:focus { outline: none; border-color: var(--gold); }
.chat__input:disabled { background: var(--bg-alt); }
.chat__send {
  padding: 11px 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--radius); cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.chat__send:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); }
.chat__send:disabled { opacity: .45; cursor: default; }

.chat__foot { margin: 0; padding: 0 14px 14px; font-size: .72rem; line-height: 1.5; color: var(--ink-3); }
.chat__foot a { color: var(--gold); }

/* iOS zooms the whole page when a focused field's type is under 16px, which
   is what made the open chat look broken on a phone. 16px everywhere the
   visitor types; the message bubbles can stay a touch smaller. */
@media (max-width: 640px) {
  .chat__input { font-size: 16px; }
}
/* Phones: the open chat is a full-screen sheet, not a floating card. A card
   lost most of its height to the keyboard and left the page scrolling
   underneath it. */
@media (max-width: 640px) {
  .chat { right: 12px; bottom: 12px; }
  .chat__launch { padding: 12px 18px; }
  .chat.is-open {
    inset: 0; right: 0; bottom: 0;
    height: 100vh; height: 100dvh;
  }
  .chat.is-open .chat__panel {
    width: 100%; height: 100%;
    border: 0; border-radius: 0; box-shadow: none;
    padding-top: env(safe-area-inset-top);
  }
  .chat__head { padding: 14px 16px; }
  .chat__log { padding: 14px; }
  .chat__msg { max-width: 88%; }
  .chat__form { padding: 10px 12px; }
  .chat__foot { padding: 0 12px calc(10px + env(safe-area-inset-bottom)); font-size: .68rem; }
  /* The page behind stays put, and the Book/Call bar gets out of the way. */
  body.chat-open { overflow: hidden; }
  /* Pinned outright while the chat is open on a phone: overflow alone does
     not stop iOS Safari sliding the page up for the keyboard. chat.js sets
     `top` to the scroll position so nothing visibly jumps, and restores the
     scroll on close. */
  body.chat-lock { position: fixed; left: 0; right: 0; width: 100%; }
  /* The sheet's box is set from the visual viewport by chat.js while the
     keyboard is up; the transform keeps it flush with the visible top. */
  .chat.is-open .chat__panel { transform-origin: top left; }
  body.chat-open .book-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .chat__launch { transition: none; }
  .chat__launch:hover { transform: none; }
}

/* ---------- Social icons ---------- */
.social { display: inline-flex; align-items: center; gap: 14px; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  color: inherit; opacity: .72; transition: opacity .2s var(--ease), color .2s var(--ease);
}
.social__link svg { width: 17px; height: 17px; display: block; }
.social__link:hover { opacity: 1; color: var(--gold-soft); }

/* in the dark topbar, sitting beside the phone number */
.topbar__contact .social { margin-left: 20px; }
.topbar__contact .social__link { width: 22px; height: 22px; }
.topbar__contact .social__link svg { width: 15px; height: 15px; }

.footer__social .social { gap: 16px; margin-right: 4px; }
.footer__social .social__link:hover { color: var(--gold-soft); }

/* ---------- Mobile: tidy the topbar, move the rest into the menu ---------- */
.nav__extra { display: none; }

@media (max-width: 1000px) {
  /* One line at the very top: the phone on the left, the social links on the
     right, mirroring the desktop bar. The hours move into the menu. The icons
     used to be menu-only on phones, which hid them behind a tap; here they
     are on the first screen of every page. Larger targets than the desktop
     bar's 22px: these are pressed with a thumb. */
  .topbar__inner { min-height: 40px; }
  .topbar__inner > .topbar__status { display: none; }
  .topbar__contact { flex: 1; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: nowrap; }
  .topbar__contact > a { white-space: nowrap; }
  .topbar__contact .social { margin-left: 0; gap: 6px; color: #fff; }
  .topbar__contact .social__link { width: 32px; height: 32px; opacity: .92; }
  .topbar__contact .social__link svg { width: 18px; height: 18px; }
  /* 320px screens: the phone line and four 32px targets are wider than the
     row. Smaller targets, no gap, and a narrower gutter on the bar alone. */
  @media (max-width: 350px) {
    .topbar .wrap { padding-inline: 12px; }
    .topbar__contact { gap: 8px; }
    .topbar__contact .social { gap: 0; }
    .topbar__contact .social__link { width: 26px; height: 26px; }
    .topbar__contact .social__link svg { width: 16px; height: 16px; }
  }

  /* The drawer is a flex column, so dissolving this wrapper lets its three
     children be ordered independently: the open/closed status goes to the top
     where it answers the first question anyone has, while the phone and social
     links stay at the foot. The wrapper's own separator moves onto the phone,
     which is now the first of the two that remain below. */
  .nav__extra { display: contents; }
  /* A quiet line of welcome at the head of the drawer, in the serif the
     headings use — the same voice as "ask what your hair can do for you" in
     the footer, and Gil's line that it is all about the person. */
  .nav__greeting {
    order: -3; width: 100%;
    font-family: var(--serif); font-style: italic;
    font-size: 1.06rem; line-height: 1.3;
    color: var(--gold); margin: 0 0 16px;
    letter-spacing: 0; text-transform: none;
  }

  /* The drawer's own close control, in its top-right corner. It belongs to
     the panel rather than floating over it from the header behind. */
  .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px; padding: 0;
    background: none; border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 1.05rem; line-height: 1; color: var(--ink);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  }
  .nav-close:hover, .nav-close:focus-visible {
    background: var(--ink); border-color: var(--ink); color: #fff;
  }

  /* Opening days sit above the live open/closed line: the two answer
     different questions — "are you open right now" and "when are you open at
     all" — and the second is what someone browsing in the evening wants. */
  .nav__days {
    order: -2; width: 100%;
    font-size: .82rem; letter-spacing: .04em; color: var(--ink);
    margin: 0 0 4px; text-transform: none; font-weight: 500;
  }
  .nav__hours {
    order: -1; width: 100%;
    font-size: .82rem; letter-spacing: .04em; color: var(--ink-3);
    margin: 0 0 20px; padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    text-transform: none;
  }

  /* Call Now: the drawer's one button, under the links. Outlined rather than
     solid so it does not compete with the booking bar along the bottom of the
     screen. `order: 1` puts it after the links, which sit at the default 0. */
  /* `.nav .nav__phone`, not `.nav__phone`: `.nav .btn` above paints every
     button in the drawer solid ink, and a single class loses to it. */
  .nav .nav__phone {
    order: 1; width: 100%; margin-top: 22px;
    background: transparent; color: var(--ink); border-color: var(--ink);
  }
  .nav .nav__phone:hover, .nav .nav__phone:focus-visible {
    background: var(--ink); color: #fff; border-color: var(--ink);
  }

  /* Social keeps the separator that used to sit on the phone link. */
  .nav__extra .social {
    order: 11; width: 100%;
    margin-top: 26px; padding-top: 22px;
    border-top: 1px solid var(--line);
  }
  .nav__extra .social { gap: 20px; color: var(--ink-2); }
  .nav__extra .social__link { width: 30px; height: 30px; opacity: .8; }
  .nav__extra .social__link svg { width: 20px; height: 20px; }
  .nav__extra .social__link:hover { color: var(--gold); opacity: 1; }
}

/* The chat launcher sits above the header, so hide it while the mobile menu
   is open — otherwise it lands on top of the social icons in the drawer.
   The scrim precedes .chat in the body, so the sibling combinator reaches it. */
.nav-scrim[data-open="true"] ~ .chat { display: none; }

/* ---------- Book bar (phones only) ----------
   The header cannot stick (overflow-x:hidden on html/body defeats it) and at
   108px tall it should not on a phone anyway. This is the alternative: a thin
   fixed bar with the two actions that matter, Book and Call, shown under 720px.
   Most salon bookings happen on a phone and a good share after hours, so the
   Book action should never be more than a thumb away. The chat launcher moves
   up to sit above it, and the drawer hides it. */
.book-bar { display: none; }
@media (max-width: 720px) {
  .book-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 1px;
    background: var(--line); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .book-bar a {
    display: grid; place-items: center; min-height: 52px;
    font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
    text-decoration: none;
  }
  .book-bar__book { background: var(--ink); color: #fff; }
  .book-bar__call { background: #fff; color: var(--ink); }
  .book-bar a:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
  /* /tip carries no bar (nor chat), so it gets its bottom edge back. */
  body.no-book-bar { padding-bottom: env(safe-area-inset-bottom); }
  .chat { bottom: calc(52px + 12px + env(safe-area-inset-bottom)); }
  .nav-scrim[data-open="true"] ~ .book-bar { display: none; }
}

/* ---------- Tip page ----------
   /tip is the address our NFC chips point at, so it has to work first-try on a
   phone held at the front desk: one large, tappable card per person, centred,
   wrapping to a single column on small screens. The portraits run at their own
   aspect ratio rather than cropped to a circle — all five share the same shape,
   so the cards still line up. */
/* Cards are tall on a phone, so the first one fills the screen and there is
   nothing to say four more people are below. This points down until you go. */
.tip-scroll {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: -8px 0 clamp(28px, 4vw, 40px);
  font-size: clamp(.84rem, 2.6vw, .95rem); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.tip-scroll svg { width: 32px; height: 32px; stroke-width: 1.5; animation: tip-bob 1.9s var(--ease) infinite; }
@keyframes tip-bob {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .tip-scroll svg { animation: none; } }
.tip-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(20px, 3vw, 30px);
  list-style: none; margin: 0 auto; padding: 0;
  /* Three across at most, so five people read as 3 + 2 centred rather than
     a row of four with one card stranded underneath. */
  max-width: 1020px;
}
.tip-card {
  flex: 0 1 320px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tip-card__photo { display: block; width: 100%; height: auto; background: var(--bg-alt); }
/* The photo is a link to the same Venmo page as the button: on a phone the
   picture is the biggest thing on the card, and people tap it first. */
.tip-card__photo-link { display: block; cursor: pointer; }
.tip-card__photo-link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.tip-card__body {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(22px, 3vw, 28px) 24px clamp(24px, 3vw, 30px);
}
.tip-card h3 { margin-bottom: .35em; }
.tip-card__role {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); line-height: 1.7;
}
.tip-card__meta { font-size: .85rem; color: var(--ink-3); line-height: 1.8; margin-top: 12px; }
.tip-card__meta strong { color: var(--ink); }
.tip-card .btn { margin-top: auto; width: 100%; }
.tip-card__pad { margin-top: 22px; }
/* The whole card is the tap target — photo, name and button all open Venmo —
   while staying a single link, the same trick .card__link uses. */
.tip-card .btn::before { content: ""; position: absolute; inset: 0; }
.tip-card:hover .btn { background: var(--gold); border-color: var(--gold); }
/* Phones are where this page actually gets used, so below the two-column
   breakpoint the card fills the column and the portrait goes as large as the
   screen allows. */
@media (max-width: 720px) {
  .tip-card { flex-basis: 100%; max-width: none; }
  .tip-grid { gap: 26px; }
}
/* Fallback for anyone who taps the chip without Venmo installed. Deliberately
   quieter than the tip cards — it is a detour, not the main path. */
.tip-getapp {
  max-width: 540px; margin: clamp(40px, 6vw, 64px) auto 0;
  text-align: center; padding: clamp(26px, 4vw, 34px) 24px clamp(28px, 4vw, 36px);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
}
.tip-getapp h3 { margin-bottom: .45em; }
.tip-getapp p { font-size: .9rem; color: var(--ink-3); max-width: 40ch; margin-inline: auto; }
.tip-getapp .btn-row { margin-top: 24px; justify-content: center; }


/* ---------- Per-stylist price popup (services page) ----------
   Only rows whose price actually differs between stylists get the affordance;
   prices.js adds .pricelist__row--more to those and leaves the rest alone. */
.pricelist--live .price { position: relative; padding-right: 23px; } /* space held for the icon before prices.js runs */
.pricelist__row--more { cursor: pointer; }
.pricelist__row--more .price::after {
  content: "";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px;
  border-radius: 50%; border: 1px solid var(--gold); color: var(--gold);
  /* a small "i" drawn with a background so it needs no extra markup */
  background:
    linear-gradient(var(--gold), var(--gold)) center 5.5px / 1.4px 5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center 3px   / 1.4px 1.4px no-repeat;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.pricelist__row--more:hover .name,
.pricelist__row--more:focus-within .name { color: var(--gold-text); }
.pricelist__row--more .price:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.pricepop { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.pricepop[hidden] { display: none; }
.pricepop__scrim { position: absolute; inset: 0; background: rgba(25,30,35,.5); animation: pricepop-fade .2s var(--ease); }
.pricepop__panel {
  position: relative; z-index: 1;
  width: min(500px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 38px);
  animation: pricepop-rise .26s var(--ease);
}
.pricepop__close {
  position: absolute; top: 10px; right: 12px;
  width: 38px; height: 38px; font-size: 1.5rem; line-height: 1;
  background: none; border: 0; color: var(--ink-3); cursor: pointer;
}
.pricepop__close:hover { color: var(--ink); }
.pricepop__panel h3 { margin-bottom: .8em; }
.pricepop__list { list-style: none; margin: 0; padding: 0; }
.pricepop__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.pricepop__photo {
  width: 52px; height: 52px; flex: none;
  border-radius: 50%; object-fit: cover; object-position: center 20%;
  background: var(--bg-alt);
}
.pricepop__who { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pricepop__who strong { color: var(--ink); font-weight: 500; }
.pricepop__who span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pricepop__amt { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Two prices for services priced by length: a small label over each amount,
   right-aligned so the figures line up down the list. */
.pricepop__amts { display: flex; gap: 22px; flex: none; }
.pricepop__amts > span { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 64px; }
.pricepop__amts small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.pricepop__amts b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pricepop__who span { white-space: nowrap; }
/* Phones: the two prices drop to their own line under the name, indented
   past the photo, so the name and title never have to squeeze. */
@media (max-width: 480px) {
  .pricepop__list li { flex-wrap: wrap; row-gap: 8px; }
  .pricepop__amts { width: 100%; padding-left: 66px; justify-content: flex-start; gap: 28px; }
  .pricepop__amts > span { align-items: flex-start; min-width: 0; }
}
.pricepop__note { font-size: .82rem; color: var(--ink-3); font-style: italic; margin-top: 18px; }
.pricepop__book { margin-top: 22px; width: 100%; }
@keyframes pricepop-fade { from { opacity: 0; } }
@keyframes pricepop-rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  .pricepop__scrim, .pricepop__panel { animation: none; }
}

/* ---------- Credited photography ----------
   Photos supplied on condition of a visible credit. The caption is part of the
   figure so the two never get separated by a later edit. */
.credit-figure { margin: 0; }
.credit-figure + .credit-figure { margin-top: clamp(28px, 4vw, 44px); }
.credit-figure img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); background: var(--bg-alt);
}
.credit-figure figcaption {
  margin-top: 12px; text-align: center;
  font-size: .8rem; color: var(--ink-3); font-style: italic;
}
.credit-figure figcaption a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.credit-figure figcaption a:hover { color: var(--gold); text-decoration-color: var(--gold); }
/* A described photo gets two lines: what it shows, then who shot it. The
   caption carries the weight; the credit stays the quieter second line. */
.credit-figure__caption {
  display: block; margin-bottom: 4px;
  font-size: .92rem; font-style: normal; color: var(--ink-2);
}

/* ---------- Gallery grid ----------
   3:4, not the square the page used before: the photographs are shot at
   765x1020, so a square tile cropped a quarter off the top and bottom of every
   one — which on a hair gallery means cutting off the hair. At 3:4 they are
   shown as taken. The tiles were carrying six inline styles apiece; this is
   the same rendering in one place. */
.gallery-grid {
  display: grid; gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  display: block; width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; border-radius: var(--radius);
  background: var(--bg-alt);
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Gallery filter ----------
   `hidden` in the markup and revealed by main.js, so the buttons never appear
   in a browser that cannot make them work. Counts are part of the label
   rather than a tooltip: knowing there are four before-and-afters is the
   thing that makes someone press it. */
.gallery-filter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 0 0 clamp(26px, 3.5vw, 40px);
}
.gallery-filter[hidden] { display: none; }
.gallery-filter__btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 10px 20px;
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); background: transparent;
  border: 1px solid var(--line); border-radius: 100px;
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease);
}
.gallery-filter__btn:hover { color: var(--ink); border-color: var(--gold); }
.gallery-filter__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gallery-filter__btn.is-on {
  color: #fff; background: var(--ink); border-color: var(--ink);
}
/* The count is the quiet half of the label — it must not compete with the
   category name, and it has to stay legible once the chip goes black. */
.gallery-filter__n { font-size: .68rem; letter-spacing: .08em; opacity: .5; }
.gallery-filter__btn.is-on .gallery-filter__n { opacity: .65; }

/* On a phone the six chips wrapped onto four lines and pushed the first
   photograph most of a screen down the page. One scrolling row instead, bled
   out to both edges so the cut-off chip on the right is what says there is
   more — the same trick as the service carousel. */
@media (max-width: 700px) {
  .gallery-filter {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; -ms-overflow-style: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .gallery-filter::-webkit-scrollbar { display: none; }
  .gallery-filter__btn { flex: 0 0 auto; }
}

.gallery-count {
  margin: -14px 0 26px; text-align: center;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.gallery-count[hidden] { display: none; }
.gallery-empty { margin-top: 30px; text-align: center; color: var(--ink-3); }
.gallery-empty[hidden] { display: none; }
.linkish {
  background: none; border: 0; padding: 0;
  color: var(--gold); font-size: inherit; text-decoration: underline;
  text-underline-offset: 3px;
}
.linkish:hover { color: var(--ink); }

/* ---------- Gallery tile caption ----------
   Real text in the markup, not a CSS ::after, so it is read out and indexed.
   It sits over the foot of the photograph on a gradient rather than a solid
   bar — a bar would crop the picture, and the gradient only darkens the part
   the words need. Shown on hover and focus on a mouse; always visible on
   narrow screens, where there is no hover to reveal it. */
/* The same print-on-a-mount frame as the feature photographs. The frame sits
   on the figure, not the image: the figure clips the hover zoom, so the
   photograph grows inside a still frame, and the figure's own shadow is not
   clipped the way an image shadow would be. The tile keeps its footprint;
   the photograph inside it is 8px smaller on each side. */
.gallery-grid figure {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 8px solid var(--bg); background: var(--bg); box-shadow: var(--shadow);
}
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 34px 16px 14px;
  font-size: .78rem; letter-spacing: .06em; color: #fff;
  background: linear-gradient(to top, rgba(14,17,20,.82), rgba(14,17,20,0));
  opacity: 0; transform: translateY(6px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  pointer-events: none;
}
.gallery-grid figure:hover figcaption,
.gallery-grid figure:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-grid img { transition: transform .7s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.03); }
@media (hover: none) {
  .gallery-grid figcaption { opacity: 1; transform: none; }
  .gallery-grid figure:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-grid figcaption { transition: none; }
  .gallery-grid figure:hover img { transform: none; }
}
/* Filtered out. `display: none` rather than a class that only fades, so the
   grid closes the gap and the lightbox never lands on a hidden photograph. */
.gallery-grid figure[data-off] { display: none; }

/* ---------- Video ----------
   A facade, not an embed: the card is an ordinary link to YouTube in the
   markup, and main.js upgrades it to play in a dialog. Nothing is requested
   from YouTube — not even the player script — until someone presses play, so
   the page costs no third-party weight for the people who never do. */
.video-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(20px, 3vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.video-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.video-card__link { display: block; height: 100%; }
.video-card__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.video-card__thumb {
  position: relative; display: block;
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink);
}
.video-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.video-card:hover .video-card__thumb img { transform: scale(1.04); opacity: .82; }
.video-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; display: grid; place-items: center;
  color: #fff; background: rgba(20,24,28,.55);
  border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: background .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease);
}
.video-card__play svg { width: 30px; height: 30px; margin-left: 2px; }
.video-card:hover .video-card__play {
  background: var(--gold); border-color: var(--gold);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-card__time {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 8px; border-radius: 2px;
  font-size: .7rem; letter-spacing: .06em; color: #fff;
  background: rgba(14,17,20,.78);
}
.video-card__body { display: block; padding: 22px 24px 26px; }
.video-card__title {
  display: block; font-family: var(--serif); font-size: 1.12rem;
  color: var(--ink); line-height: 1.3; margin-bottom: .45em;
}
.video-card__blurb { display: block; font-size: .9rem; color: var(--ink-3); line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  .video-card, .video-card__thumb img, .video-card__play { transition: none; }
  .video-card:hover { transform: none; }
  .video-card:hover .video-card__thumb img { transform: none; }
  .video-card:hover .video-card__play { transform: translate(-50%, -50%); }
}

/* The block that stands in for the grid until the first film is up. Says what
   is coming and points at Instagram, rather than leaving a dead heading. */
.video-soon {
  max-width: 640px; margin-inline: auto; text-align: center;
  padding: clamp(30px, 5vw, 48px) clamp(24px, 4vw, 44px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.video-soon p { color: var(--ink-3); font-size: .95rem; }

/* ---------- Social cards ----------
   Four links, given the room to be a destination rather than the row of
   small icons that is already in the header and the footer. */
.social-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(16px, 2.4vw, 26px);
  /* 220px, not 260px: four cards need to share the row on a laptop, and at
     260px the fourth dropped to a row of its own. Two-up on a tablet. */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.social-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.social-card > a { display: block; padding: 30px 28px 26px; height: 100%; }
.social-card > a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.social-card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px;
  color: var(--ink); border: 1px solid var(--line); border-radius: 50%;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.social-card__icon svg { width: 20px; height: 20px; }
.social-card:hover .social-card__icon { background: var(--ink); color: #fff; border-color: var(--ink); }
.social-card__name {
  display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
}
.social-card__handle {
  display: block; margin-top: 2px;
  font-size: .76rem; letter-spacing: .12em; text-transform: lowercase; color: var(--gold);
}
.social-card__note { display: block; margin-top: 14px; font-size: .9rem; color: var(--ink-3); line-height: 1.6; }
.social-card__go {
  display: block; margin-top: 18px;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  font-weight: 500;
}
.social-card__go::after { content: " \2197"; }
@media (prefers-reduced-motion: reduce) {
  .social-card { transition: none; }
  .social-card:hover { transform: none; }
}

/* ---------- Carousel ----------
   A scroll-snap row, not a JS slider: the track scrolls by itself with a
   swipe, a trackpad or the keyboard, and the arrows are an addition rather
   than the mechanism. They stay hidden when everything already fits. */
.carousel { position: relative; --gap: clamp(20px, 3vw, 34px); }
.carousel__track {
  display: flex; gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  /* The cards lift and cast a shadow on hover, which overflow:auto would clip.
     Pad the track and pull the padding back off with a matching margin. */
  padding: 6px 3px 16px; margin: -6px -3px -16px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > .card {
  flex: 0 0 calc((100% - 2 * var(--gap)) / 3);
  scroll-snap-align: start;
}
.carousel__track:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
/* Home services cards are centred at every width: title, blurb and the View
   pricing link. card__link is an inline anchor, so its parent does the
   centring. Other pages' cards keep their left edge. */
.carousel__track .card__body { text-align: center; }
@media (max-width: 1000px) {
  .carousel__track > .card { flex-basis: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 700px) {
  /* Deliberately under a full width: the sliver of the next card is what tells
     someone there is more to the right without needing the arrows. */
  .carousel__track > .card { flex-basis: 84%; }
}

/* Centred on the photograph, not on the card: the cards are 3:2 pictures over
   a block of copy, and a fixed share of the card's height put the arrows on
   the picture's bottom edge, over the heading. A vertical percentage margin
   resolves against the container's WIDTH, which is what the picture's height
   follows — one card of three, of two, or 84% of the row, each at 3:2. The
   6px is the track's top padding; 22px is half the button. */
.carousel__nav {
  position: absolute; top: 0; z-index: 2;
  margin-top: calc((100% - 2 * var(--gap)) / 9 + 6px - 22px);
  width: 44px; height: 44px; display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 50%;
  box-shadow: 0 6px 20px rgba(16,19,23,.12);
  transition: background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.carousel__nav:hover, .carousel__nav:focus-visible { border-color: var(--gold); }
.carousel__nav[disabled] { opacity: .28; pointer-events: none; }
/* Clear of the cards, in the page margin, with 20px between button and
   picture — but never closer than 8px to the screen edge. `100%` is the
   carousel's own width, so (100% - 100vw) / 2 is minus the margin beside it. */
.carousel__nav--prev { left: max(-64px, calc((100% - 100vw) / 2 + 8px)); }
.carousel__nav--next { right: max(-64px, calc((100% - 100vw) / 2 + 8px)); }
@media (max-width: 1100px) {
  /* No gutter left to sit in, so tuck them just inside the track. */
  .carousel__nav--prev { left: 4px; }
  .carousel__nav--next { right: 4px; }
}
/* The button under the row. 28px, the .btn-row default, left it 12px off
   the cards' shadow edge and 108px off the next section: it read as glued
   to the third card rather than standing under the row. */
.carousel + .btn-row { margin-top: clamp(36px, 4.5vw, 64px); }
@media (max-width: 1000px) { .carousel__nav { margin-top: calc((100% - var(--gap)) / 6 + 6px - 22px); } }
@media (max-width: 700px) { .carousel__nav { margin-top: calc(28% + 6px - 22px); } }

/* ---------- Lightbox ----------
   Sized off the viewport so a portrait photograph is never scaled past the
   pixels it actually has: the files are about 765x1020, and 84vh keeps the
   image at or under its natural height on ordinary laptop screens. */
.lightbox {
  width: 100vw; max-width: 100vw;
  height: 100vh; max-height: 100vh;
  height: 100dvh; max-height: 100dvh;   /* mobile: excludes the browser chrome */
  inset: 0; margin: 0; padding: 0; border: 0; overflow: hidden;
  /* The dim goes on the dialog, which now covers the whole viewport, rather
     than relying on ::backdrop alone — one less thing to render differently
     between browsers. ::backdrop is kept for the transition case. */
  background: rgba(12,14,17,.93);
}
/* Centring has to hang off [open], not the bare element: `display: flex` on
   the dialog itself would override the UA's `display: none` and leave the
   lightbox on screen permanently. Without this the dialog shrink-wrapped to
   the caption's width and the photograph sat against the left edge. */
.lightbox[open] {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.lightbox::backdrop { background: rgba(12,14,17,.88); }
.lightbox__img {
  display: block; max-width: 90vw; max-height: 84vh;
  width: auto; height: auto; border-radius: var(--radius);
  background: var(--bg-alt);
}
.lightbox__caption {
  margin: 14px auto 0; max-width: 90vw;
  text-align: center; color: rgba(255,255,255,.82);
  font-size: .86rem; line-height: 1.5;
}
.lightbox__count { display: block; margin-top: 4px; color: rgba(255,255,255,.5); font-size: .74rem; letter-spacing: .12em; }
.lightbox__close, .lightbox__nav {
  position: fixed; z-index: 2;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover,
.lightbox__close:focus-visible, .lightbox__nav:focus-visible {
  background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6);
}
/* The default focus ring is a blue system colour against a near-black
   backdrop; keep a ring for keyboard users, in the right palette. */
.lightbox__close:focus-visible, .lightbox__nav:focus-visible {
  outline: 2px solid rgba(255,255,255,.85); outline-offset: 3px;
}
.lightbox__close { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 1rem; }
.lightbox__nav { top: 50%; margin-top: -26px; width: 52px; height: 52px; font-size: 1.7rem; line-height: 1; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
@media (max-width: 620px) {
  .lightbox__nav { width: 42px; height: 42px; margin-top: -21px; font-size: 1.4rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__img { max-width: 94vw; max-height: 74vh; }
}
/* The short caption — "Platinum bob" — above the long alt text. Two lines of
   different weight rather than one run-on sentence. */
.lightbox__label {
  display: block; margin-bottom: 4px;
  font-family: var(--serif); font-size: 1.05rem; color: #fff;
}

/* ---------- Video lightbox ----------
   Same dialog as the photographs, sized to a 16:9 frame instead of a portrait
   photograph. The iframe is created on open and destroyed on close, which is
   what actually stops the video when the dialog is dismissed. */
.lightbox--video .lightbox__frame {
  width: min(1100px, 92vw); aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--radius); overflow: hidden;
}
.lightbox--video iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 620px) {
  .lightbox--video .lightbox__frame { width: 96vw; }
}

/* Applied by script once the lightbox is known to work, so the pointer only
   promises a click where a click does something. */
.gallery-grid.is-clickable figure { cursor: zoom-in; }
.gallery-grid.is-clickable figure:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius);
}

/* ---------- Artist credit ----------
   The photographer was already credited under these pictures; the person who
   did the hair and makeup was not, which is the wrong way round on a page
   selling her work. Sits under the photograph as a second credit line, and
   links through to her on the team page. Deliberately small — it is a credit,
   not a card. */
.artist-credit {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 14px; padding: 8px 16px 8px 8px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-alt); text-align: left;
  transition: border-color .25s var(--ease);
}
.artist-credit:hover, .artist-credit:focus-visible { border-color: var(--gold); }
/* Two classes: this sits inside .credit-figure, whose `img { width: 100% }`
   is (0,1,1) and would otherwise blow the 42px avatar up to the full column
   width and square off its corners. */
.artist-credit .artist-credit__face {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%; object-fit: cover; display: block;
}
.artist-credit__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.artist-credit__lead {
  font-family: var(--serif); font-size: .95rem; color: var(--ink); line-height: 1.25;
}
.artist-credit__role {
  font-size: .68rem; font-weight: 500; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold);
}
/* The figure centres its caption, so centre the pill under it too. */
.credit-figure { text-align: center; }

/* ---------- Card icons ---------- */
.card__icon { display: block; color: var(--gold); margin-bottom: 16px; }
.card__icon svg { display: block; width: 32px; height: 32px; }

/* ---------- Grouped form sections ----------
   Long forms read better in named steps than as one undifferentiated column.
   The fieldset stays block-level and the grid lives on an inner wrapper, so
   the legend is not fighting the grid for placement. */
.formgroup { border: 0; padding: 0; margin: 0; min-width: 0; }
.formgroup + .formgroup { margin-top: 34px; padding-top: 32px; border-top: 1px solid var(--line); }
/* Floating the legend takes it out of the browser's special legend placement,
   where it sits in the border and gets notched through by the rule above. As a
   normal full-width block it lands under the divider, like any other heading. */
.formgroup legend {
  float: left; width: 100%;
  padding: 0; margin-bottom: 20px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.formgroup__fields { display: grid; gap: 18px; clear: both; }
.field__hint {
  font-size: .8rem; color: var(--ink-3);
  letter-spacing: 0; text-transform: none; margin: -2px 0 2px;
}

/* ---------- Square group portrait (team page) ----------
   A square crop off a tall frame, positioned high so it takes the excess from
   below the waist rather than off the top of anyone's head. Same corner radius
   as every other image on the site. */
.feature__media--square img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: center 34%;
  border-radius: var(--radius);
}

/* ---------- Stylist page (/vincent/, and every stylist after) ----------
   One stylist's own home on the site, built by _build/build-stylist-page.py
   from _build/stylists/<name>.json. The salon header and footer stay so the
   page is unmistakably part of gilferrersalon.com; everything between them is
   theirs. Reuses the site's gallery grid, video cards, price list and CTA band
   so the page ages with the rest of the site. */

/* Hero: name and portrait side by side on the site's deep charcoal, the same
   ground the CTA band uses, so the page opens the way the homepage closes. */
.stylist-hero { position: relative; background: var(--bg-deep); color: #fff; overflow: hidden; }
/* A warm glow behind the portrait, tinted from the gold, so the dark panel is
   lit rather than flat. */
.stylist-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(176,141,87,.22), rgba(176,141,87,0) 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(176,141,87,.10), rgba(176,141,87,0) 70%);
}
.stylist-hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.stylist-hero__eyebrow { color: var(--gold-soft); }
.stylist-hero h1 {
  color: #fff; margin-bottom: .18em;
  font-size: clamp(3.4rem, 9vw, 7rem); line-height: .95; letter-spacing: -.02em;
}
.stylist-hero__tag {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.45;
  color: rgba(255,255,255,.86); max-width: 30ch;
}
.stylist-hero__rule { width: 54px; height: 1px; background: var(--gold-soft); margin: 24px 0 24px; }
.stylist-hero__lead { color: rgba(255,255,255,.78); max-width: 50ch; font-size: clamp(1rem, 1.3vw, 1.08rem); }
.stylist-hero .btn-row { margin-top: 30px; }

/* Three short facts under the buttons: a number in the serif, a label under it. */
.stylist-facts {
  list-style: none; margin: 38px 0 0; padding: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 18px clamp(28px, 4vw, 56px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.stylist-facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: #fff; line-height: 1.2; white-space: nowrap; }
.stylist-facts small { display: block; margin-top: 3px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.58); }

.stylist-hero__media { position: relative; }
.stylist-hero__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 16%;
  border-radius: var(--radius);
  /* A thin white frame, like a print, so the portrait lifts off the dark. */
  border: 5px solid #fff;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0,0,0,.35), 0 40px 80px rgba(0,0,0,.45);
}
/* The Instagram handle, pinned to the foot of the portrait like a caption on
   a print. Same frosted treatment as the video play button. */
.stylist-hero__handle {
  position: absolute; left: 21px; bottom: 21px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  font-size: .74rem; letter-spacing: .08em; color: #fff;
  background: rgba(14,17,20,.55); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.stylist-hero__handle:hover { background: var(--gold); border-color: var(--gold); }
.stylist-hero__handle .btn__icon { width: 1.1em; height: 1.1em; }

@media (max-width: 860px) {
  .stylist-hero__inner { grid-template-columns: 1fr; gap: 28px; padding-block: clamp(28px, 6vw, 48px) clamp(40px, 8vw, 64px); }
  /* Portrait first, then the name: on a phone the face is the headline. */
  .stylist-hero__media { order: -1; }
  .stylist-hero__media img { aspect-ratio: 4 / 5; object-position: center 12%; border-width: 4px; }
  .stylist-hero h1 { font-size: clamp(3.2rem, 16vw, 4.6rem); }
  .stylist-hero__tag, .stylist-hero__lead { max-width: none; }
  /* Three across on a phone, each column as wide as its own words, spread
     over the full width; the labels wrap under the figures. */
  .stylist-facts {
    display: grid; grid-template-columns: auto auto auto; justify-content: space-between;
    gap: 12px; text-align: center;
  }
  .stylist-facts li { min-width: 0; }
  .stylist-facts b { font-size: 1.1rem; }
  .stylist-facts small { font-size: .62rem; letter-spacing: .1em; }
}
/* Phones centre body copy sitewide; the hero follows, and its rule and
   facts line up with the centred text. */
@media (max-width: 720px) {
  .stylist-hero__text { text-align: center; }
  .stylist-hero__rule, .stylist-hero__tag, .stylist-hero__lead { margin-inline: auto; }
  .stylist-hero .btn-row { justify-content: center; }
  .stylist-facts { justify-content: center; text-align: center; }
}

/* The stylist's own top: a one-line ribbon saying whose salon this is, with
   the way back to gilferrersalon.com, then their own header. Both sit on the
   same deep charcoal as the hero so the top of the page reads as one piece.
   The salon's top bar, logo and navigation are deliberately absent here. */
.stylist-ribbon { background: #0f1114; color: rgba(255,255,255,.62); font-size: .72rem; letter-spacing: .04em; }
.stylist-ribbon__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.stylist-ribbon b { color: rgba(255,255,255,.88); font-weight: 500; }
.stylist-ribbon__home { color: var(--gold-soft); white-space: nowrap; letter-spacing: .08em; }
.stylist-ribbon__home:hover, .stylist-ribbon__home:focus-visible { color: #fff; }
@media (max-width: 560px) {
  .stylist-ribbon__inner { justify-content: center; }
  .stylist-ribbon__at { display: none; }
  .stylist-ribbon__home::before { content: "Part of Gil Ferrer Salon \00b7 "; color: rgba(255,255,255,.62); letter-spacing: .04em; }
}

/* Sticky here, unlike the salon header: the sitewide overflow-x:hidden that
   defeats sticky is swapped for overflow-x:clip on this page alone, which
   clips the same but does not turn html/body into scroll containers. Older
   engines ignore :has() and simply get a header that scrolls away. */
html:has(.stylist-page), html:has(.stylist-page) body { overflow-x: clip; }
.stylist-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22,25,29,.86); color: #fff;
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.stylist-header__inner { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); min-height: 68px; }
.stylist-header__name { display: flex; align-items: center; gap: 12px; flex: none; }
.stylist-header__name img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--ink-2); }
.stylist-header__name span { display: block; font-family: var(--serif); font-size: 1.28rem; line-height: 1.1; color: #fff; }
.stylist-header__name small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-top: 3px; }
.stylist-header__links { display: flex; gap: clamp(18px, 2.6vw, 30px); margin-left: auto; }
.stylist-header__links a {
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.72); border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.stylist-header__links a:hover, .stylist-header__links a:focus-visible { color: #fff; border-bottom-color: var(--gold); }
.stylist-header__book { flex: none; }
@media (max-width: 720px) {
  /* The phone has the fixed Book bar at the foot of the screen; the section
     links become a second, swipeable row under the name. */
  .stylist-header__book { display: none; }
  .stylist-header__inner { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-block: 12px 0; }
  .stylist-header__name { flex: 1 1 auto; }
  .stylist-header__links {
    flex: 1 0 100%; margin: 10px 0 0; gap: 22px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding: 0 var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1);
  }
  .stylist-header__links::-webkit-scrollbar { display: none; }
  .stylist-header__links a { white-space: nowrap; }
}

/* Their own footer: who and where, in the salon footer's palette. */
.stylist-footer { background: var(--bg-deep); color: rgba(255,255,255,.72); padding-top: clamp(48px, 7vw, 80px); }
.stylist-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 56px); }
.stylist-footer h3 { color: #fff; font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.stylist-footer__name { font-family: var(--serif); font-size: 2rem; color: #fff; line-height: 1; margin: 0 0 6px; }
.stylist-footer__role { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.stylist-footer__status { font-size: .82rem; }
.stylist-footer__links { display: flex; gap: 22px; margin-top: 18px; }
.stylist-footer__links a { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.stylist-footer__links a:hover { border-bottom-color: var(--gold); color: var(--gold-soft); }
.stylist-footer .address { font-style: normal; font-size: .9rem; line-height: 1.7; }
.stylist-footer .address a { color: #fff; }
.stylist-footer__muted { opacity: .6; }
.stylist-footer__hours { list-style: none; margin: 0 0 18px; padding: 0; font-size: .9rem; }
.stylist-footer__hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.stylist-footer__hours li span:last-child { color: #fff; white-space: nowrap; }
.stylist-footer__salon { display: inline-block; font-size: .82rem; color: var(--gold-soft); line-height: 1.5; }
.stylist-footer__salon:hover { color: #fff; }
.stylist-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; color: rgba(255,255,255,.5);
}
.stylist-footer__bottom a { color: rgba(255,255,255,.7); }
.stylist-footer__bottom a:hover { color: #fff; }
@media (max-width: 860px) { .stylist-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .stylist-footer__grid { grid-template-columns: 1fr; text-align: center; }
  .stylist-footer__links, .stylist-footer__bottom { justify-content: center; }
  .stylist-footer__status { justify-content: center; }
}

/* Section anchors land clear of the top edge. */
/* Clear of the sticky header. */
.stylist-page section[id] { scroll-margin-top: 84px; }

/* Video posters are the stylist's portrait photographs cropped to 16:9 until
   real stills arrive; keep the crop high so faces stay in frame. */
.stylist-page .video-card__thumb img { object-position: center 28%; }

/* Work: six tiles, three across — a curated set, not the whole gallery. */
.stylist-work { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .stylist-work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* About: the client's words sit under the photograph, in the same column. */
.stylist-about__media { display: grid; gap: 22px; }
.stylist-quote { margin: 0; padding: 22px 24px 20px; background: var(--bg); border-left: 2px solid var(--gold); box-shadow: var(--shadow); }
.stylist-quote blockquote { margin: 0 0 .6em; font-family: var(--serif); font-style: italic; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.stylist-quote figcaption { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.stylist-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin-top: 4px; }
.stylist-skills li { color: var(--ink-2); }
/* Phones centre the copy around it; the list sits on the same axis, still
   left-aligned within itself so the icons line up. */
@media (max-width: 720px) { .stylist-skills { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; } }
@media (max-width: 420px) { .stylist-skills { grid-template-columns: 1fr; } }

/* Prices: the four groups in two columns; each group is its own list. */
.stylist-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(36px, 6vw, 88px); }
.stylist-prices .pricegroup + .pricegroup { margin-top: 0; }
.stylist-prices .pricegroup__head h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.stylist-prices .pricelist { margin-top: 14px; }
.stylist-prices__foot { margin-top: clamp(30px, 4vw, 46px); }
.stylist-prices__foot a { color: var(--gold-text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.stylist-prices__foot a:hover { color: var(--ink); }

/* Where else they take appointments — optional, and only for a stylist who
   travels (Palm Beach for a few weeks, a day in the city), never for one
   with a chair at another salon nearby. Bridgehampton is always the first
   card and the only one with a gold edge and a "Home salon" tag; the others
   are quieter, and carry only a city and a season — never another salon's
   name or a link — so nothing on the page sends anyone elsewhere. */
.stylist-places { background: var(--bg-alt); }
.stylist-places__list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(14px, 2vw, 22px);
}
.stylist-places__item {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.stylist-places__item--home { border-color: var(--gold); box-shadow: var(--shadow); }
/* The whole card is the tap target, and it goes to the booking page. */
.stylist-places__link { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px 22px; height: 100%; }
.stylist-places__item:hover, .stylist-places__item:focus-within { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.stylist-places__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.stylist-places__go {
  margin-top: 10px; font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text);
  transition: color .25s var(--ease);
}
.stylist-places__item:hover .stylist-places__go { color: var(--ink); }
.stylist-places__where { font-family: var(--serif); font-size: 1.22rem; color: var(--ink); line-height: 1.25; }
.stylist-places__when { font-size: .86rem; color: var(--ink-3); }
.stylist-places__tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: 3px 10px; background: var(--gold); color: #fff; border-radius: 999px;
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; white-space: nowrap;
}
@media (max-width: 560px) { .stylist-places__link { padding: 20px 18px 20px; } }

/* A location with no booking link is listed but not a link. */
.stylist-places__item--nolink { opacity: .8; }
.stylist-places__item--nolink:hover { transform: none; box-shadow: none; border-color: var(--line); }
.stylist-places__item--home.stylist-places__item--nolink:hover { border-color: var(--gold); box-shadow: var(--shadow); }

/* ---------- "Where would you like to see him?" (stylist page) ----------
   Opened by any Book button when the stylist has more than one place with a
   booking link. Bridgehampton is first and gold-edged; other places open
   their own link in a new tab. A native <dialog>, same treatment as the
   per-stylist price popup. */
.bookwhere { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.bookwhere::backdrop { background: rgba(25,30,35,.55); }
.bookwhere__panel {
  position: relative; width: min(460px, calc(100vw - 40px));
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 38px);
  animation: pricepop-rise .26s var(--ease);
}
.bookwhere__close {
  position: absolute; top: 10px; right: 12px; width: 38px; height: 38px;
  font-size: 1.5rem; line-height: 1; background: none; border: 0; color: var(--ink-3);
}
.bookwhere__close:hover { color: var(--ink); }
.bookwhere__panel h3 { margin-bottom: .9em; }
.bookwhere__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bookwhere__choice {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.bookwhere__choice:hover, .bookwhere__choice:focus-visible { border-color: var(--gold); background: var(--bg-alt); transform: translateY(-1px); outline: none; }
.bookwhere__choice--home { border-color: var(--gold); }
.bookwhere__where { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.bookwhere__where small { font-family: var(--sans); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-left: 8px; vertical-align: middle; }
.bookwhere__when { font-size: .82rem; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .bookwhere__panel { animation: none; } }
