/* Shared inner-page framework — Metriq Foundation v3.4 */

.subpage {
  background: var(--page);
}

.subpage main {
  min-height: 70vh;
  padding-top: calc(var(--header-height) + 3px);
}

.subpage .site-header {
  background: rgba(247, 250, 249, 0.93);
  border-bottom-color: rgba(11, 13, 14, 0.08);
}

.subpage .desktop-nav a[aria-current="page"] {
  color: var(--ink);
}

.subpage .desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-breadcrumb a {
  transition: color 150ms ease;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus-visible {
  color: var(--emerald);
}

.page-breadcrumb i {
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.page-kicker {
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-title {
  max-width: 1050px;
  margin-top: 1.15rem;
  color: var(--ink);
  font-size: clamp(3.5rem, 7.6vw, 7.8rem);
  font-weight: 780;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.page-title span {
  color: var(--emerald);
}

.page-lead {
  max-width: 790px;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.7;
}

.page-section {
  position: relative;
  padding-block: clamp(5rem, 9vw, 9rem);
}

.page-section + .page-section {
  border-top: 1px solid var(--line);
}

.page-section-dark {
  border-top: 0 !important;
  background: var(--ink);
  color: var(--page);
}

.page-section-tint {
  background: var(--surface-tint);
}

.inner-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.inner-heading-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.6rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inner-heading-label span {
  color: var(--emerald);
}

.inner-heading-copy h2 {
  color: var(--ink);
  font-size: clamp(2.8rem, 5.6vw, 6rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.inner-heading-copy h2 span {
  color: var(--emerald);
}

.inner-heading-copy > p {
  max-width: 800px;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.page-section-dark .inner-heading-label,
.page-section-dark .inner-heading-copy > p {
  color: rgba(247, 250, 249, 0.62);
}

.page-section-dark .inner-heading-copy h2 {
  color: #fff;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.inline-arrow {
  font-size: 1.1em;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.meta-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.status-candidate i {
  background: #F4B942;
}

.notice-box {
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(6, 162, 105, 0.25);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius-sm);
  background: rgba(198, 245, 221, 0.22);
  color: var(--text);
  line-height: 1.65;
}

.notice-box strong {
  color: var(--ink);
}

.site-footer .footer-brand a {
  display: inline-block;
}

@media (max-width: 980px) {
  .inner-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .inner-heading-label {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .page-title {
    font-size: clamp(3.2rem, 16vw, 5.5rem);
  }

  .page-section {
    padding-block: 4.5rem;
  }

  .inner-heading-copy h2 {
    font-size: clamp(2.65rem, 13vw, 4.6rem);
  }
}
