/* Geekz Ventures — site styles
   Palette: the two Geekz Ventures browns — dark #352D28 and light #9C8B7E — on warm neutrals.
   Token names (--midnight, --cobalt, --amber) are kept from the earlier blue/orange build:
   --midnight/--cobalt now resolve to the dark brown, --amber to the light brown. */
:root {
  --midnight: #352D28;
  --midnight-2: #352D28;
  --cobalt: #352D28;
  --cobalt-soft: #EBE6E2;
  --amber: #9C8B7E;
  --amber-deep: #8A796C;
  --ink: #352D28;
  --ink-2: #6A5E55;
  --paper: #F6F3F0;
  --line: #E2DCD6;
  --taupe: #9C8B7E;
  --white: #FFFFFF;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(64px, 9vw, 120px);
  --radius-sm: 6px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--cobalt); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
address { font-style: normal; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 14px; font-weight: 600; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

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

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); color: inherit; margin: 0 0 .5em; font-weight: 750; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); line-height: 1.02; font-stretch: 85%; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.08; font-stretch: 90%; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
.big { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink); }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.5; max-width: 38ch; }
.small { font-size: .875rem; color: var(--ink-2); }
.prose { max-width: 62ch; }
.prose > :last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--body);
  padding: .9em 1.35em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-lg { font-size: 1.075rem; padding: 1.05em 1.6em; }
.btn-block { width: 100%; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-deep); color: var(--white); }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-cobalt:hover { background: var(--amber-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand-logo { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .975rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--cobalt); }
.nav-donate { padding: .7em 1.2em; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s ease, opacity .2s ease; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; } .menu-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-nav a[aria-current="page"] { color: var(--cobalt); border-bottom-color: var(--line); }
  .nav-donate { margin-top: 18px; padding: 1em; }
  .brand-logo { height: 44px; }
}

/* ---------- Bands ---------- */
.band { padding: var(--band) 0; }
.band-paper { background: var(--paper); }
.section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 1.2em; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--midnight); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 0 38%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--midnight) 0%, rgba(53,45,40,.82) 30%, rgba(53,45,40,.25) 75%, rgba(53,45,40,.15) 100%); }
.hero-grid { padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(48px, 6vw, 72px); }
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; font-stretch: 80%; line-height: .98; letter-spacing: -0.03em; margin-bottom: .45em; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* the signature: the founder's path drawn as a signal line */
.journey { list-style: none; margin: 0; padding: 36px 0 clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); position: relative; counter-reset: step; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 43px; height: 2px; background: rgba(255,255,255,.22); }
.journey::after { content: ""; position: absolute; left: 0; top: 43px; height: 2px; width: 100%; background: var(--amber); transform-origin: left center; animation: draw 1.6s cubic-bezier(.6,.05,.2,1) .35s both; }
.journey li { position: relative; z-index: 1; padding-right: 16px; counter-increment: step; }
.journey .node { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--midnight); border: 2px solid var(--amber); margin-bottom: 18px; animation: lit .3s ease both; }
.journey li:nth-child(1) .node { animation-delay: .35s; }
.journey li:nth-child(2) .node { animation-delay: 1.05s; }
.journey li:nth-child(3) .node { animation-delay: 1.75s; }
.journey .step-label { display: block; font-family: var(--display); font-weight: 650; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.15; font-stretch: 90%; }
.journey .step-label::before { content: counter(step) ". "; color: var(--amber); }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lit { from { background: var(--midnight); } to { background: var(--amber); } }

