/* Premium editorial layer: deliberately separated so legal pages keep the stable base layout. */
:root {
  --page: min(1360px, calc(100vw - 64px));
  --paper-deep: #eee7d9;
  --graphite: #292a25;
}

body {
  background:
    radial-gradient(circle at 91% 16%, rgba(85, 190, 211, .11), transparent 31rem),
    radial-gradient(circle at 4% 46%, rgba(185, 111, 82, .09), transparent 30rem),
    var(--paper);
}

.nav-shell {
  width: var(--page);
  max-width: none;
}

.brand {
  min-width: 0;
}

.brand .brand-wordmark,
.brand > img {
  width: clamp(136px, 12vw, 152px);
  height: auto;
  max-height: 60px;
  object-fit: contain;
  object-position: left center;
}

.brand-copy {
  display: none;
}

.hero {
  min-height: min(940px, 100svh);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(34px, 4vw, 66px);
  padding: 132px 0 64px;
}

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

.hero h1 {
  max-width: 670px;
  font-size: clamp(4rem, 7vw, 7.6rem);
}

.trajectory-wrap {
  margin: 0;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  border-radius: clamp(30px, 5vw, 68px);
  background:
    linear-gradient(112deg, rgba(255, 253, 248, .15), rgba(255, 253, 248, .03)),
    url("exploration-field.webp") center / cover no-repeat;
  box-shadow: 0 38px 100px rgba(87, 65, 40, .18);
}

.trajectory-wrap::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 253, 248, .2), transparent 45%);
  pointer-events: none;
}

.trajectory-wrap::after {
  inset: 5%;
  border-radius: clamp(24px, 4vw, 56px);
}

.trajectory {
  filter: drop-shadow(0 10px 18px rgba(85, 64, 42, .12));
}

.field-contour {
  fill: none;
  stroke: rgba(31, 33, 29, .14);
  stroke-width: 1;
}

.field-core {
  transform-box: fill-box;
  transform-origin: center;
}

.trajectory-caption {
  gap: 14px;
}

.section {
  padding: clamp(84px, 9vw, 140px) 0;
}

.section-grid,
.landscape-head {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
}

.section-number {
  align-self: start;
  position: sticky;
  top: 110px;
}

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

/* Research landscape */
.landscape-section {
  position: relative;
  overflow: clip;
  background: #f0eadf;
}

.landscape-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .22;
  background: url("exploration-field.webp") center / cover no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.landscape-section > .page-shell {
  position: relative;
}

.topic-filters {
  margin: 46px 0 18px 240px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-filters button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(31, 33, 29, .2);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, .66);
  font: 700 .7rem/1 var(--sans);
  letter-spacing: .08em;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.topic-filters button:hover,
.topic-filters button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--chalk);
  background: var(--ink);
  transform: translateY(-1px);
}

.landscape-frame {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(31, 33, 29, .18);
  border-radius: clamp(28px, 4vw, 54px);
  background:
    radial-gradient(circle at 18% 22%, rgba(185, 111, 82, .14), transparent 26%),
    radial-gradient(circle at 75% 72%, rgba(85, 190, 211, .13), transparent 30%),
    rgba(255, 253, 248, .82);
  box-shadow: 0 32px 90px rgba(83, 65, 43, .12);
}

.landscape-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .18;
  background-image: radial-gradient(rgba(31, 33, 29, .5) .65px, transparent .65px);
  background-size: 17px 17px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  pointer-events: none;
}

