@import url('../../style.css');

:root {
  --deep: #0C0A07;
  --bark: #1A1510;
  --amber: #E2A93B;
  --cream: #F5EDE3;
  --sand: #C8BFB2;
  --dim: #7A7068;
  --glass-bg: rgba(30, 26, 18, 0.50);
  --glass-bg-hover: rgba(30, 26, 18, 0.65);
  --glass-border: rgba(245, 237, 227, 0.08);
  --glass-border-hover: rgba(226, 169, 59, 0.20);
  --glass-blur: blur(1.25rem); /* 20px */
  --glass-blur-heavy: blur(1.75rem); /* 28px */
  --glow-ambient: 0 0 2.5rem rgba(226, 169, 59, 0.10); /* 40px */
  --glow-soft: 0 0 1.5rem rgba(226, 169, 59, 0.15); /* 24px */
  --glow-medium: 0 0 3rem rgba(226, 169, 59, 0.18); /* 48px */
  --glow-strong: 0 0 3.75rem rgba(226, 169, 59, 0.28); /* 60px */
  --radius-sm: 0.5rem;    /* 8px */
  --radius-md: 0.875rem;  /* 14px */
  --radius-lg: 1.125rem;  /* 18px */
  --radius-xl: 1.5rem;    /* 24px */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast: 0.18s;      /* 180ms */
  --dur-base: 0.24s;      /* 240ms */
  --dur-slow: 0.4s;       /* 400ms */
  --font-display: 'Young Serif', serif;
  --font-body: 'Outfit', sans-serif;
  --font-editorial: 'Lora', serif;
  --font-mono: 'DM Mono', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* 1rem = 16px */
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

*, *:before, *:after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: .028;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 16rem 16rem;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 0.03125rem solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glow-ambient);
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glow-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

.btn-sm {
  padding: 0.625rem 1.375rem;
  font-size: 0.8125rem;
  gap: 0.375rem;
}

.btn-primary {
  color: var(--cream);
  background: linear-gradient(165deg, rgba(240, 199, 94, .45) 0%, rgba(226, 169, 59, .30) 40%, rgba(192, 122, 90, .25) 100%);
  backdrop-filter: blur(1rem) saturate(1.6) brightness(1.1);
  -webkit-backdrop-filter: blur(1rem) saturate(1.6) brightness(1.1);
  border: 0.0625rem solid rgba(255, 255, 255, .22);
  box-shadow: var(--glow-medium), 0 0.25rem 1rem rgba(226, 169, 59, .15), inset 0 0.0625rem 0 rgba(255, 255, 255, .35), inset 0 -0.0625rem 0 rgba(0, 0, 0, .08);
}

.btn-primary:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--glow-strong), 0 0.5rem 1.5rem rgba(226, 169, 59, .20), inset 0 0.0625rem 0 rgba(255, 255, 255, .45), inset 0 -0.0625rem 0 rgba(0, 0, 0, .06);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 2.5rem;
}

.section-body {
  color: var(--sand);
  font-size: 1rem;
  line-height: 1.7;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
}

.divider {
  width: 100%;
  max-width: 67.5rem;
  margin: 0 auto;
  height: 0.0625rem;
  background: linear-gradient(90deg, transparent 0%, rgba(226, 169, 59, .10) 20%, rgba(226, 169, 59, .14) 50%, rgba(226, 169, 59, .10) 80%, transparent 100%);
}

section {
  padding: 6.25rem 1.5rem;
  max-width: 67.5rem;
  margin: 0 auto;
}

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: var(--amber);
  color: var(--deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus {
  top: 1rem;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--dur-slow) var(--ease-out), padding var(--dur-slow) var(--ease-out), backdrop-filter var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out);
}

nav.scrolled {
  background: rgba(12, 10, 7, .82);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 0.03125rem solid rgba(245, 237, 227, .05);
  padding: 0.875rem 2.5rem;
}

.nav-logo,
.footer-logo {
  height: 1.75rem;
  opacity: .9;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.btn) {
  color: var(--sand);
  font-size: 0.875rem;
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--cream);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 1.5rem;
  position: relative;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 0.125rem;
  background: var(--cream);
  border-radius: 0.125rem;
  position: absolute;
  left: 0;
  transition: all .35s var(--ease-out);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 7.5rem 1.5rem 3.75rem;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.parallax-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#layer-back  { z-index: 0; }
#layer-glass { z-index: 1; }
#layer-middle { z-index: 2; }
#layer-front { z-index: 3; }

.parallax-glass {
  display: grid;
  place-items: center;
}

