/*!
 * Copyright © 2026 VitaBridge Consulting. All Rights Reserved.
 * Proprietary and confidential. No part of this file may be copied, reused,
 * or redistributed without prior written permission. See LICENSE.
 */
/* ==========================================
   VITABRIDGE CONSULTING — STYLES
   Sage Green + Warm Ivory Premium Design
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --navy: #6F877A;
  --navy-light: #839E91;
  --navy-dark: #556B62;
  --white: #ffffff;
  --off-white: #F4F1EC;
  --mint: #EEF2EF;
  --gray-50: #EAE3D9;
  --gray-100: #E0D8CC;
  --gray-200: #C9BFAF;
  --gray-400: #6A7C73;
  --gray-600: #6A7C73;
  --gray-800: #2F3A34;
  --deep: #1A2420;
  --accent: #C2A878;
  --accent-light: #D4BD94;
  --bronze: #A8834C;
  --sage-deep: #3F5249;
  --sage-soft: #B8C9BE;
  --cream: #FAF6EE;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(85,107,98,0.06);
  --shadow-md: 0 14px 40px rgba(85,107,98,0.09);
  --shadow-lg: 0 30px 80px rgba(85,107,98,0.13);
  --shadow-gold: 0 20px 50px rgba(194,168,120,0.18);
  --transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-slow: 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease2: cubic-bezier(0.25, 0, 0, 1);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Inter', -apple-system, sans-serif;
  --tracking-wide: 0.14em;
  --tracking-tight: -0.025em;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--gray-800);
  line-height: 1.8;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (hover: hover) and (pointer: fine) {
  body, a, button, input, textarea, select, label {
    cursor: none;
  }
}

/* Refined selection colour */
::selection {
  background: var(--accent);
  color: var(--white);
}

/* ==========================================
   LUXURY CURSOR
   ========================================== */
#lux-cursor {
  position: fixed;
  left: 0; top: 0;
  width: 7px; height: 7px;
  background: var(--gray-800);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  backface-visibility: hidden;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), background 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
#lux-cursor-ring {
  position: fixed;
  left: 0; top: 0;
  width: 38px; height: 38px;
  border: 1px solid rgba(47,58,52,0.22);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  backface-visibility: hidden;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), border-color 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
body.lux-ready #lux-cursor,
body.lux-ready #lux-cursor-ring { opacity: 1; }
body.lux-hover #lux-cursor { width: 14px; height: 14px; }
body.lux-hover #lux-cursor-ring { width: 64px; height: 64px; border-color: rgba(194,168,120,0.45); }
body.on-dark-section #lux-cursor { background: var(--accent); }
body.on-dark-section #lux-cursor-ring { border-color: rgba(194,168,120,0.32); }
body.on-dark-section.lux-hover #lux-cursor-ring { border-color: rgba(194,168,120,0.6); }

@media (hover: none), (pointer: coarse) {
  #lux-cursor, #lux-cursor-ring { display: none; }
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.55s var(--ease), border-color 0.55s var(--ease), padding 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}

.header.scrolled {
  background: rgba(244,241,236,0.92);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  border-bottom-color: rgba(47,58,52,0.07);
}

.header.on-dark {
  background: rgba(26,36,32,0.94);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border-bottom-color: rgba(194,168,120,0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 1.75rem 0;
  transition: padding 0.5s var(--ease);
}

.header.scrolled .header-inner,
.header.on-dark .header-inner {
  padding: 1.1rem 0;
}

.logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gray-800);
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.5s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.header.on-dark .logo { color: var(--off-white); }

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.logo:hover::after { opacity: 1; }

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  flex-wrap: nowrap;
}

/* Tighten the nav gap at medium widths so all links fit on one row */
@media (max-width: 1200px) {
  .nav { gap: 1.75rem; }
}
@media (max-width: 1024px) {
  .nav { gap: 1.3rem; }
}

.nav-link {
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 300;
  color: var(--gray-800);
  text-decoration: none;
  position: relative;
  transition: color 0.35s var(--ease), opacity 0.35s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.55;
  white-space: nowrap;
}

.header.on-dark .nav-link { color: var(--off-white); }

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.auth-link {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.profile-container {
  display: none;
  align-items: center;
  gap: 0.8rem;
}

.profile-container span:first-child {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--navy);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gray-800);
  transition: var(--transition), background 0.5s var(--ease);
}

.header.on-dark .hamburger span { background: var(--off-white); }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   AUTH MODAL
   ========================================== */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.auth-modal-inner {
  background: var(--off-white);
  padding: 3.5rem 3rem;
  border-radius: 1px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.3);
  border-top: 1px solid var(--accent);
}

.auth-modal-inner h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gray-800);
  margin-bottom: 2rem;
  letter-spacing: var(--tracking-tight);
}

.auth-modal-inner input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.auth-modal-inner input:focus {
  outline: none;
  border-color: var(--accent);
}

#authConfirm { display: none; }

.forgot-link {
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--gray-400);
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.forgot-link:hover { color: var(--navy); }

.auth-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.75rem;
  border-radius: 1px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  transition: all 0.45s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* isolate stacking context so the sweep stays BEHIND the text */
  isolation: isolate;
  z-index: 0;
}

/* gentle fill-sweep on hover — sits behind the button's text */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: translateX(-101%);
  transition: transform 0.55s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(0); }

/* Primary — rich sage green, colorful */
.btn-primary {
  background: var(--navy);
  color: var(--off-white);
  box-shadow: 0 14px 34px rgba(85,107,98,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary::before {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--gray-800) 100%);
}
.btn-primary:hover {
  color: var(--accent-light);
  gap: 1rem;
  box-shadow: 0 22px 50px rgba(85,107,98,0.35), 0 0 0 1px var(--accent);
}

/* Secondary — gold-outlined, fills gold on hover */
.btn-secondary {
  background: transparent;
  color: var(--navy-dark);
  border: 1px solid var(--accent);
  box-shadow: 0 6px 20px rgba(194,168,120,0.12);
}
.btn-secondary::before {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}
.btn-secondary:hover {
  color: var(--gray-800);
  border-color: var(--accent);
  gap: 1rem;
  box-shadow: 0 20px 40px rgba(194,168,120,0.32);
}

/* Outline — sage-outlined, fills sage on hover */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline::before {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.btn-outline:hover {
  color: var(--off-white);
  border-color: var(--navy-dark);
  gap: 1rem;
  box-shadow: 0 18px 36px rgba(85,107,98,0.25);
}

.cta-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================
   HERO (Landing Page)
   ========================================== */
.hero {
  padding: 12rem 0 7rem;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Layered colour wash behind the hero — subtle sage + gold radial tints */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(111,135,122,0.10), transparent 65%),
    radial-gradient(ellipse 55% 45% at 92% 82%, rgba(194,168,120,0.12), transparent 60%),
    radial-gradient(ellipse 40% 30% at 78% 12%, rgba(131,158,145,0.08), transparent 70%),
    var(--off-white);
}

