:root {
  --ink: #07121e;
  --ink2: #0c1d2e;
  --ink3: #0f2236;
  --paper: #f4f8fb;
  --paper2: #ffffff;
  --paper3: #e8f1f8;
  --l-border: rgba(0, 0, 0, 0.08);
  --l-border2: rgba(0, 0, 0, 0.15);
  --d-border: rgba(255, 255, 255, 0.07);
  --d-border2: rgba(255, 255, 255, 0.14);
  --t1: #e8f0f8;
  --t2: rgba(232, 240, 248, 0.65);
  --t3: rgba(232, 240, 248, 0.35);
  --lt1: #0c1e2e;
  --lt2: #3a5060;
  --lt3: #5a7a8a;
  --teal: #1a9bb5;
  --teal2: #7dd3e8;
  --gold: #c9a227;
  --gold2: #f0d27a;
  --emerald: #0e8c6b;
  --emerald2: #5fd4b0;
  --azure: #2a7fc4;
  --azure2: #a8d4f0;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(7, 18, 30, 0.2) 0%,
    rgba(7, 18, 30, 0.12) 35%,
    rgba(7, 18, 30, 0.75) 65%,
    rgba(7, 18, 30, 1) 100%
  );
}
.hero-overlay-h {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(7, 18, 30, 0.88) 0%,
    rgba(7, 18, 30, 0.45) 55%,
    rgba(7, 18, 30, 0.05) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem 5.5rem;
  width: 100%;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal2);
  margin-bottom: 1.35rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-kicker-line {
  width: 32px;
  height: 1px;
  background: var(--teal2);
  opacity: 0.6;
}
.hero-title {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.35s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--teal2);
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}
.hero-manifesto {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.65s forwards;
}
.hero-m-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.42);
}
.hero-m-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.8s forwards;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.25s;
}
.hero-cta-primary {
  background: var(--teal);
  color: #fff;
  border: 1px solid var(--teal);
}
.hero-cta-primary:hover {
  background: #158fa8;
  box-shadow: 0 4px 20px rgba(26, 155, 181, 0.4);
}
.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ── WAVES ── */
.wave {
  display: block;
  width: 100%;
  line-height: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-kicker,
  .hero-title,
  .hero-sub,
  .hero-manifesto,
  .hero-cta-row {
    animation: none;
    opacity: 1;
  }
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.rd1 {
  transition-delay: 0.1s;
}
.rd2 {
  transition-delay: 0.2s;
}
.rd3 {
  transition-delay: 0.3s;
}
.rd4 {
  transition-delay: 0.4s;
}

/* ── PHILOSOPHY ── */
.philosophy {
  background: var(--paper);
  padding: 6.5rem 0;
}
.philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.phil-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
.phil-heading {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 200;
  color: var(--lt1);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.phil-intro {
  font-size: 15px;
  font-weight: 300;
  color: var(--lt2);
  line-height: 1.85;
}
.phil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}
.phil-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--l-border);
  background: var(--paper2);
  transition: all 0.28s;
  position: relative;
  overflow: hidden;
}
.phil-card:hover {
  border-color: var(--l-border2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.phil-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.phil-card-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--lt3);
  margin-bottom: 1.1rem;
}
.phil-card-head {
  font-family: 'Crimson Pro', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--lt1);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.phil-card-body {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--lt2);
  line-height: 1.8;
}

/* ── FORMAT SECTIONS ── */
.format-section {
  padding: 6.5rem 0;
}
.format-section.dark {
  background: var(--ink);
}
.format-section.light {
  background: var(--paper);
}
.format-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.format-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.format-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.format-heading {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.3px;
}
.format-intro {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.format-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.2s;
}
.format-link:hover {
  gap: 0.85rem;
}

