:root {
  --paper: #f5f3ee;
  --paper-2: #ece9e1;
  --ink: #181916;
  --muted: #686a63;
  --line: #c9c9c1;
  --line-soft: rgba(24, 25, 22, 0.12);
  --accent: #df553b;
  --accent-soft: #f3c6bc;
  --dark: #1b1c19;
  --white: #fffdf9;
  --max: 1260px;
  --pad: clamp(22px, 5vw, 72px);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.75), transparent 30%),
    linear-gradient(var(--paper), var(--paper));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--accent-soft);
}

.section-shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.site-header {
  width: min(calc(100% - 32px), calc(var(--max) - 32px));
  height: 76px;
  margin: 14px auto 0;
  padding: 0 clamp(14px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 14px;
  z-index: 50;
  border: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(245, 243, 238, .82);
  border-color: rgba(24, 25, 22, .1);
  box-shadow: 0 12px 42px rgba(24, 25, 22, .06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #5e605b;
}

.brand img {
  width: 37px;
  height: auto;
}

.brand span {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: color .2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .nav-cta {
  color: var(--ink);
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
}

/* Typography */

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 450;
  letter-spacing: -.055em;
}

h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(54px, 7vw, 104px);
  line-height: .92;
}

h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.06em;
}

h2 {
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: .98;
}

h3 {
  font-size: 29px;
  line-height: 1.04;
}

/* Hero */

.hero {
  min-height: calc(100svh - 90px);
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(90px, 13vh, 150px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr);
  align-items: center;
  gap: 42px;
}

.hero-lede {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-quiet {
  background: rgba(255,255,255,.25);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.relational-field {
  width: min(100%, 520px);
  aspect-ratio: 1;
  position: relative;
  isolation: isolate;
}

.relational-field::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.65), rgba(255,255,255,0) 66%);
}

.orbit {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(24,25,22,.21);
  border-radius: 50%;
}

.orbit-a {
  left: 27%;
  top: 8%;
}

.orbit-b {
  left: 11%;
  top: 38%;
}

.orbit-c {
  right: 11%;
  top: 38%;
}

.relation {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(223,85,59,0), rgba(223,85,59,.85), rgba(223,85,59,0));
  transform-origin: left center;
  z-index: -1;
}

.relation-1 {
  width: 38%;
  left: 32%;
  top: 37%;
  transform: rotate(-18deg);
}

.relation-2 {
  width: 39%;
  left: 28%;
  top: 62%;
  transform: rotate(20deg);
}

.relation-3 {
  width: 39%;
  left: 42%;
  top: 62%;
  transform: rotate(-20deg);
}

.entity {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  transition: transform .18s ease-out;
}

.entity-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #61625d;
  box-shadow: 0 0 0 7px rgba(97,98,93,.07);
}

.entity-label {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.entity-a {
  left: 50%;
  top: 8%;
}

.entity-b {
  left: 11%;
  top: 69%;
}

.entity-c {
  left: 89%;
  top: 69%;
}

.entity-robot {
  left: 50%;
  top: 52%;
}

.robot-glyph {
  width: 46px;
  height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 26px rgba(24,25,22,.09);
}

.robot-glyph::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 9px;
  background: var(--ink);
  transform: translateY(-23px);
}

.robot-glyph::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-29px);
}

.robot-glyph i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.field-core {
  position: absolute;
  left: 50%;
  top: 73%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.05;
  text-align: center;
  font-style: italic;
}

.field-thought {
  position: absolute;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  opacity: .75;
}

.thought-a { left: 66%; top: 23%; }
.thought-b { left: 4%; top: 47%; }
.thought-c { right: 0; top: 46%; }

/* Statement */

.statement {
  padding-top: clamp(90px, 13vw, 180px);
  padding-bottom: 70px;
  border-top: 1px solid var(--line-soft);
}

.statement h2 {
  max-width: 900px;
  margin-bottom: 36px;
}

.statement-copy {
  max-width: 760px;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.55;
}

/* Principles */

