/* CAERUS — caerus.au  (v3: depth upgrade — imagery, signal field, ticker,
   process line, cards v2, orbit badge, film grain)
   Design tokens per locked direction (brand board v2 + dark editorial refs) */

:root {
  --bg: #101823;
  --bg-raised: #16202e;
  --ink: #ede8dd;
  --muted: #8c97a6;
  --accent: #c08a2d;
  --rule: rgba(237, 232, 221, 0.12);
  --duo-shadow: #0d1521;
  --ease-out: cubic-bezier(0.22, 0.61, 0.21, 1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --container: 1100px;
  --section-pad: clamp(72px, 12vw, 130px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

a {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- film grain (page-wide, decorative, non-interactive) ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-repeat: repeat;
  background-size: 240px 240px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='240'%3E%3Cfilter%20id='g'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.8'%20numOctaves='2'%20stitchTiles='stitch'%20seed='7'/%3E%3CfeColorMatrix%20type='saturate'%20values='0'/%3E%3C/filter%3E%3Crect%20width='240'%20height='240'%20filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 3;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  padding-block: 8px;
  margin-block: -8px;
}

.wordmark .dot {
  color: var(--accent);
}

.header-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}

.header-email {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-email:hover {
  color: var(--ink);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: #d09a3d;
  border-color: #d09a3d;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-small {
  padding: 11px 20px;
  font-size: 0.78rem;
}

/* ---------- shared section bits ---------- */

section {
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--rule);
}

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.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;
}

.label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.accent-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- reveal on scroll (JS-gated: no-JS visitors see everything) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s ease var(--d, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- duotone image treatment ---------- */

.caerus-img {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--duo-shadow);
  display: block;
}

.caerus-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.14) brightness(1.05);
  mix-blend-mode: screen;
  transition: transform 1s var(--ease-out);
}

.caerus-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--ink);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.caerus-img:hover img {
  transform: scale(1.03);
}

/* image reveal: clip-path wipe (JS-gated). The clip lives on the IMG, not
   the observed figure — Chromium computes IntersectionObserver areas AFTER
   clip-path, so a fully-clipped observed element never triggers its own
   reveal (the fb1/fb2/fb3 invisible-images bug). */
.img-reveal img {
  transition: clip-path 1s var(--ease-out), transform 1s var(--ease-out);
}

.js .img-reveal img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.06);
}

.js .img-reveal.is-in img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.js .img-reveal.is-in:hover img {
  transform: scale(1.03);
}

/* ---------- hero (layered: photo → signal field → content) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(110px, 16vw, 185px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--duo-shadow);
  isolation: isolate;
  overflow: hidden;
}

.hero-bg img {
  position: absolute;
  left: 0;
  top: -28%; /* oversized so the 0.25x parallax drift never exposes an edge */
  width: 100%;
  height: 128%;
  object-fit: cover;
  object-position: center 32%;
  filter: grayscale(1) contrast(1.12) brightness(0.9);
  mix-blend-mode: screen;
  opacity: 0.9;
  transform-origin: 50% 50%;
  will-change: transform;
}

.hero-inner {
  will-change: transform, opacity;
}

.hero-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #101823 0%, rgba(16, 24, 35, 0.78) 46%, rgba(16, 24, 35, 0.34) 100%),
    linear-gradient(180deg, rgba(16, 24, 35, 0.55) 0%, rgba(16, 24, 35, 0) 32%, rgba(16, 24, 35, 0.88) 100%);
}

#signal-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.hero-sub {
  max-width: 58ch;
  margin-top: 36px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

/* ---------- orbit badge (hero corner) ---------- */

.orbit-badge {
  position: absolute;
  right: clamp(24px, 6vw, 72px);
  bottom: clamp(32px, 7vh, 64px);
  z-index: 2;
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--ink);
}

.orbit-badge:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 8px;
}

.orbit-badge__ring {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: orbit-spin 24s linear infinite;
}

.orbit-badge:hover .orbit-badge__ring,
.orbit-badge:focus-visible .orbit-badge__ring,
html.orbit-paused .orbit-badge__ring {
  animation-play-state: paused;
}

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

.orbit-badge__text {
  fill: rgba(237, 232, 221, 0.7);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 7px;
  letter-spacing: 1.05px;
  text-transform: uppercase;
}

.orbit-badge__arrow {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--accent);
  font-size: 19px;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.35s ease;
}