/* decorative floating serif character */
.hero::before {
  content: "V";
  position: absolute;
  right: -3rem;
  bottom: -6rem;
  font-family: var(--serif);
  font-size: clamp(320px, 45vw, 540px);
  font-weight: 300;
  color: rgba(85,107,98,0.045);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.06em;
  z-index: 0;
  animation: heroFloat 18s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,168,120,0.35) 50%, transparent);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* Photographic background layer behind the hero copy (mother & child).
   Sits below the radial colour washes but above the off-white base, with low
   opacity so the headline contrast and ghost "V" remain intact.
   NB: deliberately NO mix-blend-mode here. Safari breaks the repaint of the
   position:fixed custom cursor whenever it moves over a blended layer, leaving
   an afterimage trail + a leftover paint square. A plain faded overlay avoids
   that bug entirely; opacity is nudged down slightly to compensate for the
   loss of multiply (which used to drop out the photo's lighter areas). */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

[data-theme="dark"] .hero-bg-image {
  opacity: 0.42;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 300;
  color: var(--gray-800);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tagline::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--accent);
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 1.75rem;
  max-width: 560px;
  text-wrap: balance;
  position: relative;
}

.hero-subtitle::first-letter {
  color: var(--accent);
}

.hero-desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-800);
  margin-bottom: 2.25rem;
  line-height: 1.85;
  max-width: 520px;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(194,168,120,0.4);
}

.hero-checks {
  list-style: none;
  margin-bottom: 2.75rem;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(47,58,52,0.1);
}

.hero-checks li {
  padding: 0.45rem 1.5rem 0.45rem 1.75rem;
  margin-right: 0;
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--navy-dark);
  border-right: 1px solid rgba(194,168,120,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-checks li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-checks li:first-child { padding-left: 1.5rem; }
.hero-checks li:first-child::before { left: 0; }
.hero-checks li:last-child { border-right: none; }

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--gray-400);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ==========================================
   PAGE HERO (Sub-pages)
   ========================================== */
.page-hero {
  padding: 11rem 0 5.5rem;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,58,52,0.08) 50%, transparent);
}

/* About ("Who We Are"): tighten the gap between the page hero and the first
   section ("Process Leadership and Oversight"). Default is page-hero bottom
   padding (5.5rem) + section top padding (7.5rem) = ~13rem, which read as too
   much empty space. Halve it. */
.about-page .page-hero {
  padding-bottom: 2.5rem;
}
.about-page .page-hero + .section {
  padding-top: 3.5rem;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

/* Hero banner image — full-width, used above the hero, below the hero, or between content sections */
.hero-image {
  display: block;
  width: 100%;
  height: clamp(320px, 50vh, 560px);
  object-fit: cover;
  object-position: center;
}

/* Why Armenia: each scenic photo (Republic Square, Garni Temple) spans the
   full site width and its height follows the natural aspect ratio, so the
   whole image is shown — no cropping, no centred box, no upscaling. */
.why-armenia-page .hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Inline image — floats within a content section so text wraps editorially around it */
.hero-image-inline {
  float: right;
  width: 46%;
  max-width: 540px;
  max-height: 460px;
  height: auto;
  object-fit: cover;
  margin: 0.4rem 0 1.5rem 2.5rem;
  border-radius: 4px;
  shape-outside: margin-box;
}

@media (max-width: 720px) {
  .hero-image {
    height: clamp(220px, 38vh, 360px);
  }
  .hero-image-inline {
    float: none;
    width: 100%;
    max-width: none;
    max-height: 320px;
    margin: 0 0 2rem;
  }
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 300;
  color: var(--gray-800);
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 2rem;
  max-width: 860px;
}

.page-hero p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gray-600);
  max-width: 580px;
  margin-bottom: 0.85rem;
  line-height: 1.9;
}

/* First paragraph after page-hero h1 — elevated serif lead */
.page-hero h1 + p {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--navy-dark);
  line-height: 1.55;
  max-width: 720px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.005em;
}

/* Drop cap on the lead paragraph */
.page-hero h1 + p::first-letter {
  font-family: var(--serif);
  font-size: 3.2em;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  padding: 0.18em 0.18em 0 0;
  color: var(--accent);
  font-style: normal;
}

.page-hero .cta-group {
  margin-top: 2.5rem;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
  padding: 7.5rem 0;
  background: var(--off-white);
}

.section-alt {
  background:
    radial-gradient(ellipse 50% 40% at 85% 12%, rgba(194,168,120,0.14), transparent 65%),
    radial-gradient(ellipse 55% 50% at 8% 88%, rgba(63,82,73,0.12), transparent 70%),
    var(--gray-100);
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,168,120,0.3) 50%, transparent);
}

.section-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,168,120,0.22) 50%, transparent);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 300;
  color: var(--gray-800);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 2.25rem;
  max-width: 820px;
  position: relative;
  padding-top: 1.75rem;
}

/* Gold eyebrow rule leading the title */
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.section-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gray-600);
  max-width: 620px;
  margin-bottom: 1.1rem;
  line-height: 1.9;
}

/* ── LEAD PARAGRAPH — the first paragraph after a section title is distinctive ── */
.section-title + .section-text,
.section .container > .section-text:first-of-type,
.section-title + p {
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 400;
  font-style: italic;
  color: var(--navy-dark);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.005em;
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid var(--accent);
}

/* ── INLINE TEXT EMPHASIS ─────────────────────── */
p strong, .section-text strong, .hero-desc strong,
.page-hero p strong {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.01em;
}

p em, .section-text em, .page-hero p em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
  font-size: 1.08em;
}

.section-text a, .page-hero p a, p.section-text a, main p a:not(.btn):not(.insight-link):not(.nav-link) {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(194,168,120,0.4);
  padding-bottom: 1px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.section-text a:hover, .page-hero p a:hover, p.section-text a:hover,
main p a:hover:not(.btn):not(.insight-link):not(.nav-link) {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.section-note {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gray-400);
  font-style: italic;
  margin-top: 2rem;
  font-family: var(--serif);
  letter-spacing: 0.02em;
}

.section-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================
   FEATURES GRID
   ========================================== */

.feature-card {
  background: var(--mint);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(47,58,52,0.07);
  border-top: 2px solid var(--accent);
  border-radius: 2px;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--accent) 100%);
  transition: width 0.6s var(--ease);
}

