/* =========================================================================
   Fairy Godmother — styles.css
   Thoughtful Organisation. Lasting Change.
   ========================================================================= */

/* ----------------------------- Design Tokens ---------------------------- */
:root {
  /* Brand palette */
  --gold: #d4af37;
  --gold-soft: #e3c873;
  --sage: #70836d;
  --ivory: #f7f5ef;
  --ivory-deep: #f1eee4;
  --stone: #e7dfd2;
  --deep-sage: #4f6152;
  --deep-sage-dark: #3f4f42;

  /* Functional */
  --text: #2f3a31;
  --text-soft: #5c655a;
  --text-light: #f7f5ef;
  --line: #e2dccf;
  --white: #fffefb;

  /* Type */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", system-ui, sans-serif;

  /* Spacing / layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --radius: 14px;
  --radius-lg: 22px;

  /* Effects */
  --shadow-sm: 0 6px 20px rgba(79, 97, 82, 0.08);
  --shadow-md: 0 18px 50px rgba(79, 97, 82, 0.14);
  --shadow-lg: 0 30px 70px rgba(63, 79, 66, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------- Reset ---------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul, ol { list-style: none; padding: 0; }

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--deep-sage);
  color: var(--text-light);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ----------------------------- Utilities -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--gold-soft); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: var(--deep-sage);
  letter-spacing: 0.01em;
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.section-lead {
  margin-top: 1.1rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* Gold dot divider (echoes the brand mark) */
.dot-divider {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  margin: 2.2rem auto;
  position: relative;
}
.dot-divider::before,
.dot-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(40px, 12vw, 90px);
  height: 1px;
  background: var(--line);
}
.dot-divider::before { right: 18px; }
.dot-divider::after { left: 18px; }

/* ------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: 50px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background-color 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn--gold {
  background: var(--gold);
  color: #3a2f06;
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.32);
}
.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.4);
}
.btn--ghost-light {
  border: 1px solid rgba(247, 245, 239, 0.6);
  color: var(--text-light);
  backdrop-filter: blur(4px);
}
.btn--ghost-light:hover {
  background: rgba(247, 245, 239, 0.14);
  transform: translateY(-3px);
}
.btn--block { width: 100%; padding-block: 1.1rem; }

/* ------------------------------- Header --------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease),
    padding 0.5s var(--ease);
  padding-block: 1.4rem;
}
.site-header.is-scrolled {
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding-block: 0.7rem;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__monogram {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--deep-sage);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--deep-sage);
  transition: color 0.5s var(--ease);
}
.brand__tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  transition: color 0.5s var(--ease);
}

/* Light treatment while transparent over the hero */
.site-header:not(.is-scrolled) .brand__monogram,
.site-header:not(.is-scrolled) .brand__name { color: var(--white); }
.site-header:not(.is-scrolled) .brand__tag { color: rgba(247, 245, 239, 0.85); }
.site-header:not(.is-scrolled) .nav__link { color: rgba(247, 245, 239, 0.92); }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__list { display: flex; gap: 2rem; }
.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { padding: 0.7rem 1.4rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px;
  z-index: 120;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--deep-sage);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease),
    background-color 0.4s var(--ease);
}
.site-header:not(.is-scrolled) .nav-toggle span { background: var(--white); }
body.menu-open .nav-toggle span { background: var(--deep-sage); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(82vw, 340px);
  background: var(--ivory);
  box-shadow: var(--shadow-lg);
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  align-items: center;
  padding: 2rem;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.4rem; width: 100%; }
.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--deep-sage);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}
.mobile-menu__cta { margin-top: 1rem; }
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(47, 58, 49, 0.4);
  backdrop-filter: blur(2px);
  z-index: 105;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu__overlay.is-visible { opacity: 1; }

/* -------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text-light);
}
.hero__media {
  position: absolute;
  inset: -8% 0 -8% 0;       /* overscan for parallax */
  z-index: 0;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(63, 79, 66, 0.7) 0%, rgba(63, 79, 66, 0.35) 45%, rgba(63, 79, 66, 0.1) 100%),
    linear-gradient(to top, rgba(47, 58, 49, 0.55) 0%, rgba(47, 58, 49, 0) 55%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-block: 8rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-bottom: 1.6rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 540px;
  color: rgba(247, 245, 239, 0.92);
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: rgba(247, 245, 239, 0.8);
}
.scroll-cue__text {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.scroll-cue__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold-soft), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(280%); }
}

