/* ==========================================================================
   Homepage — loose editorial layout on the blue
   Sections sit directly on the background; no card grids.
   ========================================================================== */

/* --- Hero: slightly shorter so the page flows on ------------------------- */

.hero {
  height: 92vh;
  min-height: 600px;
}

/* --- Statement ------------------------------------------------------------ */

.statement-section {
  position: relative;
  z-index: var(--z-content);
  padding: 120px var(--gutter) 40px;
}

.statement {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.3;
  letter-spacing: 0.3px;
  color: var(--white);
  max-width: 21em;
  margin-left: clamp(0px, 8vw, 160px);
  margin-top: var(--space-l);
}

.statement em {
  font-style: italic;
}

/* --- Research themes ------------------------------------------------------ */

.themes-section {
  position: relative;
  z-index: var(--z-content);
  padding: 80px var(--gutter) 60px;
}

.themes-accent {
  position: absolute;
  top: -20px;
  right: 4vw;
  width: min(420px, 38vw);
  aspect-ratio: 1;
  opacity: 0.55;
  pointer-events: none;
}

.themes-accent canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.theme-row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  max-width: 860px;
  margin-bottom: 64px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease-out);
}

.theme-row:hover {
  transform: translateX(12px);
}

.theme-row--offset-1 {
  margin-left: clamp(0px, 6vw, 120px);
}

.theme-row--offset-2 {
  margin-left: clamp(0px, 12vw, 240px);
}

.theme-canvas {
  position: relative;
  width: 130px;
  aspect-ratio: 1;
  flex-shrink: 0;
  background: var(--blue);
  overflow: hidden;
}

.theme-canvas canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  filter: blur(0.3px);
}

.theme-num {
  font-family: 'Instrument Serif', serif;
  font-size: 14px;
  opacity: 0.4;
  display: block;
  margin-bottom: 6px;
}

.theme-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.theme-row:hover .theme-title {
  color: var(--blue-light);
}

.theme-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: var(--off-white);
  opacity: 0.7;
  max-width: 460px;
}

/* --- Battery aside (single offset card) ----------------------------------- */

.aside-section {
  position: relative;
  z-index: var(--z-content);
  padding: 20px var(--gutter) 100px;
  display: flex;
  justify-content: flex-end;
}

.aside-card {
  background: var(--card-bg);
  padding: clamp(32px, 4vw, 56px);
  max-width: 560px;
}

.aside-card p {
  font-family: 'Lora', serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 16px 0 24px;
}

/* --- Latest news ----------------------------------------------------------- */

.latest-section {
  position: relative;
  z-index: var(--z-content);
  padding: 40px var(--gutter) 100px;
}

.latest-more {
  display: inline-block;
  margin-top: var(--space-m);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--off-white);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.3s;
}

.latest-more:hover {
  opacity: 1;
}

/* --- Contact sign-off ------------------------------------------------------ */

.contact-section {
  position: relative;
  z-index: var(--z-content);
  padding: 80px var(--gutter) 140px;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--space-l);
}

.contact-email {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 240, 248, 0.3);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
}

.contact-email:hover {
  color: var(--white);
  border-color: var(--white);
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 768px) {
  .statement-section {
    padding: 80px var(--gutter-mobile) 20px;
  }

  .statement {
    margin-left: 0;
  }

  .themes-section {
    padding: 60px var(--gutter-mobile) 40px;
  }

  .themes-accent {
    display: none;
  }

  .theme-row,
  .theme-row--offset-1,
  .theme-row--offset-2 {
    margin-left: 0;
    margin-bottom: 48px;
    gap: 20px;
  }

  .theme-canvas {
    width: 90px;
  }

  .aside-section {
    padding: 0 var(--gutter-mobile) 60px;
    justify-content: flex-start;
  }

  .latest-section {
    padding: 20px var(--gutter-mobile) 60px;
  }

  .contact-section {
    padding: 40px var(--gutter-mobile) 100px;
  }
}
