:root {
  color-scheme: light;
  --paper: #f3f1eb;
  --paper-bright: #fbfaf7;
  --ink: #121714;
  --ink-soft: #1b231f;
  --muted: #626a65;
  --quiet: #8b928e;
  --line: #d8ddd8;
  --line-dark: rgb(255 255 255 / 16%);
  --accent: #3f725f;
  --accent-soft: #d9e6df;
  --warm: #a66f4f;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Aptos", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --scroll-progress: 0%;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

body::before {
  position: fixed;
  z-index: 30;
  inset: 0;
  opacity: 0.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='.75'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--paper-bright);
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: var(--scroll-progress);
  height: 100%;
  background: var(--accent);
  transition: width 80ms linear;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.4rem, 5vw, 5.5rem);
}

.brand,
.quiet-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand {
  gap: 0.72rem;
  font-size: 0.73rem;
  font-variation-settings: "wdth" 90;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-mark {
  width: 1.9rem;
  height: 1.9rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.brand-needle {
  fill: var(--accent-soft);
  stroke: var(--accent);
}

.quiet-link {
  gap: 0.55rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.quiet-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.brand:focus-visible,
.quiet-link:focus-visible,
.primary-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.45rem;
  border-radius: 0.15rem;
}

section {
  position: relative;
  isolation: isolate;
}

.section-light,
.section-paper {
  color: var(--ink);
}

.section-light {
  background: var(--paper-bright);
}

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

.section-ink {
  color: var(--paper-bright);
  background: var(--ink);
}

.eyebrow {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-variation-settings: "wdth" 90;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: #9fc3b3;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 430;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 span,
h2 span {
  color: var(--accent);
  font-style: italic;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  line-height: 0.98;
}

p {
  line-height: 1.72;
}

.hero {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: clamp(8rem, 15vh, 11rem) clamp(1.4rem, 7vw, 8rem) 5rem;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgb(63 114 95 / 13%), transparent 32rem),
    linear-gradient(115deg, transparent 0 52%, rgb(18 23 20 / 2.5%) 52% 52.1%, transparent 52.1%);
  content: "";
}

.hero-copy {
  z-index: 3;
  width: min(100%, 76rem);
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4.5rem, 10vw, 10.5rem);
  line-height: 0.84;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  width: min(100%, 37rem);
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0 clamp(0rem, 15vw, 14rem);
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.hero-field {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(-14rem, -7vw, -5rem);
  width: clamp(28rem, 48vw, 56rem);
  aspect-ratio: 1;
  color: rgb(63 114 95 / 22%);
  pointer-events: none;
  transform: translate3d(0, calc(var(--parallax, 0) * 1px), 0);
}

.field-orbit,
.field-axis,
.field-meridian,
.field-node,
.field-centre {
  position: absolute;
  display: block;
}

.field-orbit {
  border: 1px solid currentColor;
  border-radius: 50%;
}

.field-orbit-outer {
  inset: 0;
  animation: orbit-rotate 55s linear infinite;
}

.field-orbit-inner {
  inset: 20%;
  opacity: 0.65;
  animation: orbit-rotate-reverse 38s linear infinite;
}

.field-axis-x {
  top: 50%;
  right: -8%;
  left: -8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor 15%, currentColor 85%, transparent);
}

.field-axis-y {
  top: -8%;
  bottom: -8%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, currentColor 15%, currentColor 85%, transparent);
}

.field-meridian {
  top: -12%;
  bottom: -12%;
  left: 50%;
  width: 2px;
  background: linear-gradient(transparent, var(--accent) 14%, var(--accent) 86%, transparent);
  box-shadow: 0 0 2.5rem rgb(63 114 95 / 20%);
  transform: rotate(18deg);
  transform-origin: center;
  animation: meridian-draw 1.8s var(--ease-out) 300ms both;
}

.field-node {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.6rem rgb(63 114 95 / 8%);
  animation: node-breathe 4.5s ease-in-out infinite;
}

.node-a {
  top: 9%;
  left: 49%;
}

.node-b {
  top: 36%;
  left: 69%;
  animation-delay: -1.2s;
}

.node-c {
  top: 57%;
  left: 25%;
  animation-delay: -2.4s;
}