.glass-monolith {
  width: min(62vw, 45rem);
  height: min(84vh, 53.75rem);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02));
  backdrop-filter: blur(1.5rem);
  -webkit-backdrop-filter: blur(1.5rem);
  border: 0.0625rem solid rgba(255, 255, 255, .14);
  box-shadow: var(--glow-medium);
  /* Re-enable interaction — parent parallax-layer has pointer-events: none */
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 7, .35), rgba(12, 10, 7, .55) 55%, rgba(12, 10, 7, .85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(62vw, 45rem);
  max-width: calc(100vw - 3rem);
  padding: 0 4rem 12rem;
  box-sizing: border-box;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: .95;
  margin: 0 0 2.5rem;
  text-align: left;
 text-shadow: 0 0 8px var(--amber);    
}

.hero-content h2 {
  font-family: var(--font-editorial);
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  font-weight: 400;
  margin: 0 0 1rem;
  padding-bottom: 12rem;
}

.hero-sub {
  max-width: 100%;
  margin: 0 auto 1.5rem;
  color: var(--sand);
  font-size: 1.05rem;
}

.hero-newsletter-group,
.newsletter-input-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.hero-newsletter-input,
.newsletter-input {
  width: min(100%, 23.75rem);
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  border: 0.0625rem solid rgba(245, 237, 227, .14);
  background: rgba(30, 26, 18, .55);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  backdrop-filter: blur(1rem);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.hero-newsletter-input::placeholder,
.newsletter-input::placeholder {
  color: var(--dim);
}

.hero-newsletter-input:focus,
.newsletter-input:focus {
  border-color: rgba(226, 169, 59, .45);
  box-shadow: 0 0 1.25rem rgba(226, 169, 59, .12);
}

/* Keyboard-only focus ring — visible, high-contrast */
.hero-newsletter-input:focus-visible,
.newsletter-input:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible {
  outline: 0.125rem solid var(--amber);
  outline-offset: 0.125rem;
}

.hero-newsletter-success,
.newsletter-success {
  margin-top: 0.875rem;
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--amber);
  opacity: 0;
  transform: translateY(0.375rem);
  transition: opacity .4s ease, transform .4s ease;
}

.hero-newsletter-form.submitted .hero-newsletter-success,
.newsletter-form.submitted .newsletter-success {
  opacity: 1;
  transform: translateY(0);
}

.hero-meta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.375rem;
  color: var(--sand);
  font-size: .9rem;
}

.hero-meta-item span {
  color: var(--cream);
}

.about-section .about-body {
  max-width: 37.5rem;
}

.pillars-grid,
.values-grid,
.mentors-grid,
.detail-bar {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.pillars-grid {
  grid-template-columns: repeat(3, 1fr);
}

.values-grid,
.mentors-grid {
  grid-template-columns: repeat(2, 1fr);
}

.detail-bar {
  grid-template-columns: repeat(4, 1fr);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card,
.pillar-callout,
.mentor-card,
.detail-chip {
  padding: 2rem 1.75rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--amber);
  opacity: .15;
  line-height: 1;
  margin-bottom: 0.875rem;
}

.step h3,
.pillar-card h3,
.pillar-callout h3,
.value-card h3,
.mentor-name {
  font-family: var(--font-display);
  margin-bottom: 0.625rem;
}

.step p,
.pillar-card p,
.pillar-callout p,
.value-card p,
.mentor-bio,
.detail-chip,
.mentor-role,
.timeline,
.pull-quote {
  color: var(--sand);
}

.value-card {
  padding: 1.75rem 0;
  border-left: 0.125rem solid rgba(226, 169, 59, .20);
  padding-left: 1.25rem;
}

.mentor-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(226, 169, 59, .12);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.mentor-role {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 0.25rem;
}

.mentors {
  max-width: 67.5rem;
  margin: 0 auto;
  padding: 6.25rem 1.5rem;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.founder-card {
  padding: 2.25rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 0.03125rem solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glow-ambient);
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.founder-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glow-soft);
}

.founder-image {
  width: 5rem;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 0.09375rem solid rgba(226, 169, 59, .18);
  box-shadow: 0 0 1.25rem rgba(226, 169, 59, .08);
}

.founder-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  margin: 0 0 0.375rem;
}

.founder-role {
  display: block;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.founder-bio {
  color: var(--sand);
  font-size: .875rem;
  line-height: 1.7;
  margin: 0;
}

.founder-links {
  margin: 1.25rem 0 0;
  padding: 0;
}

.founder-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--amber);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 0.0625rem solid rgba(226, 169, 59, .25);
  background: rgba(226, 169, 59, .06);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.founder-links a:hover {
  background: rgba(226, 169, 59, .12);
  border-color: rgba(226, 169, 59, .40);
  box-shadow: var(--glow-soft);
  transform: translateY(-0.0625rem);
}

.pull-quote {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-align: center;
  max-width: 47.5rem;
  margin: 0 auto 3.5rem;
}

