/* ==========================================================================
   Foodiefitcoach — Nimra Piracha, Women's Fat Loss Coach
   Design tokens derived from the real existing brand identity (lavender
   graphics used across her Instagram content), "Habits, Not Diets" and the
   Reset > Rebuild > Sustain framework. Bold condensed display type echoes
   her poster-style IG graphics; body face is a clean humanist sans.
   ========================================================================== */

:root {
  /* ---- Color: named, derived from her real IG graphic palette ---- */
  --color-lavender: #8D7BC4;        /* Dusty Lavender — primary, matches her real IG brand graphics */
  --color-lavender-deep: #6B5A9E;   /* darker lavender for hover/active/text-on-light */
  --color-lavender-pale: #EDE8FA;   /* pale tint — section backgrounds, card fills */
  --color-lilac-soft: #C9BEEA;      /* soft accent — dividers, secondary chips */
  --color-sage: #7A9B76;            /* Sage Green — "habits/sustain" accent, grounded/health cue, not neon */
  --color-cream: #FBFAF7;           /* page background, warm off-white not stark white */
  --color-surface: #FFFFFF;
  --color-ink: #241F2E;             /* near-black with a violet undertone for headings */
  --color-ink-soft: #4A4358;
  --color-muted: #746C82;
  --color-border: #E4DEF2;
  --color-success: #5C8A5C;
  --color-footer-bg: #241F2E;       /* fixed dark footer background — deliberately NOT --color-ink, which flips near-white in dark theme */

  /* ---- Typography ---- */
  --font-display: 'Anton', 'Archivo Black', 'Arial Narrow Bold', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Fraunces', Georgia, serif; /* used sparingly for one accent word per section, echoing her "Biggest" poster style */

  /* ---- Spacing rhythm ---- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --container-w: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(107, 90, 158, 0.08);
  --shadow-md: 0 12px 32px rgba(107, 90, 158, 0.14);
  --shadow-lg: 0 24px 60px rgba(107, 90, 158, 0.20);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-cream: #1A1622;
    --color-surface: #241E30;
    --color-lavender-pale: #2E2740;
    --color-ink: #F3F0FA;
    --color-ink-soft: #D8D2E8;
    --color-muted: #A79EBC;
    --color-border: #3A3250;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.25);
    --shadow-md: 0 12px 32px rgba(0,0,0,0.35);
    --shadow-lg: 0 24px 60px rgba(0,0,0,0.45);
  }
}

:root[data-theme="dark"] {
  --color-cream: #1A1622;
  --color-surface: #241E30;
  --color-lavender-pale: #2E2740;
  --color-ink: #F3F0FA;
  --color-ink-soft: #D8D2E8;
  --color-muted: #A79EBC;
  --color-border: #3A3250;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.25);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.45);
}

:root[data-theme="light"] {
  --color-cream: #FBFAF7;
  --color-surface: #FFFFFF;
  --color-lavender-pale: #EDE8FA;
  --color-ink: #241F2E;
  --color-ink-soft: #4A4358;
  --color-muted: #746C82;
  --color-border: #E4DEF2;
}

/* ---- Reset ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-ink-soft);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border-style: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 400;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.1rem; }

.accent-word {
  font-family: var(--font-accent);
  text-transform: none;
  font-style: italic;
  color: var(--color-lavender-deep);
  font-weight: 600;
  letter-spacing: 0;
}

p { max-width: 62ch; }
.center-text p { margin-inline: auto; }

:focus-visible {
  outline: 3px solid var(--color-lavender-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
}
@media (max-width: 720px) {
  .section { padding-block: var(--space-xl); }
}

.section-alt { background: var(--color-lavender-pale); }
.section-dark {
  background: linear-gradient(160deg, var(--color-footer-bg) 0%, #352A4D 100%);
  color: #E7E1F5;
  position: relative;
  overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #C9C0E0; }
.section-dark::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 20%, rgba(141,123,196,0.35), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-lavender-deep);
  margin-bottom: var(--space-sm);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--color-sage);
  display: inline-block;
}
.section-dark .eyebrow { color: var(--color-lilac-soft); }

.section-head { max-width: 640px; margin-bottom: var(--space-xl); }
.section-head.center { max-width: 720px; margin-inline: auto; text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-lavender-deep);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--color-lavender); }
.btn-ghost {
  background: transparent;
  border: 2px solid var(--color-lavender-deep);
  color: var(--color-lavender-deep);
}
.btn-ghost:hover { background: var(--color-lavender-deep); color: #fff; transform: translateY(-2px); }
.section-dark .btn-ghost { border-color: var(--color-lilac-soft); color: #fff; }
.section-dark .btn-ghost:hover { background: var(--color-lilac-soft); color: var(--color-ink); }
.btn-text {
  color: var(--color-lavender-deep);
  font-weight: 700;
  border-bottom: 2px solid var(--color-sage);
  padding-bottom: 2px;
  border-radius: 0;
}
.btn-text:hover { color: var(--color-sage); }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.02rem; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
:root[data-theme="dark"] .site-header { background: rgba(26, 22, 34, 0.85); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header { background: rgba(26, 22, 34, 0.85); }
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--color-border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-sm);
  gap: var(--space-md);
}

.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--color-lavender) 0%, var(--color-lavender-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.02em; color: var(--color-ink); text-transform: uppercase; }
.brand-text span { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: var(--space-lg); }
.main-nav ul { display: flex; gap: var(--space-md); }
.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-sage);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--color-lavender-deep); }

.header-cta { display: flex; align-items: center; gap: var(--space-sm); }
.header-phone { display: none; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-lavender-pale);
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; stroke: var(--color-ink); }

@media (max-width: 900px) {
  .main-nav ul { display: none; }
  .menu-toggle { display: flex; }
  .header-cta .btn-primary { padding: 0.75rem 1.2rem; font-size: 0.85rem; }
}

.mobile-drawer {
  position: fixed; inset: 0;
  background: var(--color-cream);
  z-index: 200;
  display: flex; flex-direction: column;
  padding: var(--space-md);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-xl); }
.mobile-drawer nav { display: flex; flex-direction: column; gap: var(--space-md); }
.mobile-drawer nav a { font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase; color: var(--color-ink); }
.mobile-drawer-close { width: 44px; height: 44px; border-radius: 50%; background: var(--color-lavender-pale); display: flex; align-items: center; justify-content: center; }
.mobile-drawer-close svg { width: 20px; height: 20px; }
.mobile-drawer-footer { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-sm); }

/* ---- Hero: dark full-bleed band, framed photo card with floating stat ---- */
.hero {
  background: linear-gradient(160deg, var(--color-footer-bg) 0%, #2E2645 100%);
  padding-block: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(560px 320px at 6% 100%, rgba(122,155,118,0.16), transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero-content .eyebrow { color: var(--color-lilac-soft); }
.hero-content h1 { color: #fff; max-width: 14ch; }
.hero-content .accent-word { color: #E7DFFB; }
.hero-lede { color: #D6CDEA; font-size: 1.1rem; max-width: 46ch; margin-top: var(--space-md); }
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-top: var(--space-lg); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  margin-top: var(--space-lg);
}
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: #C9C0E0; }
.hero-badge svg { width: 18px; height: 18px; stroke: var(--color-lilac-soft); flex-shrink: 0; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }

.hero-float-card {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-md);
  right: var(--space-md);
  background: rgba(251,250,247,0.96);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-md);
  max-width: 280px;
}
.hero-float-card strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--color-ink); text-transform: none; letter-spacing: 0; }
.hero-float-card span { font-size: 0.82rem; color: var(--color-muted); line-height: 1.4; display: block; margin-top: 2px; }

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: #fff; }
.hero-stat span { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #CFC5EA; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 4/3; margin-bottom: var(--space-sm); }
  .hero-float-card { max-width: none; }
}

/* ---- Cards & grids ---- */
.grid { display: grid; gap: var(--space-md); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-lavender-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--color-lavender-deep); }

/* ---- Framework steps (Reset > Rebuild > Sustain) ---- */
.framework-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); counter-reset: step; }
@media (max-width: 800px) { .framework-steps { grid-template-columns: 1fr; } }
.framework-step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.framework-step .step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-lilac-soft);
  -webkit-text-stroke: 1.5px var(--color-lavender-deep);
  color: transparent;
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
}
.framework-step h3 { margin-bottom: var(--space-xs); }
.framework-arrow { display: none; }
@media (min-width: 801px) {
  .framework-steps { position: relative; }
  .framework-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -22px; top: 50%; transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-sage);
    z-index: 1;
  }
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.testimonial-quote { font-size: 1.02rem; color: var(--color-ink-soft); }
.testimonial-quote::before { content: "\201C"; color: var(--color-lavender); font-family: var(--font-accent); font-size: 1.6rem; }
.testimonial-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-top: auto; }
.testimonial-name { font-weight: 700; color: var(--color-ink); font-size: 0.92rem; }
.testimonial-source { font-size: 0.75rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.testimonial-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-lavender-pale);
  color: var(--color-lavender-deep);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}
