/* ============================================================
   Maya Bennett — Personal Yoga Coach
   Dark theme by default · optional light theme via [data-theme="light"]
   Plain static stylesheet (no build step)
   ============================================================ */

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1310;
  --bg-alt: #141a15;
  --surface: #1a211b;
  --surface-2: #222b22;
  --text: #eef1e9;
  --text-soft: #c3cbbf;
  --text-muted: #8c968a;
  --line: rgba(238, 241, 233, 0.13);
  --line-strong: rgba(238, 241, 233, 0.26);
  --sage: #8fae86;
  --sage-strong: #a9c9a0;
  --clay: #dd9169;
  --gold: #d9b76d;
  --accent-soft: rgba(143, 174, 134, 0.16);
  --btn-bg: #eef1e9;
  --btn-text: #10140f;
  --nav-glass: rgba(15, 19, 16, 0.82);
  --hero-glow: rgba(143, 174, 134, 0.2);
  --error: #e8836b;
  --error-bg: rgba(224, 106, 82, 0.12);
  --error-border: #d16b52;
  --shadow: 0 26px 60px -28px rgba(0, 0, 0, 0.85);
  --footer-bg: #0a0d0a;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f1e8;
  --bg-alt: #efe8db;
  --surface: #fffdf9;
  --surface-2: #f3ede1;
  --text: #1d2823;
  --text-soft: #3c4a42;
  --text-muted: #6d7a71;
  --line: rgba(29, 40, 35, 0.14);
  --line-strong: rgba(29, 40, 35, 0.28);
  --sage: #7f9a7c;
  --sage-strong: #43573f;
  --clay: #c07a55;
  --gold: #b98a3e;
  --accent-soft: rgba(127, 154, 124, 0.16);
  --btn-bg: #1d2823;
  --btn-text: #f6f1e8;
  --nav-glass: rgba(246, 241, 232, 0.86);
  --hero-glow: rgba(127, 154, 124, 0.32);
  --error: #b0432f;
  --error-bg: #fdf1ee;
  --error-border: #c0533f;
  --shadow: 0 24px 60px -30px rgba(29, 40, 35, 0.45);
  --footer-bg: #0b0e0b;
}

:root {
  --radius: 22px;
  --radius-lg: 34px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-soft);
  background: var(--bg);
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

body.nav-open { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(2.7rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1.1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }
strong { font-weight: 500; color: var(--text); }

.container { width: min(100% - 2.6rem, var(--max)); margin-inline: auto; }

.serif-italic { font-style: italic; color: var(--sage-strong); }

/* ---------- Buttons & links ---------- */
.btn {
  --pad-y: 0.95rem;
  --pad-x: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s var(--ease), background 0.35s, color 0.35s, box-shadow 0.4s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--sage-strong); color: var(--btn-text); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--wide { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
  transition: gap 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.link-arrow:hover { gap: 0.85rem; color: var(--clay); border-color: var(--clay); }

.eyebrow {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-strong);
  margin: 0 0 1rem;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}
.nav.is-scrolled {
  background: var(--nav-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 var(--line);
}
/* While the mobile menu is open, drop backdrop-filter: it would make .nav the
   containing block for the fixed full-screen menu and clip it. */
body.nav-open .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark { width: 34px; height: 34px; color: var(--sage-strong); flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.brand__text em { color: var(--sage-strong); font-weight: 400; }

.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text-soft);
  position: relative;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--clay);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { width: 100%; background: var(--sage); }
.nav__cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--sage-strong); color: var(--btn-text) !important; }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

