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

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

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

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

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

:root {
  --black: #111212;
  --black-soft: #181919;
  --white: #f2f0e9;
  --white-soft: #c9c6bf;
  --muted: #85847f;
  --line: rgba(242, 240, 233, 0.24);
  --line-soft: rgba(242, 240, 233, 0.13);
  --blue: #315fa6;
  --max: 1280px;
  --font-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-text-serif: "Newsreader", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--white);
  background: var(--black);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main:focus { outline: none; }

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

::selection {
  color: var(--black);
  background: var(--white);
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 5px;
}

.company :focus-visible,
.statement :focus-visible {
  outline-color: var(--black);
}

.page-frame {
  width: min(calc(100% - 96px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  color: var(--black);
  background: var(--white);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(17, 18, 18, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 96px;
  display: grid;
  grid-template-columns: 250px 1fr 100px;
  gap: 36px;
  align-items: center;
}

.brand,
.brand img { display: block; }
.brand img { width: 165px; }

nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 62px);
}

nav a,
.header-contact {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

nav a {
  position: relative;
  opacity: 0.86;
  transition: opacity 220ms ease;
}

nav a[aria-current="true"] { opacity: 1; }

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 700px;
  height: min(72vw, 730px);
  overflow: hidden;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  will-change: transform;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-copy {
  position: absolute;
  top: 148px;
  left: 0;
  width: min(720px, 55vw);
}

.technical-label,
.chain-head,
.service-note,
.hero-location {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.technical-label {
  margin-bottom: 45px;
  color: var(--white-soft);
}

.hero .technical-label {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero .technical-label::after {
  content: "";
  width: 118px;
  height: 1px;
  background: var(--white-soft);
  opacity: 0.7;
}

h1 {
  margin-bottom: 38px;
  font-size: clamp(4.2rem, 6.1vw, 5.8rem);
  font-weight: 590;
  letter-spacing: -0.072em;
  line-height: 0.87;
}

h1 em,
.statement-copy em,
.company h2 em,
.contact h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
}

h1 em {
  display: block;
  font-size: 1.05em;
  letter-spacing: -0.062em;
}

.hero-lede {
  max-width: 580px;
  margin-bottom: 34px;
  color: #dedbd4;
  font-family: var(--font-text-serif);
  font-size: 1.15rem;
  line-height: 1.55;
}

.primary-link {
  display: inline-block;
  min-width: 270px;
  padding: 8px 0 9px;
  border-bottom: 2px solid var(--blue);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-text-serif);
  font-size: 1.1rem;
  transition: color 220ms ease, border-color 220ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  color: white;
  border-color: white;
}

.hero-location {
  position: absolute;
  right: 0;
  bottom: 56px;
  display: grid;
  justify-items: end;
  color: #b2b0aa;
}

.design-chain {
  min-height: 330px;
  padding: 38px 0 52px;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.chain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
  color: var(--white-soft);
}

.chain-head p { margin: 0; }

.chain-head .technical-label {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--white-soft);
}

.chain-head .technical-label::after {
  content: "";
  width: 50px;
  height: 1px;
  background: var(--white-soft);
}

.chain-body {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 52px;
}

.chain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chain-grid li { min-width: 0; }

.chain-grid li {
  opacity: 0.78;
  transition: opacity 300ms ease;
}

.chain-grid li:hover { opacity: 1; }

.chain-grid li > span,
.service-rows article > span,
.approach-steps li > span {
  display: block;
  margin-bottom: 25px;
  color: var(--white-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
}

.chain-grid h2 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.1vw, 2.2rem);
  font-weight: 400;
}

.chain-grid p {
  max-width: 245px;
  margin: 0;
  color: #c6c3bc;
  font-family: var(--font-text-serif);
  font-size: 1rem;
  line-height: 1.42;
}

.chain-note {
  align-self: stretch;
  padding: 40px 0 0 28px;
  border-left: 1px solid var(--line);
  color: #85847f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.statement {
  padding: 185px 0 205px;
  background: var(--white);
  color: var(--black);
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.38fr 1.62fr;
  gap: 80px;
  align-items: start;
}