.testimonial-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-style: italic;
}

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/5; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

/* ---- Real testimonial/transformation screenshot cards (posted as-is, not restyled) ---- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
@media (max-width: 900px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.proof-card img { width: 100%; height: auto; display: block; }

/* ---- Fade-up entrance ---- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---- CTA band ---- */
.cta-band { text-align: center; padding-block: var(--space-2xl); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; margin-top: var(--space-sm); }
.cta-band .hero-actions { justify-content: center; margin-top: var(--space-lg); }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-md);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left; gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-ink);
  text-transform: none;
  letter-spacing: 0;
}
.faq-question svg { width: 20px; height: 20px; stroke: var(--color-lavender-deep); flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq-item[open] .faq-question svg { transform: rotate(45deg); }
.faq-answer { padding-top: var(--space-sm); color: var(--color-muted); max-width: 68ch; }
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---- Contact / Form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: var(--space-2xs); color: var(--color-ink); }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-ink);
  transition: border-color 0.2s var(--ease);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--color-lavender-deep); outline: none; }
.form-note { font-size: 0.85rem; color: var(--color-muted); margin-top: var(--space-sm); }
.form-success {
  display: none;
  background: var(--color-lavender-pale);
  border: 1px solid var(--color-lilac-soft);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin-top: var(--space-md);
  color: var(--color-lavender-deep);
  font-weight: 600;
}
.form-success.show { display: block; }

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.contact-info-row { display: flex; align-items: flex-start; gap: var(--space-sm); padding-block: var(--space-sm); border-bottom: 1px solid var(--color-border); }
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row svg { width: 22px; height: 22px; stroke: var(--color-lavender-deep); flex-shrink: 0; margin-top: 2px; }
.contact-info-row strong { display: block; color: var(--color-ink); font-size: 0.92rem; }
.contact-info-row span { font-size: 0.88rem; color: var(--color-muted); }

