:root {
  --ink: #0d0d0b;
  --night: #141512;
  --charcoal: #1c201d;
  --carbon: #242823;
  --moss: #6f8f72;
  --paper: #f7f2e6;
  --muted: #d6cab4;
  --dim: rgba(247, 242, 230, 0.72);
  --faint: rgba(247, 242, 230, 0.12);
  --cyan: #3fd6c6;
  --red: #d9504a;
  --gold: #d8aa4e;
  --green: #7cc28a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(63, 214, 198, 0.08), transparent 34rem),
    linear-gradient(180deg, #10110f 0%, #0d0d0b 36%, #12130f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(247, 242, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 230, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 72%, transparent);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(63, 214, 198, 0.86);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  transform: translateY(-150%);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  background: var(--cyan);
  box-shadow: var(--shadow);
  transition: transform 160ms ease;
}

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

code {
  padding: 0.08em 0.32em;
  border: 1px solid var(--faint);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(13, 13, 11, 0.42);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 3vw, 34px);
  background: rgba(13, 13, 11, 0.86);
  border-bottom: 1px solid var(--faint);
  backdrop-filter: blur(18px);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(216, 170, 78, 0.35), 0 0 28px rgba(63, 214, 198, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: rgba(247, 242, 230, 0.82);
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--paper);
  background: rgba(247, 242, 230, 0.08);
}

.site-nav .nav-contact {
  color: var(--ink);
  background: var(--gold);
}

.site-nav .nav-contact:hover {
  color: var(--ink);
  background: #edc76e;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: transparent;
  color: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--faint);
}

#resonance-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.86;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 11, 0.94), rgba(13, 13, 11, 0.7) 44%, rgba(13, 13, 11, 0.22)),
    linear-gradient(0deg, rgba(13, 13, 11, 0.92), rgba(13, 13, 11, 0.1) 46%, rgba(13, 13, 11, 0.55)),
    url("assets/hero-resonance-v5.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  padding: 0 0 12svh;
  margin: 0 auto;
}

.hero-seal {
  width: 96px;
  height: 96px;
  margin-bottom: 26px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(216, 170, 78, 0.35), 0 16px 46px rgba(0, 0, 0, 0.48);
}

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

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(3.15rem, 8.2vw, 7.7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 780px;
  color: rgba(247, 242, 230, 0.88);
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.button-primary {
  color: var(--ink);
  background: var(--cyan);
}

.button-primary:hover {
  background: #70e6db;
  box-shadow: 0 12px 34px rgba(63, 214, 198, 0.18);
}

.button-secondary,
.button-sound {
  color: var(--paper);
  border-color: rgba(247, 242, 230, 0.32);
  background: rgba(13, 13, 11, 0.42);
}

.button-secondary:hover,
.button-sound:hover {
  background: rgba(247, 242, 230, 0.1);
}

.button-sound[aria-pressed="true"] {
  color: var(--ink);
  background: var(--gold);
}

.button-sound[aria-pressed="true"] .sound-icon {
  animation: tone-pulse 1.8s ease-in-out infinite;
}

.sound-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px currentColor;
}

@keyframes tone-pulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 4px currentColor, 0 0 0 0 rgba(216, 170, 78, 0.0);
  }
  48% {
    box-shadow: inset 0 0 0 4px currentColor, 0 0 0 9px rgba(216, 170, 78, 0.22);
  }
}

.mission-panel {
  position: absolute;
  right: clamp(20px, 4vw, 52px);
  bottom: clamp(20px, 5vw, 70px);
  z-index: 3;
  width: min(360px, calc(100% - 40px));
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 230, 0.2);
  border-radius: 8px;
  background: rgba(13, 13, 11, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mission-panel div {
  padding: 16px 18px;
  background: rgba(28, 32, 29, 0.78);
}

.mission-panel span,
.priority-card span,
.ritual-map span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mission-panel strong {
  display: block;
  color: var(--paper);
  line-height: 1.25;
}

.status-band {
  background: var(--gold);
  color: var(--ink);
}

.status-inner {
  width: min(var(--max), calc(100% - 40px));
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 18px 0;
  margin: 0 auto;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 86px);
}

