/* ProjectXRL shared styles. Heavier display serif, 3D shadow language site-wide. */

:root {
  /* Backgrounds with subtle layered depth */
  --bg:        #0A0908;
  --bg-2:      #0E0D0B;
  --surface:   #15130F;
  --surface-2: #1B1814;
  --surface-3: #221E18;
  --border:    #2A2620;
  --border-soft: #1F1C17;
  --hairline:  #3A342B;

  --text:      #F2EFE6;
  --text-2:    #B5AFA0;
  --text-3:    #75716A;

  /* Gold gradient stops for metallic effect */
  --gold:        #C9A063;
  --gold-light:  #E0BB7A;
  --gold-dark:   #A8854B;
  --gold-deep:   #7A5E2F;
  --gold-soft:   rgba(201, 160, 99, 0.10);
  --gold-glow:   rgba(201, 160, 99, 0.30);

  --green:     #6BBF8A;

  /* 3D shadow stacks. Multiple layers create real depth. */
  --shadow-flat: 0 1px 0 rgba(255, 255, 255, 0.025) inset, 0 -1px 0 rgba(0, 0, 0, 0.3) inset;
  --shadow-card:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 8px 16px rgba(0, 0, 0, 0.35),
    0 16px 32px rgba(0, 0, 0, 0.25),
    0 28px 56px -8px rgba(0, 0, 0, 0.2);
  --shadow-card-hover:
    inset 0 1px 0 rgba(255, 220, 150, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 12px 24px rgba(0, 0, 0, 0.4),
    0 24px 48px rgba(0, 0, 0, 0.3),
    0 40px 80px -10px rgba(201, 160, 99, 0.10);
  --shadow-deep:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 16px 32px rgba(0, 0, 0, 0.4),
    0 36px 80px -12px rgba(0, 0, 0, 0.55);
  --shadow-text:
    0 1px 0 rgba(255, 255, 255, 0.02),
    0 4px 12px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-text-strong:
    0 1px 0 rgba(255, 240, 200, 0.04),
    0 2px 4px rgba(0, 0, 0, 0.7),
    0 6px 16px rgba(0, 0, 0, 0.5),
    0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-button:
    inset 0 1px 0 rgba(255, 220, 150, 0.45),
    inset 0 -1px 0 rgba(120, 90, 40, 0.45),
    0 1px 0 rgba(120, 90, 40, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 6px 14px rgba(201, 160, 99, 0.32),
    0 12px 28px -4px rgba(201, 160, 99, 0.18);
  --shadow-button-hover:
    inset 0 1px 0 rgba(255, 240, 200, 0.55),
    inset 0 -1px 0 rgba(120, 90, 40, 0.45),
    0 2px 0 rgba(120, 90, 40, 0.55),
    0 4px 6px rgba(0, 0, 0, 0.45),
    0 10px 20px rgba(201, 160, 99, 0.45),
    0 18px 40px -4px rgba(201, 160, 99, 0.25);

  --radius: 14px;
  --radius-lg: 20px;
  --max: 1180px;
  --max-narrow: 920px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 900ms var(--ease);
}
body.loaded { opacity: 1; }
a { color: inherit; text-decoration: none; }

/* Layered ambient depth + scroll-driven parallax.
   The hot spots reposition based on --scroll-progress (set by scripts.js, a
   value between 0 and 1 representing how far down the page the user has
   scrolled). The shifts are subtle but add real dimensionality to the dark
   theme. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 35%
      at calc(50% + var(--scroll-progress, 0) * 18%)
         calc(-5% + var(--scroll-progress, 0) * 12%),
      rgba(201, 160, 99, 0.13), transparent 65%
    ),
    radial-gradient(
      ellipse 40% 28%
      at calc(88% - var(--scroll-progress, 0) * 30%)
         calc(22% + var(--scroll-progress, 0) * 40%),
      rgba(201, 160, 99, 0.06), transparent 65%
    ),
    radial-gradient(
      ellipse 50% 30%
      at calc(8% + var(--scroll-progress, 0) * 22%)
         calc(78% - var(--scroll-progress, 0) * 22%),
      rgba(60, 30, 0, 0.20), transparent 70%
    );
  pointer-events: none;
  z-index: 0;
  animation: ambient-breathe 11s ease-in-out infinite;
  transition: background-position 0.05s linear;
}
@keyframes ambient-breathe {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.narrow    { max-width: var(--max-narrow); margin: 0 auto; }

/* Helper: metallic gold text using gradient + drop-shadow glow */
.gold-metal {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 220, 150, 0.15)) drop-shadow(0 0 18px rgba(201, 160, 99, 0.32));
}

