/* Everest AI Ventures — shared site styles */

:root {
  /* Pastel palette */
  --bg: #FBF7F0;        /* warm cream */
  --bg-2: #F4EFE6;      /* deeper cream */
  --ink: #1B2230;       /* deep navy */
  --ink-2: #424B5C;
  --ink-3: #6B7588;
  --line: #E5DECE;

  --peach: #FFD8C2;
  --peach-deep: #F1A37D;
  --sky:   #C9DCEE;
  --sky-deep: #6F9DC9;
  --sage:  #CFE3D1;
  --sage-deep: #6FA579;
  --lavender: #D8CFEC;
  --lavender-deep: #8A78C2;
  --butter: #F4E1A4;
  --butter-deep: #C9A23A;
  --rose: #F2CCD2;
  --rose-deep: #C26F7D;

  --accent: #1B2230;

  --serif: "Instrument Serif", "Newsreader", "Cormorant Garamond", Georgia, serif;
  --sans:  "Geist", "Söhne", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ───── nav ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  position: relative;
  flex-shrink: 0;
}
.brand sup {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 2px;
  vertical-align: super;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-cta {
  padding: 9px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.01em;
  border: none;
  transition: transform .15s;
}
.nav-cta:hover { transform: translateY(-1px); }

/* ───── layout primitives ───── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.section.intro { padding: 96px 0 64px; }
.divider { height: 1px; background: var(--line); margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}
.h-display { font-size: clamp(48px, 6.4vw, 92px); line-height: 0.98; }
.h-1 { font-size: clamp(40px, 4.6vw, 64px); }
.h-2 { font-size: clamp(30px, 3.2vw, 44px); }
.h-3 { font-size: clamp(22px, 2vw, 28px); }

p.lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}
p { text-wrap: pretty; }

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform .15s, background .2s;
  border: none;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* generic card */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

/* footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 56px 0 36px;
  color: var(--ink-2);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
}

/* utility pastel blocks */
.swatch-peach { background: var(--peach); }
.swatch-sky { background: var(--sky); }
.swatch-sage { background: var(--sage); }
.swatch-lavender { background: var(--lavender); }
.swatch-butter { background: var(--butter); }
.swatch-rose { background: var(--rose); }
.swatch-cream { background: var(--bg-2); }

/* tag/chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-2);
}
.chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage-deep);
}

/* image-style placeholder block */
.imgblock {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}
.imgblock .imgblock-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(27, 34, 48, 0.9);
  color: var(--bg);
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}

/* page hero common */
.page-hero {
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}

/* utility */
.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.center { display: flex; align-items: center; justify-content: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ── photo-realistic teammate portraits ── */
.tt-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  z-index: 0;
}

/* responsive */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .page-hero { padding: 88px 0 48px; }
}
