@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111a37;
  --ink-soft: #2a365e;
  --blue: #5368f4;
  --blue-dark: #3547c7;
  --sky: #91a1ff;
  --violet: #8468ff;
  --mint: #83e3c0;
  --coral: #d66b3c;
  --paper: #fbfbfe;
  --mist: #f1f3fb;
  --line: #dfe3f2;
  --muted: #626d8c;
  --white: #fff;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", sans-serif;
  --shadow: 0 28px 80px rgba(17, 26, 55, 0.12);
  --radius: 1.5rem;
  --content: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(circle at 8% 3%, rgba(145, 161, 255, 0.12), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.container { width: min(calc(100% - 2.5rem), var(--content)); margin-inline: auto; }
.reading { width: min(100%, 46rem); }
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-dark { background: var(--ink); color: white; }
.section-mist { background: var(--mist); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 251, 254, 0.86);
  border-bottom: 1px solid rgba(223, 227, 242, 0.78);
  backdrop-filter: blur(18px) saturate(120%);
}
.nav-shell { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; }
.brand-name { font-size: 0.82rem; font-weight: 780; letter-spacing: 0.18em; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a { padding: 0.7rem 0.85rem; border-radius: 999px; color: var(--muted); font-size: 0.875rem; font-weight: 620; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: white; color: var(--ink); box-shadow: 0 1px 0 rgba(17,26,55,.08), 0 8px 24px rgba(17,26,55,.06); }
.menu-button { display: none; border: 0; border-radius: 999px; background: var(--ink); color: white; padding: 0.65rem 0.9rem; cursor: pointer; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.25rem; color: var(--blue-dark); font-size: 0.72rem; font-weight: 760; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.9rem; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--sky); }
.display {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.1rem, 8.6vw, 8.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.display em { color: var(--blue); font-style: normal; }
.page-title { max-width: 12ch; margin: 0; font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 400; line-height: 0.92; letter-spacing: -0.045em; }
.section-title { max-width: 16ch; margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5.1vw, 5.4rem); font-weight: 400; line-height: 0.96; letter-spacing: -0.04em; }
.lede { max-width: 41rem; margin: 1.75rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.55; }
.lede-light { color: #c9d0e9; }

.hero { padding: clamp(4rem, 8vw, 7rem) 0 clamp(6rem, 10vw, 10rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(25rem, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 3.2rem; padding: 0.75rem 1.2rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 26, 55, 0.18); }
.button-light { border-color: var(--line); background: white; color: var(--ink); }
.button-ghost-dark { border-color: rgba(255,255,255,.28); background: transparent; color: white; }
.button svg { width: 1rem; height: 1rem; }

.hero-visual { position: relative; min-width: 0; }
.hero-picture { display: block; overflow: hidden; border-radius: clamp(1.6rem, 4vw, 3.5rem) 3.5rem 3.5rem 8rem; box-shadow: var(--shadow); }
.hero-picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-note { position: absolute; left: -2.2rem; bottom: -1.5rem; width: min(20rem, 70%); padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.72); border-radius: 1rem; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); box-shadow: 0 18px 45px rgba(17,26,55,.13); }
.hero-note strong { display: block; margin-bottom: 0.2rem; font-size: 0.84rem; }
.hero-note span { color: var(--muted); font-size: 0.78rem; }
.orbit-chip { position: absolute; top: -1.4rem; right: -1.1rem; width: 5rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.09em; text-align: center; transform: rotate(7deg); box-shadow: 0 14px 36px rgba(83,104,244,.33); }

.mission-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(3rem, 10vw, 9rem); align-items: start; }
.mission-statement { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5.5vw, 5.5rem); line-height: 1; letter-spacing: -0.04em; }
.mission-copy { max-width: 38rem; }
.mission-copy p { margin: 0 0 1.2rem; color: #ced4ea; font-size: 1.08rem; }

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.principle { min-height: 17rem; padding: 1.6rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.045); }
.principle-number { color: var(--sky); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.principle h3 { margin: 4.8rem 0 0.7rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.principle p { margin: 0; color: #b9c2dd; font-size: 0.93rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading p { max-width: 30rem; margin: 0; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.project-card { position: relative; display: flex; flex-direction: column; min-height: 39rem; overflow: hidden; border: 1px solid var(--line); border-radius: 2rem; background: white; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 rgba(17,26,55,.03); transition: transform 220ms ease, box-shadow 220ms ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 24px 65px rgba(17,26,55,.12); }
.project-art { overflow: hidden; }
.project-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-art img { transform: scale(1.025); }
.project-body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.4rem, 3vw, 2rem); }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.42rem 0.7rem; border-radius: 999px; background: var(--mist); color: var(--ink-soft); font-size: 0.68rem; font-weight: 760; letter-spacing: 0.1em; text-transform: uppercase; }
.status::before { content: ""; width: 0.43rem; height: 0.43rem; border-radius: 50%; background: var(--blue); }
.project-index { color: var(--muted); font-size: 0.75rem; }
.project-card h3 { margin: 1.8rem 0 0.7rem; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; line-height: 1; letter-spacing: -0.035em; }
.project-card p { margin: 0 0 1.5rem; color: var(--muted); }
.project-link { margin-top: auto; font-size: 0.85rem; font-weight: 750; }