.prose {
  color: var(--dim);
  font-size: 1.06rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.mission-statement {
  border-bottom: 1px solid var(--faint);
}

.home-signal {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(430px, 1.18fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  border-bottom: 1px solid var(--faint);
}

.home-signal-copy p:not(.eyebrow) {
  color: var(--dim);
  font-size: 1.08rem;
}

.home-signal-frame {
  overflow: hidden;
  border: 1px solid rgba(247, 242, 230, 0.2);
  border-radius: 8px;
  background: #050505;
  box-shadow: var(--shadow);
}

.home-signal-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-signal-frame p {
  margin: 0;
  padding: 12px 14px;
  color: rgba(247, 242, 230, 0.72);
  font-size: 0.9rem;
  border-top: 1px solid rgba(247, 242, 230, 0.12);
  background: rgba(13, 13, 11, 0.64);
}

.home-signal-frame a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-weight: 900;
  text-underline-offset: 4px;
}

.ritual-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.ritual-map article {
  min-height: 320px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(36, 40, 35, 0.96), rgba(20, 21, 18, 0.96));
  border: 1px solid var(--faint);
}

.ritual-map h2 {
  font-size: 2rem;
}

.ritual-map p,
.build-intro p,
.pathway-intro p,
.priority-card p,
.policy-card li,
.partner-materials p,
.media-card p,
.documentation-plan p,
.cta-section p {
  color: var(--dim);
}

.public-pathways {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(420px, 1.24fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  border-top: 1px solid var(--faint);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pathway-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  color: var(--paper);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(36, 40, 35, 0.94), rgba(20, 21, 18, 0.94)),
    var(--charcoal);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pathway-card:hover {
  border-color: rgba(63, 214, 198, 0.48);
  background:
    linear-gradient(180deg, rgba(45, 51, 45, 0.96), rgba(22, 25, 22, 0.96)),
    var(--charcoal);
}

.pathway-card span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pathway-card strong {
  display: block;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.02;
}

.pathway-card em {
  color: var(--dim);
  font-style: normal;
}

.media-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  background: var(--carbon);
  border-block: 1px solid var(--faint);
}

.media-frame {
  min-height: 620px;
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 72px);
}

.media-copy p {
  color: var(--dim);
  font-size: 1.07rem;
}

.build-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.build-list {
  display: grid;
  gap: 12px;
}

.build-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: rgba(28, 32, 29, 0.8);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.build-list strong {
  color: var(--cyan);
}

.build-list span {
  color: var(--dim);
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--faint);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 3vw, 34px);
  color: rgba(247, 242, 230, 0.72);
  border-top: 1px solid var(--faint);
  background: #0a0a09;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--paper);
}

.footer-status {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(247, 242, 230, 0.58);
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.page-hero {
  min-height: 62svh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 120px 20px 76px;
  border-bottom: 1px solid var(--faint);
  background:
    linear-gradient(90deg, rgba(13, 13, 11, 0.94), rgba(13, 13, 11, 0.46)),
    linear-gradient(0deg, rgba(13, 13, 11, 0.82), rgba(13, 13, 11, 0.18)),
    url("assets/hero-resonance-v5.jpg") center / cover no-repeat;
}

.page-hero > * {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.page-hero p {
  max-width: 740px;
  color: rgba(247, 242, 230, 0.84);
  font-size: 1.12rem;
}

.priority-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.priority-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: rgba(28, 32, 29, 0.84);
  box-shadow: var(--shadow);
}

.priority-lead {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(216, 170, 78, 0.22), rgba(63, 214, 198, 0.08)),
    rgba(28, 32, 29, 0.92);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.policy-grid.compact {
  padding-top: 0;
}

.policy-card,
.media-card,
.doctrine-aside,
.passage,
.status-panel {
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: rgba(28, 32, 29, 0.84);
  box-shadow: var(--shadow);
}

.policy-card {
  min-height: 320px;
  padding: 28px;
}

.policy-card h2 {
  font-size: 1.55rem;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 11px;
  height: 11px;
  background: var(--green);
  border-radius: 50%;
}

.partner-materials {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: 28px;
  align-items: center;
  border-block: 1px solid var(--faint);
}

.material-list {
  display: grid;
  gap: 10px;
}

.material-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  background: rgba(13, 13, 11, 0.34);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.material-list a::after {
  content: "Open";
  color: var(--cyan);
  font-size: 0.84rem;
}

.material-list a:hover {
  background: rgba(247, 242, 230, 0.08);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.first-signal {
  scroll-margin-top: 132px;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  border-bottom: 1px solid var(--faint);
}

.first-signal-copy p {
  color: var(--dim);
  font-size: 1.08rem;
}

.first-signal-video {
  overflow: hidden;
  border: 1px solid rgba(247, 242, 230, 0.2);
  border-radius: 8px;
  background: #050505;
  box-shadow: var(--shadow);
}

.first-signal-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-support {
  margin: 0;
  padding: 12px 14px;
  color: rgba(247, 242, 230, 0.7);
  font-size: 0.9rem;
  border-top: 1px solid rgba(247, 242, 230, 0.12);
  background: rgba(13, 13, 11, 0.64);
}

.video-support a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-weight: 900;
  text-underline-offset: 4px;
}

.media-card {
  min-height: 300px;
  padding: 28px;
}

.media-card.lead {
  grid-column: span 2;
}

.documentation-plan {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1.2fr);
  gap: 40px;
  border-top: 1px solid var(--faint);
}

