/* ============================================================
   Aviataix Ventures — css/style.css
   Palette: gunmetal slate + aviation blue
   Typography: Barlow (display/headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600;700&family=Barlow+Condensed:wght@600;700&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  --brand-primary:       #141b2d;
  --accent-decorative:   #3e7fc4;
  --accent-aa-light:     #1e5a9e;
  --accent-aa-dark:      #7ab3e8;
  --fg-light-primary:    #0f1621;
  --fg-light-secondary:  #4a5568;
  --fg-dark-primary:     #e8ecf2;
  --fg-dark-secondary:   #8c9ab2;
  --bg-light:            #f5f6f8;
  --bg-white:            #FFFFFF;
  --bg-dark:             #141b2d;
  --bg-dark-alt:         #1d2640;
  --bg-mid:              #e8ecf2;

  --radius-card:   4px;
  --radius-tag:    2px;

  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   32px;
  --space-xl:   48px;
  --space-2xl:  64px;
  --space-3xl:  80px;
  --space-4xl:  96px;
  --space-5xl:  120px;

  --section-pad-v:       96px;
  --section-pad-v-sm:    64px;

  --max-w:   1200px;
  --max-w-md: 760px;
  --max-w-sm: 680px;
  --max-w-text: 560px;

  --nav-h: 68px;

  /* Typography scale */
  --hero-display: clamp(3rem, 6vw, 5.5rem);
  --h1:           clamp(2.2rem, 4vw, 3.5rem);
  --h2:           clamp(1.6rem, 2.5vw, 2.2rem);
  --h3:           clamp(1.2rem, 1.8vw, 1.5rem);
  --body:         1.0625rem;
  --small:        0.875rem;
  --label:        0.75rem;

  --font-display: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --transition-base: 300ms ease;
}

/* ── Reset / Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.75;
  color: var(--fg-light-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ── Utility Classes ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--md {
  max-width: var(--max-w-md);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--sm {
  max-width: var(--max-w-sm);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.label-caps {
  font-family: var(--font-body);
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

/* Dark-top pages: nav starts transparent */
.nav--dark-top {
  background: transparent;
}

