@layer reset, base, components, sections, responsive;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  blockquote,
  figure,
  ol,
  ul {
    margin: 0;
  }

  ol,
  ul {
    padding: 0;
  }

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

  button,
  a {
    font: inherit;
  }
}

@layer base {
  :root {
    --ink: #153744;
    --ink-deep: #0a2833;
    --ink-soft: #46616b;
    --ink-faint: #6e858d;
    --paper: #edf5f7;
    --paper-bright: #f8fbfc;
    --paper-warm: #f3efe5;
    --gold: #b17a0b;
    --gold-bright: #e3a824;
    --graphite: #1f292d;
    --line: #bed0d5;
    --line-dark: rgba(237, 245, 247, 0.2);
    --display: Georgia, "Times New Roman", serif;
    --body: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
    --utility: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    --content: 1180px;
  }

  body {
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
  }

  body::selection,
  body *::selection {
    background: var(--gold-bright);
    color: var(--ink-deep);
  }

  a {
    color: inherit;
  }

  strong {
    font-weight: 760;
  }

  :focus-visible {
    outline: 3px solid var(--gold-bright);
    outline-offset: 4px;
  }

  .container {
    width: min(calc(100% - 80px), var(--content));
    margin-inline: auto;
  }

  .skip-link {
    position: fixed;
    z-index: 1000;
    top: 14px;
    left: 62px;
    padding: 10px 14px;
    background: var(--gold-bright);
    color: var(--ink-deep);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform 180ms ease;
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .eyebrow {
    color: var(--gold);
    font-family: var(--utility);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .section-number {
    display: block;
    margin-top: 18px;
    color: var(--line);
    font-family: var(--display);
    font-size: clamp(4rem, 8vw, 8rem);
    font-style: italic;
    line-height: 0.8;
  }

  .section {
    padding-block: 120px;
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) 1.45fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 64px;
  }

  .section-heading h2,
  .sources-grid h2 {
    max-width: 820px;
    font-family: var(--display);
    font-size: clamp(2.6rem, 5.5vw, 5.7rem);
    font-weight: 500;
    letter-spacing: -0.052em;
    line-height: 0.96;
    /* En español hay titulares con palabras muy largas. "multidisciplinaria"
       mide 414px a 52,5px (el tamaño en un móvil de 375) y el hueco útil son
       343: la palabra empujaba la columna de la rejilla y la página desbordaba
       5px en horizontal. Con hyphens parte donde toca y con guion, que es lo
       correcto en español; overflow-wrap: anywhere es el seguro para las
       palabras que ni partidas caben.
       Ojo: `break-word` NO sirve aquí. No reduce el min-content, así que la
       columna sigue reservando el ancho de la palabra entera — probado. */
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .section-heading > div:last-child > p {
    max-width: 630px;
    margin-top: 24px;
    color: var(--ink-soft);
    font-size: 1.05rem;
  }

  .has-js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .has-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@layer components {
  .index-rail {
    position: fixed;
    z-index: 80;
    inset: 0 auto 0 0;
    display: flex;
    width: 38px;
    padding-block: 18px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: var(--ink-deep);
    color: var(--paper);
    font-family: var(--utility);
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
  }

  .index-rail i {
    width: 1px;
    flex: 1;
    background: rgba(237, 245, 247, 0.24);
  }

  .site-header {
    position: sticky;
    z-index: 70;
    top: 0;
    margin-left: 38px;
    border-bottom: 1px solid rgba(21, 55, 68, 0.16);
    background: rgba(237, 245, 247, 0.88);
    backdrop-filter: blur(16px);
  }

  .header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }

  .wordmark {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 12px;
    font-weight: 760;
    text-decoration: none;
  }

  .wordmark-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--gold-bright);
  }

  .brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 52%;
    transform: scale(1.2);
  }

  .wordmark-name {
    font-size: 0.88rem;
  }

  nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 36px);
  }

  nav a,
  .header-source {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--ink-soft);
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
  }

  nav a {
    position: relative;
  }

  nav a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
  }

  nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-source {
    border-bottom: 1px solid var(--gold);
    color: var(--ink);
  }

  .primary-link,
  .text-link {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
  }

  .primary-link {
    padding: 12px 18px;
    background: var(--ink);
    color: var(--paper);
  }

  .primary-link span {
    color: var(--gold-bright);
    font-size: 1.2rem;
  }

  .text-link {
    border-bottom: 1px solid var(--ink);
  }
}

