/* ============================================================
   Chad White — Hair Stylist & Colorist
   Editorial, photography-forward, mobile-first.
   ============================================================ */

:root {
  --bg:        #faf8f5;   /* warm cream base */
  --bg-alt:    #f1ece5;   /* section alt */
  --ink:       #1f1a17;   /* near-black text */
  --ink-soft:  #5c534c;   /* muted text */
  --line:      #e2d9cf;   /* hairline */
  --accent:    #a9825f;   /* bronze */
  --accent-dk: #8a6644;
  --white:     #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --header-h: 66px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.muted { color: var(--ink-soft); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: .3px; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 .8rem;
}

.section-title { font-size: clamp(2rem, 5vw, 3.1rem); }
.section-lead { max-width: 46ch; margin: .9rem auto 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  letter-spacing: .02em;
  padding: .72rem 1.3rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-ico { font-size: 1.05em; line-height: 1; }

.btn-call { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(138,102,68,.28); }
.btn-call:hover { background: var(--accent-dk); transform: translateY(-2px); color: #fff; }

.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }

.btn-invert { background: #fff; color: var(--ink); }
.btn-invert:hover { background: #fff; color: var(--accent-dk); }

.cta-note {
  margin: .7rem 0 0; font-size: .92rem; color: var(--ink-soft);
  font-style: italic; font-family: var(--serif); font-size: 1.05rem;
}
.cta-note-light { color: rgba(255,255,255,.85); }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,245,.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 20px rgba(31,26,23,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--ink); color: var(--accent);
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: .5px;
}
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }

.header-call { padding: .55rem 1.15rem; }
.header-call .btn-ico { font-size: 1em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,16,13,.15) 0%, rgba(20,16,13,.35) 55%, rgba(20,16,13,.82) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: 6rem; }
.hero-content .eyebrow { color: #e8d3bd; }
.hero-title { font-size: clamp(3.2rem, 12vw, 6.5rem); font-weight: 500; letter-spacing: 1px; }
.hero-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 4vw, 2rem); margin: .3rem 0 0; color: #f3e7d9; }
.hero-cta { margin-top: 1.9rem; }
.hero-content .cta-note { color: rgba(255,255,255,.9); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 2.8rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.filter {
  font-family: var(--sans); font-size: .85rem; font-weight: 500; letter-spacing: .03em;
  padding: .5rem 1.05rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--accent); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.tile {
  position: relative; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  border-radius: 4px; background: var(--bg-alt); aspect-ratio: 4 / 5;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: "View"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(31,26,23,.35); opacity: 0; transition: opacity .3s var(--ease);
}
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile.is-hidden { display: none; }

.see-more { text-align: center; margin-top: 2rem; }
.see-more a { font-family: var(--serif); font-size: 1.2rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.service { background: var(--bg); padding: 1.6rem 1.5rem; }
.service h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.service-desc { color: var(--ink-soft); margin: 0 0 .6rem; font-size: .96rem; }
.service-price { font-family: var(--serif); font-size: 1.25rem; color: var(--accent-dk); margin: 0; font-weight: 500; }

.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; justify-content: center; margin-top: 2.4rem; }
.inline-cta .cta-note { margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; align-items: center; }
.about-photo img { width: 100%; border-radius: 6px; aspect-ratio: 4/5; object-fit: cover; }
.about-copy p { color: var(--ink-soft); }
.about-copy .section-title { margin-bottom: 1rem; }
.about-points { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.about-points li { padding-left: 1.4rem; position: relative; }
.about-points li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.about-copy .inline-cta { justify-content: flex-start; margin-top: 1.8rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.review {
  margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 1.8rem 1.7rem;
}
.section-alt .review { background: #fff; }
.review p { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; }
.review .stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: .6rem; }
.review cite { font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; }
.addr { font-style: normal; line-height: 1.7; margin: 0 0 1.3rem; }
.hours { margin-top: 2.2rem; }
.hours h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.hours-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.hours-list li { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours-list li span:first-child { color: var(--ink-soft); }
.hours-note { font-size: .85rem; color: var(--ink-soft); font-style: italic; }
.location-info .cta-note { margin-bottom: 0; }
.map { border-radius: 8px; overflow: hidden; min-height: 340px; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 340px; }

/* ---------- Bottom CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.6rem; color: #fff; }
.cta-band .btn-invert { box-shadow: 0 6px 22px rgba(0,0,0,.3); }

/* ---------- Footer ---------- */
.site-footer { background: #17130f; color: #d9cec2; padding: 3.5rem 0 1.6rem; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-col .brand-mark { margin-bottom: .6rem; }
.footer-name { font-family: var(--serif); font-size: 1.6rem; margin: 0; color: #fff; }
.site-footer a { color: #e8d3bd; }
.site-footer .addr { color: #d9cec2; }
.site-footer .muted { color: #9a8d7f; }
.footer-col p { margin: .35rem 0; }
.social { display: flex; gap: 1.1rem; }
.footer-col .btn { margin-top: .8rem; }
.footer-legal { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,12,10,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 90vw; max-height: 86vh; border-radius: 4px; box-shadow: 0 10px 50px rgba(0,0,0,.5); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
  cursor: pointer; border-radius: 999px; display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* ============================================================
   Responsive — tablet & up
   ============================================================ */
@media (min-width: 620px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1.15fr; gap: 3.5rem; }
  .location-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
}

@media (max-width: 420px) {
  .brand-name { display: none; }
  .header-call span:last-child { display: none; }
  .header-call { padding: .55rem .8rem; }
  .header-call .btn-ico { font-size: 1.2em; }
}
