/* ═══════════════════════════════════════════════
   ROOTED IN VIOLET & CO. — Brand Color System
   ═══════════════════════════════════════════════ */

:root, [data-theme="light"] {
  /* Brand Colors */
  --violet:           #7A5C9D;
  --violet-hover:     #5E4278;
  --violet-deep:      #2F2146;
  --whisper-violet:   #CBB4E2;
  --lavender-mist:    #E8DFF5;
  --violet-gray:      #6E6482;
  --gold:             #D4AF37;
  --gold-hover:       #B8941F;

  /* Surfaces */
  --color-bg:         #FFFFFF;
  --color-surface:    #F9F7FD;
  --color-surface-2:  #F2ECF8;
  --color-border:     #E0D4EF;
  --color-divider:    #EAE2F5;

  /* Text */
  --color-text:       #2F2146;
  --color-text-muted: #6E6482;
  --color-text-faint: #A99BC0;
  --color-text-inverse: #FFFFFF;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif-secondary: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;   --space-24: 6rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(47, 33, 70, 0.08);
  --shadow-md: 0 4px 16px rgba(47, 33, 70, 0.12);
  --shadow-lg: 0 12px 40px rgba(47, 33, 70, 0.16);
  --shadow-xl: 0 20px 60px rgba(47, 33, 70, 0.2);

  /* Transitions */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 350ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --content-default: 1100px;
  --content-wide: 1300px;
}

[data-theme="dark"] {
  --color-bg:         #1A1326;
  --color-surface:    #211932;
  --color-surface-2:  #2A2040;
  --color-border:     #3D2F5C;
  --color-divider:    #332750;
  --color-text:       #EAE2F5;
  --color-text-muted: #A99BC0;
  --color-text-faint: #6E6482;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:         #1A1326;
    --color-surface:    #211932;
    --color-surface-2:  #2A2040;
    --color-border:     #3D2F5C;
    --color-divider:    #332750;
    --color-text:       #EAE2F5;
    --color-text-muted: #A99BC0;
    --color-text-faint: #6E6482;
  }
}

/* ═══════════════════════════════════════════════
   BASE RESET
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li { text-wrap: pretty; }

::selection {
  background: rgba(122, 92, 157, 0.25);
  color: var(--color-text);
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ═══════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════ */

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--violet-deep);
  margin-bottom: var(--space-4);
}

[data-theme="dark"] .section-title { color: var(--color-text); }

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--space-3);
}

.eyebrow--gold { color: var(--gold); }

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75em 1.75em;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition),
              border-color var(--transition);
}

.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

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

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-outline-violet {
  background: transparent;
  color: var(--violet);
  border-color: var(--violet);
}
.btn-outline-violet:hover {
  background: var(--lavender-mist);
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-slow);
}

[data-theme="dark"] .site-header {
  background: rgba(26, 19, 38, 0.92);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 4vw, var(--space-12));
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.logo-link { flex-shrink: 0; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.main-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--violet);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.main-nav a:hover { color: var(--violet); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-6) clamp(var(--space-6), 4vw, var(--space-12));
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.mobile-menu a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-divider);
}
.mobile-menu a.btn { border-bottom: none; margin-top: var(--space-2); display: inline-flex; }
.mobile-menu a:hover { color: var(--violet); }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(47, 33, 70, 0.82) 0%,
    rgba(47, 33, 70, 0.55) 50%,
    rgba(122, 92, 157, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
  padding-block: var(--space-24);
  max-width: 700px;
  padding-right: 0;
  margin-right: auto;
  margin-left: clamp(var(--space-6), 8vw, 10%);
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--whisper-violet);
  margin-bottom: var(--space-5);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.88);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: var(--space-10);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@media (max-width: 600px) {
  .hero-content {
    margin-left: 0;
    padding-inline: var(--space-6);
    max-width: 100%;
  }
  .hero-img { object-position: 70% 20%; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════
   MISSION STRIP
   ═══════════════════════════════════════════════ */

.mission-strip {
  background: var(--violet-deep);
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.mission-text {
  font-family: var(--font-serif-secondary);
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.88);
  text-align: center;
  max-width: 80ch;
  margin-inline: auto;
  line-height: 1.7;
}
.mission-accent {
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════
   PILLARS / NAVIGATION CARDS
   ═══════════════════════════════════════════════ */

.pillars {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-bg);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.pillar-card {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  display: flex;
  flex-direction: column;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.pillar-card--featured {
  background: var(--lavender-mist);
  border-color: var(--whisper-violet);
}

[data-theme="dark"] .pillar-card--featured {
  background: var(--color-surface-2);
}

.pillar-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar-card:hover .pillar-img-wrap img {
  transform: scale(1.05);
}
.pillar-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47,33,70,0.5), transparent 60%);
}
.pillar-badge {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(47,33,70,0.8);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}
.pillar-badge--gold {
  background: var(--gold);
  color: var(--violet-deep);
}

.pillar-body {
  padding: var(--space-8);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--lavender-mist);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
.pillar-card--featured .pillar-icon {
  background: rgba(122,92,157,0.2);
}
.pillar-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--violet-deep);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
[data-theme="dark"] .pillar-body h3 { color: var(--color-text); }

