/* ==========================================================================
   Luxe Hair by Diana - design tokens
   Palette: warm cream + white, muted antique gold (sampled from the salon
   logo), soft blush pink. One accent (gold) used consistently for every
   interactive element; pink is used only as a soft section/background tint.
   Shape system: pill radius on every interactive control, 18px soft radius
   on every image/card. No mixed radii.
   ========================================================================== */

:root {
  color-scheme: light;

  --cream:        #FBF4EC;
  --cream-deep:   #F3E7D8;
  --white:        #FFFDFB;
  --blush:        #F5DEE3;
  --blush-soft:   #FAEEF1;
  --blush-deep:   #E7B8C4;
  --gold:         #B8903F;
  --gold-light:   #D2A75E;
  --gold-dark:    #8F6E2E;
  --ink:          #2B2320;
  --ink-soft:     #6E6058;
  --ink-faint:    #9A8D84;
  --line:         rgba(43, 35, 32, 0.10);

  --radius-soft: 18px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(184, 144, 63, 0.14);
  --shadow-lift: 0 24px 60px rgba(184, 144, 63, 0.22);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

.icon { width: 19px; height: 19px; flex-shrink: 0; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-inline: auto;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.text-link svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.text-link:hover { gap: 0.8rem; }
.text-link:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Nav
   ========================================================================== */

.top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 244, 236, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px rgba(184, 144, 63, 0.08);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand, .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav-brand-text em, .footer-brand em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 2px;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  font-size: 0.95rem;
}
.nav-links a:not(.nav-cta) {
  position: relative;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 39;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-cta {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) 2rem clamp(4rem, 7vw, 6.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.6rem, 4.6vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 13ch;
}

.hero-sub {
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 42ch;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-soft);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lift);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(231, 184, 196, 0.18), transparent 55%);
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) 2rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-media {
  border-radius: var(--radius-soft);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

.about-text h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-bottom: 1.3rem;
}
.about-text p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 56ch;
}
.about-text .text-link { margin-top: 1.8rem; }

/* ==========================================================================
   Services (asymmetric bento)
   ========================================================================== */

.services {
  background: var(--blush-soft);
  padding: clamp(4rem, 7vw, 6.5rem) 2rem;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.service-tile {
  background: var(--white);
  border-radius: var(--radius-soft);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.service-tile--large {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--ink) 0%, #3a2f29 100%);
  color: var(--cream);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 3rem;
}
.service-tile--large h3 { color: var(--white); font-size: 2rem; max-width: 12ch; }
.service-tile--large p { color: rgba(251, 244, 236, 0.78); max-width: 42ch; }
.service-tile--large .tile-link { color: var(--gold-light); }
.service-tile--large .tile-link::after { background: var(--gold-light); }

.service-tile h3 {
  font-size: 1.4rem;
}
.service-tile p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  flex-grow: 1;
}

.tile-link {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}
.tile-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--gold-dark);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.tile-link:hover::after { transform: scaleX(1); }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
  padding: clamp(4rem, 7vw, 6.5rem) 2rem;
  max-width: 1320px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-soft);
  overflow: hidden;
  position: relative;
}
.gallery-item--tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(43, 35, 32, 0.35));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: var(--cream-deep);
  padding: clamp(4rem, 7vw, 6.5rem) 2rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  max-width: 1320px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-info h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-bottom: 1rem;
}
.contact-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 1rem;
}
.contact-details svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--gold-dark); margin-top: 2px; }
.contact-details small { color: var(--ink-faint); font-size: 0.85rem; }
.contact-details a:hover { color: var(--gold-dark); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-map {
  position: relative;
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 340px;
  background: var(--cream-deep);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: saturate(0.85) contrast(1.02);
}
.map-fallback-link {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.map-fallback-link:hover { color: var(--gold-dark); transform: translateY(-1px); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(251, 244, 236, 0.14);
}
.footer-brand { color: var(--cream); }
.footer-brand em { color: var(--gold-light); }

.footer-links {
  display: flex;
  gap: 1.8rem;
  font-size: 0.95rem;
}
.footer-links a { color: rgba(251, 244, 236, 0.72); transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--gold-light); }

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(251, 244, 236, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.footer-social svg { width: 17px; height: 17px; color: var(--cream); }
.footer-social:hover { border-color: var(--gold-light); background: rgba(210, 167, 94, 0.12); }

.footer-bottom {
  max-width: 1320px;
  margin: 1.6rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(251, 244, 236, 0.55);
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(43, 35, 32, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(251, 244, 236, 0.3);
  background: rgba(251, 244, 236, 0.06);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-close:hover { border-color: var(--gold-light); background: rgba(210, 167, 94, 0.16); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
  .hero-title { max-width: none; }

  .about { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16 / 10; }

  .contact { grid-template-columns: 1fr; }
  .contact-map { min-height: 300px; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-tile--large { grid-column: span 2; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 0 1.25rem; height: 68px; }
  .top-sentinel, .mobile-menu { inset: 68px 0 0 0; }
  .nav-brand-text { font-size: 1rem; }

  .hero, .about, .services, .gallery, .contact { padding-left: 1.25rem; padding-right: 1.25rem; }

  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .service-tile--large { grid-column: span 1; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}
