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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: #06080d; color: #e8e6e1; overflow-x: hidden; }

/* ── NAV ── */
.ae-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 52px;
  background: rgba(6,8,13,0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ae-nav-logo {
  position: absolute; left: 52px;
  display: flex; align-items: center;
  opacity: 0.7; transition: opacity 0.2s;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.2));
}
.ae-nav-logo:hover { opacity: 1; filter: drop-shadow(0 0 10px rgba(255,255,255,0.4)); }
.ae-nav-links { display: flex; list-style: none; }
.ae-nav-links li { width: 120px; display: flex; justify-content: center; }
.ae-nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(232,230,225,0.38); text-decoration: none; transition: color 0.2s;
}
.ae-nav-links a:hover,
.ae-nav-links a.active { color: rgba(232,230,225,0.85); }

/* ── PAGE WRAPPER ── */
.ae-page { padding-top: 60px; }

/* ── HERO (inner pages) ── */
.ae-hero {
  padding: 100px 52px 72px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.ae-hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,196,154,0.6); margin-bottom: 18px;
}
.ae-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px); font-weight: 500;
  color: #f0ede8; line-height: 1.1; letter-spacing: -0.02em;
  max-width: 700px; margin-bottom: 20px;
}
.ae-hero h1 em { font-style: italic; color: rgba(180,240,220,0.8); font-weight: 300; }
.ae-hero-sub {
  font-size: 15px; line-height: 1.8; font-weight: 300;
  color: rgba(232,230,225,0.45); max-width: 560px;
}

/* ── SECTIONS ── */
.ae-section { padding: 80px 52px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ae-section:last-child { border-bottom: none; }
.ae-section-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,196,154,0.6); margin-bottom: 14px;
}
.ae-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 500;
  color: #f0ede8; line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.ae-section-intro {
  font-size: 14px; line-height: 1.85; color: rgba(232,230,225,0.44);
  font-weight: 300; max-width: 560px; margin-bottom: 52px;
}
.ae-body-text {
  font-size: 14px; line-height: 1.85;
  color: rgba(232,230,225,0.46); font-weight: 300;
}
.ae-body-text p + p { margin-top: 18px; }
.ae-body-text strong { color: rgba(232,230,225,0.78); font-weight: 400; }

/* ── TWO COL ── */
.ae-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ae-three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.05); }

/* ── CARD GRID ── */
.ae-card {
  background: #06080d; padding: 32px 28px;
  transition: background 0.15s;
}
.ae-card:hover { background: #0b0f16; }
.ae-card-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(0,196,154,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: rgba(0,196,154,0.5); font-size: 15px;
}
.ae-card-title { font-size: 13px; font-weight: 500; color: rgba(232,230,225,0.75); margin-bottom: 10px; }
.ae-card-desc { font-size: 12px; line-height: 1.75; color: rgba(232,230,225,0.32); font-weight: 300; }
.ae-card-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ae-card-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: 0.06em; color: rgba(232,230,225,0.3);
  border: 1px solid rgba(255,255,255,0.06); padding: 3px 8px;
}

