/* =========================================
   Haute Intelligence — Styles
   ========================================= */

/* ---- Founders Grotesk (self-hosted, Klim Type Foundry) ----
   Light (300), Regular (400), Medium (500) + italics.
   Browser maps 600/700 automatically to Medium. */
@font-face {
  font-family: 'Founders Grotesk';
  src: url('fonts/FoundersGrotesk-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Founders Grotesk';
  src: url('fonts/FoundersGrotesk-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Founders Grotesk';
  src: url('fonts/FoundersGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Founders Grotesk';
  src: url('fonts/FoundersGrotesk-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Founders Grotesk';
  src: url('fonts/FoundersGrotesk-Medium.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Founders Grotesk';
  src: url('fonts/FoundersGrotesk-MediumItalic.woff2') format('woff2');
  font-weight: 500 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --black: #0a0a0a;
  --black-rich: #050505;
  --dark: #111111;
  --dark-card: #141414;
  --dark-card-hover: #1a1a1a;
  --dark-border: #1e1e1e;
  --hover-overlay: rgba(255, 255, 255, 0.05);
  --hover-overlay-strong: rgba(255, 255, 255, 0.08);
  --white: #F9F8F5;
  --white-dim: rgba(249, 248, 245, 0.6);
  --white-muted: rgba(249, 248, 245, 0.35);
  --blue: #7eb8d8;
  --blue-light: #a8d4ea;
  --blue-glow: rgba(126, 184, 216, 0.15);
  --nav-bg: rgba(10, 10, 10, 0.8);
  --particle-color: 168, 212, 234;
  --particle-line: 126, 184, 216;
  --font: 'Founders Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Day theme */
[data-theme="day"] {
  --black: #F5F4EF;
  --black-rich: #EFEDE5;
  --dark: #EAE7DD;
  --dark-card: #FAF8F2;
  --dark-card-hover: #EFEDE2;
  --dark-border: #D8D4C8;
  --hover-overlay: rgba(26, 23, 20, 0.05);
  --hover-overlay-strong: rgba(26, 23, 20, 0.08);
  --white: #1A1714;
  --white-dim: rgba(26, 23, 20, 0.65);
  --white-muted: rgba(26, 23, 20, 0.4);
  --blue: #2A6FA8;
  --blue-light: #4090C8;
  --blue-glow: rgba(42, 111, 168, 0.12);
  --nav-bg: rgba(245, 244, 239, 0.85);
  --particle-color: 42, 111, 168;
  --particle-line: 42, 111, 168;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.5s ease, color 0.5s ease;
}

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

/* ---- Container ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* =========================================
   Navigation
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--dark-border);
  transition: background 0.5s ease, border-color 0.5s ease;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-lockup {
  height: 28px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-symbol {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-wordmark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--white-dim);
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  font-family: var(--font);
  font-size: 14px;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.25s;
  color: var(--white) !important;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--black) !important;
  border-color: var(--white);
}

/* ---- Theme Toggle ---- */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: all 0.3s ease;
  margin-left: 8px;
}

.theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="day"] .theme-toggle .icon-sun { display: block; }
[data-theme="day"] .theme-toggle .icon-moon { display: none; }

/* ---- Language Switcher ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 2px;
}

.lang-btn {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--white-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  background: var(--white);
  color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 24px 48px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  border-bottom: 1px solid var(--dark-border);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 16px;
  color: var(--white-dim);
}

@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-menu {
    padding: 24px;
  }
  .mobile-menu .lang-switcher {
    margin-left: 0;
    margin-top: 8px;
    align-self: flex-start;
  }
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--blue-light);
  color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--dark-border);
}

.btn-ghost:hover {
  border-color: var(--white-muted);
}

.btn-full {
  width: 100%;
}

/* =========================================
   Hero
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ---- Particle grid canvas ---- */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ---- Ambient glow ---- */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(126,184,216,0.08) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Vignette */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--black) 80%);
  z-index: 1;
}

/* Hide old streak divs in hero */
.hero .light-streaks { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}

.hero-split {
  max-width: 1180px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  text-align: left;
}

.hero-split .hero-symbol {
  margin-bottom: 24px;
}

.hero-split .hero-title {
  text-align: left;
}

.hero-split .hero-sub {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.hero-split .hero-actions {
  justify-content: flex-start;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-right .prompt-bar {
  margin: 0;
  width: 100%;
  max-width: 480px;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-split .hero-title,
  .hero-split .hero-sub {
    text-align: center;
  }
  .hero-split .hero-actions {
    justify-content: center;
  }
  .hero-split .hero-symbol {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-symbol {
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.2s;
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.4s;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--white-dim);
  max-width: 540px;
  margin: 0 auto 40px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.8s;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-muted);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--white-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

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

/* =========================================
   Marquee
   ========================================= */
.prompt-section {
  padding: 40px 24px 32px;
  display: flex;
  justify-content: center;
  background: transparent;
}

.hero-prompt {
  margin: 28px auto 32px;
}

.prompt-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(620px, 100%);
  padding: 16px 26px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px -28px var(--blue-glow);
  font-family: var(--font);
  color: var(--white);
}

.prompt-plus {
  font-size: 20px;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
}

.prompt-label {
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}

.prompt-input {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.prompt-cursor {
  display: inline-block;
  width: 1.5px;
  height: 18px;
  background: var(--blue);
  animation: promptCursorBlink 1s steps(1) infinite;
  flex-shrink: 0;
  order: -1;
}

.prompt-typed {
  font-size: 16px;
  font-weight: 400;
  color: var(--white-muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes promptCursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (max-width: 540px) {
  .prompt-bar {
    padding: 14px 20px;
    gap: 10px;
  }
  .prompt-label,
  .prompt-typed {
    font-size: 15px;
  }
}

/* =========================================
   Statement
   ========================================= */
.statement {
  border-bottom: 1px solid var(--dark-border);
}

.statement-layout {
  max-width: 800px;
}

.statement-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.statement-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--white-dim);
  font-weight: 300;
}

/* =========================================
   AI-PEOS
   ========================================= */
.aipeos {
  border-top: 1px solid var(--dark-border);
}

.aipeos-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.aipeos-left {
  position: sticky;
  top: 120px;
}

.aipeos-name {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.aipeos .section-label {
  margin-bottom: 20px;
}

.aipeos-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--white-dim);
  font-weight: 300;
  margin-bottom: 32px;
}

.aipeos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  overflow: hidden;
}

.aipeos-card {
  background: var(--dark-card);
  padding: 32px 28px;
  transition: background 0.3s;
}

.aipeos-card:hover {
  background: var(--dark-card-hover);
}

/* Dark variant (top two cards) */
.aipeos-card-dark {
  background: var(--dark);
}

.aipeos-card-dark:hover {
  background: var(--black-rich);
}

.aipeos-card-infinity {
  font-size: 36px;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  height: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.aipeos-card-icon {
  color: var(--blue);
  margin-bottom: 16px;
}

.aipeos-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.aipeos-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--white-dim);
  font-weight: 300;
}

.aipeos-cta {
  margin-top: 28px;
}

@media (max-width: 968px) {
  .aipeos-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .aipeos-left {
    position: static;
  }
}

@media (max-width: 540px) {
  .aipeos-grid {
    grid-template-columns: 1fr;
  }
  .aipeos-card {
    padding: 28px 24px;
  }
}

/* =========================================
   Sections
   ========================================= */
.section {
  padding: 88px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 48px;
}

/* =========================================
   Capabilities (8-card grid)
   ========================================= */
.capabilities {
  border-top: 1px solid var(--dark-border);
}

.capabilities .section-title {
  margin-bottom: 40px;
}

.cap-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  overflow: hidden;
}

