/* ===================================================================
   Alma Ventures — alma-mh.com
   Dark cinematic direction · gold accent · Newsreader / Archivo / Space Mono
   Faithful to the Claude Design homepage export.
   =================================================================== */

:root {
  --deep:     #0A1D1A;   /* deepest bg */
  --bg:       #0E2621;   /* base panel */
  --bg-who:   #0F241F;   /* who-is strip */
  --panel:    #14302B;   /* mid panel */
  --cream:    #FBF7EE;   /* headings / light text */
  --body:     #C9C4B4;   /* body copy on dark */
  --muted:    #8FA39C;   /* secondary on dark */
  --gold:     #C0891F;   /* gold */
  --gold-br:  #E0A93C;   /* bright gold */
  --sand:     #C9B78F;   /* sand */
  --hair:     rgba(201,183,143,.14);
  --hair-2:   rgba(201,183,143,.22);
  --hair-3:   rgba(201,183,143,.28);

  --display:  'Newsreader', Georgia, serif;
  --sans:     'Archivo', system-ui, sans-serif;
  --mono:     'Space Mono', ui-monospace, monospace;

  --maxw:     1360px;
  --pad:      56px;

  --hero-grad: radial-gradient(130% 120% at 80% 12%, #1C7A6E 0%, #14302B 44%, #0A1D1A 100%);
  --big-grad:  radial-gradient(120% 150% at 12% 0%, #16352E 0%, #0E2621 52%, #0A1D1A 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- shared eyebrow / headings ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 30px;
}
.eyebrow-bright { color: var(--gold-br); }
.eyebrow-sm { font-size: 11px; letter-spacing: .28em; margin: 0 0 14px; }
.section-h3 {
  font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.15; color: var(--cream); margin: 0 0 40px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; padding: 15px 30px; border-radius: 3px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-gold { background: var(--gold); color: #14302B; font-weight: 600; }
.btn-gold:hover { background: var(--gold-br); transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(201,183,143,.5); color: var(--cream); }
.btn-outline:hover { border-color: var(--sand); background: rgba(201,183,143,.08); transform: translateY(-2px); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10,29,26,.72); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--hair); background: rgba(10,29,26,.9); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-name { font-family: var(--display); font-size: 26px; color: var(--cream); }
.brand-sub { font-family: var(--mono); font-size: 10px; letter-spacing: .36em; text-transform: uppercase; color: var(--gold); }
.brand-mark { width: 42px; height: 29px; flex-shrink: 0; }
.brand-mark-sm { width: 34px; height: 24px; }
.brand-word { font-family: var(--display); font-size: 24px; letter-spacing: .2em; color: var(--cream); }

.nav-links { display: flex; gap: 34px; align-items: center; font-size: 13.5px; color: #C9C4B4; }
.nav-links a { transition: color .2s; }
.nav-links a:not(.nav-contact):hover { color: var(--cream); }
.nav-contact {
  border: 1px solid var(--gold); color: var(--gold-br) !important; padding: 8px 20px; border-radius: 3px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; transition: background .25s, color .25s;
}
.nav-contact:hover { background: var(--gold); color: #14302B !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--sand); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--hero-grad);
  padding: 168px var(--pad) 88px; /* extra top for fixed nav */
}
.hero .grain {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent, transparent 108px, rgba(201,183,143,.05) 108px, rgba(201,183,143,.05) 109px);
}
.hero-inner { position: relative; max-width: 920px; padding-left: 0; padding-right: 0; }
.hero .eyebrow { margin-bottom: 30px; }
.hero-title {
  font-family: var(--display); font-weight: 300; font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.01; letter-spacing: -.025em; margin: 0 0 30px; color: var(--cream);
}
.hero-title em { color: var(--gold-br); }
.hero-lede { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--body); max-width: 620px; margin: 0 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark {
  position: absolute; right: 34px; bottom: 34px; z-index: 1;
  font-family: var(--mono); font-size: 10px; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(201,183,143,.55);
}

/* ---------- WHO IS ALMA ---------- */
.who { background: var(--bg-who); border-bottom: 1px solid var(--hair); padding: 40px 0; }
.who-line {
  font-family: var(--display); font-weight: 300; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.5;
  color: #D8D2C2; max-width: 1080px; margin: 0;
}
.who-line em { color: var(--gold-br); }

/* ---------- STAT BAND ---------- */
.stats { border-bottom: 1px solid var(--hair); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 52px; padding-bottom: 52px; }
.stat { padding: 0 32px; border-right: 1px solid var(--hair); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat-num { font-family: var(--display); font-size: clamp(38px, 5vw, 50px); color: var(--gold-br); line-height: 1; }
.stat-lbl { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- THE BIG PICTURE ---------- */
.picture { background: var(--big-grad); border-bottom: 1px solid var(--hair); padding: 100px 0; }
.picture-title {
  font-family: var(--display); font-weight: 300; font-size: clamp(34px, 5vw, 58px); line-height: 1.1;
  letter-spacing: -.022em; max-width: 1120px; margin: 0 0 28px; color: var(--cream);
}
.picture-title em { color: var(--gold-br); }
.picture-sub { font-size: 18px; line-height: 1.62; color: var(--body); max-width: 780px; margin: 0 0 60px; }
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(201,183,143,.18); border: 1px solid rgba(201,183,143,.18);
}
.pillar { background: var(--bg); padding: 34px; }
.pillar-tag { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--gold-br); display: block; margin-bottom: 16px; }
.pillar p { font-family: var(--display); font-size: 24px; line-height: 1.3; color: var(--cream); margin: 0; }
.pull { margin: 52px 0 0; border-left: 3px solid var(--gold); padding: 6px 0 6px 28px; }
.pull p { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.25; color: var(--cream); margin: 0; }
.pull em { color: var(--gold-br); }

/* ---------- THE MODEL ---------- */
.model { padding: 80px 0; }
.model-lede {
  font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.3;
  letter-spacing: -.01em; max-width: 960px; margin: 0 0 56px; color: var(--cream);
}
.model-lede em { color: var(--gold-br); }
.arms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.arm { border: 1px solid var(--hair-3); border-radius: 5px; padding: 36px; }
.arm-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); display: block; margin-bottom: 16px; }
.arm-title { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--cream); margin: 0; }
.arm p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 14px 0 0; }
.arm-gold { background: var(--gold); border-color: var(--gold); }
.arm-gold .arm-tag { color: #5C3E0A; }
.arm-gold .arm-title { color: #14302B; }
.arm-gold p { color: #4A3208; }
.synergy { margin-top: 60px; border-top: 1px solid var(--hair); padding-top: 52px; text-align: center; }
.synergy .eyebrow { margin-bottom: 20px; }
.synergy-line { font-family: var(--display); font-weight: 300; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.32; color: var(--cream); max-width: 34ch; margin: 0 auto; }
.synergy-line em { color: var(--gold-br); font-style: italic; }

/* ---------- WHERE WE ACT ---------- */
.where { padding: 0 0 80px; }
.areas {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(201,183,143,.18); border: 1px solid rgba(201,183,143,.18);
}
.area { background: var(--bg); padding: 26px; }
.area-num { font-family: var(--mono); font-size: 12px; color: var(--gold-br); display: block; }
.area-name { font-family: var(--display); font-size: 20px; margin-top: 8px; color: var(--cream); display: block; }

/* ---------- INSTITUTIONAL EDGE ---------- */
.edge { padding: 0 0 80px; }
.edge-sub { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 760px; margin: 0 0 38px; }
.edge-sub-tight { max-width: 840px; line-height: 1.62; margin-bottom: 30px; }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 60px; }
.partner { border: 1px solid var(--hair-2); border-radius: 5px; padding: 30px 28px; }
.partner h4 { font-family: var(--display); font-weight: 400; font-size: 23px; color: var(--cream); margin: 0; }
.partner p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 14px 0 0; }
.advisors {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(201,183,143,.18); border: 1px solid rgba(201,183,143,.18);
}
.advisor { background: var(--bg); padding: 26px 24px; }
.advisor-name { font-family: var(--display); font-size: 20px; color: var(--cream); }
.advisor-role { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* ---------- TEAM ---------- */
.team { padding: 0 0 80px; }
.members { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.member { display: flex; gap: 22px; align-items: flex-start; }
.member-photo {
  width: 104px; height: 128px; flex-shrink: 0; border-radius: 4px; border: 1px solid rgba(201,183,143,.2);
  background: repeating-linear-gradient(135deg, #16332D, #16332D 8px, #0E2621 8px, #0E2621 16px);
}
.member-name { font-family: var(--display); font-size: 24px; color: var(--cream); }
.member-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-br); margin: 6px 0 12px; }
.member-body p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- FOOTER ---------- */
.footer { background: var(--deep); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.footer-line { font-family: var(--display); font-style: italic; font-size: clamp(28px, 4vw, 38px); line-height: 1.05; color: var(--cream); }
.footer-sub { font-size: 14px; color: var(--muted); margin-top: 12px; }
.footer-meta { text-align: right; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--sand); line-height: 2; display: flex; flex-direction: column; }
.footer-meta a:hover { color: var(--gold-br); }
.footer-site { color: var(--gold-br); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-word { font-size: 20px; }

/* ---------- CONTACT ---------- */
.contact { padding: 92px 0; border-top: 1px solid var(--hair); background: var(--big-grad); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-intro .section-h3 { margin-bottom: 18px; }
.contact-lede { font-size: 16px; line-height: 1.62; color: var(--body); max-width: 46ch; margin: 0 0 26px; }
.contact-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--sand); line-height: 2.1; display: flex; flex-direction: column; }
.contact-meta a:hover { color: var(--gold-br); }
.contact-form { background: rgba(201,183,143,.045); border: 1px solid var(--hair-2); border-radius: 8px; padding: 32px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--cream);
  background: rgba(10,29,26,.55); border: 1px solid var(--hair-2); border-radius: 5px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,137,31,.18); }
.field textarea { resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1080px) {
  :root { --pad: 40px; }
  .pillars, .areas, .advisors { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,29,26,.98); border-bottom: 1px solid var(--hair); padding: 8px 40px 22px;
    transform: translateY(-140%); transition: transform .35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--hair); }
  .nav-contact { text-align: center; margin-top: 12px; border-bottom: 0 !important; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat { border-right: 0; padding: 0 24px; }
  .stat:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--hair); }
  .stat:nth-child(even) { padding-right: 0; }

  .arms, .members { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
@media (max-width: 560px) {
  :root { --pad: 22px; }
  .hero { padding-top: 138px; padding-bottom: 64px; }
  .hero-mark { display: none; }
  .picture, .model { padding: 66px 0; }
  .pillars, .areas, .advisors { grid-template-columns: 1fr; }
  .pillar p { font-size: 21px; }
  .who, .stats .stat-grid { }
  .stat-grid { grid-template-columns: 1fr; gap: 26px; }
  .stat, .stat:nth-child(odd) { border-right: 0 !important; padding: 0; border-bottom: 1px solid var(--hair); padding-bottom: 22px; }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .member { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