.documentation-plan ol,
.process ol {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.documentation-plan li,
.process li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: rgba(28, 32, 29, 0.8);
}

.documentation-plan span,
.process span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  font-weight: 900;
  background: var(--cyan);
}

.documentation-plan p,
.process p {
  margin: 0;
}

.signal-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.signal-visual {
  min-height: 360px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(63, 214, 198, 0.08), rgba(216, 170, 78, 0.08)), var(--charcoal);
  overflow: hidden;
}

.signal-visual div {
  min-height: 34px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--gold));
  animation: meters 1.8s ease-in-out infinite alternate;
}

.signal-visual div:nth-child(2) { min-height: 72px; animation-delay: 0.2s; }
.signal-visual div:nth-child(3) { min-height: 180px; animation-delay: 0.4s; }
.signal-visual div:nth-child(4) { min-height: 110px; animation-delay: 0.1s; }
.signal-visual div:nth-child(5) { min-height: 54px; animation-delay: 0.3s; }

@keyframes meters {
  to { transform: scaleY(1.45); filter: brightness(1.2); }
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: rgba(28, 32, 29, 0.84);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.tile-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--red);
  font-weight: 900;
}

.tile p {
  color: var(--dim);
}

.calm {
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.image-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 540px);
  gap: 0;
  padding: 0;
  background: var(--carbon);
}

.image-band img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.image-band-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 540px;
  padding: 56px;
}

blockquote {
  margin: 0 0 24px;
  color: var(--paper);
  font-size: 2rem;
  line-height: 1.15;
}

.doctrine-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.doctrine-aside {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.doctrine-aside img {
  width: 140px;
  height: 140px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.doctrine-aside p,
.passage p:last-child {
  color: var(--dim);
}

.doctrine-text {
  display: grid;
  gap: 22px;
}

.passage {
  padding: 30px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-panel {
  padding: 28px;
  border-left: 6px solid var(--gold);
}

.connect-hero {
  min-height: 54svh;
  display: grid;
  align-items: end;
  padding: 120px 20px 64px;
  border-bottom: 1px solid var(--faint);
  background:
    linear-gradient(90deg, rgba(13, 13, 11, 0.9), rgba(13, 13, 11, 0.58) 52%, rgba(13, 13, 11, 0.88)),
    linear-gradient(180deg, rgba(13, 13, 11, 0.2), rgba(13, 13, 11, 0.96)),
    radial-gradient(circle at 74% 40%, rgba(63, 214, 198, 0.16), transparent 24rem),
    url("assets/hero-resonance-v5.jpg") center / cover no-repeat;
}

.connect-hero-inner {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin: 0 auto;
}

.connect-hero-main {
  max-width: 760px;
}

.connect-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.connect-hero p {
  max-width: 640px;
  color: rgba(247, 242, 230, 0.84);
  font-size: 1.13rem;
}

.connect-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.connect-seal-wrap {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(216, 170, 78, 0.45);
  border-radius: 50%;
  background: rgba(13, 13, 11, 0.58);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.5), 0 0 38px rgba(63, 214, 198, 0.16);
}

.connect-seal-wrap img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
}

.connect-start-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 230, 0.18);
  border-radius: 8px;
  background: rgba(13, 13, 11, 0.56);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.connect-start-panel h2 {
  margin: 0;
  padding: 20px 22px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  background: rgba(28, 32, 29, 0.88);
}

.connect-start-panel a {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 88px;
  padding: 18px 22px;
  color: var(--paper);
  text-decoration: none;
  background: rgba(20, 21, 18, 0.86);
  transition: background 180ms ease, transform 180ms ease;
}

.connect-start-panel a:hover {
  background: rgba(36, 40, 35, 0.94);
}