.timeline {
  margin-top: 3.5rem;
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: 0.5rem;
  row-gap: 5rem;
  margin-top: 1rem;
  align-items: start;
}

.timeline-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.timeline-line svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.timeline-line svg path {
  fill: none;
  stroke: rgba(226, 169, 59, .25);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-dot {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: rgba(245, 237, 227, .3);
  border: 0.0625rem solid rgba(245, 237, 227, .45);
  margin: 1.3125rem auto 0.75rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--cream);
  margin-bottom: 0.375rem;
  letter-spacing: 0.01em;
}

.timeline-label {
  font-size: .72rem;
  line-height: 1.3;
  color: var(--sand);
  max-width: 7.5rem;
  margin: 0 auto 0.25rem;
  hyphens: auto;
  word-break: break-word;
  -webkit-hyphens: auto;
}

.timeline-node {
  position: relative;
  z-index: 1;
  text-align: center;
  min-width: 0;
  padding: 0 0.125rem;
}

.timeline-day {
  font-size: .68rem;
  color: var(--dim);
}

.timeline-dot.active,
.timeline-dot.final {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: var(--glow-soft);
}

/* Passed events — solid amber, muted */
.timeline-dot.passed {
  background: var(--amber);
  border-color: var(--amber);
  opacity: .85;
  box-shadow: none;
}
.timeline-dot.passed ~ .timeline-date,
.timeline-dot.passed ~ .timeline-label,
.timeline-dot.passed ~ .timeline-day {
  opacity: .45;
}
.is-passed .timeline-date {
  text-decoration: line-through;
  text-decoration-color: rgba(226, 169, 59, .3);
}

/* Upcoming (next) event — glowing amber, pulsing */
.timeline-dot.upcoming {
  background: linear-gradient(145deg, rgba(240, 199, 94, .50) 0%, rgba(226, 169, 59, .35) 100%);
  border-color: rgba(226, 169, 59, .50);
  box-shadow: 0 0 1.25rem rgba(226, 169, 59, .30), 0 0 2.5rem rgba(226, 169, 59, .10), inset 0 0.0625rem 0 rgba(255, 255, 255, .25);
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.timeline-dot.upcoming ~ .timeline-date {
  color: var(--amber);
}
.timeline-dot.upcoming ~ .timeline-day {
  color: var(--amber);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 1.25rem rgba(226, 169, 59, .30), 0 0 2.5rem rgba(226, 169, 59, .10); }
  50% { box-shadow: 0 0 1.75rem rgba(226, 169, 59, .45), 0 0 3.5rem rgba(226, 169, 59, .18); }
}

.final-cta {
  text-align: center;
  padding-bottom: 2.5rem;
  
}

footer {
  border-top: 0.03125rem solid rgba(245, 237, 227, .04);
  padding: 2.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 67.5rem;
}

.footer-text {
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--dim);
}

.fade-in {
  opacity: 0;
  transform: translateY(1.125rem);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 56.25rem) {
  .pillars-grid,
  .values-grid,
  .mentors-grid,
  .founders-grid,
  .detail-bar {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-track {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 0.5rem;
    row-gap: 4.5rem;
  }
  .hero-content {
    width: 100%;
    padding: 6rem 2rem 12rem;
  }
  .hero-meta {
    gap: 0;
  }
}

@media (max-width: 40rem) {
  nav {
    padding: 1rem 1.25rem;
  }
  nav.scrolled {
    padding: 0.75rem 1.25rem;
  }
  .hamburger {
    display: block;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 17.5rem;
    height: 100vh;
    height: 100dvh;
    background: rgba(12, 10, 7, .92);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    padding: 6.25rem 2rem 2.5rem;
    gap: 1.75rem;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out);
    border-left: 0.03125rem solid rgba(226, 169, 59, .06);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  section {
    padding: 4.5rem 1.25rem;
  }
  .hero {
    padding: 5.5rem 1.25rem 2.5rem;
  }
  .glass-monolith {
    width: min(94vw, 45rem);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 6rem 1.25rem 1.5rem;
    justify-content: flex-start;
  }
  .hero-headline {
    font-size: clamp(2rem, 9vw, 2.75rem);
    margin: 0 0 1.25rem;
  }
  .hero-sub {
    font-size: 1rem;
    margin: 0 auto 1.25rem;
  }
  .hero-newsletter-group,
  .newsletter-input-group,
  .hero-meta,
  footer {
    flex-direction: column;
  }
  .pillars-grid,
  .values-grid,
  .mentors-grid,
  .founders-grid,
  .steps-grid,
  .detail-bar {
    grid-template-columns: 1fr;
  }
  .mentors {
    padding: 4.5rem 1.25rem;
  }
}