/* ==========================================================
   LV Hair Salón — Stylesheet
   Palette: ivory base, champagne surfaces, deep burgundy for
   primary actions, muted red for quiet details, charcoal text.
   ========================================================== */

:root {
  --ivory: #FBF7F2;
  --cream: #F5EFE6;
  --champagne: #EDE2D2;
  --sand: #D9C7AF;
  --burgundy: #5C1A24;
  --burgundy-deep: #451219;
  --muted-red: #A9676B;
  --charcoal: #2B2427;
  --grey: #6F6663;
  --line: rgba(43, 36, 39, 0.14);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--burgundy); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--burgundy-deep); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--muted-red); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1rem; }
em { font-style: italic; color: var(--burgundy); font-weight: 500; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--burgundy); color: var(--ivory); padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Typography ---------- */
.display, .h2, .h3 { font-family: var(--serif); font-weight: 500; color: var(--charcoal); margin: 0; line-height: 1.05; letter-spacing: -0.01em; }
.display { font-size: clamp(3rem, 6.4vw, 5.6rem); }
.h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin-bottom: 1.25rem; }
.h3 { font-size: 1.5rem; line-height: 1.2; margin-bottom: .5rem; }
.lead { font-size: 1.1875rem; color: var(--grey); max-width: 32em; }
.eyebrow {
  font-family: var(--sans); font-size: .75rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted-red);
  margin-bottom: 1.25rem;
}
.eyebrow-light { color: #E4C9C6; }
.section-intro { color: var(--grey); max-width: 38em; margin: 1.25rem 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .9rem 1.8rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--burgundy); color: var(--ivory); }
.btn-primary:hover { background: var(--burgundy-deep); color: var(--ivory); }
.btn-ghost { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-ghost:hover { background: var(--charcoal); color: var(--ivory); }
.btn-outline { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }
.btn-outline:hover { background: var(--burgundy); color: var(--ivory); }
.btn-small { min-height: 44px; padding: .7rem 1.2rem; font-size: .72rem; }
.btn-light { background: var(--ivory); color: var(--burgundy); }
.btn-light:hover { background: var(--champagne); color: var(--burgundy-deep); }
.btn-ghost-light { border-color: rgba(251, 247, 242, .7); color: var(--ivory); background: transparent; }
.btn-ghost-light:hover { background: var(--ivory); color: var(--burgundy); }

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.25rem 0 0; }
.cta-center { justify-content: center; }
.text-link { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(43, 36, 39, .35); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--charcoal); }
.brand:hover { color: var(--charcoal); }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--burgundy); color: var(--burgundy);
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; font-weight: 500; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
.brand-sub { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }
.brand-light .brand-mark { border-color: var(--ivory); color: var(--ivory); }
.brand-light .brand-name { color: var(--ivory); }
.brand-light .brand-sub { color: #CDB9B6; }

.primary-nav ul { display: flex; gap: clamp(1.25rem, 2.6vw, 2.4rem); }
.nav-link {
  position: relative; text-decoration: none; color: var(--charcoal);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: .4rem 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--muted-red); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--burgundy); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.btn-nav-mobile { display: none; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line);
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--charcoal); transition: transform .35s var(--ease), opacity .35s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-copy .display { margin-bottom: 1.75rem; }
.hero-copy .display em { display: inline-block; }
.location-indicator {
  display: inline-flex; align-items: center; gap: .6rem; margin: 2.5rem 0 0;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-red); }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.hero-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--muted-red); z-index: -1; opacity: .7;
}
.hero-rule { height: 1px; background: var(--line); margin-top: 0; }