.leadership-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 9vw, 8rem); align-items: center; }
.portrait-placeholder { position: relative; min-height: 33rem; overflow: hidden; border-radius: 2rem; background: var(--mist); }
.portrait-placeholder::before { content: "K"; position: absolute; left: -0.08em; bottom: -0.26em; color: rgba(83,104,244,.12); font-family: var(--serif); font-size: 36rem; line-height: 1; }
.portrait-placeholder::after { content: "LEADERSHIP / EXPERIENCE / JUDGMENT"; position: absolute; right: 1.5rem; top: 1.5rem; width: 10rem; color: var(--blue-dark); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-align: right; }
.bio h2 { margin: 0 0 1.2rem; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); font-weight: 400; line-height: 0.96; letter-spacing: -0.04em; }
.bio-role { color: var(--blue-dark); font-weight: 720; }
.bio p { color: var(--muted); font-size: 1.04rem; }
.credential-list { display: grid; gap: 0.75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.credential-list li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.87rem; }
.credential-list strong { color: var(--blue-dark); font-size: 0.67rem; letter-spacing: 0.1em; text-transform: uppercase; }

.cta-panel { position: relative; overflow: hidden; padding: clamp(2.5rem, 7vw, 6rem); border-radius: 2.5rem; background: var(--blue); color: white; }
.cta-panel::after { content: ""; position: absolute; width: 30rem; height: 30rem; right: -12rem; bottom: -20rem; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(255,255,255,.04), 0 0 0 8rem rgba(255,255,255,.025); }
.cta-panel h2 { position: relative; z-index: 1; max-width: 12ch; margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; line-height: 0.94; letter-spacing: -0.04em; }
.cta-panel p { position: relative; z-index: 1; max-width: 34rem; margin: 1.4rem 0 2rem; color: #e7eaff; }
.cta-panel .button { position: relative; z-index: 1; background: white; color: var(--ink); border-color: white; }

.page-hero { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(3rem, 10vw, 9rem); align-items: end; }
.page-hero-aside { max-width: 30rem; justify-self: end; color: var(--muted); font-size: 1.08rem; }
.page-hero-aside p { margin-top: 0; }
.project-hero-art { margin-top: 3rem; overflow: hidden; border-radius: 2.2rem; box-shadow: var(--shadow); }
.project-hero-art img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.project-dark .project-hero-art { box-shadow: 0 28px 80px rgba(0,0,0,.28); }

.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 1.5rem 1.5rem 1.5rem 0; }
.fact + .fact { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fact strong { display: block; margin-bottom: 0.4rem; color: var(--blue-dark); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.fact span { font-size: 0.94rem; }

.content-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(3rem, 10vw, 9rem); align-items: start; }
.sticky-label { position: sticky; top: 7rem; }
.content-prose { max-width: 46rem; }
.content-prose h2 { margin: 0 0 1.2rem; font-family: var(--serif); font-size: clamp(2.7rem, 4.8vw, 4.7rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.035em; }
.content-prose h3 { margin: 2.5rem 0 0.6rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.content-prose p { color: var(--muted); font-size: 1.05rem; }
.content-prose p:first-of-type { font-size: 1.24rem; }
.flow-list { display: grid; gap: 0; margin: 2.5rem 0 0; padding: 0; list-style: none; counter-reset: flow; }
.flow-list li { counter-increment: flow; display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.flow-list li::before { content: counter(flow, decimal-leading-zero); color: var(--blue-dark); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }
.flow-list strong { display: block; margin-bottom: 0.25rem; }
.flow-list span { color: var(--muted); font-size: 0.9rem; }

.contact-card { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: 2rem; background: white; }
.contact-email { display: inline-block; margin-top: 1rem; font-family: var(--serif); font-size: clamp(2rem, 5.5vw, 5rem); line-height: 1; letter-spacing: -0.035em; text-decoration: none; }
.contact-email:hover { color: var(--blue); }
.legal-table { width: 100%; margin-top: 2rem; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 1rem 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { width: 12rem; color: var(--blue-dark); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-table td { color: var(--muted); }

.site-footer { padding: 3.5rem 0 2rem; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; }
.footer-brand { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 2.4rem; }
.footer-statement { max-width: 29rem; margin: 0; color: #aeb8d4; font-size: 0.9rem; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { color: #dbe0f2; font-size: 0.84rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); color: #8995b5; font-size: 0.74rem; }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.js [data-reveal][data-visible] { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid, .mission-grid, .leadership-grid, .page-hero-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 1rem; }
  .display { max-width: 11ch; }
  .hero-note { left: 1rem; }
  .page-hero-aside { justify-self: start; }
  .sticky-label { position: static; }
  .project-hero-art img { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 1.5rem), var(--content)); }
  .nav-shell { min-height: 4.2rem; }
  .menu-button { display: inline-flex; }
  .nav-links { position: absolute; left: 0.75rem; right: 0.75rem; top: calc(100% + 0.5rem); display: none; flex-direction: column; align-items: stretch; padding: 0.6rem; border: 1px solid var(--line); border-radius: 1.2rem; background: white; box-shadow: var(--shadow); }
  .nav-links[data-open] { display: flex; }
  .nav-links a { padding: 0.85rem 1rem; }
  .display { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .hero { padding-top: 3.2rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin-top: 1rem; }
  .hero-picture { border-radius: 1.5rem 1.5rem 1.5rem 4rem; }
  .hero-note { position: relative; left: auto; bottom: auto; width: calc(100% - 1rem); margin: -1.2rem auto 0; }
  .orbit-chip { top: -1rem; right: -0.15rem; width: 4.2rem; }
  .principles-grid, .project-grid, .facts-grid { grid-template-columns: 1fr; }
  .principle { min-height: 14rem; }
  .principle h3 { margin-top: 3.5rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .project-card { min-height: 0; }
  .facts-grid { border-bottom: 0; }
  .fact, .fact + .fact { padding: 1.2rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .contact-card { grid-template-columns: 1fr; }
  .legal-table th { width: 8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
