.chapter-hero {
  position: relative;
  overflow: hidden;
  background: #e9edf3;
  color: var(--blue);
}
.chapter-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 75px;
  align-items: center;
  padding-block: 50px 60px;
  min-height: 510px;
}
.chapter-breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 35px;
}
.chapter-breadcrumb > a:hover {
  text-decoration: underline;
}
.chapter-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.8rem);
  line-height: 1.02;
  margin: 21px 0 24px;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.chapter-hero-intro {
  font-size: 1.125rem;
  color: var(--ink);
  line-height: 1.8;
  max-width: 520px;
}
.chapter-scroll {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  font-size: 0.875rem;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 650;
}
.chapter-scroll > span:last-child {
  width: 33px;
  height: 33px;
  border: 1px solid #1335b54a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s;
}
.chapter-scroll:hover > span:last-child {
  transform: translateY(5px);
}
.chapter-hero-art {
  position: relative;
  align-self: stretch;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chapter-hero-art > img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 7px 7px 130px 7px;
  animation: hero-portrait 0.85s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.chapter-photo-sticker {
  position: absolute;
  left: -35px;
  bottom: 20px;
  width: 118px;
  height: 118px;
  background: var(--yellow);
  border-radius: 50%;
  color: var(--deep);
  display: grid;
  place-content: center;
  transform: rotate(-13deg);
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 10px 30px #0001;
}
.chapter-photo-sticker svg {
  width: 47px;
  height: 47px;
  margin: 0 auto 4px;
}
.chapter-geometry {
  width: 350px;
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.chapter-geometry > svg {
  width: 100%;
  height: 100%;
  opacity: 0.3;
  animation: compass-turn 80s linear infinite;
}
.chapter-orbit {
  position: absolute;
  top: 26%;
  left: 4%;
  display: grid;
  place-items: center;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--paper);
  font-size: 2.75rem;
  letter-spacing: -0.09em;
  font-weight: 800;
  box-shadow: 0 15px 45px #1335b526;
}
.chapter-orbit-dot {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 50%;
  right: 9%;
  top: 20%;
}
.chapter-star {
  position: absolute;
  width: 110px;
  height: 110px;
  right: 2%;
  bottom: 5%;
  display: grid;
  place-items: center;
  font-size: 5rem;
  line-height: 1;
  color: var(--blue);
  background: var(--yellow);
  border-radius: 50%;
  transform: rotate(-15deg);
}
.chapter-hero-line {
  border-top: 1px solid #1335b526;
  padding: 14px max(50px, calc((100% - 1376px) / 2));
  display: flex;
  gap: 45px;
  align-items: center;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 650;
}
.chapter-hero-line > span:last-child {
  margin-left: auto;
}
.chapter-hero--archive,
.chapter-hero--enrollment {
  background: var(--deep);
  color: var(--paper);
}
.chapter-hero--archive .chapter-hero-intro,
.chapter-hero--enrollment .chapter-hero-intro {
  color: #e1e6fa;
}
.chapter-hero--archive .chapter-breadcrumb,
.chapter-hero--enrollment .chapter-breadcrumb {
  color: #d3dcff;
}
.chapter-hero--archive .chapter-scroll,
.chapter-hero--enrollment .chapter-scroll {
  color: var(--yellow);
}
.chapter-hero--archive .chapter-scroll > span:last-child,
.chapter-hero--enrollment .chapter-scroll > span:last-child {
  border-color: #e4d69d80;
}
.chapter-hero--archive .chapter-hero-line,
.chapter-hero--enrollment .chapter-hero-line {
  border-color: #ffffff30;
}
.chapter-hero--archive .chapter-geometry,
.chapter-hero--enrollment .chapter-geometry {
  color: #e4e9ff;
}
.chapter-hero--enrollment .chapter-orbit {
  background: var(--paper);
  color: var(--blue);
}
.chapter-hero--enrollment .chapter-orbit-dot {
  background: var(--yellow);
}
.chapter-hero--history {
  background: #eee9dc;
}
.chapter-hero--contact {
  background: var(--yellow);
}
.chapter-hero--contact .chapter-star {
  background: var(--paper);
}
.chapter-hero--empty .chapter-hero-grid,
.chapter-hero--privacy .chapter-hero-grid {
  min-height: 400px;
}
.chapter-hero--empty .chapter-geometry,
.chapter-hero--privacy .chapter-geometry {
  width: 240px;
}
.chapter-hero--empty .chapter-orbit,
.chapter-hero--privacy .chapter-orbit {
  width: 100px;
  height: 100px;
  font-size: 2rem;
}
.chapter-hero--empty .chapter-star,
.chapter-hero--privacy .chapter-star {
  width: 80px;
  height: 80px;
  font-size: 3.5rem;
}
.interior-shell {
  padding-block: 55px 90px;
}
.interior-shell > .page-story {
  margin-bottom: 65px;
}
.interior-reading {
  max-width: 1120px;
  margin-inline: auto;
}
.context-rail {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  font-size: 0.875rem;
}
.context-rail > span {
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: auto;
}
.context-rail a {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 50px;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s;
}
.context-rail a[aria-current],
.context-rail a:hover {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.page-related {
  margin-top: 55px;
  padding: 35px;
  border-radius: 5px 5px 55px 5px;
  background: #e9edf3;
}
.page-related h2 {
  font-size: 2.25rem;
  margin: 15px 0 27px;
}
.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #b6c3de;
  padding-bottom: 16px;
  font-size: 1rem;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 45px;
}
.contact-cards a,
.contact-cards > div {
  padding: 27px;
  background: #e9edf3;
  border-radius: 4px 4px 35px 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-cards strong {
  font-size: 1.25rem;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.contact-cards p {
  font-size: 1rem;
  color: var(--muted);
}
.contact-cards a:hover {
  background: #dde4f4;
}
.empty-archive {
  border: 1px solid var(--line);
  border-radius: 8px 8px 50px 8px;
  padding: 40px;
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 25px;
  background: #eceeea;
  margin-bottom: 45px;
}
.empty-archive > span {
  font-size: 3.5rem;
  color: var(--blue);
  line-height: 1;
}
.empty-archive h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.empty-archive p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.cycle-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 25px 0 45px;
}
.cycle-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  background: var(--blue);
  color: white;
  padding: 25px;
  overflow: hidden;
  border-radius: 5px 5px 40px 5px;
}
.cycle-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.65s;
}
.cycle-card:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, #0716381a, #071638d6);
  z-index: -1;
}
.cycle-card:hover img {
  transform: scale(1.06);
}
.cycle-card > span {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.cycle-card strong {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  margin: 10px 0 15px;
  line-height: 1;
}
.cycle-card > b {
  font-size: 0.875rem;
  font-weight: 500;
}
.archive-disclosure {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin-bottom: 35px;
}
.archive-disclosure summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.archive-disclosure summary::-webkit-details-marker {
  display: none;
}
.archive-disclosure summary > span {
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--muted);
}
.archive-disclosure .archive-grid {
  margin: 20px 0;
}
.interior-source {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
  padding-top: 25px;
  margin-top: 35px;
  border-top: 1px solid var(--line);
}
.interior-source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.current-cycle-gallery {
  margin-bottom: 50px;
}
.current-cycle-gallery .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
@keyframes hero-portrait {
  from {
    opacity: 0;
    clip-path: inset(5% 0 0 8% round 0 0 160px 0);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 round 0);
    transform: none;
  }
}
@media (max-width: 1100px) {
  .chapter-hero-grid {
    gap: 50px;
    min-height: 460px;
  }
  .chapter-hero-art {
    min-height: 300px;
  }
  .chapter-geometry {
    width: 280px;
  }
  .chapter-orbit {
    width: 125px;
    height: 125px;
    font-size: 2.4rem;
  }
  .chapter-star {
    width: 90px;
    height: 90px;
    font-size: 4rem;
  }
  .chapter-photo-sticker {
    width: 100px;
    height: 100px;
    left: -22px;
  }
  .chapter-hero h1 {
    font-size: 4.25rem;
  }
  .chapter-hero-intro {
    font-size: 1rem;
  }
  .chapter-hero-line {
    padding-inline: 30px;
  }
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
  .contact-cards > a:first-child {
    grid-column: 1/-1;
  }
  .cycle-card strong {
    font-size: 1.85rem;
  }
}
@media (max-width: 850px) {
  .chapter-hero-grid {
    gap: 35px;
    padding-block: 35px 45px;
    min-height: 430px;
  }
  .chapter-hero h1 {
    font-size: 3.35rem;
  }
  .chapter-breadcrumb {
    margin-bottom: 28px;
  }
  .chapter-hero-art {
    min-height: 280px;
  }
  .chapter-hero-art > img {
    border-radius: 5px 5px 80px 5px;
  }
  .chapter-geometry {
    width: 230px;
  }
  .chapter-orbit {
    width: 95px;
    height: 95px;
    font-size: 2rem;
  }
  .chapter-star {
    width: 80px;
    height: 80px;
    font-size: 3rem;
  }
  .chapter-orbit-dot {
    width: 23px;
    height: 23px;
  }
  .chapter-hero-line {
    gap: 30px;
    font-size: 0.875rem;
  }
  .chapter-photo-sticker {
    width: 82px;
    height: 82px;
    font-size: 0.875rem;
    left: -15px;
  }
  .chapter-photo-sticker svg {
    width: 35px;
    height: 35px;
  }
  .chapter-hero-intro {
    font-size: 1rem;
  }
  .interior-shell {
    padding-block: 35px 65px;
  }
  .interior-shell > .page-story {
    margin-bottom: 45px;
  }
  .context-rail > span {
    width: 100%;
  }
  .context-rail {
    gap: 8px;
    padding-top: 0;
  }
  .context-rail a {
    padding: 8px 13px;
  }
  .related-links {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .page-related h2 {
    font-size: 2rem;
  }
  .cycle-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cycle-card {
    min-height: 210px;
  }
  .empty-archive {
    padding: 28px;
    gap: 20px;
  }
}
@media (max-width: 580px) {
  .chapter-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding: 25px 0 35px;
    min-height: 0;
  }
  .chapter-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.875rem;
  }
  .chapter-hero h1 {
    font-size: clamp(2.375rem, 10vw, 3.5rem);
    line-height: 1.05;
    margin: 18px 0 20px;
  }
  .chapter-hero-intro {
    font-size: 1rem;
    line-height: 1.85;
    max-width: 360px;
  }
  .chapter-scroll {
    margin-top: 23px;
    font-size: 0.875rem;
  }
  .chapter-hero-art {
    min-height: 0;
    height: 270px;
    max-width: 100%;
  }
  .chapter-hero-art > img {
    height: 270px;
    border-radius: 5px 5px 90px 5px;
  }
  .chapter-photo-sticker {
    left: 15px;
    bottom: 15px;
    width: 86px;
    height: 86px;
  }
  .chapter-hero:not(.chapter-hero--pictured) .chapter-hero-art {
    display: none;
  }
  .chapter-hero-line {
    padding: 13px 20px;
    gap: 24px;
    font-size: 0.875rem;
  }
  .chapter-hero-line > span:last-child {
    display: none;
  }
  .chapter-hero--empty .chapter-hero-grid,
  .chapter-hero--privacy .chapter-hero-grid {
    min-height: 0;
  }
  .context-rail {
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 32px;
  }
  .context-rail a {
    padding: 8px 12px;
  }
  .interior-shell {
    padding-block: 30px 50px;
  }
  .page-related {
    padding: 25px;
    border-radius: 5px 5px 35px 5px;
    margin-top: 40px;
  }
  .page-related h2 {
    font-size: 1.875rem;
  }
  .related-links a {
    font-size: 1rem;
  }
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-cards > a:first-child {
    grid-column: auto;
  }
  .contact-cards > a,
  .contact-cards > div {
    padding: 24px;
  }
  .contact-cards strong {
    font-size: 1.125rem;
  }
  .empty-archive {
    grid-template-columns: 1fr;
    padding: 27px;
    gap: 17px;
  }
  .empty-archive > span {
    font-size: 2.6rem;
  }
  .empty-archive h2 {
    font-size: 1.8rem;
  }
  .empty-archive p {
    font-size: 1rem;
  }
  .cycle-cards {
    gap: 12px;
  }
  .cycle-card {
    min-height: 175px;
    padding: 18px;
    border-radius: 5px 5px 30px 5px;
  }
  .cycle-card strong {
    font-size: 1.375rem;
    letter-spacing: -0.04em;
  }
  .cycle-card > b {
    font-size: 0.875rem;
  }
  .cycle-card > span {
    font-size: 0.875rem;
  }
  .archive-disclosure summary {
    font-size: 1.1rem;
    align-items: center;
  }
  .archive-disclosure summary > span {
    font-size: 0.875rem;
    max-width: 80px;
    text-align: right;
  }
  .current-cycle-gallery .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chapter-geometry > svg,
  .chapter-hero-art > img {
    animation: none;
  }
  .chapter-scroll > span:last-child,
  .cycle-card img {
    transition: none;
  }
}

