@font-face {
  font-family: "Source Serif";
  src: url("/assets/source-serif-4-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("/assets/source-serif-4-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans";
  src: url("/assets/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans";
  src: url("/assets/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Jura";
  src: url("/assets/jura-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #14191a;
  --muted: #66706f;
  --paper: #f4f1e9;
  --white: #fff;
  --line: rgba(20, 25, 26, 0.16);
  --green: #427a6e;
  --green-soft: #dce8e2;
  --purple: #807791;
  --sand: #ad946a;
  --serif: "Source Serif", Georgia, serif;
  --sans: "Source Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 4.2vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Jura", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.wordmark img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.site-header .wordmark img {
  filter: invert(1);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.nav-cta span,
.button span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.nav-cta:hover span,
.button:hover span {
  transform: translate(2px, -2px);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 5vw;
  align-items: center;
  padding: 145px 7vw 80px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 37%, rgba(75, 135, 121, 0.45), transparent 32%),
    linear-gradient(135deg, #101819 0%, #162624 46%, #0e1718 100%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 26px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8.2vw, 9.3rem);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.06em;
}

em {
  font-weight: 400;
  color: #9fc0b7;
}

.hero-intro {
  max-width: 510px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

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

.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 14px;
}

.text-link span {
  margin-left: 8px;
}

.orbit {
  position: relative;
  width: min(42vw, 590px);
  aspect-ratio: 1;
  margin: auto;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.orbit-ring-one {
  inset: 11%;
  animation: spin 35s linear infinite;
}

.orbit-ring-two {
  inset: 27%;
  border-style: dashed;
  animation: spin 22s linear infinite reverse;
}

.orbit-ring-one::before,
.orbit-ring-two::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fc0b7;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.core {
  position: absolute;
  inset: 38%;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 70px rgba(97, 160, 145, 0.19);
  backdrop-filter: blur(12px);
}

.core img {
  width: 60%;
  filter: invert(1);
  opacity: 0.9;
}

.core span {
  position: absolute;
  top: calc(100% + 14px);
  width: 140px;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent {
  position: absolute;
  z-index: 4;
  min-width: 116px;
  padding: 12px 14px 11px 27px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.agent strong,
.agent small {
  display: block;
}

.agent strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}

.agent small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.agent-status {
  position: absolute;
  left: 13px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7cc5ad;
  box-shadow: 0 0 0 5px rgba(124, 197, 173, 0.1);
}

.agent-citta { top: 4%; left: 40%; }
.agent-research { top: 44%; left: 0; }
.agent-teaching { right: 0; top: 35%; }
.agent-grant { bottom: 4%; left: 47%; }

.statement,
.principles,
.habitats {
  padding: 130px 7vw;
}

.statement {
  display: grid;
  grid-template-columns: 0.42fr 1.2fr;
  column-gap: 7vw;
  background: var(--white);
}

.section-index {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.statement h2,
.section-heading h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.8vw, 6.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.statement h2 em {
  color: var(--green);
}

.statement-copy {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  max-width: 780px;
  margin-top: 56px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}

.statement-copy p {
  margin: 0;
}

.habitats {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.2fr;
  gap: 7vw;
  margin-bottom: 80px;
}

.habitat {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 630px;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.habitat-copy {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 10px;
  align-content: center;
  padding: clamp(32px, 5vw, 78px);
  border-right: 1px solid var(--line);
}

.habitat-number {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
}

.habitat h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 6vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.habitat-copy p:not(.eyebrow, .habitat-number) {
  max-width: 390px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
}

.habitat ul {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.habitat li::before {
  content: "↳";
  margin-right: 9px;
  color: var(--green);
}

.cosmo-demo {
  align-self: center;
  width: calc(100% - 8vw);
  max-width: 700px;
  min-height: 430px;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
  box-shadow: 0 30px 70px rgba(24, 35, 34, 0.12);
  overflow: hidden;
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.demo-bar span {
  display: flex;
  gap: 5px;
}

.demo-bar i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.demo-bar small {
  color: var(--muted);
  font-size: 11px;
}

.demo-bar b {
  margin-left: auto;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.message {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  padding: 25px 28px;
}

.message + .message {
  border-top: 1px solid rgba(20, 25, 26, 0.08);
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
}

.message-agent .avatar {
  background: var(--green);
}

.message strong {
  font-size: 13px;
  font-weight: 600;
}

.message time {
  margin-left: 7px;
  color: #929b9a;
  font-size: 10px;
  font-weight: 400;
}

.message p {
  max-width: 500px;
  margin: 7px 0 0;
  color: #4b5655;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
}

.activity-pill {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 9px;
  border-radius: 99px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 10px;
  font-weight: 600;
}

.muted-message {
  opacity: 0.75;
}

.product-frame {
  align-self: center;
  width: calc(100% - 6vw);
  margin: auto 0 auto auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(24, 35, 34, 0.13);
  overflow: hidden;
}

.product-frame img {
  display: block;
  width: 100%;
}

.principles {
  color: var(--white);
  background: #11191a;
}

.principles .section-heading {
  margin-bottom: 75px;
}

.principles .section-index {
  color: rgba(255, 255, 255, 0.45);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.principle-grid article {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.principle-grid span {
  color: #8ab4a8;
  font-family: var(--serif);
  font-size: 13px;
}

.principle-grid h3 {
  margin: 75px 0 20px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.principle-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 14px;
  line-height: 1.55;
}

.closing {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 650px;
  color: var(--white);
  background: var(--green);
}

.closing-mark {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.closing-mark img {
  width: min(55%, 360px);
  filter: invert(1);
  opacity: 0.88;
}

.closing-copy {
  align-self: center;
  padding: 80px 8vw;
}

.closing-copy p:not(.eyebrow) {
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--serif);
  font-size: 18px;
}

footer {
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 100px;
  padding: 0 4.2vw;
  background: var(--white);
}

footer p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
}

footer > a:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

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

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 155px;
  }

  .orbit {
    width: min(80vw, 520px);
  }

  .statement,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .statement h2,
  .section-heading h2 {
    margin-top: 30px;
  }

  .statement-copy {
    grid-column: auto;
  }

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

  .habitat-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cosmo-demo,
  .product-frame {
    width: calc(100% - 8vw);
    margin: 5vw auto;
    border-right: 1px solid var(--line);
    border-radius: 10px;
  }

  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 68px;
    padding: 0 20px;
  }

  .site-header nav > a:not(.nav-cta) {
    display: none;
  }

  .wordmark {
    gap: 8px;
    font-size: 11px;
  }

  .wordmark img {
    width: 22px;
    height: 22px;
  }

  .nav-cta {
    padding: 8px 11px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 130px 20px 70px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 18vw, 5.5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .orbit {
    width: 105vw;
    margin: 50px -12vw 0;
    transform: scale(0.86);
  }

  .agent {
    min-width: 102px;
    padding-right: 8px;
  }

  .statement,
  .principles,
  .habitats {
    padding: 80px 20px;
  }

  .statement-copy {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .habitat {
    min-height: 0;
  }

  .habitat-copy {
    grid-template-columns: 35px 1fr;
    padding: 40px 20px;
  }

  .cosmo-demo {
    min-height: 0;
  }

  .message {
    padding: 19px;
  }

  .message p {
    font-size: 14px;
  }

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

  .principle-grid article {
    min-height: 230px;
  }

  .principle-grid h3 {
    margin-top: 48px;
  }

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

  .closing-mark {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .closing-copy {
    padding: 70px 20px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 30px 20px;
  }

  footer > a:last-child {
    margin-left: 0;
  }
}

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

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