.connect-start-panel strong {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.connect-start-panel span {
  color: var(--dim);
}

.connect-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.connect-signal {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(400px, 1.22fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  border-bottom: 1px solid var(--faint);
}

.connect-signal-copy p:not(.eyebrow) {
  color: var(--dim);
  font-size: 1.06rem;
}

.connect-signal-video {
  overflow: hidden;
  border: 1px solid rgba(247, 242, 230, 0.2);
  border-radius: 8px;
  background: #050505;
  box-shadow: var(--shadow);
}

.connect-signal-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.connect-signal-video p {
  margin: 0;
  padding: 12px 14px;
  color: rgba(247, 242, 230, 0.72);
  font-size: 0.9rem;
  border-top: 1px solid rgba(247, 242, 230, 0.12);
  background: rgba(13, 13, 11, 0.64);
}

.connect-signal-video a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-weight: 900;
  text-underline-offset: 4px;
}

.connect-primary {
  display: grid;
  gap: 12px;
}

.connect-link {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px 22px;
  padding: 22px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  text-decoration: none;
  background: rgba(28, 32, 29, 0.84);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.connect-link:hover {
  border-color: rgba(63, 214, 198, 0.45);
  background: rgba(36, 40, 35, 0.92);
}

.js-enabled .reveal-ready {
  opacity: 0;
  transform: translateY(24px);
}

.js-enabled .reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled .reveal-ready.reveal-immediate {
  opacity: 1;
  transform: none;
  transition: none;
}

.js-enabled .reveal-ready.reveal-delay-1.is-visible {
  transition-delay: 90ms;
}

.js-enabled .reveal-ready.reveal-delay-2.is-visible {
  transition-delay: 160ms;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover,
  .button:not(:disabled):hover,
  .pathway-card:hover,
  .connect-link:hover,
  .connect-start-panel a:hover,
  .material-list a:hover,
  .build-list article:hover,
  .tile:hover {
    transform: translateY(-2px);
  }
}

.connect-link span {
  grid-row: span 2;
  align-self: start;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.connect-link strong {
  display: block;
  color: var(--paper);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.connect-link em {
  color: var(--dim);
  font-style: normal;
}

.connect-link.lead {
  background:
    linear-gradient(135deg, rgba(216, 170, 78, 0.2), rgba(63, 214, 198, 0.08)),
    rgba(28, 32, 29, 0.9);
}

.connect-card {
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: rgba(28, 32, 29, 0.86);
  box-shadow: var(--shadow);
}

.connect-card h2 {
  font-size: 2.1rem;
}

.connect-card p {
  color: var(--dim);
}

.connect-note {
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.process {
  max-width: 920px;
}

.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.not-found img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
}

.not-found p {
  max-width: 540px;
  color: var(--dim);
}

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

  #resonance-canvas {
    display: none;
  }

  .js-enabled .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .mission-panel {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: min(var(--max), calc(100% - 40px));
    margin: -8svh auto 40px;
  }

  .hero {
    align-items: end;
  }

  .hero-content {
    padding-bottom: 14svh;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--faint);
    border-radius: 8px;
    background: rgba(13, 13, 11, 0.97);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    justify-content: center;
  }

  .connect-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .split,
  .media-band,
  .build-grid,
  .home-signal,
  .public-pathways,
  .first-signal,
  .documentation-plan,
  .signal-board,
  .connect-layout,
  .connect-signal,
  .doctrine-layout,
  .partner-materials,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .ritual-map,
  .feature-grid,
  .priority-board,
  .pathway-grid,
  .policy-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .priority-lead,
  .media-card.lead {
    grid-column: span 2;
  }

  .media-frame {
    min-height: 420px;
  }

  .connect-card {
    position: static;
  }

  .doctrine-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding-bottom: 10svh;
  }

  .hero-seal {
    width: 76px;
    height: 76px;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mission-panel {
    width: calc(100% - 28px);
    margin-bottom: 28px;
  }

  .status-inner,
  .build-list article,
  .connect-link,
  .documentation-plan li,
  .process li {
    grid-template-columns: 1fr;
  }

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

  .section {
    width: min(100% - 28px, var(--max));
  }

  .ritual-map,
  .feature-grid,
  .priority-board,
  .policy-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .priority-lead,
  .media-card.lead {
    grid-column: auto;
  }

  .ritual-map article,
  .priority-card,
  .policy-card,
  .media-card {
    min-height: auto;
  }

  .media-frame {
    min-height: 300px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