.cap-card {
  background: var(--dark-card);
  padding: 32px 28px;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}

.cap-card:hover {
  background: var(--dark-card-hover);
}

/* Colour variants — using theme tokens */
.cap-card-accent {
  background: var(--blue);
}

.cap-card-accent:hover {
  background: var(--blue-light);
}

.cap-card-accent .cap-title {
  color: var(--black);
}

.cap-card-accent .cap-desc {
  color: rgba(10, 10, 10, 0.7);
}

.cap-card-dark {
  background: var(--dark-card-hover);
}

.cap-card-dark:hover {
  background: var(--dark);
}

.cap-card-invert {
  background: var(--white);
}

.cap-card-invert:hover {
  background: var(--white-dim);
}

.cap-card-invert .cap-title {
  color: var(--black);
}

.cap-card-invert .cap-desc {
  color: rgba(10, 10, 10, 0.6);
}

.cap-card-muted {
  background: var(--dark-border);
}

.cap-card-muted:hover {
  background: var(--dark);
}

.cap-title {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--white);
}

.cap-desc {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.65;
  color: var(--white-dim);
  font-weight: 300;
}

@media (max-width: 968px) {
  .cap-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .cap-grid-8 {
    grid-template-columns: 1fr;
  }
  .cap-card {
    padding: 28px 24px;
  }
}

