/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #e3e4ef;
  --bg-soft: #eef0fa;
  --ink: #101223;
  --muted: #5c5d6e;
  --primary: #2563eb;
  --secondary: #7c3aed;
  --gradient-1: rgba(37, 99, 235, 0.22);
  --gradient-2: rgba(124, 58, 237, 0.20);
  --gradient-3: rgba(168, 85, 247, 0.16);
  --gradient: linear-gradient(135deg, #2563eb, #7c3aed);
  --border: rgba(16, 18, 35, 0.09);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(16, 18, 35, 0.06);
  --shadow: 0 24px 60px rgba(16, 18, 35, 0.10);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-space: clamp(4rem, 9vw, 8rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 600; }
::selection { background: var(--secondary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: #fff;
  border-radius: 8px; font-weight: 600; font-size: 14px;
}
.skip-link:focus { top: 1rem; }
.eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--secondary); margin-bottom: .9rem;
}
.eyebrow.centered { text-align: center; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px;
  box-shadow: 0 4px 14px rgba(16,18,35,0.08), 0 1px 3px rgba(16,18,35,0.06);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), filter .2s;
  min-height: 44px;
}
.btn:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(37,99,235,0.20), 0 10px 20px rgba(124,58,237,0.14); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { filter: brightness(1.03); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { box-shadow: 0 14px 34px rgba(16,18,35,0.10); }

/* =============================================================
   5. Nav
   ============================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--gradient); transform-origin: 0 0; transform: scaleX(0); transition: transform .08s linear; }
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 200; transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s var(--ease-out); }
.nav.is-scrolled { background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: inline-flex; align-items: center; }
.nav-brand img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { padding: 10px 20px; border-radius: var(--radius-pill); background: var(--gradient); color: #fff !important; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero { position: relative; padding: 140px var(--gutter) 80px; overflow: hidden; }
.hero-gradient {
  position: absolute; inset: -10% -10%; z-index: -1;
  background:
    radial-gradient(circle 600px at var(--mx, 30%) var(--my, 30%), var(--gradient-1) 0%, transparent 55%),
    radial-gradient(circle 800px at calc(var(--mx, 30%) + 15%) calc(var(--my, 30%) - 10%), var(--gradient-2) 0%, transparent 55%),
    radial-gradient(circle 700px at calc(var(--mx, 30%) - 15%) calc(var(--my, 30%) + 20%), var(--gradient-3) 0%, transparent 55%),
    var(--bg);
  filter: blur(50px) saturate(140%);
}
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 18px 0 0; }
.hero h1 em { font-style: italic; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tagline { font-size: 19px; color: var(--muted); max-width: 34rem; margin-top: 22px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-portrait { justify-self: center; width: min(100%, 360px); }
.hero-portrait img { filter: drop-shadow(0 24px 40px rgba(16,18,35,0.22)); }

/* =============================================================
   7. Stats band
   ============================================================= */
.stats { padding: 0 var(--gutter); margin-top: -20px; }
.stats-grid { max-width: 1100px; margin: 0 auto; background: var(--bg-soft); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }

/* =============================================================
   8. Sections
   ============================================================= */
.section { max-width: 1280px; margin: 0 auto; padding: var(--section-space) var(--gutter); }
.section-narrow { max-width: 760px; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 10px; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.8; margin-top: 18px; max-width: 42rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.pillar { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 32px; }
.pillar-num { font-family: var(--serif); font-size: 14px; color: var(--secondary); font-weight: 600; }
.pillar h3 { font-size: 20px; margin: 14px 0 10px; }
.pillar p { color: var(--muted); font-size: 15px; line-height: 1.7; }

.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.reel-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.reel { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

.timeline { list-style: none; padding: 0; margin-top: 40px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding-left: 40px; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 0 4px #fff; }
.timeline h3 { font-size: 19px; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 15px; }
.timeline-pending .timeline-dot { background: var(--border); }
.timeline-pending h3, .timeline-pending p { color: var(--muted); }

.manifesto { text-align: center; }
.manifesto p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.4vw, 30px); line-height: 1.5; color: var(--ink); }
.manifesto cite { display: block; margin-top: 20px; font-size: 14px; color: var(--muted); font-style: normal; }

.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.eco-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.eco-card h3 { font-size: 18px; margin-bottom: 10px; }
.eco-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }

.instagram-block { text-align: left; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 44px; }
.contact-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 36px; }
.contact-card h3 { font-size: 22px; margin-bottom: 10px; }
.contact-card p { color: var(--muted); margin-bottom: 24px; }
.contact-footnote { text-align: center; margin-top: 32px; color: var(--muted); font-size: 14px; }
.contact-footnote a { color: var(--primary); font-weight: 600; }

/* =============================================================
   9. Footer
   ============================================================= */
.site-footer { border-top: 1px solid var(--border); padding: 36px var(--gutter) 48px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner strong { font-family: var(--serif); font-size: 17px; }
.footer-inner p { color: var(--muted); font-size: 13px; max-width: 30rem; margin-top: 8px; }
.footer-inner nav { display: flex; gap: 20px; align-items: flex-start; }
.footer-inner nav a { font-size: 13px; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.footer-inner nav a:hover { color: var(--primary); }

/* =============================================================
   10. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
  .hero-portrait { justify-self: end; }
}
@media (max-width: 719px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars, .reels, .eco-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (min-width: 720px) and (max-width: 959px) {
  .pillars, .eco-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   11. Reduced motion — only the intrusive stuff
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transition-duration: .2s; }
}
