@import url('https://fonts.googleapis.com/css2?family=Allura&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700;800&display=swap');

/* Luxury motion contract:
   Feminine, upscale, editorial motion only. Text and sections should fade or crossfade softly with calm timing.
   No aggressive slide-ins, flashy effects, startup-style motion, or motion everywhere.
   Keep the design premium through restraint: one script moment, one crossfade moment, and clean supporting text. */


:root {
  --olive: #667254;
  --olive-deep: #4b5840;
  --olive-ink: #2f3728;
  --olive-mist: #edf1e8;
  --cream: #f7f1e8;
  --cream-soft: #fcfaf6;
  --sand: #efe6d7;
  --gold: #b89855;
  --gold-soft: #ead9b4;
  --charcoal: #282620;
  --muted: #6c675c;
  --card: rgba(255, 251, 244, 0.9);
  --line: rgba(79, 88, 65, 0.14);
  --line-strong: rgba(79, 88, 65, 0.22);
  --shadow: 0 26px 60px rgba(37, 35, 30, 0.10);
  --shadow-soft: 0 16px 32px rgba(37, 35, 30, 0.07);
  --radius: 28px;
  --radius-soft: 22px;
  --content: min(1180px, calc(100% - 2rem));
}

:root[data-theme='dark'] {
  --olive: #9fad86;
  --olive-deep: #d2be76;
  --olive-ink: #f4ead2;
  --olive-mist: rgba(159, 173, 134, .15);
  --cream: #10180f;
  --cream-soft: #141d13;
  --sand: #1b2518;
  --gold: #d3b76f;
  --gold-soft: #ead9a8;
  --charcoal: #f7f1e4;
  --muted: #c6baa2;
  --card: rgba(19, 28, 17, .84);
  --line: rgba(234, 217, 180, .14);
  --line-strong: rgba(234, 217, 180, .26);
  --shadow: 0 28px 70px rgba(0, 0, 0, .38);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, .26);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at top right, rgba(184,152,85,.12), transparent 24%),
    radial-gradient(circle at left center, rgba(102,114,84,.08), transparent 26%),
    linear-gradient(180deg, #fbf8f2 0%, var(--cream) 30%, #f4ede1 100%);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.12), transparent 80%);
  opacity: .16;
}
img { max-width: 100%; }
a { color: var(--olive-ink); text-decoration-color: rgba(102,114,84,.35); text-underline-offset: 3px; }
a:hover { color: var(--olive-deep); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(249, 245, 237, 0.9);
  border-bottom: 1px solid rgba(79,88,65,.09);
  backdrop-filter: blur(16px);
}
.nav-wrap, .container {
  width: var(--content);
  margin: 0 auto;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 440px;
}
.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 22px rgba(37,35,30,.08);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.brand strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.38rem;
  line-height: 1.02;
  letter-spacing: .01em;
  color: var(--olive-ink);
}
.brand-copy > span {
  font-size: .67rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(79,88,65,.12);
  border-radius: 999px;
  background: rgba(255,251,244,.92);
  box-shadow: var(--shadow-soft);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--olive-ink);
  transition: transform .22s ease, opacity .22s ease;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem .9rem;
  flex: 0 1 auto;
}
.main-nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
}
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -.22rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--olive-deep);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(75,88,64,.16);
}
.nav-cta::after { display: none; }