.node-d {
  top: 76%;
  left: 58%;
  animation-delay: -3.2s;
}

.node-e {
  top: 43%;
  left: 48%;
  animation-delay: -0.7s;
}

.field-centre {
  top: calc(50% - 0.34rem);
  left: calc(50% - 0.34rem);
  width: 0.68rem;
  height: 0.68rem;
  border: 2px solid var(--paper-bright);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.85rem rgb(63 114 95 / 12%);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 2.2rem;
  left: clamp(1.4rem, 7vw, 8rem);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--quiet);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 4.5rem;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--accent);
  content: "";
  animation: cue-travel 2.4s ease-in-out infinite;
  transform: translateX(-100%);
}

.chapter {
  min-height: 105svh;
  padding: clamp(7rem, 13vw, 12rem) clamp(1.4rem, 7vw, 8rem);
  overflow: hidden;
}

.chapter::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(90deg, transparent 0 19.8%, rgb(255 255 255 / 5%) 20%, transparent 20.2%),
    linear-gradient(0deg, transparent 0 69.8%, rgb(255 255 255 / 4%) 70%, transparent 70.2%);
  content: "";
}

.chapter-number {
  position: absolute;
  top: 2rem;
  right: clamp(1.4rem, 5vw, 5.5rem);
  color: rgb(255 255 255 / 10%);
  font-family: var(--display);
  font-size: clamp(7rem, 20vw, 22rem);
  line-height: 1;
}

.chapter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(4rem, 10vw, 11rem);
  align-items: end;
  max-width: 92rem;
  margin: 0 auto;
}

.chapter-heading h2 {
  max-width: 8ch;
}

.chapter-copy {
  padding-bottom: 0.7rem;
  color: rgb(251 250 247 / 63%);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.chapter-copy .large-copy,
.contract-copy .large-copy {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.33;
}

.signal-cloud {
  position: relative;
  width: min(100%, 82rem);
  height: 20rem;
  margin: clamp(5rem, 10vw, 9rem) auto 0;
  border-top: 1px solid var(--line-dark);
  pointer-events: none;
}

.signal {
  position: absolute;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 999px;
  color: rgb(255 255 255 / 47%);
  background: rgb(255 255 255 / 3%);
  font-size: clamp(0.66rem, 0.85vw, 0.78rem);
  letter-spacing: 0.04em;
  animation: signal-drift 8s ease-in-out infinite alternate;
}

.signal-1 { top: 12%; left: 5%; }
.signal-2 { top: 55%; left: 12%; animation-delay: -3s; }
.signal-3 { top: 24%; left: 31%; animation-delay: -5s; }
.signal-4 { top: 69%; left: 41%; animation-delay: -1s; }
.signal-5 { top: 9%; right: 33%; animation-delay: -6s; }
.signal-6 { top: 49%; right: 24%; animation-delay: -2s; }
.signal-7 { top: 17%; right: 3%; animation-delay: -4s; }
.signal-8 { top: 76%; right: 5%; animation-delay: -7s; }

.reference {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(26rem, 1.14fr);
  gap: clamp(4rem, 8vw, 10rem);
  align-items: center;
  min-height: 115svh;
  padding: clamp(7rem, 12vw, 12rem) clamp(1.4rem, 7vw, 8rem);
}

.reference-copy {
  max-width: 42rem;
}

.reference-copy h2 {
  font-size: clamp(3.2rem, 5.7vw, 6.4rem);
}

.reference-copy p:last-child {
  max-width: 34rem;
  margin: 2.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
}

.reference-map {
  position: relative;
  width: min(100%, 42rem);
  aspect-ratio: 1;
  margin: 0 auto;
  color: rgb(63 114 95 / 27%);
}

.map-ring,
.map-axis,
.map-line,
.map-point,
.map-centre {
  position: absolute;
}

.map-ring {
  border: 1px solid currentColor;
  border-radius: 50%;
}

.ring-one {
  inset: 0;
}

.ring-two {
  inset: 22%;
}

.map-axis-horizontal {
  top: 50%;
  right: -6%;
  left: -6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor 10%, currentColor 90%, transparent);
}

.map-axis-vertical {
  top: -6%;
  bottom: -6%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, currentColor 10%, currentColor 90%, transparent);
}

