:root {
  --bg: #f5f2eb;
  --paper: #fffaf1;
  --ink: #101316;
  --muted: #65615a;
  --line: rgba(16, 19, 22, 0.14);
  --accent: #9c4f28;
  --accent-2: #243c5a;
  --accent-soft: rgba(156, 79, 40, 0.12);
  --shadow: 0 24px 70px rgba(16, 19, 22, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1160px;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background:
    radial-gradient(circle at 15% 0%, rgba(156,79,40,0.16), transparent 34rem),
    linear-gradient(180deg, var(--bg), #ebe7dc 100%);
  color: var(--ink);
  line-height: 1.55;
}

a { color: inherit; }
.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(5px);
}
.site-header.is-elevated {
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: .78rem;
  letter-spacing: .09em;
}
.brand-text { font-size: .98rem; }
.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.site-nav a, .nav-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .58rem .9rem;
  text-decoration: none;
  color: var(--muted);
  font: inherit;
  background: transparent;
}
.site-nav a:hover, .nav-toggle:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255,255,255,.35);
}
.nav-toggle { display: none; cursor: pointer; }

.section, .hero, .strip, .site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.hero {
  min-height: 74vh;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.eyebrow, .kicker {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .76rem;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--serif);
  letter-spacing: -.045em;
  line-height: .98;
}
h1 {
  grid-column: 1 / 2;
  max-width: 920px;
  margin: .65rem 0 1.1rem;
  font-size: clamp(3.2rem, 9vw, 8.6rem);
}
h2 { font-size: clamp(2.15rem, 5vw, 4.6rem); }
h3 { font-size: 1.13rem; letter-spacing: -.02em; }
.lede {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  color: #343331;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,.35);
}
.button.primary { background: var(--ink); color: white; border-color: var(--ink); }
.button:hover { transform: translateY(-1px); }
.hero-card {
  align-self: end;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 241, .72);
  box-shadow: var(--shadow);
}
.hero-card ul { margin: 1rem 0 0; padding-left: 1.1rem; }
.hero-card li + li { margin-top: .6rem; }

.strip {
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip p {
  max-width: 870px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.1;
}
.section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.section-heading.compact { margin-bottom: 1.25rem; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.portfolio-card, .principle-grid article, .investor-card, .contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 241, .74);
}
.portfolio-card {
  min-height: 300px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}
.featured-card { background: linear-gradient(145deg, #161a1e, #27364a); color: white; }
.featured-card p, .featured-card .card-number { color: rgba(255,255,255,.72); }
.card-number {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 2.2rem;
  margin-bottom: 2rem;
}
.portfolio-card p { color: var(--muted); }
.featured-card .tag-list li { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}
.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .8rem;
  color: inherit;
  background: rgba(255,255,255,.35);
}

.muted-section {
  max-width: none;
  background: #101316;
  color: white;
  margin-top: 3rem;
}
.muted-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.muted-section .section-heading, .muted-section .principle-grid { padding-left: 1.25rem; padding-right: 1.25rem; }
.muted-section .section-heading p, .muted-section article p { color: rgba(255,255,255,.68); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.principle-grid article {
  padding: 1.35rem;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,250,241,.68);
}
.timeline li { padding: 1.25rem; min-height: 210px; border-right: 1px solid var(--line); }
.timeline li:last-child { border-right: 0; }
.timeline span { display: block; font-weight: 800; margin-bottom: 3.5rem; }
.timeline p { color: var(--muted); margin-bottom: 0; }

.investor-section { align-items: start; }
.investor-section p { color: var(--muted); font-size: 1.05rem; }
.investor-card { padding: 1.35rem; position: sticky; top: 6rem; }
.stacked-links { display: grid; gap: .55rem; margin-top: 1.2rem; }
.stacked-links a {
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  background: rgba(255,255,255,.38);
  font-weight: 700;
}
.stacked-links a:hover { background: var(--accent-soft); }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr minmax(260px, .55fr);
  gap: 2rem;
  padding: clamp(1.35rem, 4vw, 3rem);
  background: linear-gradient(145deg, var(--paper), rgba(255,250,241,.7));
  box-shadow: var(--shadow);
}
address { display: grid; align-content: center; gap: .35rem; font-style: normal; }
address a { font-size: 1.15rem; font-weight: 800; color: var(--accent-2); }
address span { color: var(--muted); }
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% - .25rem);
    right: 1.25rem;
    left: 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,250,241,.96);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .section-grid, .portfolio-grid, .principle-grid, .timeline, .contact-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 3.5rem; }
  .hero-card { align-self: start; }
  .timeline li { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .timeline li:last-child { border-bottom: 0; }
  .timeline span { margin-bottom: 1rem; }
  .investor-card { position: static; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
