:root {
  /* Colors */
  --color-bg: #F2F1ED;
  --color-text: #2000AB;
  --grid: #DDDBD44D;

  /* Typography */
  --font-serif: "Fanwood Text", system-ui, Georgia, serif;
  --font-sans: "Opening Hours Sans", system-ui, -apple-system, sans-serif;

  --font-size-display: 44px;
  --font-size-subtitle: 40px;
  --font-size-heading: 24px;
  --font-size-body: 16px;
  --font-size-caption: 13px;
  --font-size-label: 12px;

  --line-height-display: 54px;
  --line-height-subtitle: 48px;
  --line-height-body: 20px;
  --line-height-caption: 16px;

  /* Spacing */
  --radius-sm: 2px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
}

/* ── Cascade background ── */
#effect-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: transparent;
  pointer-events: none;
}

#effect-bg canvas {
  display: block;
}

/* ── White noise overlay ── */
#noise-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
}

.page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding-top: 174px;
  max-width: 780px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-display);
  font-weight: 400;
  line-height: var(--line-height-display);
  letter-spacing: -0.09em;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: var(--font-size-subtitle);
  font-weight: 400;
  line-height: var(--line-height-subtitle);
  text-transform: uppercase;
  text-align: left;
  margin-left: 55px;
}

/* ── Dividers ── */
.divider {
  font-family: var(--font-serif);
  font-size: var(--font-size-heading);
  font-weight: 500;
  line-height: var(--line-height-body);
  text-align: center;
  margin: 40px 0;
  user-select: none;
}

/* ── Intro block ── */
.intro-block {
  max-width: 588px;
  margin: 102px auto 0;
}

.intro {
  text-align: justify;
  max-width: 380px;
  margin: 0 auto;
}

/* ── Image ── */
.image-frame {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.image-frame img {
  width: 460px;
  height: 566px;
  object-fit: cover;
}

/* ── Two-column sections ── */
.section-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 780px;
  margin: 0 auto;
}

.section-columns .col-left {
  flex: none;
}

.section-columns .col-right {
  flex: none;
  width: 366px;
}

/* ── Headings ── */
.heading {
  font-family: var(--font-serif);
  font-size: var(--font-size-display);
  font-weight: 400;
  line-height: var(--line-height-display);
  letter-spacing: -0.09em;
}

/* ── Founders list ── */
.founders-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founders-list li {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

/* ── Note ── */
.note {
  font-family: var(--font-serif);
  font-size: var(--font-size-body);
  font-style: italic;
  letter-spacing: -0.05em;
}

/* ── Research section ── */
.founders-section {
  margin-top: 113px;
}

.research-section {
  margin-top: 140px;
}

/* ── Research items ── */
.research-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 43px;
}

.research-item {
  display: flex;
  flex-direction: column;
}

.research-item-heading {
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
}

.research-item-desc {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  max-width: 366px;
  margin-top: 8px;
}

.research-item-standalone {
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
}

/* ── Buttons ── */
.button-row {
  display: flex;
  gap: 6px;
  margin-top: 80px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm);
  gap: var(--spacing-sm);
  border: 1px solid var(--color-text);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-label);
  font-weight: 400;
  line-height: var(--line-height-caption);
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  background-color: transparent;
  background: linear-gradient(var(--color-text), var(--color-text)) left center / 0% 100% no-repeat;
  transition:
    background-size 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s ease;
}

.button:hover,
.button:focus-visible {
  background-size: 100% 100%;
  color: var(--color-bg);
}

/* ── Footer ── */
.footer {
  margin-top: 80px;
  padding-bottom: 142px;
}

.footer a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.footer a:hover {
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ── Responsive < 650px ── */
@media (max-width: 650px) {
  body {
    margin: 0 20px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-subtitle {
    text-align: left;
    margin-left: 0;
  }

  .intro-block {
    margin-top: 60px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .intro {
    text-align: left;
    margin: 0;
  }

  .image-frame img {
    width: 100%;
    height: auto;
  }

  .section-columns {
    flex-direction: column;
    gap: 24px;
  }

  .section-columns .col-right {
    width: 100%;
  }

  .founders-section {
    margin-top: 64px;
  }

  .research-section {
    margin-top: 80px;
  }

  .research-item-desc {
    max-width: 375px;
  }

  .button-row {
    justify-content: flex-start;
    margin-top: 48px;
  }

  .footer {
    margin-top: 48px;
    padding-bottom: 80px;
    text-align: left;
  }
}