@layer sections {
  .hero {
    margin-left: 38px;
    overflow: hidden;
  }

  .hero-grid {
    display: grid;
    min-height: 780px;
    padding-block: 90px 76px;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: center;
  }

  .hero-copy h1 {
    margin-top: 20px;
    color: var(--ink-soft);
    font-family: var(--utility);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .hero-thesis {
    max-width: 720px;
    margin-top: 24px;
    font-family: var(--display);
    font-size: clamp(4.2rem, 8.2vw, 8.4rem);
    font-weight: 500;
    letter-spacing: -0.075em;
    line-height: 0.78;
  }

  .hero-thesis em {
    color: var(--gold);
    font-weight: 500;
  }

  .hero-intro {
    max-width: 650px;
    margin-top: 40px;
    color: var(--ink-soft);
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    line-height: 1.72;
  }

  .hero-actions {
    display: flex;
    margin-top: 38px;
    align-items: center;
    gap: 28px;
  }

  .identity-plate {
    position: relative;
    display: flex;
    min-height: 570px;
    padding: 30px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(21, 55, 68, 0.36);
    background: linear-gradient(145deg, rgba(248, 251, 252, 0.9), rgba(214, 231, 235, 0.76));
    box-shadow: 22px 24px 0 rgba(21, 55, 68, 0.08);
  }

  .plate-grid {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    background-image:
      linear-gradient(rgba(21, 55, 68, 0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(21, 55, 68, 0.12) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, #000 70%, transparent);
  }

  .plate-axis {
    position: absolute;
    z-index: 2;
    color: var(--gold);
    font-family: var(--utility);
    font-size: 0.58rem;
  }

  .plate-axis-x {
    right: 20px;
    bottom: 74px;
    left: 20px;
    border-top: 1px solid currentColor;
  }

  .plate-axis-y {
    top: 20px;
    right: 74px;
    bottom: 20px;
    border-left: 1px solid currentColor;
  }

  .plate-axis-x span,
  .plate-axis-y span {
    position: absolute;
    background: var(--paper-bright);
  }

  .plate-axis-x span {
    top: -9px;
    right: 0;
  }

  .plate-axis-y span {
    top: 0;
    left: -4px;
  }

  .plate-label,
  .plate-caption,
  .plate-disciplines {
    position: relative;
    z-index: 3;
    font-family: var(--utility);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .plate-label {
    align-self: flex-start;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gold);
  }

  .portrait-frame {
    position: relative;
    z-index: 3;
    width: min(300px, 82%);
    margin: auto;
    aspect-ratio: 1;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow:
      0 0 0 12px var(--paper-bright),
      0 0 0 13px rgba(21, 55, 68, 0.58),
      16px 18px 0 rgba(218, 166, 50, 0.22);
  }

  .portrait-frame::before,
  .portrait-frame::after {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(21, 55, 68, 0.58);
    border-radius: inherit;
    pointer-events: none;
    content: "";
  }

  .portrait-frame::before {
    inset: 10px;
  }

  .portrait-frame::after {
    inset: 22px;
    border-style: dashed;
  }

  .portrait-frame img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: 50% 42%;
    filter: saturate(0.88) contrast(1.04);
  }

  .portrait-stamp {
    position: absolute;
    right: -14px;
    bottom: 24px;
    z-index: 4;
    display: grid;
    width: 54px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--gold-bright);
    color: var(--ink-deep);
    font-family: var(--utility);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .plate-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--ink-soft);
  }

  .plate-disciplines {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .plate-disciplines i {
    width: 16px;
    height: 1px;
    background: var(--gold);
  }

  .credential-strip {
    border-block: 1px solid var(--line);
  }

  .credentials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .credentials article {
    position: relative;
    min-height: 138px;
    padding: 30px 25px;
    border-right: 1px solid var(--line);
  }

  .credentials article:first-child {
    border-left: 1px solid var(--line);
  }

  .credentials span {
    color: var(--gold);
    font-family: var(--utility);
    font-size: 0.66rem;
  }

  .credentials strong,
  .credentials small {
    display: block;
  }

  .credentials strong {
    margin-top: 20px;
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
  }

  .credentials small {
    margin-top: 3px;
    color: var(--ink-faint);
  }

  .story-section {
    margin-left: 38px;
    background: var(--paper-bright);
  }

  .story-grid {
    display: grid;
    grid-template-columns: 0.58fr 1.42fr;
    gap: clamp(60px, 8vw, 130px);
  }

  .section-index {
    position: sticky;
    top: 132px;
    height: max-content;
  }

  .section-coordinate {
    margin-top: 42px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--ink-faint);
    font-family: var(--utility);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .story-copy h2 {
    max-width: 830px;
    font-family: var(--display);
    font-size: clamp(3rem, 6vw, 6.2rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.98;
  }

  .story-copy > p {
    max-width: 760px;
    color: var(--ink-soft);
    font-size: 1.04rem;
  }

  .story-copy > p + p {
    margin-top: 24px;
  }

  .story-copy .lead {
    max-width: 750px;
    margin-block: 36px 34px;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.5vw, 2.2rem);
    line-height: 1.32;
  }

  .story-copy blockquote {
    max-width: 820px;
    margin-block: 48px;
    padding: 32px 0 32px 34px;
    border-left: 5px solid var(--gold-bright);
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1.7rem, 3.5vw, 3rem);
    font-style: italic;
    line-height: 1.22;
  }

  .story-copy .story-close {
    margin-top: 46px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.35rem;
    line-height: 1.45;
  }

  .timeline-section {
    margin-left: 38px;
  }

  .timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
  }

  .timeline li {
    position: relative;
    padding: 0 30px 20px 0;
  }

  .timeline li::before {
    position: absolute;
    z-index: 0;
    top: 52px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    content: "";
  }

  .timeline-year,
  .timeline-label,
  .expertise-code,
  .project-field,
  .project-index {
    font-family: var(--utility);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .timeline-year {
    color: var(--gold);
  }

  .timeline-node {
    position: relative;
    z-index: 2;
    width: 17px;
    height: 17px;
    margin-top: 27px;
    border: 4px solid var(--paper);
    background: var(--ink);
    box-shadow: 0 0 0 1px var(--ink);
    transform: rotate(45deg);
  }

  .timeline-label {
    margin-top: 32px;
    color: var(--ink-faint);
  }

  .timeline h3 {
    margin-top: 10px;
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    font-weight: 600;
    line-height: 1.1;
  }

  .timeline li > p:last-child {
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 0.91rem;
  }

  .expertise-section {
    margin-left: 38px;
    background: var(--ink-deep);
    color: var(--paper);
  }

  .section-heading-light .eyebrow {
    color: var(--gold-bright);
  }

  .section-heading-light .section-number {
    color: rgba(237, 245, 247, 0.16);
  }

  .section-heading-light > div:last-child > p {
    color: #adc1c8;
  }

  .expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line-dark);
    border-left: 1px solid var(--line-dark);
  }

  .expertise-grid article {
    min-height: 330px;
    padding: clamp(30px, 4vw, 56px);
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
  }

  .expertise-code {
    color: var(--gold-bright);
  }

  .expertise-grid h3 {
    margin-top: 50px;
    font-family: var(--display);
    font-size: clamp(2rem, 3.5vw, 3.7rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .expertise-grid p {
    max-width: 520px;
    margin-top: 22px;
    color: #b9cbd0;
  }

  .expertise-grid ul {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
  }

  .expertise-grid li {
    padding: 6px 9px;
    border: 1px solid rgba(227, 168, 36, 0.4);
    color: #d5e2e5;
    font-size: 0.7rem;
  }

  .projects-section {
    margin-left: 38px;
    background: var(--paper-warm);
  }

  .project-list {
    border-top: 1px solid rgba(21, 55, 68, 0.3);
  }

  .project-row {
    display: grid;
    min-height: 150px;
    padding-block: 30px;
    grid-template-columns: 50px minmax(210px, 0.85fr) 1.15fr 80px;
    gap: 28px;
    align-items: center;
    border-bottom: 1px solid rgba(21, 55, 68, 0.3);
    transition: padding 180ms ease, background 180ms ease;
  }

  .project-row:hover {
    padding-inline: 18px;
    background: rgba(227, 168, 36, 0.08);
  }

  .project-index {
    color: var(--gold);
  }

  .project-field {
    color: var(--ink-faint);
  }

  .project-row h3 {
    margin-top: 8px;
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .project-row > p {
    color: var(--ink-soft);
    font-size: 0.92rem;
  }

  .project-row > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
  }

  .project-row > a span {
    color: var(--gold);
    font-size: 1.1rem;
  }

  .community-section {
    margin-left: 38px;
    padding-block: 96px;
    background: var(--gold-bright);
    color: var(--ink-deep);
  }

  .community-section .eyebrow {
    color: var(--ink-deep);
  }

  .community-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: end;
  }

  .community-grid h2 {
    max-width: 820px;
    margin-top: 16px;
    font-family: var(--display);
    font-size: clamp(2.8rem, 5.4vw, 5.8rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.95;
  }

  .community-grid > div:first-child > p:last-child {
    max-width: 690px;
    margin-top: 28px;
  }

  .community-grid a {
    font-weight: 800;
  }

  .community-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid var(--ink-deep);
  }

  .community-metrics p {
    padding: 28px 20px 20px 0;
    border-bottom: 1px solid rgba(10, 40, 51, 0.5);
  }

  .community-metrics p + p {
    padding-left: 20px;
    border-left: 1px solid rgba(10, 40, 51, 0.5);
  }

  .community-metrics strong,
  .community-metrics span {
    display: block;
  }

  .community-metrics strong {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
  }

  .community-metrics span {
    margin-top: 8px;
    font-family: var(--utility);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .community-metrics small {
    grid-column: 1 / -1;
    padding-top: 14px;
    font-size: 0.66rem;
  }

  .bios-section {
    margin-left: 38px;
    background: var(--paper-bright);
  }

  .bio-variants {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .bio-card {
    min-height: 270px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-bright);
  }

  .bio-card-featured {
    grid-row: span 2;
    min-height: 540px;
    background: var(--ink);
    color: var(--paper);
  }

  .bio-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .bio-card-head > span,
  .thematic-bios article > span {
    color: var(--gold);
    font-family: var(--utility);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .bio-card-featured .bio-card-head > span {
    color: var(--gold-bright);
  }

  .bio-card button {
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 800;
  }

  .bio-card button:hover {
    background: var(--gold-bright);
    color: var(--ink-deep);
  }

  .bio-card > p {
    margin-top: 42px;
    color: var(--ink-soft);
    font-family: var(--display);
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    line-height: 1.42;
  }

  .bio-card-featured > p {
    color: #dbe7ea;
    font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  }

  .thematic-bios {
    display: grid;
    margin-top: 64px;
    grid-template-columns: repeat(4, 1fr);
    border-top: 2px solid var(--ink);
  }

  .thematic-bios article {
    min-height: 260px;
    padding: 28px 24px 28px 0;
    border-bottom: 1px solid var(--line);
  }

  .thematic-bios article + article {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .thematic-bios h3 {
    margin-top: 30px;
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.1;
  }

  .thematic-bios p {
    margin-top: 18px;
    color: var(--ink-soft);
    font-size: 0.85rem;
  }

  .content-file-note {
    max-width: 680px;
    margin-top: 28px;
    color: var(--ink-faint);
    font-size: 0.76rem;
  }

  .sources-section {
    margin-left: 38px;
    background: var(--paper);
  }

  .sources-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
  }

  .sources-grid h2 {
    margin-top: 36px;
  }

  .source-list {
    border-top: 1px solid var(--ink);
  }

  .source-list a {
    display: grid;
    min-height: 120px;
    padding-block: 24px;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
  }

  .source-list a span,
  .source-list a strong {
    grid-column: 1;
  }

  .source-list a span {
    color: var(--gold);
    font-family: var(--utility);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .source-list a strong {
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 600;
  }

  .source-list a i {
    grid-row: 1 / span 2;
    grid-column: 2;
    color: var(--gold);
    font-size: 1.4rem;
    font-style: normal;
  }

  .editorial-note {
    margin-top: 64px;
    padding: 30px 0 0 34%;
    border-top: 1px solid var(--line);
  }

  .editorial-note p {
    max-width: 720px;
    color: var(--ink-soft);
    font-size: 0.82rem;
  }

  footer {
    margin-left: 38px;
    padding-block: 48px;
    background: var(--graphite);
    color: var(--paper);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr auto;
    gap: 40px;
    align-items: end;
  }

  .footer-grid .footer-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--gold-bright);
    border-radius: 50%;
    background: var(--gold-bright);
  }

  .footer-grid p {
    margin-top: 12px;
    font-family: var(--display);
    font-size: 1.2rem;
    font-style: italic;
  }

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

  .footer-grid > div:nth-child(2) span {
    margin-top: 5px;
    color: #9eb2b9;
    font-size: 0.75rem;
  }

  .footer-grid > a {
    color: var(--gold-bright);
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
  }
}

@layer responsive {
  @media (max-width: 1080px) {
    .header-source {
      display: none;
    }

    .hero-grid {
      grid-template-columns: 1fr 0.78fr;
      gap: 50px;
    }

    .identity-plate {
      min-height: 500px;
    }

    .project-row {
      grid-template-columns: 44px minmax(210px, 0.8fr) 1.2fr 66px;
      gap: 18px;
    }

    .thematic-bios {
      grid-template-columns: 1fr 1fr;
    }

    .thematic-bios article:nth-child(3) {
      padding-left: 0;
      border-left: 0;
    }
  }

  @media (max-width: 820px) {
    .container {
      width: min(calc(100% - 48px), var(--content));
    }

    nav {
      display: none;
    }

    .hero-grid {
      min-height: auto;
      grid-template-columns: 1fr;
    }

    .hero-copy {
      max-width: 720px;
    }

    .identity-plate {
      min-height: 520px;
    }

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

    .credentials article:nth-child(3) {
      border-left: 1px solid var(--line);
      border-top: 1px solid var(--line);
    }

    .credentials article:nth-child(4) {
      border-top: 1px solid var(--line);
    }

    .section-heading,
    .story-grid,
    .sources-grid {
      grid-template-columns: 1fr;
      gap: 46px;
    }

    .section-index {
      position: static;
    }

    .timeline {
      grid-template-columns: 1fr 1fr;
      row-gap: 50px;
    }

    .timeline li:nth-child(2)::before,
    .timeline li:nth-child(4)::before,
    .timeline li:nth-child(6)::before {
      right: 30px;
    }

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

    .project-row {
      min-height: 190px;
      grid-template-columns: 44px 1fr auto;
    }

    .project-row > p {
      grid-column: 2 / -1;
      grid-row: 2;
    }

    .project-row > a {
      grid-column: 3;
      grid-row: 1;
    }

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

    .bio-variants {
      grid-template-columns: 1fr;
    }

    .bio-card-featured {
      grid-row: auto;
      min-height: auto;
    }

    .editorial-note {
      padding-left: 0;
    }

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

    .footer-grid > a {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 640px) {
    .container {
      width: min(calc(100% - 32px), var(--content));
    }

    .index-rail {
      display: none;
    }

    .site-header,
    .hero,
    .story-section,
    .timeline-section,
    .expertise-section,
    .projects-section,
    .community-section,
    .bios-section,
    .sources-section,
    footer {
      margin-left: 0;
    }

    .skip-link {
      left: 12px;
    }

    .header-inner {
      min-height: 68px;
    }

    .wordmark-name {
      font-size: 0.78rem;
    }

    .hero-grid {
      padding-block: 60px;
    }

    .hero-thesis {
      font-size: clamp(3.65rem, 19vw, 5.4rem);
    }

    .hero-actions {
      align-items: stretch;
      flex-direction: column;
      gap: 10px;
    }

    .text-link {
      justify-content: flex-start;
    }

    .identity-plate {
      min-height: 430px;
      padding: 22px;
      box-shadow: 10px 12px 0 rgba(21, 55, 68, 0.08);
    }

    .portrait-frame {
      width: min(250px, 78%);
    }

    .plate-caption {
      align-items: flex-start;
      flex-direction: column;
      gap: 3px;
    }

    .plate-axis-y {
      right: 54px;
    }

    .plate-disciplines {
      gap: 5px;
    }

    .credentials {
      width: 100%;
      grid-template-columns: 1fr;
    }

    .credentials article,
    .credentials article:first-child,
    .credentials article:nth-child(3) {
      min-height: 112px;
      border-right: 0;
      border-bottom: 1px solid var(--line);
      border-left: 0;
    }

    .credentials article + article {
      border-top: 0;
    }

    .section {
      padding-block: 82px;
    }

    .section-heading {
      gap: 30px;
      margin-bottom: 44px;
    }

    .section-heading h2,
    .sources-grid h2,
    .story-copy h2 {
      font-size: clamp(2.65rem, 14vw, 4.2rem);
    }

    .section-number {
      font-size: 4rem;
    }

    .story-copy blockquote {
      padding-left: 22px;
    }

    .timeline {
      grid-template-columns: 1fr;
      row-gap: 30px;
    }

    .timeline li {
      padding: 0 0 30px 42px;
      border-left: 2px solid var(--gold);
    }

    .timeline li::before {
      display: none;
    }

    .timeline-node {
      position: absolute;
      top: 3px;
      left: -9px;
      margin: 0;
    }

    .timeline-label {
      margin-top: 16px;
    }

    .expertise-grid article {
      min-height: auto;
      padding: 34px 24px;
    }

    .expertise-grid h3 {
      margin-top: 34px;
    }

    .project-row {
      min-height: auto;
      padding-block: 26px;
      grid-template-columns: 34px 1fr;
    }

    .project-row > p,
    .project-row > a {
      grid-column: 2;
      grid-row: auto;
      justify-content: flex-start;
    }

    .project-row:hover {
      padding-inline: 0;
    }

    .community-section {
      padding-block: 72px;
    }

    .community-grid {
      gap: 44px;
    }

    .community-metrics {
      grid-template-columns: 1fr;
    }

    .community-metrics p + p {
      padding-left: 0;
      border-left: 0;
    }

    .thematic-bios {
      grid-template-columns: 1fr;
    }

    .thematic-bios article,
    .thematic-bios article + article {
      min-height: auto;
      padding: 28px 0;
      border-left: 0;
    }

    .bio-card-head {
      align-items: flex-start;
      flex-direction: column;
    }

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

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    .has-js [data-reveal] {
      opacity: 1;
      transform: none;
    }
  }
}