/* Alternate sage/gold top accents across the grid for visual rhythm */
.feature-card:nth-child(even) {
  border-top-color: var(--navy);
  background: var(--off-white);
}
.feature-card:nth-child(even)::before {
  background: linear-gradient(90deg, var(--accent) 0%, var(--navy) 100%);
}

.section-alt .feature-card { background: var(--off-white); }
.section-alt .feature-card:nth-child(even) { background: var(--mint); }

.feature-card:hover {
  box-shadow: 0 24px 56px rgba(85,107,98,0.14), 0 0 0 1px rgba(194,168,120,0.2);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-card h4 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
}

.feature-card p {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 3rem;
  margin-top: 2.5rem;
}

.features-grid + .section-text {
  margin-top: 1.75rem;
}

/* ==========================================
   PROGRAMS GRID (Landing)
   ========================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.program-card {
  background: var(--off-white);
  padding: 2.75rem 2.25rem;
  border-radius: 2px;
  border: 1px solid rgba(47,58,52,0.1);
  border-top: 3px solid var(--navy);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

/* Rotate through sage → bronze → gold top borders */
.program-card:nth-child(3n+2) { border-top-color: var(--bronze); }
.program-card:nth-child(3n)   { border-top-color: var(--accent); }

.program-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--bronze) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.55s var(--ease);
}
.program-card:nth-child(3n+2)::before {
  background: linear-gradient(180deg, var(--navy) 0%, var(--sage-deep) 100%);
}
.program-card:nth-child(3n)::before {
  background: linear-gradient(180deg, var(--bronze) 0%, var(--navy) 100%);
}

.program-card:hover {
  background: var(--mint);
  border-color: rgba(194,168,120,0.35);
  box-shadow: 0 24px 60px rgba(85,107,98,0.14);
  transform: translateY(-4px);
}

.program-card:hover::before { transform: scaleY(1); }

.program-card.featured {
  border: 1px solid var(--accent);
  border-top: 2px solid var(--accent);
  background:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(194,168,120,0.14), transparent 70%),
    linear-gradient(180deg, var(--mint) 0%, var(--gray-50) 100%);
  box-shadow: 0 24px 60px rgba(194,168,120,0.22);
  position: relative;
}

/* Reserve space so the h3 can't collide with the Premium badge */
.program-card.featured h3 { padding-right: 5.25rem; }

.program-card.featured::after {
  content: "Premium";
  position: absolute;
  top: 1.15rem;
  right: 1.4rem;
  color: var(--accent);
  background: rgba(194,168,120,0.1);
  border: 1px solid rgba(194,168,120,0.35);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border-radius: 1px;
}

.program-card h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 300;
  color: var(--gray-800);
  margin-bottom: 0.3rem;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
}

.program-card .program-subtitle {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  opacity: 0.75;
}

.program-card ul {
  list-style: none;
  margin-bottom: 1.25rem;
}

.program-card ul li {
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gray-600);
  line-height: 1.65;
}

.program-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 4px;
  height: 1px;
  background: var(--accent);
}

.program-suited {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--gray-400);
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px solid rgba(47,58,52,0.08);
}

/* ==========================================
   PROGRAM DETAIL (Programs Page)
   ========================================== */
.program-detail-header {
  margin-bottom: 1.5rem;
}

.program-detail-header h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 300;
  color: var(--gray-800);
  margin-bottom: 0.6rem;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
}

.program-detail-tagline {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-style: normal;
  opacity: 0.75;
}

.featured-header {
  border-left: 1px solid var(--accent);
  padding-left: 2rem;
}

.program-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.program-detail-grid h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.program-detail-grid ul {
  list-style: none;
}

.program-detail-grid ul li {
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.program-detail-grid ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ==========================================
   COMPARISON TABLE
   ========================================== */
.table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: 1px;
  border: 1px solid rgba(47,58,52,0.1);
  background: var(--off-white);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-weight: 300;
}

.comparison-table th,
.comparison-table td {
  padding: 1.35rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(47,58,52,0.06);
}

.comparison-table thead th {
  background: var(--gray-800);
  color: var(--off-white);
  font-family: var(--sans);
  font-weight: 400;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  padding: 1.5rem 1.5rem;
}

.comparison-table thead th:first-child { border-radius: 0; }
.comparison-table thead th:last-child { border-radius: 0; }

.comparison-table tbody tr:hover {
  background: var(--mint);
}

.comparison-table td:first-child {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--gray-800);
  letter-spacing: var(--tracking-tight);
}

/* ==========================================
   JOURNEY / PROCESS (Sticky Scroll)
   Dark cinematic band — contrasts with the
   ivory sections above & below.
   ========================================== */
.journey-section {
  padding: 7rem 0 5rem;
  background:
    radial-gradient(ellipse 60% 45% at 15% 10%, rgba(194,168,120,0.10), transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 90%, rgba(111,135,122,0.15), transparent 70%),
    var(--deep);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.journey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.journey-section .container { position: relative; z-index: 1; }

.journey-section .section-title {
  color: var(--off-white);
}
.journey-section .section-title::before {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}
.journey-section .section-title::after {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 55%, var(--sage-soft) 100%);
}

.journey-wrapper {
  margin-top: 2.5rem;
}

.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.journey-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(194,168,120,0.12);
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.4s var(--ease);
}

.journey-step:first-child { border-top: 1px solid rgba(194,168,120,0.12); }

.step-icon {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 64px;
  min-width: 64px;
  height: auto;
  font-size: 2.3rem;
  line-height: 1;
  padding-top: 0.2rem;
  opacity: 1;
  filter: saturate(0.92);
}

.journey-step-content h4 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 0.65rem;
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
}

.journey-step-content p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(244,241,236,0.62);
  max-width: 560px;
  line-height: 1.85;
}

/* Dark-section overrides — buttons/CTA inside the journey section */
.journey-section .section-cta .btn-secondary {
  color: var(--accent-light);
  border-color: rgba(194,168,120,0.4);
  background: transparent;
}
.journey-section .section-cta .btn-secondary:hover {
  color: var(--deep);
  border-color: var(--accent);
}

/* ==========================================
   ADVANTAGES GRID
   ========================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

/* Two-column layout pairing the advantages grid with an inline photo */
.why-armenia-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}
.why-armenia-image-col { position: relative; }
.why-armenia-inline-image {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.why-armenia-text-col .advantages-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}
@media (max-width: 820px) {
  .why-armenia-layout { grid-template-columns: 1fr; gap: 2rem; }
  .why-armenia-inline-image { max-height: 320px; }
  .why-armenia-text-col .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.advantage-item {
  padding: 1.75rem 1.75rem 1.75rem 2.25rem;
  background: var(--off-white);
  border-radius: 2px;
  border: 1px solid rgba(47,58,52,0.07);
  border-left: 3px solid var(--accent);
  position: relative;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--gray-800);
  line-height: 1.75;
  transition: all 0.5s var(--ease);
  overflow: hidden;
}

