:root {
  color-scheme: dark;
  --ink: #080e17;
  --surface: #101b2b;
  --paper: #edf2f5;
  --light-text: #edf5fb;
  --muted: #adbfce;
  --blue: #63daff;
  --deep-blue: #155471;
  --line: #2b3d4e;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --section-space: clamp(4.5rem, 10vw, 9rem);
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--ink);
  color: var(--light-text);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 6.5rem; scroll-behavior: smooth; }
body { margin: 0; }
body, button { font-size: 1rem; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: absolute; top: .7rem; left: .7rem; z-index: 5; padding: .65rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - var(--pad) * 2, 81rem); margin-inline: auto; }
.eyebrow { font-size: .875rem; font-weight: 800; letter-spacing: .09em; line-height: 1.45; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: .65rem; color: var(--blue); }
.kicker::before { content: ""; inline-size: 1.25rem; block-size: 1px; background: currentColor; flex: none; }
p { line-height: 1.68; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.055em; }
h1 { font-size: clamp(3rem, 5.75vw, 6.1rem); line-height: .99; }
h2 { font-size: clamp(2.45rem, 5.1vw, 5.15rem); line-height: 1; text-wrap: balance; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.15; }
:is(h1, h2) em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.12em; color: var(--blue); letter-spacing: -.02em; }
.section-light { color-scheme: light; color: #122232; background: var(--paper); }
.section-light :is(.kicker, h2 em) { color: var(--deep-blue); }
.section-light :is(figcaption, .company-copy > p:not(.eyebrow), .founder-story p) { color: #41586b; }
.text-link { font-weight: 800; text-underline-offset: .32em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 100vmax;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.3;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button-primary { background: var(--blue); color: #062132; }
.button-primary:hover { background: #a0ebff; }
.button-outline { border-color: #52677b; }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }

.read-progress { display: none; }
.has-motion .read-progress {
  display: block;
  position: fixed;
  z-index: 4;
  inset: 0 0 auto;
  height: 3px;
  background: var(--blue);
  transform: scaleX(var(--read-progress, 0));
  transform-origin: left;
  pointer-events: none;
}
.site-header { position: sticky; top: 0; z-index: 3; background: rgb(8 14 23 / .95); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { font-size: 1.7rem; font-weight: 800; line-height: 1; letter-spacing: -.08em; text-decoration: none; flex: none; }
.wordmark span { color: var(--blue); }
.main-nav { display: flex; gap: clamp(1rem, 2.4vw, 2rem); align-items: center; }
.main-nav a, .footer-inner nav a { color: var(--muted); font-size: .94rem; font-weight: 800; text-decoration: none; }
.main-nav a:hover, .footer-inner nav a:hover { color: var(--blue); }
.header-contact { flex: none; }
.menu-toggle { background: none; color: var(--light-text); border: 1px solid #52677b; border-radius: 100vmax; padding: .55rem .9rem; font-family: inherit; font-weight: 800; }
.menu-toggle span { display: inline-block; width: .65rem; height: .65rem; border-right: 1px solid; border-bottom: 1px solid; margin-left: .35rem; transform: translateY(-.12rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span { transform: translateY(.12rem) rotate(225deg); }

.hero {
  min-height: min(47rem, calc(100svh - 5rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4.8vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 8rem);
}
body { background: radial-gradient(ellipse 72rem 37rem at 81% 20rem, #173855 0%, transparent 80%), var(--ink); }
.hero-copy { min-width: 0; }
.hero-copy h1 em { display: block; }
.hero-copy .kicker { margin-bottom: 1.65rem; }
.hero-summary { color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.24rem); max-width: 33rem; margin-block: 1.6rem 2rem; }
.actions, .contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.hero-art { border: 1px solid #456077; background: #0d1825; min-width: 0; position: relative; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; z-index: 1; width: 1.15rem; height: 1.15rem; pointer-events: none; }
.hero-art::before { inset: -.13rem auto auto -.13rem; border: solid var(--blue); border-width: 2px 0 0 2px; }
.hero-art::after { inset: auto -.13rem -.13rem auto; border: solid var(--blue); border-width: 0 2px 2px 0; }
.hero-image { overflow: hidden; }
.hero-image img { width: 100%; }
.has-motion .hero-copy { animation: hero-in .75s ease-out both; }
.has-motion .hero-art { animation: hero-in .9s .12s ease-out both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }

.company, .founder, .services, .work { padding-block: var(--section-space); }
.company-grid, .founder-grid, .service-grid, .contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.company-grid { align-items: center; }
.company-copy h2, .section-intro h2, .founder-heading h2, .work-heading h2, .contact h2 { margin-top: 1rem; }
.company-copy > p:not(.eyebrow) { max-width: 37rem; margin-top: 1.25rem; font-size: clamp(1rem, 1.28vw, 1.16rem); }
.media-frame { overflow: hidden; background: #273748; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.company-photo-frame { aspect-ratio: 5 / 4; }
.founder-photo-frame { aspect-ratio: 4 / 3; }
.company-photo figcaption, .founder-photo figcaption { margin-top: .65rem; font-size: .875rem; }
.has-motion [data-parallax] img { transform: translateY(var(--image-offset, 0px)) scale(1.13); }

.services { background: #101a29; border-block: 1px solid var(--line); }
.section-intro > p:not(.eyebrow) { color: var(--muted); max-width: 24rem; margin-top: 1.2rem; }
.service-list article { padding: 1.5rem .25rem 1.5rem 1.1rem; border-top: 1px solid #425365; box-shadow: inset 2px 0 transparent; transition: box-shadow .25s; }
.service-list article:last-child { border-bottom: 1px solid #425365; }
.service-list article:hover { box-shadow: inset 2px 0 var(--blue); }
.service-list p { margin-top: .55rem; max-width: 40rem; color: var(--muted); }

.founder { background: #e3edf2; }
.founder-heading { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.founder-story .founder-intro { margin-bottom: 1.55rem; color: #223b51; font-size: clamp(1.07rem, 1.5vw, 1.28rem); font-weight: 600; }
.timeline { margin: 0 0 1.65rem; padding: 0 0 0 1.35rem; list-style: none; border-left: 1px solid #8ca9ba; }
.timeline li { position: relative; padding-bottom: 1.2rem; }
.timeline li:last-child { padding-bottom: .25rem; }
.timeline li::before { position: absolute; content: ""; width: .56rem; height: .56rem; top: .46rem; left: calc(-1.35rem - .32rem); border-radius: 50%; background: var(--deep-blue); box-shadow: 0 0 0 4px #e3edf2; }
.timeline h3 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -.035em; }
.timeline p { margin-top: .35rem; }

.work { background: var(--ink); }
.work-heading { display: grid; grid-template-columns: 1fr minmax(16rem, .55fr); align-items: end; gap: 1.2rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.work-heading > p { color: var(--muted); max-width: 24rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3.5vw, 3rem); }
.project { background: #101a28; border: 1px solid var(--line); }
.project-image { aspect-ratio: 16 / 8.5; }
.project-image img { transition: transform .45s; }
.project:hover .project-image img { transform: scale(1.04); }
.project-copy { padding: clamp(1.15rem, 2.6vw, 2rem); }
.project-copy .eyebrow { color: var(--blue); margin-bottom: .55rem; }
.project-copy h3 { margin-bottom: .6rem; }
.project-copy p:not(.eyebrow), .media-note { color: var(--muted); }
.project-copy a { display: inline-block; margin-top: .75rem; }
.media-note { margin-top: 1rem; font-size: .875rem; }

.contact { padding-block: clamp(3.5rem, 8vw, 6rem); background: #112940; border-block: 1px solid #35536c; }
.contact-inner { align-items: end; }
.contact-inner p:not(.eyebrow) { margin-bottom: 1.1rem; color: #d1e1ed; }
.documents-section { padding-block: 1.5rem; background: #101a29; }
.documents-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
details summary { cursor: pointer; }
.documents-panel > summary h2 { font-size: 1.1rem; letter-spacing: -.025em; }
.documents-panel > summary span { color: var(--blue); font-size: 1.4rem; }
.documents-panel[open] > summary span, .document-row[open] .expand-icon { transform: rotate(45deg); }
.documents-panel > p { color: var(--muted); margin-top: .75rem; }
.document-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.documents-list { margin-top: 1.2rem; }
.document-row { border-top: 1px solid #374858; }
.document-row summary { display: grid; grid-template-columns: max-content 1fr max-content; gap: .8rem; padding: .85rem 0; }
.document-row .doc-title { color: var(--light-text); }
.document-row small { display: block; color: var(--muted); font-size: .875rem; margin-top: .28rem; }
.doc-number, .expand-icon { color: var(--blue); }
.document-empty { margin: 0 0 1rem 2rem; color: var(--muted); }
.site-footer { padding-block: clamp(1.5rem, 5vw, 3rem); }
.footer-inner { display: flex; gap: 1rem 1.6rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.footer-inner p { color: var(--muted); font-size: .9rem; }
.footer-inner nav { display: flex; gap: .6rem 1rem; flex-wrap: wrap; }

.has-motion [data-reveal]:not(.is-visible):not(:focus-within) {
  opacity: .12;
  transform: translateY(2.3rem);
}
.has-motion [data-reveal] { transition: opacity .65s ease-out, transform .72s cubic-bezier(.2,.65,.3,1); }
.has-motion :is(.company-photo, .founder-photo) .media-frame { transition: clip-path .9s cubic-bezier(.2,.65,.3,1); clip-path: inset(0); }
.has-motion :is(.company-photo, .founder-photo):not(.is-visible):not(:focus-within) .media-frame { clip-path: inset(12% 0 0 16%); }

@media (max-width: 980px) {
  .header-inner { gap: .9rem; }
  .header-contact { padding-inline: .9rem; }
  .hero { gap: 2rem; }
  .actions { align-items: flex-start; }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 5rem; }
  .header-inner { min-height: 3.85rem; flex-wrap: wrap; gap: .65rem 1rem; padding-block: .6rem; }
  .header-contact { display: none; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: .55rem 1rem; padding-bottom: .35rem; }
  .main-nav a { padding-block: .25rem; }
  .hero, .company-grid, .service-grid, .founder-grid, .contact-inner, .work-heading { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: 3.45rem 2.75rem; }
  .hero-copy .kicker { margin-bottom: 1.05rem; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-summary { margin-block: 1.2rem 1.45rem; }
  .company-photo-frame { aspect-ratio: 5 / 3.5; }
  .founder-photo-frame { aspect-ratio: 5 / 3.25; }
  .work-heading { gap: 1rem; }
}
@media (max-width: 490px) {
  .project-grid { grid-template-columns: 1fr; }
  .contact-links a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