/* ================= NAV ================= */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.92), rgba(10, 9, 8, 0.78));
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(58, 52, 43, 0.5);
  box-shadow: 0 1px 0 rgba(255, 220, 150, 0.04) inset, 0 12px 24px -12px rgba(0, 0, 0, 0.6);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }

.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; line-height: 1; }
.logo-underline {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 180px;
  pointer-events: none;
}
.logo-underline .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
}
.logo-underline .diamond {
  width: 5px; height: 5px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--gold-glow), inset 0 1px 0 rgba(255, 220, 150, 0.4);
  flex-shrink: 0;
}
footer .logo-underline { max-width: 140px; }
.logo-word {
  font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--text);
  text-shadow: var(--shadow-text-strong);
  position: relative;
}
.logo-word .x {
  font-style: italic;
  padding: 0 1px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 230, 170, 0.18)) drop-shadow(0 0 14px rgba(201, 160, 99, 0.5));
  text-shadow: none;
}

.nav-links { display: flex; gap: 32px; align-items: center; font-size: 14px; color: var(--text-2); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.current { color: var(--text); }

.nav-cta {
  padding: 10px 22px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #1A140A;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.005em;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-button);
}
.nav-cta:hover {
  background: linear-gradient(180deg, #E8C685 0%, #D5AC6F 100%);
  box-shadow: var(--shadow-button-hover);
  transform: translateY(-1px);
}
.nav-cta:active { transform: translateY(1px); box-shadow: var(--shadow-flat), 0 2px 6px rgba(0, 0, 0, 0.3); }

@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ================= REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1200ms var(--ease-soft), transform 1200ms var(--ease-soft);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1000ms var(--ease-soft), transform 1000ms var(--ease-soft);
}
.reveal-stagger.in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 100ms; }
.reveal-stagger.in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 220ms; }
.reveal-stagger.in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 340ms; }
.reveal-stagger.in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 460ms; }
.reveal-stagger.in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 580ms; }
.reveal-stagger.in > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 700ms; }
.reveal-stagger.in > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 820ms; }

/* ================= HERO ================= */
.hero { padding: 120px 0 80px; position: relative; text-align: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: linear-gradient(180deg, rgba(201, 160, 99, 0.16) 0%, rgba(201, 160, 99, 0.08) 100%);
  border: 1px solid rgba(201, 160, 99, 0.28);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 36px;
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, 0.1), 0 6px 18px -8px rgba(201, 160, 99, 0.3);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 14px var(--gold), 0 0 4px var(--gold-light);
  animation: pulse-dot 3s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.6; }
}

.h1 {
  font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  font-size: clamp(46px, 7.6vw, 100px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 auto 30px;
  max-width: 920px;
  color: var(--text);
  text-shadow: var(--shadow-text-strong);
}
.h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(120, 90, 40, 0.4)) drop-shadow(0 0 28px rgba(201, 160, 99, 0.35));
  text-shadow: none;
}

.hero-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 44px;
}

.cta-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 30px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #1A140A;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  transition: all 0.25s var(--ease);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  position: relative;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #E8C685 0%, #D5AC6F 100%);
  box-shadow: var(--shadow-button-hover);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
  transition: all 0.25s var(--ease);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.btn-secondary:hover {
  border-color: rgba(201, 160, 99, 0.55);
  background: linear-gradient(180deg, rgba(201, 160, 99, 0.08), rgba(201, 160, 99, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, 0.1), 0 8px 24px rgba(201, 160, 99, 0.15);
}

.divider {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 68px auto 0;
  max-width: 320px;
  color: var(--gold);
  opacity: 0.7;
}
.divider .line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--hairline), transparent); }
.divider .dot {
  width: 7px; height: 7px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  transform: rotate(45deg);
  box-shadow: 0 0 16px var(--gold-glow), inset 0 1px 0 rgba(255, 220, 150, 0.5);
}