/* Three-tone left-accent rotation for visual rhythm */
.advantage-item:nth-child(3n+2) {
  border-left-color: var(--navy);
  background: var(--mint);
}
.advantage-item:nth-child(3n) {
  border-left-color: var(--navy-light);
  background: linear-gradient(90deg, rgba(194,168,120,0.05) 0%, var(--off-white) 40%);
}

.section-alt .advantage-item { background: var(--off-white); }
.section-alt .advantage-item:nth-child(3n+2) { background: var(--white); }
.section-alt .advantage-item:nth-child(3n) {
  background: linear-gradient(90deg, rgba(111,135,122,0.06) 0%, var(--off-white) 40%);
}

.advantage-item:hover {
  box-shadow: 0 16px 38px rgba(85,107,98,0.12);
  transform: translateX(6px);
  border-left-width: 5px;
}

/* ==========================================
   TRUST GRID
   ========================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-item {
  text-align: left;
  padding: 2.75rem 2rem;
  background: var(--off-white);
  border: 1px solid rgba(47,58,52,0.07);
  border-top: 2px solid var(--navy);
  border-radius: 1px;
  transition: all 0.5s var(--ease);
  position: relative;
}

/* Trust grid cards: all four share a single tone for visual coherence */
.trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

.trust-item h4 {
  transition: color 0.4s var(--ease);
}

.trust-item:hover::before {
  width: 100%;
}

.trust-item:hover {
  box-shadow: 0 18px 42px rgba(85,107,98,0.1);
  transform: translateY(-3px);
}

.trust-item h4 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
}

.trust-item p {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1.8;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

/* ==========================================
   ACCORDION (FAQ)
   ========================================== */
.accordion {
  max-width: 820px;
  margin-top: 2rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(47,58,52,0.08);
}

.accordion-item:first-child {
  border-top: 1px solid rgba(47,58,52,0.08);
}

.accordion-header {
  width: 100%;
  padding: 1.9rem 0;
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gray-800);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: color 0.4s var(--ease);
  letter-spacing: var(--tracking-tight);
  line-height: 1.3;
}

.accordion-header::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47,58,52,0.15);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gray-800);
  transition: all 0.5s var(--ease);
  flex-shrink: 0;
}

.accordion-item.active .accordion-header::after {
  content: "+";
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--off-white);
  border-color: var(--navy);
}

.accordion-header:hover {
  color: var(--navy);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.accordion-body p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.accordion-body a {
  color: var(--accent);
  text-decoration: underline;
}

/* FAQ page: tighter vertical rhythm — smaller gaps between the question
   groups and between individual questions. */
.faq-page .section {
  padding: 4.25rem 0;
}
.faq-page .accordion {
  margin-top: 1.25rem;
}
.faq-page .accordion-header {
  padding: 1.35rem 0;
}

/* FAQ hero photo: fill the whole hero edge-to-edge AND show the entire child.
   Matching the hero's aspect ratio to the photo lets `cover` fill completely
   with no cropping of the figure. (Upscales the photo on wide screens — fine
   per the brief.) */
.faq-page .page-hero {
  aspect-ratio: 1600 / 1066;
}
.faq-page .page-hero .hero-bg-image {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 720px) {
  /* On phones the photo's wide aspect ratio makes the band too short for the
     heading + intro, so the text was clipped by the hero's overflow:hidden.
     Let the hero grow to fit its content; the photo still covers behind it. */
  .faq-page .page-hero {
    aspect-ratio: auto;
    min-height: 78vh;
  }
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  background: var(--deep) !important;
  padding: 9rem 0 !important;
  position: relative;
  overflow: hidden;
}

/* Grain noise overlay */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.8;
}

/* Decorative huge letters flanking the content */
.cta-section::after {
  content: "V";
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(280px, 32vw, 440px);
  font-weight: 300;
  color: rgba(244,241,236,0.013);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.06em;
}

.cta-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--serif);
  color: var(--off-white);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.cta-content p {
  color: rgba(244,241,236,0.45);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 3rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: var(--accent);
  color: var(--gray-800);
  box-shadow: 0 18px 44px rgba(194,168,120,0.3);
}

.cta-section .btn-primary::before {
  background: linear-gradient(135deg, var(--accent-light) 0%, #E5D0A8 100%);
}

.cta-section .btn-primary:hover {
  color: var(--gray-800);
  gap: 1rem;
  box-shadow: 0 26px 60px rgba(194,168,120,0.45);
}

.cta-section .btn-outline {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid rgba(194,168,120,0.4);
}

.cta-section .btn-outline::before {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.cta-section .btn-outline:hover {
  border-color: var(--accent);
  color: var(--gray-800);
  gap: 1rem;
}

.cta-section .cta-group {
  justify-content: center;
  gap: 1rem;
}

.cta-section .hero-note {
  color: rgba(244,241,236,0.25);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  margin-top: 2rem;
}

/* ==========================================
   SPLIT SECTION (Why Armenia)
   ========================================== */
.split-section {
  max-width: 720px;
}

.split-section .section-title {
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin-top: 1.25rem;
}

.check-list li {
  padding: 0.55rem 0 0.55rem 2rem;
  position: relative;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gray-800);
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  transition: all 0.35s var(--ease);
}

.check-list li:hover {
  color: var(--navy-dark);
  transform: translateX(3px);
}

.check-list li:hover::before {
  background: var(--accent);
  color: var(--off-white);
}

/* ==========================================
   LEGAL REFERENCES
   ========================================== */
.legal-refs {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.legal-ref-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.legal-ref-item h4 {
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.legal-ref-item p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* ==========================================
   LEGISLATIVE ACTS (Why Armenia)
   ========================================== */
.legislative-acts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.legislative-act {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding: 2.75rem 2.5rem;
  background: var(--off-white);
  border: 1px solid rgba(47,58,52,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 1px;
  transition: all 0.55s var(--ease);
  position: relative;
}

.legislative-act:nth-child(even) {
  background: var(--mint);
  border-left-color: var(--navy);
}

.legislative-act::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

.legislative-act:nth-child(even)::before { background: var(--navy); }

.legislative-act:hover {
  transform: translateX(4px);
  box-shadow: 0 22px 50px rgba(85,107,98,0.1);
  border-left-width: 5px;
}

.legislative-act:hover::before {
  width: 100%;
}

.act-number {
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.75;
  align-self: start;
  padding-top: 0.25rem;
}

.legislative-act:nth-child(even) .act-number {
  color: var(--navy);
}

.act-body { min-width: 0; }

.act-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 0.4rem;
}

.act-subtitle {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}

.act-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(194,168,120,0.45);
  transition: all 0.35s var(--ease);
  margin-bottom: 1.75rem;
}

.act-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  gap: 0.8rem;
}

.act-heading {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.act-note {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(194,168,120,0.1);
  border-left: 2px solid var(--accent);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--navy-dark);
  line-height: 1.75;
  border-radius: 1px;
}

.legislative-act:nth-child(even) .act-note {
  background: rgba(111,135,122,0.08);
  border-left-color: var(--navy);
}

.act-note strong {
  color: var(--navy);
  font-weight: 600;
}

.act-pullquote {
  margin-top: 3.5rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--mint) 100%);
  border-left: 3px solid var(--accent);
  border-radius: 1px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  font-style: italic;
  color: var(--navy-dark);
  line-height: 1.55;
  max-width: 920px;
  position: relative;
  box-shadow: 0 18px 44px rgba(85,107,98,0.08);
}

