/* ==========================================================================
   Skinlifter Aesthetics — Design System
   Palette: warm ivory · deep forest green · champagne gold
   Type:    Cormorant Garamond (display) · Jost (text / UI)
   ========================================================================== */

:root {
  /* Surfaces */
  --ivory: #F5EFE6;
  --cream: #FBF8F2;
  --sand: #EBE1D2;
  --sand-deep: #E0D3BF;

  /* Greens (brand dark) */
  --forest: #1F2E27;
  --forest-deep: #16201B;
  --forest-soft: #2C4036;

  /* Ink & text */
  --ink: #28302B;
  --muted: #736B5D;
  --muted-light: #A79E8E;

  /* Gold accents */
  --gold: #B0915E;
  --gold-deep: #957A49;
  --gold-soft: #CBB389;

  /* Lines */
  --line: rgba(40, 48, 43, 0.14);
  --line-soft: rgba(40, 48, 43, 0.08);
  --line-light: rgba(245, 239, 230, 0.28);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Metrics */
  --container: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 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(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--ink);
}
h1 { font-size: clamp(2.9rem, 6.6vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
em { font-style: italic; }

p { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); }

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 52px);
}
.section { padding-block: clamp(68px, 9vw, 140px); }
.section--tight { padding-block: clamp(54px, 6vw, 96px); }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }

/* ----- Shared bits ----- */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--gold-soft); }

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--gold-deep);
  margin-bottom: 1.4rem;
}
.kicker::before, .kicker::after {
  content: "";
  width: clamp(34px, 6vw, 64px);
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.section-head { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head p { margin-top: 1rem; }
.star { color: var(--gold); font-size: 1.2rem; display: inline-block; margin-bottom: 1.2rem; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1;
  padding: 1.15em 2.3em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn--dark { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.btn--dark:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn--line { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn--line:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.btn--line-light { background: transparent; color: var(--ivory); border-color: var(--line-light); }
.btn--line-light:hover { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }

/* ----- CTA shimmer: a champagne light that travels around the edge ----- */
@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.btn--glow {
  position: relative;
  isolation: isolate;
  box-shadow: 0 6px 26px -12px rgba(176, 145, 94, 0.65);
}
/* travelling highlight ring (masked to the border only) */
.btn--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.6px;
  background: conic-gradient(from var(--beam-angle),
    rgba(203, 179, 137, 0) 0deg,
    rgba(203, 179, 137, 0) 200deg,
    var(--gold-soft) 274deg,
    #fff7e8 306deg,
    var(--gold-soft) 338deg,
    rgba(203, 179, 137, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: beam-rotate 4.5s linear infinite;
  pointer-events: none;
  z-index: 2;
}
/* soft bloom that follows the same rhythm */
.btn--glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 16px -2px rgba(203, 179, 137, 0.55);
  opacity: 0;
  animation: beam-bloom 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes beam-rotate { to { --beam-angle: 360deg; } }
@keyframes beam-bloom {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .btn--glow::before { animation: none; }
  .btn--glow::after { animation: none; opacity: 0.4; }
}

/* ----- Double frame (signature element) ----- */
.framed { position: relative; display: block; }
.framed__inner {
  position: relative;
  z-index: 1;
  padding: 12px;
  background: var(--cream);
  border: 1px solid rgba(176, 145, 94, 0.55);
}
.framed__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.framed::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 24px; left: 24px; right: -24px; bottom: -24px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.framed--left::after { left: -24px; right: 24px; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease),
              padding 0.45s var(--ease);
  padding-block: 1.4rem;
}
.site-header.scrolled {
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.8rem;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__mark {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: 0.34em;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.5rem;
}
/* On hero (not scrolled) text is light */
.site-header:not(.scrolled) .brand__mark { color: var(--ivory); }
.site-header:not(.scrolled) .nav a { color: rgba(245, 239, 230, 0.86); }
.site-header:not(.scrolled) .header__cta { color: var(--ivory); border-color: var(--line-light); }
.site-header:not(.scrolled) .header__cta:hover { background: var(--ivory); color: var(--forest); }
.site-header:not(.scrolled) .nav-toggle span,
.site-header:not(.scrolled) .nav-toggle span::before,
.site-header:not(.scrolled) .nav-toggle span::after { background: var(--ivory); }

.nav { display: flex; gap: clamp(1.4rem, 2.4vw, 2.6rem); }
.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--gold-deep); }
.nav a:hover::after { width: 100%; }

.header__cta { padding: 0.95em 1.8em; }
.nav-toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute;
  left: 0;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease);
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { content: ""; top: -8px; }
.nav-toggle span::after { content: ""; top: 8px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest-deep);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 32, 27, 0.82) 0%, rgba(22, 32, 27, 0.55) 38%, rgba(22, 32, 27, 0.12) 70%, rgba(22, 32, 27, 0.05) 100%),
    linear-gradient(0deg, rgba(22, 32, 27, 0.45), rgba(22, 32, 27, 0) 40%);
}
.hero__frame {
  position: absolute; z-index: 2; inset: clamp(16px, 2.4vw, 34px);
  border: 1px solid var(--line-light);
  pointer-events: none;
}
.hero__frame::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(203, 179, 137, 0.22);
}
.hero__content { position: relative; z-index: 3; padding-block: 9rem; max-width: 760px; }
@media (min-width: 768px) {
  .hero .hero__content { margin-left: clamp(24px, 4.5vw, 88px); margin-right: auto; max-width: 720px; }
}
.hero__title { color: var(--ivory); margin-bottom: 1.6rem; }
.hero__title em { color: var(--gold-soft); font-weight: 500; }
.hero__lead { color: rgba(245, 239, 230, 0.86); max-width: 30em; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.8rem; }
.hero__locations {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: rgba(245, 239, 230, 0.7);
  display: flex; align-items: center; gap: 0.7rem;
}
.hero__locations::before { content: ""; width: 26px; height: 1px; background: var(--gold-soft); }
.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245, 239, 230, 0.6); display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue::after { content: ""; width: 1px; height: 42px; background: linear-gradient(var(--gold-soft), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ==========================================================================
   Marquee strip
   ========================================================================== */
.marquee {
  background: var(--cream);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 1.15rem;
}
.marquee__track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__track .sep { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Trust / stats
   ========================================================================== */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.trust__item { text-align: center; }
.trust__icon { color: var(--gold); margin: 0 auto 1rem; width: 30px; height: 30px; }
.trust__icon svg { width: 100%; height: 100%; stroke: currentColor; }
.trust__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.trust__label {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted);
}
.trust__item + .trust__item { position: relative; }

/* ==========================================================================
   Quote band
   ========================================================================== */
.quote {
  background: var(--forest);
  color: var(--ivory);
  text-align: center;
  position: relative;
}
.quote .container { max-width: 1000px; }
.quote__text {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-style: italic;
  line-height: 1.18;
  color: var(--ivory);
  font-weight: 500;
}
.quote__by {
  margin-top: 1.8rem;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--gold-soft);
}

/* ==========================================================================
   Services carousel
   ========================================================================== */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; transition: transform 0.7s var(--ease); }