.nav--dark-top.nav--scrolled {
  background: var(--bg-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

/* Light-top pages: nav starts solid bg_light */
.nav--light-top {
  background: var(--bg-light);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Logo wordmark */
.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
  text-decoration: none;
}

.nav__logo-name {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__logo-sub {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  border-top: 2px solid currentColor;
  padding-top: 2px;
  margin-top: 1px;
  opacity: 0.75;
}

/* Dark-bg nav: light text */
.nav--dark-top .nav__logo-name,
.nav--dark-top.nav--scrolled .nav__logo-name {
  color: var(--fg-dark-primary);
}
.nav--dark-top .nav__logo-sub,
.nav--dark-top.nav--scrolled .nav__logo-sub {
  color: var(--accent-aa-dark);
  border-top-color: var(--accent-aa-dark);
}

/* Light-bg nav: dark text */
.nav--light-top .nav__logo-name {
  color: var(--fg-light-primary);
}
.nav--light-top .nav__logo-sub {
  color: var(--accent-aa-light);
  border-top-color: var(--accent-aa-light);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.nav__link:hover {
  opacity: 0.7;
}

.nav--dark-top .nav__link,
.nav--dark-top.nav--scrolled .nav__link {
  color: var(--fg-dark-primary);
}

.nav--light-top .nav__link {
  color: var(--fg-light-primary);
}

.nav__link.active {
  opacity: 1;
}

.nav--dark-top .nav__link.active,
.nav--dark-top.nav--scrolled .nav__link.active {
  color: var(--accent-aa-dark);
}

.nav--light-top .nav__link.active {
  color: var(--accent-aa-light);
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  border: 1.5px solid currentColor;
}

.nav--dark-top .nav__cta,
.nav--dark-top.nav--scrolled .nav__cta {
  color: var(--accent-aa-dark);
  border-color: var(--accent-aa-dark);
}

.nav--dark-top .nav__cta:hover,
.nav--dark-top.nav--scrolled .nav__cta:hover {
  background: var(--accent-aa-dark);
  color: var(--bg-dark);
}

.nav--light-top .nav__cta {
  color: var(--accent-aa-light);
  border-color: var(--accent-aa-light);
}

.nav--light-top .nav__cta:hover {
  background: var(--accent-aa-light);
  color: var(--bg-white);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  height: 2px;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav--dark-top .nav__toggle span,
.nav--dark-top.nav--scrolled .nav__toggle span {
  background: var(--fg-dark-primary);
}

.nav--light-top .nav__toggle span {
  background: var(--fg-light-primary);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__link {
    color: var(--fg-dark-primary) !important;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 1rem;
  }

  .nav__cta {
    margin-top: var(--space-sm);
    color: var(--accent-aa-dark) !important;
    border-color: var(--accent-aa-dark) !important;
    width: 100%;
    text-align: center;
  }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-card);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--accent-decorative);
  border-color: var(--accent-decorative);
  color: #fff;
}
.btn--primary:hover {
  background: #3271b4;
  border-color: #3271b4;
}

.btn--ghost-dark {
  background: transparent;
  border-color: var(--accent-aa-dark);
  color: var(--accent-aa-dark);
}
.btn--ghost-dark:hover {
  background: var(--accent-aa-dark);
  color: var(--bg-dark);
}

.btn--ghost-light {
  background: transparent;
  border-color: var(--accent-aa-light);
  color: var(--accent-aa-light);
}
.btn--ghost-light:hover {
  background: var(--accent-aa-light);
  color: var(--bg-white);
}

/* ── Letter-Circle Avatars ──────────────────────────────── */
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-condensed);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.avatar--sm {
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
}

.avatar--lg {
  width: 96px;
  height: 96px;
  font-size: 2.2rem;
}

.avatar--jw {
  background: var(--bg-dark);
  color: var(--fg-dark-primary);
}

.avatar--me {
  background: var(--accent-aa-light);
  color: #FFFFFF;
}

.avatar--rk {
  background: var(--bg-dark-alt);
  color: var(--fg-dark-primary);
}

/* ── Section Base Styles ────────────────────────────────── */
.section {
  padding: var(--section-pad-v) 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--fg-dark-primary);
}

.section--dark-alt {
  background: var(--bg-dark-alt);
  color: var(--fg-dark-primary);
}

.section--light {
  background: var(--bg-light);
}

.section--white {
  background: var(--bg-white);
}

.section--mid {
  background: var(--bg-mid);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section--dark .section-label,
.section--dark-alt .section-label {
  color: var(--accent-aa-dark);
}

.section--light .section-label,
.section--white .section-label,
.section--mid .section-label {
  color: var(--fg-light-secondary);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.section-heading--h1 {
  font-size: var(--h1);
}

.section-heading--h2 {
  font-size: var(--h2);
  font-weight: 600;
}

.section--dark .section-heading,
.section--dark-alt .section-heading {
  color: var(--fg-dark-primary);
}

.section--light .section-heading,
.section--white .section-heading {
  color: var(--fg-light-primary);
}

.section--mid .section-heading {
  color: var(--fg-light-primary);
}

/* ── Hero Sections ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  padding: var(--space-5xl) 0 var(--space-4xl);
  padding-top: calc(var(--nav-h) + var(--space-5xl));
}

.hero--short {
  min-height: 60vh;
  padding-top: calc(var(--nav-h) + var(--space-3xl));
}

.hero--light {
  background: var(--bg-light);
  min-height: 50vh;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  color: var(--accent-aa-dark);
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: block;
}

.hero--light .hero__eyebrow {
  color: var(--fg-light-secondary);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--hero-display);
  line-height: 1.05;
  color: var(--fg-dark-primary);
  margin-bottom: var(--space-md);
  white-space: pre-line;
}

.hero--light .hero__headline {
  color: var(--fg-light-primary);
}

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--fg-dark-secondary);
  max-width: var(--max-w-text);
  margin-bottom: var(--space-xl);
}

.hero--light .hero__sub {
  color: var(--fg-light-secondary);
  max-width: 600px;
}

/* Stat row */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.stat-row__item {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  flex-direction: column;
}

.stat-row__divider {
  width: 1px;
  height: 40px;
  background: var(--bg-dark-alt);
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent-decorative);
}

.stat-label {
  font-size: var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dark-secondary);
  font-weight: 500;
}

/* Hero SVG motif */
.hero__motif {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 45%;
  z-index: 0;
  pointer-events: none;
}

.hero__motif-approach {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 60%;
  width: 50%;
  z-index: 0;
  pointer-events: none;
}

/* ── Index Page Sections ────────────────────────────────── */

/* Thesis section — two-column */
.thesis {
  background: var(--bg-light);
  padding: var(--section-pad-v) 0;
}

.thesis__grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 64px;
  align-items: start;
}