.act-pullquote::before {
  content: "\201C";
  position: absolute;
  left: 1rem;
  top: -0.5rem;
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
}

@media (max-width: 720px) {
  .legislative-act {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2.25rem 1.75rem;
  }
  .act-number {
    font-size: 2.5rem;
  }
  .act-pullquote {
    padding: 2rem 1.75rem 2rem 2.25rem;
  }
}

/* ==========================================
   LEADERSHIP (About)
   ========================================== */
.leadership-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 2px dashed var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

.photo-placeholder span {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--navy);
}

.leadership-photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.leadership-text h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  color: var(--gray-800);
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.leadership-text p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

/* ==========================================
   INSIGHTS (Hub Page)
   ========================================== */
.insight-featured {
  padding: 4rem 3.5rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--mint) 100%);
  border-radius: 1px;
  border: 1px solid rgba(194,168,120,0.25);
  border-left: 3px solid var(--accent);
  margin-top: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(85,107,98,0.08);
}

.insight-featured::before {
  content: "01";
  position: absolute;
  right: 3.5rem;
  top: 2.5rem;
  font-family: var(--serif);
  font-size: 10rem;
  font-weight: 300;
  color: rgba(194,168,120,0.1);
  line-height: 1;
  letter-spacing: -0.04em;
}

.insight-featured h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  position: relative;
}

.insight-featured p {
  color: var(--gray-600);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 1.25rem;
  max-width: 540px;
  position: relative;
}

.insight-featured .btn {
  margin-top: 1.25rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.insight-card {
  padding: 2.75rem 2.25rem;
  background: var(--off-white);
  border: 1px solid rgba(47,58,52,0.08);
  border-top: 2px solid var(--navy);
  border-radius: 1px;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

/* Insight cards: unified tone across the grid (no per-cell color rotation) */

.insight-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.55s var(--ease);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(85,107,98,0.13);
}

.insight-card:hover::before {
  width: 100%;
}

.insight-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gray-800);
  margin-bottom: 0.85rem;
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
}

.insight-card p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.insight-link {
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--gray-800);
  text-decoration: none;
  transition: all 0.45s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(47,58,52,0.2);
}

.insight-link::after {
  content: "\2192";
  transition: transform 0.35s var(--ease);
  font-size: 0.85rem;
}

.insight-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  gap: 0.9rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--deep);
  color: rgba(244,241,236,0.4);
  padding: 6rem 0 2.75rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(194,168,120,0.08);
}

/* Grain */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.032'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.75;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  z-index: 1;
}

.footer-logo {
  width: 110px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col a {
  color: rgba(244,241,236,0.42);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: none;
  transition: color 0.35s var(--ease);
  width: fit-content;
}

.footer-col a::before { display: none; }

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  position: relative;
  padding-top: 2.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(194,168,120,0.08);
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(244,241,236,0.22);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

.contact-callout {
  background: var(--cream);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 2.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-callout h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.contact-callout p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.contact-callout-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
}

.contact-callout-details a {
  color: var(--bronze);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  transition: color 0.35s var(--ease);
}

.contact-callout-details a:hover {
  color: var(--accent);
}

.cta-contact {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.95rem;
}

.cta-contact-label {
  color: rgba(244,241,236,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-contact a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.35s var(--ease);
}

.cta-contact a:hover {
  color: var(--off-white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact-label {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: rgba(244,241,236,0.42);
}

.footer-contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(244,241,236,0.6);
}

.footer-contact-details a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.35s var(--ease);
}

.footer-contact-details a:hover {
  color: var(--off-white);
}

.footer-contact-details span {
  color: rgba(244,241,236,0.25);
}

/* ==========================================
   HERO STAGGER ANIMATION
   ========================================== */
.hero-content > * {
  opacity: 0;
  transform: translateY(44px);
}

.hero-content.loaded > * {
  opacity: 1;
  transform: none;
}

.hero-content.loaded > *:nth-child(1) { transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.20s, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.20s; }
.hero-content.loaded > *:nth-child(2) { transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.42s, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.42s; }
.hero-content.loaded > *:nth-child(3) { transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.62s, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.62s; }
.hero-content.loaded > *:nth-child(4) { transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.80s, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.80s; }
.hero-content.loaded > *:nth-child(5) { transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.96s, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.96s; }
.hero-content.loaded > *:nth-child(6) { transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.10s, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.10s; }
.hero-content.loaded > *:nth-child(7) { transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.22s, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.22s; }

/* ==========================================
   HERO PARALLAX (compositor-driven)
   ==========================================
   Scroll-linked parallax via CSS scroll-timeline so it runs on the
   compositor, NOT the main thread. This is what fixes the "first screen
   delay": a JS scroll handler (or GSAP scrub) updates a frame after Safari
   has already painted an instant jump-to-top, flashing the hero in its
   scrolled-away state; a scroll-driven animation is evaluated in lockstep
   with the scroll position, so the top of the page is always rendered with
   the hero at its rest transform. Gated by @supports + reduced-motion, so
   unsupported browsers simply get a static (still correct) hero. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero {
      animation: heroBandDrift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
    /* H1 drifts faster than the band for a layered depth feel. The rest of
       the hero copy parallaxes along with the band, so it needs no separate
       animation — which also leaves its load-entrance slide untouched. */
    .hero-content h1 {
      animation: heroH1Drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
  }
}

@keyframes heroBandDrift { to { transform: translate3d(0, -90px, 0); } }
@keyframes heroH1Drift   { to { transform: translate3d(0, -140px, 0); } }

/* ==========================================
   CINEMATIC TEXT REVEALS
   Runtime-split line masks + word fade/blur.
   Hero H1 / H2 get line masks; section titles
   and page-hero H1s get word splits with a
   gold underline sweep. Added April 2026.
   ========================================== */

/* --- Line mask primitive (hero headlines) ---
   With a display serif at 52–88px, descenders on "g" / "y" extend ~0.2em
   below the baseline. Too-tight values cause line 1's descender to get
   clipped flush against line 2's cap-tops, producing the visual "merge".
   Inherit the parent's line-height (1.04 on the h1, 1.45 on the subtitle)
   and rely on padding-bottom to give descenders clean breathing room. */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.22em;
}
.line-inner {
  display: block;
  transform: translateY(130%);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.line-mask.lm-ready .line-inner { transform: translateY(0); }
.line-mask.lm-ready.lm-1 .line-inner { transition-delay: 0.18s; }
.line-mask.lm-ready.lm-2 .line-inner { transition-delay: 0.34s; }
.line-mask.lm-ready.lm-3 .line-inner { transition-delay: 0.50s; }
.line-mask.lm-ready.lm-4 .line-inner { transition-delay: 0.66s; }
.line-mask.lm-ready.lm-5 .line-inner { transition-delay: 0.82s; }

/* When hero H1/H2 are split into line masks, the raw element no longer
   needs the nth-child fade (the masks handle it) — neutralise it so we
   don't double-animate. */
.hero-content h1:has(.line-mask),
.hero-content .hero-subtitle:has(.line-mask) {
  opacity: 1;
  transform: none;
}

/* --- Word split primitive (section titles + page-hero H1) --- */
.word-split .word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(24px);
  transition:
    opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.06s);
  will-change: opacity, filter, transform;
}
.word-split.ws-in .word {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* --- Gold underline sweep beneath section titles --- */
.section-title { position: relative; }
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45em;
  height: 2px;
  width: 84px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 55%, rgba(111,135,122,0.55) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
  border-radius: 2px;
}
.reveal.active .section-title::after,
.section-title.ws-in::after { transform: scaleX(1); }