.orbit-badge:hover .orbit-badge__arrow,
.orbit-badge:focus-visible .orbit-badge__arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 760px) {
  .orbit-badge {
    display: none;
  }
}

/* ---------- signals ticker ---------- */

.ticker {
  height: 56px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--rule);
  padding: 0;
}

.ticker__viewport {
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent);
}

.ticker__track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

.ticker:hover .ticker__track,
.ticker.is-paused .ticker__track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ticker__group {
  display: flex;
  align-items: center;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticker__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding-right: 44px;
  margin-right: 44px;
}

.ticker__item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: var(--rule);
}

.ticker__dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.ticker__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.ticker__desc {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
}

/* ---------- stats strip ---------- */

.stats-strip {
  position: relative;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--rule);
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stats-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.9) contrast(1.05);
  opacity: 0.25;
  display: block;
}

.stats-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 35, 0.72);
}

.stats-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 0 clamp(1rem, 2.2vw, 2rem);
  border-left: 1px solid var(--rule);
}

.stat:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat-value .unit {
  font-size: 0.44em;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-left: 0.4em;
}

.stat-label {
  position: relative;
  margin-top: 0.85rem;
  padding-left: 1.1em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.55;
  max-width: 24ch;
}

.stat-label .dot {
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.stats-note {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 2.4rem auto 0;
  padding: 0 clamp(20px, 4vw, 40px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

html.js .stats-strip .stat {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .stats-strip .stat:nth-child(2) {
  transition-delay: 0.08s;
}

html.js .stats-strip .stat:nth-child(3) {
  transition-delay: 0.16s;
}

html.js .stats-strip .stat:nth-child(4) {
  transition-delay: 0.24s;
}

html.js .stats-strip.in .stat {
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 0;
  }
  .stat {
    padding: 0 0.9rem;
  }
  .stat:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
  .stat:nth-child(even) {
    border-left: 1px solid var(--rule);
  }
  .stat:nth-child(n+3) {
    border-top: 1px solid var(--rule);
    margin-top: 1.75rem;
    padding-top: 1.75rem;
  }
}

/* ---------- what we do (inverted cream editorial section) ---------- */

.section-light {
  background: var(--ink);
  color: var(--bg);
  border-bottom: none;
}

.section-light .label {
  color: #8a6114; /* gold deepened for contrast on cream */
}

.section-light .label::before {
  background: #8a6114;
}

.section-light ::selection {
  background: var(--bg);
  color: var(--ink);
}

.what-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.section-light .lede {
  color: #334052;
}

.lede strong {
  font-weight: 600;
  color: var(--ink);
}

.section-light .lede strong {
  color: var(--bg);
}

.what-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 24, 35, 0.16);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a6472;
}

.what-note .flow {
  color: #8a6114;
}

.what-figure {
  margin: 0;
}

.what-img {
  aspect-ratio: 3 / 4;
  max-height: 560px;
  width: 100%;
}

.img-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a6472;
}

/* ---------- blueprint grid background (cards section) ---------- */

.different {
  position: relative;
  isolation: isolate;
  --grid-fine: rgba(237, 232, 221, 0.035);
  --grid-strong: rgba(237, 232, 221, 0.06);
  --cross-layer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='448'%3E%3Cpath d='M51,168.5H62M56.5,163V174M275,56.5H286M280.5,51V62M499,280.5H510M504.5,275V286M163,392.5H174M168.5,387V398M387,224.5H398M392.5,219V230' fill='none' stroke='%23c08a2d' stroke-opacity='0.15' stroke-width='1'/%3E%3C/svg%3E");
}