.nav__burger,
.theme-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.nav__burger { display: none; gap: 5px; }
.theme-toggle:hover,
.nav__burger:hover { border-color: var(--line-strong); background: var(--surface); transform: translateY(-2px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav__burger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-active span:nth-child(2) { opacity: 0; }
.nav__burger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(8rem, 15vw, 11rem) 0 0;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -18%; right: -8%;
  width: 46rem; height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-glow), transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__lead { font-size: 1.12rem; max-width: 34rem; margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 3.2rem 0 0;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.stats__item dt {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.stats__item dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--text);
  line-height: 1;
}

/* Arch image shape — always on a pure black backdrop so the
   portrait blends into its own black background with no visible seam. */
.arch {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 32% 32% var(--radius-lg) var(--radius-lg);
  background: #000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 1.2s var(--ease);
}
.arch:hover img { transform: scale(1.04); }
.arch--hero { aspect-ratio: 4 / 5.15; }
.hero__visual { margin: 0; position: relative; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -14px -14px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 32% 32% var(--radius-lg) var(--radius-lg);
  z-index: 0;
}
.hero__caption {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7fce93;
  box-shadow: 0 0 0 0 rgba(127, 206, 147, 0.55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 206, 147, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(127, 206, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 206, 147, 0); }
}

/* Marquee */
.marquee {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-alt);
}
.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 34s linear infinite;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--sage-strong);
  white-space: nowrap;
}
.marquee__track span:nth-child(even) { color: var(--clay); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 11vw, 8.5rem) 0; }
.section__head { max-width: 44rem; margin: 0 auto clamp(3rem, 6vw, 4.5rem); text-align: center; }
.section__head--left { margin-left: 0; text-align: left; max-width: 40rem; }
.section__intro { margin-top: 1.3rem; font-size: 1.08rem; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, transparent, var(--bg-alt) 30%, var(--bg-alt) 70%, transparent); }
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about__visual { margin: 0; position: relative; }
.arch--about { aspect-ratio: 4 / 5; }
.about__badge {
  position: absolute;
  right: -18px;
  bottom: 34px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-text);
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.15;
  box-shadow: var(--shadow);
}
.about__badge strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--btn-text);
  display: block;
}
.about__badge span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.about__copy h2 { margin-bottom: 1.4rem; }
.about__copy p { max-width: 38rem; }

.credo { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: 0.7rem; }
.credo li { display: flex; gap: 0.7rem; font-size: 0.95rem; }
.credo span { color: var(--clay); }

/* ---------- Philosophy ---------- */
.philosophy { background: var(--bg); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar {
  position: relative;
  padding: 2.6rem 2rem 2.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  overflow: hidden;
}
.pillar::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--clay));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pillar:hover::after { transform: scaleX(1); }
.pillar__num {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--line-strong);
}
.pillar__icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--sage-strong);
  margin-bottom: 1.3rem;
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: 0.7rem; }
.pillar p { margin: 0; font-size: 0.96rem; }

/* ---------- Offerings ---------- */
.offerings { background: var(--bg-alt); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2.4rem 2.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.card--featured { background: var(--surface-2); border-color: var(--sage); }
.card__tag {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gold);
  color: #201a0e;
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  font-weight: 500;
}
.card__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.card__price { margin: 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--text); white-space: nowrap; }
.card__price span { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.card__desc { margin: 0; font-size: 0.98rem; }
.card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.card__list li { position: relative; padding-left: 1.5rem; font-size: 0.92rem; }
.card__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--clay);
  font-size: 0.8rem;
}
.card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Journey ---------- */
.journey { background: var(--bg); }
.journey__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.journey__intro { position: sticky; top: 7rem; align-self: start; }
.journey__intro h2 { margin-bottom: 1.2rem; }
.experience-card {
  margin-top: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.9rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.experience-card strong { font-family: var(--font-display); font-size: 3.4rem; color: var(--sage-strong); line-height: 1; }
.experience-card p { margin: 0; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; border-left: 1px solid var(--line); }
.timeline__item { position: relative; padding: 0 0 2.4rem 1.8rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.42rem; top: 0.5rem;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--sage);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--clay);
  display: block;
  margin-bottom: 0.35rem;
}
.timeline__item h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.timeline__item p { margin: 0; font-size: 0.96rem; }