.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.slide__media { position: relative; }
.slide__media .framed__inner { padding: 10px; }
.slide__media img { aspect-ratio: 4 / 5; }
.slide__body { position: relative; padding-right: clamp(0px, 4vw, 3rem); }
.slide__index {
  position: absolute; top: 0; right: 0;
  font-size: 0.8rem; letter-spacing: 0.2em; color: var(--gold);
}
.slide__loc {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
  margin-bottom: 1.4rem;
}
.slide__loc svg { width: 14px; height: 14px; stroke: var(--gold); }
.slide__title { margin-bottom: 0.4rem; }
.slide h3 + .slide__loc { margin-top: 0.6rem; }
.slide__text { margin-bottom: 2rem; max-width: 34em; }

.carousel__nav {
  display: flex; align-items: center; justify-content: center; gap: 1.6rem;
  margin-top: clamp(2rem, 4vw, 3.4rem);
}
.carousel__arrow {
  width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 50%; display: grid; place-items: center;
  color: var(--ink); transition: all 0.35s var(--ease);
}
.carousel__arrow:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.carousel__arrow svg { width: 16px; height: 16px; }
.carousel__dots { display: flex; gap: 0.5rem; align-items: center; }
.carousel__dots button {
  width: 26px; height: 2px; background: var(--sand-deep); transition: background 0.35s var(--ease);
}
.carousel__dots button.is-active { background: var(--gold); }

.carousel__tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.tab {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  padding: 0.85em 1.4em; border: 1px solid var(--line); color: var(--muted);
  transition: all 0.35s var(--ease); border-radius: var(--radius);
}
.tab:hover { color: var(--ink); border-color: var(--gold-soft); }
.tab.is-active { color: var(--gold-deep); border-color: var(--gold); background: var(--cream); }

/* ==========================================================================
   Pillars (approach)
   ========================================================================== */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--ivory);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  transition: background 0.4s var(--ease);
}
.pillar:hover { background: var(--cream); }
.pillar__num {
  font-family: var(--serif);
  font-size: 1.6rem; color: var(--gold);
  display: block; margin-bottom: 1.6rem;
}
.pillar h3 { font-size: 1.45rem; margin-bottom: 0.9rem; }
.pillar p { font-size: 0.95rem; }