.search-box-prominent {
  max-width: 100%;
  margin: 0 0 45px;
}
.search-box-prominent input {
  border-radius: 8px 8px 35px 8px;
  background: white;
  padding: 24px;
  border: 1px solid var(--line);
  font-size: 1.2rem;
}
.search-box-prominent input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.archive-disclosure > .entry-feature {
  max-height: 32rem;
  width: 100%;
  object-fit: contain;
  margin-top: 25px;
}
.current-gallery-heading {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  margin: 0 0 2rem;
}
.chapter-hero-intro,
.empty-archive p,
.contact-cards p {
  font-size: 1.125rem;
}
.chapter-hero-copy,
.chapter-hero-art {
  min-width: 0;
}
.chapter-hero h1,
.contact-cards strong {
  overflow-wrap: anywhere;
}
.archive-disclosure > .entry-feature {
  max-width: 42rem;
  max-height: 22rem;
  margin-inline: auto;
}
.chapter-hero-line {
  flex-wrap: wrap;
  row-gap: 0.5rem;
}
#descubre > .wrap:has(> .pill-button + .text-link) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
@media (max-width: 580px) {
  .chapter-breadcrumb {
    font-size: 0.875rem;
  }
}

.chapter-hero--project .chapter-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding-block: 2.5rem 3.5rem;
}
.chapter-hero--project .chapter-hero-art {
  display: none;
}
.chapter-hero--project h1 {
  max-width: 24ch;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
}
.chapter-hero--project .chapter-hero-intro {
  max-width: 65ch;
}
.chapter-hero--project .chapter-breadcrumb {
  margin-bottom: 1.5rem;
}

.service-support > h2:last-child {
  margin-top: 2.5rem;
}
