.hero {
  height: auto;
  min-height: clamp(700px, calc(100svh - 114px), 1050px);
  max-height: none;
}

.hero-copy > .hero-profile-copy {
  max-width: 540px;
  line-height: 1.65;
}

.hero-profile-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #f7f8f8;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-ctas {
  flex-wrap: wrap;
}

.hero-ctas .text-btn {
  min-height: 44px;
}

.manifesto {
  row-gap: clamp(24px, 4vw, 52px);
}

.profile-preview {
  grid-column: 1 / -1;
  scroll-margin-top: 18px;
  padding: clamp(18px, 4vw, 52px);
  border: 1px solid #30495c;
  border-radius: 18px;
  background: linear-gradient(150deg, #122232, #0b1722 65%);
}

.profile-preview:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}

.profile-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 24px;
}

.profile-heading .eyebrow {
  margin-bottom: 12px;
  color: var(--ice);
}

.profile-heading h3 {
  font-size: clamp(25px, 4vw, 45px);
  line-height: 1.1;
}

.profile-badge {
  padding: 4px 10px;
  border: 1px solid #426278;
  border-radius: 4px;
  color: #d1e6f3;
  font-size: 13px;
}

.profile-intro {
  max-width: 68ch;
  margin-top: 16px;
  color: #d1e1ec;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 50px);
  margin-top: 30px;
}

.profile-preview h4 {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.3;
}

.profile-note {
  margin-top: 6px;
  color: #b5c9d8;
  font-size: 14px;
}

.profile-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.profile-switcher[hidden] {
  display: none;
}

.profile-switcher button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #446379;
  border-radius: 4px;
  background: #0e1c29;
  color: #d1e1ec;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, border-color .2s;
}

.profile-switcher button:hover {
  border-color: var(--blue);
}

.profile-switcher button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--ink);
}

.profile-table {
  width: 100%;
  border-spacing: 4px;
  table-layout: fixed;
  font-size: 14px;
}

.profile-table th,
.profile-table td {
  padding: 8px 6px;
  text-align: center;
}

.profile-table th:first-child {
  width: 32%;
  padding-left: 0;
  text-align: left;
}

.profile-table--night th:first-child {
  width: 48%;
}

.profile-table thead th,
.profile-table small {
  color: #b5c9d8;
}

.profile-table small {
  display: block;
  font-size: 12px;
  font-weight: 400;
}

.profile-table td {
  border-radius: 4px;
  background: #1b3041;
  color: #e6f1f8;
}

.profile-table td.profile-above {
  background: #113e52;
  color: #c9f2ff;
  font-weight: 700;
}

.profile-table td.profile-gap {
  background: repeating-linear-gradient(135deg, #162536 0 5px, #1d2e40 5px 10px);
  color: #d1e1ec;
}

.profile-observation {
  margin-top: 9px;
  color: #c6d9e7;
  font-size: 14px;
}

.profile-perspectives {
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 1px solid #30495c;
}

.profile-questions > div {
  padding: 14px 16px;
  border-left: 2px solid var(--blue);
  background: #122537;
}

.profile-questions > div:not([hidden]) + div:not([hidden]) {
  margin-top: 8px;
}

.profile-questions p {
  color: #e2edf5;
}

.profile-questions .profile-role {
  margin-bottom: 4px;
  color: var(--ice);
  font-size: 14px;
  font-weight: 700;
}

.profile-specialties {
  margin-top: 26px;
}

.profile-specialties summary {
  width: fit-content;
  padding-block: 8px;
  color: var(--ice);
  cursor: pointer;
  font-weight: 700;
}

.profile-specialties dl,
.profile-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 26px;
  margin: 12px 0 0;
}

.profile-evidence {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #30495c;
}

.profile-preview dt {
  color: #f7f8f8;
  font-size: 14px;
  font-weight: 700;
}

.profile-preview dd {
  margin: 4px 0 0;
  color: #b5c9d8;
  font-size: 14px;
}

.profile-evidence a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-perspectives {
    padding: 20px 0 0;
    border: 0;
    border-top: 1px solid #30495c;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: clamp(680px, calc(100svh - 100px), 1000px);
  }

  .hero-ctas {
    gap: 10px 16px;
  }

  .manifesto {
    row-gap: 18px;
  }
}

