@font-face { font-family: 'Cinzel Local'; src: url('/fonts/cinzel.woff2') format('woff2'); font-display: swap; font-style: normal; font-weight: 400 900; }
@font-face { font-family: 'Inter Local'; src: url('/fonts/inter.woff2') format('woff2'); font-display: swap; font-style: normal; font-weight: 100 900; }

:root {
  --navy: #06101f;
  --navy-soft: #0a192f;
  --navy-lift: #10243e;
  --gold: #d4af37;
  --gold-light: #e5c558;
  --ink: #111827;
  --muted: #646e7e;
  --paper: #f7f5ef;
  --white: #fff;
  --font-display: 'Cinzel Local';
  --font-body: 'Inter Local';
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body), Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--navy); background: var(--gold-light); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 76px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 max(5vw, 28px); color: #fff;
  background: rgba(6,16,31,.88); border-bottom: 1px solid rgba(212,175,55,.24); backdrop-filter: blur(18px);
}
.wordmark-text { font: 600 1.25rem var(--font-display), Georgia, serif; letter-spacing: .035em; }
.wordmark-text span, h1 span { color: var(--gold-light); }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); font-size: .8rem; }
.desktop-nav a { color: #d8dde6; transition: color .2s ease; }
.desktop-nav a:last-child { color: var(--gold-light); }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: #fff; }
.mobile-menu { display: none; position: relative; }
.mobile-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(229,197,88,.28); color: var(--gold-light); background: transparent; cursor: pointer; }
.mobile-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-panel { position: absolute; right: 0; top: 52px; min-width: 230px; display: grid; padding: 12px; background: rgba(6,16,31,.98); border: 1px solid rgba(229,197,88,.24); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.mobile-panel a { padding: 12px 14px; color: #e3e7ed; font-size: .86rem; }
.mobile-panel a:hover { color: var(--gold-light); background: rgba(255,255,255,.04); }

.hero { position: relative; min-height: min(820px, 100svh); display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--navy); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(6,16,31,.98) 0%,rgba(6,16,31,.8) 47%,rgba(6,16,31,.25) 100%); }
.hero-content { position: relative; width: min(1120px, 90vw); padding-top: 70px; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .24em; font-size: .67rem; font-weight: 800; color: #d6dce4; }
.eyebrow.gold { color: #98781c; }
h1,h2,h3 { font-family: var(--font-display), Georgia, serif; }
h1 { max-width: 900px; margin: 0; font-size: clamp(3.7rem, 8.8vw, 7.7rem); line-height: .88; letter-spacing: .015em; text-shadow: 0 10px 45px rgba(0,0,0,.22); }
.hero-copy { max-width: 610px; margin: 30px 0 34px; color: #d5dae2; font-size: clamp(1.02rem, 1.65vw, 1.3rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; padding: 0 23px; font-size: .82rem; font-weight: 800; letter-spacing: .015em; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: var(--gold-light); }
.button-outline { border-color: rgba(229,197,88,.75); color: var(--gold-light); }
.button-outline:hover { border-color: var(--gold-light); background: rgba(229,197,88,.1); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 28px; height: 46px; border: 1px solid rgba(255,255,255,.32); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 9px; left: 50%; width: 3px; height: 7px; border-radius: 3px; background: var(--gold-light); transform: translateX(-50%); animation: scroll 1.8s ease-in-out infinite; }
@keyframes scroll { 0%,100%{transform:translate(-50%,0);opacity:.4} 50%{transform:translate(-50%,12px);opacity:1} }

.section { padding: 110px max(5vw, 28px); }
.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-heading.compact { margin-bottom: 36px; }
.section-heading h2, .contact-section h2, .about-content h2 { margin: 0 0 17px; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.12; color: var(--navy); }
.section-heading > p:last-child { margin: 0; color: #596273; line-height: 1.75; }

.portfolio-section { background: var(--paper); }
.venture-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 24px; max-width: 1180px; margin: auto; }
.venture-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e1ddd2; box-shadow: 0 18px 45px rgba(6,16,31,.07); transition: transform .25s ease, box-shadow .25s ease; }
.venture-card.featured { border-top: 3px solid var(--gold); box-shadow: 0 22px 54px rgba(6,16,31,.11); }
.venture-card.featured.martinameet { border-top-color: #617c63; background: linear-gradient(180deg,#f7faf6,#fff 58%); }
.venture-card.featured.lust { border-top-color: #813455; background: linear-gradient(180deg,#faf5f8,#fff 58%); }
.venture-card:hover { transform: translateY(-4px); box-shadow: 0 25px 58px rgba(6,16,31,.11); }
.venture-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #111; }
.venture-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.04); transition: transform .5s ease; }
.venture-card:hover .venture-image img { transform: scale(1.035); }
.status { position: absolute; top: 16px; right: 16px; padding: 6px 9px; background: rgba(20,25,33,.84); color: #e7e9ec; font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(10px); }
.status.live { background: rgba(21,77,57,.92); color: #d9f7e6; }
.status.founding { background: rgba(45,69,49,.94); color: #f1d77b; }
.venture-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.venture-body h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.18rem; }
.venture-body p { flex: 1; min-height: 72px; margin: 0 0 22px; color: #687180; font-size: .88rem; line-height: 1.65; }
.venture-body a { min-height: 28px; display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; color: #876a17; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.venture-body a:hover { color: var(--navy); }
.future-divider { max-width: 1180px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 70px auto 30px; color: #7f681f; }
.future-divider span { height: 1px; background: linear-gradient(90deg,transparent,#d7c98f); }
.future-divider span:last-child { background: linear-gradient(90deg,#d7c98f,transparent); }
.future-divider h3 { margin: 0; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }

.pillars-section { background: #fff; border-top: 1px solid #e7e3da; }
.pillar-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 1180px; margin: auto; border-top: 1px solid #dad5c9; }
.pillar { position: relative; padding: 54px 42px 28px; border-right: 1px solid #dad5c9; }
.pillar:last-child { border-right: 0; }
.pillar-number { position: absolute; top: 18px; right: 22px; color: #c8c3b8; font: 500 .72rem var(--font-display),serif; }
.pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border: 1px solid #d6bd68; color: #8a6c17; transform: rotate(45deg); }
.pillar-icon svg { transform: rotate(-45deg); }
.pillar h3 { margin: 0 0 15px; color: var(--navy); font-size: 1.22rem; }
.pillar p { margin: 0; color: #667080; font-size: .89rem; line-height: 1.75; }

.resources-section { color: #fff; background: radial-gradient(circle at 85% 0%, #142d4c 0%, var(--navy) 46%); }
.section-heading.light h2 { color: #fff; }
.resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; max-width: 1180px; margin: auto; }
.resource-card { min-height: 148px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 21px; padding: 28px; border: 1px solid rgba(229,197,88,.22); background: rgba(255,255,255,.035); transition: border-color .2s ease, background .2s ease; }
.resource-card > svg:first-child { color: var(--gold-light); }
.resource-symbol { color: var(--gold-light); font-size: 1.45rem; line-height: 1; }
.resource-card h3 { margin: 0 0 8px; font-size: 1.02rem; color: #fff; }
.resource-card p { margin: 0; color: #adb7c5; font-size: .82rem; line-height: 1.55; }
.resource-arrow { color: #708095; transition: transform .2s ease, color .2s ease; }
.resource-card:hover { border-color: rgba(229,197,88,.55); background: rgba(255,255,255,.06); }
.resource-card:hover .resource-arrow { color: var(--gold-light); transform: translateX(3px); }

.about-section { position: relative; min-height: 710px; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--navy); }
.about-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(6,16,31,.95),rgba(6,16,31,.82) 58%,rgba(6,16,31,.4)); }
.about-content { position: relative; width: min(1120px,90vw); padding: 100px 0; }
.about-content h2 { max-width: 710px; color: #fff; }
.about-copy { max-width: 700px; display: grid; gap: 18px; color: #cbd2dc; font-size: .94rem; line-height: 1.78; }
.about-copy p { margin: 0; }

.contact-section { text-align: center; background: #fbfaf7; }
.contact-section > p:not(.eyebrow) { max-width: 745px; margin: 0 auto 24px; color: #626c7b; line-height: 1.75; }
.contact-mark { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 30px; border: 1px solid #d6bd68; color: #8a6c17; }
.contact-label { display: block; margin: 34px 0 13px; color: #8a9099; font-size: .67rem; text-transform: uppercase; letter-spacing: .14em; }
.email-link { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border: 1px solid #d9d3c5; border-radius: 999px; color: var(--navy); background: #fff; font-size: .9rem; font-weight: 700; box-shadow: 0 10px 25px rgba(6,16,31,.05); }
.email-link:hover { border-color: var(--gold); color: #7c6216; }

footer { min-height: 118px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 30px max(5vw,28px); color: #b9c1cb; background: var(--navy); border-top: 1px solid rgba(229,197,88,.2); font-size: .75rem; }
footer > a:last-child { justify-self: end; color: var(--gold-light); }
footer p { margin: 0; text-align: center; }
.not-found { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 18px; padding: 32px; color: #fff; background: radial-gradient(circle at 80% 10%, var(--navy-lift), var(--navy) 55%); }
.not-found h1 { margin: 0; color: #fff; font-size: clamp(2.6rem, 8vw, 5.5rem); }
.not-found > p:not(.eyebrow) { max-width: 520px; margin: 0 0 10px; color: #bdc6d2; }

@media (max-width: 1040px) {
  .venture-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .primary-venture-grid .venture-card:last-child { width: calc(50% - 12px); grid-column: 1 / -1; justify-self: center; }
  .resource-grid { grid-template-columns: 1fr; max-width: 720px; }
  .resource-card { min-height: 120px; }
}

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero { min-height: 720px; }
  .hero-shade { background: linear-gradient(rgba(6,16,31,.88),rgba(6,16,31,.72)); }
  .hero-content { text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .pillar-grid { grid-template-columns: 1fr; max-width: 650px; border-top: 0; }
  .pillar { border-right: 0; border-top: 1px solid #dad5c9; padding-inline: 24px; }
  .about-shade { background: rgba(6,16,31,.84); }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer > a:last-child { justify-self: center; }
}

@media (max-width: 640px) {
  .site-header { height: 68px; padding-inline: 20px; }
  .wordmark-text { font-size: 1.05rem; }
  .hero { min-height: 700px; }
  .hero-content { width: min(88vw,420px); padding-top: 56px; }
  h1 { font-size: clamp(2.2rem,10.8vw,2.95rem); }
  .hero-copy { font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .section { padding: 82px 20px; }
  .section-heading { margin-bottom: 38px; }
  .venture-grid { grid-template-columns: 1fr; max-width: 520px; }
  .primary-venture-grid .venture-card:last-child { width: 100%; grid-column: auto; }
  .venture-body p { min-height: 0; }
  .future-divider { gap: 12px; margin-top: 54px; }
  .future-divider h3 { font-size: .7rem; letter-spacing: .13em; }
  .resource-card { min-height: 0; padding: 24px 20px; }
  .about-content { width: calc(100% - 40px); padding-block: 82px; }
  .about-copy { font-size: .89rem; }
  .email-link { max-width: 100%; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
