@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #000000;
  --bg-soft: #0b0b0b;
  --surface: #111111;
  --surface-2: #171717;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.26);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-soft: rgba(255, 255, 255, 0.54);
  --accent: #ffffff;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
  --max-width: 1220px;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
}

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

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

.site-shell {
  width: 100%;
  overflow: hidden;
  background: #000;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 48px), 1320px);
  margin: 0 auto;
  padding: 24px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  width: 170px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a,
.button {
  transition: opacity 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav a:hover,
.button:hover {
  opacity: 0.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #000000;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button-secondary,
.button-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}

main {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
    #000000;
}

.hero,
.section,
.stat-band {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 0;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.84) 100%);
  z-index: 1;
}

.hero-copy,
.hero-visual,
.section-inner,
.stat-band-inner {
  width: min(calc(100% - 64px), 1320px);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  padding: 140px 0 112px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
}

.hero-visual-card,
.hero-visual-card img {
  width: 100%;
  height: 100%;
}

.hero-visual-card {
  border: 0;
}

.hero-visual-card img {
  object-fit: cover;
  opacity: 0.9;
  mix-blend-mode: normal;
}

.hero-note {
  position: absolute;
  right: min(4vw, 56px);
  bottom: 74px;
  z-index: 2;
  width: min(360px, calc(100% - 48px));
  padding: 20px 22px;
  border-top: 3px solid #ffffff;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

h1 {
  max-width: 8.8ch;
  font-size: clamp(4.2rem, 10vw, 7.4rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.hero-text,
.section p,
.stack-list li,
.application-cards p,
.quote-block,
.metric span,
.team-facts span,
.hero-points,
.card-list {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-text {
  max-width: 52ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero-points {
  display: grid;
  gap: 10px;
  max-width: 52ch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 6px;
  height: 6px;
  background: #ffffff;
}

.note-label,
.role,
.news-meta,
.quote-block span,
.nav,
.button,
.brand {
  text-transform: uppercase;
}

.note-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
}

.stat-band {
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.stat-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-band div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.stat-band div:last-child {
  border-right: 0;
}

.stat-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.stat-band span {
  color: var(--muted-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.section {
  border-bottom: 1px solid var(--line);
  background: #000000;
}

.section:nth-of-type(odd) {
  background: #050505;
}

.section-inner {
  padding: 96px 0;
}

.section-intro {
  display: grid;
  gap: 20px;
  max-width: 84ch;
  margin-bottom: 36px;
}

.section-intro.narrow {
  max-width: 92ch;
}

.section-intro.compact {
  max-width: 72ch;
  margin-bottom: 0;
}

.section-disclosure {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.section-disclosure summary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  cursor: pointer;
  list-style: none;
}

.section-disclosure summary::-webkit-details-marker {
  display: none;
}

.section-disclosure summary::after {
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.section-disclosure[open] summary::after {
  content: "-";
}

.section-disclosure[open] summary {
  margin-bottom: 28px;
}

.nested-disclosure {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.nested-disclosure summary {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.72rem;
}

.section-detail {
  display: grid;
  gap: 32px;
}

.nested-intro {
  max-width: 54ch;
  color: var(--muted);
}

.detail-grid {
  margin-top: 0;
}

.detail-heading {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.detail-heading h3 {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.team-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

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

.split-grid,
.story-grid,
.applications-layout,
.traction-layout,
.leaders-grid,
.advisors-grid,
.news-grid,
.founder-highlight,
.timeline-grid {
  display: grid;
  gap: 24px;
}

.split-grid,
.applications-layout,
.traction-layout,
.founder-highlight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-grid,
.leaders-grid,
.news-grid,
.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.panel,
.application-cards article,
.story-panel,
.leader-card,
.advisor-panel,
.news-card,
.timeline-grid article,
.metric {
  padding: 28px;
  border: 1px solid var(--line);
  background: transparent;
}

.panel h3,
.application-cards h3,
.story-panel h3,
.leader-card h3,
.advisor-panel h3,
.news-card h3,
.timeline-grid h3 {
  margin-bottom: 14px;
}

.stack-list,
.card-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.feature-grid div {
  padding: 18px;
  border-top: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.02);
}

.feature-grid span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.platform-visual img,
.applications-image,
.team-visual img,
.founder-portrait img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.founder-portrait img {
  min-height: 540px;
}

.application-cards {
  display: grid;
  gap: 16px;
}

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

.platform-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.platform-visual img {
  width: 100%;
  min-height: 320px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.applications-section {
  position: relative;
  isolation: isolate;
}

.platform-section {
  position: relative;
  isolation: isolate;
}

.platform-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.7)),
    url("assets/Green_KOLF_optimised.webp") center/cover no-repeat;
  opacity: 0.95;
  z-index: 0;
}

.platform-section .section-inner {
  position: relative;
  z-index: 1;
}

.applications-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)),
    url("assets/landscape-applications.webp") center/cover no-repeat;
  opacity: 0.92;
  z-index: 0;
}

.applications-section .section-inner {
  position: relative;
  z-index: 1;
}

.applications-section .application-cards article {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.quote-block {
  margin-top: 28px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-strong);
}

.quote-block p {
  margin: 0 0 12px;
  color: #ffffff;
}

.quote-block span,
.role,
.news-meta {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.traction-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.timeline-grid span {
  display: inline-block;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.team-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.team-facts span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.advisor-people-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.alumni-people-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.person-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.person-photo {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 24%;
  transform: scale(1.62);
  transform-origin: center 28%;
  border-bottom: 1px solid var(--line);
  background: #101010;
  clip-path: inset(0);
}

.advisor-photo {
  object-position: center center;
  transform: none;
  transform-origin: center center;
}

.person-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    #0b0b0b;
}

.person-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 0 18px 20px;
  background: #000000;
}

.person-copy h3 {
  font-size: 1.3rem;
  line-height: 1.08;
}


.text-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.text-link-muted {
  color: var(--muted-soft);
}

.text-link:hover {
  opacity: 0.8;
}

.news-card {
  display: block;
}

.news-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.news-meta {
  display: inline-block;
  margin-bottom: 14px;
}

.supporter-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.supporter-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.supporter-logo img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.supporter-copy span {
  color: var(--muted);
  line-height: 1.7;
}

.investors-section {
  position: relative;
  isolation: isolate;
}

.investors-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
    url("assets/KingsCollegeChapelWest.webp") center/cover no-repeat;
  opacity: 0.95;
  z-index: 0;
}

.investors-section .section-inner {
  position: relative;
  z-index: 1;
}

.cta-section {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.84)),
    url("assets/team-group.webp") center/cover no-repeat;
}

.deck-section {
  min-height: 100vh;
  padding-top: 120px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.92)),
    url("assets/cell-network.webp") center/cover no-repeat;
}

