:root {
  --ink: #12110f;
  --charcoal: #191b1d;
  --carbon: #232629;
  --paper: #f6f1e7;
  --muted: #d6cab4;
  --cyan: #3fd6c6;
  --red: #e14f4f;
  --gold: #d6a94b;
  --green: #6bbf85;
  --line: rgba(246, 241, 231, 0.18);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

* {
  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: var(--ink);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px 28px;
  background: rgba(18, 17, 15, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

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

.site-nav a {
  min-height: 40px;
  padding: 9px 14px;
  color: rgba(246, 241, 231, 0.82);
  text-decoration: none;
  border-radius: 8px;
}

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

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

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

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

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

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.9), rgba(18, 17, 15, 0.48) 54%, rgba(18, 17, 15, 0.26)),
    linear-gradient(0deg, rgba(18, 17, 15, 0.9), rgba(18, 17, 15, 0.06) 45%, rgba(18, 17, 15, 0.34)),
    url("assets/hero-resonance.png") center / cover no-repeat;
  transform: scale(1.02);
}

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

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

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

h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: 4.75rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.45rem;
  line-height: 1.05;
}

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

.hero-copy {
  max-width: 680px;
  color: rgba(246, 241, 231, 0.86);
  font-size: 1.25rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button-primary:hover {
  background: #72e6dc;
}

.button-secondary {
  color: var(--paper);
  border: 1px solid rgba(246, 241, 231, 0.36);
  background: rgba(18, 17, 15, 0.36);
}

.button-secondary:hover {
  background: rgba(246, 241, 231, 0.1);
}

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

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

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 72px;
}

.prose {
  color: rgba(246, 241, 231, 0.8);
  font-size: 1.06rem;
}

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

.tile {
  min-height: 250px;
  padding: 24px;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.tile p {
  color: rgba(246, 241, 231, 0.74);
}

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

.text-link {
  color: var(--cyan);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

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

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

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

.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta-section p {
  max-width: 760px;
  color: rgba(246, 241, 231, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 28px;
  color: rgba(246, 241, 231, 0.72);
  border-top: 1px solid var(--line);
  background: #0e0d0c;
}

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

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

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

.site-footer a {
  text-decoration: none;
}

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

.page-hero {
  min-height: 54svh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 110px 20px 72px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.92), rgba(18, 17, 15, 0.34)),
    url("assets/hero-resonance.png") center / cover no-repeat;
}

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

.page-hero p:last-child {
  max-width: 720px;
  margin-left: calc((100% - min(980px, 100%)) / 2);
  color: rgba(246, 241, 231, 0.82);
  font-size: 1.1rem;
}

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

.doctrine-aside {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--charcoal);
}

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

.doctrine-aside p {
  color: rgba(246, 241, 231, 0.72);
}

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

.passage {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--carbon);
}

.passage p:last-child {
  color: rgba(246, 241, 231, 0.76);
}

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

.process {
  max-width: 920px;
}

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

.process li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--charcoal);
}

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

.process p {
  margin: 0;
  color: rgba(246, 241, 231, 0.78);
}

.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: rgba(246, 241, 231, 0.78);
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .image-band,
  .doctrine-layout,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .image-band img,
  .image-band-text {
    min-height: auto;
    height: auto;
  }

  .doctrine-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 16px;
  }

  .brand span {
    max-width: 180px;
    line-height: 1.1;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(18, 17, 15, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

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

  .hero {
    min-height: 84svh;
  }

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

  h1 {
    font-size: 2.45rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.72rem;
  }

  blockquote {
    font-size: 1.45rem;
  }

  .status-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 58px 0;
  }

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

  .tile {
    min-height: 210px;
  }

  .image-band-text {
    padding: 34px 20px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 16px;
  }
}
