:root {
  --ink: #171817;
  --paper: #f2f1ed;
  --paper-deep: #e6e4de;
  --muted: #777a78;
  --line: rgba(23, 24, 23, 0.18);
  --slate: #71808d;
  --slate-light: #b9c2c8;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 64px);
  color: white;
  mix-blend-mode: difference;
}
.wordmark { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.logo-badge {
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.08em;
}
.header-name { font-size: .76rem; letter-spacing: .1em; }
.nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s ease; }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { right: 0; }
.menu-button { display: none; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; font-size: .76rem; font-weight: 700; letter-spacing: .08em; }

.hero {
  min-height: 78svh;
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: clamp(50px, 8vw, 130px);
  padding: 132px clamp(22px, 4vw, 64px) 72px;
  position: relative;
}
.hero-main { align-self: end; }
.hero-kicker { margin-bottom: clamp(52px, 10vh, 96px); color: #a6aaa8; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.6rem, 5.6vw, 5.9rem);
  font-style: normal;
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.055em;
}
.hero-side { align-self: end; padding-bottom: .55rem; }
.hero-side p { max-width: 410px; margin: 0 0 42px; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.42; color: #d4d6d5; }
.hero-meta { border-top: 1px solid #4d504f; padding-top: 16px; color: #949997; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.scroll-link { position: absolute; right: clamp(22px, 4vw, 64px); bottom: 28px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #9b9f9d; }

.section { padding: clamp(85px, 11vw, 150px) clamp(22px, 4vw, 64px); }
.section-head { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .6fr 1.4fr; gap: 50px; align-items: start; }
.eyebrow { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.section-title {
  margin: -.1em 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.5rem, 3.9vw, 4.2rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
.section-copy { max-width: 560px; margin: 28px 0 0; font-size: clamp(1rem, 1.4vw, 1.2rem); color: #555957; }
.section-panel { padding-top: clamp(70px, 8vw, 110px); padding-bottom: clamp(70px, 8vw, 110px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.lead-project {
  min-height: min(720px, 78svh);
  background: #606267;
  color: white;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
}
.lead-project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,16,16,.78), rgba(15,16,16,.15) 62%); }
.project-overlay { position: relative; z-index: 2; width: 100%; padding: clamp(40px, 6vw, 78px) clamp(22px, 4vw, 64px); }
.project-num { display: block; margin-bottom: clamp(52px, 12vh, 110px); color: #d7d8d7; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.project-overlay h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 4.8vw, 5rem);
  font-style: normal;
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.05em;
}
.project-overlay p { margin: 24px 0 30px; max-width: 450px; font-size: clamp(1rem, 1.45vw, 1.25rem); line-height: 1.42; color: #eceeed; }
.project-link { display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid currentColor; padding-bottom: 6px; font-size: .73rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.project-link::after { content: "↗"; font-size: .95rem; transition: transform .2s ease; }
.project-link:hover::after { transform: translate(3px, -3px); }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); gap: 1px; }
.project-card {
  min-height: 420px;
  padding: clamp(30px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
}
.project-card .card-top { display: flex; justify-content: space-between; gap: 20px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.status { display: inline-flex; gap: 8px; align-items: center; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.project-card h3 {
  margin: 0 0 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.35rem, 3.2vw, 3.5rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
.project-card p { margin: 0; max-width: 430px; font-size: 1.02rem; line-height: 1.45; color: rgba(255,255,255,.78); }
.pipeline { background: #242727; }
.clipboard { background: #805f50; }
.zama { background: #40534d; }
.mobi-form { background: #526579; }
.mobi-core-tech { background: #d5d7d4; color: var(--ink); }
.mobi-core-tech .card-top, .mobi-core-tech p { color: rgba(23,24,23,.68); }
.slm-gym { background: #293b49; }

.theory-section { background: var(--slate-light); padding: clamp(90px, 13vw, 170px) clamp(22px, 4vw, 64px); }
.theory-inner { max-width: var(--max); margin: 0 auto; }
.theory-section h2 { margin: 22px 0 52px; max-width: 780px; font-size: clamp(2.9rem, 5.5vw, 5.8rem); line-height: .98; letter-spacing: -.065em; }
.theory-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 980px; }
.theory-copy p { margin: 0; max-width: 450px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.45; color: #364047; }

.manifesto { background: var(--slate-light); padding: clamp(90px, 13vw, 170px) clamp(22px, 4vw, 64px); }
.manifesto-inner { max-width: var(--max); margin: 0 auto; }
.manifesto blockquote {
  margin: 24px 0 0;
  max-width: 18ch;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.6rem, 4.1vw, 4.4rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.manifesto .project-link { margin-top: 44px; }

.footer { background: var(--ink); color: white; padding: 70px clamp(22px, 4vw, 64px) 30px; }
.footer-main { min-height: 240px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; border-bottom: 1px solid #444746; padding-bottom: 42px; }
.footer-label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; }
.footer h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.5rem, 3.8vw, 4rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.footer-email { font-size: clamp(1rem, 1.7vw, 1.4rem); border-bottom: 1px solid white; padding-bottom: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; color: #969a98; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }

.page-hero { min-height: 56svh; background: var(--ink); color: white; display: flex; align-items: end; padding: 140px clamp(22px, 4vw, 64px) 64px; }
.page-hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .55fr 1.2fr; gap: 50px; align-items: end; }
.page-hero .eyebrow { align-self: start; color: #9ca09e; }
.page-hero h1 {
  grid-column: 2;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.4rem, 5vw, 5.3rem);
  font-style: normal;
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.055em;
}
.page-hero p { grid-column: 2; max-width: 620px; margin: 18px 0 0; color: #c9ccca; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.project-index { background: var(--ink); }
.project-index .project-card { min-height: 400px; }

.principles { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 70px .9fr 1fr; gap: 34px; border-bottom: 1px solid var(--line); padding: 44px 0; }
.principle-num { color: var(--muted); font-size: .72rem; letter-spacing: .1em; }
.principle h2 { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: clamp(1.8rem, 3vw, 3.1rem); font-style: normal; font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.principle p { margin: 0; max-width: 520px; color: #555957; font-size: 1rem; }

.contact-panel { min-height: 100svh; background: var(--paper-deep); padding: 132px clamp(22px, 4vw, 64px) 52px; display: flex; flex-direction: column; justify-content: space-between; }
.contact-panel h1 {
  margin: 22px 0 0;
  max-width: 10ch;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.6rem, 5.2vw, 5.5rem);
  font-style: normal;
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.055em;
}
.contact-row { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; border-top: 1px solid var(--ink); padding-top: 24px; align-items: end; }
.contact-row p { margin: 0; max-width: 400px; color: #555957; }
.contact-row a { font-family: Arial, Helvetica, sans-serif; font-size: clamp(1.5rem, 3vw, 3.1rem); font-style: normal; font-weight: 700; letter-spacing: -.04em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

.legal { max-width: 830px; padding: 150px clamp(22px, 4vw, 64px) 110px; margin: 0 auto; }
.legal h1 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(3rem, 5.5vw, 5.6rem); font-style: normal; font-weight: 700; letter-spacing: -.05em; }
.legal h2 { margin-top: 48px; font-size: 1.25rem; }
.legal p { color: #4f5351; font-size: 1.05rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { min-height: 82svh; grid-template-columns: 1fr; gap: 65px; }
  .hero-side { max-width: 540px; }
  .section-head { grid-template-columns: 1fr; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero h1, .page-hero p { grid-column: 1; }
  .principle { grid-template-columns: 50px 1fr; }
  .principle p { grid-column: 2; }
}

@media (max-width: 680px) {
  .site-header { height: 66px; }
  .header-name { display: none; }
  .menu-button { display: block; }
  .nav { position: fixed; inset: 66px 0 auto; display: none; padding: 26px 22px 34px; flex-direction: column; align-items: flex-start; gap: 24px; background: var(--ink); color: white; mix-blend-mode: normal; border-top: 1px solid #444; }
  .nav.open { display: flex; }
  .hero { min-height: 86svh; padding-top: 112px; padding-bottom: 48px; }
  .hero-kicker { margin-bottom: 64px; }
  .hero h1 { font-size: clamp(3.6rem, 17vw, 5.6rem); }
  .scroll-link { display: none; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .lead-project { min-height: 650px; }
  .lead-project::after { background: linear-gradient(0deg, rgba(15,16,16,.82), rgba(15,16,16,.08) 80%); }
  .project-num { margin-bottom: 48px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-index .project-card { min-height: 380px; }
  .theory-copy { grid-template-columns: 1fr; gap: 24px; }
  .footer-main { min-height: 220px; align-items: flex-start; flex-direction: column; justify-content: flex-end; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .page-hero { min-height: 62svh; padding-bottom: 48px; }
  .principle { grid-template-columns: 1fr; gap: 14px; }
  .principle p { grid-column: auto; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-row a { overflow-wrap: anywhere; }
}

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