/* Entrance motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

/* ---------- Sections (shared) ---------- */
.section { padding: var(--section) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.note { margin-top: 2.5rem; font-size: .95rem; color: var(--grey); text-align: center; }
.note a { color: var(--burgundy); }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-media { margin: 0; }
.about-media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.about-copy p { color: var(--grey); max-width: 34em; }
.about-copy .h2 em { white-space: nowrap; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; margin: 2.25rem 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.pillars li { font-size: .98rem; color: var(--charcoal); display: flex; gap: .8rem; align-items: baseline; }
.pillars span { font-family: var(--serif); font-style: italic; color: var(--muted-red); font-size: 1.1rem; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--charcoal); }
.service-card {
  display: flex; flex-direction: column; padding: 2.25rem 1.75rem 2rem 0;
  border-right: 1px solid var(--line);
}
.service-card + .service-card { padding-left: 1.75rem; }
.service-card:last-child { border-right: 0; }
.service-index { font-family: var(--serif); font-style: italic; color: var(--muted-red); font-size: 1.1rem; margin: 0 0 .75rem; }
.service-card .h3 { margin-bottom: 1.25rem; }
.service-card ul { margin-bottom: 2rem; flex: 1; }
.service-card li {
  font-size: .98rem; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--charcoal);
}
.service-card li:first-child { padding-top: 0; }
.service-card .btn { align-self: flex-start; min-height: 46px; padding: .75rem 1.25rem; font-size: .72rem; }
.service-card .btn { white-space: normal; text-align: center; }

