:root {
  --ink: #0e1620;
  --ink-soft: #4a5563;
  --paper: #f3f5f7;
  --paper-2: #e6ebf0;
  --navy: #101c2c;
  --navy-deep: #0a121c;
  --brass: #b08d57;
  --brass-dark: #8f7040;
  --line: rgba(16, 28, 44, 0.1);
  --white: #ffffff;
  --danger: #8b2e2e;
  --success: #1f5c45;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --radius: 2px;
  --max: 1160px;
  --header-h: 4.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% 8%, rgba(176, 141, 87, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, var(--paper) 45%, #eef1f5 100%);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-dark); }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 245, 247, 0.9);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.is-home .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
}

.is-home .site-header.is-scrolled,
.is-home .site-header:has(.site-nav.open) {
  background: rgba(10, 18, 28, 0.92);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}

.is-home .site-header .brand-text,
.is-home .site-header .site-nav a,
.is-home .site-header .lang-switch a {
  color: rgba(245, 247, 250, 0.88);
}
.is-home .site-header .site-nav a:hover,
.is-home .site-header .lang-switch a.active {
  color: #fff;
}
.is-home .site-header .brand-mark {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.is-home .site-header .lang-switch a.active {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}
.is-home .site-header .nav-toggle span { background: #fff; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark {
  width: 2.35rem; height: 2.35rem; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .05em;
}
.brand-text { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .01em; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .01em; }
.site-nav a:hover { color: var(--ink); }

.lang-switch { display: flex; gap: .3rem; }
.lang-switch a {
  text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: .28rem .42rem; border: 1px solid transparent; color: var(--ink-soft);
}
.lang-switch a.active { border-color: var(--line); color: var(--ink); background: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; width: 2.5rem; height: 2.5rem;
  flex-direction: column; justify-content: center; gap: .4rem; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); width: 100%; }

/* Hero — founder brand composition */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: calc(var(--header-h) + 4rem) 0 4.5rem;
  overflow: hidden;
  color: #f5f7fa;
  background: var(--navy-deep);
}

.hero-atmosphere { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(176, 141, 87, 0.2), transparent 55%),
    radial-gradient(700px 480px at 12% 85%, rgba(40, 70, 110, 0.35), transparent 50%),
    linear-gradient(165deg, #152436 0%, #0a121c 48%, #101c2c 100%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 44rem;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  line-height: .98;
  margin: 0 0 1.35rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.08rem, 2.1vw, 1.32rem);
  color: rgba(245,247,250,.78);
  max-width: 32rem;
  margin: 0 0 2.25rem;
  line-height: 1.55;
  font-weight: 400;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-focus {
  position: relative; z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 4.5rem auto 0;
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,247,250,.45);
  font-weight: 600;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.45rem; border: 1px solid transparent; font-weight: 600;
  font-size: .92rem; text-decoration: none; transition: .2s ease; cursor: pointer;
  border-radius: var(--radius); font-family: var(--sans); letter-spacing: .01em;
}
.btn-primary { background: var(--brass); color: #16120b; border-color: var(--brass); }
.btn-primary:hover { background: #c4a06a; color: #16120b; }
.btn-ghost { background: transparent; color: inherit; border-color: rgba(255,255,255,.32); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.04); }
.page-hero .btn-ghost {
  border-color: rgba(16,28,44,.22); color: var(--ink);
}
.page-hero .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* Sections */
.section { padding: 6rem 0; }
.section.muted { background: rgba(255,255,255,.5); border-block: 1px solid var(--line); }
.section-kicker {
  margin: 0 0 .75rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-dark);
}
.section-head { max-width: 38rem; margin-bottom: 3rem; }
.section-head p { color: var(--ink-soft); margin: 0; }
.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  max-width: none;
}
.section-head-row > div { max-width: 38rem; }
.section h2, .page-hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em;
  font-size: clamp(2.1rem, 4.2vw, 3.15rem); line-height: 1.12; margin: 0 0 .85rem;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 38rem; line-height: 1.7; }