@media (max-width: 520px) {
  .profile-table {
    border-spacing: 2px;
    font-size: 12px;
  }

  .profile-table th,
  .profile-table td {
    padding: 6px 3px;
    overflow-wrap: anywhere;
  }

  .profile-specialties dl,
  .profile-evidence {
    grid-template-columns: 1fr;
  }
}

.profile-case {
  display: grid;
  gap: 7px;
  max-width: 340px;
  margin-top: 24px;
}

.profile-case label {
  color: var(--ice);
  font-size: 14px;
  font-weight: 700;
}

.profile-case select {
  min-height: 46px;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #426278;
  border-radius: 4px;
  color: #f7f8f8;
  background: #0e1c29;
  color-scheme: dark;
}

.profile-coverage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 620px;
  margin: 20px 0 0;
}

.profile-coverage > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 3px;
  padding: 9px 12px;
  border-top: 1px solid #426278;
  background: #102131;
}

.profile-coverage dd {
  margin: 0;
  color: var(--ice);
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 700;
  line-height: 1.2;
}

.profile-coverage dt {
  color: #c6d9e7;
  font-weight: 400;
}

.profile-table td.profile-interactive-cell {
  padding: 0;
}

.profile-reading-button {
  width: 100%;
  min-height: 44px;
  padding: 6px 4px;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-weight: inherit;
  overflow-wrap: anywhere;
  transition: background .2s, box-shadow .2s;
}

.profile-reading-button:hover,
.profile-reading-button[aria-pressed="true"] {
  background: #1e455a;
}

.profile-reading-button.profile-cited {
  box-shadow: inset 0 0 0 2px var(--blue);
}

.profile-reading-button:focus-visible {
  outline-offset: -3px;
}

.profile-reading {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 2px solid var(--blue);
  background: #122537;
}

.profile-reading dl,
.profile-council-step dl {
  margin: 8px 0 0;
}

.profile-reading dl > div + div,
.profile-council-step dl > div + div {
  margin-top: 8px;
}

.profile-reading .profile-role,
.profile-council > .profile-role {
  color: var(--ice);
  font-size: 14px;
  font-weight: 700;
}

.profile-council-launch {
  margin: 14px 0;
}

.profile-council-launch p {
  margin-bottom: 10px;
  color: #c6d9e7;
  font-size: 14px;
}

.profile-council-launch .btn {
  min-height: 44px;
  padding: 9px 13px;
  text-align: left;
  font-size: 14px;
}

.profile-council {
  padding: 16px;
  border: 1px solid #426278;
  border-radius: 6px;
  background: #0d1b28;
}

.profile-council-step {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 2px solid var(--blue);
  background: #122537;
}

.profile-council-step .profile-step-count {
  color: #b5c9d8;
  font-size: 13px;
}

.profile-council-step h5 {
  margin: 4px 0;
  color: #f7f8f8;
  font-size: 18px;
  line-height: 1.3;
}

.profile-council-step p {
  color: #e2edf5;
  font-size: 14px;
}

.profile-council-step .profile-step-evidence {
  margin-top: 10px;
  color: var(--ice);
}

.profile-step-controls {
  margin-bottom: 7px;
}

.profile-step-controls button:disabled {
  opacity: .58;
}

.profile-inspect-link {
  display: block;
  width: fit-content;
  margin-top: 5px;
  padding: 5px 0;
  color: var(--ice);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-case[hidden],
.profile-coverage[hidden],
.profile-inspect-link[hidden] {
  display: none;
}

.profile-partner-brief {
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid #aebcc0;
  border-radius: 6px;
  background: #f2f5f3;
  scroll-margin-top: 18px;
}

.profile-partner-brief summary {
  padding: 13px 0;
  cursor: pointer;
  color: #12394a;
  font-weight: 700;
}

.profile-partner-content {
  padding: 0 0 18px;
}

.profile-partner-content dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 16px 0;
}

.profile-partner-content dt {
  font-weight: 700;
}

.profile-partner-content dd {
  margin: 2px 0 0;
  color: #425560;
  font-size: 14px;
}

.profile-partner-content p {
  color: #425560;
}

.profile-partner-content .profile-partner-status {
  margin-top: 3px;
  color: #375d6d;
  font-size: 14px;
}

.profile-partner-content .link {
  margin-top: 10px;
  color: #075475;
  border-color: #8fa4ad;
}

@media (max-width: 520px) {
  .profile-coverage > div {
    padding-inline: 7px;
  }

  .profile-coverage dt {
    font-size: 12px;
  }

  .profile-partner-content dl {
    grid-template-columns: 1fr;
  }
}