/* ---------- Gallery ---------- */
.gallery { background: var(--ivory); }
.gallery-disclaimer { display: block; margin-top: .5rem; font-size: .92rem; font-style: italic; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.75rem; }
.filter {
  background: transparent; border: 1px solid var(--line); color: var(--charcoal);
  padding: .6rem 1.1rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter:hover { border-color: var(--burgundy); color: var(--burgundy); }
.filter.is-active { background: var(--burgundy); border-color: var(--burgundy); color: var(--ivory); }

.masonry { columns: 3; column-gap: 1.5rem; }
.tile { margin: 0 0 1.5rem; break-inside: avoid; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.tile.is-hidden { display: none; }
.tile-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--champagne); overflow: hidden; }
.tile-btn img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.tile-label {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 1.25rem 1.25rem 1rem;
  color: var(--ivory); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  background: linear-gradient(to top, rgba(43, 36, 39, .55), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.tile-btn:hover img { transform: scale(1.04); }
.tile-btn:hover .tile-label, .tile-btn:focus-visible .tile-label { opacity: 1; transform: none; }
.tile-tall .tile-btn img { aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); }
.reviews-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.reviews-intro .h2 { margin-bottom: 2rem; }
.rating { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2.25rem; }
.rating-score { font-family: var(--serif); font-size: 4.5rem; line-height: 1; font-weight: 500; color: var(--burgundy); }
.rating-meta { display: flex; flex-direction: column; font-size: .95rem; color: var(--grey); }
.stars { color: var(--muted-red); letter-spacing: .15em; font-size: 1.05rem; }
.review-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.review-themes li { padding: 1.75rem 0; border-top: 1px solid var(--line); }
.review-themes li p { color: var(--grey); margin: 0; font-size: .98rem; }

/* ---------- Why ---------- */
.why { background: var(--ivory); padding: var(--section) 0; }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); }
.why-head { position: sticky; top: 130px; align-self: start; }
.why-head .h2 em { display: inline; }
.why-list { counter-reset: why; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 3rem; }
.why-list li { counter-increment: why; position: relative; padding-top: 3.5rem; }
.why-list li::before {
  content: counter(why, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 2.25rem; font-style: italic; color: var(--muted-red); line-height: 1;
}
.why-list p { color: var(--grey); margin: 0; font-size: .98rem; }

/* ---------- Booking ---------- */
.booking { background: var(--burgundy); color: var(--ivory); padding: clamp(5rem, 9vw, 7.5rem) 0; text-align: center; }
.booking .h2 { color: var(--ivory); max-width: 16em; margin-inline: auto; }
.booking .h2 em { color: #F0D9CF; }
.booking-lead { color: #E6D3CF; max-width: 34em; margin: 1.25rem auto 0; }
.booking-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 4rem;
  margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(251, 247, 242, .2);
}
.booking-meta li { display: flex; flex-direction: column; gap: .35rem; font-size: 1rem; }
.booking-meta a { color: var(--ivory); }
.booking-meta a:hover { color: #F0D9CF; }
.meta-label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: #D7B9B3; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: stretch; }
.contact-info .h2 { margin-bottom: 2rem; }
.address { font-style: normal; font-size: 1.1rem; line-height: 1.75; margin-bottom: 2.25rem; }
.address strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.contact-list { display: grid; gap: 1.25rem; margin: 0 0 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; }
.contact-list dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-red); padding-top: .3rem; }
.contact-list dd { margin: 0; }
.contact-list a { text-decoration: none; color: var(--charcoal); }
.contact-list a:hover { color: var(--burgundy); text-decoration: underline; }
.verify { font-style: italic; color: var(--grey); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.map-frame { min-height: 460px; background: var(--champagne); }
.map-frame iframe { width: 100%; height: 100%; min-height: 460px; display: block; filter: grayscale(.2) sepia(.08); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #CFC6C2; padding: clamp(4rem, 7vw, 5.5rem) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-brand p { margin: 1.5rem 0 0; max-width: 22em; color: #A99F9B; }
.footer-title { font-family: var(--sans); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: #E6D3CF; margin: 0 0 1.25rem; font-weight: 500; }
.site-footer ul { display: grid; gap: .6rem; }
.site-footer a { color: #CFC6C2; text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.site-footer address { font-style: normal; margin-bottom: 1rem; color: #A99F9B; }
.site-footer p { margin: 0 0 .5rem; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 1.75rem 0 2.25rem; border-top: 1px solid rgba(251, 247, 242, .12);
  font-size: .85rem; color: #8F8581;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #CFC6C2; text-decoration: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh;
  color: var(--ivory);
}
.lightbox::backdrop { background: rgba(28, 22, 24, .9); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox p { margin: 1rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ivory); text-align: center; }
.lightbox-close {
  position: absolute; top: -8px; right: -8px; width: 44px; height: 44px; border: 0; background: var(--ivory);
  color: var(--charcoal); font-size: 1.6rem; line-height: 1;
}
.lightbox-close:hover { background: var(--champagne); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 1.5rem; }
  .service-card:nth-child(odd) { border-right: 1px solid var(--line); }
  .service-card:nth-child(even) { padding-left: 1.5rem; }
  .service-card:nth-child(n+3) { padding-top: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .primary-nav ul { gap: 1.2rem; }
  .nav-link { font-size: .72rem; letter-spacing: .1em; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 84px 0 auto 0; background: var(--ivory);
    border-bottom: 1px solid var(--line); padding: 1.5rem var(--gutter) 2rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    box-shadow: 0 18px 30px -24px rgba(43, 36, 39, .4);
  }
  .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding: 1rem 0; font-size: .9rem; }
  .nav-link::after { display: none; }
  .btn-nav-mobile { display: inline-flex; width: 100%; margin-top: 1.5rem; }

  .hero-grid, .about-grid, .reviews-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .hero-media img { aspect-ratio: 4 / 4.4; }
  .why-head { position: static; }
  .masonry { columns: 2; }
  .map-frame, .map-frame iframe { min-height: 380px; }
}

@media (max-width: 480px) {
  .nav-actions .btn-small { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav-wrap { min-height: 72px; }
  .primary-nav { inset: 72px 0 auto 0; }
  .brand-mark { width: 40px; height: 40px; font-size: 1.1rem; }
  .brand-name { font-size: 1.3rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card, .service-card:nth-child(n) {
    border-right: 0; padding: 2rem 0; border-bottom: 1px solid var(--line);
  }
  .service-card:nth-child(n+3) { padding-top: 2rem; }
  .pillars, .review-themes, .why-list { grid-template-columns: 1fr; }
  .why-list { gap: 2.25rem; }
  .masonry { columns: 1; }
  .cta-row .btn { width: 100%; }
  .contact-list > div { grid-template-columns: 1fr; gap: .25rem; }
  .contact-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-media::before { inset: 12px -10px -10px 12px; }
  .booking-meta { flex-direction: column; align-items: center; gap: 1.75rem; }
  .rating-score { font-size: 3.6rem; }
  .tile-label { opacity: 1; transform: none; background: linear-gradient(to top, rgba(43, 36, 39, .6), transparent); }
}
