@font-face {
  font-family: Geist;
  src: url("/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #01050e;
  --surface: #050b15;
  --navy: #0b1829;
  --ink: #f1f5fc;
  --silver: #b6c3d5;
  --ice: #c5e0ff;
  --rule: #263244;
  --gutter: clamp(24px, 4.2vw, 80px);
  --section-space: clamp(70px, 7.5vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Geist, sans-serif;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
[id] { scroll-margin-top: 24px; }

.shell {
  width: min(1440px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: clamp(66px, 7.8vh, 84px);
}

.brand, .nav-links a, .nav-cta, .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand { width: fit-content; }
.brand img { display: block; width: auto; height: 26px; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 2.65vw, 42px);
}

.nav-links, .nav-cta, .footer-links {
  color: var(--silver);
  font-size: 14px;
  font-weight: 450;
}

.nav-links a:hover, .footer-links a:hover { color: var(--ink); }

.nav-cta {
  justify-self: end;
  gap: 9px;
  color: var(--ice);
  white-space: nowrap;
}

.nav-cta:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .28em; }

.arrow {
  flex: none;
  width: 17px;
  height: 17px;
}

.nav-cta .arrow { width: 15px; height: 15px; }
.symbols { position: absolute; width: 0; height: 0; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  padding: calc(clamp(66px, 7.8vh, 84px) + clamp(34px, 11vh, 120px))
    max(14vw, var(--gutter)) 140px var(--gutter);
  text-align: center;
}

.hero-art {
  --art-x: 55%;
  --art-y: 70%;
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 82%;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 22%);
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--art-x) var(--art-y);
  transform: scale(1.06);
  transform-origin: var(--art-x) var(--art-y);
}

.hero-art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.hero-art.is-moving canvas { opacity: 1; }

.hero-copy { position: relative; isolation: isolate; min-width: 0; }