/* ------------------ Hero magic-wand cursor + sparkle trail --------------- */
/* Gold wand (diagonal handle + four-point star tip). Hotspot at the star. */
.hero {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cline x1='10' y1='10' x2='27' y2='27' stroke='%234F6152' stroke-width='4' stroke-linecap='round'/%3E%3Cline x1='10' y1='10' x2='27' y2='27' stroke='%23D4AF37' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M9 1 L11 7 L17 9 L11 11 L9 17 L7 11 L1 9 L7 7 Z' fill='%23D4AF37' stroke='%23FFFFFF' stroke-width='0.6' stroke-linejoin='round'/%3E%3C/svg%3E") 9 9, auto;
}
/* Keep clickable elements signalling clickability */
.hero .btn,
.hero .scroll-cue,
.hero a { cursor: pointer; }

.hero__fx {
  position: absolute;
  inset: 0;
  z-index: 3;            /* above .hero__content (z-2) so stars sparkle over text */
  pointer-events: none;  /* never block clicks on the hero */
  overflow: hidden;
}
.sparkle {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.55));
  will-change: transform, opacity;
  animation: sparkle-fade 900ms ease-out forwards;
}
.sparkle svg { display: block; width: 100%; height: 100%; }
@keyframes sparkle-fade {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(0deg); }
  25% { opacity: 0.95; transform: translate(-50%, -50%) scale(1) rotate(20deg); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% + 22px)) scale(0.18) rotate(80deg); }
}

/* -------------------------------- Intro --------------------------------- */
.intro { background: var(--ivory); text-align: center; }
.intro__inner { max-width: 820px; margin-inline: auto; }
.intro__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.32;
  color: var(--deep-sage);
  font-weight: 500;
}
.intro__body {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 640px;
  margin-inline: auto;
}

/* ------------------------------ Pillars --------------------------------- */
.pillars { background: var(--ivory-deep); }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.pillar:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.pillar__icon {
  display: inline-grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--sage);
  margin-bottom: 1.3rem;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.pillar__icon svg { width: 36px; height: 36px; }
.pillar:hover .pillar__icon { background: var(--deep-sage); color: var(--gold-soft); }
.pillar__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--deep-sage);
  margin-bottom: 0.5rem;
}
.pillar__text { font-size: 0.95rem; color: var(--text-soft); }

/* ------------------------------ Services -------------------------------- */
.services { background: var(--ivory); }
.services__list {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 9vw, 8rem);
}
.service {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.service--reverse .service__media { order: 2; }
.service__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 4 / 3;
}
.service__media img {
  width: 100%;
  height: 112%;            /* overscan for gentle parallax */
  object-fit: cover;
  will-change: transform;
}
.service__num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.service__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--deep-sage);
  line-height: 1.1;
  margin: 0.4rem 0 1rem;
}
.service__body p { color: var(--text-soft); margin-bottom: 1.4rem; }
.service__points { display: flex; flex-direction: column; gap: 0.7rem; }
.service__points li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
  color: var(--text);
}
.service__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ------------------------------ Process --------------------------------- */
.process { background: var(--ivory-deep); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
.steps__line {
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.steps__line-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transform-origin: left;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--deep-sage);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.step__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-sage);
  margin-bottom: 0.5rem;
}
.step__text { font-size: 0.92rem; color: var(--text-soft); max-width: 240px; margin-inline: auto; }

/* ------------------------------- Stats ---------------------------------- */
.stats {
  background: var(--deep-sage);
  color: var(--text-light);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  position: relative;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 60%);
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.85);
}

/* ------------------------------ Gallery --------------------------------- */
.gallery { background: var(--ivory); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47, 58, 49, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }

/* ---------------------------- Testimonials ------------------------------ */
.testimonials { background: var(--ivory-deep); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.quote {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote__mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.55;
}
.quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--deep-sage);
  margin: 0.8rem 0 1.6rem;
}
.quote figcaption { display: flex; flex-direction: column; }
.quote__name { font-weight: 600; color: var(--text); }
.quote__role { font-size: 0.82rem; color: var(--sage); letter-spacing: 0.08em; text-transform: uppercase; }

