:root {
  color-scheme: light;
  --ink: #121715;
  --muted: #5f6863;
  --soft: #8a938e;
  --line: #dfe5e1;
  --accent: #346f5b;
  --accent-soft: #dcebe4;
  --paper: #ffffff;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Aptos", "Segoe UI", sans-serif;
  --entrance-easing: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 14%, rgb(220 235 228 / 48%), transparent 28rem),
    linear-gradient(var(--paper), var(--paper));
  font-family: var(--sans);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: clamp(1.5rem, 3.2vw, 3.5rem) clamp(1.5rem, 6vw, 7.5rem)
    clamp(1.5rem, 3vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  align-items: center;
  animation: reveal-up 800ms var(--entrance-easing) 80ms both;
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--ink);
  font-size: 0.78rem;
  font-variation-settings: "wdth" 90;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  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);
  transform-box: fill-box;
  transform-origin: center;
  animation: needle-settle 1.4s var(--entrance-easing) 520ms both;
}

main {
  display: flex;
  align-items: center;
  padding: clamp(5rem, 11vh, 9rem) 0 clamp(4rem, 9vh, 7rem);
}

.hero {
  width: min(100%, 76rem);
}

.eyebrow {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  color: var(--accent);
  font-size: 0.76rem;
  font-variation-settings: "wdth" 92;
  font-weight: 620;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: reveal-up 850ms var(--entrance-easing) 180ms both;
}

.eyebrow::before {
  width: 2.6rem;
  height: 1px;
  background: currentColor;
  content: "";
  transform-origin: left;
  animation: line-draw 900ms var(--entrance-easing) 440ms both;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.7rem, 8.2vw, 8.2rem);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 0.89;
  text-wrap: balance;
  animation: reveal-title 1s var(--entrance-easing) 260ms both;
}

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

.hero-copy {
  width: min(100%, 41rem);
  margin: clamp(3rem, 6vw, 5.5rem) 0 0 clamp(0rem, 13vw, 11rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.75;
  animation: reveal-up 950ms var(--entrance-easing) 440ms both;
}

.hero-copy p {
  margin: 0;
}

.hero-copy p + p {
  margin-top: 1.25rem;
}

.hero-copy .lead {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 430;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.site-footer {
  display: flex;
  gap: 1rem 2rem;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  animation: reveal-up 850ms var(--entrance-easing) 620ms both;
}

.site-footer p {
  margin: 0;
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer a {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.25rem 0;
  color: var(--ink);
  font-weight: 560;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.site-footer a span {
  color: var(--accent);
  transition: transform 180ms ease;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.site-footer a:hover span {
  transform: translate(0.12rem, -0.12rem);
}

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

.orbital-mark {
  position: absolute;
  z-index: 1;
  top: clamp(5rem, 8vw, 9rem);
  right: clamp(-10rem, -7vw, -4rem);
  width: clamp(22rem, 42vw, 48rem);
  aspect-ratio: 1;
  color: rgb(52 111 91 / 14%);
  pointer-events: none;
  transform-origin: center;
  animation:
    orbital-entrance 1.6s var(--entrance-easing) 180ms both,
    orbital-drift 12s ease-in-out 1.8s infinite alternate;
}

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

.orbit {
  inset: 7%;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform-origin: center;
}

.orbit::after {
  position: absolute;
  top: -0.2rem;
  left: calc(50% - 0.2rem);
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.35rem rgb(52 111 91 / 7%);
  content: "";
}

.orbit-one {
  animation: orbit-spin 34s linear infinite;
}

.orbit-two {
  inset: 22%;
  animation: orbit-spin-reverse 26s linear infinite;
}

.orbit-two::after {
  top: calc(50% - 0.15rem);
  right: -0.15rem;
  left: auto;
  width: 0.3rem;
  height: 0.3rem;
  opacity: 0.6;
}

.axis {
  animation: axis-breathe 5.5s ease-in-out infinite;
}

.axis-vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, currentColor 20%, currentColor 80%, transparent);
}

.axis-horizontal {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor 20%, currentColor 80%, transparent);
  animation-delay: -2.75s;
}

.centre-point {
  top: calc(50% - 0.22rem);
  left: calc(50% - 0.22rem);
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.55rem rgb(52 111 91 / 10%);
  animation: centre-pulse 3.8s ease-in-out infinite;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(1.1rem);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes reveal-title {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(1.8rem) scale(0.985);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes line-draw {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes needle-settle {
  from {
    opacity: 0;
    transform: rotate(-28deg) scale(0.8);
  }

  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes orbital-entrance {
  from {
    opacity: 0;
    transform: scale(0.92) rotate(-4deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes orbital-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  to {
    transform: translate3d(-0.9rem, 0.65rem, 0) rotate(1.25deg);
  }
}

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

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

@keyframes axis-breathe {
  0%,
  100% {
    opacity: 0.48;
  }

  50% {
    opacity: 1;
  }
}

@keyframes centre-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0.55rem rgb(52 111 91 / 10%);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 1rem rgb(52 111 91 / 0%);
    transform: scale(1.08);
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding-right: 1.4rem;
    padding-left: 1.4rem;
  }

  main {
    align-items: flex-start;
    padding-top: 5.5rem;
  }

  h1 {
    font-size: clamp(3.35rem, 16vw, 5.4rem);
    line-height: 0.92;
  }

  .hero-copy {
    margin-top: 3.25rem;
    margin-left: 0;
  }

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

  .orbital-mark {
    top: 7.5rem;
    right: -14rem;
    width: 29rem;
    color: rgb(52 111 91 / 10%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}