.deck-form-panel {
  max-width: 720px;
  margin-top: 36px;
  padding: 36px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}

.deck-form-panel .note-label {
  display: inline-block;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  width: 100%;
}

.deck-form-panel .hs-form-frame {
  min-height: 320px;
  color: var(--text);
}

.deck-form-fallback {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .deck-section {
    padding-top: 96px;
  }

  .deck-form-panel {
    padding: 22px;
  }
}

.cta-section .section-inner {
  text-align: left;
}

.cta-logo {
  width: 180px;
  height: auto;
  margin: 0 0 24px;
}

.cta-section h2 {
  max-width: 12ch;
}

.cta-section p {
  max-width: 56ch;
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .split-grid,
  .story-grid,
  .applications-layout,
  .traction-layout,
  .team-overview,
  .people-grid,
  .leaders-grid,
  .advisors-grid,
  .news-grid,
  .founder-highlight,
  .timeline-grid,
  .stat-band-inner,
  .traction-stats {
    grid-template-columns: 1fr;
  }

  .stat-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-band div:last-child {
    border-bottom: 0;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(calc(100% - 48px), var(--max-width));
    margin: -44px auto 52px;
  }
}

@media (max-width: 720px) {
  .topbar,
  .hero-copy,
  .section-inner,
  .stat-band-inner {
    width: min(calc(100% - 28px), 1320px);
  }

  .topbar {
    padding: 18px 0;
  }

  .brand-logo,
  .cta-logo {
    width: 148px;
  }

  .topbar .button-ghost {
    display: none;
  }

  .hero-copy {
    padding: 124px 0 92px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-visual-card img,
  .applications-image,
  .team-visual img,
  .founder-portrait img {
    min-height: 300px;
  }

  .panel,
  .application-cards article,
  .story-panel,
  .leader-card,
  .advisor-panel,
  .news-card,
  .timeline-grid article,
  .metric,
  .hero-note,
  .feature-grid div {
    padding: 22px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .application-cards-grid,
  .platform-visual,
  .alumni-people-grid,
  .supporter-strip {
    grid-template-columns: 1fr;
  }

  .section-disclosure summary {
    width: 100%;
    justify-content: space-between;
  }
}
