/* ===== Phoenix Longevity Research — Dark Luxury Design ===== */

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

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

  /* Colors — Dark Luxury */
  --color-bg: #0a0908;
  --color-surface: rgba(20,19,17,0.85);
  --color-surface-2: rgba(28,27,25,0.80);
  --color-surface-offset: rgba(26,25,23,0.80);
  --color-divider: rgba(212,175,55,0.12);
  --color-border: rgba(212,175,55,0.15);
  
  --color-text: #f5e6c8;
  --color-text-muted: #a89d82;
  --color-text-faint: #6b6557;
  
  --color-gold: #d4af37;
  --color-gold-light: #f4d03f;
  --color-gold-dark: #b8860b;
  --color-gold-hover: #e8c547;
  
  --color-accent: #d4af37;
  --color-accent-hover: #e8c547;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  --transition: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 30px rgba(212,175,55,0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4), 0 0 1px rgba(212,175,55,0.1);
  --shadow-card-hover: 0 12px 48px rgba(0,0,0,0.5), 0 0 24px rgba(212,175,55,0.12);
  
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'EB Garamond', Georgia, serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}

/* Premium scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(10,9,8,0.5); }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,0.35); }

body {
  min-height: 100dvh;
  line-height: 1.7;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: 
    url('../images/marble-texture.png'),
    radial-gradient(ellipse at top, rgba(212,175,55,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(212,175,55,0.02) 0%, transparent 50%);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(10,9,8,0.82);
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--color-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold-hover); }

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

p, li { text-wrap: pretty; max-width: 72ch; }

::selection { background: rgba(212,175,55,0.25); color: var(--color-text); }

:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

.container { max-width: var(--content-wide); margin: 0 auto; padding: 0 var(--space-6); }

/* ===== Header ===== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10,9,8,0.6);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow var(--transition);
}
.header--scrolled {
  position: sticky;
  background: rgba(10,9,8,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
}
.logo:hover { color: var(--color-text); }
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212,175,55,0.3);
}
.logo-text {
  font-family: 'Cinzel', serif;
  font-size: var(--text-lg);
  font-weight: 900;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, 
    #fff8e1 0%, 
    #fce896 12%, 
    #e8c84a 25%, 
    #d4af37 40%, 
    #c5a059 55%, 
    #b8860b 68%, 
    #8b6914 78%, 
    #5d4037 88%, 
    #d4af37 95%, 
    #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.6));
}

.nav { display: flex; gap: var(--space-6); align-items: center; }
.nav-link {
  font-family: 'Cinzel', serif;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: var(--space-2) var(--space-1);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
  background: linear-gradient(180deg, 
    #fff8e1 0%, 
    #fce896 12%, 
    #e8c84a 25%, 
    #d4af37 40%, 
    #c5a059 55%, 
    #b8860b 68%, 
    #8b6914 78%, 
    #5d4037 88%, 
    #d4af37 95%, 
    #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.5));
}
.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
  filter: 
    drop-shadow(0 2px 3px rgba(0,0,0,0.7))
    drop-shadow(0 0 6px rgba(212,175,55,0.4));
}
.nav-link.active {
  opacity: 1;
  border-bottom-color: var(--color-gold);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.6));
}

.menu-toggle { display: none; cursor: pointer; color: var(--color-text); }

/* ===== Disclaimer Gate ===== */
.disclaimer-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.disclaimer-gate.hidden { display: none; }

.disclaimer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.95);
  backdrop-filter: blur(8px);
}

.disclaimer-modal {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: rgba(20,19,17,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 1px rgba(212,175,55,0.3);
}

.disclaimer-header {
  margin-bottom: var(--space-6);
  flex-shrink: 0;
}

.disclaimer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin: 0 auto var(--space-4);
}

.disclaimer-title {
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #fce896 0%, #e8c84a 20%, #d4af37 45%, #b8860b 70%, #f4d03f 90%, #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 1px 0 rgba(255,230,150,0.3))
    drop-shadow(0 2px 2px rgba(0,0,0,0.5))
    drop-shadow(0 0 6px rgba(212,175,55,0.25));
}