.theme-toggle {
  min-height: 38px;
  width: auto;
  flex: 0 0 auto;
  padding: .48rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(184,152,85,.32);
  background: rgba(255,251,244,.72);
  color: var(--olive-ink);
  box-shadow: 0 10px 22px rgba(37,35,30,.08);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  gap: .35rem;
  backdrop-filter: blur(14px);
}
.theme-toggle:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(37,35,30,.12); }
.theme-icon { font-size: .98rem; line-height: 1; color: var(--gold); }
.theme-text { font-weight: 800; }
body.nav-open { overflow: hidden; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
}
.hero::before {
  width: 320px;
  height: 320px;
  background: rgba(184,152,85,.16);
  top: -80px;
  right: -70px;
}
.hero::after {
  width: 220px;
  height: 220px;
  background: rgba(102,114,84,.10);
  bottom: 25px;
  left: -80px;
}
.hero-grid,
.split-grid,
.resource-grid,
.footer-grid,
.feature-grid,
.story-grid,
.stat-grid,
.mosaic-grid {
  display: grid;
  gap: 1.8rem;
}
.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.07fr) minmax(340px, .93fr);
  align-items: center;
}
.hero-copy { max-width: 640px; }
.kicker,
.section-label,
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding: .5rem .8rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid rgba(184,152,85,.26);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive-ink);
}
.kicker::before,
.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.h1, h1 {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  line-height: .94;
  letter-spacing: -.03em;
  color: #202017;
}
h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--olive-ink);
  letter-spacing: -.02em;
}
h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; margin: 0 0 .9rem; }
h3 { font-size: 1.65rem; margin: .2rem 0 .55rem; }
h4 { font-size: 1.2rem; margin: 0 0 .45rem; }
p { margin: 0 0 1rem; }
.lead {
  font-size: 1.06rem;
  color: #3b382f;
  max-width: 58ch;
}
.hero-intro,
.short-answer,
.editorial-intro {
  position: relative;
  margin: 1rem 0 1.4rem;
  padding: 1.05rem 1.1rem 1.05rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,251,244,.92), rgba(247,241,232,.86));
  border: 1px solid rgba(79,88,65,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.hero-intro::before,
.short-answer::before,
.editorial-intro::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(184,152,85,.18));
}
.short-answer strong,
.editorial-intro strong {
  display: block;
  margin-bottom: .28rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive-ink);
}
.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.5rem;
}
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 52px;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--olive-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(75,88,64,.18);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.button:hover, button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(75,88,64,.24); }
.button.alt, button.alt {
  background: transparent;
  color: var(--olive-deep);
  border-color: rgba(75,88,64,.35);
  box-shadow: none;
}
.button.ghost { background: rgba(255,251,244,.92); color: var(--olive-ink); border-color: rgba(75,88,64,.15); box-shadow: none; }
.small-button { min-height: 40px; padding: .55rem .9rem; font-size: .88rem; }

.hero-meta,
.stat-strip,
.profile-badges,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.2rem;
}
.stat-pill,
.meta-pill,
.social-badge,
.value-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem .95rem;
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.85);
  border: 1px solid rgba(79,88,65,.12);
  color: var(--olive-ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}