/* ---------- Stories ---------- */
.stories { background: var(--bg-alt); }
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote {
  margin: 0;
  padding: 2.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.42;
  color: var(--text);
}
.quote blockquote em { color: var(--clay); }
.quote figcaption { margin-top: auto; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--text-muted); }
.quote figcaption span { color: var(--text); font-weight: 500; }
.quote--tall { grid-row: span 2; background: var(--surface-2); border-color: var(--line); }
.quote--tall blockquote { font-size: 1.5rem; }
.quote--wide { grid-column: span 2; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-alt); border-top: 1px solid var(--line); }
.contact .eyebrow { color: var(--gold); }
.contact__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__intro p { max-width: 32rem; }
.contact__details { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 1.1rem; }
.contact__details li { display: flex; align-items: center; gap: 0.9rem; font-size: 0.98rem; }
.contact__details a { border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.contact__details a:hover { color: var(--gold); border-color: var(--gold); }
.contact__ico {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  color: var(--gold);
  flex: none;
}
.contact__ico svg { width: 19px; height: 19px; }

.contact-form {
  background: var(--surface);
  color: var(--text-soft);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}
.req { color: var(--clay); }
.field__opt { text-transform: none; letter-spacing: 0.02em; color: var(--text-muted); font-weight: 300; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 0.8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error-border); background: var(--error-bg); }
.field__error {
  display: none;
  margin: 0;
  font-size: 0.78rem;
  color: var(--error);
}
.field.has-error .field__error { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: grid; gap: 0.9rem; }
.form__note { margin: 0; font-size: 0.82rem; color: var(--text-muted); text-align: center; }
.form__note a { color: var(--sage-strong); border-bottom: 1px solid var(--line); }
.form__success {
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--sage-strong);
  font-size: 0.95rem;
  text-align: center;
}
.btn__spinner {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: 0.7;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer (always deep, in both themes) ---------- */
.footer {
  background: var(--footer-bg);
  color: rgba(238, 241, 233, 0.62);
  padding: 4.5rem 0 1.8rem;
  font-size: 0.94rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(238, 241, 233, 0.12);
}
.brand--footer { margin-bottom: 1.1rem; }
.brand--footer .brand__mark { color: var(--gold); }
.brand--footer .brand__text { color: #f4f2ec; }
.brand--footer .brand__text em { color: var(--gold); }
.footer__brand p { max-width: 30rem; margin: 0; }
.footer h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f4f2ec;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.footer__nav { display: flex; flex-direction: column; }
.footer__nav a { padding: 0.32rem 0; transition: color 0.3s, transform 0.3s var(--ease); }
.footer__nav a:hover { color: var(--gold); transform: translateX(4px); }

.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0 0 1.5rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(238, 241, 233, 0.16);
  color: rgba(238, 241, 233, 0.8);
  transition: transform 0.4s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
}
.socials a:hover { background: var(--gold); color: #10140f; border-color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer__cta {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(217, 183, 109, 0.4);
  padding-bottom: 0.25rem;
  transition: border-color 0.3s;
}
.footer__cta:hover { border-color: var(--gold); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.8rem;
  font-size: 0.8rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- To top ---------- */
.to-top {
  position: fixed;
  right: 1.6rem; bottom: 1.6rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s, background 0.3s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--sage-strong); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin: 0 auto 1rem; order: -1; }
  .arch--hero { aspect-ratio: 4 / 4.4; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .journey__grid, .contact__grid { grid-template-columns: 1fr; }
  .journey__intro { position: static; }
  .about__visual { max-width: 460px; margin-inline: auto; }
  .pillars { grid-template-columns: 1fr; }
  .stories__grid { grid-template-columns: repeat(2, 1fr); }
  .quote--tall { grid-row: auto; }
  .quote--wide { grid-column: span 2; }
}

@media (max-width: 780px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--bg);
    transform: translateY(-100%);
    transition: transform 0.55s var(--ease);
    z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-size: 1rem; letter-spacing: 0.16em; }
  .nav__cta { font-size: 0.9rem !important; }

  .cards { grid-template-columns: 1fr; }
  .stories__grid { grid-template-columns: 1fr; }
  .quote--wide { grid-column: auto; }
  .contact-form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__badge { width: 108px; height: 108px; right: -6px; bottom: 18px; }
  .about__badge strong { font-size: 2.1rem; }
  .hero { padding-top: 7rem; }
  .stats { gap: 1rem 1.4rem; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 2rem, var(--max)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .experience-card { width: 100%; }
}