/* -------------------------------- FAQ ----------------------------------- */
.faq { background: var(--ivory); }
.faq__inner { max-width: 820px; margin-inline: auto; }
.faq__list { display: flex; flex-direction: column; gap: 1rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 clamp(1.2rem, 3vw, 1.8rem);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.faq__item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--deep-sage);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 1.4rem; color: var(--text-soft); }
.faq__answer p { max-width: 64ch; }
.faq__answer a { color: var(--deep-sage); text-decoration: underline; text-underline-offset: 3px; }
.faq__answer a:hover { color: var(--gold); }

/* ------------------------------ Promise --------------------------------- */
.promise {
  background: var(--deep-sage);
  color: var(--text-light);
  padding-block: 1.4rem;
  overflow: hidden;
  border-block: 1px solid rgba(212, 175, 55, 0.25);
}
.promise__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.promise__track span {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.promise__dot { color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------------------------ Contact --------------------------------- */
.contact { background: var(--ivory); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__lead { color: var(--text-soft); margin: 1rem 0 2rem; }
.contact__details { display: flex; flex-direction: column; gap: 1.1rem; }
.contact__details li { display: flex; flex-direction: column; }
.contact__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.2rem;
}
.contact__details a { color: var(--deep-sage); font-size: 1.1rem; transition: color 0.3s var(--ease); }
.contact__details a:hover { color: var(--gold); }

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.3rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}
.field__optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--sage); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(112, 131, 109, 0.14);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #c0623f; background: #fbf1ec; }
.field__error {
  font-size: 0.78rem;
  color: #c0623f;
  margin-top: 0.4rem;
  min-height: 1rem;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  text-align: center;
  min-height: 1.2rem;
}
.form-status.is-success { color: var(--sage); font-weight: 600; }
.form-status.is-error { color: #c0623f; font-weight: 600; }
#submitBtn[disabled] { opacity: 0.65; cursor: not-allowed; }

/* ------------------------------- Footer --------------------------------- */
.site-footer {
  background: var(--deep-sage-dark);
  color: rgba(247, 245, 239, 0.85);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 245, 239, 0.12);
}
.brand__monogram--lg {
  width: 60px;
  height: 60px;
  font-size: 1.9rem;
  color: var(--gold-soft);
  border-color: var(--gold-soft);
  margin-bottom: 1rem;
}
.footer__name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.footer__tag { font-size: 0.85rem; letter-spacing: 0.08em; }
.footer__nav,
.footer__social { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__nav a,
.footer__social a { transition: color 0.3s var(--ease); width: max-content; }
.footer__nav a:hover,
.footer__social a:hover { color: var(--gold-soft); }
.footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(247, 245, 239, 0.6);
}

/* ------------------------------ Lightbox -------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(47, 58, 49, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  max-width: 1000px;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.45s var(--ease);
}
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__figure img {
  max-height: 80vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__figure figcaption {
  margin-top: 1rem;
  color: var(--gold-soft);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--text-light);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.lightbox__close:hover { transform: rotate(90deg); color: var(--gold); }

/* =========================================================================
   Scroll-reveal (JS-gated). Elements are visible by default; only when the
   <html> element gets class "js-anim" do we hide them for animation.
   This keeps content visible if JS/GSAP fail and for reduced-motion users.
   ========================================================================= */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  will-change: opacity, transform;
}

/* ----------------------------- Responsive ------------------------------- */
@media (max-width: 980px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .steps__line { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact__inner { grid-template-columns: 1fr; }
}

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

  .service,
  .service--reverse { grid-template-columns: 1fr; gap: 1.8rem; }
  .service--reverse .service__media { order: 0; }
  .service__media { aspect-ratio: 16 / 11; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
}

@media (max-width: 560px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; gap: 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: span 1; grid-row: span 1; }
  .hero__content { padding-block: 7rem 5rem; }
}

/* --------------------------- Reduced motion ----------------------------- */
@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;
  }
  .promise__track { animation: none; }
  .scroll-cue__line::after { display: none; }
  /* Never hide content for reduced-motion users */
  .js-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
  /* Disable the magic-wand cursor + sparkle trail */
  .hero { cursor: auto; }
  .hero__fx { display: none; }
}