/* --- Paragraph / body text blur-in inside revealed sections --- */
.reveal .section-text,
.reveal .hero-note,
.reveal .page-hero .lede,
.reveal p.subtitle {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(22px);
  transition:
    opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
    filter 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.reveal.active .section-text,
.reveal.active .hero-note,
.reveal.active .page-hero .lede,
.reveal.active p.subtitle {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* ==========================================
   SECTION LAYERED TRANSITIONS (GSAP-driven)
   ========================================== */
.section {
  position: relative;
  z-index: 1;
}

/* Why Armenia "new chapter" feel — mint with sage + gold depth */
#why-armenia {
  background:
    radial-gradient(ellipse 50% 40% at 88% 18%, rgba(194,168,120,0.14), transparent 65%),
    radial-gradient(ellipse 45% 50% at 10% 82%, rgba(63,82,73,0.14), transparent 70%),
    var(--mint);
  position: relative;
}

#why-armenia::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(63,82,73,0.04) 100%);
  pointer-events: none;
}

/* Trust — deeper sage wash so the band sits between "ivory" and "dark" */
#trust {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(63,82,73,0.08), transparent 65%),
    var(--off-white);
  position: relative;
}
#trust::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0.35;
}

/* ==========================================
   REVEAL ANIMATION
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1), transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* Stagger heading reveal within sections slightly later.
   Note: when the word-split JS runs, it takes over the H1/section-title
   animation; these rules still apply as a fallback when JS is absent. */
.reveal .section-title:not(.word-split),
.reveal .page-hero h1:not(.word-split) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.reveal.active .section-title:not(.word-split),
.reveal.active .page-hero h1:not(.word-split) {
  opacity: 1;
  transform: none;
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-content > * {
    opacity: 1;
    transform: none;
  }

  .journey-step {
    opacity: 1;
    transform: none;
  }

  /* Cinematic reveal overrides */
  .line-inner {
    transform: none !important;
    transition: none !important;
  }
  .word-split .word {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
  .section-title::after {
    transform: scaleX(1) !important;
    transition: none !important;
  }
  .reveal .section-text,
  .reveal .hero-note,
  .reveal .page-hero .lede,
  .reveal p.subtitle {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .header-inner { padding: 1.25rem 0 !important; }

  .nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(244,241,236,0.98);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    flex-direction: column;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(47,58,52,0.08);
    align-items: flex-start;
  }

  .header.on-dark .nav {
    background: rgba(26,36,32,0.97);
    border-bottom-color: rgba(194,168,120,0.1);
  }

  .nav.open { display: flex; }

  .hamburger { display: flex; }

  .hero {
    padding: 8rem 0 4rem;
    min-height: 80vh;
  }

  .hero::before { font-size: 280px; }

  /* Stack hero pills cleanly — the vertical divider between items became
     a visual glitch once they wrapped onto multiple rows */
  .hero-checks {
    flex-direction: column;
    gap: 0;
    border-top-color: rgba(194,168,120,0.28);
  }
  .hero-checks li {
    border-right: none;
    border-bottom: 1px solid rgba(194,168,120,0.22);
    padding: 0.7rem 0 0.7rem 1.5rem;
  }
  .hero-checks li:last-child { border-bottom: none; }
  .hero-checks li::before { left: 0.2rem; }

  .page-hero {
    padding: 7rem 0 3.5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .programs-grid { grid-template-columns: 1fr; }

  .features-grid { gap: 0; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item {
    border-left: none;
    border-top: 1px solid rgba(47,58,52,0.08);
    padding: 2.5rem 0;
  }
  .trust-item:first-child { border-top: none; }

  .journey-step {
    grid-template-columns: 48px 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .program-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .leadership-section { grid-template-columns: 1fr; }

  .leadership-photo { max-width: 280px; }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .cta-group { flex-direction: column; width: 100%; }

  .cta-group .btn {
    text-align: center;
    justify-content: center;
  }

  .insight-featured {
    padding: 3rem 2rem;
  }

  .insight-featured::before { display: none; }

  .cta-section { padding: 6rem 0 !important; }
}

@media (max-width: 480px) {
  .hero { padding: 7rem 0 3rem; }
  .hero::before { font-size: 220px; }
  .section { padding: 4rem 0; }
  .features-grid { grid-template-columns: 1fr; }
  .program-card { padding: 2rem 1.5rem; }
  .accordion-header { font-size: 1.1rem; padding: 1.5rem 0; }
  .insight-card { padding: 2.25rem 1.75rem; }
}

/* ==========================================
   ACCOUNT ICON (NAV)
   ========================================== */
.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  padding: 0.3rem;
  border-radius: 999px;
  transition: background var(--transition);
}
.account-link:hover { background: var(--gray-100); }
.account-link svg { display: block; }

/* ==========================================
   LONG FORM PAGES (eligibility / consultation / program overview)
   ========================================== */
.form-section { padding-top: 2.5rem; }

.form-container {
  max-width: 720px;
}

.long-form .form-step {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--gray-100);
}
.long-form .form-step:first-child { border-top: none; padding-top: 0.5rem; }

.long-form .form-step h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.form-field {
  display: block;
  margin-bottom: 1.25rem;
}
.form-field > span,
.form-field > legend {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field input[type="password"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

fieldset.form-field {
  border: none;
  padding: 0;
}
fieldset.form-field label {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  cursor: pointer;
}
fieldset.form-field label input[type="radio"],
fieldset.form-field label input[type="checkbox"] {
  margin-right: 0.6rem;
  accent-color: var(--navy);
}
fieldset.form-field label span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gray-800);
  font-weight: 500;
}
fieldset.form-field label input[type="number"] {
  width: 160px;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
}

.form-note {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.form-submit-row {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}

.form-thankyou {
  text-align: center;
  padding: 3rem 1rem;
}
.form-thankyou h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.form-thankyou p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}
.form-thankyou .cta-group { justify-content: center; }

/* ==========================================
   ACCOUNT PAGE
   ========================================== */
.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}

.account-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.account-card-wide {
  grid-column: 1 / -1;
}

.account-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.account-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 0.3rem;
}

