:root {
  --ink: #1f262b;
  --slate: #2a3a49;
  --steel: #3b5066;
  --muted: #6b7480;
  --faint: #9b9ea0;
  --line: #dcdfe2;
  --gold: #9c741f;
  --accent: #e0612a;
  --bg: #ffffff;
  --wrap: 1180px;
  --gutter: clamp(20px, 2.2vw, 42px);
  --edge: clamp(20px, 2.08vw, 40px);
  --font: "PP Radio Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* PP Radio Grotesk (Pangram Pangram) — the site typeface. Light weights (<400) map to
   Ultralight, everything else to Regular. */
@font-face {
  font-family: "PP Radio Grotesk";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/PPRadioGrotesk-Regular.woff2") format("woff2"),
       url("/assets/fonts/PPRadioGrotesk-Regular.woff") format("woff");
}
@font-face {
  font-family: "PP Radio Grotesk";
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/PPRadioGrotesk-Ultralight.woff2") format("woff2"),
       url("/assets/fonts/PPRadioGrotesk-Ultralight.woff") format("woff");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--steel);
}
.h-section {
  font-size: clamp(42px, 4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}
.section-head { text-align: center; }
.section-head .eyebrow { margin-bottom: clamp(20px, 2vw, 34px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--edge);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  transition: background .4s ease, box-shadow .4s ease;
}
.site-header.is-home { background: rgba(246, 246, 246, 0.88); }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(31, 38, 43, 0.06); }
.brand img { width: 69px; height: auto; }
.nav { display: flex; gap: clamp(28px, 3.1vw, 58px); }
.nav a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #7f8285;
  transition: color .25s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 500; }

main { padding-top: 91px; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding-block: clamp(70px, 8vw, 140px) 80px;
}
.site-footer.ruled { border-top: 1px solid var(--line); }
.site-footer .brand img { width: 61px; margin: 0 auto; }
.footer-nav { display: flex; justify-content: center; gap: 38px; margin-top: 24px; }
.footer-nav a { font-size: 11px; letter-spacing: 0.24em; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.copyright { margin-top: 30px; font-size: 11px; letter-spacing: 0.14em; color: var(--faint); }

/* ---------- Home: hero ---------- */
/* Locked to the design's 1920x1105 frame so the portrait and the type scale together:
   the face always stays above the name, whatever the window height. */
.hero {
  position: relative;
  aspect-ratio: 1920 / 1105;
  overflow: hidden;
  color: #fff;
  background: #1b1b1b;
}
.hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  filter: grayscale(1);
  transform: scale(1.04);
  animation: heroZoom 2.4s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.08) 50%, rgba(0,0,0,.42) 100%);
}
.hero-content {
  position: absolute; left: 0; right: 0; top: 35.1vw;
  z-index: 2;
  text-align: center;
  padding-inline: 20px;
}
.hero .eyebrow { color: rgba(255,255,255,.7); font-size: max(9px, .573vw); letter-spacing: .34em; }
.hero h1 {
  margin-top: .45vw;
  font-size: 6.875vw;
  font-weight: 500;
  letter-spacing: -0.04em;
  word-spacing: .12em;
  line-height: 1.1;
}
.hero p {
  margin: 3.1vw auto 0;
  max-width: 31vw;
  font-size: max(13px, 1.25vw);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
}
.scroll-cue { margin-top: 1.9vw; display: inline-flex; flex-direction: column; align-items: center; gap: .9vw; }
.scroll-cue span { font-size: max(8px, .52vw); letter-spacing: .22em; color: rgba(255,255,255,.8); }
.scroll-cue i { display: block; width: 1px; height: 3.6vw; background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,0)); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- Home: statement ---------- */
.statement { padding-block: clamp(90px, 9vw, 160px) clamp(80px, 8vw, 140px); }
.statement p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(28px, 2.4vw, 46px);
  font-weight: 300;
  line-height: 1.32;
  color: var(--ink);
}
.statement em { font-style: normal; color: var(--slate); }

