@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,300;1,9..144,400&family=Geist:wght@300;400;500&display=swap');

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

:root {
  --navy: #0B0F1A;
  --navy-2: #0F1422;
  --card: #131929;
  --card-2: #161d2e;
  --blue: #2E5BA8;
  --blue-light: #4B7FD8;
  --blue-glow: rgba(46,91,168,0.15);
  --teal: #1A7A6E;
  --teal-light: #25A898;
  --border: rgba(255,255,255,0.07);
  --border-m: rgba(255,255,255,0.12);
  --white: #FFFFFF;
  --text: rgba(255,255,255,0.72);
  --text-dim: rgba(255,255,255,0.36);
  --text-faint: rgba(255,255,255,0.18);
  --cream: #F0EBE0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 58px; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(11,15,26,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 600;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-logo em { font-style: italic; color: var(--blue-light); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 400;
  color: var(--text); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  font-size: 13px; font-weight: 500;
  background: var(--blue); color: var(--white);
  padding: 8px 20px; border-radius: 6px;
  text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-light); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 130px 80px 100px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 60%, rgba(46,91,168,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(26,122,110,0.08) 0%, transparent 50%);
}

/* Subtle grid lines */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 1000px; }

.page-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 32px;
  display: flex; align-items: center; gap: 10px;
}
.page-label::before {
  content: '';
  display: block; width: 24px; height: 1px;
  background: var(--blue-light);
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--white);
  margin-bottom: 36px;
}
h1 em { font-style: italic; color: var(--blue-light); font-weight: 300; }

.hero-body {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text); line-height: 1.75;
  max-width: 620px; font-weight: 300;
}
.hero-body strong { color: var(--white); font-weight: 500; }

/* ── VISION MISSION ── */
.vm-section {
  padding: 120px 80px;
  max-width: 1200px; margin: 0 auto;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  margin-top: 56px;
}

.vm-card {
  background: var(--card);
  padding: 52px 48px;
  position: relative;
  transition: background 0.25s;
}
.vm-card:hover { background: var(--card-2); }

.vm-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
}
.vm-card.vision::before { background: linear-gradient(90deg, var(--blue), transparent); }
.vm-card.mission::before { background: linear-gradient(90deg, var(--teal), transparent); }

.vm-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 24px;
}
.vm-card.vision .vm-label { color: var(--blue-light); }
.vm-card.mission .vm-label { color: var(--teal-light); }

.vm-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400; line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--white); margin-bottom: 20px;
}

.vm-card p {
  font-size: 15px; color: var(--text);
  line-height: 1.8; font-weight: 300;
}

.vm-card p strong { color: var(--white); font-weight: 500; }

/* ── SECTION HEADERS ── */
.section-wrap {
  padding: 0 80px 120px;
  max-width: 1200px; margin: 0 auto;
}

.section-header {
  margin-bottom: 52px;
}

.section-eyebrow {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 18px; height: 1px; background: var(--blue-light);
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400; line-height: 1.2;
  letter-spacing: -1px; color: var(--white);
}
.section-title em { font-style: italic; color: var(--blue-light); }

/* ── VALUES ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px;
  transition: all 0.2s; position: relative;
  overflow: hidden;
}
.value-card:hover {
  border-color: var(--border-m);
  background: var(--card-2);
  transform: translateY(-2px);
}

.value-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-glow), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.value-card:hover::after { opacity: 1; }

.value-num {
  font-family: 'Fraunces', serif;
  font-size: 11px; color: var(--text-faint);
  margin-bottom: 20px; letter-spacing: 0.05em;
}

.value-card h3 {
  font-size: 14px; font-weight: 500;
  color: var(--white); margin-bottom: 12px;
  line-height: 1.3;
}

.value-card p {
  font-size: 12px; color: var(--text);
  line-height: 1.75; font-weight: 300;
}

/* ── WHAT WE BUILD ── */
.products-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}

.product-card {
  background: var(--card);
  padding: 40px 36px;
  transition: background 0.2s;
}
.product-card:hover { background: var(--card-2); }

