/* The site uses the same typography and layout in both themes. */
.header-controls{display:flex;align-items:center;gap:22px}
.site-header .brand{display:flex;flex-direction:column;align-items:center;gap:1px;flex-shrink:0}
.site-header .brand-logo{width:64px;height:64px;object-fit:contain}
.brand-label{display:block;font:800 11px/1.1 Manrope,sans-serif;letter-spacing:.15em;white-space:nowrap}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:8px 12px;border:1px solid #b8c8b7;border-radius:40px;background:transparent;color:#18352d;font:700 11px Manrope,sans-serif;white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.theme-toggle:hover{background:#e6ece3;transform:translateY(-2px)}
.theme-toggle:focus-visible{outline:3px solid #d21d25;outline-offset:3px}
.theme-icon{font:700 20px/1 Manrope,sans-serif}

html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background:#101b18;color:#edf4ec}
html[data-theme="dark"] .site-header{background:#101b18;color:#edf4ec}
html[data-theme="dark"] .header-inner{border-color:#355044}
html[data-theme="dark"] .site-nav a:not(.nav-contact):hover{color:#d3ed8a}
html[data-theme="dark"] .nav-contact{border-color:#638274}
html[data-theme="dark"] .nav-contact:hover{background:#d3ed8a;color:#102422}
html[data-theme="dark"] .theme-toggle{color:#eaf3e8;border-color:#567062}
html[data-theme="dark"] .theme-toggle:hover{background:#284238}
html[data-theme="dark"] .menu-toggle span{background:#edf4ec}
html[data-theme="dark"] .hero{background:radial-gradient(circle at 78% 40%,#20513e 0,#10372d 36%,#0b2722 66%,#081d1b 100%)}
html[data-theme="dark"] .metrics{background:#1c2b23}
html[data-theme="dark"] .metrics-grid>div{border-color:#3a5040}
html[data-theme="dark"] .metrics .plus,html[data-theme="dark"] .metrics .unit{color:#c7e895}
html[data-theme="dark"] .metrics-grid span:not(.plus):not(.unit),html[data-theme="dark"] .metric-note{color:#adbfaf}
html[data-theme="dark"] .eyebrow{color:#a7ca9f}
html[data-theme="dark"] .eyebrow.light{color:#d3ed8a}
html[data-theme="dark"] .section h2 span{color:#a7c7a4}
html[data-theme="dark"] .about-copy .lead{color:#f2f6ef}
html[data-theme="dark"] .about-copy p,html[data-theme="dark"] .section-top>p{color:#bdccbf}
html[data-theme="dark"] .underlined-link{border-color:#d3edc8}
html[data-theme="dark"] .ventures-section{background:#17251e}
html[data-theme="dark"] .filter-button{color:#d8ead8;border-color:#5a7563}
html[data-theme="dark"] .filter-button:hover{border-color:#d3ed8a;background:#284437}
html[data-theme="dark"] .filter-button.is-active{color:#102422;background:#d3ed8a;border-color:#d3ed8a}
html[data-theme="dark"] .venture-grid .venture-card:nth-child(1){background:linear-gradient(145deg,#c29a87,#d8b6a0)}
html[data-theme="dark"] .venture-grid .venture-card:nth-child(2){background:linear-gradient(145deg,#8eb3bc,#bdd5d4)}
html[data-theme="dark"] .venture-grid .venture-card:nth-child(3){background:linear-gradient(145deg,#afa796,#d3cabb)}
html[data-theme="dark"] .venture-grid .venture-card:nth-child(4){background:linear-gradient(145deg,#92b39b,#bbd5bd)}
html[data-theme="dark"] .venture-grid .venture-card:nth-child(5){background:linear-gradient(145deg,#98a9cb,#c6d2e7)}
html[data-theme="dark"] .venture-grid .venture-card:nth-child(6){background:linear-gradient(145deg,#91b99a,#c1d9b4)}
html[data-theme="dark"] .venture-grid .venture-card:nth-child(7){background:linear-gradient(145deg,#d1b176,#e8d5a5)}
html[data-theme="dark"] .venture-grid .venture-card:nth-child(8){background:linear-gradient(145deg,#b499b9,#d6c2d5)}
html[data-theme="dark"] .venture-grid .venture-card h3,html[data-theme="dark"] .venture-grid .card-arrow{color:#13251d}
html[data-theme="dark"] .venture-grid .venture-card p{color:#24392c}
html[data-theme="dark"] .venture-grid .card-top,html[data-theme="dark"] .venture-grid .card-meta{color:#294634}
html[data-theme="dark"] .more-ventures{border-color:#3d5845}
html[data-theme="dark"] .more-ventures span{color:#a5cca5}
html[data-theme="dark"] .purpose-section{background:#0a241c}
html[data-theme="dark"] .journey .timeline,html[data-theme="dark"] .milestone{border-color:#365241}
html[data-theme="dark"] .milestone .year{color:#b6db9a}
html[data-theme="dark"] .milestone p{color:#b6c6b8}
html[data-theme="dark"] .milestone .dot{background:#d3ed8a;box-shadow:0 0 0 6px #294535}
html[data-theme="dark"] .contact-section{background:#071a15}
html[data-theme="dark"] .site-footer{background:#0b1512;color:#edf4ec}
html[data-theme="dark"] .footer-inner p,html[data-theme="dark"] .footer-inner>span{color:#b2c3b4}
.footer-brand{flex-direction:column;align-items:center;gap:4px}
.footer-brand .brand-logo{width:64px;height:64px;background:transparent;padding:0;border-radius:0}
.footer-brand .brand-label{color:inherit}
@media(max-width:700px){.footer-brand .brand-logo{width:52px;height:52px}}
html[data-theme="dark"] .error-page{background:#14231c}
html[data-theme="dark"] .error-content>p:not(.eyebrow){color:#bfcec0}

@media(max-width:860px){
  .header-controls{gap:9px}
  .site-header .brand-logo{width:52px;height:52px}
  .brand-label{font-size:9px}
  .theme-toggle{width:40px;height:40px;padding:0}
  .theme-text{display:none}
  html[data-theme="dark"] .site-nav{background:#13221c;box-shadow:0 16px 28px #0008}
  html[data-theme="dark"] .site-nav>a{border-color:#375142}
}
@media(max-width:420px){
  .header-controls{gap:5px}
  .site-header .brand-logo{width:46px;height:46px}
  .brand-label{font-size:8px;letter-spacing:.12em}
  .theme-toggle{width:38px;height:38px}
}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}

/* Keep mobile navigation and the theme switch accessible while scrolling. */
@media(max-width:860px){
  html{scroll-padding-top:92px}
  .site-header{position:fixed;inset:0 0 auto;z-index:60;box-shadow:0 3px 16px #00000018}
  .theme-toggle{min-width:44px;min-height:44px}
  .site-nav{max-height:calc(100vh - 76px);max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
}