.trust-strip {
  margin: 48px auto 0;
  max-width: 920px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px;
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.4px;
}
.trust-strip .item { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; filter: drop-shadow(0 0 6px var(--gold-glow)); }

/* ================= SECTION COMMON ================= */
section { padding: 130px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.section-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding: 0 36px;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
}
.section-eyebrow::before { left: 0; }
.section-eyebrow::after  { right: 0; }
.section-title {
  font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin-bottom: 22px;
  color: var(--text);
  text-shadow: var(--shadow-text);
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(120, 90, 40, 0.4)) drop-shadow(0 0 22px rgba(201, 160, 99, 0.3));
  text-shadow: none;
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}

/* ================= STEPS ================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  text-align: left;
  padding: 36px 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-card);
}
.step:hover {
  border-color: rgba(201, 160, 99, 0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}
.step-num::before {
  content: '';
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  display: inline-block;
}
.step-title {
  font-family: 'DM Serif Display', serif;
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: -0.012em;
  line-height: 1.22;
  color: var(--text);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.step-text { color: var(--text-2); font-size: 15px; line-height: 1.75; }

/* ================= INSTITUTIONAL BANNER ================= */
.institutional {
  margin-top: 80px;
  padding: 64px 48px;
  background:
    radial-gradient(ellipse 70% 90% at 50% 100%, rgba(201, 160, 99, 0.10), transparent 70%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-deep);
}
@media (max-width: 700px) { .institutional { padding: 44px 28px; } }
.ib-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.32;
  letter-spacing: -0.012em;
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--text);
  text-shadow: var(--shadow-text);
}
.ib-quote em {
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(201, 160, 99, 0.35));
  text-shadow: none;
}
.ib-text { color: var(--text-2); font-size: 15.5px; max-width: 600px; margin: 0 auto 36px; line-height: 1.78; }
.ib-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.ib-chip {
  padding: 10px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-2);
  letter-spacing: 0.4px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.ib-chip strong {
  color: var(--gold);
  font-weight: 600;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

/* ================= BIG NUMBERS ================= */
.big-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-deep);
}
@media (max-width: 800px) { .big-numbers { grid-template-columns: 1fr; } }
.big-num {
  text-align: center;
  padding: 60px 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  transition: background 0.4s var(--ease);
}
.big-num:hover { background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%); }
.big-num-value {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(60px, 7.5vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 60px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(120, 90, 40, 0.4)) drop-shadow(0 0 28px rgba(201, 160, 99, 0.32));
}
.big-num-suffix {
  font-family: 'DM Serif Display', serif;
  font-size: 0.45em;
  font-weight: 400;
  margin-left: 4px;
  font-style: italic;
  vertical-align: 0.6em;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.big-num-label {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 600;
}
.big-num-sub { margin-top: 8px; font-size: 13px; color: var(--text-3); font-style: italic; }

/* ================= TESTIMONIALS ================= */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.tcard {
  padding: 36px 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  display: flex; flex-direction: column;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-card);
}
.tcard:hover {
  border-color: rgba(201, 160, 99, 0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.tcard-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 64px;
  line-height: 0.5;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 18px var(--gold-glow));
  opacity: 0.5;
  margin-bottom: 16px;
  font-style: italic;
  height: 24px;
  user-select: none;
}
.tcard-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 24px;
  flex: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.tcard-meta { display: flex; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.tcard-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), rgba(201, 160, 99, 0.04));
  border: 1px solid rgba(201, 160, 99, 0.3);
  display: grid; place-items: center;
  color: var(--gold);
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  filter: drop-shadow(0 0 12px var(--gold-glow));
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, 0.15);
}
.tcard-name { font-weight: 600; font-size: 14px; color: var(--text); letter-spacing: 0.1px; }
.tcard-loc { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.tcard-flag {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 10px;
  color: var(--text-3);
  font-style: italic;
  letter-spacing: 0.4px;
}

/* ================= TIMELINE ================= */
.timeline {
  position: relative;
  padding-left: 32px;
  max-width: 760px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--hairline) 8%, var(--hairline) 92%, transparent);
}
.tl-item { position: relative; padding-bottom: 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 11px; height: 11px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  transform: rotate(45deg);
  box-shadow: 0 0 16px var(--gold-glow), inset 0 1px 0 rgba(255, 220, 150, 0.4);
}
.tl-day {
  display: inline-block;
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.3px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}
.tl-title {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: -0.012em;
  line-height: 1.22;
  color: var(--text);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.tl-text { color: var(--text-2); font-size: 15px; line-height: 1.78; max-width: 620px; }

/* ================= PRINCIPLES ================= */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-deep);
}
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }
.principle {
  padding: 44px 36px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  transition: background 0.4s var(--ease);
}
.principle:hover { background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%); }
.principle-num {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}
.principle-title {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.014em;
  line-height: 1.22;
  margin-bottom: 14px;
  color: var(--text);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.principle-text { color: var(--text-2); font-size: 15px; line-height: 1.78; }

/* ================= TWO-COL LIST ================= */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.col-card {
  padding: 38px 34px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.col-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.012em;
  margin-bottom: 24px;
  color: var(--text);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.col-card ul { list-style: none; }
.col-card li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
  display: flex; gap: 12px;
}
.col-card li:last-child { border-bottom: none; }
.col-card li svg {
  width: 14px; height: 14px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 5px;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

/* ================= FORM ================= */
.form-section {
  padding: 60px 56px;
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(201, 160, 99, 0.08), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}
@media (max-width: 700px) { .form-section { padding: 40px 24px; } }
.form-head { text-align: center; margin-bottom: 38px; }
.form-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 400;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
  color: var(--text);
  text-shadow: var(--shadow-text);
}
.form-sub { color: var(--text-2); font-size: 15.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s var(--ease);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 160, 99, 0.06) 0%, rgba(0, 0, 0, 0.3) 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(201, 160, 99, 0.10);
}
.field textarea { min-height: 100px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23B5AFA0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.form-submit { margin-top: 28px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.form-fineprint { font-size: 12.5px; color: var(--text-3); font-style: italic; }
.form-consent {
  margin-top: 26px;
  padding: 14px 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-3);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border-left: 2px solid rgba(201, 160, 99, 0.5);
  border-radius: 0 6px 6px 0;
  font-style: italic;
}
.form-status { margin-top: 16px; text-align: center; font-size: 14px; color: var(--text-3); min-height: 22px; transition: color 0.3s; }
.form-status.error { color: #F87171; }
.form-status.success { color: var(--green); }

/* ================= FAQ ================= */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 26px 0; }
.faq-q {
  cursor: pointer;
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.005em;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 28px;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.3s var(--ease);
  line-height: 1;
  font-family: 'Inter', sans-serif;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.78;
  animation: fadeUp 0.5s var(--ease);
  max-width: 700px;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================= FINAL CTA ================= */
.final-cta {
  margin: 80px 0;
  padding: 100px 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(201, 160, 99, 0.16), transparent 65%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-deep);
}
@media (max-width: 700px) { .final-cta { padding: 64px 28px; } }
.final-cta .h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 760px; margin-left: auto; margin-right: auto;
  color: var(--text);
  text-shadow: var(--shadow-text);
}
.final-cta .h2 em {
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(120, 90, 40, 0.4)) drop-shadow(0 0 24px rgba(201, 160, 99, 0.32));
  text-shadow: none;
}
.final-cta p { color: var(--text-2); font-size: 17px; line-height: 1.75; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ================= PROSE ================= */
.prose { max-width: 740px; margin: 0 auto; }
.prose p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-2);
  margin-bottom: 22px;
}
.prose p strong { color: var(--text); font-weight: 600; }
.prose .pullquote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.42;
  color: var(--text);
  margin: 44px 0;
  padding: 24px 0 24px 28px;
  border-left: 2px solid var(--gold);
  letter-spacing: -0.005em;
  text-shadow: var(--shadow-text);
}
.prose .pullquote em {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 18px var(--gold-glow));
}
.prose h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.014em;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ================= 404 PAGE ================= */
.notfound {
  min-height: calc(100vh - 100px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 28px;
}
.notfound-num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(120px, 18vw, 220px);
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 0 rgba(120, 90, 40, 0.4)) drop-shadow(0 0 60px rgba(201, 160, 99, 0.45));
  margin-bottom: 16px;
}

/* ================= FOOTER ================= */
footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  color: var(--text-3);
  font-size: 13px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text-2); }
.legal { font-size: 11.5px; color: var(--text-3); margin-top: 28px; max-width: 920px; line-height: 1.7; font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  body { opacity: 1 !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