.disclaimer-body {
  text-align: left;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.disclaimer-body p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.disclaimer-body strong {
  color: var(--color-text);
}

.disclaimer-btn {
  margin-top: var(--space-4);
  width: 100%;
  flex-shrink: 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--space-16) + 60px) var(--space-8) var(--space-16);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/marble-texture.png') center center / cover no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.4) 0%, rgba(10,9,8,0.7) 100%);
  z-index: 0;
}

.hero-frame {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 1px rgba(212,175,55,0.3);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: #0a0908;
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-hover) 0%, var(--color-gold) 100%);
  color: #0a0908;
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(212,175,55,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}
.btn-outline:hover {
  background: rgba(212,175,55,0.1);
  color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
}
.btn-large { padding: var(--space-4) var(--space-12); font-size: var(--text-base); }

/* ===== Sections ===== */
.section { padding: clamp(var(--space-12), 8vw, var(--space-24)) 0; position: relative; }

.section-mission { 
  background: rgba(10,9,8,0.60);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  text-align: center;
  padding-top: clamp(var(--space-16), 8vw, var(--space-24));
}

.mission-quote {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
  font-weight: 700;
  font-style: italic;
  max-width: 760px;
  margin: 0 auto var(--space-10);
  line-height: 1.5;
  position: relative;
  padding: var(--space-8) var(--space-8);
  background: linear-gradient(180deg, 
    #fff8e1 0%, 
    #fce896 12%, 
    #e8c84a 25%, 
    #d4af37 40%, 
    #c5a059 55%, 
    #b8860b 68%, 
    #8b6914 78%, 
    #5d4037 88%, 
    #d4af37 95%, 
    #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.6));
}

.mission-quote::before,
.mission-quote::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.6), transparent);
}
.mission-quote::before { top: 0; }
.mission-quote::after { bottom: 0; }

.hero-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-12); }

.section-title {
  font-size: var(--text-xl);
  text-align: center;
  margin-bottom: var(--space-4);
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: var(--space-4);
  background: linear-gradient(180deg, #fce896 0%, #e8c84a 20%, #d4af37 45%, #b8860b 70%, #f4d03f 90%, #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 1px 0 rgba(255,230,150,0.3))
    drop-shadow(0 2px 2px rgba(0,0,0,0.5))
    drop-shadow(0 -1px 0 rgba(0,0,0,0.2))
    drop-shadow(0 0 6px rgba(212,175,55,0.25));
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-12);
}

/* ===== Mission Cards ===== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
}

.mission-card {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  background: rgba(20,19,17,0.70);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,175,55,0.10);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.mission-card:hover {
  border-color: rgba(212,175,55,0.30);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.mission-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.mission-card-link:hover { color: inherit; }

.mission-card h3::after {
  content: ' →';
  font-size: 0.7em;
  opacity: 0;
  transition: opacity var(--transition);
}
.mission-card:hover h3::after { opacity: 0.6; }

.mission-icon {
  color: var(--color-gold);
  margin: 0 auto var(--space-4);
  display: flex;
  justify-content: center;
}

.mission-card h3 {
  font-size: var(--text-lg);
  letter-spacing: 0.15em;
  margin-bottom: var(--space-3);
  background: linear-gradient(180deg, #fce896 0%, #e8c84a 20%, #d4af37 45%, #b8860b 70%, #f4d03f 90%, #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 1px 0 rgba(255,230,150,0.3))
    drop-shadow(0 2px 2px rgba(0,0,0,0.5))
    drop-shadow(0 0 6px rgba(212,175,55,0.2));
}

.mission-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ===== Article Grid ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
}

.article-card {
  padding: var(--space-8);
  background: rgba(20,19,17,0.70);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.article-card:hover {
  border-color: rgba(212,175,55,0.30);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.article-card-featured {
  border-color: rgba(212,175,55,0.20);
  background: linear-gradient(135deg, rgba(20,19,17,0.80) 0%, rgba(212,175,55,0.04) 100%);
}

.article-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-3);
  background: rgba(26,25,23,0.60);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212,175,55,0.08);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.article-tag-gold { color: var(--color-gold); background: rgba(212,175,55,0.08); border-color: rgba(212,175,55,0.20); }

.article-title {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.article-excerpt {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.article-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

/* ===== CTA Section ===== */
.section-cta {
  background: url('../images/marble-texture.png') center center / cover no-repeat;
  text-align: center;
  border-top: 1px solid var(--color-divider);
  position: relative;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,9,8,0.80);
  backdrop-filter: blur(8px);
}
.section-cta .container { position: relative; z-index: 1; }