.social-badge svg { width: 16px; height: 16px; fill: currentColor; }
.hero-visual {
  position: relative;
  min-height: 600px;
}
.hero-card,
.card,
.panel,
.feature-card,
.story-card,
.resource-card,
.quote-card {
  background: rgba(255, 251, 244, 0.88);
  border: 1px solid rgba(79,88,65,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.hero-card {
  position: relative;
  padding: 1rem;
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.hero-image-shell {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
}
img.responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
  object-fit: cover;
}
.hero-image-main {
  min-height: 560px;
  object-fit: cover;
}
.overlay-card,
.floating-note {
  position: absolute;
  background: rgba(255, 251, 244, .92);
  border: 1px solid rgba(79,88,65,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.overlay-card {
  right: -18px;
  bottom: 24px;
  width: min(280px, 72%);
  padding: 1rem 1.1rem;
  border-radius: 22px;
}
.overlay-card h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.floating-note {
  left: -18px;
  top: 24px;
  width: min(220px, 58%);
  padding: .95rem 1rem;
  border-radius: 20px;
}
.mini-card {
  position: absolute;
  left: 24px;
  bottom: -24px;
  width: min(210px, 48%);
  padding: .75rem;
  border-radius: 22px;
  background: rgba(255,248,237,.95);
  border: 1px solid rgba(184,152,85,.24);
  box-shadow: var(--shadow);
}
.mini-card img { border-radius: 18px; display: block; }
.mini-card .muted { display: block; margin-top: .55rem; }

.section {
  position: relative;
  padding: 3.35rem 0;
}
.section.soft-tone {
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.section-head p { max-width: 560px; color: var(--muted); }
.split-grid,
.cards,
.resource-grid,
.feature-grid,
.story-grid,
.mosaic-grid,
.callout-grid,
.admin-stats { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card, .panel, .feature-card, .story-card, .resource-card, .soft-panel, .quote-card {
  padding: 1.45rem;
}
.emphasis-card {
  background: linear-gradient(180deg, rgba(255,251,244,.96), rgba(255,248,239,.82));
  border: 1px solid rgba(184,152,85,.22);
}
.cards .card,
.feature-card,
.story-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cards .card:hover,
.feature-card:hover,
.story-card:hover,
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(184,152,85,.25); }
.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--olive-mist);
  color: var(--olive-ink);
  font-weight: 700;
  margin-bottom: .9rem;
}
.list-clean, ul.clean { padding-left: 1.1rem; }
.list-clean li, ul.clean li { margin-bottom: .45rem; }
.note-stack { display: grid; gap: 1rem; }
.value-stack { display: grid; gap: .9rem; margin-top: 1rem; }
.value-item {
  display: flex; gap: .85rem; align-items: start;
  padding: .85rem 0; border-top: 1px solid rgba(79,88,65,.10);
}
.value-item:first-child { border-top: 0; padding-top: 0; }
.value-item strong { display:block; margin-bottom: .15rem; }
.quote-card {
  position: relative;
  padding: 1.8rem;
  background: linear-gradient(180deg, rgba(247,241,232,.86), rgba(255,251,244,.94));
}
.quote-card::before {
  content: '“';
  position: absolute;
  top: .2rem;
  left: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  color: rgba(184,152,85,.45);
}
.inline-links {
  display:flex; flex-wrap:wrap; gap:.8rem 1rem; margin-top:1rem;
}
.inline-links a { font-weight: 600; text-decoration: none; }
.notice {
  background: rgba(255,248,225,.92);
  border: 1px solid rgba(184,152,85,.35);
  padding: 1rem 1.15rem;
  border-radius: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--olive-mist);
  color: var(--olive-ink);
  border: 1px solid rgba(79,88,65,.14);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: capitalize;
}
.quiz-question {
  padding: 1rem 0;
  border-top: 1px solid rgba(79,88,65,.10);
}
.quiz-question:first-child { border-top: none; padding-top: 0; }
.quiz-question label { display:block; margin:.55rem 0; }
.quiz-question input[type='radio'] { accent-color: var(--olive-deep); }
input[type='password'], input[type='text'], input[type='email'], textarea, select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid rgba(79,88,65,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  font: inherit;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,251,244,.88);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(79,88,65,.10);
}
.admin-table th, .admin-table td {
  padding: .95rem .8rem;
  border-bottom: 1px solid rgba(79,88,65,.08);
  vertical-align: top;
  text-align: left;
}
.admin-table th {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(237,241,232,.65);
}
.instructions-list { padding-left: 1.15rem; margin: 1rem 0 0; }
.instructions-list li { margin-bottom: .65rem; }
.callout-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:1rem; margin:1rem 0 1.5rem; }
.soft-panel { background: rgba(255,251,244,.9); border:1px solid rgba(79,88,65,.10); border-radius: 22px; }
.admin-stats .card strong { font-size: 2rem; font-family: 'Playfair Display', Georgia, serif; color: var(--olive-ink); }