/* =========================================
   Stats
   ========================================= */
.stats-section {
  padding: 64px 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-value {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-unit {
  color: var(--blue);
}

.stat-label {
  font-size: 14px;
  color: var(--white-muted);
  font-weight: 400;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* =========================================
   Approach
   ========================================= */
.approach-header {
  max-width: 780px;
  margin: 0 auto 72px;
  text-align: center;
}

.approach-header .section-title {
  margin-bottom: 32px;
}

.approach-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-dim);
  font-weight: 300;
  margin-bottom: 24px;
}

.approach-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar-line {
  width: 32px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 16px;
}

.pillar h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--white-dim);
  font-weight: 300;
}

@media (max-width: 768px) {
  .approach-pillars {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .approach-header {
    margin-bottom: 48px;
  }
}

/* =========================================
   Visual Break
   ========================================= */
.visual-break {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.break-bg {
  position: absolute;
  inset: 0;
}

.break-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.2), var(--black) 70%);
  z-index: 1;
}

.streaks-wide .streak {
  animation-duration: 6s;
}

/* ---- Wordmark italic ---- */
.nav-wordmark em,
.footer-brand em {
  font-style: italic;
}

/* =========================================
   About
   ========================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-dim);
  font-weight: 300;
  margin-bottom: 20px;
}

.about-values {
  display: grid;
  gap: 0;
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  overflow: hidden;
}

.value-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--dark-border);
  background: var(--dark-card);
}

.value-item:last-child {
  border-bottom: none;
}

.value-key {
  font-size: 14px;
  color: var(--white-muted);
  font-weight: 400;
}

.value-val {
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================
   Contact
   ========================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-dim);
  font-weight: 300;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--white-dim);
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 14px 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--white-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================
   Footer
   ========================================= */
.footer {
  border-top: 1px solid var(--dark-border);
  padding: 48px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-top .footer-brand {
  flex-shrink: 0;
}

.footer-address-group {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-left: 8px;
}

.footer-address-group .footer-address {
  flex-shrink: 0;
}

.footer-address-group .footer-contact {
  border-left: 1px solid var(--dark-border);
  padding-left: 24px;
}

.footer-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: var(--white-dim);
}

.footer-address strong {
  color: var(--white);
  font-weight: 600;
}

.footer-address a {
  color: var(--white-dim);
  transition: color 0.25s;
}

.footer-address a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 13px;
  line-height: 1.8;
  padding-top: calc(1em * 1.8);
}

.footer-contact a {
  color: var(--white-dim);
  transition: color 0.25s;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--dark-border);
  flex-wrap: wrap;
}

