/* ========================================
   DESIGN 21: PORTLAND MODEL
   Modeled after Portland Metro Chamber
   ACCE 2024 Website Award Winner
   ======================================== */

@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Portland-inspired palette */
  --red-gold: #d4853a;
  --red-gold-dark: #b8702e;
  --red-gold-light: #e8a565;
  --teal: #3ecdc4;
  --teal-dark: #2fb5ad;
  --teal-light: #6ee0d9;
  --navy: #054C70;
  --navy-deep: #032d43;
  --navy-mid: #0a6b9e;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --warm-gray: #f0ece8;
  --text-dark: #1a1a2e;
  --text-body: #3d3d56;
  --text-light: #6b6b82;

  /* Spacing scale */
  --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
  --space-sm: clamp(0.5rem, 1vw, 1rem);
  --space-md: clamp(1rem, 2vw, 2rem);
  --space-lg: clamp(2rem, 4vw, 4rem);
  --space-xl: clamp(3rem, 6vw, 6rem);
  --space-2xl: clamp(4rem, 8vw, 8rem);

  /* 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.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Utility */
.container {
  width: min(90%, 1280px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   NAVIGATION
   Portland model: clean, confident, 5 items
   ======================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 76, 112, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(3, 45, 67, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  height: 92px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22);
}

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-join {
  background: var(--red-gold) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  transition: background 0.3s ease, transform 0.2s ease !important;
}

.nav-join::after { display: none !important; }
.nav-join:hover {
  background: var(--red-gold-dark) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

/* ========================================
   HERO
   Portland: dark, bold, confident
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.8);
  transition: filter 0.5s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 76, 112, 0.85) 0%, rgba(3, 45, 67, 0.6) 50%, transparent 100%),
    linear-gradient(to top, rgba(3, 45, 67, 0.9) 0%, transparent 40%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 5rem);
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(62, 205, 196, 0.15);
  border: 1px solid rgba(62, 205, 196, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  animation: fadeSlideUp 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  animation: fadeSlideUp 0.8s ease 0.15s both;
}

.hero h1 em {
  font-style: normal;
  color: var(--red-gold);
  position: relative;
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: var(--space-lg);
  animation: fadeSlideUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.45s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red-gold);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--red-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 133, 58, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: var(--text-sm);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stat-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(3, 45, 67, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hero-stat {
  text-align: center;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   PRIORITY PILLARS
   Portland: 6 color-coded pillars
   ======================================== */
.pillars {
  padding: var(--space-xl) 0;
  background: var(--white);
  position: relative;
}

.pillars-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.pillars-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pillars-header p {
  font-size: var(--text-base);
  color: var(--text-light);
  max-width: 600px;
  margin-inline: auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.pillar-card {
  text-align: center;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(0.75rem, 1.5vw, 1.25rem);
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--pillar-color);
  transition: height 0.4s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--pillar-color);
}

.pillar-card:hover::before {
  height: 6px;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--pillar-color) 12%, transparent);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
}

.pillar-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pillar-card p {
  font-size: var(--text-xs);
  color: var(--text-light);
  line-height: 1.5;
}

.pillar-card:nth-child(1) { --pillar-color: #d4853a; }
.pillar-card:nth-child(2) { --pillar-color: #3ecdc4; }
.pillar-card:nth-child(3) { --pillar-color: #2b6cb0; }
.pillar-card:nth-child(4) { --pillar-color: #d4af37; }
.pillar-card:nth-child(5) { --pillar-color: #6b46c1; }
.pillar-card:nth-child(6) { --pillar-color: #38a169; }

/* ========================================
   SPONSORS
   Portland: tiered "Investors" hierarchy
   ======================================== */
.sponsors {
  padding: var(--space-xl) 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.sponsors::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 205, 196, 0.06), transparent 70%);
  pointer-events: none;
}

.sponsors-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.sponsors-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.sponsors-header p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.55);
}

.sponsor-tier {
  margin-bottom: var(--space-lg);
}

.sponsor-tier:last-child { margin-bottom: 0; }

.tier-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--space-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--red-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tier-label::before,
.tier-label::after {
  content: '';
  width: 60px;
  height: 1px;
  background: rgba(212, 133, 58, 0.3);
}

.tier-label.platinum {
  color: rgba(255, 255, 255, 0.5);
}

.tier-label.platinum::before,
.tier-label.platinum::after {
  background: rgba(255, 255, 255, 0.15);
}

.sponsor-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 4vw, 4rem);
}