footer {
  margin-top: 3rem;
  padding: 2.6rem 0 3rem;
  background: linear-gradient(180deg, rgba(244,237,224,.88), rgba(239,230,215,.96));
  border-top: 1px solid rgba(79,88,65,.10);
}
.footer-grid {
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 1.5rem;
}
.footer-title { margin-bottom: .7rem; }
.footer-note, .muted, .small { color: var(--muted); }
.small { font-size: .92rem; }
.footer-meta { margin-top: 1rem; }
.footer-meta .social-badge { margin-top: .2rem; }

/* Dark mode polish: dark green + soft gold, still restrained and professional. */
:root[data-theme='dark'] body {
  color: var(--charcoal);
  background:
    radial-gradient(circle at top right, rgba(211,183,111,.13), transparent 26%),
    radial-gradient(circle at left center, rgba(159,173,134,.12), transparent 30%),
    linear-gradient(180deg, #081006 0%, #10180f 44%, #182113 100%);
}
:root[data-theme='dark'] body::before {
  background-image: linear-gradient(rgba(234,217,180,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(234,217,180,.05) 1px, transparent 1px);
  opacity: .22;
}
:root[data-theme='dark'] .site-header {
  background: rgba(8, 16, 6, .84);
  border-bottom-color: rgba(234,217,180,.12);
}
:root[data-theme='dark'] .brand-mark,
:root[data-theme='dark'] .hero-logo-medallion { background: rgba(255,255,255,.86); }
:root[data-theme='dark'] .brand strong,
:root[data-theme='dark'] h1,
:root[data-theme='dark'] .h1,
:root[data-theme='dark'] h2,
:root[data-theme='dark'] h3,
:root[data-theme='dark'] h4,
:root[data-theme='dark'] .hero-line.strong { color: #fbf4e5; }
:root[data-theme='dark'] a,
:root[data-theme='dark'] .main-nav a { color: #f3ead6; }
:root[data-theme='dark'] .main-nav a:hover { color: #fff7e6; }
:root[data-theme='dark'] .site-header .nav-cta,
:root[data-theme='dark'] .button:not(.alt):not(.ghost) {
  background: linear-gradient(135deg, #bfa45d, #d8c47d);
  color: #10180f !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}
:root[data-theme='dark'] .button.alt,
:root[data-theme='dark'] button.alt {
  color: #ead9a8;
  border-color: rgba(234,217,180,.42);
}
:root[data-theme='dark'] .theme-toggle {
  background: rgba(20, 29, 19, .82);
  color: #f5ecd9;
  border-color: rgba(234,217,180,.28);
  box-shadow: 0 14px 30px rgba(0,0,0,.24);
}
:root[data-theme='dark'] .nav-toggle {
  background: rgba(20, 29, 19, .9);
  border-color: rgba(234,217,180,.18);
}
:root[data-theme='dark'] .nav-toggle span { background: #ead9a8; }
:root[data-theme='dark'] .kicker,
:root[data-theme='dark'] .section-label,
:root[data-theme='dark'] .badge-soft,
:root[data-theme='dark'] .stat-pill,
:root[data-theme='dark'] .meta-pill,
:root[data-theme='dark'] .social-badge,
:root[data-theme='dark'] .value-pill,
:root[data-theme='dark'] .badge,
:root[data-theme='dark'] .section-card-flat,
:root[data-theme='dark'] .card,
:root[data-theme='dark'] .panel,
:root[data-theme='dark'] .feature-card,
:root[data-theme='dark'] .story-card,
:root[data-theme='dark'] .resource-card,
:root[data-theme='dark'] .quote-card,
:root[data-theme='dark'] .service-panel,
:root[data-theme='dark'] .resource-shell,
:root[data-theme='dark'] .soft-panel,
:root[data-theme='dark'] .hero-intro,
:root[data-theme='dark'] .short-answer,
:root[data-theme='dark'] .editorial-intro,
:root[data-theme='dark'] .notice {
  background: rgba(20, 29, 19, .76);
  border-color: rgba(234,217,180,.13);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
:root[data-theme='dark'] .hero.hero-v2,
:root[data-theme='dark'] .section.soft-tone {
  background: linear-gradient(180deg, rgba(159,173,134,.06), rgba(211,183,111,.03) 62%, transparent 100%);
}
:root[data-theme='dark'] .hero-v2 .short-answer,
:root[data-theme='dark'] .hero-v2 .lead,
:root[data-theme='dark'] .lead,
:root[data-theme='dark'] .footer-note,
:root[data-theme='dark'] .muted,
:root[data-theme='dark'] .small,
:root[data-theme='dark'] .section-head p { color: var(--muted); }
:root[data-theme='dark'] .hero-line.soft { color: #d5c9ae; }
:root[data-theme='dark'] .hero-v2 .hero-image-main,
:root[data-theme='dark'] .about-grid-v2 .responsive {
  background: linear-gradient(180deg, rgba(22,31,20,.95), rgba(34,43,25,.86));
}
:root[data-theme='dark'] .hero-v2 .hero-image-shell {
  border-color: rgba(234,217,180,.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}
:root[data-theme='dark'] .quiz-visual {
  background: linear-gradient(180deg, rgba(25,35,22,.98), rgba(12,22,10,.96));
  border: 1px solid rgba(234,217,180,.14);
}
:root[data-theme='dark'] input[type='password'],
:root[data-theme='dark'] input[type='text'],
:root[data-theme='dark'] input[type='email'],
:root[data-theme='dark'] textarea,
:root[data-theme='dark'] select,
:root[data-theme='dark'] .admin-table {
  background: rgba(20, 29, 19, .76);
  color: var(--charcoal);
  border-color: rgba(234,217,180,.16);
}
:root[data-theme='dark'] footer {
  background: linear-gradient(180deg, rgba(13,22,10,.92), rgba(7,13,5,.98));
  border-top-color: rgba(234,217,180,.12);
}


[data-animate] {
  opacity: 0;
  transform: none;
  transition: opacity 1.25s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity;
}
[data-animate='left'],
[data-animate='right'],
[data-animate='zoom'] {
  transform: none;
}
[data-animate].is-visible { opacity: 1; transform: none; }
.float-animation { animation: luxuryFloat 9s ease-in-out infinite; }
@keyframes luxuryFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-4px);} }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .hero-image-main { min-height: 480px; }
  .overlay-card, .floating-note, .mini-card { position: relative; inset: auto; width: 100%; margin-top: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .section-head { flex-direction: column; align-items: start; }
  h1, .h1 { font-size: clamp(2.6rem, 10vw, 4.1rem); }
}
@media (max-width: 760px) {
  .nav-wrap { padding: .7rem 0; }
  .brand { max-width: calc(100% - 112px); }
  .brand strong { font-size: 1.1rem; }
  .brand-copy > span { font-size: .58rem; letter-spacing: .14em; }
  .brand-mark { width: 46px; height: 46px; flex-basis: 46px; }
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .main-nav {
    position: absolute;
    top: calc(100% + .6rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: .8rem;
    background: rgba(249,245,237,.98);
    border: 1px solid rgba(79,88,65,.1);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(37,35,30,.12);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .72rem .85rem; border-radius: 16px; }
  .main-nav a:not(.nav-cta)::after { display:none; }
  .main-nav a:hover, .main-nav a.active { background: rgba(237,241,232,.75); }
  .nav-cta { width: 100%; margin-top: .25rem; }
  :root[data-theme='dark'] .main-nav { background: rgba(8,16,6,.98); border-color: rgba(234,217,180,.14); }
  :root[data-theme='dark'] .main-nav a:hover,
  :root[data-theme='dark'] .main-nav a.active { background: rgba(234,217,180,.08); }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .hero { padding-top: 5rem; }
  .hero-actions, .cta-row { flex-direction: column; align-items: stretch; }
  .button, button { width: 100%; }
  .theme-toggle { width: auto; min-height: 38px; padding-inline: .62rem; }
  .theme-text { display: none; }
  .stat-strip, .hero-meta, .social-row { gap: .65rem; }
  .script-accent { font-size: 1.9rem; }
}


/* Homepage v2 inspo-closer rebuild */
.hero.hero-v2 {
  padding: 6.5rem 0 4.5rem;
  background: linear-gradient(180deg, rgba(251,248,242,.75), rgba(247,241,232,.15) 60%, transparent 100%);
}
.hero-v2 .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr); gap: 3.2rem; }
.hero-v2 .hero-copy { max-width: 620px; }
.hero-v2 .kicker { background: transparent; border: none; padding: 0; margin-bottom: 1.15rem; }
.hero-v2 .kicker::before { display:none; }
.hero-stack { display:flex; flex-direction:column; gap:.15rem; margin-bottom:1.1rem; }
.hero-line { display:block; opacity:0; transform:none; animation: heroEditorialFade 1.45s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-line:nth-child(1){ animation-delay: .12s; }
.hero-line:nth-child(2){ animation-delay: .48s; }
.hero-line:nth-child(3){ animation-delay: .84s; }
.hero-line.strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: .92;
  letter-spacing: -.035em;
  color: #211f18;
}
.hero-line.soft {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.9vw, 1.75rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  color: #6e6656;
  margin-top: .15rem;
}
.script-accent {
  margin: 0 0 1rem;
  font-family: 'Allura', cursive;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 10px 26px rgba(184,152,85,.12);
}
.luxury-fade-words {
  position: relative;
  min-height: 3.2rem;
  overflow: hidden;
}
.luxury-fade-words span {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  animation: luxuryWordCrossfade 12s ease-in-out infinite;
}
.luxury-fade-words span:nth-child(1) { animation-delay: 0s; }
.luxury-fade-words span:nth-child(2) { animation-delay: 4s; }
.luxury-fade-words span:nth-child(3) { animation-delay: 8s; }
@keyframes luxuryWordCrossfade {
  0%, 8% { opacity: 0; }
  16%, 30% { opacity: 1; }
  40%, 100% { opacity: 0; }
}
.footer-title { font-family: 'Playfair Display', Georgia, serif; }
@keyframes heroEditorialFade { from { opacity:0; } to { opacity:1; } }
.hero-v2 .short-answer {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  max-width: 590px;
}
.hero-v2 .short-answer::before,
.hero-v2 .short-answer strong { display:none; }
.hero-v2 .short-answer p,
.hero-v2 .short-answer { font-size: 1rem; color: #4a4539; }
.hero-v2 .lead { font-size: 1rem; max-width: 55ch; color:#615b50; margin-bottom:0; }
.hero-v2 .hero-actions { margin-top: 1.6rem; }
.hero-v2 .hero-actions .button { min-width: 180px; }
.hero-v2 .hero-visual { min-height: auto; }
.hero-v2 .hero-card {
  padding: 0;
  border-radius: 34px;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.hero-v2 .hero-image-shell {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(37,35,30,.16);
  border: 1px solid rgba(79,88,65,.1);
}
.hero-v2 .hero-image-main { min-height: 680px; object-fit: contain; object-position: center center; background: linear-gradient(180deg, rgba(244,239,232,.95), rgba(236,230,221,.9)); padding: 1rem; }
.hero-logo-medallion {
  position: absolute;
  z-index: 3;
  top: 1.1rem;
  right: 1.1rem;
  width: clamp(96px, 13vw, 148px);
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 42px rgba(37,35,30,.12);
  backdrop-filter: blur(10px);
  animation: heroLogoFade 1.65s cubic-bezier(.22,.61,.36,1) .95s both;
}
.hero-logo-medallion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}
@keyframes heroLogoFade { from { opacity:0; } to { opacity:1; } }
.hero-v2 .floating-note,
.hero-v2 .overlay-card,
.hero-v2 .mini-card { display:none; }
.trust-band {
  margin-top: .9rem;
  display:flex;
  flex-wrap:wrap;
  gap: .8rem;
}
.trust-band .value-pill { background: rgba(255,251,244,.8); box-shadow:none; }
.section.section-quiet { padding-top: 2.4rem; }
.section-card-flat {
  padding: 1.7rem 1.8rem;
  border-radius: 30px;
  background: rgba(255,251,244,.78);
  border:1px solid rgba(79,88,65,.08);
  box-shadow: 0 18px 40px rgba(37,35,30,.05);
}
.trust-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:2rem; align-items:stretch; }
.trust-list { display:grid; gap: 1rem; margin-top:1rem; }
.trust-item { display:flex; gap:.9rem; align-items:flex-start; padding-top: .95rem; border-top:1px solid rgba(79,88,65,.08); }
.trust-item:first-child { border-top:0; padding-top:0; }
.trust-item .icon-chip { flex:0 0 auto; }
.quiz-feature {
  display:grid; grid-template-columns: .9fr 1.1fr; gap:2rem; align-items:center;
}
.quiz-visual {
  min-height: 420px;
  border-radius: 34px;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(82,92,67,.97), rgba(100,111,84,.94));
  color: #f9f5ef;
  box-shadow: 0 28px 60px rgba(47,55,40,.22);
  position: relative;
  overflow: hidden;
}
.quiz-visual::before {
  content:'';
  position:absolute;
  inset:auto -40px -60px auto;
  width: 240px; height:240px; border-radius:50%;
  background: rgba(234,217,180,.14);
}
.quiz-visual .badge-soft { background: rgba(255,255,255,.08); color: #f9f5ef; border-color: rgba(255,255,255,.12); }
.quiz-visual h3 { color:#fff; font-size: clamp(2rem, 3vw, 3rem); margin-top:.8rem; }
.quiz-visual p { color: rgba(249,245,239,.86); }
.quiz-checks { display:grid; gap:.75rem; margin-top:1.3rem; }
.quiz-checks div { display:flex; gap:.6rem; align-items:flex-start; }
.quiz-checks span:first-child { color: var(--gold-soft); font-weight:700; }
.service-split { display:grid; grid-template-columns: 1fr 1fr; gap:1.4rem; }
.service-panel {
  padding: 2rem;
  border-radius: 30px;
  background: rgba(255,251,244,.86);
  border:1px solid rgba(79,88,65,.1);
  box-shadow: 0 18px 40px rgba(37,35,30,.06);
}
.service-panel .eyebrow-link { margin-top:.5rem; display:inline-block; }
.about-grid-v2 { display:grid; grid-template-columns: .92fr 1.08fr; gap:2rem; align-items:center; }
.about-grid-v2 .responsive { min-height: 520px; object-fit: contain; object-position:center center; background: linear-gradient(180deg, rgba(244,239,232,.95), rgba(236,230,221,.9)); padding: 1rem; }
.resource-tease { display:grid; grid-template-columns: .85fr 1.15fr; gap:1.6rem; align-items:start; }
.resource-shell { padding: 1.6rem; border-radius: 30px; background: rgba(255,251,244,.8); border:1px solid rgba(79,88,65,.08); }
@media (max-width: 980px) {
  .hero-v2 .hero-grid,
  .trust-grid,
  .quiz-feature,
  .service-split,
  .about-grid-v2,
  .resource-tease { grid-template-columns: 1fr; }
  .hero-v2 .hero-image-main { min-height: 520px; }
  .hero-logo-medallion { width: 92px; top: .85rem; right: .85rem; }
}
@media (max-width: 640px) {
  .hero-line.soft { font-size: 1rem; }
  .hero-v2 .hero-actions .button { min-width: 0; }
  .quiz-visual { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  [data-animate], .hero-line, .luxury-fade-words span {
    opacity: 1 !important;
    transform: none !important;
  }
  .luxury-fade-words span { position: static; display: none; }
  .luxury-fade-words span:first-child { display: inline; }
}