.footer-legal-text {
  font-size: 12px;
  color: var(--white-muted);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 12px;
  color: var(--white-muted);
  transition: color 0.25s;
}

.footer-legal-links a:hover {
  color: var(--white);
}

@media (max-width: 640px) {
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.footer-links a {
  font-size: 14px;
  color: var(--white-muted);
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--white-muted);
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-links {
    gap: 12px 20px;
    width: 100%;
  }
  .footer-links a {
    font-size: 13px;
  }
}

/* =========================================
   Scroll Animations
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =========================================
   Hero centered actions
   ========================================= */
.hero-actions-center {
  justify-content: center;
}

/* =========================================
   Board of Directors
   ========================================= */
.board {
  border-top: 1px solid var(--dark-border);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px 28px;
  margin-top: 48px;
}

.board-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
  background: transparent;
  border: none;
  padding: 12px;
  margin: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  width: 100%;
  border-radius: 10px;
  transition: background 0.2s;
}

.board-card:hover {
  background: var(--hover-overlay);
}

.board-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 10px;
}

.board-bio {
  display: none;
}

.board-photo {
  grid-row: 1 / span 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  flex-shrink: 0;
}

.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.4s ease, transform 0.6s ease;
}

.board-card:hover .board-photo img {
  filter: grayscale(0%) contrast(1.1);
  transform: scale(1.04);
}

.board-photo img[src*="Dylan-optimized"] {
  transform: translate(4px, 8px) scale(1.22);
}

.board-card:hover .board-photo img[src*="Dylan-optimized"] {
  transform: translate(4px, 8px) scale(1.26);
}

.board-photo img[src*="Thibault-optimized"],
.board-photo img[src*="Rodrigo-optimized"] {
  transform: translateX(1px) scale(1.05);
}

.board-card:hover .board-photo img[src*="Thibault-optimized"],
.board-card:hover .board-photo img[src*="Rodrigo-optimized"] {
  transform: translateX(1px) scale(1.09);
}

.board-photo img[src*="Julien-optimized"] {
  transform: translate(-3px, 4px) scale(1.12);
}

.board-card:hover .board-photo img[src*="Julien-optimized"] {
  transform: translate(-3px, 4px) scale(1.16);
}

.board-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-card), #1a1a1a);
}

.board-initials {
  font-size: 24px;
  font-weight: 400;
  color: var(--white-muted);
  letter-spacing: 0.05em;
}

.board-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0;
  align-self: end;
}

.board-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
  align-self: start;
}

.board-card .board-bio {
  display: none;
}

@media (max-width: 968px) {
  .board-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================
   Modal — Request a Model
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 48px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--dark-border);
  color: var(--white-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--hover-overlay);
  color: var(--white);
  border-color: var(--white-muted);
}

.modal-header {
  margin-bottom: 32px;
}

.modal-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--white);
}

.modal-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white-dim);
  font-weight: 300;
  max-width: 540px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-form label {
  font-size: 12px;
  font-weight: 500;
  color: var(--white-dim);
  letter-spacing: 0.01em;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: var(--white-muted);
  font-size: 13px;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--blue);
  background: rgba(0, 0, 0, 0.5);
}

.modal-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.modal-form select option {
  background: var(--dark-card);
  color: var(--white);
}

.modal-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 28px;
}

.modal-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal-tab:hover {
  color: var(--white-dim);
}

.modal-tab.active {
  background: var(--white);
  color: var(--black);
}

.modal-tab-panel {
  display: none;
}

.modal-tab-panel.active {
  display: flex;
}

