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

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin-var.woff2") format("woff2");
}

/*
 * Two real faces, matching src/styles.css. This previously declared one file
 * across the 400-500 range, so .about-eyebrow's weight 500 was synthesised
 * from the 400 file — which meant the same eyebrow style rendered differently
 * on /about/ than on the pages served by styles.css.
 */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

:root {
  --ink-deep: #0b111d;
  --ink: #121b2c;
  --ink-soft: #29364a;
  --blue: #3977d7;
  --blue-deep: #2859a7;
  --sky: #7fcaff;
  --paper: #eef3f6;
  --surface: #f9fbfc;
  --white: #fff;
  --line: #bdc9d4;
  --muted: #5f6d7c;
  --font-display: "Space Grotesk", sans-serif;
  --font-sans: "DM Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  color: var(--ink);
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--ink-deep);
}
body {
  min-width: 320px;
  margin: 0;
  background: var(--ink-deep);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
::selection {
  color: var(--ink-deep);
  background: var(--sky);
}

#site-header-root,
body > main,
.site-footer {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
}

body > main,
.site-footer {
  box-shadow: 0 0 80px rgb(0 0 0 / 26%);
}

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

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.about-eyebrow,
.about-label > span {
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 130px;
}

.about-label > span {
  color: var(--muted);
}

.about-hero {
  position: relative;
  min-height: calc(100svh - 88px);
  padding: 108px 56px 76px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.about-hero__field {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(127 202 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(127 202 255 / 5%) 1px, transparent 1px),
    radial-gradient(circle at 20% 60%, rgb(57 119 215 / 25%), transparent 35%);
  background-size:
    48px 48px,
    48px 48px,
    auto;
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}

.about-hero > *:not(.about-hero__field):not(.about-hero__datum) {
  position: relative;
  z-index: 1;
}
.about-hero .about-eyebrow {
  color: var(--sky);
}

.about-hero h1 {
  max-width: 1100px;
  margin-top: 76px;
  font-family: var(--font-display);
  font-size: clamp(80px, 9vw, 138px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.072em;
}

.about-hero__lead {
  width: min(610px, 48vw);
  margin: 72px 7vw 0 auto;
  color: rgb(255 255 255 / 74%);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 35px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

/* Plumb line and bob: the line hangs on the mark's own axis, ending at the ring. */
.about-hero__datum {
  position: absolute;
  top: 88px;
  right: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
  opacity: 0.2;
}

.about-hero__datum span {
  width: 1px;
  height: 270px;
  background: var(--sky);
}
.about-hero__datum img {
  width: 240px;
  margin-top: -10px;
}

.reason {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 7vw;
  padding: 132px 56px;
  background: var(--surface);
}

.reason__copy h2,
.beliefs header h2,
.name-story__principles h2,
.founder__story h2 {
  max-width: 1050px;
  font-family: var(--font-display);
  font-size: clamp(54px, 6.2vw, 92px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.reason__lead {
  max-width: 850px;
  margin-top: 54px;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.8vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.reason__copy > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  max-width: 880px;
  margin-top: 68px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  border-top: 1px solid var(--line);
}

.beliefs {
  padding: 132px 56px;
  background: var(--paper);
}
.beliefs header {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 7vw;
}
.beliefs header > div:last-child > p {
  max-width: 680px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.beliefs__list {
  margin-top: 96px;
  border-top: 1px solid var(--line);
}

.beliefs__list article {
  display: grid;
  grid-template-columns: 1fr;
  padding: 32px 0 38px;
  border-bottom: 1px solid var(--line);
}

.beliefs__list article > div {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(300px, 1.2fr);
  gap: 6vw;
}
.beliefs__list h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.beliefs__list p {
  max-width: 660px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.name-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 7vw;
  padding: 132px 56px;
  background: var(--surface);
}

.name-story__definition {
  padding-right: 5vw;
  border-right: 1px solid var(--line);
}
.name-story__word {
  margin-top: 52px;
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 112px);
  line-height: 0.85;
  letter-spacing: -0.065em;
}
.name-story__grammar,
.name-story__values span {
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}
.name-story__grammar {
  margin-top: 24px;
}
.name-story__line {
  display: flex;
  gap: 24px;
  margin-top: 64px;
}
.name-story__line > span {
  flex: none;
  width: 1px;
  height: 190px;
  background: var(--blue);
}
.name-story__line p {
  max-width: 390px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.name-story__principles {
  padding-top: 38px;
}
.name-story__principles > p {
  max-width: 700px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.name-story__principles em {
  color: var(--blue-deep);
  font-style: normal;
}
.name-story__values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 68px;
}
.name-story__values > div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.name-story__values p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
}

.founder {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 7vw;
  padding: 132px 56px;
  background: var(--paper);
}
.founder__rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 580px;
  padding-right: 5vw;
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.12em;
  border-right: 1px solid var(--line);
}
.founder__story {
  max-width: 900px;
}
.founder__story > p {
  max-width: 720px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.67;
}
.founder__story > p + p {
  margin-top: 22px;
}
.founder__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 70px;
}
.founder__facts div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.founder__facts strong {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.founder__facts span {
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.about-contact {
  padding: 132px 56px 142px;
  color: var(--white);
  background: var(--blue-deep);
}
.about-contact .about-eyebrow {
  color: var(--sky);
}
.about-contact h2 {
  max-width: 1150px;
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: clamp(54px, 6.7vw, 100px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.06em;
}
.about-contact > a {
  display: inline-flex;
  justify-content: space-between;
  gap: 56px;
  min-width: 300px;
  margin-top: 62px;
  padding: 17px 0 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgb(255 255 255 / 65%);
}
.about-contact > a:hover {
  color: var(--sky);
  border-color: var(--sky);
}

@media (max-width: 800px) {
  .about-hero {
    min-height: 780px;
    padding: 86px 22px 60px;
  }
  .about-hero h1 {
    font-size: clamp(63px, 18vw, 92px);
  }
  .about-hero__lead {
    width: 100%;
    margin: 62px 0 0;
  }
  .about-hero__datum {
    right: -150px;
  }
  .reason,
  .beliefs,
  .name-story,
  .founder {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 90px 22px;
  }
  .reason__copy > div,
  .beliefs header {
    grid-template-columns: 1fr;
  }
  .beliefs__list article > div {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .name-story__definition,
  .founder__rail {
    padding-right: 0;
    padding-bottom: 60px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .name-story__values {
    grid-template-columns: 1fr;
  }
  .founder__rail {
    min-height: 180px;
  }
  .about-contact {
    padding: 96px 22px;
  }
}

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

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

/* See the small-screen block in styles.css — same reasoning, same breakpoint. */
@media (max-width: 640px) {
  .name-story__grammar,
  .name-story__values span,
  .founder__facts span {
    font-size: 11px;
  }

  .about-eyebrow,
  .about-label > span,
  .founder__rail {
    font-size: 11.5px;
  }

  .about-contact > a {
    font-size: 11.5px;
    display: inline-block;
    padding-block: 6px;
  }
}