/* ── PILLARS ── */
.ae-pillars { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,0.05); }
.ae-pillar { background: #06080d; padding: 22px 26px; display: flex; gap: 18px; align-items: flex-start; }
.ae-pillar-num { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: rgba(0,196,154,0.45); margin-top: 2px; min-width: 22px; }
.ae-pillar-title { font-size: 13px; font-weight: 500; color: rgba(232,230,225,0.72); margin-bottom: 4px; }
.ae-pillar-desc { font-size: 12px; color: rgba(232,230,225,0.3); line-height: 1.6; }

/* ── RESEARCH PROJECT CARD ── */
.ae-project-block {
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start;
}
.ae-project-block:last-child { border-bottom: none; }
.ae-project-label { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(0,196,154,0.45); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.ae-project-label::before { content: ''; width: 3px; height: 3px; background: rgba(0,196,154,0.45); border-radius: 50%; }
.ae-project-title { font-family: 'DM Sans', sans-serif; font-size: 28px; font-weight: 500; color: #f0ede8; margin-bottom: 8px; letter-spacing: -0.01em; }
.ae-project-status { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(0,196,154,0.4); }
.ae-project-body { font-size: 14px; line-height: 1.85; color: rgba(232,230,225,0.46); font-weight: 300; }
.ae-project-body p + p { margin-top: 16px; }
.ae-project-body strong { color: rgba(232,230,225,0.78); font-weight: 400; }
.ae-project-metrics { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,0.05); margin-top: 28px; }
.ae-metric { background: #06080d; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.ae-metric-label { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(232,230,225,0.28); }
.ae-metric-value { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: rgba(0,196,154,0.6); }

/* ── FOUNDER ── */
.ae-founder-role-label { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,196,154,0.45); margin-bottom: 8px; }
.ae-founder-name { font-family: 'DM Sans', sans-serif; font-size: 32px; font-weight: 500; color: #f0ede8; margin-bottom: 28px; line-height: 1.1; }
.ae-founder-right { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,0.05); }
.ae-founder-fact { background: #06080d; padding: 24px 28px; }
.ae-founder-fact-label { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,196,154,0.45); margin-bottom: 8px; }
.ae-founder-fact-text { font-size: 13px; line-height: 1.7; color: rgba(232,230,225,0.48); font-weight: 300; }
.ae-founder-fact-text strong { color: rgba(232,230,225,0.75); font-weight: 400; }

/* ── CONTACT FORM ── */
.ae-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.ae-contact-heading { font-family: 'DM Sans', sans-serif; font-size: clamp(32px,4vw,44px); font-weight: 500; color: #f0ede8; line-height: 1.1; margin-bottom: 18px; }
.ae-contact-heading em { font-style: italic; color: rgba(180,240,220,0.7); font-weight: 300; }
.ae-contact-sub { font-size: 13px; color: rgba(232,230,225,0.33); line-height: 1.75; font-weight: 300; margin-bottom: 32px; }
.ae-contact-email { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: rgba(0,196,154,0.65); text-decoration: none; border-bottom: 1px solid rgba(0,196,154,0.18); padding-bottom: 2px; transition: color 0.2s; }
.ae-contact-email:hover { color: #00c49a; }
.ae-form-field { margin-bottom: 14px; }
.ae-form-label { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232,230,225,0.26); margin-bottom: 7px; }
.ae-form-input { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); color: #e8e6e1; font-family: 'DM Sans', sans-serif; font-size: 13px; padding: 11px 14px; outline: none; transition: border-color 0.2s; border-radius: 0; -webkit-appearance: none; }
.ae-form-input::placeholder { color: rgba(232,230,225,0.2); }
.ae-form-input:focus { border-color: rgba(0,196,154,0.3); }
textarea.ae-form-input { resize: none; height: 100px; }
.ae-form-submit { background: #00c49a; color: #06080d; border: none; font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 0; cursor: pointer; width: 100%; margin-top: 6px; transition: opacity 0.2s; }
.ae-form-submit:hover { opacity: 0.85; }
.ae-form-success { display: none; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: rgba(0,196,154,0.7); padding: 16px 0; }

/* ── FOOTER ── */
.ae-footer { padding: 28px 52px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; background: #040608; }
.ae-footer-logo { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: rgba(232,230,225,0.16); text-transform: uppercase; }
.ae-footer-copy { font-family: 'IBM Plex Mono', monospace; font-size: 9px; color: rgba(232,230,225,0.14); letter-spacing: 0.08em; }

/* ── DIVIDER ── */
.ae-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 0; }

/* ── BUTTON ── */
.ae-btn-glow { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 13px 36px; text-decoration: none; background: transparent; color: rgba(220,255,245,0.85); border-radius: 40px; border: 1px solid rgba(0,196,154,0.55); box-shadow: 0 0 14px rgba(0,196,154,0.25), inset 0 0 10px rgba(0,196,154,0.06); display: inline-block; transition: box-shadow 0.3s, border-color 0.3s; }
.ae-btn-glow:hover { box-shadow: 0 0 28px rgba(0,196,154,0.45), inset 0 0 16px rgba(0,196,154,0.1); border-color: rgba(0,196,154,0.85); }
.ae-btn-outline { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 11px 28px; text-decoration: none; background: transparent; color: rgba(232,230,225,0.5); border: 1px solid rgba(255,255,255,0.12); display: inline-block; transition: border-color 0.2s, color 0.2s; }
.ae-btn-outline:hover { border-color: rgba(255,255,255,0.3); color: rgba(232,230,225,0.8); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* Nav */
  .ae-nav { padding: 12px 20px; }
  .ae-nav-logo { left: 20px; }
  .ae-nav-links li { width: 70px; }
  .ae-nav-links a { font-size: 10px; letter-spacing: 0.08em; }

  /* Page & hero */
  .ae-page { padding-top: 52px; }
  .ae-section { padding: 44px 20px; }
  .ae-hero { padding: 64px 20px 44px; }
  .ae-hero h1 { font-size: clamp(28px, 7vw, 40px); }
  .ae-hero-sub { font-size: 14px; max-width: 100%; }

  /* Grids → single column */
  .ae-two-col { grid-template-columns: 1fr; gap: 32px; }
  .ae-three-col { grid-template-columns: 1fr; }
  .ae-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ae-project-block { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }

  /* Section titles */
  .ae-section-title { font-size: clamp(22px, 6vw, 32px); }

  /* Research project cards */
  .ae-project-title { font-size: 22px; }
  .ae-project-metrics { margin-top: 20px; }

  /* Founder */
  .ae-founder-name { font-size: 26px; }

  /* Pillars */
  .ae-pillar { padding: 18px 20px; }

  /* Buttons — full width on small screens */
  .ae-btn-glow, .ae-btn-outline { display: block; text-align: center; padding: 14px 24px; }

  /* Footer */
  .ae-footer { padding: 20px; flex-direction: column; gap: 12px; text-align: center; }

  /* Form inputs — larger touch targets */
  .ae-form-input { font-size: 16px; padding: 13px 14px; } /* 16px prevents iOS zoom */
  .ae-form-submit { padding: 16px 0; font-size: 11px; }
}

@media (max-width: 480px) {
  .ae-nav-links li { width: 60px; }
  .ae-nav-links a { font-size: 9px; letter-spacing: 0.06em; }
  .ae-section { padding: 36px 16px; }
  .ae-hero { padding: 56px 16px 36px; }
  .ae-hero h1 { font-size: clamp(26px, 8vw, 34px); }
  .ae-section-title { font-size: clamp(20px, 7vw, 28px); }
  .ae-footer { padding: 16px; }
}
