@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --bg: #fffef8;
  --bg-alt: #fff2b3;
  --ink: #0f0f10;
  --muted: #2a2a2d;
  --brand: #ffcb05;
  --brand-dark: #e0a800;
  --border: #e6bf17;
  --accent-navy: #0e2841;
  --accent-blue: #156082;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3,
p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 254, 248, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-wordmark {
  width: 220px;
  height: auto;
  display: block;
}

.menu {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--ink);
  font-weight: 600;
}

.menu a:hover {
  color: var(--accent-navy);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  background: #fff;
  font-weight: 600;
}

.hero {
  padding: 6rem 0 3rem;
  background: linear-gradient(180deg, #fffef8 0%, #ffe783 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-navy);
  font-weight: 700;
}

h1 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.14;
}

.lead {
  max-width: 66ch;
  color: var(--muted);
}

.lead.small {
  margin-bottom: 1.2rem;
}

.section-intro {
  color: var(--muted);
  margin-bottom: 1.2rem;
  max-width: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 900px) {
  #founders .section-intro {
    white-space: nowrap;
  }
}

.btn {
  display: inline-block;
  margin-top: 0.6rem;
  background: var(--brand);
  color: #121212;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
}

.btn:hover {
  background: var(--brand-dark);
  color: #121212;
}

.hero-visual {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff6bf;
  min-height: 280px;
  padding: 0.35rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hive-grid {
  width: min(300px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.hex {
  aspect-ratio: 1 / 1;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(145deg, #ffe066, #ffcb05);
  opacity: 0.9;
}

.hex:nth-child(2n) {
  background: linear-gradient(145deg, #fff0a8, #ffd84d);
}

.hero-badge {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  font-size: 0.75rem;
  background: #141414;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
}

.hero-video {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: var(--bg-alt);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  margin-bottom: 1.4rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
}

.tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 0.5rem;
}

.role {
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 0.6rem;
}

.milestones-strip {
  padding: 2.8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffe783 0%, #ffdc47 100%);
}

.milestones-head h2 {
  margin-bottom: 0.8rem;
}

.milestones-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.milestone {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.milestone h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.milestone p {
  margin-bottom: 0.4rem;
}

.site-footer {
  background: var(--accent-navy);
  color: #fff;
  padding: 2.2rem 0;
}

.footer-wrap {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer p {
  color: #f0e7b8;
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-layout,
  .grid.two,
  .grid.three,
  .milestones-row {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-video {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .logo-wordmark {
    width: 168px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fffef8;
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 1rem 0.9rem;
  }

  .menu.open {
    display: flex;
  }

  .menu li {
    border-top: 1px solid var(--border);
  }

  .menu li:first-child {
    border-top: 0;
  }

  .menu a {
    display: block;
    padding: 0.72rem 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