.different::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    var(--cross-layer),
    repeating-linear-gradient(to right, var(--grid-strong) 0 1px, transparent 1px 224px),
    repeating-linear-gradient(to bottom, var(--grid-strong) 0 1px, transparent 1px 224px),
    repeating-linear-gradient(to right, var(--grid-fine) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(to bottom, var(--grid-fine) 0 1px, transparent 1px 56px);
  background-size: 560px 448px, auto, auto, auto, auto;
  background-repeat: repeat;
  -webkit-mask-image: radial-gradient(65% 58% at 50% 45%, #000 30%, rgba(0, 0, 0, 0.5) 55%, transparent 78%);
          mask-image: radial-gradient(65% 58% at 50% 45%, #000 30%, rgba(0, 0, 0, 0.5) 55%, transparent 78%);
}

.different > .container {
  position: relative;
  z-index: 1;
}

/* ---------- difference cards (v2: icons, corner ticks, lift) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.card {
  position: relative;
  height: 100%;
  border: 1px solid var(--rule);
  background: var(--bg-raised);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 0 0 rgba(6, 10, 17, 0);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* hairline gold corner tick (crop-mark), extends on hover */
.card::before,
.card::after {
  content: "";
  position: absolute;
  background: var(--accent);
  pointer-events: none;
  z-index: 2;
  transition: width 0.3s ease, height 0.3s ease;
}

.card::before {
  top: -1px;
  left: -1px;
  width: 16px;
  height: 1px;
}

.card::after {
  top: -1px;
  left: -1px;
  width: 1px;
  height: 16px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.card .card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.card .icon {
  display: block;
  color: rgba(237, 232, 221, 0.8);
  transition: color 0.3s ease;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 138, 45, 0.38);
    box-shadow:
      0 24px 48px -20px rgba(6, 10, 17, 0.65),
      0 8px 18px -10px rgba(6, 10, 17, 0.45);
  }
  .card:hover::before {
    width: 32px;
  }
  .card:hover::after {
    height: 32px;
  }
  .card:hover .card-num {
    transform: translateX(4px);
  }
  .card:hover .icon {
    color: var(--accent);
  }
}

/* ---------- how it works (process line + contour background) ---------- */

.process {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
  padding-bottom: clamp(56px, 8vw, 88px);
}

.process > .container {
  position: relative;
  z-index: 1;
}

.how-contours {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 55%;
  min-width: 520px;
  aspect-ratio: 900 / 620;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(120% 120% at 82% 16%, #000 28%, rgba(0, 0, 0, 0.5) 55%, transparent 80%);
          mask-image: radial-gradient(120% 120% at 82% 16%, #000 28%, rgba(0, 0, 0, 0.5) 55%, transparent 80%);
}

.how-contours path {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.05;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.how-contours .contour--gold {
  stroke: var(--accent);
  stroke-opacity: 0.12;
}

.how-contours .datum {
  stroke: var(--ink);
  stroke-opacity: 0.08;
}

.how-contours .datum-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  fill: var(--ink);
  fill-opacity: 0.07;
}

@media (prefers-reduced-motion: no-preference) {
  .how-contours .drift {
    animation: contour-drift 42s ease-in-out infinite alternate;
  }
}

@keyframes contour-drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-14px, 9px);
  }
}

@media (max-width: 860px) {
  .how-contours {
    min-width: 440px;
    right: -80px;
  }
}

.process-head {
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.process-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.18;
  max-width: 18ch;
}

.process-head .aside {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 30ch;
  padding-bottom: 0.35rem;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(2.5rem, 5vw, 4rem);
}

.steps-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.steps-line path {
  fill: none;
  stroke: rgba(192, 138, 45, 0.45);
  stroke-width: 1;
}

.js .steps-line path {
  visibility: hidden;
}

.js .steps-line.ready path {
  visibility: visible;
}

.step {
  position: relative;
  z-index: 1;
}

.node {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border: 1px solid var(--accent);
  margin-bottom: 2.4rem;
  transition: background-color 0.6s ease, border-color 0.6s ease;
}

.js .node {
  background: var(--bg);
  border-color: rgba(237, 232, 221, 0.28);
}

.js .step.is-in .node {
  background: var(--accent);
  border-color: var(--accent);
}

.step-body {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js .step-body {
  opacity: 0;
  transform: translateY(16px);
}

.js .step.is-in .step-body {
  opacity: 1;
  transform: none;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3.6rem, 5.5vw, 5.25rem);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36ch;
}

/* ---------- field image band ---------- */

.field-band {
  padding-block: 0;
  border-bottom: none;
}

.field-band .caerus-img {
  aspect-ratio: 21 / 9;
}

@media (max-width: 700px) {
  .field-band .caerus-img {
    aspect-ratio: 3 / 2;
  }
}

/* ---------- founding ---------- */

.founding {
  background: var(--bg-raised);
  padding-block: clamp(56px, 9vw, 96px);
}

.founding .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.founding h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.founding-body p {
  color: var(--muted);
  max-width: 52ch;
}

.founding-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  border-top: 1px solid var(--rule);
  margin-top: clamp(28px, 5vw, 44px);
  padding-top: 28px;
}