.modal-footer-text {
  font-size: 11px;
  color: var(--white-muted);
  line-height: 1.5;
  text-align: center;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .modal {
    padding: 32px 24px;
  }
  .modal-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Prevent body scroll when modal open */
body.modal-open {
  overflow: hidden;
}

/* =========================================
   Swiss Subnet
   ========================================= */
.subnet {
  border-top: 1px solid var(--dark-border);
}

.subnet-split {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.subnet-left .section-title {
  margin-bottom: 24px;
}

.subnet-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--white-dim);
  font-weight: 300;
  margin-bottom: 20px;
}

.subnet-left .link-cta {
  margin-top: 8px;
}

.subnet-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subnet-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 4px;
  align-items: baseline;
}

.subnet-stat {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1.2;
  grid-row: 1 / span 2;
  align-self: center;
}

.subnet-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.subnet-card-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--white-dim);
  font-weight: 300;
}

@media (max-width: 968px) {
  .subnet-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================
   News section
   ========================================= */
.news {
  border-top: 1px solid var(--dark-border);
}

.news-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.news-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--white-dim);
  font-weight: 300;
  margin-top: 24px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s, transform 0.25s;
  cursor: pointer;
}

.news-card:hover {
  background: var(--dark-card-hover);
  transform: translateY(-2px);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--white-muted);
  letter-spacing: 0.04em;
}

.news-meta time {
  font-variant-numeric: tabular-nums;
}

.news-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--white);
  margin: 0;
}

.news-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--white-dim);
  font-weight: 300;
  margin: 0;
  flex: 1;
}

.news-read {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 6px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}

.news-card:hover .news-read {
  color: var(--blue);
  border-color: var(--blue);
}

.news-disclaimer {
  font-size: 12px;
  color: var(--white-muted);
  margin-top: 32px;
  font-style: italic;
}

@media (max-width: 968px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Soft link-style CTA (inline section CTA)
   ========================================= */
.link-cta {
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  cursor: pointer;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.link-cta:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.approach-cta {
  margin-top: 56px;
  text-align: center;
}

/* =========================================
   Scroll-reveal animations
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

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

/* =========================================
   Article page (news detail)
   ========================================= */
.article-page {
  min-height: 100vh;
  padding: 96px 0 120px;
}

.article-back,
.article-more {
  display: inline-block;
  font-size: 13px;
  color: var(--white-muted);
  transition: color 0.25s;
}

.article-back {
  margin-bottom: 40px;
}

.article-back:hover,
.article-more:hover {
  color: var(--white);
}

.article-body {
  max-width: 720px;
}

.article-loading {
  color: var(--white-muted);
  font-size: 14px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--white-muted);
  letter-spacing: 0.04em;
}

.article-meta time {
  font-variant-numeric: tabular-nums;
}

.article-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.article-intro {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--white-dim);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-border);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.article-author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--dark-border);
}

.article-author-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.article-author-role {
  display: block;
  font-size: 12px;
  color: var(--white-muted);
  font-weight: 400;
}

.article-byline-block {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
}

.article-prose p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-dim);
  font-weight: 300;
  margin-bottom: 20px;
}

.article-byline {
  margin-top: 48px;
  font-size: 12px;
  font-style: italic;
  color: var(--white-muted);
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
}

.article-footer {
  margin-top: 64px;
}

/* =========================================
   Legal pages (Impressum / Privacy / Terms)
   ========================================= */
.legal-page {
  min-height: 100vh;
  padding: 96px 0 120px;
}

.legal-back {
  display: inline-block;
  font-size: 13px;
  color: var(--white-muted);
  margin-bottom: 40px;
  transition: color 0.25s;
}

.legal-back:hover {
  color: var(--white);
}

.legal-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 56px;
}

.legal-section {
  max-width: 720px;
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--white-dim);
  font-weight: 300;
  margin-bottom: 14px;
}

.legal-section a {
  color: var(--blue);
  transition: opacity 0.2s;
}

.legal-section a:hover {
  opacity: 0.8;
}

/* =========================================
   Research page
   ========================================= */
.research-page {
  min-height: 100vh;
  padding: 96px 0 120px;
}

