/* ─── Brand tokens (from Les Mains brand book) ─── */
:root {
  --ivory:  #F7F4EF;
  --nude:   #E2CFC2;
  --taupe:  #B8A99A;
  --stone:  #8E8479;
  --onyx:   #0E0E0E;
  --blush:  #EBC8C6;
  --gold:   #C9A86B;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-heading: 'Playfair Display', 'Times New Roman', serif;
  --font-body:    'Montserrat', system-ui, -apple-system, sans-serif;

  --space-section: clamp(70px, 10vw, 140px);
  --maxw: 1240px;
}

/* ─── Reset / base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--onyx);
  background: var(--ivory);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Typography ─── */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.04em;
  font-size: clamp(2.4rem, 6.5vw, 5.4rem);
  line-height: 1.05;
  color: var(--onyx);
}
.display .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--stone);
}
.heading-display {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--onyx);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 400;
}
.lede {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--stone);
  max-width: 36em;
  margin-top: 1.5rem;
  font-weight: 300;
}
.section-sub {
  color: var(--stone);
  max-width: 38em;
  margin-top: 0.75rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--onyx);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--onyx);
}
.btn-ghost {
  background: transparent;
  color: var(--onyx);
  border-color: var(--onyx);
}
.btn-ghost:hover {
  background: var(--onyx);
  color: var(--ivory);
}
.link-arrow {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--onyx);
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(247, 244, 239, 0.92);
  border-bottom-color: rgba(184, 169, 154, 0.2);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.32em;
  color: var(--onyx);
}
.brand-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.45em;
  color: var(--stone);
  margin-left: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--onyx);
  font-weight: 400;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { padding: 10px 24px; font-size: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--onyx);
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 24px 32px 32px;
  background: rgba(247, 244, 239, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(184, 169, 154, 0.2);
}
.nav-mobile.open { display: flex; }
/* Bug fix: was selecting ALL anchors including .btn, which forced
   color:onyx on the Book Now button = black text on black bg.
   Exclude .btn so it keeps its own light-on-dark styling. */
.nav-mobile a:not(.btn) {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--onyx);
  padding: 8px 0;
}
.nav-mobile .btn {
  align-self: flex-start;
  margin-top: 8px;
  color: var(--ivory);
}

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 180px 32px 120px;
  min-height: 92vh;
}
.hero-text { padding-right: 20px; }
.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
/* Image boxes size to their image's natural aspect ratio — no
   gaps, no leftover background. The img is the size of the box. */
.hero-image {
  position: relative;
  overflow: hidden;
  align-self: center;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Promise strip ─── */
.strip {
  background: var(--onyx);
  color: var(--ivory);
}
.strip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 400;
}
.strip-item { display: inline-flex; align-items: center; gap: 10px; }
.strip-icon { color: var(--gold); }
.strip-divider { color: var(--stone); }

/* ─── About ─── */
.about {
  padding: var(--space-section) 32px;
}
.about-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
  overflow: hidden;
  align-self: center;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}
.about-text { max-width: 32em; }
.about-text .heading-display { margin: 0.75rem 0 1.5rem; }
.about-text p { margin-bottom: 1.25rem; color: var(--onyx); }

/* ─── Services ─── */
.services {
  background: var(--ivory);
  padding: var(--space-section) 32px;
  border-top: 1px solid rgba(184, 169, 154, 0.2);
  border-bottom: 1px solid rgba(184, 169, 154, 0.2);
}
.section-head {
  max-width: var(--maxw);
  margin: 0 auto 60px;
  text-align: center;
}
.section-head .heading-display { margin-top: 0.5rem; }
.section-head .section-sub { margin: 0.75rem auto 0; }
.service-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(184, 169, 154, 0.25);
  border: 1px solid rgba(184, 169, 154, 0.25);
}
.service-card {
  background: var(--ivory);
  padding: 44px 36px;
  transition: background 0.3s ease;
}
.service-card:hover { background: #fdfbf7; }
.service-card.featured { background: #fdfbf7; }
.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  color: var(--onyx);
}
.service-card p { color: var(--stone); margin-bottom: 1.25rem; font-size: 0.95rem; }
.service-meta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-meta .dot { opacity: 0.5; }
.services-cta {
  text-align: center;
  margin-top: 70px;
}
.services-cta-sub {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 1.25rem;
}

/* ─── Pull quote ─── */
.quote {
  background: var(--ivory);
  padding: var(--space-section) 32px;
  text-align: center;
}
.quote blockquote {
  max-width: 32em;
  margin: 0 auto;
}
.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.4;
  color: var(--onyx);
  letter-spacing: 0.01em;
}
.quote-mark {
  color: var(--gold);
  font-size: 1.6em;
  line-height: 0;
  position: relative;
  top: 0.18em;
}
.quote-mark.close { margin-left: 2px; }