.founding-cta .cta-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 560px) {
  .founding-cta {
    justify-content: flex-start;
  }
  .founding-cta .btn {
    width: 100%;
    text-align: center;
  }
}

.founding-figure {
  position: relative;
  margin: 44px 0 0;
  border: 1px solid var(--rule);
  padding: 22px 22px 0;
}

.founding-figure::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  pointer-events: none;
}

.founding-figure .img-caption {
  color: var(--muted);
  border-top: 1px solid var(--rule);
  margin-top: 18px;
  padding: 12px 0 14px;
}

.founding-img {
  aspect-ratio: 3 / 2;
}

/* the surveyor shot is a low-key dusk exposure — lift it or the duotone
   crushes it to a black box at this frame size */
.founding-img img {
  filter: grayscale(1) contrast(1.08) brightness(1.75);
}

/* ---------- contact (+ Australia signal map) ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 72px;
  align-items: center;
}

.map-figure {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  border: 1px solid var(--rule);
  padding: 28px 28px 0;
}

.map-figure::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  pointer-events: none;
}

.map-canvas-wrap {
  position: relative;
  width: 100%;
  z-index: 0;
}

#aus-signal-map {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  position: relative;
  z-index: 0;
}

html.js .map-figure {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

html.js .map-figure.is-ready {
  opacity: 1;
  transform: none;
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.map-caption .legend {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-caption .legend i {
  width: 5px;
  height: 5px;
  background: var(--accent);
  display: inline-block;
  flex: none;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .map-figure {
    justify-self: start;
  }
}

.contact-block {
  margin-top: 8px;
}

.contact-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.contact-role {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.05rem;
}

.contact-lines a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 6px;
  width: fit-content;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
  padding-block: 8px;
}

.contact-lines a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ---------- footer ---------- */

.site-footer {
  padding-block: clamp(56px, 8vw, 90px) 40px;
  overflow: hidden;
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.5rem, 13vw, 10rem);
  letter-spacing: 0.12em;
  line-height: 1;
  color: rgba(237, 232, 221, 0.08);
  user-select: none;
  white-space: nowrap;
  margin-bottom: 48px;
}

.footer-mark .dot {
  color: rgba(192, 138, 45, 0.35);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}

.footer-legal a {
  color: var(--muted);
  transition: color 0.2s ease;
  padding: 12px 8px;
  margin: -12px -8px;
}

.footer-legal a:hover {
  color: var(--ink);
}

/* ---------- privacy page ---------- */

.prose {
  max-width: 68ch;
  padding-block: clamp(64px, 9vw, 110px);
}

.prose h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.prose .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 56px;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 44px 0 12px;
}

.prose p {
  color: var(--muted);
}

.prose a {
  color: var(--ink);
}

.prose a:hover {
  color: var(--accent);
}

/* ---------- reduced motion: static, fully visible ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .js .reveal.is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js .img-reveal,
  .js .img-reveal.is-in {
    clip-path: none !important;
    transition: none !important;
  }
  .caerus-img img,
  .js .img-reveal img {
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }
  .ticker__track {
    animation: none;
  }
  .ticker__group[aria-hidden="true"] {
    display: none;
  }
  .ticker__viewport {
    -webkit-mask-image: none;
            mask-image: none;
  }
  .orbit-badge__ring {
    animation: none;
  }
  .orbit-badge__arrow {
    transition: none;
  }
  .orbit-badge:hover .orbit-badge__arrow,
  .orbit-badge:focus-visible .orbit-badge__arrow {
    transform: none;
  }
  .steps-line path {
    visibility: visible !important;
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }
  html.js .stats-strip .stat {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.js .map-figure {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js .step-body {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .node {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
  }
  .step-body,
  .node,
  .card,
  .card::before,
  .card::after,
  .card .card-num,
  .card .icon {
    transition: none !important;
  }
  .card:hover {
    transform: none;
  }
  .card:hover .card-num {
    transform: none;
  }
  .grain {
    background-position: 0 0 !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .founding .container {
    grid-template-columns: 1fr;
  }
  .what-grid {
    grid-template-columns: 1fr;
  }
  .what-img {
    max-height: 460px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    row-gap: 3.25rem;
  }
  .step {
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 1.4rem;
    align-items: start;
  }
  .node {
    margin: 1.3rem 0 0;
    justify-self: center;
  }
  .step-num {
    font-size: 3.2rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 560px) {
  .header-email {
    display: none;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
}