.map-line {
  top: -4%;
  bottom: -4%;
  left: 50%;
  width: 2px;
  background: linear-gradient(transparent, var(--accent) 10%, var(--accent) 90%, transparent);
  transform: rotate(24deg);
  transform-origin: center;
}

.map-point {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.map-point i {
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.6rem rgb(63 114 95 / 10%);
}

.map-point-one { top: 7%; left: 57%; }
.map-point-two { top: 35%; left: 71%; }
.map-point-three { bottom: 23%; left: 18%; }
.map-point-four { right: 10%; bottom: 7%; }

.map-centre {
  top: calc(50% - 0.45rem);
  left: calc(50% - 0.45rem);
  width: 0.9rem;
  height: 0.9rem;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1rem rgb(63 114 95 / 9%);
}

.principles {
  padding: clamp(7rem, 12vw, 12rem) clamp(1.4rem, 7vw, 8rem);
}

.section-intro {
  max-width: 78rem;
  margin: 0 auto clamp(5rem, 10vw, 10rem);
}

.section-intro h2 {
  max-width: 13ch;
}

.principle-list {
  max-width: 88rem;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.principle {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(12rem, 18rem);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
  padding: clamp(2.4rem, 4vw, 4.2rem) 0;
  border-top: 1px solid var(--line);
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-index {
  align-self: start;
  padding-top: 0.45rem;
  color: var(--accent);
  font-family: var(--display);
  font-size: 1rem;
}

.principle h3 {
  margin-bottom: 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 450;
  letter-spacing: -0.025em;
}

.principle p {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
}

.principle svg {
  width: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--line);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.principle svg circle {
  fill: var(--paper-bright);
  stroke: var(--accent);
}

.principle svg .principle-resolved {
  stroke: var(--accent);
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.4s var(--ease-out) 250ms;
}

.principle.is-visible svg .principle-resolved {
  stroke-dashoffset: 0;
}

.shared-contract {
  display: grid;
  grid-template-columns: minmax(25rem, 1fr) minmax(0, 0.9fr);
  gap: clamp(4rem, 9vw, 10rem);
  align-items: center;
  min-height: 115svh;
  padding: clamp(7rem, 12vw, 12rem) clamp(1.4rem, 7vw, 8rem);
}

.contract-copy {
  max-width: 42rem;
}

.contract-copy h2 {
  font-size: clamp(3.2rem, 5.5vw, 6rem);
}

.contract-copy > p:last-child {
  color: rgb(251 250 247 / 62%);
}

.contract-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  min-height: 32rem;
}

.contract-side {
  position: relative;
  height: 22rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.contract-side > span {
  position: absolute;
  top: calc(50% - 0.65rem);
  width: 100%;
  color: rgb(255 255 255 / 43%);
  font-size: 0.68rem;
  font-weight: 630;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.contract-node {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #9fc3b3;
  box-shadow: 0 0 0 0.65rem rgb(159 195 179 / 8%);
  animation: node-breathe 5s ease-in-out infinite;
}

.contract-human .node-one { top: 18%; left: 48%; }
.contract-human .node-two { top: 62%; left: 19%; animation-delay: -2s; }
.contract-human .node-three { right: 15%; bottom: 18%; animation-delay: -3.5s; }
.contract-agent .node-one { top: 25%; left: 18%; animation-delay: -1s; }
.contract-agent .node-two { top: 58%; right: 17%; animation-delay: -2.6s; }
.contract-agent .node-three { bottom: 10%; left: 42%; animation-delay: -4s; }

.contract-line {
  position: relative;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, transparent, #9fc3b3 16%, #9fc3b3 84%, transparent);
}

.contract-line::before,
.contract-line::after {
  position: absolute;
  top: calc(50% - 0.4rem);
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #9fc3b3;
  content: "";
}

.contract-line::before { left: 3%; }
.contract-line::after { right: 3%; }

.contract-line span {
  position: absolute;
  top: -2.15rem;
  left: 50%;
  color: #9fc3b3;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.continuity {
  padding: clamp(7rem, 12vw, 12rem) clamp(1.4rem, 7vw, 8rem);
}

.continuity-intro {
  margin-bottom: clamp(5rem, 9vw, 8rem);
}

.continuity-intro h2 {
  max-width: 11ch;
}

.continuity-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 92rem;
  margin: 0 auto;
}

.continuity-line::before {
  position: absolute;
  top: 0.55rem;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.continuity-line::after {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: var(--continuity-progress, 0%);
  height: 1px;
  background: var(--accent);
  content: "";
  transition: width 1.5s var(--ease-out);
}

.continuity-line:has(article:last-child.is-visible) {
  --continuity-progress: 100%;
}

.continuity-line article {
  position: relative;
  padding-top: 3.4rem;
}

.continuity-line article::before {
  position: absolute;
  z-index: 2;
  top: 0.2rem;
  left: 0;
  width: 0.72rem;
  height: 0.72rem;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.42rem rgb(63 114 95 / 9%);
  content: "";
}

.continuity-line article > span {
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.9rem;
}

.continuity-line h3 {
  margin: 1rem 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  font-weight: 450;
}

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

.closing {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(4rem, 10vw, 12rem);
  align-items: center;
  min-height: 105svh;
  padding: clamp(7rem, 12vw, 12rem) clamp(1.4rem, 7vw, 8rem);
  overflow: hidden;
}

.closing-copy {
  max-width: 58rem;
}

.closing-copy h2 {
  max-width: 9ch;
  font-size: clamp(4rem, 8vw, 8.5rem);
  line-height: 0.88;
}

.closing-copy h2 span {
  display: block;
}

.closing-copy > p {
  max-width: 34rem;
  margin: 2.3rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.primary-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 2.6rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
  font-weight: 620;
  text-decoration: none;
}

.primary-link span {
  color: var(--accent);
  transition: transform 180ms ease;
}

.primary-link:hover span {
  transform: translate(0.16rem, -0.16rem);
}

.closing-mark {
  position: relative;
  width: min(100%, 36rem);
  aspect-ratio: 1;
  margin: 0 auto;
}

.closing-orbit,
.closing-axis,
.closing-needle,
.closing-centre {
  position: absolute;
  display: block;
}

.closing-orbit {
  inset: 2%;
  border: 1px solid rgb(63 114 95 / 26%);
  border-radius: 50%;
  animation: orbit-rotate 44s linear infinite;
}

.closing-orbit::before,
.closing-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.closing-orbit::before {
  inset: 21%;
  border: 1px solid rgb(63 114 95 / 18%);
}

.closing-orbit::after {
  top: -0.25rem;
  left: calc(50% - 0.25rem);
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  box-shadow: 0 0 0 0.6rem rgb(63 114 95 / 9%);
}

.closing-axis {
  top: -7%;
  bottom: -7%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgb(63 114 95 / 25%) 10%, rgb(63 114 95 / 25%) 90%, transparent);
}

.closing-needle {
  top: 18%;
  bottom: 18%;
  left: calc(50% - 1px);
  width: 2px;
  background: linear-gradient(var(--accent) 0 48%, var(--warm) 48% 100%);
  clip-path: polygon(50% 0, 100% 48%, 72% 48%, 72% 100%, 28% 100%, 28% 48%, 0 48%);
  transform: rotate(28deg);
  transform-origin: center;
  animation: needle-rest 7s ease-in-out infinite alternate;
}

.closing-centre {
  top: calc(50% - 0.5rem);
  left: calc(50% - 0.5rem);
  width: 1rem;
  height: 1rem;
  border: 3px solid var(--paper-bright);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0.9rem rgb(63 114 95 / 11%);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: end;
  padding: 2rem clamp(1.4rem, 5vw, 5.5rem);
  border-top: 1px solid var(--line);
  color: var(--quiet);
  background: var(--paper-bright);
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
  line-height: 1.4;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

.js [data-reveal] {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(2rem);
  transition:
    opacity 900ms var(--ease-out),
    filter 900ms var(--ease-out),
    transform 900ms var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.js .principle:nth-child(2) {
  transition-delay: 100ms;
}

.js .principle:nth-child(3) {
  transition-delay: 200ms;
}

.js .continuity-line article:nth-child(2) { transition-delay: 100ms; }
.js .continuity-line article:nth-child(3) { transition-delay: 200ms; }
.js .continuity-line article:nth-child(4) { transition-delay: 300ms; }

@keyframes meridian-draw {
  from {
    opacity: 0;
    transform: rotate(18deg) scaleY(0);
  }

  to {
    opacity: 1;
    transform: rotate(18deg) scaleY(1);
  }
}

@keyframes orbit-rotate {
  to { transform: rotate(1turn); }
}

@keyframes orbit-rotate-reverse {
  to { transform: rotate(-1turn); }
}

@keyframes node-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 0.5rem rgb(63 114 95 / 7%);
    transform: scale(0.92);
  }

  50% {
    box-shadow: 0 0 0 0.95rem rgb(63 114 95 / 0%);
    transform: scale(1.08);
  }
}

@keyframes cue-travel {
  0% { transform: translateX(-100%); }
  45%,
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@keyframes signal-drift {
  from { transform: translate3d(-0.35rem, -0.2rem, 0); }
  to { transform: translate3d(0.6rem, 0.45rem, 0); }
}

@keyframes needle-rest {
  from { transform: rotate(25deg); }
  to { transform: rotate(31deg); }
}

@media (max-width: 980px) {
  .chapter-layout,
  .reference,
  .shared-contract,
  .closing {
    grid-template-columns: 1fr;
  }

  .chapter-heading h2,
  .reference-copy h2,
  .contract-copy h2 {
    max-width: 12ch;
  }

  .chapter-copy {
    max-width: 46rem;
  }

  .reference-map {
    width: min(84vw, 36rem);
  }

  .shared-contract {
    gap: 6rem;
  }

  .contract-visual {
    order: 2;
  }

  .contract-copy {
    order: 1;
  }

  .closing-mark {
    width: min(76vw, 32rem);
  }

  .closing-copy {
    margin-left: auto;
  }

  .principle {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .principle svg {
    display: none;
  }

  .continuity-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem 2rem;
  }

  .continuity-line::before,
  .continuity-line::after {
    display: none;
  }

  .continuity-line article {
    padding-top: 2.7rem;
    border-top: 1px solid var(--line);
  }

  .continuity-line article::before {
    top: -0.4rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .quiet-link {
    display: none;
  }

  .hero {
    align-items: start;
    min-height: 100svh;
    padding-top: 9.5rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 6.4rem);
    line-height: 0.86;
  }

  .hero-lead {
    margin-left: 0;
  }

  .hero-field {
    top: 63%;
    right: -17rem;
    width: 31rem;
    opacity: 0.7;
  }

  .scroll-cue {
    left: 1.25rem;
  }

  .chapter,
  .reference,
  .principles,
  .shared-contract,
  .continuity,
  .closing {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  h2,
  .reference-copy h2,
  .contract-copy h2 {
    font-size: clamp(2.9rem, 14vw, 4.5rem);
  }

  .chapter {
    min-height: auto;
  }

  .chapter-layout {
    gap: 3.5rem;
  }

  .signal-cloud {
    height: 24rem;
  }

  .signal-3 { left: 17%; }
  .signal-4 { left: 22%; }
  .signal-5 { right: 14%; }
  .signal-6 { right: 8%; }

  .reference {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .reference-map {
    width: min(94vw, 28rem);
  }

  .map-point {
    font-size: 0.6rem;
  }

  .map-point-two { left: 62%; }
  .map-point-four { right: 2%; }

  .section-intro {
    margin-bottom: 5rem;
  }

  .principle {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem;
  }

  .contract-visual {
    grid-template-columns: 1fr 0.7fr 1fr;
    min-height: 24rem;
  }

  .contract-side {
    height: 15rem;
  }

  .contract-side > span {
    padding: 0 0.7rem;
    font-size: 0.55rem;
  }

  .contract-line span {
    display: none;
  }

  .continuity-line {
    grid-template-columns: 1fr;
  }

  .closing {
    min-height: auto;
  }

  .closing-copy h2 {
    font-size: clamp(4rem, 18vw, 6.6rem);
  }

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

  .site-footer p:nth-child(2),
  .site-footer p:last-child {
    text-align: left;
  }
}

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

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

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

  [data-depth] {
    transform: none !important;
  }
}