/* ---------- Home: legacy ---------- */
.legacy { max-width: calc(1180px + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.legacy-title { position: relative; text-align: center; }
.legacy-title::before {
  content: ""; position: absolute; left: 0; right: 0; top: 52%;
  border-top: 1px solid #efeee6;
}
.legacy-title .h-section { position: relative; display: inline-block; padding-inline: 12px; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(60px, 6vw, 110px);
  padding-bottom: 14px;
  border-bottom: 1px solid #efeee6;
  text-align: center;
}
.stat strong {
  position: relative;
  display: inline-block;
  font-family: var(--font);
  font-size: clamp(60px, 5vw, 96px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--slate);
}
/* The "+" hangs outside the number so every figure is optically centred over its
   label, and all three plus signs share the same offset and height. */
.stat .plus {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: .03em;
  font-variant-numeric: normal;
  transform: translateY(-.045em);  /* lift the + onto the digits' optical centre */
}
/* Each final digit has a different right edge (7 is open, 0 is round, 4 is flat);
   these offsets give all three + signs the same visible gap. */
.stat .plus.after-7 { margin-left: .04em; }
.stat .plus.after-0 { margin-left: .01em; }
.stat .plus.after-4 { margin-left: .05em; }
.stat > span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .22em; color: #6d7681; }

/* ---------- Home: logo marquee ---------- */
.logos { padding-block: clamp(80px, 8vw, 150px) clamp(60px, 6vw, 110px); overflow: hidden; }
.marquee {
  display: flex; width: max-content;
  animation: marquee 48s linear infinite;
}
.logos:hover .marquee { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: clamp(40px, 3.4vw, 64px); padding-right: clamp(40px, 3.4vw, 64px); }
.marquee-set img { height: auto; opacity: .92; transition: opacity .3s ease; }
.marquee-set img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Home: ventures ---------- */
.ventures { padding-block: clamp(80px, 6vw, 110px) clamp(80px, 8vw, 140px); }
.ventures .h-section { margin-bottom: clamp(50px, 4.6vw, 88px); }
.venture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 687px);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.venture + .venture { margin-top: 74px; }
.venture-copy { max-width: 370px; }
.venture-copy .eyebrow { font-size: 11px; letter-spacing: .3em; margin-bottom: 38px; }
.venture h3 {
  font-size: clamp(36px, 2.5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.venture-copy p { margin-top: 30px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.text-link {
  display: inline-flex; gap: 8px; align-items: center;
  margin-top: 36px;
  font-size: 11px; letter-spacing: .26em; color: #242b2f;
}
.text-link b { font-weight: 400; transition: transform .3s ease; }
.text-link:hover b { transform: translateX(5px); }
.venture-media { display: block; overflow: hidden; aspect-ratio: 687 / 387; }
.venture-media.is-wide { aspect-ratio: 1600 / 817; }
.venture-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.venture:hover .venture-media img { transform: scale(1.035); }

/* ---------- Home: honors ---------- */
.honors { padding-block: clamp(90px, 10vw, 190px) 0; }
.honors .h-section { margin-bottom: clamp(50px, 4.5vw, 86px); }
.honor-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; border-top: 1px solid var(--line); }
.honor-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.honor-list .t { font-size: clamp(18px, 1.15vw, 22px); color: var(--ink); letter-spacing: -0.005em; }
.honor-list .m { flex-shrink: 0; font-size: 11px; letter-spacing: .22em; color: var(--muted); }

/* ---------- About ---------- */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 431px);
  gap: clamp(40px, 5vw, 100px);
  align-items: center;
  max-width: calc(1180px + var(--gutter) * 2); margin: 0 auto;
  padding: clamp(60px, 10vw, 196px) var(--gutter) clamp(80px, 10vw, 190px);
}
.founder-copy { padding-left: 0; }
.founder .eyebrow { margin-bottom: 22px; letter-spacing: .34em; }
.founder h1 {
  font-size: clamp(56px, 4.8vw, 92px);
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.05;
}
.founder-copy p {
  margin-top: 18px; max-width: 590px;
  font-size: clamp(21px, 1.56vw, 30px);
  line-height: 1.6; color: var(--muted);
}
.founder figure { aspect-ratio: 431 / 647; overflow: hidden; background: #3a3a3c; }
.founder figure img { width: 100%; height: 100%; object-fit: cover; }

.bio { max-width: 810px; margin: 0 auto; }
.bio p { font-size: clamp(17px, 1.2vw, 23px); line-height: 1.55; color: var(--ink); }
.bio p + p { margin-top: 26px; }
.bio p.tight { margin-top: 0; }
.dropcap::first-letter {
  float: left;
  font-size: 4.4em; line-height: .86;
  margin: .04em .08em 0 0;
  color: var(--slate); font-weight: 500;
}
.bio .dropcap { padding-left: 0; }
.bio-wrap { padding-inline: var(--gutter); }

.studio { width: calc(100% - var(--gutter) * 2); max-width: 1180px; margin: clamp(50px, 5vw, 96px) auto 0; aspect-ratio: 1180 / 505; overflow: hidden; border: 1px solid #e7e7e7; }
.studio img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.principles { padding-block: clamp(110px, 12vw, 230px) 0; }
.principle-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 2.8vw, 54px);
  max-width: 1180px; margin: clamp(80px, 8vw, 150px) auto 0;
}
.principle .num { font-size: 20px; color: var(--steel); }
.principle h3 { margin-top: 26px; font-size: clamp(22px, 1.4vw, 26px); font-weight: 500; letter-spacing: -0.01em; }
.principle p { margin-top: 18px; max-width: 340px; font-size: 14px; line-height: 1.6; color: var(--muted); }

.milestones { padding-block: clamp(110px, 12vw, 220px) 0; }
.milestone-list { list-style: none; padding: 0; max-width: 820px; margin: clamp(50px, 4.5vw, 86px) auto 0; border-top: 1px solid var(--line); }
.milestone-list li {
  display: grid; grid-template-columns: 150px 1fr;
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--line);
}
.milestone-list .year { font-size: 26px; color: var(--slate); letter-spacing: -0.01em; line-height: 1.2; }
.milestone-list h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.milestone-list p { margin-top: 18px; max-width: 420px; font-size: 14px; line-height: 1.6; color: var(--muted); }