.thesis__body p {
  font-size: var(--body);
  color: var(--fg-light-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.thesis__body p:last-child {
  margin-bottom: 0;
}

.thesis__sector-heading {
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-light-secondary);
  margin-bottom: var(--space-sm);
}

.sector-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sector-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  border-left: 2px solid var(--accent-decorative);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-light-primary);
}

/* Portfolio section */
.portfolio__intro {
  max-width: var(--max-w-text);
  margin-bottom: var(--space-xl);
}

.portfolio__sub {
  font-size: var(--body);
  color: var(--fg-dark-secondary);
  line-height: 1.65;
  margin-top: var(--space-sm);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bg-dark-alt);
}

.portfolio-card {
  background: var(--bg-dark);
  padding: 28px 24px;
  transition: background var(--transition-base);
}

.portfolio-card:hover {
  background: var(--bg-dark-alt);
}

.portfolio-card__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--body);
  color: var(--fg-dark-primary);
  line-height: 1.3;
}

.portfolio-card__sector {
  font-size: 0.8125rem;
  color: var(--fg-dark-secondary);
  margin-top: 6px;
  line-height: 1.4;
}

.portfolio-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.portfolio-card__year {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-aa-dark);
}

.portfolio-card__stage {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-aa-dark);
  background: rgba(62, 127, 196, 0.15);
  border-radius: var(--radius-tag);
  padding: 2px 8px;
}

/* Partners preview */
.partners-preview {
  background: var(--bg-mid);
  padding: var(--space-3xl) 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.partner-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.partner-card__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--body);
  color: var(--fg-light-primary);
  margin-top: var(--space-sm);
}

.partner-card__role {
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-aa-light);
  margin-top: 4px;
}

.partner-card__teaser {
  font-size: var(--small);
  color: var(--fg-light-secondary);
  margin-top: 12px;
  line-height: 1.6;
}

.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--small);
  font-weight: 500;
  color: var(--accent-aa-light);
  text-decoration: none;
  margin-top: var(--space-sm);
  transition: gap var(--transition-base);
}

.partner-card__link:hover {
  gap: 10px;
}

.partner-card__link .arrow {
  font-size: 0.875rem;
}

/* Funds section */
.funds {
  background: var(--bg-dark-alt);
  padding: var(--space-3xl) 0;
}

.funds__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.fund-card {
  background: var(--bg-dark);
  border-radius: var(--radius-card);
  padding: 36px 32px;
}

.fund-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg-dark-primary);
}

.fund-card__size {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent-decorative);
  margin-top: 8px;
  line-height: 1;
}

.fund-card__meta {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fund-card__meta-item {
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dark-secondary);
}

