/* ============ Tokens ============ */
:root {
  --ink: #14161a;
  --ink-soft: #21242b;
  --paper: #faf8f4;
  --paper-dim: #f1ede5;
  --line: #e4dfd4;
  --line-dark: rgba(250, 248, 244, 0.14);
  --gold: #b8863f;
  --gold-light: #d9ac6c;
  --text-muted: #6b6a66;
  --text-muted-dark: rgba(250, 248, 244, 0.68);

  --font-display: "Bebas Neue", "Fraunces", serif;
  --font-serif: "Fraunces", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ============ Type helpers ============ */
.kicker {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 14px;
}
.kicker.light { color: var(--gold-light); }

.eyebrow {
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-light);
  margin: 0 0 22px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 20ch;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 8px;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled .brand-mark,
.site-header.scrolled .brand-name,
.site-header.scrolled .site-nav a:not(.nav-cta) {
  color: var(--ink);
}
.site-header:not(.scrolled) { color: #fff; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.brand-mark { display: inline-flex; }
.brand-mark img { display: block; height: 34px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s var(--ease);
  position: relative;
}
.site-header.scrolled .site-nav a { color: var(--ink); }
.site-nav a:hover { color: var(--gold-light); }
.site-header.scrolled .site-nav a:hover { color: var(--gold); }

.nav-cta {
  padding: 9px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #fff !important;
}
.site-header.scrolled .nav-cta {
  color: var(--ink) !important;
  border-color: var(--ink);
}
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #14161a !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  color: inherit;
  border-radius: 2px;
}
.site-header:not(.scrolled) .nav-toggle { color: #fff; }
.site-header.scrolled .nav-toggle { color: var(--ink); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 100% at 50% 0%, #23262d 0%, var(--ink) 55%, #0c0d10 100%);
  color: #fff;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.dot-field {
  position: absolute;
  inset: -10%;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 62% 42%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 62% at 62% 42%, #000 0%, transparent 72%);
  animation: drift 60s linear infinite;
}
@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-26px,-26px,0); }
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.glow-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -120px; right: -80px;
}
.glow-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #4a5568 0%, transparent 70%);
  bottom: -160px; left: -100px;
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 26px;
  max-width: 16ch;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 52ch;
  margin: 0 0 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: #17140c;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold-light);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scrollDot 2s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}

/* ============ Sections ============ */
.section { padding: 120px 0; }

.focus-intro { padding-bottom: 60px; text-align: left; }
.focus-intro .section-title { max-width: 22ch; }

/* Split layout */
.split { padding: 70px 0; }
.split-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.split-reverse .split-inner { grid-template-columns: 1.15fr 0.85fr; }
.split-reverse .split-copy { order: 1; }
.split-reverse .split-media { order: 2; }

.split-copy p { color: var(--text-muted); font-size: 1.05rem; margin: 0 0 24px; max-width: 54ch; }
.split-copy .section-title { max-width: 18ch; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.15;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.media-card {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  z-index: -1;
}
.media-card-investing {
  background: linear-gradient(160deg, #1c1f26 0%, #14161a 60%, #0c0d10 100%);
}
.media-card-consulting {
  background: linear-gradient(200deg, #2a2116 0%, #14161a 60%, #0c0d10 100%);
}
.media-index {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold-light);
  opacity: 0.85;
}
.media-label {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
}

/* Mission */
.mission {
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  margin: 0 20px;
  padding: 110px 0;
}
.mission-statement {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.4;
  max-width: 32ch;
  letter-spacing: -0.01em;
  margin: 0 0 70px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
}
.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.pillar p {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  margin: 0;
}

.mission-close {
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  max-width: 50ch;
  margin: 0;
}

/* Contact */
.contact { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .section-title { max-width: 20ch; }
.contact .section-lead { margin-bottom: 40px; }
.email-link {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.email-link:hover { color: var(--gold); }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: var(--text-muted-dark);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
}
.footer-brand .brand-mark img { height: 26px; }
.footer-brand .brand-name { font-size: 1.15rem; }
.footer-meta {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
  margin: 0;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--gold-light); }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .split-inner, .split-reverse .split-inner {
    grid-template-columns: 1fr;
  }
  .split-reverse .split-copy, .split-reverse .split-media { order: initial; }
  .split-media { max-width: 340px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .mission { margin: 0 12px; padding: 80px 0; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { color: #fff !important; font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 80px 0; }
  .pillars { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