.product-tag {
  display: inline-block;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 20px;
}
.tag-live { background: rgba(26,122,110,0.15); color: var(--teal-light); border: 1px solid rgba(26,122,110,0.3); }
.tag-soon { background: rgba(46,91,168,0.12); color: var(--blue-light); border: 1px solid rgba(46,91,168,0.25); }

.product-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 400;
  color: var(--white); margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.product-card .product-role {
  font-size: 12px; color: var(--blue-light);
  font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 14px;
}

.product-card p {
  font-size: 13px; color: var(--text);
  line-height: 1.75; font-weight: 300;
}

.product-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-size: 18px;
  padding: 20px 0;
  writing-mode: horizontal-tb;
}

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: all 0.2s;
}
.team-card:hover {
  border-color: var(--border-m);
  transform: translateY(-2px);
}

.team-img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover; object-position: top;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.team-card:hover .team-img { filter: grayscale(0%); }

.team-body { padding: 20px; }

.team-name {
  font-family: 'Fraunces', serif;
  font-size: 16px; font-weight: 400;
  color: var(--white); margin-bottom: 4px;
}

.team-title {
  font-size: 11px; color: var(--blue-light);
  font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 12px;
}

.team-bio {
  font-size: 12px; color: var(--text);
  line-height: 1.7; font-weight: 300;
}

/* ── MENTOR ── */
.mentor-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid; grid-template-columns: 220px 1fr;
  overflow: hidden; gap: 0;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.mentor-card:hover { border-color: var(--border-m); }

.mentor-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: grayscale(15%);
}

.mentor-body { padding: 36px 40px; }

.mentor-badge {
  display: inline-block;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(201,169,110,0.1);
  color: #C9A96E; border: 1px solid rgba(201,169,110,0.25);
  margin-bottom: 16px;
}

.mentor-name {
  font-family: 'Fraunces', serif;
  font-size: 24px; font-weight: 400;
  color: var(--white); margin-bottom: 6px;
}

.mentor-title {
  font-size: 12px; color: var(--teal-light);
  font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 16px;
}

.mentor-bio {
  font-size: 13px; color: var(--text);
  line-height: 1.8; font-weight: 300;
}

/* ── STATS ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  margin-top: 80px;
}

.stat-cell {
  background: var(--card);
  padding: 40px 32px;
  text-align: center;
  transition: background 0.2s;
}
.stat-cell:hover { background: var(--card-2); }

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 48px; font-weight: 300;
  color: var(--white); letter-spacing: -2px;
  line-height: 1; margin-bottom: 8px;
}
.stat-num span { color: var(--blue-light); }

.stat-label {
  font-size: 12px; color: var(--text-dim);
  font-weight: 300; line-height: 1.5;
}

/* ── DIVIDER ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-m), transparent);
  margin: 0 80px;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 80px;
  text-align: center; max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300; line-height: 1.2;
  letter-spacing: -1.5px;
  color: var(--white); margin-bottom: 20px;
}
.closing h2 em { font-style: italic; color: var(--blue-light); }

.closing p {
  font-size: 16px; color: var(--text);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 40px;
}

.closing-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-p {
  font-size: 14px; font-weight: 500;
  background: var(--blue); color: var(--white);
  padding: 13px 28px; border-radius: 7px;
  text-decoration: none; transition: all 0.2s;
}
.btn-p:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-s {
  font-size: 14px; font-weight: 400;
  border: 1px solid var(--border-m); color: var(--text);
  padding: 13px 28px; border-radius: 7px;
  text-decoration: none; transition: all 0.2s;
}
.btn-s:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 15px; font-weight: 600;
  color: var(--white);
}
.footer-logo em { font-style: italic; color: var(--blue-light); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12px; color: var(--text-dim);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 11px; color: var(--text-faint); }

/* ── FADE IN ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0; animation: fadeUp 0.7s ease forwards;
}
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .products-row { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .hero { padding: 110px 24px 80px; }
  .vm-section, .section-wrap, .closing { padding-left: 24px; padding-right: 24px; }
  .section-divider { margin: 0 24px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .mentor-card { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .closing-btns { flex-direction: column; align-items: center; }
}