.fund-card__note {
  font-size: var(--small);
  color: var(--fg-dark-secondary);
  margin-top: 12px;
  line-height: 1.6;
}

/* ── Team Page ──────────────────────────────────────────── */

.team-hero {
  background: var(--bg-light);
  padding-top: calc(var(--nav-h) + var(--space-5xl));
  padding-bottom: var(--space-3xl);
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
}

.partner-section {
  padding: var(--space-3xl) 0;
}

.partner-section--white {
  background: var(--bg-white);
}

.partner-section--mid {
  background: var(--bg-mid);
}

.partner-layout {
  display: grid;
  grid-template-columns: 30fr 65fr;
  gap: 64px;
  align-items: start;
}

.partner-meta {
  /* left column */
}

.partner-meta__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--fg-light-primary);
  margin-top: var(--space-sm);
}

.partner-meta__title {
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-aa-light);
  margin-top: 4px;
}

.partner-meta__details {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.partner-meta__detail {
  font-size: var(--small);
  color: var(--fg-light-secondary);
}

.partner-bio p {
  font-size: 1rem;
  color: var(--fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 1.25em;
}

.partner-bio p:last-child {
  margin-bottom: 0;
}

/* Team contact CTA */
.team-contact {
  background: var(--bg-dark);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.team-contact__body {
  font-size: var(--body);
  color: var(--fg-dark-secondary);
  line-height: 1.75;
  max-width: 680px;
  margin: var(--space-sm) auto 0;
}

.team-contact__email {
  display: block;
  font-weight: 600;
  font-size: var(--body);
  color: var(--accent-aa-dark);
  margin-top: var(--space-md);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.team-contact__email:hover {
  opacity: 0.75;
}

/* ── Approach Page ──────────────────────────────────────── */

.mandate {
  background: var(--bg-white);
  padding: var(--section-pad-v) 0;
}

.mandate-block {
  border-bottom: 1px solid var(--bg-mid);
  padding: var(--space-md) 0;
}

.mandate-block:first-child {
  padding-top: var(--space-lg);
}

.mandate-block:last-child {
  border-bottom: none;
}

.mandate-block__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--body);
  color: var(--fg-light-primary);
  margin-bottom: 8px;
}

.mandate-block__body {
  font-size: var(--body);
  color: var(--fg-light-secondary);
  line-height: 1.75;
}

/* Founder criteria */
.criteria {
  background: var(--bg-mid);
  padding: var(--section-pad-v) 0;
}

.criteria__grid {
  display: grid;
  grid-template-columns: 40fr 55fr;
  gap: 64px;
  align-items: start;
}

.criteria__intro p {
  font-size: var(--body);
  color: var(--fg-light-secondary);
  line-height: 1.75;
  margin-top: var(--space-sm);
}

.criteria-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.criteria-item {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  border-left: 2px solid var(--accent-decorative);
  padding: 20px 20px 20px 16px;
}

.criteria-item__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--fg-light-primary);
  margin-bottom: 6px;
}

.criteria-item__text {
  font-size: 0.9rem;
  color: var(--fg-light-secondary);
  line-height: 1.65;
}

/* Process section */
.process {
  background: var(--bg-dark);
  padding: var(--space-3xl) 0;
}

.process__body p {
  font-size: var(--body);
  color: var(--fg-dark-secondary);
  line-height: 1.75;
  margin-bottom: 1.25em;
}

.process__body p:last-child {
  margin-bottom: 0;
}

