:root {
  --bg: #050505;
  --bg-elevated: #0e0e0e;
  --bg-card: #161616;
  --border: #262626;
  --text: #f7f7f7;
  --text-soft: #bdbdbd;
  --muted: #7a7a7a;
  --accent: #e31c23;
  --accent-hover: #ff3339;
  --accent-glow: rgba(227, 28, 35, 0.28);
  --white: #ffffff;
  --radius: 12px;
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Widescreen containers */
.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.container.narrow { max-width: 760px; }
.container.wide { max-width: 1600px; }

/* ===== NAV ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 5, 5, 0.95);
}
.nav-container {
  max-width: 1440px; margin: 0 auto; padding: 0 48px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--white);
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo-img {
  width: 38px; height: 38px; object-fit: contain;
  filter: invert(1) brightness(1.15);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--text-soft);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.cta-nav {
  background: var(--accent) !important; color: #fff !important;
  padding: 10px 20px !important; border-radius: 6px; font-weight: 600 !important;
  box-shadow: 0 0 28px var(--accent-glow);
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s !important;
}
.cta-nav::after { display: none !important; }
.cta-nav:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow) !important;
}
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--text); border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.3s var(--ease); border: none; cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 28px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover); transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--accent-glow);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.btn-large { padding: 16px 34px; font-size: 1.05rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 48px 72px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -15%; right: -8%;
  width: 55%; height: 130%;
  background: radial-gradient(ellipse at center, rgba(227,28,35,0.14) 0%, transparent 68%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}
.hero-grid {
  max-width: 1440px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 72px; align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.7s var(--ease) 0.15s forwards;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.7rem, 5.2vw, 4rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.035em;
  color: var(--white); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.25s forwards;
}
.hero-lead {
  font-size: 1.22rem; color: var(--text-soft);
  max-width: 540px; margin-bottom: 40px; line-height: 1.7;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.55s forwards;
}
.hero-visual {
  opacity: 0; animation: fadeUp 1s var(--ease) 0.35s forwards;
}
.hero-photo {
  width: 100%; max-width: 420px; margin: 0 auto;
  border-radius: 50%; object-fit: cover;
  aspect-ratio: 1/1; object-position: center top;
  box-shadow: 0 24px 56px rgba(0,0,0,0.5), 0 0 0 3px rgba(227,28,35,0.35);
  transition: transform 0.6s var(--ease), box-shadow 0.6s;
}
.hero-photo:hover {
  transform: scale(1.04);
  box-shadow: 0 32px 64px rgba(0,0,0,0.55), 0 0 0 4px rgba(227,28,35,0.5);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== STATS ===== */
.stats-bar {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; text-align: center; width: 100%;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num {
  display: block; font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--accent); margin-bottom: 8px;
  transition: transform 0.4s var(--ease);
}
.stat:hover .stat-num { transform: scale(1.08); }
.stat-label { font-size: 0.92rem; color: var(--muted); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 148px 48px 72px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(227,28,35,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.45;
}
.page-hero .container { position: relative; z-index: 1; }
.page-eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.page-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 18px; line-height: 1.12;
}
.page-lead {
  font-size: 1.25rem; color: var(--text-soft);
  max-width: 600px; line-height: 1.7;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-label.center { text-align: center; }
.section-heading {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 14px; line-height: 1.2;
}
.section-intro {
  font-size: 1.15rem; color: var(--text-soft);
  max-width: 540px; margin-bottom: 52px;
}
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-intro { margin-left: auto; margin-right: auto; }

/* Results grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.result-card:hover {
  border-color: rgba(227, 28, 35, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.result-icon {
  width: 52px; height: 52px;
  background: rgba(227, 28, 35, 0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.25rem;
  margin-bottom: 20px;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.result-card:hover .result-icon {
  background: rgba(227, 28, 35, 0.22);
  transform: scale(1.08);
}
.result-card h3 {
  font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 12px;
}
.result-card p { font-size: 1rem; color: var(--text-soft); line-height: 1.65; }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 64px; align-items: center;
}
.about-text p {
  font-size: 1.12rem; color: var(--text-soft);
  margin-bottom: 18px; line-height: 1.75;
}
.about-text strong { color: var(--accent); font-weight: 600; }
.about-photo {
  width: 100%; border-radius: 16px; object-fit: cover; aspect-ratio: 3/4;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  transition: transform 0.5s var(--ease);
}
.about-photo:hover { transform: scale(1.03); }
.photo-caption {
  margin-top: 14px; font-size: 0.85rem; color: var(--muted); text-align: center;
}

/* Principles */
.principles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.principle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s;
}
.principle-card:hover {
  border-color: rgba(227, 28, 35, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.principle-num {
  font-family: var(--display);
  font-size: 0.95rem; font-weight: 600;
  color: var(--accent); margin-bottom: 14px; display: block;
}
.principle-card h3 {
  font-size: 1.25rem; font-weight: 600; color: var(--white); margin-bottom: 12px;
}
.principle-card p { font-size: 1.02rem; color: var(--text-soft); line-height: 1.65; }

/* Brands */
.brands {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.brands-intro {
  text-align: center; color: var(--text-soft);
  font-size: 1.05rem; margin-top: 8px;
}
.brand-list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px 36px; margin-top: 36px;
}
.brand-list span {
  font-size: 1.05rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.03em; transition: color 0.3s, transform 0.3s var(--ease);
}
.brand-list span:hover { color: var(--white); transform: translateY(-2px); }

/* Blog */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(227, 28, 35, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}
.blog-tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.blog-card h3 {
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 600; color: var(--white);
  margin-bottom: 12px; line-height: 1.3;
}
.blog-card p {
  font-size: 1rem; color: var(--text-soft); line-height: 1.65;
  margin-bottom: 20px; flex: 1;
}
.blog-meta { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* Contact */
.contact-block { text-align: center; padding: 40px 0 20px; }
.contact-intro {
  font-size: 1.25rem; color: var(--text-soft);
  max-width: 520px; margin: 0 auto 40px; line-height: 1.7;
}
.contact-links {
  display: flex; flex-direction: column; gap: 16px;
  align-items: center; margin-bottom: 40px;
}
.contact-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.12rem; color: var(--text-soft);
  transition: color 0.25s, transform 0.25s var(--ease);
}
.contact-link:hover { color: var(--accent); transform: translateX(4px); }
.contact-link i { width: 22px; text-align: center; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #1a0506 0%, #0e0e0e 45%, #050505 100%);
  border-top: 1px solid rgba(227,28,35,0.3);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,28,35,0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 700; color: var(--white); margin-bottom: 16px;
  position: relative;
}
.cta-band p {
  font-size: 1.18rem; color: var(--text-soft);
  max-width: 500px; margin: 0 auto 36px; position: relative;
}

/* Footer */
.footer {
  background: #030303; color: var(--muted);
  padding: 52px 0 36px; border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px; margin-bottom: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo {
  width: 32px; height: 32px; object-fit: contain;
  filter: invert(1) brightness(0.95);
}
.footer-name {
  font-family: var(--display); font-size: 1rem;
  font-weight: 600; color: var(--white); margin-bottom: 2px;
}
.footer-domain { font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.footer-domain:hover { color: var(--text-soft); }
.footer-foundation { font-size: 0.9rem; color: var(--muted); transition: color 0.2s; }
.footer-foundation:hover { color: var(--accent); }
.copyright {
  font-size: 0.85rem; text-align: center; padding-top: 24px;
  border-top: 1px solid var(--border); color: #555;
}

/* Foundation */
.foundation-content p {
  font-size: 1.14rem; color: var(--text-soft);
  margin-bottom: 20px; line-height: 1.75;
}
.foundation-content strong { color: var(--white); }
.foundation-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px;
}

/* Page enter transition */
.page-enter {
  animation: pageIn 0.55s var(--ease) forwards;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .container, .nav-container { padding-left: 28px; padding-right: 28px; }
  .hero, .page-hero { padding-left: 28px; padding-right: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 360px; margin: 0 auto; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .principles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--bg-elevated); flex-direction: column;
    padding: 24px; gap: 16px; border-bottom: 1px solid var(--border);
    transform: translateY(-130%); opacity: 0; transition: all 0.35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 100px; padding-bottom: 56px; min-height: auto; }
  .page-hero { padding-top: 120px; padding-bottom: 48px; }
  .section { padding: 72px 0; }
  .results-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 280px; }
  .stats-row { grid-template-columns: 1fr; }
  .foundation-actions { flex-direction: column; }
}
