:root {
  --ink: #102027;
  --ink-soft: #31505a;
  --paper: #fbfcf8;
  --white: #ffffff;
  --mist: #eef5f1;
  --sea: #0d6b68;
  --leaf: #4f8c65;
  --coral: #d96655;
  --gold: #d59b39;
  --purple: #7256a4;
  --line: rgba(16, 32, 39, 0.14);
  --shadow: 0 22px 60px rgba(16, 32, 39, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sea), var(--purple));
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(13, 107, 104, 0.24);
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.brand-text span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 650;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 720;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--mist);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(34px, 6vw, 74px) clamp(18px, 5vw, 78px);
  color: var(--white);
  background: var(--ink);
}

.qa-notice {
  padding: clamp(22px, 4vw, 42px) clamp(18px, 5vw, 78px);
  color: #3d2706;
  background: #ffe7a6;
  border-bottom: 1px solid rgba(61, 39, 6, 0.24);
}

.qa-notice h2 {
  max-width: 1100px;
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.qa-notice p {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(1.12rem, 1.8vw, 1.48rem);
  color: #4a330a;
  font-weight: 650;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 12vh;
  padding-bottom: 12vh;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.42);
}

.hero p,
.page-hero p,
.lead {
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.7vw, 1.35rem);
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.34);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--sea);
  border-color: var(--sea);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: var(--ink);
  z-index: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background:
    linear-gradient(90deg, rgba(8, 22, 27, 0.92) 0%, rgba(8, 22, 27, 0.68) 44%, rgba(8, 22, 27, 0.08) 82%),
    linear-gradient(0deg, rgba(8, 22, 27, 0.56), transparent 46%);
  pointer-events: none;
}

.section {
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 78px);
}

.section.band {
  background: var(--mist);
}

.section-header {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-header h2,
.page-section h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

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

.card,
.source-card {
  min-height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card h3,
.source-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p,
.source-card p {
  margin: 0;
  color: var(--ink-soft);
}

.signal {
  display: inline-flex;
  width: 42px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--coral);
}

.signal.green {
  background: var(--leaf);
}

.signal.gold {
  background: var(--gold);
}

.signal.purple {
  background: var(--purple);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
}

.pathway {
  display: grid;
  gap: 12px;
}

.path-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.path-step strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
}

.path-step h3 {
  margin: 0 0 4px;
}

.path-step p {
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  min-height: clamp(560px, 74vh, 820px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 78px) clamp(28px, 5vw, 60px);
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--ink);
  border: 0;
  box-shadow: none;
  z-index: 0;
}

.page-hero-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.page-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 22, 27, 0.92) 0%, rgba(8, 22, 27, 0.68) 44%, rgba(8, 22, 27, 0.08) 82%),
    linear-gradient(0deg, rgba(8, 22, 27, 0.56), transparent 46%);
  pointer-events: none;
}

.page-hero .crumb {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
  text-decoration: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.page-section {
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 78px);
}

.callout {
  padding: clamp(28px, 5vw, 48px);
  color: var(--white);
  background: linear-gradient(135deg, var(--sea), #17313a);
  border-radius: var(--radius);
}

.callout p {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 78px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer a,
.site-footer strong {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(16, 32, 39, 0.28);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .page-hero,
  .grid,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - 68px);
  }

  .page-hero {
    min-height: 68svh;
  }

  .hero-visual::after,
  .page-hero-visual::after {
    background:
      linear-gradient(180deg, rgba(8, 22, 27, 0.94) 0%, rgba(8, 22, 27, 0.76) 52%, rgba(8, 22, 27, 0.28) 100%),
      linear-gradient(0deg, rgba(8, 22, 27, 0.48), transparent 40%);
  }
}

@media (max-width: 540px) {
  .nav a {
    padding: 7px 8px;
    font-size: 0.82rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.62rem;
  }

  .path-step {
    grid-template-columns: 1fr;
  }
}