/* ==========================================================================
   About / studio
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.about__media img { aspect-ratio: 3 / 4; }
.about__body h2 { margin-bottom: 1.6rem; }
.about__body p + p { margin-top: 1.1rem; }
.ticks { margin: 2rem 0; display: grid; gap: 1rem; }
.ticks li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  font-size: 0.98rem; color: var(--ink);
}
.ticks svg { width: 20px; height: 20px; flex: none; stroke: var(--gold); margin-top: 2px; }
.about__sign {
  margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.about__sign strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); display: block; }
.about__sign span { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }

/* ==========================================================================
   Locations
   ========================================================================== */
.locations__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.5vw, 2rem); }
.loc-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.loc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(40, 48, 43, 0.5); }
.loc-card__tag {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold-deep); margin-bottom: 0.8rem;
}
.loc-card h3 { font-size: 1.7rem; margin-bottom: 1.1rem; }
.loc-card__addr { color: var(--muted); margin-bottom: 1.4rem; }
.loc-card dl { margin: 0 0 1.6rem; display: grid; gap: 0.7rem; font-size: 0.92rem; }
.loc-card dl > div { display: flex; gap: 0.7rem; }
.loc-card dt { color: var(--gold-deep); flex: none; }
.loc-card dd { color: var(--ink); margin: 0; }
.loc-card .btn { margin-top: auto; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq .container { max-width: 880px; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.5rem 0;
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink);
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--gold); transition: transform 0.35s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__item[open] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 0 1.7rem; max-width: 60ch; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative;
  background: var(--forest-deep);
  color: var(--ivory);
  text-align: center;
  overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.22; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(22,32,27,0.7), rgba(22,32,27,0.85));
}
.cta .container { position: relative; z-index: 2; max-width: 760px; }
.cta h2 { color: var(--ivory); margin-bottom: 1.4rem; }
.cta p { color: rgba(245, 239, 230, 0.8); margin-bottom: 2.4rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2.6rem; }
.cta__meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: center;
  font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(245, 239, 230, 0.72);
  padding-top: 2rem; border-top: 1px solid var(--line-light);
}
.cta__meta a { color: var(--gold-soft); }
.cta__meta a:hover { color: var(--ivory); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest); color: rgba(245, 239, 230, 0.72); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}
.footer__brand .brand__mark { color: var(--ivory); }
.footer__brand .brand__sub { color: var(--gold-soft); }
.footer__tagline { margin: 1.6rem 0; max-width: 28ch; color: rgba(245, 239, 230, 0.66); font-size: 0.95rem; }
.footer__social { display: flex; gap: 0.8rem; }
.footer__social a {
  width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%;
  display: grid; place-items: center; transition: all 0.35s var(--ease);
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h4 { font-family: var(--sans); font-size: 0.74rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold-soft); margin-bottom: 1.4rem; }
.footer__col ul { display: grid; gap: 0.8rem; }
.footer__col a, .footer__col li { font-size: 0.92rem; color: rgba(245, 239, 230, 0.72); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--ivory); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 2rem; font-size: 0.8rem; color: rgba(245, 239, 230, 0.55);
}
.footer__bottom a { color: rgba(245, 239, 230, 0.7); }
.footer__bottom a:hover { color: var(--gold-soft); }
.footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding-top: clamp(8rem, 14vw, 12rem); }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: 2.5rem; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.6rem 0 1rem; }
.legal h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.9rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.legal a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal .note {
  background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 1rem 1.3rem; font-size: 0.88rem; border-radius: var(--radius);
}
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-deep); text-decoration: none; }
.back-link:hover { color: var(--ink); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about__media { max-width: 460px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 2.6rem 1.5rem; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header__cta { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; left: 0; z-index: 90;
    width: 100vw; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; background: var(--forest-deep);
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  /* While menu is open, neutralise the header (its backdrop-filter would
     otherwise become the containing block for the fixed overlay). */
  body.nav-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  body.nav-open .brand__mark { color: var(--ivory); }
  body.nav-open .nav-toggle span::before,
  body.nav-open .nav-toggle span::after { background: var(--ivory); }
  .nav a { color: var(--ivory) !important; font-size: 1rem; letter-spacing: 0.2em; }
  .nav a::after { display: none; }
  .site-header:not(.scrolled) .nav a { color: var(--ivory); }

  .slide { grid-template-columns: 1fr; gap: 2rem; }
  .slide__media { max-width: 420px; margin-inline: auto; order: -1; }
  .slide__body { padding-right: 0; }
  .slide__index { position: static; display: block; margin-bottom: 0.8rem; }
  .locations__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .pillars__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .framed::after { top: 16px; left: 16px; right: -16px; bottom: -16px; }
  .cta__meta { flex-direction: column; gap: 0.5rem; }
}

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