.research-page .legal-back {
  display: inline-block;
  font-size: 13px;
  color: var(--white-muted);
  margin-bottom: 64px;
  transition: color 0.25s;
}

.research-page .legal-back:hover {
  color: var(--white);
}

.research-hero {
  max-width: 920px;
  margin-bottom: 120px;
}

.research-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--white);
  margin: 16px 0 32px;
}

.research-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}

.research-hero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 760px;
}

.research-section {
  padding: 72px 0;
  border-top: 1px solid var(--dark-border);
}

.research-section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--white);
  margin: 12px 0 32px;
  max-width: 760px;
}

.research-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}

.research-lede {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 760px;
  margin-bottom: 40px;
}

.research-lede strong {
  color: var(--white);
  font-weight: 500;
}

.research-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  overflow: hidden;
}

.research-pair-item {
  background: var(--dark-card);
  padding: 32px;
}

.research-pair-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.research-pair-item p {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--white-dim);
}

.research-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 32px;
}

.research-card {
  background: var(--dark-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s;
}

.research-card:hover {
  background: var(--dark-card-hover);
}

.research-card-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 8px;
}

.research-card-tier {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.research-card-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 4px;
}

.research-card p {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--white-dim);
}

.research-card-quiet {
  background: transparent;
}

.research-card-quiet:hover {
  background: var(--hover-overlay);
}

.research-callout {
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 28px 32px;
  background: var(--hover-overlay);
}

.research-callout-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.research-callout p {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--white-dim);
}

.research-form {
  max-width: 720px;
  margin: 16px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.research-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.research-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.research-form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.research-form-field input,
.research-form-field select,
.research-form-field textarea {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.research-form-field input:focus,
.research-form-field select:focus,
.research-form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--dark-card-hover);
}

.research-form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.research-form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--white-muted) 50%), linear-gradient(135deg, var(--white-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.research-form-hint {
  font-size: 12px;
  color: var(--white-muted);
  font-weight: 300;
  margin-top: 2px;
}

.research-form-privacy {
  font-size: 12px;
  color: var(--white-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-top: 4px;
}

.research-quote {
  border-left: 2px solid var(--blue);
  padding: 8px 0 8px 24px;
  margin: 32px 0 0;
  max-width: 720px;
}

.research-quote p {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  font-style: italic;
  color: var(--white-dim);
  margin-bottom: 12px;
}

.research-quote footer {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-muted);
}

@media (max-width: 768px) {
  .research-hero { margin-bottom: 64px; }
  .research-section { padding: 48px 0; }
  .research-pair,
  .research-grid-3 { grid-template-columns: 1fr; }
  .research-form-row { grid-template-columns: 1fr; }
}

/* =========================================
   Modal — Board Member
   ========================================= */
.board-modal {
  max-width: 880px;
  padding: 40px;
}

.board-modal-close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  cursor: pointer;
  padding: 4px 2px;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.board-modal-close:hover {
  opacity: 0.7;
}

.board-modal-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.board-modal-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

.board-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

.board-modal-photo img[src*="Dylan-optimized"] {
  transform: translateY(8px);
}

.board-modal-content {
  padding-top: 8px;
  padding-right: 32px;
}

.board-modal-name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.board-modal-role {
  font-size: 12px;
  font-weight: 400;
  color: var(--white-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.board-modal-bio {
  font-size: 13px;
  line-height: 1.75;
  color: var(--white-dim);
  font-weight: 300;
  margin-bottom: 32px;
  white-space: pre-line;
}

.board-modal-linkedin {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--white);
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}

.board-modal-linkedin:hover {
  background: var(--hover-overlay-strong);
  border-color: var(--white-dim);
}

@media (max-width: 768px) {
  .board-modal {
    padding: 56px 24px 32px;
  }
  .board-modal-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .board-modal-photo {
    max-width: 220px;
  }
  .board-modal-content {
    padding-right: 0;
  }
}