@media (max-width: 760px) {
  .hero-media { inset: 0; }
  .hero-media::after { background: linear-gradient(180deg, rgba(53,45,40,.7) 0%, rgba(53,45,40,.88) 55%, var(--midnight) 100%); }
  .journey { grid-template-columns: 1fr; gap: 22px; padding-left: 34px; }
  .journey::before, .journey::after { left: 7px; right: auto; top: 44px; bottom: 60px; width: 2px; height: auto; transform-origin: top center; }
  .journey::after { animation-name: drawY; }
  .journey .node { position: absolute; left: -34px; top: 4px; margin: 0; }
  @keyframes drawY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-head { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.03; font-stretch: 85%; position: sticky; top: 110px; }
.focus { list-style: none; padding: 0; margin: 4px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.focus li { border: 1.5px solid var(--cobalt); color: var(--cobalt); border-radius: 999px; padding: .35em .9em; font-weight: 600; font-size: .925rem; }
.note { color: var(--ink-2); padding-left: 14px; border-left: 3px solid var(--taupe); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } .intro-head { position: static; } }

/* ---------- Cohort ---------- */
.cohort { background: var(--midnight); color: var(--white); }
.cohort-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cohort-media { display: block; border-radius: var(--radius-lg); overflow: hidden; }
.cohort-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cohort-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-stretch: 85%; }
.cohort-copy p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 40ch; }
@media (max-width: 860px) { .cohort-grid { grid-template-columns: 1fr; } }

/* ---------- Support (partner / donate) ---------- */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.support-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; }
.support-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.support-copy { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.support-copy p { color: var(--ink-2); flex: 1; }
@media (max-width: 760px) { .support-grid { grid-template-columns: 1fr; } }

/* ---------- Logos ---------- */
.logos-band { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.logos-title { font-size: 1.15rem; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2); font-family: var(--body); font-weight: 600; text-align: center; margin-bottom: 28px; }
.logos { list-style: none; padding: 0; margin: 0 0 64px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 64px); }
.logos:last-child { margin-bottom: 0; }
.logos img { width: auto; object-fit: contain; }
.logos-partners img { max-height: 76px; max-width: 220px; }
.logos-press img { max-height: 40px; max-width: 170px; filter: grayscale(1); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.logos-press .logo-inno img { max-width: 240px; max-height: none; width: 240px; }
.logos-press .logo-hype img { max-width: 200px; max-height: none; width: 200px; }
.logos-press a:hover img, .logos-press a:focus-visible img { filter: none; opacity: 1; }

/* ---------- Newsletter ---------- */
.newsletter-inner { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.newsletter-inner p { color: var(--ink-2); margin: 0; }
.newsletter-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.newsletter-form .field-wide { grid-column: 1 / -1; }
.newsletter-form .btn { justify-self: start; }
.newsletter-form .form-status { grid-column: 1 / -1; }
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .newsletter-form { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.newsletter-form .field { margin: 0; }
label { font-weight: 600; font-size: .925rem; }
.req { font-weight: 400; color: var(--ink-2); }
input, textarea, select {
  font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: var(--white); border: 1.5px solid #CBC1B8; border-radius: var(--radius-sm);
  padding: .8em .9em; width: 100%;
}
input:hover, textarea:hover { border-color: var(--ink-2); }
input:focus, textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-soft); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #C62828; }
.form-status { margin: 10px 0 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #1B7F3A; }
.form-status.err { color: #C62828; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }
.card-form { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); }
.card-form > p:first-of-type { color: var(--ink-2); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: clamp(360px, 52vh, 560px); display: flex; align-items: flex-end; color: var(--white); background: var(--midnight); isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(53,45,40,.15) 0%, rgba(53,45,40,.55) 55%, rgba(53,45,40,.92) 100%); }
.page-hero-text { padding-top: 120px; padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero-media img { object-position: var(--focus, 50% 50%); }
.page-hero h1 { margin-bottom: .25em; }
.page-hero .lede { color: rgba(255,255,255,.9); margin: 0; }

.page-intro { padding-top: clamp(56px, 7vw, 96px); }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-form { grid-template-columns: 5fr 6fr; }
@media (max-width: 860px) { .split, .split-form { grid-template-columns: 1fr; } }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-pair figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.photo-pair figure:nth-child(2) { margin-top: 48px; }
.photo-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.side-photo { margin: 32px 0 0; border-radius: var(--radius-lg); overflow: hidden; }
.side-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Mission ---------- */
.mission { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 88px); }
.mission-statement { font-family: var(--display); font-weight: 700; font-stretch: 85%; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--midnight); margin: 0; padding-left: 24px; border-left: 6px solid var(--amber); }
.mission .prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.outcomes { margin: 0 0 1.6em; padding-left: 1.2em; }
.outcomes li { margin-bottom: .45em; }
.outcomes li::marker { color: var(--cobalt); }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; } }

