:root {
  color-scheme: light;
  --navy: #101a30;
  --navy-deep: #0b1426;
  --ink: #111d33;
  --muted: #4f5a6c;
  --accent: #ffce4a;
  --paper: #f8f6f0;
  --rule: #cdd0cd;
  --inverse-rule: #ffffff34;
  --gutter: clamp(1rem, 5.4vw, 5.5rem);
  --headline: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Avenir Next", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--body); }
a { color: inherit; }
img, picture, video { display: block; }
img, video { max-width: 100%; }
p, h1, h2, figure, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid #196bbe; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .highlights :focus-visible,
.films :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - var(--gutter) * 2, 82rem); margin-inline: auto; }
.section { padding-block: clamp(4.2rem, 8vw, 8rem); }
.eyebrow {
  font-size: .73rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .135em;
  text-transform: uppercase;
}
h1, h2 { font-family: var(--headline); font-weight: 700; }
h2 { font-size: clamp(2.7rem, 5.7vw, 5.35rem); line-height: .99; letter-spacing: -.053em; }
.section-label { margin-bottom: 1.1rem; color: #325983; }
.section-label::before {
  content: "";
  display: inline-block;
  width: 1.1rem;
  height: 2px;
  margin-right: .6rem;
  vertical-align: .25em;
  background: currentColor;
}

.skip {
  position: fixed;
  z-index: 12;
  top: .6rem;
  left: .6rem;
  padding: .65rem 1rem;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; color: white; background: #101a30; }
.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--inverse-rule);
}
.brand { display: block; flex-shrink: 0; width: clamp(6rem, 12vw, 10rem); }
.brand img, .site-footer img {
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  mask-image: linear-gradient(to right, transparent, black 7%, black 94%, transparent),
              linear-gradient(to bottom, transparent, black 7%, black 90%, transparent);
  mask-composite: intersect;
}
.header-inner nav { display: flex; align-items: center; gap: clamp(.7rem, 3.2vw, 2.9rem); }
.header-inner nav a {
  display: grid;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
  color: #e9effb;
  font-size: .91rem;
  font-weight: 700;
  transition: color .16s ease;
}
.header-inner nav a:hover { color: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  color: white;
  background: radial-gradient(ellipse at 76% 48%, #263f66 0%, #172641 38%, #101a30 69%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("textura-azul.webp") repeat;
  background-size: 32rem auto;
  opacity: .19;
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  position: relative;
  min-height: clamp(34rem, 47vw, 46rem);
}
.hero-copy {
  align-self: center;
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 5.9vw, 6.2rem);
}
.hero-era {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: clamp(1rem, 2vw, 1.7rem);
  color: #dce8fe;
}
.hero-era span { color: var(--accent); border-left: 1px solid #ffffff63; padding-left: .8rem; }
.hero h1 {
  position: relative;
  width: max-content;
  max-width: none;
  font-size: clamp(3.25rem, 6.65vw, 7.7rem);
  line-height: .93;
  letter-spacing: -.055em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-byline { margin-top: clamp(1.3rem, 2.8vw, 2.6rem); line-height: 1.5; }
.hero-byline p:first-child { font-size: clamp(1rem, 1.7vw, 1.22rem); font-weight: 750; }
.hero-byline p + p { margin-top: .2rem; color: #c5d4ec; font-size: .94rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.12rem;
  padding: .55rem .95rem;
  border: 1px solid transparent;
  border-radius: .28rem;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.primary { background: var(--accent); color: #14203a; }
.primary:hover { background: #ffe088; }
.ghost { color: white; border-color: #fff6; }
.ghost:hover { background: #ffffff1d; border-color: #fff9; }
.arrow {
  display: inline-block;
  flex: 0 0 auto;
  width: .53rem;
  height: .53rem;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
  transform: rotate(45deg);
}
.arrow.down { transform: rotate(135deg) translate(-1px, 1px); }
.arrow.up { transform: rotate(-45deg); }
.play { width: 0; height: 0; border-block: .3rem solid transparent; border-left: .46rem solid currentColor; }
.hero-art { position: relative; min-width: 0; }
.hero-art picture { position: absolute; inset: 1.1rem calc(var(--gutter) * -1) 0 -1.75rem; }
.hero-art img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(100%, 52rem);
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 .45rem 1.5rem #050b203f);
}
.orbit {
  position: absolute;
  inset: 12% -6% auto auto;
  width: min(100%, 34rem);
  aspect-ratio: 1;
  border: 1px solid #bed3ff35;
  border-radius: 50%;
  box-shadow: 0 0 0 clamp(1.4rem, 3.2vw, 3.2rem) #9fc5ff0b,
              0 0 0 clamp(2.7rem, 7vw, 6.1rem) #9fc5ff0a;
}
.orbit::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 9%;
  width: .65rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}

.highlights { background: var(--navy-deep); color: white; border-top: 1px solid var(--inverse-rule); }
.highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.highlights-grid a {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: center;
  gap: .9rem;
  padding: 1.15rem clamp(.55rem, 2.6vw, 2rem);
  text-decoration: none;
  transition: background-color .18s ease;
}
.highlights-grid a:first-child { padding-left: 0; }
.highlights-grid a + a { border-left: 1px solid var(--inverse-rule); }
.highlights-grid a:hover { background: #ffffff10; }
.highlights-grid strong {
  color: var(--accent);
  font: 700 clamp(1.6rem, 3.2vw, 3.1rem)/1 var(--headline);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.highlights-grid span { color: #e4eafa; font-size: .86rem; font-weight: 700; line-height: 1.25; }
.highlights-grid .arrow { margin-right: .1rem; color: var(--accent); }

.program { background: var(--paper); }
.agenda { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 5vw, 5.2rem); margin-top: clamp(1.9rem, 4.5vw, 3.6rem); }
.agenda-column { border-top: 1px solid var(--rule); }
.axis { border-bottom: 1px solid var(--rule); scroll-margin-top: 1.7rem; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.axis summary {
  display: grid;
  grid-template-columns: 2.35rem 1fr auto;
  min-height: 5.55rem;
  align-items: center;
  gap: .65rem;
  padding: .85rem .4rem;
  transition: background-color .18s ease;
}
.axis summary:hover, .axis[open] summary { background: #eaeef1; }
.axis-number { font: 800 .83rem/1 var(--headline); color: #385e86; font-variant-numeric: tabular-nums; }
.axis-heading { display: grid; gap: .18rem; }
.axis-label { color: #385e86; font-size: .72rem; line-height: 1.3; font-weight: 750; }
.axis-heading strong { font-size: clamp(1.02rem, 1.8vw, 1.35rem); line-height: 1.18; letter-spacing: -.025em; }
.plus { position: relative; display: block; width: 1.5rem; aspect-ratio: 1; flex-shrink: 0; color: #376291; }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  inset: calc(50% - 1px) 24%;
}
.plus::after { transform: rotate(90deg); transition: transform .18s ease; }
details[open] > summary .plus::after { transform: none; }
.axis-content {
  display: grid;
  gap: .6rem;
  padding: .85rem .6rem 1.35rem 3.4rem;
  max-width: 66ch;
  font-size: .95rem;
  color: var(--muted);
}
.axis-content p:first-child { font-weight: 750; color: var(--ink); }

.films { color: white; background: linear-gradient(125deg, #10203b, #0b1426 74%); }
.films-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(1.5rem, 5vw, 5.6rem); }
.films .section-label { color: var(--accent); }
.films h2 { color: #fff; }
.films h2 + p { margin-top: 1.4rem; max-width: 32ch; color: #c4d1e7; }
.films-media { min-width: 0; }
.films video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0d172d; object-fit: contain; }
.film { overflow: hidden; border: 1px solid var(--inverse-rule); border-radius: .36rem; }
.film figcaption, .film-alt summary { padding: .66rem .85rem; color: #e2e9f7; font-size: .85rem; }
.film figcaption { display: flex; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--inverse-rule); }
.film figcaption span, .film-alt .duration { color: #c2d1e8; font-variant-numeric: tabular-nums; }
.film-alt { margin-top: .72rem; border: 1px solid var(--inverse-rule); border-radius: .36rem; }
.film-alt summary { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .55rem; min-height: 2.8rem; font-weight: 700; }
.film-alt summary:hover { background: #ffffff13; }
.film-alt .plus { color: var(--accent); }
.film-alt video { border-top: 1px solid var(--inverse-rule); }

.biography { background: #eef0ef; }
.biography-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 6vw, 6.3rem); align-items: start; }
.biography-portrait { position: relative; background: #242d3b; border-radius: .36rem; overflow: hidden; }
.biography-portrait img { width: 100%; height: auto; }
.biography-portrait figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem 1.15rem .85rem;
  background: linear-gradient(0deg, #0b1426f2, #0b142600);
  color: white;
  font-size: clamp(.78rem, 1.6vw, 1rem);
  font-weight: 800;
}
.biography-lead { margin-top: 1.2rem; color: var(--muted); max-width: 58ch; }
.biography h2 { font-size: clamp(2.55rem, 4.85vw, 4.85rem); text-wrap: balance; }
.timeline { display: grid; gap: .8rem; margin-top: 1.5rem; }
.timeline div { display: grid; grid-template-columns: minmax(7.8rem, .39fr) 1fr; gap: .75rem; border-top: 1px solid var(--rule); padding-top: .75rem; }
.timeline dt { font-size: .85rem; font-weight: 800; color: #315c87; }
.timeline dd { font-size: .94rem; line-height: 1.45; }
.credentials { margin-top: 1.25rem; padding-block: .15rem; border-block: 1px solid var(--rule); }
.credentials summary { display: flex; min-height: 2.75rem; align-items: center; justify-content: space-between; gap: .5rem; font-weight: 800; font-size: .94rem; }
.credentials p { margin-bottom: .72rem; color: var(--muted); font-size: .91rem; }
.ink-button { margin-top: 1.25rem; background: var(--navy); color: white; }
.ink-button:hover { background: #27426a; }
.site-footer { padding-block: 1.2rem; color: #e7efff; background: var(--navy-deep); }
.footer-inner { display: flex; align-items: center; gap: 1.25rem; justify-content: space-between; }
.site-footer img { width: 8.5rem; }
.site-footer p, .site-footer a { font-size: .82rem; }
.site-footer a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; }
.site-footer .arrow { color: var(--accent); }

@media (max-width: 1040px) {
  .hero h1 { font-size: clamp(3.15rem, 7.15vw, 5.1rem); }
  .hero-grid { min-height: 32rem; }
  .hero-art picture { inset-inline: -2.1rem -2.4rem; }
  .highlights-grid a { grid-template-columns: minmax(0, auto) 1fr; gap: .55rem; }
  .highlights-grid .arrow { display: none; }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); }
  .hero-art picture { inset-inline: -2.3rem calc(var(--gutter) * -1); }
  .hero-copy { padding-block: 3rem; }
  .hero-byline p + p { max-width: 30ch; }
  .highlights-grid a { min-height: 5rem; }
  .films-grid, .biography-grid { gap: 1.5rem; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 4.4rem; gap: .5rem; }
  .header-inner nav { gap: clamp(.48rem, 2.1vw, 1rem); }
  .header-inner nav a { font-size: clamp(.72rem, 3vw, .87rem); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-top: 2.15rem; padding-bottom: .48rem; }
  .hero h1 { font-size: clamp(2.38rem, 10.7vw, 4.2rem); max-width: 100%; }
  .hero-byline { margin-top: .9rem; }
  .hero-actions { margin-top: .95rem; gap: .5rem; }
  .button { min-height: 2.86rem; font-size: .81rem; padding-inline: .68rem; }
  .hero-art { height: clamp(17rem, 86vw, 26.5rem); }
  .hero-art picture { inset: 0 calc(var(--gutter) * -1) 0; }
  .hero-art img {
    right: auto;
    left: 50%;
    width: auto;
    object-position: bottom center;
    transform: translateX(-50%);
    mask-image: linear-gradient(to right, transparent, black 8%, black 91%, transparent);
  }
  .orbit { width: min(73%, 22rem); top: 11%; right: 10%; }
  .hero { background: radial-gradient(ellipse at 62% 83%, #2a4166, #101a30 70%); }
  .highlights-grid a { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 4.8rem; padding-block: .8rem; }
  .highlights-grid strong { font-size: clamp(1.32rem, 5vw, 2rem); }
  .highlights-grid span { font-size: clamp(.64rem, 2.55vw, .84rem); }
  .agenda { grid-template-columns: 1fr; gap: 0; }
  .agenda-column + .agenda-column { border-top: 0; }
  .axis summary { min-height: 4.7rem; grid-template-columns: 1.6rem 1fr auto; gap: .5rem; }
  .axis-content { padding-left: 2.5rem; }
  .films-grid, .biography-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .films h2 + p { margin-top: .75rem; }
  .biography-portrait { max-width: 32rem; }
  .biography-portrait img { max-height: 28rem; object-fit: cover; object-position: center 34%; }
  .footer-inner { flex-wrap: wrap; gap: .4rem 1rem; }
  .site-footer img { width: 6.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
