.organism-profile-app .organism-profile-hero,
.organism-index-app .organism-index-hero {
  padding-top: 2.75rem;
}

.organism-profile-app .organism-profile-hero h1,
.organism-index-app .organism-index-hero h1 {
  max-width: 15ch;
}

.organism-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--suite-accent) 45%, var(--suite-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--suite-accent) 12%, var(--suite-panel));
  color: var(--suite-accent-strong);
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.organism-profile-app button.ghost-action {
  cursor: pointer;
  font: inherit;
}

.organism-profile-app .copy-status {
  min-height: 1.25rem;
  margin-top: 0.5rem;
  color: var(--suite-accent-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.organism-story,
.organism-layer,
.profile-questions,
.profile-method,
.profile-launch-list {
  margin-top: 1.25rem;
  border: 1px solid var(--suite-line);
  border-radius: 1.25rem;
  background: var(--suite-panel);
  box-shadow: var(--suite-shadow);
}

.organism-story,
.profile-questions,
.profile-launch-list {
  padding: 1.4rem;
}

.organism-profile-app .section-heading,
.organism-index-app .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.organism-profile-app .section-heading h2,
.organism-index-app .section-heading h2,
.organism-layer h2,
.profile-method h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.organism-profile-app .section-heading > p,
.organism-index-app .section-heading > p {
  max-width: 48ch;
  margin: 0;
  color: var(--suite-muted);
  line-height: 1.55;
}

.story-steps,
.profile-records,
.profile-questions ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.story-steps li {
  min-width: 0;
  border: 1px solid var(--suite-line);
  border-radius: 1rem;
  background: var(--suite-surface-soft);
  padding: 1.15rem;
}

.story-steps li > span,
.profile-questions li > span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--suite-accent-strong);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.story-steps strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.25;
}

.story-steps p,
.organism-layer p,
.profile-method p,
.profile-launch-list p {
  margin: 0.7rem 0 0;
  color: var(--suite-muted);
  line-height: 1.6;
}

.organism-layer {
  overflow: hidden;
}

.layer-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1.3rem 1.4rem;
  border-bottom: 1px solid var(--suite-line);
}

.layer-heading.compras-tone {
  background: color-mix(in srgb, #55d18b 11%, var(--suite-panel));
}

.layer-heading.pauta-tone {
  background: color-mix(in srgb, #ff9d5c 12%, var(--suite-panel));
}

.layer-heading.viajes-tone {
  background: color-mix(in srgb, #6ab8ff 12%, var(--suite-panel));
}

.layer-heading.source-tone {
  background: color-mix(in srgb, #d6b6ff 12%, var(--suite-panel));
}

.layer-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--suite-line);
}

.layer-metrics > div {
  min-width: 0;
  padding: 1.15rem 1.4rem;
  border-right: 1px solid var(--suite-line);
}

.layer-metrics > div:last-child {
  border-right: 0;
}

.layer-metrics span {
  display: block;
  color: var(--suite-faint);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layer-metrics strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 0.4rem;
  font-size: 1.25rem;
  line-height: 1.15;
}

.profile-records li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.05rem 1.4rem;
  border-bottom: 1px solid var(--suite-line);
}

.record-main > span,
.documented-case-grid article > span {
  color: var(--suite-faint);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.record-main h3,
.documented-case-grid h3 {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.record-main h3 a,
.documented-case-grid h3 a {
  color: var(--suite-text);
}

.record-main h3 a:hover,
.documented-case-grid h3 a:hover {
  color: var(--suite-accent-strong);
}

.record-main p {
  margin-top: 0.35rem;
  font-size: 0.88rem;
}

.record-value {
  display: grid;
  gap: 0.3rem;
  justify-items: end;
  text-align: right;
}

.record-value strong {
  font-size: 1.05rem;
}

.record-value a,
.documented-case-grid article div a,
.profile-method a {
  color: var(--suite-accent-strong);
  font-size: 0.84rem;
  font-weight: 850;
}

.layer-caveat {
  margin: 0 !important;
  padding: 1rem 1.4rem;
  background: var(--suite-surface-soft);
  font-size: 0.9rem;
}

.documented-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem;
}

.documented-case-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--suite-line);
  border-radius: 1rem;
  background: var(--suite-surface-soft);
  padding: 1.2rem;
}

.documented-case-grid article div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: end;
  margin-top: auto;
  padding-top: 1.1rem;
}

.two-layer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.compact-layer {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.35rem;
}

.compact-layer .layer-heading {
  grid-template-columns: auto minmax(0, 1fr);
}

.compact-layer > p,
.compact-layer > .small-action,
.coverage-state {
  margin-right: 1.35rem;
  margin-left: 1.35rem;
}

.coverage-state {
  display: block;
  margin-top: 1.3rem;
  font-size: 1.16rem;
}

.compact-layer > .small-action {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0;
}

.profile-questions ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.profile-questions li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  border: 1px solid var(--suite-line);
  border-radius: 0.9rem;
  background: var(--suite-surface-soft);
  padding: 1rem;
}

.profile-questions li > span {
  margin: 0;
}

.profile-questions li p {
  margin: 0;
  line-height: 1.55;
}

.profile-method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.36fr);
  margin-bottom: 2rem;
}

.profile-method > div,
.profile-method > aside {
  padding: 1.4rem;
}

.profile-method > aside {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  border-left: 1px solid var(--suite-line);
  background: var(--suite-surface-soft);
}

.profile-method aside span {
  color: var(--suite-faint);
  font-size: 0.82rem;
}

.profile-launch-list {
  margin-bottom: 2rem;
}

.profile-launch-list > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr) auto;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--suite-line);
  border-radius: 1rem;
  background: var(--suite-surface-soft);
  padding: 1.3rem;
}

.profile-launch-list article > div > span {
  color: var(--suite-accent-strong);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-launch-list h3 {
  margin: 0.25rem 0 0;
  font-size: 2.6rem;
}

.profile-launch-list dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
}

.profile-launch-list dl div {
  border: 1px solid var(--suite-line);
  border-radius: 0.7rem;
  padding: 0.7rem;
}

.profile-launch-list dt {
  color: var(--suite-faint);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-launch-list dd {
  margin: 0.2rem 0 0;
  font-weight: 900;
}

@media (max-width: 980px) {
  .story-steps,
  .layer-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layer-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .layer-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--suite-line);
  }

  .profile-launch-list > article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .organism-profile-app .organism-profile-hero h1,
  .organism-index-app .organism-index-hero h1 {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

  .organism-profile-app .section-heading,
  .organism-index-app .section-heading {
    display: block;
  }

  .organism-profile-app .section-heading > p,
  .organism-index-app .section-heading > p {
    margin-top: 0.7rem;
  }

  .story-steps,
  .documented-case-grid,
  .two-layer-grid,
  .profile-questions ol,
  .profile-method {
    grid-template-columns: 1fr;
  }

  .layer-heading {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .layer-heading > .small-action {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .profile-records li {
    grid-template-columns: 1fr;
  }

  .record-value {
    justify-items: start;
    text-align: left;
  }

  .documented-case-grid article div {
    display: grid;
  }

  .profile-method > aside {
    border-top: 1px solid var(--suite-line);
    border-left: 0;
  }
}
