:root {
  --paper: #f2ede6;
  --paper-deep: #e6ddd3;
  --ink: #24231f;
  --muted: #6b675f;
  --sage: #788275;
  --clay: #a87968;
  --contact: #74564f;
  --white: #fffdf9;
  --line: rgba(36, 35, 31, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }
body.lightbox-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header {
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4.5vw;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(168, 121, 104, 0.35);
}
.brand-name { font-family: "Italiana", serif; font-size: 22px; letter-spacing: 0.02em; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a, .header-contact { font-size: 13px; text-transform: uppercase; letter-spacing: 0.11em; }
.main-nav a { position: relative; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--ink);
  transition: right 0.25s ease;
}
.main-nav a:hover::after { right: 0; }
.main-nav a.active::after { right: 0; }
.header-contact { justify-self: end; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.menu-toggle { display: none; }

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 48% 52%;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: clamp(70px, 9vw, 145px) 5vw 80px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { font-family: "Italiana", serif; line-height: 0.98; }
h1 { font-size: clamp(56px, 7.2vw, 112px); margin-bottom: 38px; letter-spacing: -0.03em; }
h1 em { color: var(--clay); font-weight: 400; }
h2 { font-size: clamp(44px, 5vw, 78px); letter-spacing: -0.025em; }
h3 { font-family: "Italiana", serif; }

.hero-intro { max-width: 490px; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--sage); }
.text-link { font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.text-link span { margin-left: 7px; }

.hero-visual { min-height: 650px; position: relative; padding: 4vw 4.5vw 4vw 0; }
.hero-image {
  width: 100%;
  height: 100%;
  min-height: 570px;
  background:
    linear-gradient(180deg, rgba(20, 20, 18, 0.02), rgba(20, 20, 18, 0.2)),
    url("assets/salon-interior.jpg") center/cover;
}
.hero-note {
  position: absolute;
  left: -42px;
  bottom: 9vw;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: rotate(-8deg);
}
.hero-note span { font-family: "Italiana", serif; font-size: 35px; line-height: 1; }
.hero-note strong { max-width: 110px; margin-top: 8px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-side {
  position: absolute;
  right: 0.9vw;
  top: 50%;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
  font-size: 10px;
  letter-spacing: 0.19em;
}

.intro-strip {
  min-height: 118px;
  padding: 25px 6vw;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.intro-strip p { margin: 0; font-family: "Italiana", serif; font-size: clamp(18px, 2vw, 28px); }
.intro-strip span { width: 48px; height: 1px; background: rgba(255,255,255,.35); }

.section { padding: clamp(90px, 11vw, 165px) 8vw; }
.services { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 9vw; }
.section-heading { position: sticky; top: 110px; align-self: start; }
.section-heading h2 { margin-bottom: 35px; }
.section-heading > p:last-child { max-width: 450px; color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service-item {
  min-height: 170px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 22px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-item > span:first-child { color: var(--clay); font-size: 12px; }
.service-item h3 { font-size: clamp(28px, 3vw, 43px); margin-bottom: 8px; }
.service-item p { color: var(--muted); max-width: 520px; margin: 0; }
.service-arrow { font-size: 22px; color: var(--sage); transition: transform .25s ease; }
.service-item:hover .service-arrow { transform: translate(5px, -5px); }

.about { background: var(--paper-deep); display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 9vw; align-items: center; }
.about-image {
  min-height: 720px;
  background: url("assets/gallery/hair-06.jpg") center/cover;
}
.about-copy { max-width: 660px; }
.about-copy h2 { margin-bottom: 38px; }
.about-copy .lead { font-family: "Italiana", serif; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.3; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.about-values { margin-top: 48px; border-top: 1px solid var(--line); }
.about-values div { display: grid; grid-template-columns: 45px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.about-values strong { color: var(--clay); font-size: 12px; }
.about-values span { font-size: 14px; }

.gallery { background: var(--white); }
.gallery-heading { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 8vw; margin-bottom: 60px; }
.gallery-heading h2 { margin: 0; }
.gallery-heading > p { color: var(--muted); max-width: 420px; }
.gallery-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 25px; }
.gallery-card { margin: 0; position: relative; overflow: hidden; background: var(--paper); }
.gallery-card-tall { grid-row: span 2; }
.gallery-card img { height: 330px; object-fit: cover; transition: transform .7s ease; }
.gallery-card-tall img { height: 685px; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255,253,249,.9);
  padding: 7px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.section-link { margin-top: 34px; text-align: right; }

.contact { background: var(--sage); color: var(--white); display: grid; grid-template-columns: 1.2fr .8fr; gap: 10vw; align-items: end; }
.contact .eyebrow { color: #e8d3c6; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.75); }
.contact-actions { display: flex; align-items: center; gap: 28px; margin-top: 35px; }
.button-light { border-color: var(--white); color: var(--white); }
.button-light:hover { background: var(--white); color: var(--ink); }
.contact-phone { border-bottom: 1px solid rgba(255,255,255,.5); }
.contact-details { border-top: 1px solid rgba(255,255,255,.3); }
.contact-details div { display: grid; grid-template-columns: 90px 1fr; gap: 25px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-details span { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.6); }
.contact-details p { margin: 0; }

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  padding: 25px 4.5vw;
  background: var(--ink);
  color: var(--white);
}
footer p { margin: 0; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
footer > a:last-child { justify-self: end; font-size: 13px; }
.brand-footer .brand-logo { width: 44px; height: 44px; }

.inner-hero {
  min-height: 620px;
  padding: 100px 8vw 80px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 9vw;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.inner-hero h1 { margin: 0; }
.inner-hero > p { max-width: 450px; color: var(--muted); font-size: 18px; }
.inner-hero-services { background: linear-gradient(90deg, var(--paper) 0 66%, var(--paper-deep) 66%); }
.inner-hero-about { background: linear-gradient(rgba(242,237,230,.8), rgba(242,237,230,.8)), url("assets/salon-interior.jpg") center/cover; }
.inner-hero-gallery { background: var(--white); }

.service-detail { padding-top: 60px; }
.detail-row { display: grid; grid-template-columns: 45px 1fr 1fr; gap: 5vw; align-items: center; padding: 80px 0; border-bottom: 1px solid var(--line); }
.detail-row > span { align-self: start; color: var(--clay); font-size: 12px; }
.detail-row h2 { margin-bottom: 25px; }
.detail-row p { color: var(--muted); max-width: 560px; }
.detail-row ul { padding: 20px 0 0; margin: 25px 0 0; list-style: none; border-top: 1px solid var(--line); }
.detail-row li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.detail-row.reverse .detail-image { order: -1; grid-column: 1 / 3; }
.detail-row.reverse > span { grid-column: 3; grid-row: 1; }
.detail-row.reverse > div:nth-child(2) { grid-column: 3; grid-row: 1; padding-left: 35px; }
.detail-image { min-height: 530px; background-size: cover; background-position: center; }
.hair-image { background-image: url("assets/gallery/hair-10.jpg"); }
.nails-image { background-image: url("assets/gallery/nails-04.jpg"); }
.beauty-image { background-image: url("assets/gallery/beauty-02.jpg"); }
.barber-image { background-image: url("assets/gallery/barber-04.jpg"); }

.page-cta { padding: 110px 8vw; background: var(--sage); color: var(--white); text-align: center; }
.page-cta .eyebrow { color: #e8d3c6; }
.page-cta h2 { margin-bottom: 22px; }
.page-cta p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.page-cta .button { margin-top: 18px; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }
.story-media { min-width: 0; }
.story-image { min-height: 620px; background: url("assets/salon-interior.jpg") center/cover; }
.salon-tour { display: block; width: 100%; max-height: 620px; margin-top: 22px; background: var(--ink); object-fit: contain; }
.story-copy h2 { margin-bottom: 35px; }
.story-copy > p { color: var(--muted); }
.story-copy .story-lead { font-family: "Italiana", serif; font-size: 30px; line-height: 1.35; color: var(--ink); }
.story-quote { margin-top: 45px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: "Italiana", serif; font-size: 24px; }
.values { background: var(--paper-deep); display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values-grid article { padding: 35px 25px; border-top: 1px solid var(--ink); }
.values-grid span { color: var(--clay); font-size: 12px; }
.values-grid h3 { font-size: 32px; margin: 50px 0 18px; }
.values-grid p { color: var(--muted); font-size: 14px; }

.portfolio { background: var(--white); }
.portfolio-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.portfolio-heading h2 { margin-bottom: 0; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.gallery-filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.gallery-filter:hover, .gallery-filter.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.portfolio-grid { columns: 3 280px; column-gap: 22px; }
.portfolio-item { break-inside: avoid; margin: 0 0 22px; }
.portfolio-item[hidden] { display: none; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; overflow: hidden; }
.gallery-open img { width: 100%; height: auto; max-height: 620px; object-fit: cover; transition: transform .45s ease; }
.gallery-open:hover img { transform: scale(1.02); }
.portfolio-item figcaption { padding: 11px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .11em; font-size: 10px; }
.gallery-more-wrap { margin-top: 42px; text-align: center; }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.button-outline:hover { background: var(--ink); color: var(--white); }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 55px 24px 24px;
  background: rgba(20, 20, 18, .92);
}
.lightbox[hidden] { display: none; }
.lightbox img { width: auto; max-width: min(1100px, 94vw); height: auto; max-height: calc(100vh - 85px); object-fit: contain; }
.lightbox-close { position: absolute; top: 14px; right: 22px; border: 0; background: transparent; color: var(--white); font-size: 42px; font-weight: 300; cursor: pointer; }

.contact-page { min-height: calc(100vh - 84px); display: grid; grid-template-columns: 1fr 1fr; }
.contact-panel { padding: 100px 8vw; background: var(--contact); color: var(--white); }
.contact-panel .eyebrow { color: #f0d9ca; }
.contact-panel h1 { font-size: clamp(55px, 6vw, 92px); }
.contact-panel > p:not(.eyebrow) { color: rgba(255,255,255,.7); max-width: 530px; }
.contact-cards { margin-top: 65px; border-top: 1px solid rgba(255,255,255,.3); }
.contact-cards > * { display: grid; grid-template-columns: 100px 1fr; gap: 25px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-cards span { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.6); }
.contact-cards strong { line-height: 1.55; }
.contact-form { padding: 100px 8vw; background: var(--white); }
.contact-form label { display: block; margin-bottom: 25px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 9px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font: inherit; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form small { display: block; margin-top: 13px; color: var(--muted); }
.contact-direct { display: grid; grid-template-rows: minmax(320px, 46vh) 1fr; min-width: 0; background: var(--white); }
.contact-direct-image { background: linear-gradient(rgba(20,20,18,.04), rgba(20,20,18,.12)), url("assets/salon-interior.jpg") center/cover; }
.contact-direct-copy { padding: clamp(55px, 6vw, 90px) 8vw; align-self: center; }
.contact-direct-copy h2 { max-width: 560px; margin-bottom: 25px; font-size: clamp(42px, 4.5vw, 70px); }
.contact-direct-copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.contact-direct-copy .button { margin-top: 18px; }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 24px; }
  .header-contact { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
  }
  .menu-toggle span { height: 1px; width: 24px; background: var(--ink); transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 84px 0 0;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: .25s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { font-family: "Italiana", serif; font-size: 36px; text-transform: none; letter-spacing: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 80px 8vw 60px; }
  .hero-visual { padding: 0 8vw 70px; min-height: 600px; }
  .hero-note { left: auto; right: 3vw; bottom: 35px; }
  .hero-side { display: none; }
  .services { grid-template-columns: 1fr; }
  .section-heading { position: static; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 600px; }
  .inner-hero { grid-template-columns: 1fr; min-height: 540px; }
  .inner-hero-services { background: var(--paper); }
  .detail-row, .detail-row.reverse { grid-template-columns: 35px 1fr; }
  .detail-row .detail-image, .detail-row.reverse .detail-image { grid-column: 1 / -1; grid-row: auto; order: initial; }
  .detail-row.reverse > span { grid-column: 1; grid-row: 1; }
  .detail-row.reverse > div:nth-child(2) { grid-column: 2; grid-row: 1; padding-left: 0; }
  .story, .values, .contact-page { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .portfolio-heading { align-items: flex-start; flex-direction: column; }
  .gallery-filters { justify-content: flex-start; }
  .portfolio-grid { columns: 2 250px; }
}

@media (max-width: 680px) {
  .site-header { height: 72px; }
  .brand { gap: 9px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 18px; }
  .main-nav { inset: 72px 0 0; }
  .hero { min-height: auto; }
  .hero-copy { padding: 62px 24px 50px; }
  h1 { font-size: clamp(50px, 15vw, 76px); margin-bottom: 28px; }
  h2 { font-size: clamp(42px, 12vw, 58px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-visual { padding: 0 24px 55px; min-height: 490px; }
  .hero-image { min-height: 460px; }
  .hero-note { width: 135px; height: 135px; right: 7px; bottom: 18px; }
  .hero-note span { font-size: 27px; }
  .intro-strip { flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 24px; }
  .intro-strip p { font-size: 21px; }
  .intro-strip span { width: 100%; }
  .intro-strip p:nth-of-type(3), .intro-strip span:nth-of-type(2) { display: none; }
  .section { padding: 85px 24px; }
  .service-item { grid-template-columns: 32px 1fr; }
  .service-arrow { display: none; }
  .about-image { min-height: 480px; }
  .about { gap: 65px; }
  .gallery-heading { grid-template-columns: 1fr; align-items: start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card-tall { grid-row: auto; }
  .gallery-card img, .gallery-card-tall img { height: 430px; }
  .contact { grid-template-columns: 1fr; gap: 65px; }
  .inner-hero { padding: 75px 24px 65px; min-height: 500px; }
  .inner-hero h1 { font-size: clamp(42px, 11.5vw, 52px); }
  .inner-hero > p { font-size: 16px; }
  .detail-row { padding: 55px 0; gap: 15px; }
  .detail-image { min-height: 430px; margin-top: 20px; }
  .story { gap: 60px; }
  .story-image { min-height: 500px; }
  .portfolio-grid { columns: 1; }
  .portfolio-item { margin-bottom: 28px; }
  .gallery-open img { max-height: none; }
  .gallery-filters { gap: 7px; }
  .gallery-filter { padding: 0 12px; }
  .salon-tour { max-height: 520px; }
  .contact-panel, .contact-form { padding: 75px 24px; }
  .contact-direct { grid-template-rows: 300px auto; }
  .contact-direct-copy { padding: 65px 24px 75px; }
  .contact-cards > * { grid-template-columns: 75px 1fr; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

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