.statement .technical-label { color: #555651; }

.statement-copy {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 6.2rem);
  font-weight: 580;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.statement-copy em { font-weight: 400; }

.section { padding: 150px 0; }

.section-head {
  display: grid;
  grid-template-columns: 0.35fr 1.05fr 0.6fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 88px;
}

.section-head h2,
.approach-intro h2,
.company h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.section-head > p:last-child,
.approach-intro > p:last-child {
  margin-top: 8px;
  color: #aaa8a2;
}

.services { background: var(--black-soft); }

.service-rows { border-top: 1px solid var(--line); }

.service-rows article {
  display: grid;
  grid-template-columns: 70px 0.9fr 1.1fr 190px;
  gap: 44px;
  align-items: start;
  padding: 42px 0 46px;
  border-bottom: 1px solid var(--line);
}

.service-rows article > span { margin: 4px 0 0; }

.service-rows h3 {
  max-width: 380px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.18;
}

.service-rows article > p:not(.service-note) {
  max-width: 530px;
  margin: 2px 0 0;
  color: #b4b1aa;
}

.service-note {
  margin: 5px 0 0;
  color: #8d8b85;
  text-align: right;
}

.outputs {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 85px;
  margin-top: 88px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.outputs .technical-label { margin-bottom: 24px; }

.outputs-intro > p:last-child {
  max-width: 430px;
  margin: 0;
  color: #aaa8a2;
}

.outputs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.outputs-list li {
  min-height: 86px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: #d4d1ca;
  font-family: var(--font-text-serif);
  font-size: 1.08rem;
}

.approach {
  background: var(--black);
  border-top: 1px solid var(--line-soft);
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 105px;
  align-items: start;
}

.approach-intro {
  position: sticky;
  top: 130px;
}

.approach-intro h2 { margin-bottom: 30px; }

.approach-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.approach-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line);
}

.approach-steps li > span { margin: 5px 0 0; }