.principles {
  padding-top: 60px;
  padding-bottom: clamp(110px, 13vw, 190px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle {
  min-height: 310px;
  padding: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.principle-index {
  color: var(--accent);
  font: italic 18px/1 Georgia, serif;
}

.principle h3 {
  margin-top: auto;
  margin-bottom: 15px;
}

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

/* Social layer */

.layer-section {
  padding: clamp(100px, 13vw, 170px) 0;
  background: var(--dark);
  color: var(--white);
}

.layer-section .eyebrow {
  color: #989a92;
}

.layer-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: end;
}

.layer-intro h2 {
  margin-bottom: 0;
}

.layer-intro > p {
  max-width: 520px;
  margin: 0 0 5px;
  color: #b7b9b1;
  font-size: 19px;
}

.architecture {
  margin-top: 90px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.arch-item {
  min-height: 120px;
  display: flex;
  flex-direction: column;
}

.arch-kicker {
  color: #777a72;
  font-size: 11px;
  letter-spacing: .13em;
}

.arch-item strong {
  margin-top: auto;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 500;
}

.arch-item small {
  color: #8d9087;
  font-size: 12px;
}

.arch-focus strong {
  color: #f0a18f;
}

.arch-arrow {
  color: #666a61;
  font-size: 24px;
}

.compatibility {
  padding-top: 34px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 26px;
  color: #8d9087;
  font-size: 13px;
}

.compatibility div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.compatibility b {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #c5c7c0;
  font-weight: 400;
}

/* Technology */

.technology {
  padding-top: clamp(100px, 13vw, 180px);
  padding-bottom: clamp(110px, 13vw, 180px);
}

.technology-heading {
  max-width: 900px;
  margin-bottom: 80px;
}

.technology-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}

.tech-copy {
  max-width: 530px;
}

.tech-copy p {
  color: var(--muted);
  font-size: 17px;
}

.tech-copy .large-copy {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.38;
}

.stack-diagram {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  position: relative;
  perspective: 900px;
}

.stack-card,
.stack-base {
  width: min(100%, 560px);
  min-height: 70px;
  padding: 18px 22px;
  margin-top: -8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(24,25,22,.15);
  background: rgba(255,255,255,.44);
  box-shadow: 0 18px 35px rgba(24,25,22,.035);
  transform: rotateX(52deg) rotateZ(-2deg);
}

.stack-card span {
  font-size: 18px;
}

.stack-card i {
  color: var(--muted);
  font: italic 14px Georgia, serif;
}

.stack-1 { width: 66%; }
.stack-2 { width: 74%; }
.stack-3 { width: 84%; }
.stack-4 { width: 93%; }

.stack-base {
  min-height: 88px;
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  font-size: 12px;
  letter-spacing: .12em;
}

/* Applications */

.applications {
  background: #e7e3da;
  padding: clamp(100px, 13vw, 170px) 0;
}

.applications-heading {
  max-width: 1050px;
  margin-bottom: 75px;
}

.application {
  padding: 28px 0;
  border-top: 1px solid rgba(24,25,22,.18);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: center;
}

.application:last-child {
  border-bottom: 1px solid rgba(24,25,22,.18);
}

.app-number {
  color: var(--accent);
  font: italic 17px Georgia, serif;
}

.application h3 {
  margin: 0 0 9px;
  font-size: clamp(26px, 3vw, 42px);
}

.application p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

.app-symbol {
  font-size: 28px;
  transition: transform .2s ease;
}

.application:hover .app-symbol {
  transform: translate(4px, -4px);
}

/* Research */

.research {
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 70px;
  align-items: center;
}

.research-mark {
  min-height: 350px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255,255,255,.25);
}

.research-mark img {
  width: 150px;
  opacity: .82;
}

.research-copy {
  max-width: 710px;
}

.research-copy h2 {
  margin-bottom: 30px;
}

.research-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

/* Contact */

.contact {
  background: var(--accent);
  color: #fff9f5;
}

.contact-inner {
  min-height: 520px;
  padding-top: 90px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
}

.contact .eyebrow {
  color: rgba(255,255,255,.7);
}

.contact h2 {
  margin-bottom: 0;
  font-size: clamp(60px, 8vw, 115px);
}

.contact-copy {
  max-width: 500px;
}

.contact-copy p {
  margin: 0 0 30px;
  color: rgba(255,255,255,.78);
  font-size: 19px;
}

.button-light {
  background: #fffaf7;
  border-color: #fffaf7;
  color: var(--ink);
}

/* Footer */

.site-footer {
  min-height: 150px;
  padding-top: 45px;
  padding-bottom: 45px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 35px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.brand-footer span {
  font-size: 20px;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1);
}

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

/* Responsive */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    margin-top: -30px;
  }

  .relational-field {
    width: min(100%, 470px);
  }

  .layer-intro,
  .technology-grid,
  .research,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .layer-intro {
    gap: 35px;
  }

  .architecture {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .arch-item {
    min-height: 104px;
    padding: 18px 0;
  }

  .arch-arrow {
    transform: rotate(90deg);
    transform-origin: center;
    justify-self: start;
  }

  .compatibility {
    align-items: flex-start;
    flex-direction: column;
  }

  .compatibility div {
    justify-content: flex-start;
  }

  .research-mark {
    min-height: 280px;
  }

  .contact-inner {
    gap: 35px;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 22px;
  }

  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    margin-top: 10px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    display: grid;
    place-content: center;
    gap: 6px;
  }

  .nav-toggle span:not(.sr-only) {
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform .2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 20px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: rgba(245,243,238,.98);
    box-shadow: 0 16px 35px rgba(24,25,22,.08);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 8px 0;
    font-size: 16px;
  }

  .site-nav .nav-cta {
    padding: 11px 14px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 85px;
    padding-bottom: 100px;
  }

  h1 {
    font-size: clamp(52px, 15vw, 82px);
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-visual {
    margin-top: 25px;
  }

  .thought-a,
  .thought-b,
  .thought-c {
    display: none;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 230px;
  }

  .technology-heading {
    margin-bottom: 45px;
  }

  .stack-diagram {
    min-height: 385px;
  }

  .application {
    grid-template-columns: 44px 1fr;
  }

  .app-symbol {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