.account-value {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  word-break: break-all;
}

.account-form .form-field { margin-bottom: 1rem; }

.account-message {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  min-height: 1.1rem;
}
.account-message.success { color: #1e7a47; }
.account-message.error { color: #b42318; }

.account-signed-out {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-600);
}
.account-signed-out p { margin-bottom: 1.25rem; }

/* ==========================================
   LEGAL OVERVIEW CONTENT LIST
   ========================================== */
.content-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
}
.content-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2.25rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gray-800);
  line-height: 1.85;
  transition: color 0.35s var(--ease);
}
.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 18px;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}
.content-list li:hover {
  color: var(--navy-dark);
}
.content-list li:hover::before {
  width: 26px;
  background: var(--navy);
}

/* ==========================================
   LANDING — WHY CHOOSE ARMENIA BREATHING ROOM
   (title, advantages grid, and CTA were too tight)
   ========================================== */
#why-armenia .section-title { margin-bottom: 2rem; }
#why-armenia .advantages-grid { margin-top: 2.5rem; gap: 1.5rem; }
#why-armenia .section-cta { margin-top: 3.5rem; }

/* ==========================================
   PROCESS PAGE — step numeration & spacing
   ========================================== */
.process-page .section {
  padding: 9rem 0;
}

.process-page .step-number {
  display: block;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

/* Numeral replaces the gold eyebrow rule on this page */
.process-page .section-title {
  padding-top: 0;
}
.process-page .section-title::before {
  display: none;
}

@media (max-width: 900px) {
  .process-page .section { padding: 6rem 0; }
  .process-page .step-number { font-size: clamp(40px, 9vw, 56px); }
}
@media (max-width: 480px) {
  .process-page .section { padding: 5rem 0; }
}

/* ==========================================
   THEME TOGGLE (Header)
   ========================================== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(47,58,52,0.14);
  background: transparent;
  color: var(--gray-800);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(-18deg);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.theme-toggle .theme-icon-sun { display: none; }
.theme-toggle .theme-icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }

.header.on-dark .theme-toggle {
  color: var(--off-white);
  border-color: rgba(194,168,120,0.28);
}
.header.on-dark .theme-toggle:hover {
  color: var(--accent-light);
  border-color: var(--accent);
}

/* Inside the mobile stacked nav, let it sit naturally */
@media (max-width: 900px) {
  .theme-toggle { width: 40px; height: 40px; }
}

/* ==========================================
   DARK MODE
   Flip the neutral ramp. Accents (sage/gold/
   bronze) stay tonally where they are — they
   read fine against both ivory and deep sage.
   ========================================== */
[data-theme="dark"] {
  --off-white: #131C18;
  --mint: #182320;
  --gray-50: #1B2622;
  --gray-100: #24302B;
  --gray-200: #3A453F;
  --gray-400: #9DAFA4;
  --gray-600: #C0CEC4;
  --gray-800: #F0EDE6;
  --deep: #0B130F;
  --cream: #1D2824;
  --white: #1B2622;

  /* Nudge sage ramp lighter so it reads on dark.
     --navy-dark is semantically "more emphasised than --navy", so in dark
     mode it must be *brighter*, not darker. Same for --sage-deep which is
     also used as body/heading text in several spots. */
  --navy: #9FB3A7;
  --navy-light: #B6C8BC;
  --navy-dark: #D1DCD6;
  --sage-deep: #A8BDB0;
  --sage-soft: #B8C9BE;

  --shadow-sm: 0 2px 14px rgba(0,0,0,0.25);
  --shadow-md: 0 14px 40px rgba(0,0,0,0.35);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.5);
  --shadow-gold: 0 20px 50px rgba(194,168,120,0.25);
}

/* Base surfaces that use hardcoded rgba(244,241,236,…) need a dark-mode twin */
[data-theme="dark"] body { color: var(--gray-800); }

/* Luxury cursor — the light-mode dot uses mix-blend-mode:multiply which
   collapses the dot to near-black on a dark page, and the ring's border
   is a hardcoded dark rgba. Switch the blend + brighten the ring for dark. */
[data-theme="dark"] #lux-cursor {
  background: var(--accent-light);
  mix-blend-mode: normal;
}
[data-theme="dark"] #lux-cursor-ring {
  border-color: rgba(212,189,148,0.55);
}
[data-theme="dark"] body.lux-hover #lux-cursor-ring {
  border-color: rgba(212,189,148,0.8);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(19,28,24,0.92);
  border-bottom-color: rgba(194,168,120,0.12);
}

/* In dark mode the whole page is dark, so the *default* header (not .on-dark)
   must read light — gray-800 is already the light ivory in dark mode. */
[data-theme="dark"] .header .logo { color: var(--gray-800); }
[data-theme="dark"] .header .nav-link { color: var(--gray-800); }
[data-theme="dark"] .hamburger span { background: var(--gray-800); }

/* .on-dark normally flips text to --off-white, but --off-white is dark in
   dark mode. Pin these to the light ivory so the nav stays legible over
   the deep-sage CTA / journey / footer bands. */