/* ─── Mood / gallery ─── */
.mood {
  background: #fdfbf7;
  padding: var(--space-section) 32px;
}
/* Explicit grid placement so tiles can never overlap.
   4-col layout: row 1 = big tile + 2 squares; row 2 = big continues + wide;
   row 3 = full-width banner. Each tile has its own aspect-ratio. */
.mood-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mood-tile {
  position: relative;
  background-color: var(--nude);
  overflow: hidden;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.mood-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.mood-tile:hover img { transform: scale(1.04); }

.tile-1 { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: 1 / 1; }
.tile-2 { grid-column: 3 / 4; grid-row: 1 / 2; aspect-ratio: 1 / 1; }
.tile-3 { grid-column: 4 / 5; grid-row: 1 / 2; aspect-ratio: 1 / 1; }
.tile-4 { grid-column: 3 / 5; grid-row: 2 / 3; aspect-ratio: 2 / 1; }
.tile-5 { grid-column: 1 / 5; grid-row: 3 / 4; aspect-ratio: 4 / 1; }

/* Keep the most important focal points visible when cropped to cover */
.tile-1 img { object-position: center 30%; }
.tile-4 img { object-position: center 60%; }

/* ─── Contact ─── */
.contact {
  background: var(--onyx);
  color: var(--ivory);
  padding: var(--space-section) 32px;
}
.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-text .heading-display { color: var(--ivory); margin: 0.75rem 0 1.25rem; }
.contact-text p { color: var(--taupe); margin-bottom: 2rem; max-width: 30em; }
.contact-text .eyebrow { color: var(--gold); }
.contact-text .btn-primary {
  background: var(--ivory);
  color: var(--onyx);
}
.contact-text .btn-primary:hover {
  background: var(--gold);
  color: var(--onyx);
}
.contact-info { display: grid; gap: 32px; }
.contact-block {
  border-left: 1px solid var(--stone);
  padding-left: 24px;
}
.contact-label {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px !important;
}
.contact-block p { color: var(--ivory); margin: 0; }
.contact-block a { color: var(--ivory); border-bottom: 1px solid var(--stone); padding-bottom: 2px; }
.contact-block a:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Footer ─── */
.footer {
  background: var(--onyx);
  border-top: 1px solid var(--stone);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.footer-fine {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ─── Focus styles (a11y) ─── */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.nav-mobile a:focus-visible { outline-offset: 0; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
    padding-bottom: 80px;
    min-height: auto;
    gap: 40px;
  }
  .hero-text { padding-right: 0; }
  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  /* Tablet/mobile gallery — collapse to predictable 2-col stack.
     Reset grid-area so the explicit desktop placement doesn't carry over. */
  .mood-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mood-tile { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1 / 1 !important; }
  .tile-1 { grid-column: span 2 !important; aspect-ratio: 16 / 10 !important; }
  .tile-4 { grid-column: span 2 !important; aspect-ratio: 2 / 1 !important; }
  .tile-5 { grid-column: span 2 !important; aspect-ratio: 16 / 9 !important; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 520px) {
  .nav-inner { padding: 18px 22px; }
  .hero { padding: 120px 22px 60px; }
  .about, .services, .quote, .mood, .contact { padding-left: 22px; padding-right: 22px; }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-cta .btn { width: 100%; text-align: center; }
  .strip-inner { padding: 22px 22px; gap: 10px; font-size: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
}