/* Contact section */
.contact-section {
  background: var(--bg-dark-alt);
  padding: var(--space-3xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-left__body {
  font-size: var(--body);
  color: var(--fg-dark-secondary);
  max-width: 420px;
  line-height: 1.75;
  margin-top: var(--space-sm);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item__label {
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dark-secondary);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: var(--body);
  font-weight: 500;
  color: var(--fg-dark-primary);
}

.contact-item__value a {
  color: var(--accent-aa-dark);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.contact-item__value a:hover {
  opacity: 0.75;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__brand-name {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dark-primary);
}

.footer__brand-address {
  font-size: 0.8125rem;
  color: var(--fg-dark-secondary);
  line-height: 1.5;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__link {
  font-size: var(--small);
  color: var(--fg-dark-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--accent-aa-dark);
}

.footer__disclaimer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer__disclaimer p {
  font-size: 0.8125rem;
  color: var(--fg-dark-secondary);
  line-height: 1.6;
  max-width: 880px;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--fg-dark-secondary);
  margin-top: 6px;
}

/* ── Cookie Banner ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 3rem);
  max-width: 780px;
  background: var(--bg-dark-alt);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  box-shadow: 0 4px 32px rgba(0,0,0,0.45);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--fg-dark-secondary);
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--accent-aa-dark);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-tag);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}

.cookie-banner__btn--accept {
  background: var(--accent-decorative);
  border-color: var(--accent-decorative);
  color: #fff;
}

.cookie-banner__btn--accept:hover {
  background: #3271b4;
}

.cookie-banner__btn--decline {
  background: transparent;
  border-color: var(--fg-dark-secondary);
  color: var(--fg-dark-secondary);
}

.cookie-banner__btn--decline:hover {
  border-color: var(--fg-dark-primary);
  color: var(--fg-dark-primary);
}

/* ── Legal Pages ────────────────────────────────────────── */
.legal-hero {
  background: var(--bg-light);
  padding-top: calc(var(--nav-h) + var(--space-3xl));
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--bg-mid);
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--h1);
  color: var(--fg-light-primary);
}

.legal-hero .legal-meta {
  font-size: var(--small);
  color: var(--fg-light-secondary);
  margin-top: 8px;
}

.legal-body {
  background: var(--bg-white);
  padding: var(--space-4xl) 0 var(--space-5xl);
}

.legal-article {
  max-width: 740px;
}

.legal-article section {
  margin-bottom: var(--space-xl);
}

.legal-article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--fg-light-primary);
  margin-bottom: var(--space-sm);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bg-mid);
}

.legal-article h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg-light-primary);
  margin-bottom: 8px;
  margin-top: var(--space-sm);
}

.legal-article p {
  font-size: 0.9375rem;
  color: var(--fg-light-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.legal-article ul,
.legal-article ol {
  list-style: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-article li {
  font-size: 0.9375rem;
  color: var(--fg-light-secondary);
  line-height: 1.65;
  margin-bottom: 6px;
}

.legal-article a {
  color: var(--accent-aa-light);
  text-decoration: underline;
}

.legal-article address {
  font-size: 0.9375rem;
  color: var(--fg-light-secondary);
  line-height: 1.7;
}

.legal-header {
  margin-bottom: var(--space-lg);
}

.legal-header h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--h2);
  color: var(--fg-light-primary);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: var(--small);
  color: var(--fg-light-secondary);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-sm);
  font-size: var(--small);
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--bg-mid);
  color: var(--fg-light-secondary);
}

.legal-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--fg-light-primary);
}

/* ── Scroll-reveal Animations ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── Responsive Breakpoints ─────────────────────────────── */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .criteria__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-v: var(--section-pad-v-sm);
  }

  .hero {
    padding-top: calc(var(--nav-h) + var(--space-3xl));
  }

  .hero__headline {
    white-space: normal;
  }

  .stat-row__divider {
    display: none;
  }

  .stat-row {
    gap: var(--space-md);
  }

  .thesis__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .funds__grid {
    grid-template-columns: 1fr;
  }

  .partner-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__right {
    align-items: flex-start;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }

  .hero__motif,
  .hero__motif-approach {
    opacity: 0.35;
    width: 100%;
    height: 40%;
    top: auto;
    bottom: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .nav__inner {
    padding: 0 var(--space-md);
  }
}