.big-quote { padding-block: clamp(120px, 14vw, 280px) clamp(80px, 7vw, 120px); text-align: center; }
.big-quote blockquote p {
  max-width: 900px; margin: 0 auto;
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 300; line-height: 1.35; color: var(--ink);
}
.big-quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 11px; letter-spacing: .26em; color: var(--steel); }

.conversation { padding-block: clamp(40px, 4vw, 70px) 0; }
.qa { list-style: none; padding: 0; max-width: 820px; margin: clamp(50px, 4.6vw, 88px) auto 0; border-top: 1px solid var(--line); }
.qa li { padding: 36px 0 30px; border-bottom: 1px solid var(--line); }
.qa .eyebrow { font-size: 11px; letter-spacing: .22em; }
.qa p { margin-top: 16px; font-size: clamp(18px, 1.15vw, 22px); line-height: 1.62; color: var(--ink); }

/* ---------- Real Estate ---------- */
.re-intro { padding-block: clamp(50px, 4vw, 60px) clamp(90px, 8vw, 150px); text-align: center; }
.re-intro h1 {
  margin-top: 36px;
  font-size: clamp(60px, 6.25vw, 120px);
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.05;
}
.re-intro hr { width: 64px; margin: clamp(40px, 3.6vw, 66px) auto; border: 0; border-top: 1px solid #c9ccd0; }
.re-intro p { max-width: 580px; margin: 0 auto; font-size: clamp(21px, 1.56vw, 30px); line-height: 1.6; color: var(--muted); }

.work { padding-inline: var(--edge); }
.work + .work { margin-top: clamp(24px, 2vw, 36px); }
.work-media { overflow: hidden; aspect-ratio: 1840 / 940; background: #eceef0; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.work:hover .work-media img { transform: scale(1.015); }
.work-head { padding-top: clamp(40px, 3.6vw, 68px); text-align: center; }
.work-head .eyebrow { font-size: 12px; letter-spacing: .3em; }
.work-head h2 { margin-top: 14px; font-size: clamp(40px, 4.4vw, 84px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; color: var(--ink); }
.work-head .loc { display: block; margin-top: 16px; font-size: 12px; letter-spacing: .3em; color: var(--muted); }

.work-body { max-width: 880px; margin: 0 auto; padding-block: clamp(24px, 2.2vw, 40px) clamp(56px, 4vw, 80px); text-align: center; }
.work-body > p { font-size: clamp(18px, 1.3vw, 25px); line-height: 1.6; color: var(--muted); }
.specs {
  display: flex; justify-content: center; gap: clamp(36px, 4.4vw, 84px);
  max-width: 900px; margin: clamp(40px, 3vw, 58px) auto 0;
  padding-top: clamp(30px, 2vw, 38px);
  border-top: 1px solid var(--line);
}
.spec small { display: block; font-size: 10px; letter-spacing: .24em; color: #44586d; }
.spec strong { display: block; margin-top: 12px; font-size: clamp(18px, 1.15vw, 22px); font-weight: 400; color: var(--ink); line-height: 1.6; }

.portfolio { padding-block: clamp(90px, 9vw, 170px) clamp(100px, 10vw, 190px); }
.portfolio .section-head p { max-width: 640px; margin: 26px auto 0; font-size: clamp(17px, 1.1vw, 21px); line-height: 1.6; color: var(--muted); }
.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 27px; row-gap: 72px;
  max-width: 1320px; margin: clamp(50px, 4.6vw, 88px) auto 0;
}
.card-media { overflow: hidden; aspect-ratio: 421 / 316; background: #eceef0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 24px; }
.card h3 { font-size: clamp(18px, 1.1vw, 21px); font-weight: 500; letter-spacing: -0.01em; }
.card .where { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.status { flex-shrink: 0; font-size: 13px; color: var(--steel); }
.status.dev { color: var(--gold); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee, .hero img, .scroll-cue i { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .venture { grid-template-columns: 1fr 1.3fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { height: 68px; }
  main { padding-top: 68px; }
  .brand img { width: 51px; }
  .hero { aspect-ratio: auto; height: calc(100svh - 68px); min-height: 560px; }
  .hero img { object-position: 50% 20%; }
  .hero-content { top: auto; bottom: 36px; }
  .hero h1 { font-size: 54px; margin-top: 10px; }
  .hero p { max-width: 340px; font-size: 16px; margin-top: 20px; }
  .scroll-cue { margin-top: 22px; gap: 10px; }
  .scroll-cue span { font-size: 10px; }
  .scroll-cue i { height: 36px; }
  .stats { grid-template-columns: 1fr; gap: 40px; padding-bottom: 36px; }
  .venture { grid-template-columns: 1fr; gap: 28px; }
  .venture-copy { max-width: none; order: 2; }
  .venture-media { order: 1; }
  .venture + .venture { margin-top: 72px; }
  .honor-list li { flex-direction: column; gap: 8px; padding-right: 0; }
  .founder { grid-template-columns: 1fr; padding-inline: var(--gutter); }
  .founder figure { margin: 0; max-width: 420px; }
  .dropcap::first-letter { margin-left: 0; }
  .studio { aspect-ratio: 4 / 3; }
  .principle-grid { grid-template-columns: 1fr; gap: 48px; }
  .milestone-list li { grid-template-columns: 1fr; gap: 10px; }
  .specs { flex-wrap: wrap; gap: 28px 40px; }
  .grid { grid-template-columns: 1fr; row-gap: 52px; }
  .footer-nav { gap: 26px; }
}

/* ---------- Fidelity tweaks ---------- */
body { letter-spacing: -0.012em; }
.portfolio.wrap { max-width: calc(1320px + var(--gutter) * 2); }
.statement p, .big-quote blockquote p { letter-spacing: -0.02em; }
.h-section, .founder h1, .re-intro h1 { letter-spacing: -0.04em; }

@media (max-width: 760px) {
  .legacy-title::before { display: none; }
  .work-head h2 { font-size: 36px; }
  .work-head .eyebrow { font-size: 11px; }
}

/* ---------- Mobile / tablet menu ---------- */
.menu-toggle { display: none; }
@media (max-width: 1024px) {
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -10px; padding: 0 10px;
    background: none; border: 0; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle span {
    display: block; height: 1.5px; width: 100%;
    background: var(--ink); border-radius: 2px;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .2s ease;
  }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .site-header { padding-inline: var(--edge); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--edge) 22px;
    background: #fff;
    box-shadow: 0 18px 30px -18px rgba(31, 38, 43, .18);
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .35s;
  }
  .menu-open .nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s;
  }
  .nav a {
    display: block; padding: 18px 0;
    font-size: 15px; letter-spacing: .14em;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: 0; }
  .site-header.menu-open { background: #fff; }
}