[data-theme="dark"] .header.on-dark .logo,
[data-theme="dark"] .header.on-dark .nav-link { color: #F0EDE6; }
[data-theme="dark"] .header.on-dark .hamburger span { background: #F0EDE6; }
[data-theme="dark"] .header.on-dark .nav { background: rgba(7,16,12,0.97); }

/* Theme toggle: keep the icon ivory over dark bands too — in dark mode the
   scroll-position-based .on-dark override would otherwise collapse it to
   var(--off-white), which is near-black in dark mode. */
[data-theme="dark"] .header.on-dark .theme-toggle {
  color: #F0EDE6;
  border-color: rgba(194,168,120,0.35);
}
[data-theme="dark"] .header.on-dark .theme-toggle:hover {
  color: var(--accent-light);
  border-color: var(--accent);
}

[data-theme="dark"] .nav {
  background: rgba(19,28,24,0.97);
  border-bottom-color: rgba(194,168,120,0.1);
}

[data-theme="dark"] .auth-modal { background: rgba(0,0,0,0.6); }
[data-theme="dark"] .auth-modal-inner { background: var(--gray-50); box-shadow: 0 40px 120px rgba(0,0,0,0.6); }

/* Decorative floating "V" behind hero — darker tone on dark */
[data-theme="dark"] .hero::before { color: rgba(194,168,120,0.05); }
[data-theme="dark"] .hero::after  { background: linear-gradient(90deg, transparent, rgba(194,168,120,0.22) 50%, transparent); }

[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(111,135,122,0.18), transparent 65%),
    radial-gradient(ellipse 55% 45% at 92% 82%, rgba(194,168,120,0.14), transparent 60%),
    radial-gradient(ellipse 40% 30% at 78% 12%, rgba(131,158,145,0.10), transparent 70%),
    var(--off-white);
}

[data-theme="dark"] .section-alt {
  background:
    radial-gradient(ellipse 50% 40% at 85% 12%, rgba(194,168,120,0.12), transparent 65%),
    radial-gradient(ellipse 55% 50% at 8% 88%, rgba(111,135,122,0.14), transparent 70%),
    var(--gray-50);
}

[data-theme="dark"] #why-armenia {
  background:
    radial-gradient(ellipse 50% 40% at 88% 18%, rgba(194,168,120,0.14), transparent 65%),
    radial-gradient(ellipse 45% 50% at 10% 82%, rgba(111,135,122,0.18), transparent 70%),
    var(--mint);
}

[data-theme="dark"] #trust {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(111,135,122,0.14), transparent 65%),
    var(--off-white);
}

/* Cards — lift them off the dark background a touch */
[data-theme="dark"] .feature-card,
[data-theme="dark"] .program-card,
[data-theme="dark"] .trust-item,
[data-theme="dark"] .advantage-item,
[data-theme="dark"] .insight-card,
[data-theme="dark"] .legislative-act {
  border-color: rgba(194,168,120,0.14);
}
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .program-card:hover,
[data-theme="dark"] .trust-item:hover,
[data-theme="dark"] .insight-card:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(194,168,120,0.25);
}

/* Featured program card gradient tuned for dark */
[data-theme="dark"] .program-card.featured {
  background:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(194,168,120,0.18), transparent 70%),
    linear-gradient(180deg, var(--mint) 0%, var(--gray-50) 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

/* Accordion border */
[data-theme="dark"] .accordion-item,
[data-theme="dark"] .accordion-item:first-child {
  border-color: rgba(194,168,120,0.14);
}
[data-theme="dark"] .accordion-header::after {
  border-color: rgba(194,168,120,0.3);
  color: var(--gray-800);
}

/* Comparison table — hardcoded dark heading, reinforce body contrast */
[data-theme="dark"] .comparison-table thead th {
  background: var(--sage-deep);
  color: var(--gray-800);
}
[data-theme="dark"] .comparison-table tbody tr:hover {
  background: var(--gray-100);
}

/* Form inputs */
[data-theme="dark"] .auth-modal-inner input,
[data-theme="dark"] .form-field input[type="text"],
[data-theme="dark"] .form-field input[type="email"],
[data-theme="dark"] .form-field input[type="tel"],
[data-theme="dark"] .form-field input[type="number"],
[data-theme="dark"] .form-field input[type="password"],
[data-theme="dark"] .form-field select,
[data-theme="dark"] .form-field textarea {
  background: var(--gray-100);
  color: var(--gray-800);
  border-color: rgba(194,168,120,0.18);
}

/* Footer + CTA use --deep already; in dark mode push even deeper */
[data-theme="dark"] .footer,
[data-theme="dark"] .cta-section {
  background: #05090A !important;
}
[data-theme="dark"] .journey-section {
  background:
    radial-gradient(ellipse 60% 45% at 15% 10%, rgba(194,168,120,0.14), transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 90%, rgba(111,135,122,0.18), transparent 70%),
    #07100C;
}

/* Dark bands (journey, CTA, footer) stay dark in both modes — pin their
   headings to light ivory so they don't flip with --off-white in dark mode. */
[data-theme="dark"] .journey-section .section-title,
[data-theme="dark"] .journey-step-content h4,
[data-theme="dark"] .cta-content h2,
[data-theme="dark"] .footer-brand h3 {
  color: #F0EDE6;
}

/* Section title eyebrow + sweep stay gold/sage but brighten a notch on dark */
[data-theme="dark"] .section-title::before {
  background: linear-gradient(90deg, var(--navy-light) 0%, var(--accent) 100%);
}
[data-theme="dark"] .section-title::after {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 55%, var(--navy-light) 100%);
}

/* ============================
   COOKIE CONSENT BANNER
============================ */
.vb-cc {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.35rem;
  background: var(--navy, #1c2b33);
  color: var(--off-white, #f5f2ec);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  font-family: var(--sans, "Inter", sans-serif);
}

.vb-cc-text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: inherit;
}

.vb-cc-text a {
  color: var(--accent-light, #c2a878);
  text-decoration: underline;
}

.vb-cc-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.vb-cc-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.vb-cc-accept {
  background: var(--accent, #62846c);
  color: #fff;
}

.vb-cc-accept:hover { opacity: 0.88; }

.vb-cc-decline {
  background: transparent;
  color: var(--off-white, #f5f2ec);
  border-color: rgba(255, 255, 255, 0.32);
}

.vb-cc-decline:hover { background: rgba(255, 255, 255, 0.08); }

.section-subtitle {
  font-family: var(--serif, Georgia, serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 1.8rem 0 0.6rem;
  color: var(--navy, #1c2b33);
}

[data-theme="dark"] .section-subtitle {
  color: var(--off-white, #f5f2ec);
}

.footer-legal-links {
  margin-top: 0.4rem;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.footer-legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 540px) {
  .vb-cc { flex-direction: column; align-items: stretch; }
  .vb-cc-actions { justify-content: flex-end; }
}

/* Anti-spam honeypot field — visually removed for humans but still present in the DOM
   so naive bots fill it. Deliberately NOT display:none (many bots skip those). */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