/* ---------- People ---------- */
.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 36px 24px; }
.people-team { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.person-photo { border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); margin-bottom: 14px; }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.person-lg .person-photo { border-radius: var(--radius-lg); }
.person-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; margin: 0 0 4px; font-stretch: 92%; }
.person-lg .person-name { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.person-role { color: var(--ink-2); margin: 0; font-size: .95rem; line-height: 1.4; }
@media (max-width: 680px) { .people-team { grid-template-columns: 1fr 1fr; } .people { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
@media (max-width: 400px) { .people-team { grid-template-columns: 1fr; } }

/* ---------- Apply ---------- */
.apply-card { background: var(--midnight); color: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 44px); position: sticky; top: 110px; }
.apply-status { font-family: var(--display); font-weight: 650; font-size: 1.35rem; line-height: 1.2; font-stretch: 92%; }
.apply-card h2 { font-size: 1.2rem; font-stretch: 100%; margin: 32px 0 14px; }
.prep { margin: 0 0 18px; padding-left: 1.3em; }
.prep li { margin-bottom: .6em; color: rgba(255,255,255,.88); }
.prep li::marker { color: var(--amber); font-weight: 700; }
.apply-card .small { color: rgba(255,255,255,.65); margin: 0; }
@media (max-width: 860px) { .apply-card { position: static; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.faq { border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: 650; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.25; font-stretch: 92%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cobalt); }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body { padding: 0 48px 26px 0; max-width: 64ch; color: var(--ink-2); }
.faq-body h3 { color: var(--ink); margin-top: 1.2em; }
.faq-body ol { padding-left: 1.3em; }
.faq-body li { margin-bottom: .5em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } .faq-body { padding-right: 0; } }

/* ---------- Contact ---------- */
.contact-links { display: grid; gap: 14px; }
.contact-link { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
.contact-link:hover { border-color: var(--cobalt); }
.contact-link strong { font-family: var(--display); font-size: 1.25rem; font-stretch: 92%; }
.contact-link span { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight-2); border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.78); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .975rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 40px; }
.footer-name { font-family: var(--display); font-weight: 750; font-size: 1.6rem; color: var(--white); font-stretch: 88%; margin-bottom: .4em; }
.footer-org p { max-width: 40ch; }
.footer-org address { margin-bottom: 22px; }
.footer-head { color: var(--white); font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; }
.footer-legal p { margin: 0; }
.socials { display: flex; gap: 10px; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer .social:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.socials-lg .social { width: 48px; height: 48px; border-color: var(--line); color: var(--ink); }
.socials-lg .social:hover { border-color: var(--cobalt); color: var(--cobalt); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-org { grid-column: 1 / -1; } }

.notfound { min-height: 50vh; }
.notfound .btn { margin: 0 8px 8px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .journey .node { background: var(--amber); }
}

/* Our Mission banner: the photo is a tall portrait, so anchor the crop on the faces (upper part of the frame)
   and give the banner extra height so heads aren't clipped or covered by the title. */
.page-hero-mission { --focus: 50% 8%; min-height: clamp(420px, 62vh, 640px); }
.page-hero-mission .page-hero-media img { object-position: var(--focus); }
@media (max-width: 760px) { .page-hero-mission { --focus: 50% 14%; min-height: 440px; } }