.pillar-body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-6);
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--violet);
  text-decoration: none;
  margin-top: auto;
  transition: color var(--transition), gap var(--transition);
}
.pillar-link:hover {
  color: var(--violet-hover);
  gap: var(--space-3);
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

/* ═══════════════════════════════════════════════
   AFFIRMATION QUOTE
   ═══════════════════════════════════════════════ */

.affirmation {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: linear-gradient(135deg, var(--lavender-mist) 0%, var(--color-surface-2) 100%);
}

[data-theme="dark"] .affirmation {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
}

.affirmation-quote {
  text-align: center;
  max-width: 750px;
  margin-inline: auto;
}
.affirmation-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--violet-deep);
  line-height: 1.55;
  margin-bottom: var(--space-6);
  max-width: 100%;
}
[data-theme="dark"] .affirmation-quote p { color: var(--color-text); }

.affirmation-quote footer {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}

/* ═══════════════════════════════════════════════
   ABOUT SPLIT
   ═══════════════════════════════════════════════ */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.about-img-col {
  position: relative;
  overflow: hidden;
}
.about-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-text-col {
  background: var(--violet-deep);
  padding: clamp(var(--space-12), 6vw, var(--space-20));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text-col .eyebrow { color: var(--whisper-violet); }

.about-text-col h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.about-text-col p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: var(--space-5);
}

.about-text-col .btn-primary {
  background: var(--gold);
  color: var(--violet-deep);
  border-color: var(--gold);
  align-self: flex-start;
  margin-top: var(--space-4);
}
.about-text-col .btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
  }
  .about-img-col {
    aspect-ratio: 16/9;
  }
}



/* ═══════════════════════════════════════════════
   LATEST ARTICLES
   ═══════════════════════════════════════════════ */

.latest {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-bg);
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-card-body {
  padding: var(--space-8);
}

.article-tag {
  display: inline-block;
  background: var(--lavender-mist);
  color: var(--violet);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.article-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--violet-deep);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}
[data-theme="dark"] .article-card h3 { color: var(--color-text); }

.article-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.article-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--violet);
  text-decoration: none;
  transition: color var(--transition);
}
.article-link:hover { color: var(--violet-hover); }

.latest-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .latest-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; margin-bottom: var(--space-10); }
}

/* ═══════════════════════════════════════════════
   SOCIAL CONNECT
   ═══════════════════════════════════════════════ */

.social-connect {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow),
              background var(--transition), border-color var(--transition);
}
.social-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--lavender-mist);
  border-color: var(--whisper-violet);
}
[data-theme="dark"] .social-card:hover { background: var(--color-surface-2); }

.social-icon {
  width: 56px;
  height: 56px;
  background: var(--lavender-mist);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  transition: background var(--transition), color var(--transition);
}
.social-card:hover .social-icon {
  background: var(--violet);
  color: #fff;
}

.social-platform {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--violet-deep);
}
[data-theme="dark"] .social-platform { color: var(--color-text); }

.social-handle {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════ */

.newsletter {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: linear-gradient(135deg, var(--violet-deep) 0%, #4A2F76 100%);
}

.newsletter-inner {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.newsletter-lotus {
  margin-inline: auto;
  margin-bottom: var(--space-6);
  display: flex;
  justify-content: center;
}

.newsletter-inner h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-4);
}

.newsletter-inner p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 44ch;
  margin-inline: auto;
}

.newsletter .btn-gold {
  margin-bottom: var(--space-5);
}

.newsletter-fine {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
  margin-inline: auto;
}

@media (max-width: 540px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.site-footer {
  background: #1A1326;
  color: rgba(255,255,255,0.75);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-12));
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-sm);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.footer-mission {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 36ch;
}

.footer-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--whisper-violet);
  margin-bottom: var(--space-5);
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════ */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  @keyframes reveal-fade { to { opacity: 1; } }
}