.hero-copy::before {
  position: absolute;
  z-index: -1;
  inset: -60px -100px -84px;
  background: rgb(1 5 14 / 76%);
  mask-image: linear-gradient(transparent, #000 60px, #000 calc(100% - 84px), transparent),
    linear-gradient(90deg, transparent, #000 100px, #000 calc(100% - 100px), transparent);
  mask-composite: intersect;
  pointer-events: none;
  content: "";
}

h1 {
  font-size: clamp(58px, 4.85vw, 92px);
  font-weight: 470;
  line-height: 1.02;
  letter-spacing: -.055em;
}

h1 span { display: block; text-wrap: balance; }

.hero p {
  max-width: 680px;
  margin: clamp(18px, 2.6vh, 25px) auto 0;
  color: var(--silver);
  font-size: clamp(16px, 1.18vw, 21px);
  line-height: 1.55;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  min-height: 49px;
  padding: 12px 16px;
  border: 1px solid #a7c9f36b;
  border-radius: 100px;
  background: var(--navy);
  color: var(--ink);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.25;
  white-space: nowrap;
}

.hero .cta {
  display: flex;
  width: fit-content;
  margin: clamp(24px, 3.25vh, 35px) auto 0;
}

.cta-icon {
  display: grid;
  flex: none;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: var(--ice);
  color: var(--ground);
}

.cta:hover, .cta:focus-visible { border-color: var(--ice); }
.cta:hover .cta-icon { background: var(--ink); }

.page-section { border-top: 1px solid var(--rule); }

.services {
  padding-block: var(--section-space);
  background: var(--surface);
}

h2 {
  font-size: clamp(33px, 3.45vw, 54px);
  font-weight: 470;
  line-height: 1.09;
  letter-spacing: -.052em;
  text-wrap: balance;
}

h3 {
  font-size: 20px;
  font-weight: 510;
  line-height: 1.2;
  letter-spacing: -.026em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(28px, 3.25vw, 48px);
  border: 1px solid var(--rule);
  background: linear-gradient(155deg, #0a1524, #080f1c 70%);
}

.service {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: start;
  gap: 13px;
  padding: 16px;
}

.service + .service { border-left: 1px solid var(--rule); }

.service h3 { font-size: clamp(25px, 2.3vw, 36px); font-weight: 480; }

.service p, .principle p {
  color: var(--silver);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.service p { max-width: 37ch; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin-top: 14px;
  color: var(--ice);
  font-size: 15px;
  font-weight: 490;
}

.about { padding-block: var(--section-space); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(26px, 3vw, 46px);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 2.65vw, 40px) clamp(20px, 2.65vw, 40px);
}

.principle {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.principle p { margin-top: 10px; }

.markets {
  padding-block: clamp(56px, 5.8vw, 86px);
  background: var(--surface);
}

.markets h2 { font-size: clamp(31px, 2.65vw, 42px); }

.clock-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: clamp(24px, 2.8vw, 40px) 0 0;
  padding: 0;
  border-block: 1px solid var(--rule);
  list-style: none;
  font-family: "Geist Mono", monospace;
}

.clock {
  display: grid;
  gap: 9px;
  justify-items: center;
  align-content: center;
  min-height: 80px;
  padding: 12px;
}

.clock + .clock { border-left: 1px solid var(--rule); }

.clock-city { color: var(--silver); font-size: 12px; text-align: center; }
.clock time { color: var(--ice); font-size: 17px; line-height: 1.15; }

.closing {
  padding-block: clamp(62px, 7.8vw, 116px);
  background: linear-gradient(115deg, #0a1627, #070f1c 70%);
}

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

.site-footer { border-top: 1px solid var(--rule); }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding-block: 23px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.25vw, 35px); }
.copyright { justify-self: end; color: var(--silver); font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-art canvas { transition: opacity 220ms ease-out; }
  [data-reveal="entering"] { animation: reveal 620ms cubic-bezier(.2, .65, .3, 1) both; }

  @keyframes reveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 800px) {
  .hero-art {
    --art-x: 77%;
    --art-y: 50%;
    height: min(59%, 570px);
    mask-image: linear-gradient(to bottom, transparent, #000 25%);
  }

  .hero { padding: clamp(152px, 21vh, 210px) var(--gutter) 130px; }
  h1 { font-size: clamp(39px, 10.3vw, 72px); }
  .hero p { max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .clock-strip { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .clock { grid-column: span 3; min-height: 69px; }
  .clock:nth-child(n + 5) { grid-column: span 4; border-top: 1px solid var(--rule); }
  .clock:nth-child(5) { border-left: 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }

  .site-nav {
    grid-template-columns: 1fr auto;
    gap: 0 14px;
    padding-block: 8px;
  }

  .nav-links {
    grid-area: 2 / 1 / auto / -1;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-cta { grid-area: 1 / 2; flex-direction: row-reverse; }
  h1 { font-size: clamp(34px, 10.3vw, 60px); }

  .service-grid, .principles { grid-template-columns: 1fr; }
  .service + .service { border-top: 1px solid var(--rule); border-left: 0; }
  .principles { gap: 24px; }
  .principle p { margin-top: 8px; }

  .closing-inner { align-items: start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 4px; }
  .copyright { justify-self: start; }
}

@media (max-width: 389px) {
  .clock { grid-column: span 4; }
  .clock:nth-child(n + 4) { grid-column: span 6; border-top: 1px solid var(--rule); }
  .clock:nth-child(4), .clock:nth-child(6) { border-left: 0; }
  .clock:nth-child(5) { border-left: 1px solid var(--rule); }
}

@media (max-width: 350px) {
  .clock-city { font-size: 11px; }
}

/* ------------------------------------------------------------------
   Additions for the inner pages. Everything above is the approved
   homepage stylesheet, moved here verbatim.
   ------------------------------------------------------------------ */

[hidden] { display: none !important; }
blockquote, figure { margin: 0; }

.nav-links a[aria-current="page"] { color: var(--ink); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 18px;
  justify-self: end;
}

.copyright a { text-decoration: underline; text-underline-offset: .22em; text-decoration-color: var(--rule); }
.copyright a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Short page hero: same art as the homepage, held still and dimmed. */
.page-hero {
  min-height: 0;
  padding: calc(clamp(66px, 7.8vh, 84px) + clamp(28px, 6vh, 64px))
    max(14vw, var(--gutter)) clamp(56px, 6vw, 88px) var(--gutter);
}

.page-hero .hero-art { height: 100%; opacity: .55; }
.page-hero h1 { font-size: clamp(40px, 3.9vw, 68px); text-wrap: balance; }
.page-hero--full { align-content: center; min-height: min(100svh, 760px); }

.band { background: var(--surface); }

.about-stack { display: grid; gap: 22px; max-width: 880px; }
.about-stack h2 { max-width: 18ch; }

.lead {
  max-width: 52ch;
  color: var(--silver);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.5;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

.founder-photo { max-width: 320px; margin-top: 14px; }
.founder-photo img { display: block; width: 100%; height: auto; }

/* Recent placements: a compact ruled list, like the principles. */
.placements { padding-block: var(--section-space); }

.placement-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 0 clamp(20px, 2.65vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.placement-list li { display: grid; gap: 4px; padding: 16px 0 18px; border-top: 1px solid var(--rule); }
.placement-role { font-size: 18px; font-weight: 480; line-height: 1.25; letter-spacing: -.02em; }
.placement-firm { color: var(--silver); font-size: 15px; line-height: 1.4; }

/* Testimonials */
.testimonials { padding-block: var(--section-space); background: var(--surface); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(28px, 3.25vw, 48px);
  border: 1px solid var(--rule);
  background: linear-gradient(155deg, #0a1524, #080f1c 70%);
}

.quote { display: grid; align-content: space-between; gap: 24px; padding: clamp(20px, 2vw, 32px) 16px clamp(20px, 2vw, 32px); }
.quote + .quote { border-left: 1px solid var(--rule); }
.quote:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--rule); border-left: 0; }

.quote p {
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.45;
  letter-spacing: -.018em;
  text-wrap: pretty;
}

.quote:nth-child(3) p { max-width: 62ch; }
.quote p::before { content: "\201C"; }
.quote p::after { content: "\201D"; }
.quote figcaption { color: var(--silver); font-size: 15px; font-weight: 450; }

/* Contact page */
.contact-grid .service { grid-template-rows: auto auto; }
.contact-grid .text-link { margin-top: 0; overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .page-hero { padding: clamp(140px, 19vh, 180px) var(--gutter) 64px; }
  .page-hero h1 { font-size: clamp(34px, 9.4vw, 56px); }
}

@media (max-width: 760px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote + .quote, .quote:nth-child(3) { border-top: 1px solid var(--rule); border-left: 0; }
}

@media (max-width: 640px) {
  .footer-meta { justify-self: start; justify-content: flex-start; }
}