/* ── GEAR SCIENCE CARDS ── */
.gs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.18);
}
.gs-card {
  background: var(--ink2);
  padding: 2.25rem 2.5rem;
  text-decoration: none;
  display: block;
  position: relative;
  transition: background 0.25s;
  overflow: hidden;
}
.gs-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.07),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.gs-card:hover {
  background: var(--ink3);
}
.gs-card:hover::before {
  opacity: 1;
}
.gs-card-no {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(201, 162, 39, 0.6);
  margin-bottom: 1rem;
}
.gs-card-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.gs-card:hover .gs-card-title {
  color: var(--gold2);
}
.gs-card-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--t3);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 320px;
}
.gs-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.gs-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.08);
  color: rgba(201, 162, 39, 0.65);
  border: 1px solid rgba(201, 162, 39, 0.15);
}
.gs-card-arrow {
  position: absolute;
  bottom: 2.25rem;
  right: 2.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201, 162, 39, 0.5);
  font-size: 15px;
  transition: all 0.25s;
}
.gs-card:hover .gs-card-arrow {
  background: rgba(201, 162, 39, 0.12);
  border-color: rgba(201, 162, 39, 0.4);
  color: var(--gold2);
  transform: translate(2px, -2px);
}

/* ── EXPLAINER CARDS ── */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.exp-card {
  background: var(--paper2);
  border-radius: 16px;
  border: 1px solid var(--l-border);
  padding: 2rem 2.25rem;
  text-decoration: none;
  display: block;
  position: relative;
  transition: all 0.25s;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}
.exp-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azure), var(--azure2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.exp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(42, 127, 196, 0.1);
  border-color: rgba(42, 127, 196, 0.2);
}
.exp-card:hover::after {
  transform: scaleX(1);
}
.exp-card-no {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--azure);
  opacity: 0.7;
  margin-bottom: 0.85rem;
}
.exp-card-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--lt1);
  line-height: 1.2;
  margin-bottom: 0.55rem;
}
.exp-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--lt3);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.exp-card-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--azure);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.exp-no-bg {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  font-family: 'Crimson Pro', serif;
  font-size: 4rem;
  font-weight: 200;
  color: rgba(42, 127, 196, 0.06);
  line-height: 1;
  letter-spacing: -1px;
}

/* ── GEAR GUIDE CARDS ── */
.gg-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(14, 140, 107, 0.18);
}
.gg-card {
  background: var(--ink2);
  padding: 2.25rem 2.5rem;
  text-decoration: none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}
.gg-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--emerald), var(--emerald2));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s;
}
.gg-card:hover {
  background: var(--ink3);
}
.gg-card:hover::before {
  transform: scaleY(1);
}
.gg-card-no {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(95, 212, 176, 0.6);
  margin-bottom: 0.65rem;
}
.gg-card-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.gg-card:hover .gg-card-title {
  color: var(--emerald2);
}
.gg-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--t2);
  line-height: 1.7;
  max-width: 500px;
}
.gg-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}
.gg-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.gg-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(14, 140, 107, 0.1);
  color: rgba(95, 212, 176, 0.75);
  border: 1px solid rgba(14, 140, 107, 0.2);
}
.gg-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(14, 140, 107, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(95, 212, 176, 0.5);
  font-size: 15px;
  transition: all 0.25s;
}
.gg-card:hover .gg-arrow {
  background: rgba(14, 140, 107, 0.12);
  border-color: rgba(14, 140, 107, 0.45);
  color: var(--emerald2);
  transform: translate(2px, -2px);
}

/* ── COMING SOON ── */
.coming-section {
  background: var(--ink2);
  border-top: 1px solid var(--d-border);
  padding: 5rem 0;
}
.coming-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.coming-heading {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 200;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.3px;
  margin-bottom: 2.5rem;
}
.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.coming-card {
  padding: 1.65rem 1.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}
.coming-card-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.coming-card-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.3;
}
.coming-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
  .topbar-nav {
    display: none;
  }
  .format-header {
    grid-template-columns: 1fr;
  }
  .gs-grid {
    grid-template-columns: 1fr;
  }
  .exp-grid {
    grid-template-columns: 1fr;
  }
  .gg-card {
    grid-template-columns: 1fr;
  }
  .gg-card-right {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .phil-grid {
    grid-template-columns: 1fr;
  }
  .phil-top {
    grid-template-columns: 1fr;
  }
  .coming-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .coming-grid {
    grid-template-columns: 1fr;
  }
}