.lead.narrow { max-width: 46rem; }
.meta { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

/* Who */
.who-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.who-copy .lead { margin: 0 0 1.5rem; }
.portrait-frame { position: relative; }
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(165deg, rgba(176,141,87,.18), transparent 42%),
    linear-gradient(210deg, #1a3148 0%, #0d1826 55%, #152436 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  color: rgba(255,255,255,.7);
  position: relative;
  overflow: hidden;
}
.portrait-placeholder::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,.35));
}
.portrait-initials {
  font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 5.5rem); line-height: 1;
  color: rgba(255,255,255,.55); letter-spacing: -.02em; position: relative; z-index: 1;
}
.portrait-caption {
  position: relative; z-index: 1;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: rgba(245,247,250,.55);
}

/* Ventures ecosystem */
.venture-ecosystem { display: grid; border-top: 1px solid var(--line); }
.venture-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.venture-item:hover { background: rgba(255,255,255,.55); color: inherit; }
.venture-item:hover .venture-cta { transform: translateX(4px); }
.venture-index {
  font-family: var(--serif); font-size: 1.35rem; color: var(--brass-dark);
  padding-top: .2rem;
}
.venture-tagline {
  margin: 0 0 .4rem;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.venture-body h3 {
  font-family: var(--serif); font-weight: 400; margin: 0 0 .55rem;
  font-size: clamp(1.55rem, 2.5vw, 1.95rem); letter-spacing: -.02em;
}
.venture-body p:last-child { margin: 0; color: var(--ink-soft); max-width: 40rem; }
.venture-cta {
  font-size: .85rem; font-weight: 600; color: var(--brass-dark);
  white-space: nowrap; padding-top: .35rem; transition: transform .2s ease;
}

/* Expertise strip */
.expertise-section {
  background: var(--navy);
  color: #f5f7fa;
  border: 0;
}
.expertise-section .section-kicker { color: var(--brass); }
.expertise-section h2 { color: #fff; margin-bottom: 2.25rem; }
.expertise-strip {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.expertise-strip li {
  padding: 1.5rem 1.1rem 0;
  border-right: 1px solid rgba(255,255,255,.1);
  min-height: 5.5rem;
}
.expertise-strip li:last-child { border-right: 0; }
.expertise-strip span {
  display: block;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  line-height: 1.35;
}
.expertise-list {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem;
}
.expertise-list li {
  padding: 1.1rem 1rem; border-left: 2px solid var(--brass);
  background: rgba(255,255,255,.7); font-weight: 600;
}

/* Articles */
.article-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.article-teaser { padding-top: 1.15rem; border-top: 1px solid var(--line); }
.article-teaser h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.4rem; line-height: 1.25; margin: .55rem 0 .7rem; letter-spacing: -.015em;
}
.article-teaser a { text-decoration: none; }
.article-teaser a:hover { color: var(--brass-dark); }
.article-teaser p:last-child { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* CTA */
.cta-band {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 280px at 90% 0%, rgba(176,141,87,.16), transparent 55%),
    var(--navy);
  color: #f5f7fa;
}
.cta-band h2 { color: #fff; margin-bottom: .55rem; }
.cta-band p { margin: 0; color: rgba(245,247,250,.72); max-width: 28rem; }
.cta-kicker { color: var(--brass) !important; }

.page-hero { padding: 3.5rem 0 1.5rem; }
.is-home main > .hero + * { scroll-margin-top: 0; }
.page-hero .lead { margin-bottom: 1.25rem; }

.breadcrumbs { padding: 1.25rem 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; font-size: .85rem; color: var(--ink-soft); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; opacity: .5; }
.breadcrumbs a { text-decoration: none; }

.two-col, .three-col { display: grid; gap: 2rem; }
.two-col { grid-template-columns: 1fr 1fr; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.three-col h2 { font-size: 1.45rem; }

.timeline { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.timeline li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; }
.timeline .year { font-weight: 700; color: var(--brass-dark); }
.timeline h3 { margin: 0 0 .35rem; font-size: 1.15rem; }

.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list p { color: var(--ink-soft); margin: .75rem 0 0; }

.prose-wrap { max-width: 46rem; }
.prose h2 { font-family: var(--serif); font-weight: 400; margin-top: 2rem; }
.prose p { color: var(--ink-soft); }

.articles-layout, .article-layout, .contact-layout {
  display: grid; grid-template-columns: 1.7fr .7fr; gap: 3rem;
}
.search-bar { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.search-bar input, .contact-form input, .contact-form select, .contact-form textarea,
.admin-form input, .admin-form select, .admin-form textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); background: #fff;
  font: inherit; border-radius: var(--radius);
}
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  text-decoration: none; font-size: .82rem; font-weight: 600; padding: .45rem .7rem;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
}
.filter.active, .filter:hover { border-color: var(--navy); color: var(--navy); }

.article-list { display: grid; gap: 1.75rem; }
.article-row { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.article-row h2 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: .35rem 0; }
.article-row a { text-decoration: none; }

.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.side-list a { text-decoration: none; font-weight: 500; }

.toc { background: #fff; border: 1px solid var(--line); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.toc ol { margin: .75rem 0 0; padding-left: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 2rem 0 1rem; }
.tag { background: var(--paper-2); padding: .3rem .55rem; font-size: .8rem; font-weight: 600; }
.share { display: flex; gap: .75rem; align-items: center; margin-bottom: 2rem; }
.author-box { border-top: 1px solid var(--line); padding-top: 1.25rem; }

.contact-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row { display: grid; gap: .4rem; }
.alert { padding: .9rem 1rem; margin-bottom: 1rem; border-left: 3px solid; }
.alert.success { background: #e8f5ef; border-color: var(--success); color: var(--success); }
.alert.error { background: #f8eaea; border-color: var(--danger); color: var(--danger); }

/* Venture list (index) + gallery */
.venture-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.venture-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.75rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background .2s ease, padding-left .2s ease;
}
.venture-row:hover { background: rgba(255,255,255,.6); padding-left: .5rem; color: inherit; }
.venture-row h2, .venture-row h3 { font-family: var(--serif); font-weight: 400; margin: 0 0 .4rem; font-size: 1.7rem; }
.venture-row p { margin: 0; color: var(--ink-soft); max-width: 42rem; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem;
}
.gallery-grid figure { margin: 0; background: var(--navy); }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-grid figcaption { padding: .6rem .75rem; font-size: .85rem; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-top: 0; }
.gallery-fallback {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem;
}
.gallery-panel {
  min-height: 180px;
  display: grid; place-items: end start;
  padding: 1.25rem;
  background:
    linear-gradient(160deg, rgba(176,141,87,.15), transparent 45%),
    linear-gradient(200deg, #1a3148, #0d1826);
  color: rgba(245,247,250,.75);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.gallery-fallback .gallery-panel:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(176,141,87,.22), transparent 40%),
    linear-gradient(200deg, #152436, #0a121c);
}
.gallery-fallback .gallery-panel:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(255,255,255,.06), transparent 40%),
    linear-gradient(200deg, #20344c, #101c2c);
}

.site-footer {
  margin-top: 0; padding: 3.5rem 0; background: var(--navy-deep); color: rgba(245,247,250,.72);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-family: var(--serif); font-size: 1.45rem; color: #fff; margin: 0 0 .35rem; }
.footer-tag { margin: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-links a { text-decoration: none; color: rgba(245,247,250,.72); }
.footer-links a:hover { color: #fff; }
.footer-meta { font-size: .85rem; }

.text-link { font-weight: 600; color: var(--brass-dark); text-decoration: none; }
.text-link:hover { text-decoration: underline; color: var(--brass-dark); }

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.hero[data-reveal] { opacity: 1; transform: none; }
.hero-content {
  animation: rise .85s ease both;
}
.hero-focus {
  animation: rise .95s ease .12s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .hero-content, .hero-focus {
    opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important;
  }
}

@media (max-width: 980px) {
  .who-grid, .article-rail, .two-col, .three-col, .articles-layout, .article-layout, .contact-layout, .footer-grid,
  .expertise-strip, .gallery-grid, .gallery-fallback {
    grid-template-columns: 1fr;
  }
  .expertise-strip li {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    min-height: 0;
    padding: 1.1rem 0;
  }
  .expertise-strip li:last-child { border-bottom: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .hide-mobile { display: none; }
  .venture-item { grid-template-columns: 3rem 1fr; }
  .venture-cta { grid-column: 2; padding-top: 0; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; inset: var(--header-h) 0 auto 0;
    background: #0a121c; border-bottom: 1px solid rgba(255,255,255,.08); padding: 1rem 1.25rem 1.35rem;
    flex-direction: column; align-items: flex-start;
  }
  body:not(.is-home) .site-nav { background: #fff; border-bottom-color: var(--line); }
  body:not(.is-home) .site-nav a { color: var(--ink-soft); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .venture-row { grid-template-columns: 1fr; }
  .hero { padding-bottom: 3rem; }
  .hero-focus { margin-top: 3rem; }
}
