/* =========================================================
   Vast Capital — site styles
   Brand colour: #a79a90 (change it once in :root below)
   ========================================================= */

:root {
  --brand: #a79a90;        /* primary taupe */
  --brand-dark: #8a7d73;   /* hover / accents */
  --brand-light: #f4f1ee;  /* soft section backgrounds */
  --ink: #2e2a27;          /* main text + dark sections */
  --muted: #6b615a;        /* secondary text */
  --white: #ffffff;
  --line: #e4ded8;

  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: .9rem;
}

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav .logo img { height: 44px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; }
.nav a.link {
  text-decoration: none;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav a.link:hover, .nav a.link[aria-current="page"] { border-color: var(--brand); color: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav ul {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav ul.open { display: flex; }
  .nav ul li a.link { display: block; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Hero banner ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(46,42,39,.88) 0%, rgba(46,42,39,.55) 55%, rgba(167,154,144,.35) 100%),
    url("../assets/img/hero.jpg") center/cover no-repeat,
    var(--brand);
  overflow: hidden;
}
/* Decorative chevrons echo the logo — remove if you add a hero photo you prefer clean */
.hero::after {
  content: "";
  position: absolute; right: -60px; bottom: -40px;
  width: 520px; height: 520px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cpath d='M4 4 L22 40 L40 4' fill='none' stroke='%23a79a90' stroke-width='3' opacity='.55'/%3E%3Cpath d='M13 4 L22 22 L31 4' fill='none' stroke='%23ffffff' stroke-width='2' opacity='.25'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero .eyebrow { color: var(--brand); }
.hero h1 { max-width: 760px; }
.hero p.lead { font-size: 1.2rem; max-width: 620px; color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--brand); }
.page-hero .eyebrow { color: var(--brand); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 680px; font-size: 1.12rem; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-soft { background: var(--brand-light); }
.section-brand { background: var(--brand); color: var(--ink); }
.section-dark { background: var(--ink); color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.split .rule { width: 56px; height: 4px; background: var(--brand); margin-bottom: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Value blocks ("Why Vast Capital?") */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 48px; }
.value {
  background: #fff;
  padding: 34px 30px;
  border-top: 4px solid var(--brand);
  box-shadow: 0 1px 0 var(--line);
}
.value .num { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .15em; color: var(--brand-dark); }
.value h3 { margin-top: .5rem; }
.value p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Criteria */
.criteria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
@media (max-width: 900px) { .criteria { grid-template-columns: 1fr; } }
.criteria-card { background: var(--ink); color: #fff; padding: 34px 30px; border-radius: var(--radius); }
.criteria-card h3 { color: var(--brand); font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.criteria-card ul { list-style: none; margin: 0; padding: 0; }
.criteria-card li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .98rem; }
.criteria-card li:last-child { border-bottom: 0; }
.criteria-card li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); }
.criteria-card .big { font-family: var(--font-head); font-weight: 600; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 52px; counter-reset: step; }
@media (max-width: 960px) { .process { grid-template-columns: 1fr; gap: 0; } }
.step { position: relative; padding: 0 22px 0 0; }
.step .dot {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  position: relative; z-index: 1;
}
.step::before { content: ""; position: absolute; top: 27px; left: 54px; right: 0; height: 2px; background: var(--ink); opacity: .35; }
.step:last-child::before { display: none; }
.step h3 { margin: 20px 0 4px; font-size: 1.1rem; }
.step .time { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: .7; margin-bottom: 8px; }
.step p { font-size: .95rem; margin: 0; }
@media (max-width: 960px) {
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 20px; padding: 0 0 30px; }
  .step .dot { grid-row: span 3; }
  .step h3 { margin-top: 4px; }
  .step::before { top: 54px; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; }
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto 2rem; }

/* ---------- Team ---------- */
.founder { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 32px; } }
.portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-size: 5rem; font-weight: 600; letter-spacing: .08em;
  border-radius: var(--radius);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder .role { font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 1.4rem; }
.founder .meta { list-style: none; padding: 0; margin: 1.8rem 0 0; border-top: 1px solid var(--line); }
.founder .meta li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.founder .meta a { text-decoration: none; border-bottom: 1px solid var(--brand); }

.advisors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 44px; }
.advisor .photo {
  aspect-ratio: 1; background: #ddd5ce; border-radius: var(--radius); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem;
  filter: grayscale(1);
}
.advisor h3 { margin-bottom: 2px; }
.advisor .title { font-family: var(--font-head); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); }
.advisor .org { color: var(--muted); font-size: .95rem; margin: 2px 0 8px; }
.advisor a { font-size: .9rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brand); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info .item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .label { display: block; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); }
.contact-info a { text-decoration: none; }
.contact-info a:hover { color: var(--brand-dark); }

.form { background: var(--brand-light); padding: 40px; border-radius: var(--radius); }
@media (max-width: 560px) { .form { padding: 26px 20px; } }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .06em; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 13px 14px; border: 1px solid #cfc6be; border-radius: var(--radius);
  background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field textarea { min-height: 150px; resize: vertical; }
.form .note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; font-weight: 600; }
.field .error { display: block; margin-top: 6px; font-size: .82rem; color: #b42318; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: var(--ink); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-tag { max-width: 340px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(46,42,39,.25); margin-top: 44px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