.cta-content { max-width: 700px; margin: 0 auto; }

.cta-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #fce896 0%, #e8c84a 20%, #d4af37 45%, #b8860b 70%, #f4d03f 90%, #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 1px 0 rgba(255,230,150,0.3))
    drop-shadow(0 2px 2px rgba(0,0,0,0.5))
    drop-shadow(0 -1px 0 rgba(0,0,0,0.2))
    drop-shadow(0 0 8px rgba(212,175,55,0.25));
}

.cta-text {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.testimonial-card {
  padding: var(--space-8) var(--space-8) var(--space-6);
  background: rgba(20,19,17,0.70);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.testimonial-card:hover {
  border-color: rgba(212,175,55,0.20);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(212,175,55,0.25);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.testimonial-text {
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.2), transparent);
  margin-bottom: var(--space-4);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-bg);
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #fce896 0%, #e8c84a 20%, #d4af37 45%, #b8860b 70%, #f4d03f 90%, #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 1px 0 rgba(255,230,150,0.3))
    drop-shadow(0 1px 1px rgba(0,0,0,0.5));
}

.testimonial-detail {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

.testimonial-disclaimer {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ===== Pillar Pages ===== */
.pillar-hero {
  text-align: center;
  padding: var(--space-20) 0 var(--space-12);
  border-bottom: 1px solid var(--color-divider);
  position: relative;
}
.pillar-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/marble-texture.png') center center / cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}
.pillar-hero .container { position: relative; z-index: 1; }

.pillar-icon-gold {
  color: var(--color-gold);
  margin: 0 auto var(--space-6);
  display: flex;
  justify-content: center;
}

.pillar-title {
  font-size: var(--text-2xl);
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
  background: linear-gradient(180deg, #fce896 0%, #e8c84a 20%, #d4af37 45%, #b8860b 70%, #f4d03f 90%, #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 1px 0 rgba(255,230,150,0.3))
    drop-shadow(0 2px 2px rgba(0,0,0,0.5))
    drop-shadow(0 -1px 0 rgba(0,0,0,0.2))
    drop-shadow(0 0 8px rgba(212,175,55,0.25));
}

.pillar-tagline {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
}

.pillar-body { padding-top: var(--space-16); }

.pillar-content {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.pillar-heading {
  font-size: var(--text-xl);
  margin: var(--space-12) 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  background: linear-gradient(180deg, #fce896 0%, #e8c84a 20%, #d4af37 45%, #b8860b 70%, #f4d03f 90%, #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 1px 0 rgba(255,230,150,0.3))
    drop-shadow(0 2px 2px rgba(0,0,0,0.5))
    drop-shadow(0 0 6px rgba(212,175,55,0.2));
}
.pillar-heading:first-child { margin-top: 0; }

.pillar-content p {
  margin-bottom: var(--space-4);
  color: var(--color-text);
  line-height: 1.7;
}

.pillar-list {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}
.pillar-list li {
  margin-bottom: var(--space-3);
  color: var(--color-text);
  line-height: 1.7;
}
.pillar-list strong { color: var(--color-gold); }

/* ===== Footer ===== */
.footer {
  background: rgba(6,5,4,0.90);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-16) 0 var(--space-6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
  padding-bottom: var(--space-12);
}

.footer-brand { display: flex; align-items: center; gap: var(--space-4); }
.footer-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(212,175,55,0.2); }
.footer-name { 
  font-family: var(--font-display); 
  font-size: var(--text-sm); 
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #fce896 0%, #e8c84a 20%, #d4af37 45%, #b8860b 70%, #f4d03f 90%, #fce896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 1px 0 rgba(255,230,150,0.3))
    drop-shadow(0 1px 1px rgba(0,0,0,0.5));
}
.footer-tagline { font-size: var(--text-xs); color: var(--color-text-faint); letter-spacing: 0.15em; margin-top: var(--space-1); }

.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer-links a:hover { color: var(--color-gold); }

.footer-contact { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-email { font-size: var(--text-sm); color: var(--color-gold); }
.footer-social { font-size: var(--text-sm); color: var(--color-text-muted); }

.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
  text-align: center;
}
.footer-bottom p { font-size: var(--text-xs); color: var(--color-text-faint); }

/* ===== Article Pages ===== */
.article-page { padding: var(--space-16) 0; }
.article-body { max-width: var(--content-narrow); margin: 0 auto; }
.article-body h2 { font-size: var(--text-xl); color: var(--color-gold); margin: var(--space-12) 0 var(--space-4); }
.article-body h3 { font-size: var(--text-lg); color: var(--color-text); margin: var(--space-8) 0 var(--space-3); }
.article-body p { margin-bottom: var(--space-4); color: var(--color-text); line-height: 1.7; }
.article-body ul { margin: var(--space-4) 0; padding-left: var(--space-6); }
.article-body li { margin-bottom: var(--space-2); color: var(--color-text); }
.article-body .article-header { margin-bottom: var(--space-12); padding-bottom: var(--space-8); border-bottom: 1px solid var(--color-divider); }
.article-body .article-date { font-size: var(--text-sm); color: var(--color-text-faint); }
.article-body .references { margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--color-divider); }
.article-body .references h3 { color: var(--color-gold); }
.article-body .references p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.article-body .references a { word-break: break-all; }

/* ===== Blueprint Page ===== */
.blueprint-page { padding: var(--space-16) 0; }
.blueprint-body { max-width: var(--content-default); margin: 0 auto; }
.blueprint-section { margin: var(--space-12) 0; }
.blueprint-section h2 { font-size: var(--text-xl); color: var(--color-gold); margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-divider); }
.blueprint-section h3 { font-size: var(--text-lg); color: var(--color-text); margin: var(--space-6) 0 var(--space-3); }
.blueprint-section p { margin-bottom: var(--space-3); line-height: 1.7; }
.blueprint-section ul { margin: var(--space-4) 0; padding-left: var(--space-6); }
.blueprint-section li { margin-bottom: var(--space-2); }

.blueprint-hero {
  text-align: center;
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--color-divider);
  margin-bottom: var(--space-12);
}
.blueprint-hero h1 { font-size: var(--text-2xl); color: var(--color-gold); margin-bottom: var(--space-4); }
.blueprint-hero p { color: var(--color-text-muted); font-size: var(--text-lg); max-width: 600px; margin: 0 auto; }

/* ===== Contact Page ===== */
.contact-page { padding: calc(var(--space-16) + 80px) 0 var(--space-16); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); max-width: var(--content-default); margin: 0 auto; }
.contact-info h2 { font-size: var(--text-xl); color: var(--color-gold); margin-bottom: var(--space-4); }
.contact-info p { color: var(--color-text-muted); margin-bottom: var(--space-4); }
.contact-detail { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.contact-detail svg { color: var(--color-gold); }

.contact-form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500; }
.form-input, .form-textarea {
  padding: var(--space-3) var(--space-4);
  background: rgba(28,27,25,0.60);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.10);
  outline: none;
}
.form-textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: var(--text-xs); color: var(--color-text-faint); }

/* ===== About Page ===== */
.about-page { padding: calc(var(--space-16) + 80px) 0 var(--space-16); }
.about-body { max-width: var(--content-narrow); margin: 0 auto; }
.about-body h2 { font-size: var(--text-xl); color: var(--color-gold); margin: var(--space-12) 0 var(--space-4); }
.about-body p { color: var(--color-text); margin-bottom: var(--space-4); line-height: 1.7; }
.about-hero { text-align: center; margin-bottom: var(--space-12); }
.about-hero h1 { font-size: var(--text-2xl); color: var(--color-gold); margin-bottom: var(--space-4); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(20,19,17,0.95); backdrop-filter: blur(20px); padding: var(--space-4); border-top: 1px solid var(--color-divider); gap: var(--space-2); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: var(--text-2xl); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-mission { font-size: var(--text-sm); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}