.approach-steps h3 {
  margin-bottom: 9px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.approach-steps p { margin-bottom: 0; color: #aaa8a2; }

.company {
  color: var(--black);
  background: var(--white);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 120px;
  align-items: start;
}

.company .technical-label { color: #565751; }
.company h2 em { display: block; }
.company-copy { padding-top: 78px; }

.company-lede {
  font-family: var(--font-text-serif);
  font-size: 1.45rem;
  line-height: 1.5;
}

.company-copy > p:not(.company-lede) { color: #565751; }

.company aside {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 26px;
  margin-top: 45px;
  padding: 25px 0;
  border-top: 1px solid #b9b7b0;
  border-bottom: 1px solid #b9b7b0;
}

.company aside > span {
  color: #555651;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.company aside p { margin: 0; }

.team {
  background: var(--black-soft);
  border-top: 1px solid var(--line-soft);
}

.team-head {
  display: grid;
  grid-template-columns: 0.35fr 1.05fr 0.6fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 88px;
}

.team-head h2 {
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.team-head > p:last-child {
  margin-top: 8px;
  color: #aaa8a2;
}

.team-grid {
  display: block;
  border-top: 1px solid var(--line);
}

.team-grid article {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding: 31px 0 35px;
  border-bottom: 1px solid var(--line);
}

.team-role {
  margin: 5px 0 0;
  color: #96948e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.55;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-grid h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.12;
}

.team-grid article > p:last-child {
  max-width: 430px;
  margin: 0;
  color: #aaa8a2;
  font-family: var(--font-text-serif);
}

.contact {
  padding: 155px 0;
  background: var(--black);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 115px;
  align-items: end;
}

.contact h2 em { display: block; }

.contact-copy {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-copy > p:first-child {
  margin-bottom: 38px;
  color: #b8b5ae;
}

.contact-copy > a {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--blue);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  text-decoration: none;
}

.contact-caution {
  margin: 36px 0 0;
  padding-top: 25px;
  border-top: 1px solid var(--line-soft);
  color: #7f7e79;
  font-size: 0.9rem;
}

.site-footer {
  padding: 40px 0;
  background: var(--black);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer-grid img { width: 142px; }
.footer-grid p { margin: 0; color: #85847f; font-size: 0.86rem; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.js .chain-grid li:nth-child(2)[data-reveal],
.js .service-rows article:nth-child(2)[data-reveal],
.js .approach-steps li:nth-child(2)[data-reveal] { transition-delay: 70ms; }

.js .chain-grid li:nth-child(3)[data-reveal],
.js .service-rows article:nth-child(3)[data-reveal],
.js .approach-steps li:nth-child(3)[data-reveal] { transition-delay: 140ms; }

.js .chain-grid li:nth-child(4)[data-reveal] { transition-delay: 210ms; }

@media (max-width: 1080px) {
  .page-frame { width: min(calc(100% - 64px), var(--max)); }
  .nav-shell { grid-template-columns: 190px 1fr 90px; }
  nav { gap: 25px; }
  .hero-copy { width: min(650px, 67vw); }
  .hero-media { object-position: 58% center; opacity: 0.82; }
  .chain-body { grid-template-columns: 1fr; gap: 0; }
  .chain-grid { gap: 30px; }
  .chain-note { display: none; }
  .section-head { grid-template-columns: 0.38fr 1.25fr; }
  .section-head > p:last-child { grid-column: 2; }
  .service-rows article { grid-template-columns: 54px 0.9fr 1.1fr; }
  .service-note { grid-column: 2 / -1; text-align: left; }
  .outputs { grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
  .team-head { grid-template-columns: 0.38fr 1.25fr; }
  .team-head > p:last-child { grid-column: 2; }
  .team-grid article { grid-template-columns: 0.8fr 1fr 1.1fr; gap: 30px; }
  .approach-grid,
  .company-grid,
  .contact-grid { gap: 70px; }
}

@media (max-width: 820px) {
  .nav-shell { min-height: 76px; grid-template-columns: 1fr auto auto; gap: 22px; }
  .brand img { width: 142px; }
  nav { display: flex; }
  nav a:not([href="#services"]) { display: none; }
  .header-contact { grid-column: 3; }

  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero-media {
    object-position: 52% center;
    opacity: 0.64;
  }

  .hero-copy {
    top: 130px;
    width: min(690px, 90%);
  }

  h1 { font-size: clamp(4rem, 11.5vw, 6rem); }
  .chain-grid { grid-template-columns: 1fr 1fr; gap: 46px 36px; }
  .statement-grid,
  .approach-grid,
  .company-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .statement-grid,
  .approach-grid,
  .company-grid,
  .contact-grid { gap: 55px; }
  .section-head { display: block; }
  .section-head h2 { margin: 24px 0 28px; }
  .outputs { grid-template-columns: 1fr; gap: 38px; }
  .team-head { display: block; }
  .team-head h2 { margin: 24px 0 28px; }
  .team-grid article { grid-template-columns: 0.75fr 1.25fr; gap: 10px 28px; }
  .team-grid article > p:last-child { grid-column: 2; }
  .approach-intro { position: static; }
  .company-copy { padding-top: 0; }
  .footer-grid { grid-template-columns: 150px 1fr; }
  .footer-grid > p:last-child { grid-column: 2; }
}

@media (max-width: 560px) {
  .page-frame { width: min(calc(100% - 36px), var(--max)); }
  .nav-shell { gap: 16px; }
  .brand img { width: 128px; }
  .hero { min-height: 720px; height: 92svh; }
  .hero-media { object-position: 36% center; opacity: 0.6; }
  .hero-copy { top: 116px; width: 100%; }
  .hero .technical-label { margin-bottom: 35px; }
  .hero .technical-label::after { width: 45px; }
  h1 { font-size: clamp(3.2rem, 14vw, 4.3rem); line-height: 0.9; }
  h1 em { font-size: 0.9em; }
  .hero-lede { max-width: 93%; font-size: 1.06rem; }
  .primary-link { min-width: 245px; }
  .hero-location { bottom: 28px; }
  .design-chain { padding-top: 30px; }
  .chain-head > p:last-child { display: none; }
  .chain-grid { grid-template-columns: 1fr; gap: 0; }
  .chain-grid li { padding: 28px 0; border-top: 1px solid var(--line-soft); }
  .chain-grid li > span { margin-bottom: 15px; }
  .chain-grid p { max-width: none; }
  .statement { padding: 105px 0 120px; }
  .statement-copy { font-size: 3rem; }
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 55px; }
  .section-head h2,
  .approach-intro h2,
  .company h2,
  .contact h2,
  .team-head h2 { font-size: 3.35rem; }
  .service-rows article { grid-template-columns: 38px 1fr; gap: 18px; }
  .service-rows article > p:not(.service-note),
  .service-note { grid-column: 2; }
  .outputs-list { grid-template-columns: 1fr; }
  .team-grid article { grid-template-columns: 1fr; gap: 10px; padding: 27px 0 31px; }
  .team-grid article > p:last-child { grid-column: 1; }
  .team-role { margin: 0 0 4px; }
  .approach-steps li { grid-template-columns: 38px 1fr; gap: 15px; }
  .company aside { grid-template-columns: 1fr; gap: 10px; }
  .contact { padding: 105px 0; }
  .contact-grid { gap: 45px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid > p:last-child { grid-column: auto; }

  .js .chain-grid li[data-reveal],
  .js .service-rows article[data-reveal],
  .js .team-grid article[data-reveal],
  .js .approach-steps li[data-reveal] { transition-delay: 0ms; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }
}
