:root {
  --ink: #11110f;
  --paper: #f1efe8;
  --paper-deep: #e4e0d4;
  --blue: #1a47ff;
  --muted: #68675f;
  --line: rgba(17, 17, 15, 0.22);
  --display: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

.hero-copy,
.hero-note,
.section-heading,
.capability-grid,
.transparency-copy,
.identity-title,
.identity dl {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.13;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

.site-header,
main,
footer {
  width: min(1380px, calc(100% - 56px));
  margin-inline: auto;
}

.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  animation: reveal 600ms ease-out both;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.header-contact {
  font-size: 14px;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 9vw;
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-label {
  margin: 0 0 32px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1030px;
  margin-bottom: 42px;
  font-family: var(--display);
  font-size: clamp(4.3rem, 8.5vw, 9.2rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-wrap: balance;
  animation: rise 750ms 100ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-intro {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  color: #373630;
  animation: rise 750ms 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-note {
  padding-top: 18px;
  border-top: 3px solid var(--blue);
  animation: rise 750ms 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-note p {
  margin: 18px 0 0;
  font-size: 0.95rem;
}

.note-number,
.capability-grid article > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.manifesto {
  padding: 120px 0 128px;
  border-bottom: 1px solid var(--line);
}

.manifesto-line {
  max-width: 1120px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.3vw, 6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.capabilities {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  padding: 130px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.transparency h2,
.identity h2 {
  max-width: 580px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.2vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.capability-grid {
  border-top: 1px solid var(--ink);
}

.capability-grid article {
  display: grid;
  grid-template-columns: 52px minmax(160px, 0.8fr) 1.2fr;
  gap: 22px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}

.capability-grid h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.1;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
}

.transparency {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: 130px max(28px, calc((100vw - min(1380px, calc(100vw - 56px))) / 2));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10vw;
  background: var(--ink);
  color: var(--paper);
}

.transparency .section-label {
  color: #6e8aff;
}

.transparency-copy {
  max-width: 680px;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: #ccc9bf;
}

.transparency-copy p:last-child {
  margin-bottom: 0;
}

.identity {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10vw;
  padding: 130px 0 112px;
}

.identity dl {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.identity dl > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.identity dt {
  color: var(--muted);
  font-size: 0.84rem;
}

.identity dd {
  margin: 0;
  font-weight: 500;
}

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 24px;
}

@keyframes reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1380px);
  }

  .header-contact {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 76px 0 56px;
  }

  .hero-copy,
  .hero-intro,
  .hero-note,
  h1 {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5.5rem);
  }

  .hero-note {
    max-width: 420px;
  }

  .manifesto,
  .capabilities,
  .identity {
    padding: 88px 0;
  }

  .capabilities,
  .transparency,
  .identity {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

@media (max-width: 620px) {
  .capability-grid article {
    grid-template-columns: 42px 1fr;
  }

  .capability-grid article p {
    grid-column: 2;
  }

  .identity dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