/* ---- Footer ---- */
.site-footer {
  background: var(--color-footer-bg);
  color: #C9C0E0;
  padding-block: var(--space-2xl) var(--space-lg);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-xl); margin-bottom: var(--space-xl); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); } }
.footer-grid h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: var(--space-sm); }
.footer-grid ul { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: #A79EBC; font-size: 0.92rem; margin-top: var(--space-sm); max-width: 40ch; }
.footer-social { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.footer-social a:hover { background: var(--color-lavender-deep); }
.footer-social svg { width: 18px; height: 18px; stroke: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: #9086A8;
}
.footer-bottom a:hover { color: #fff; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-lavender-deep); color: #fff;
  padding: 1rem 1.5rem; z-index: 300; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Page hero (interior pages) ---- */
.page-hero {
  background: linear-gradient(160deg, var(--color-footer-bg) 0%, #3B2F58 100%);
  color: #fff;
  padding-block: var(--space-2xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 90% 10%, rgba(141,123,196,0.4), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--color-lilac-soft); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #D6CDEA; max-width: 56ch; margin-top: var(--space-sm); }

/* Photo-backed page hero variant — image paints first (z-index 0), scrim on top (z-index 1), content above both */
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 20%; z-index: 0; }
.page-hero.has-photo::after {
  background: linear-gradient(100deg, rgba(36,31,46,0.94) 0%, rgba(36,31,46,0.88) 40%, rgba(53,42,77,0.68) 65%, rgba(109,90,158,0.35) 100%);
}
@media (max-width: 720px) {
  .page-hero-bg img { object-position: 65% 15%; }
  .page-hero.has-photo::after { background: linear-gradient(180deg, rgba(36,31,46,0.75) 0%, rgba(36,31,46,0.93) 60%, rgba(36,31,46,0.97) 100%); }
}
.breadcrumb { font-size: 0.82rem; color: #B8ACD8; margin-bottom: var(--space-sm); }
.breadcrumb a:hover { color: #fff; }

/* ---- Map (contact page) ---- */
.map-box { height: 320px; position: relative; overflow: hidden; border-radius: var(--radius-md); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