.landscape-links {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.landscape-links path,
.landscape-links circle {
  fill: none;
  stroke: rgba(31, 33, 29, .2);
  stroke-width: 1.35;
  stroke-dasharray: 3 8;
}

.landscape-links .contour {
  stroke: rgba(185, 111, 82, .2);
  stroke-dasharray: none;
}

.cluster-label {
  position: absolute;
  z-index: 0;
  color: var(--ink);
  font: 400 clamp(2.4rem, 5vw, 6rem)/.82 var(--serif);
  letter-spacing: -.055em;
  opacity: .07;
  pointer-events: none;
}

.cluster-agents { left: 5%; top: 8%; }
.cluster-science { left: 25%; bottom: 5%; }
.cluster-systems { left: 55%; top: 5%; }
.cluster-worlds { right: 4%; bottom: 4%; }
.cluster-evidence { right: 3%; top: 33%; }

.case-nodes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-nodes > li {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  transition: opacity 200ms ease, filter 200ms ease;
}

.case-node {
  position: relative;
  width: clamp(164px, 16vw, 225px);
  min-height: 86px;
  padding: 15px 36px 15px 16px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(31, 33, 29, .24);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 14px 35px rgba(78, 61, 42, .09);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-node span {
  color: var(--clay-deep);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.case-node strong {
  font: 500 clamp(.82rem, 1.1vw, 1rem)/1.22 var(--sans);
}

.case-node i {
  position: absolute;
  top: 13px;
  right: 14px;
  color: var(--umber);
  font-style: normal;
}

.case-node:hover,
.case-node:focus-visible,
.case-node.is-active {
  border-color: var(--clay);
  outline: none;
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(78, 61, 42, .16);
}

.case-preview {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 5%;
  pointer-events: none;
  width: min(360px, 32%);
  padding: 24px;
  border: 1px solid rgba(31, 33, 29, .16);
  border-radius: 24px;
  background: rgba(31, 33, 29, .94);
  color: var(--chalk);
  box-shadow: 0 24px 55px rgba(31, 33, 29, .2);
}

.case-preview > span {
  color: var(--photon);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.case-preview h3 {
  margin: 12px 0 0;
  font: 400 1.8rem/1.05 var(--serif);
  letter-spacing: -.035em;
}

.case-preview p {
  margin: 13px 0 0;
  color: rgba(255, 253, 248, .7);
  font-size: .8rem;
  line-height: 1.5;
}

.case-preview a {
  pointer-events: auto;
  margin-top: 18px;
  display: inline-flex;
  gap: 12px;
  color: var(--chalk);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.landscape-note {
  margin: 14px 0 0;
  color: var(--umber);
  font-size: .72rem;
  text-align: right;
}

/* A wide operating loop replaces the old tall red arc. */
.cycle-section {
  overflow: hidden;
}

.cycle-layout {
  margin-top: 58px;
  grid-template-columns: 1fr;
  gap: 30px;
}

.cycle-visual {
  position: relative;
  top: auto;
  min-height: 280px;
}

.cycle-ring {
  width: 100%;
  max-width: none;
  height: 280px;
  aspect-ratio: auto;
  border-radius: 50%;
}

.cycle-ring::before {
  inset: 18% 6%;
  border-radius: 50%;
}

.cycle-ring::after {
  inset: 36% 18%;
  border-radius: 50%;
}

.cycle-center {
  inset: auto;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 56px;
  translate: -50% -50%;
  border-radius: 999px;
}

.cycle-node {
  width: 88px;
  height: 88px;
}

.cycle-node[data-cycle-node="observe"] { left: 7%; top: 60%; }
.cycle-node[data-cycle-node="model"] { left: 34%; top: 12%; right: auto; }
.cycle-node[data-cycle-node="act"] { left: 64%; top: 60%; bottom: auto; }
.cycle-node[data-cycle-node="learn"] { left: auto; right: 5%; top: 12%; }

.cycle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 248, .2);
}

.cycle-step {
  min-height: 0;
  padding: 28px 22px 10px;
  border-top: 0;
  border-left: 1px solid rgba(255, 253, 248, .14);
}

.cycle-step:first-child {
  border-left: 0;
}

.cycle-step.is-active {
  background: linear-gradient(180deg, rgba(185, 111, 82, .16), transparent);
}

.cycle-step h3 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 2.8vw, 2.7rem);
}

.cycle-step p {
  font-size: .86rem;
}

.world-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(21, 22, 19, .98) 0%, rgba(21, 22, 19, .86) 46%, rgba(21, 22, 19, .54) 100%),
    url("./img/poster_cast.jpg") center / cover no-repeat;
}

.world-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 82% 30%, rgba(85, 190, 211, .2), transparent 30%);
}

.world-map .cell {
  cursor: pointer;
}

.world-map .cell:focus-visible {
  outline: none;
}

.world-map .cell:focus-visible path {
  stroke: #fff;
  stroke-width: 4px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(110deg, rgba(117, 55, 43, .96), rgba(142, 73, 56, .79)),
    url("exploration-field.webp") center / cover no-repeat;
}

.contact-panel::after {
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -4%;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 46px rgba(255, 255, 255, .035), 0 0 0 92px rgba(255, 255, 255, .025);
}

.footer-wordmark img,
.footer-brand .brand img {
  width: 152px;
  max-height: none;
}

@media (max-width: 1080px) {
  :root { --page: min(100% - 40px, 920px); }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 142px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .trajectory-wrap {
    width: 100%;
    max-width: none;
  }

  .topic-filters {
    margin-left: 0;
  }

  .case-preview {
    width: 310px;
  }

  .cycle-step {
    padding-inline: 16px;
  }
}

@media (max-width: 820px) {
  :root { --page: min(100% - 28px, 760px); }

  .section-grid,
  .landscape-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-number {
    position: static;
  }

  .landscape-frame {
    min-height: 0;
    padding: 18px;
  }

  .landscape-links,
  .cluster-label {
    display: none;
  }

  .case-nodes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .case-nodes > li {
    position: static;
    translate: none;
  }

  .case-node {
    width: 100%;
    height: 100%;
  }

  .case-preview {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .landscape-note {
    text-align: left;
  }

  .cycle-visual {
    min-height: 210px;
  }

  .cycle-ring {
    height: 210px;
  }

  .cycle-node {
    width: 68px;
    height: 68px;
    font-size: .52rem;
  }

  .cycle-node[data-cycle-node="observe"] { left: 2%; }
  .cycle-node[data-cycle-node="model"] { left: 30%; top: 7%; }
  .cycle-node[data-cycle-node="act"] { left: 62%; }
  .cycle-node[data-cycle-node="learn"] { right: 1%; top: 7%; }

  .cycle-list {
    grid-template-columns: 1fr 1fr;
  }

  .cycle-step:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .brand .brand-wordmark,
  .brand > img {
    width: 136px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 17vw, 5.6rem);
  }

  .trajectory-wrap {
    aspect-ratio: 1.18 / 1;
  }

  .trajectory-caption span:nth-child(2) {
    display: none;
  }

  .topic-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .topic-filters button {
    flex: 0 0 auto;
  }

  .case-nodes,
  .cycle-list {
    grid-template-columns: 1fr;
  }

  .cycle-visual {
    display: none;
  }

  .cycle-step,
  .cycle-step:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 253, 248, .14);
  }

  .world-card {
    background-position: 62% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-node,
  .topic-filters button {
    transition: none;
  }
}

@media print {
  .landscape-frame {
    min-height: auto;
    padding: 24px;
  }

  .landscape-links,
  .cluster-label,
  .topic-filters,
  .case-preview {
    display: none;
  }

  .case-nodes {
    display: grid;
    gap: 12px;
  }

  .case-nodes > li {
    position: static;
    translate: none;
  }
}
