/* Sherri Cowden site. Salon template by Gridwork.
   Brand tokens: swap these four for the next salon. */
:root {
  --ivory: #F7F4EE;
  --ink: #1C1B19;
  --accent: #CDBB98; /* champagne silver */
  --sand: #ECE6DB;
  --muted: #6B665F;
  --tone: #8C857B;
  --line: #DDD5C7;
  --text: #3D3A35;
  --wall: #5A5651; /* hero backdrop, sampled from the photo's shadowed wall */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: #5C574F; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 12px 18px; border-radius: 999px; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; color: var(--ivory); }
[hidden] { display: none !important; }

/* Placeholders: always bracketed; highlighted while in review */
body[data-review] .ph { background: rgba(205,187,152,0.32); box-shadow: 0 0 0 2px rgba(205,187,152,0.32); border-radius: 3px; }
.ink .ph, .band .ph { color: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.section { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.section-sm { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.rule-top { border-top: 1px solid var(--line); }

/* Type */
.eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.eyebrow-ink { color: #B9B2A6; margin-bottom: 20px; }
.eyebrow-sand { color: #5C574F; }
.display { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 9vw, 128px); line-height: 0.95; letter-spacing: -0.035em; }
.display span { display: block; }
.display .tone { color: var(--tone); }
.display em { font-style: italic; color: var(--ink); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.5vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.h2-gap { margin-bottom: clamp(40px, 5vw, 64px); }
.h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 36px; letter-spacing: -0.02em; }
.lede { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.6; color: var(--text); }
.body { margin: 0; font-size: 18px; line-height: 1.65; color: var(--text); }
.small { margin: 0; font-size: 15px; color: #5C574F; }
.small a, .small-link { font-weight: 600; font-size: 15px; }
.muted { color: #5C574F; }
.accent { color: var(--accent); }

/* Nav */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 20; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; background: rgba(247,244,238,0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: 0 8px 30px rgba(28,27,25,0.08); }
.wordmark { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; margin-right: 12px; }
.nav-link { text-decoration: none; font-size: 14px; font-weight: 500; padding: 10px 12px; border-radius: 999px; }
.nav-link:hover { background: var(--sand); color: var(--ink); }
@media (max-width: 560px) { .nav-link { display: none; } }

/* Buttons */
.pill-dark { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--ivory); text-decoration: none; font-size: 16px; font-weight: 600; border-radius: 999px; min-height: 44px; transition: transform .2s ease; }
.pill-dark:hover { color: var(--ivory); transform: translateY(-1px); }
.pill-sm { font-size: 14px; padding: 12px 20px; margin-left: 6px; }
.pill-icon { padding: 8px 8px 8px 24px; }
.dot { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); align-items: center; justify-content: center; }
.dot-sm { width: 36px; height: 36px; }
.pill-line { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; padding: 14px 24px; border-radius: 999px; border: 1px solid var(--ink); min-height: 44px; }
.pill-line:hover { background: var(--sand); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.align-start { align-self: flex-start; }

/* Hero: drag-to-compare before/after (signature moment) */
.reveal { --pos: 61%; position: relative; height: 100vh; height: 100svh; min-height: 640px; background: var(--wall); color: var(--ivory); }
.reveal-stage { position: relative; height: 100%; overflow: hidden; display: flex; align-items: center; }
.reveal-media { position: absolute; top: 0; right: 0; bottom: 0; width: min(64vw, calc(100svh * 0.94)); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.rv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; pointer-events: none; animation: rv-settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rv-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.rv-after { clip-path: inset(0 0 0 var(--pos)); }
.rv-line { position: absolute; top: 0; bottom: 0; z-index: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(247,244,238,0.9); box-shadow: 0 0 24px rgba(0,0,0,0.25); pointer-events: none; }
.rv-handle { position: absolute; top: 56%; left: var(--pos); width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--ivory); box-shadow: 0 10px 30px rgba(28,27,25,0.3); display: flex; align-items: center; justify-content: center; pointer-events: none; transition: transform .2s ease; }
.reveal-media.is-dragging .rv-handle { transform: scale(1.08); }
.rv-tag { position: absolute; top: 56%; margin-top: 48px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory); padding: 8px 14px; border-radius: 999px; background: rgba(28,27,25,0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; white-space: nowrap; }
.rv-tag { transition: opacity .2s ease; }
.rv-tag.is-hidden { opacity: 0; }
.rv-tag-before { right: calc(100% - var(--pos) + 16px); }
.rv-tag-after { left: calc(var(--pos) + 16px); }
.rv-range:focus-visible ~ .rv-handle, .reveal-media:focus-within .rv-handle { box-shadow: 0 0 0 3px var(--ink), 0 10px 30px rgba(28,27,25,0.3); }
.reveal-copy { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; gap: 26px; pointer-events: none; }
.reveal-copy a, .reveal-copy button { pointer-events: auto; }
.reveal-copy > * { max-width: 600px; }
.reveal-copy .display { max-width: 720px; font-size: clamp(52px, 7.2vw, 112px); }
.eyebrow-light { color: #D9D2C6; }
.display-light { color: var(--ivory); }
.display-light .tone { color: #CFC6B8; }
.display-light em { color: var(--ivory); }
.lede-light { color: #E8E2D8; max-width: 480px; }
.pill-light { display: inline-flex; align-items: center; gap: 14px; background: var(--ivory); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; border-radius: 999px; min-height: 44px; transition: transform .2s ease; }
.pill-light:hover { color: var(--ink); transform: translateY(-1px); }
.pill-line-light { color: var(--ivory); border-color: rgba(247,244,238,0.7); }
.pill-line-light:hover { background: rgba(247,244,238,0.12); color: var(--ivory); }
.rv-note { position: absolute; left: clamp(20px, 4vw, 48px); bottom: 28px; margin: 0; font-size: 12px; letter-spacing: 0.08em; color: #F1ECE3; z-index: 2; }
@media (max-width: 860px) {
  .reveal-stage { align-items: flex-end; }
  .reveal-media { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .rv { object-position: 50% 30%; }
  .reveal-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(to top, rgba(52,49,45,0.94) 0%, rgba(52,49,45,0.6) 55%, rgba(52,49,45,0) 100%); pointer-events: none; z-index: 1; }
  .rv-handle, .rv-tag { top: 34%; }
  .rv-line { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 60%); mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 60%); }
  .rv-handle { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  /* Phones: the copy sits just under the handle, so the tags ride beside it instead of below */
  .rv-tag { margin-top: -15px; }
  .rv-tag-before { right: calc(100% - var(--pos) + 40px); }
  .rv-tag-after { left: calc(var(--pos) + 40px); }
  .reveal-copy { padding-bottom: 92px; gap: 18px; }
  .reveal-copy .lede-light { display: none; }
  .rv-note { bottom: 64px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .rv-handle, .rv-tag { top: 27%; }
}

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.proof-grid div { display: flex; flex-direction: column; gap: 4px; }
.proof-big { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.proof-small { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }


/* Grey specialist (editorial) */
.grey { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: center; }
.grey-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.grey-fig { flex: 1.4 1 480px; min-width: 0; margin: 0; }
.grey-fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 70% 40%; border-radius: 4px 4px 4px 160px; }
.text-link { align-self: flex-start; font-size: 16px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Booking band */
.band { position: relative; min-height: clamp(460px, 70vh, 720px); display: flex; align-items: center; overflow: hidden; background: #7F807D; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(40,38,35,0.78) 0%, rgba(40,38,35,0.45) 45%, rgba(40,38,35,0) 70%); z-index: 1; }
.band-copy { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; gap: 24px; }
.band-h { color: var(--ivory); max-width: 520px; }
.band-h em { font-style: italic; }
@media (max-width: 700px) { .band::before { background: linear-gradient(to top, rgba(40,38,35,0.85) 0%, rgba(40,38,35,0.35) 60%, rgba(40,38,35,0.1) 100%); } .band { align-items: flex-end; } .band-copy { padding-bottom: 48px; } }

/* Services */
.ink { background: var(--ink); color: var(--ivory); }
.ink .h2 em { font-style: italic; }
.svc { display: flex; flex-direction: column; }
.svc-row { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: baseline; padding: 40px 0; border-top: 1px solid #3A3833; }
.svc-last { border-bottom: 1px solid #3A3833; }
.svc-num { font-family: var(--serif); font-size: clamp(56px, 7vw, 96px); line-height: 0.9; color: var(--tone); flex: 0 0 auto; min-width: 120px; }
.svc-main { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-desc { margin: 0; font-size: 18px; line-height: 1.6; color: #D8D2C6; max-width: 560px; }
.svc-side { flex: 1 1 160px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.svc-price { font-size: 18px; font-weight: 600; }
.svc-link { color: var(--ivory); font-size: 15px; font-weight: 600; }
.svc-link:hover { color: #D8CBB0; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img { flex: 1 1 300px; min-width: 0; max-width: 440px; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; object-position: 50% 28%; background: #E8E2D8; }
.about-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -0.01em; }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 20px; }
.steps h3 { margin: 0; font-size: 22px; font-weight: 600; }
.steps p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.step-n { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }

/* Reviews */
.sand { background: var(--sand); }
.reviews { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.review-main { flex: 999 1 560px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.review-big { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
.review-by { font-size: 15px; font-weight: 600; }
.review-side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 24px; }
.review-side figure { margin: 0; padding-top: 20px; border-top: 1px solid #C9BFAE; }
.review-side blockquote { margin: 0 0 10px; font-size: 17px; line-height: 1.6; }
.review-side figcaption { font-size: 14px; color: #5C574F; }

/* Visit */
.visit { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); }
.visit-a { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.visit-b { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: inherit; font-size: 15px; font-weight: 600; padding: 12px 20px; min-height: 44px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--ink); border: 1px solid #BDB4A4; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 6px; filter: grayscale(1) contrast(0.95); background: #E8E2D8; }
address { font-style: normal; display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.5; }
address strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }

/* Footer + sticky CTA */
.footer { padding-top: 32px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; color: #5C574F; }
.footer a { color: #5C574F; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 20px; z-index: 30; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
.sticky-cta { transition: opacity .3s ease, transform .3s ease; }
body.in-hero .sticky-cta { opacity: 0; transform: translateY(12px); pointer-events: none; }
body.in-hero .sticky-cta a { pointer-events: none; }
.sticky-cta a { pointer-events: auto; padding: 8px 8px 8px 20px; font-size: 15px; gap: 12px; box-shadow: 0 12px 32px rgba(28,27,25,0.28); }

/* Results gallery (three layout options) */
.results-head { display: flex; flex-wrap: wrap; gap: 20px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(32px, 4vw, 48px); }
.results-title { display: flex; flex-direction: column; gap: 18px; }
.results-lede { max-width: 440px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.cap { font-size: 17px; line-height: 1.5; color: var(--text); }
.gal-note { margin: 28px 0 0; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }

/* Shared compare slider */
.cmp { --p: 50%; position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--wall); border-radius: 4px; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp .cmp-a { clip-path: inset(0 0 0 var(--p)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: rgba(247,244,238,0.92); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: var(--p); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--ivory); box-shadow: 0 8px 24px rgba(28,27,25,0.28); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cmp-lbl { position: absolute; bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); padding: 6px 12px; border-radius: 999px; background: rgba(28,27,25,0.5); pointer-events: none; }
.cmp-lbl-b { left: 14px; } .cmp-lbl-a { right: 14px; }
.cmp:focus-within .cmp-knob { box-shadow: 0 0 0 3px var(--ink), 0 8px 24px rgba(28,27,25,0.28); }

/* C: spotlight */
.gal-c { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.spot-stage .cmp { max-height: 78vh; margin: 0 auto; }
.spot-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spot-list li { border-bottom: 1px solid var(--line); }
.spot-btn { width: 100%; display: grid; grid-template-columns: 56px 1fr 64px; align-items: center; gap: 16px; padding: 16px 4px; background: none; border: 0; font-family: inherit; text-align: left; color: var(--ink); cursor: pointer; opacity: 0.55; transition: opacity .2s ease; }
.spot-btn:hover, .spot-btn[aria-pressed="true"] { opacity: 1; }
.spot-n { font-family: var(--serif); font-size: 34px; color: var(--tone); line-height: 1; }
.spot-btn[aria-pressed="true"] .spot-n { color: var(--ink); font-style: italic; }
.spot-t { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.spot-t small { font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text); width: fit-content; }
.spot-btn img { width: 64px; height: 80px; object-fit: cover; border-radius: 3px; }
@media (max-width: 760px) { .gal-c { grid-template-columns: 1fr; } .spot-btn { grid-template-columns: 44px 1fr 52px; padding: 12px 2px; } .spot-btn img { width: 52px; height: 65px; } .spot-n { font-size: 28px; } }

/* Booking slot */
.book-slot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.book-slot .small { max-width: 280px; }

/* Sherri's shelf (product and affiliate links) */
.shelf-head { display: flex; flex-direction: column; gap: 18px; max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.shelf-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.shelf-item { position: relative; display: flex; flex-direction: column; gap: 8px; }
.shelf-img { aspect-ratio: 1 / 1; background: var(--sand); border-radius: 4px; overflow: hidden; margin-bottom: 10px; }
.shelf-img img { width: 100%; height: 100%; object-fit: cover; }
.shelf-n { position: absolute; top: 12px; left: 14px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--tone); }
.shelf-brand { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.shelf-name { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.shelf-why { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text); }
.shelf-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); padding: 6px 0 2px; }
.shelf-note { margin-top: 32px; }
@media (max-width: 960px) { .shelf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .shelf-name { font-size: 22px; } .shelf-why { font-size: 15px; } }

@media (prefers-reduced-motion: reduce) { *, html { transition: none !important; scroll-behavior: auto !important; } .rv { animation: none; } }