.sponsor-logos img {
  height: clamp(40px, 5vw, 60px);
  width: auto;
  opacity: 0.75;
  filter: brightness(0) invert(1);
  transition: all 0.4s ease;
}

.sponsor-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.sponsor-logos.diamond img {
  height: clamp(50px, 6vw, 72px);
}

/* ========================================
   TESTIMONIAL
   Portland: named, with headshot
   ======================================== */
.testimonial {
  padding: var(--space-2xl) 0;
  background: var(--warm-gray);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 133, 58, 0.3), transparent);
}

.testimonial-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
}

.testimonial-photo {
  width: clamp(100px, 15vw, 160px);
  height: clamp(100px, 15vw, 160px);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.testimonial-content blockquote {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial-content blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--red-gold);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.4;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy);
}

.testimonial-author-title {
  font-size: var(--text-xs);
  color: var(--text-light);
}

.testimonial-author::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red-gold);
}

/* ========================================
   FEATURED RESOURCE
   Portland: downloadable guide/report
   ======================================== */
.resource {
  padding: var(--space-xl) 0;
  background: var(--white);
}

.resource-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(5, 76, 112, 0.2);
}

.resource-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.6s ease;
}

.resource-card:hover .resource-image img {
  transform: scale(1.04);
}

.resource-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(5, 76, 112, 0.4) 100%);
}

.resource-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.resource-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.resource-body p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* ========================================
   NEWS / BLOG
   Portland: 3 recent articles
   ======================================== */
.news {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.news-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy);
}

.news-header a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--red-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.3s ease;
}

.news-header a:hover { gap: 0.6rem; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.news-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(0.2);
}

.news-card:hover .news-card-img img {
  transform: scale(1.06);
  filter: grayscale(0);
}

.news-card-body {
  padding: clamp(1rem, 2vw, 1.75rem);
}

.news-card-cat {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.news-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.news-card-body p {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.news-card-date {
  font-size: var(--text-xs);
  color: var(--text-light);
  opacity: 0.7;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--navy-deep);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 3px solid var(--red-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-top: var(--space-sm);
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--white);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--teal);
  color: var(--navy-deep);
}

/* ========================================
   SCROLL-DRIVEN ANIMATIONS
   ======================================== */
@supports (animation-timeline: view()) {
  .pillar-card,
  .news-card,
  .testimonial-inner,
  .resource-card {
    animation: revealUp 0.6s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  @keyframes revealUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Fallback for IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .resource-card {
    grid-template-columns: 1fr;
  }

  .resource-image { min-height: 220px; }

  .news-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(3, 45, 67, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open a {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.open .nav-join {
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial-photo {
    margin-inline: auto;
  }

  .testimonial-author {
    justify-content: center;
  }

  .testimonial-content blockquote::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand-text { margin-inline: auto; }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .hero-actions { flex-direction: column; }
  .hero-actions a, .hero-actions button { width: 100%; justify-content: center; }

  .hero-stats { grid-template-columns: 1fr 1fr; }

  .pillars-grid { grid-template-columns: 1fr; }

  .sponsor-logos { gap: 1.5rem; }
  .sponsor-logos img { height: 32px; }
  .sponsor-logos.diamond img { height: 40px; }
}

@media (max-width: 360px) {
  .hero-stat-strip { display: none; }

  .nav-inner { height: 72px; padding: 0 1rem; }
  .nav-logo img { height: 56px; width: 56px; }
}
