@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button, input, select, textarea {
  font: inherit;
}

a {
  color: inherit;
}

html {
  color-scheme: dark;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  background: rgba(2, 8, 17, 0.7);
  color: #e6ddd0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
}

::selection {
  background: rgba(216, 154, 69, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 0.15rem solid #efc884;
  outline-offset: 0.22rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  background: #e4ad60;
  color: rgba(2, 8, 17, 0.7);
  border-radius: 0.4rem;
}

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

.container {
  width: min(100% - 2.5rem, 92rem);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding-block: 1.55rem;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #e4ad60;
  text-decoration: none;
}

.brand__icon {
  filter: drop-shadow(0 0 0.6rem rgba(216, 154, 69, 0.25));
}

.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header__nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3.25rem);
}

.site-header__link {
  position: relative;
  padding-block: 0.45rem;
  color: #eadbc3;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header__link::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e4ad60, transparent);
  transition: inset 0.25s ease;
}

.site-header__link:hover::after,
.site-header__link.is-active::after {
  right: 0;
  left: 0;
}

.site-header__motto {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #efc884;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header__toggle {
  display: none;
}

.site-header__close {
  display: none;
}

@media (max-width: 75rem) {
  .site-header__motto {
    display: none;
  }
  .site-header__inner {
    grid-template-columns: auto 1fr;
  }
}
@media (max-width: 60rem) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .site-header__button {
    width: 2.8rem;
    height: 2.8rem;
    place-content: center;
    gap: 0.32rem;
    border: 1px solid rgba(228, 173, 96, 0.28);
    border-radius: 50%;
    background: rgba(2, 8, 17, 0.65);
    color: #efc884;
    cursor: pointer;
  }
  .site-header__button:hover {
    background: rgba(72, 75, 80, 0.65);
  }
  .site-header__button.site-header__close {
    position: absolute;
    display: block;
    top: 1.3em;
    right: 1.3em;
  }
  .site-header__button.site-header__toggle {
    display: grid;
  }
  .site-header__toggle-line {
    width: 1.2rem;
    height: 1px;
    background: currentColor;
  }
  .site-header__nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(22rem, 85vw);
    flex-direction: column;
    justify-content: center;
    padding: 5rem 2rem;
    transform: translateX(105%);
    background: rgba(2, 8, 17, 0.97);
    border-left: 1px solid rgba(228, 173, 96, 0.28);
    transition: transform 0.3s ease;
  }
  .site-header__nav.is-open {
    transform: translateX(0);
  }
  .site-header__link {
    font-size: 1.1rem;
  }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.3rem;
  padding: 0.8rem 1.45rem;
  border: 1px solid rgba(228, 173, 96, 0.55);
  border-radius: 999px;
  color: #efc884;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(216, 154, 69, 0.08);
  box-shadow: 0 0 2.2rem rgba(216, 154, 69, 0.18);
}

.page--star-map .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
}

.star-map {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(123, 119, 119, 0.28);
  background: radial-gradient(ellipse at 50% 48%, rgba(53, 72, 116, 0.22), transparent 38%), linear-gradient(180deg, rgba(2, 7, 16, 0) 0%, rgb(2, 7, 16) 20%, rgb(2, 8, 17) 100%);
  /** INTRO  */
}
.star-map .star-map__sky,
.star-map .star-map__sky::before,
.star-map .star-map__sky::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.star-map .star-map__sky {
  z-index: -3;
  transform: translate3d(calc(var(--star-map-x, 0) * -0.8rem), calc(var(--star-map-y, 0) * -0.55rem), 0);
  transition: transform 0.35s ease-out;
}
.star-map .star-map__sky::after {
  content: "";
  background: linear-gradient(118deg, transparent 28%, rgba(120, 138, 183, 0.07) 48%, rgba(239, 200, 132, 0.045) 54%, transparent 72%);
  filter: blur(1rem);
  transform: rotate(-6deg) scale(1.15);
}
.star-map .star-map__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(4rem);
  opacity: 0.17;
}
.star-map .star-map__nebula--one {
  top: 8%;
  left: 8%;
  width: 28rem;
  height: 18rem;
  background: #5d6ca7;
  transform: rotate(-22deg);
}
.star-map .star-map__nebula--two {
  right: 4%;
  bottom: 8%;
  width: 24rem;
  height: 16rem;
  background: #b77c4b;
  transform: rotate(18deg);
}
.star-map .star-map__dust {
  position: absolute;
  top: var(--dust-y);
  left: var(--dust-x);
  width: calc(0.12rem * var(--dust-scale));
  height: calc(0.12rem * var(--dust-scale));
  border-radius: 50%;
  background: #fff1d2;
  box-shadow: 0 0 0.7rem rgba(239, 200, 132, 0.7);
  opacity: 0.28;
  animation: star-dust 5s ease-in-out var(--dust-delay) infinite;
}
.star-map .star-map__intro {
  position: relative;
  left: 50%;
  width: min(100% - 2rem, 55rem);
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  padding: 6em 0 3em 0;
}
.star-map .star-map__intro h1 {
  margin: 0.25rem 0 1rem;
  color: #f0d49f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5.4vw, 5.5rem);
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 0 2.5rem rgba(216, 154, 69, 0.12);
}
.star-map .star-map__intro > p:last-child {
  width: min(100%, 43rem);
  margin: 0 auto;
  color: #aeb9c8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}
.star-map .home-intro {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: #07111d;
}
.star-map .home-intro__inner {
  width: min(100%, 52rem);
  text-align: center;
}
.star-map .home-intro__inner h2 {
  margin: 0.25rem 0 1rem;
  color: #e8be79;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
}
.star-map .home-intro__inner > p:last-child {
  color: #aeb9c8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.8;
}
@keyframes star-dust {
  0%, 100% {
    opacity: 0.18;
  }
  50% {
    opacity: 0.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  .star-map .star-map__sky,
  .star-map .star-map__point,
  .star-map .star-map__dust {
    animation: none;
    transition: none;
    transform: none;
  }
}

/** CONSTELLATION */
.constellation {
  position: relative;
  min-height: 38rem;
  isolation: isolate;
}
.constellation .constellation__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.constellation .constellation__lines path {
  fill: none;
  stroke: rgba(228, 173, 96, 0.42);
  stroke-width: 1.1;
  filter: drop-shadow(0 0 0.4rem rgba(216, 154, 69, 0.18));
}
.constellation .cat-star {
  --avatar-x: 50%;
  --avatar-y: 50%;
  position: absolute;
  top: var(--avatar-y);
  left: var(--avatar-x);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: reveal 0.8s ease forwards;
  animation-delay: var(--reveal-delay, 0ms);
}
.constellation .cat-star::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.6rem;
  height: 0.6rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #efc884;
  box-shadow: 0 0 0.45rem #efc884, 0 0 1.1rem #e4ad60, 0 0 2rem rgba(216, 154, 69, 0.6);
}
.constellation .cat-star__shine::before {
  content: "";
  display: none;
}
.constellation .cat-star__link {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #efc884;
  text-decoration: none;
  min-height: 5em;
  min-width: 5em;
}
.constellation .cat-star__portrait {
  width: clamp(4.5rem, 7vw, 6.75rem);
  aspect-ratio: 1;
  border: 1px solid rgba(228, 173, 96, 0.55);
  border-radius: 50%;
  background: rgba(3, 9, 17, 0.72);
  box-shadow: 0 0 0 0.5rem rgba(216, 154, 69, 0.05), 0 0 2.2rem rgba(216, 154, 69, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0.5;
}
.constellation .cat-star__shine .cat-star__portrait {
  opacity: 1;
}
.constellation .cat-star__text {
  display: grid;
  line-height: 1.15;
  white-space: nowrap;
}
.constellation .cat-star__text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 400;
}
.constellation .cat-star__text small {
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}
.constellation .cat-star__link:hover .cat-star__portrait {
  transform: scale(1.06);
  box-shadow: 0 0 0 0.7rem rgba(216, 154, 69, 0.07), 0 0 2.5rem rgba(216, 154, 69, 0.32);
}
.constellation .cat-star--star1 {
  --avatar-x: 83%;
  --avatar-y: 40%;
}
.constellation .cat-star--star2 {
  --avatar-x: 73%;
  --avatar-y: 68%;
}
.constellation .cat-star--star3 {
  --avatar-x: 3%;
  --avatar-y: 76%;
}
.constellation .cat-star--star4 {
  --avatar-x: 25%;
  --avatar-y: 80%;
}
.constellation .star-map__star {
  position: absolute;
  top: var(--star-y);
  left: var(--star-x);
  z-index: 4;
  display: grid;
  place-items: center;
  color: #f3dfb8;
  text-decoration: none;
  transform: translate(-50%, -50%);
  outline: none;
}
.constellation .star-map__point {
  position: relative;
  z-index: 2;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #fff3d6;
  box-shadow: 0 0 0.3rem #fff, 0 0 1rem rgba(239, 200, 132, calc(0.72 * var(--star-brightness))), 0 0 2.5rem rgba(216, 154, 69, calc(0.25 * var(--star-brightness)));
  animation: star-pulse 4.5s ease-in-out var(--star-delay) infinite;
}
.constellation .star-map__star--small .star-map__point {
  width: 0.42rem;
  height: 0.42rem;
}
.constellation .star-map__star--large .star-map__point {
  width: 0.85rem;
  height: 0.85rem;
}
.constellation .star-map__star.is-featured .star-map__point::before,
.constellation .star-map__star.is-featured .star-map__point::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 210, 0.75), transparent);
  transform: translate(-50%, -50%);
}
.constellation .star-map__star.is-featured .star-map__point::before {
  width: 3.4rem;
  height: 1px;
}
.constellation .star-map__star.is-featured .star-map__point::after {
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(180deg, transparent, rgba(255, 241, 210, 0.75), transparent);
}
.constellation .star-map__halo {
  position: absolute;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(239, 200, 132, 0.14);
  border-radius: 50%;
  opacity: 0.6;
  transform: scale(0.72);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.constellation .star-map__preview {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  z-index: 10;
  display: grid;
  width: min(19rem, 78vw);
  grid-template-columns: 4.8rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(239, 200, 132, 0.34);
  border-radius: 1rem;
  background: rgba(3, 11, 21, 0.94);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(0.75rem);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.7rem) scale(0.96);
  transition: opacity 0.24s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.constellation .star-map__star:hover,
.constellation .star-map__star:focus-visible,
.constellation .star-map__star.is-active {
  z-index: 20;
}
.constellation .star-map__star:hover .star-map__halo,
.constellation .star-map__star:focus-visible .star-map__halo,
.constellation .star-map__star.is-active .star-map__halo {
  border-color: rgba(239, 200, 132, 0.52);
  opacity: 1;
  transform: scale(1.15);
}
.constellation .star-map__star:hover .star-map__name,
.constellation .star-map__star:focus-visible .star-map__name,
.constellation .star-map__star.is-active .star-map__name {
  color: #fff1d2;
  transform: translateY(0.18rem);
}
.constellation .star-map__star:hover .star-map__preview,
.constellation .star-map__star:focus-visible .star-map__preview,
.constellation .star-map__star.is-active .star-map__preview {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.constellation .star-map__portrait {
  overflow: hidden;
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(239, 200, 132, 0.42);
  border-radius: 0.75rem;
}
.constellation .star-map__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.constellation .star-map__preview-copy {
  display: grid;
  min-width: 0;
}
.constellation .star-map__preview-copy small {
  color: #d89a45;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.constellation .star-map__preview-copy strong {
  color: #f3ead7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}
.constellation .star-map__preview-copy > span {
  overflow: hidden;
  color: #aeb9c8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.constellation .star-map__preview-copy em {
  margin-top: 0.45rem;
  color: #e8be79;
  font-size: 0.7rem;
  font-style: normal;
}
@keyframes star-pulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@media (max-width: 48rem) {
  .constellation .star-map {
    min-height: 54rem;
  }
  .constellation .star-map__preview {
    bottom: 2rem;
    grid-template-columns: 3.8rem 1fr;
  }
  .constellation .star-map__portrait {
    width: 3.8rem;
    height: 3.8rem;
  }
}
@media (hover: none) {
  .constellation .star-map__preview {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .constellation .star-map__star {
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 60rem) {
  .constellation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-height: auto;
  }
  .constellation .constellation__lines {
    display: none;
  }
  .constellation .cat-star {
    position: static;
    transform: none;
    opacity: 1;
    animation: none;
    padding: 1rem;
    border: 1px solid rgba(228, 173, 96, 0.28);
    border-radius: 0.9rem;
    background: rgba(5, 13, 24, 0.72);
    display: none;
    overflow: hidden;
  }
  .constellation .cat-star .cat-star__link {
    position: static;
  }
  .constellation .cat-star.cat-star__shine {
    display: block;
  }
  .constellation .cat-star .cat-star__text small {
    white-space: normal;
  }
  .constellation .star-map__point,
  .constellation .star-map__halo {
    display: none;
  }
  .constellation .cat-star::before {
    display: none;
  }
  .constellation .cat-star__link {
    align-items: center;
  }
  .constellation .cat-star__portrait {
    width: 4.5rem;
  }
}
@media (max-width: 34rem) {
  .constellation {
    grid-template-columns: 1fr;
  }
}

.memory-links {
  position: relative;
  padding: 2rem 0;
}

.memory-links__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  background: rgba(4, 11, 20, 0.84);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.memory-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 8rem;
  padding: 1.4rem;
  color: #e6ddd0;
  text-decoration: none;
  transition: background 0.25s ease;
}

.memory-card + .memory-card {
  border-left: 1px solid rgba(228, 173, 96, 0.28);
}

.memory-card:hover {
  background: rgba(216, 154, 69, 0.06);
}

.memory-card__icon {
  flex: 0 0 auto;
  width: 3.75rem;
  color: #e4ad60;
}

.memory-card span {
  display: grid;
  gap: 0.2rem;
}

.memory-card strong {
  color: #efc884;
  font-size: 0.93rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.memory-card small {
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 64rem) {
  .memory-links {
    margin-top: 0;
  }
  .memory-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .memory-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(228, 173, 96, 0.28);
  }
  .memory-card:nth-child(4) {
    border-top: 1px solid rgba(228, 173, 96, 0.28);
  }
}
@media (max-width: 34rem) {
  .memory-links__grid {
    grid-template-columns: 1fr;
  }
  .memory-card + .memory-card {
    border-left: 0;
    border-top: 1px solid rgba(228, 173, 96, 0.28);
  }
}
/* Sprint 0.8.3b — progressive-enhancement lightbox */
.lightbox {
  width: min(96vw, 88rem);
  max-width: none;
  height: min(94vh, 64rem);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 173, 96, 0.3);
  border-radius: 1.15rem;
  background: rgba(2, 8, 17, 0.97);
  color: #e6ddd0;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.72);
}

.lightbox::backdrop {
  background: radial-gradient(circle at 50% 30%, rgba(75, 71, 100, 0.28), transparent 42%), rgba(0, 3, 9, 0.9);
  backdrop-filter: blur(0.5rem);
}

.lightbox[open] {
  display: grid;
  place-items: center;
  animation: lightbox-enter 0.22s ease both;
}

.lightbox__figure {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox__stage {
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
}

.lightbox__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
  object-fit: contain;
  opacity: 1;
  transform: scale(0.992);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.lightbox.is-loading .lightbox__image {
  opacity: 0.25;
}

.lightbox__caption {
  width: 100%;
  min-height: 3.6rem;
  padding: 0.8rem 5rem 1.1rem;
  border-top: 1px solid rgba(228, 173, 96, 0.16);
  color: #d8cbb8;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 200, 132, 0.42);
  background: rgba(2, 8, 17, 0.78);
  color: #efc884;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  border-color: rgba(239, 200, 132, 0.86);
  background: rgba(228, 173, 96, 0.14);
}

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 0.14rem solid #efc884;
  outline-offset: 0.16rem;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.7rem;
}

.lightbox__nav {
  top: 50%;
  width: 3rem;
  height: 4.5rem;
  border-radius: 999px;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.lightbox__nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox__nav--previous {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes lightbox-enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 48rem) {
  .lightbox {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .lightbox__caption {
    padding-inline: 4rem;
  }
  .lightbox__nav {
    width: 2.75rem;
    height: 4rem;
  }
  .lightbox__nav--previous {
    left: 0.45rem;
  }
  .lightbox__nav--next {
    right: 0.45rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-card,
  .gallery-card::before,
  .gallery-card::after,
  .gallery-card__image,
  .lightbox,
  .lightbox__image {
    animation: none;
    transition: none;
  }
}
/* Sprint 0.8.4 — lightbox information and transition polish */
.lightbox__meta {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(239, 200, 132, 0.28);
  border-radius: 999px;
  background: rgba(2, 8, 17, 0.72);
  color: #d8cbb8;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(0.45rem);
}

.lightbox__counter {
  color: #efc884;
  font-variant-numeric: tabular-nums;
}

.lightbox__caption:empty {
  display: none;
}

.lightbox:not(.is-loading) .lightbox__image {
  transform: scale(1);
}

@media (max-width: 48rem) {
  .lightbox__meta {
    top: 0.7rem;
    left: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox__image {
    transform: none;
  }
}
/*
 * Gallery grid and card presentation.
 *
 * All card rules are deliberately scoped through .gallery-grid. This keeps
 * the Symfony gallery implementation isolated from the legacy static gallery
 * and provides the specificity required by the current markup.
 */
.gallery-page {
  padding-block: clamp(3rem, 7vw, 7rem);
}

.gallery-page .section-heading {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.gallery-grid {
  --gallery-gap: 1.2rem;
  columns: 4 16rem;
  column-gap: var(--gallery-gap);
}
.gallery-grid .gallery-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gallery-gap);
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid rgba(228, 173, 96, 0.22);
  border-radius: 1rem;
  background: rgba(6, 16, 28, 0.82);
  box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, 0.26);
  color: inherit;
  cursor: zoom-in;
  opacity: 0;
  text-decoration: none;
  transform: translateY(1.4rem) translateZ(0);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  transition-delay: var(--gallery-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.gallery-grid .gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(2, 8, 17, 0.38), transparent 38%);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gallery-grid .gallery-card::after {
  content: "＋";
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(239, 200, 132, 0.5);
  border-radius: 50%;
  background: rgba(2, 8, 17, 0.76);
  color: #efc884;
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.gallery-grid .gallery-card__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}
.gallery-grid .gallery-card__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 2.4rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(2, 8, 17, 0.88), transparent);
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.35rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-grid .gallery-card.is-gallery-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.gallery-grid .gallery-card:hover,
.gallery-grid .gallery-card:focus-visible {
  z-index: 2;
  border-color: rgba(239, 200, 132, 0.62);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(239, 200, 132, 0.08), 0 0 2.25rem rgba(216, 154, 69, 0.2);
  transform: translate3d(0, -0.18rem, 0);
}
.gallery-grid .gallery-card:hover::before,
.gallery-grid .gallery-card:focus-visible::before {
  opacity: 0.15;
}
.gallery-grid .gallery-card:hover::after,
.gallery-grid .gallery-card:focus-visible::after,
.gallery-grid .gallery-card:hover .gallery-card__caption,
.gallery-grid .gallery-card:focus-visible .gallery-card__caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-grid .gallery-card:hover .gallery-card__image,
.gallery-grid .gallery-card:focus-visible .gallery-card__image {
  transform: scale(1.025);
  filter: brightness(1.06);
}
.gallery-grid .gallery-card:focus-visible {
  outline: 0.16rem solid #efc884;
  outline-offset: 0.25rem;
}
.gallery-grid .gallery-card[hidden] {
  display: none;
}
.gallery-grid .gallery-transition-clone {
  position: fixed;
  z-index: 9999;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 200, 132, 0.46);
  border-radius: 1rem;
  background: #06101c;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.58);
  pointer-events: none;
  object-fit: cover;
  will-change: top, left, width, height, opacity, border-radius;
  transition: top 0.38s cubic-bezier(0.22, 1, 0.36, 1), left 0.38s cubic-bezier(0.22, 1, 0.36, 1), width 0.38s cubic-bezier(0.22, 1, 0.36, 1), height 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease 0.2s, border-radius 0.38s ease;
}

@media (max-width: 68rem) {
  .gallery-grid {
    columns: 3 14rem;
  }
}
@media (max-width: 46rem) {
  .gallery-grid {
    --gallery-gap: .8rem;
    columns: 2 10rem;
  }
  .gallery-grid .gallery-card {
    border-radius: 0.8rem;
  }
}
@media (max-width: 25rem) {
  .gallery-grid {
    columns: 1;
  }
}
@media (hover: none) {
  .gallery-grid .gallery-card::after {
    opacity: 0.9;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-grid .gallery-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gallery-grid .gallery-card::before,
  .gallery-grid .gallery-card::after,
  .gallery-grid .gallery-card__image {
    transition: none;
  }
  .gallery-grid .gallery-transition-clone {
    display: none;
  }
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gallery-filter {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #b9ac9b;
  cursor: pointer;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gallery-filter small {
  display: grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  padding-inline: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #8f99a7;
  font-size: 0.64rem;
  letter-spacing: 0;
}

.gallery-filter:hover,
.gallery-filter:focus-visible,
.gallery-filter.is-active {
  border-color: rgba(228, 173, 96, 0.55);
  background: rgba(216, 154, 69, 0.08);
  color: #efc884;
}

.gallery-filter.is-active small {
  background: rgba(216, 154, 69, 0.16);
  color: #efc884;
}

.gallery-count {
  flex: 0 0 auto;
  margin: 0;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  white-space: nowrap;
}

.gallery-empty {
  margin: 0 0 2rem;
  padding: 3rem;
  border: 1px dashed rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
}

.gallery-empty[hidden] {
  display: none;
}

@media (max-width: 40rem) {
  .gallery-filters {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
  }
  .gallery-filter {
    flex: 0 0 auto;
  }
}
/* Sticky gallery controls. The outer bar owns positioning and surface styles. */
.gallery-toolbar {
  position: sticky;
  top: var(--header-height, 0);
  z-index: 30;
  width: 100%;
  margin: 1rem 0 0 0;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-left: 0;
  border-right: 0;
  background: rgba(7, 17, 29, 0.8);
  backdrop-filter: blur(12px);
}

.gallery-toolbar__inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem;
}

@media (max-width: 60rem) {
  .gallery-toolbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }
}
/* Sprint 1.2 — relationship constellation */
.relationships-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid rgba(228, 173, 96, 0.12);
  background: radial-gradient(circle at 50% 42%, rgba(101, 104, 151, 0.16), transparent 28%), radial-gradient(circle at 15% 20%, rgba(216, 154, 69, 0.07), transparent 24%), #030a13;
}

.relationships-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  background: radial-gradient(circle at 17% 21%, #fff 0 1px, transparent 1.7px), radial-gradient(circle at 68% 32%, #e8be79 0 1px, transparent 1.7px), radial-gradient(circle at 42% 79%, #fff 0 1px, transparent 1.5px);
  background-size: 127px 127px, 181px 181px, 239px 239px;
}

.relationships-section__heading {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  text-align: center;
}

.relationships-section__heading h2 {
  color: #e8be79;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
}

.relationships-section__heading > p:last-child {
  margin-top: 1rem;
  color: #b9c2cf;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.8;
}

.relationship-map {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  min-height: 38rem;
  margin-inline: auto;
}

.relationship-map__center,
.relationship-card__portrait {
  overflow: hidden;
  border: 1px solid rgba(239, 200, 132, 0.55);
  border-radius: 50%;
  background: #06101c;
  box-shadow: 0 0 0 0.65rem rgba(216, 154, 69, 0.045), 0 0 2.5rem rgba(216, 154, 69, 0.25);
}

.relationship-map__center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 10rem;
  height: 10rem;
  place-items: center;
  padding: 0.7rem;
  transform: translate(-50%, -50%);
  text-align: center;
}

.relationship-map__center img {
  position: absolute;
  inset: 0.7rem;
  width: calc(100% - 1.4rem);
  height: calc(100% - 1.4rem);
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.38;
}

.relationship-map__center strong,
.relationship-map__center span {
  position: relative;
  z-index: 1;
}

.relationship-map__center strong {
  color: #fff0d1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.relationship-map__center span {
  color: #e4ad60;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.relationship-map__line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15rem;
  height: 1px;
  transform-origin: 0 50%;
  transform: rotate(calc(360deg / var(--relationship-count) * var(--relationship-index))) translateX(4.8rem);
  background: linear-gradient(90deg, rgba(228, 173, 96, 0.58), rgba(228, 173, 96, 0.08));
  filter: drop-shadow(0 0 0.35rem rgba(216, 154, 69, 0.2));
}

.relationship-map__nodes {
  position: absolute;
  inset: 0;
}

.relationship-card {
  --relationship-angle: calc((360deg / var(--relationship-count)) * var(--relationship-index) - 145deg);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: min(18rem, 30vw);
  min-height: 8.5rem;
  grid-template-columns: 4.5rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  transform: translate(-50%, -50%) rotate(var(--relationship-angle)) translateY(-17rem) rotate(calc(-1 * var(--relationship-angle)));
  border: 1px solid rgba(228, 173, 96, 0.25);
  border-radius: 1rem;
  background: rgba(5, 14, 25, 0.9);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(0.6rem);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, margin-top 0.25s ease;
}

.relationship-card:hover,
.relationship-card:focus-visible {
  margin-top: -0.3rem;
  border-color: rgba(239, 200, 132, 0.64);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.38), 0 0 2rem rgba(216, 154, 69, 0.16);
}

.relationship-card--featured {
  border-color: rgba(239, 200, 132, 0.46);
}

.relationship-card.is-unpublished {
  cursor: default;
  opacity: 0.72;
}

.relationship-card__portrait {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  color: #efc884;
  font-size: 1.4rem;
}

.relationship-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.relationship-card__copy {
  display: grid;
  min-width: 0;
}

.relationship-card__copy small,
.relationship-list__label {
  color: #d89a45;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.relationship-card__copy strong {
  color: #f3ead7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.relationship-card__copy > span {
  margin-top: 0.25rem;
  color: #aeb8c6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  line-height: 1.45;
}

.relationship-card__copy em {
  margin-top: 0.45rem;
  color: #e4ad60;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

.relationship-list {
  position: relative;
  z-index: 1;
  display: none;
  gap: 1rem;
}

.relationship-list__item {
  padding: 1.4rem;
  border: 1px solid rgba(228, 173, 96, 0.24);
  border-radius: 1rem;
  background: rgba(5, 14, 25, 0.82);
}

.relationship-list__item h3 {
  margin: 0.2rem 0 0.6rem;
  color: #f3ead7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.relationship-list__item > p:not(.relationship-list__label) {
  color: #aeb8c6;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

.relationship-list__item a,
.relationship-list__pending {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #e8be79;
  font-size: 0.82rem;
  text-decoration: none;
}

.relationship-list__pending {
  color: #8f99a7;
}

@media (max-width: 64rem) {
  .relationship-map {
    display: none;
  }
  .relationship-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 42rem) {
  .relationship-list {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .relationship-card {
    transition: none;
  }
}
.farewell-letter {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.container--narrow {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
}

.farewell-letter__header {
  text-align: center;
}

.farewell-letter__header h1 {
  max-width: 18ch;
  margin: 0.6rem auto 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.04;
}

.farewell-letter__lead {
  max-width: 38rem;
  margin-inline: auto;
  color: var(--color-text-muted, #b9ac9b);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.7;
}

.farewell-letter__meta {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
  color: var(--color-gold, #efc884);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.farewell-letter__image {
  width: min(100% - 2rem, 68rem);
  margin: clamp(3rem, 7vw, 6rem) auto;
}

.farewell-letter__image img {
  display: block;
  width: 100%;
  max-height: 44rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.32);
}

.farewell-letter__section {
  margin-block: clamp(3rem, 7vw, 5.5rem);
}

.farewell-letter__section h2 {
  margin: 0 0 1.4rem;
  color: var(--color-gold, #efc884);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
}

.farewell-letter__section p {
  margin: 0 0 1.35em;
  color: var(--color-text, #f2eee8);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.65vw, 1.22rem);
  line-height: 1.9;
  text-wrap: pretty;
}

.farewell-letter__section p:first-of-type::first-letter {
  float: left;
  margin: 0.12em 0.12em 0 0;
  color: var(--color-gold, #efc884);
  font-size: 3.25em;
  line-height: 0.8;
}

.farewell-letter__closing {
  margin: clamp(5rem, 10vw, 9rem) auto 1rem;
  text-align: center;
}

.farewell-letter__star {
  display: block;
  margin-bottom: 1rem;
  color: var(--color-gold, #efc884);
  font-size: 1.4rem;
}

.farewell-letter__closing p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
}

@media (prefers-reduced-motion: no-preference) {
  .farewell-letter__star {
    animation: farewell-star 4s ease-in-out infinite;
  }
}
@keyframes farewell-star {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0;
  background: radial-gradient(circle at 78% 24%, rgba(136, 120, 156, 0.18), transparent 24%), radial-gradient(circle at 34% 58%, rgba(173, 119, 85, 0.15), transparent 31%), linear-gradient(180deg, #020711 0%, #06101c 48%, #020811 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.7;
  background: radial-gradient(circle at 20% 15%, #fff 0 1px, transparent 1.7px), radial-gradient(circle at 70% 20%, #e8be79 0 1px, transparent 1.7px), radial-gradient(circle at 55% 70%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 30% 80%, #c9d9ff 0 1px, transparent 1.5px);
  background-size: 91px 91px, 137px 137px, 173px 173px, 213px 213px;
  transform: rotate(-8deg);
}

.hero__nebula {
  position: absolute;
  width: 75rem;
  height: 10rem;
  border-radius: 50%;
  filter: blur(2.4rem);
  opacity: 0.28;
  transform: rotate(-25deg);
  pointer-events: none;
}

.hero__nebula--one {
  top: 27rem;
  left: 9%;
  background: linear-gradient(90deg, transparent, #d0a77f, #7f8dbb, transparent);
}

.hero__nebula--two {
  top: 13rem;
  right: -18rem;
  background: linear-gradient(90deg, transparent, #6b668b, #d29a7c, transparent);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(20rem, 0.75fr) minmax(38rem, 1.45fr);
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: #e4ad60;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__title {
  color: #e4ad60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
}

.hero__title em {
  color: #efc884;
  font-size: 0.86em;
  font-weight: 400;
}

.hero__ornament {
  display: grid;
  grid-template-columns: minmax(2rem, 9rem) auto minmax(2rem, 9rem);
  align-items: center;
  gap: 0.8rem;
  width: min(100%, 22rem);
  margin: 2rem 0 1.2rem;
}

.hero__ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e4ad60);
}

.hero__ornament span:last-child {
  background: linear-gradient(90deg, #e4ad60, transparent);
}

.hero__lead {
  margin-bottom: 2rem;
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.7;
}

.hero__quote {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 2.5rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-style: italic;
  text-align: center;
}

.hero__quote span {
  font-size: 0.7rem;
}

.about-strip {
  padding: 0.6rem 0 2rem;
}

.about-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #e4ad60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
}

.about-strip__line {
  width: min(18vw, 14rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 173, 96, 0.55));
}

.about-strip__line:last-child {
  background: linear-gradient(90deg, rgba(228, 173, 96, 0.55), transparent);
}

.site-footer {
  border-top: 1px solid rgba(228, 173, 96, 0.12);
  background: rgba(2, 8, 17, 0.7);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.3rem;
  color: #b9ac9b;
  font-size: 0.82rem;
}

@media (max-width: 60rem) {
  .hero {
    min-height: auto;
    padding-top: 8rem;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .hero__copy {
    max-width: 40rem;
  }
}
@media (max-width: 40rem) {
  .hero {
    padding-bottom: 3rem;
  }
  .hero__title {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }
  .hero__quote {
    padding-inline: 1rem;
  }
  .about-strip__inner {
    flex-wrap: wrap;
  }
  .about-strip__line {
    display: none;
  }
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
.site-header--solid {
  position: relative;
  background: rgba(2, 8, 17, 0.96);
  border-bottom: 1px solid rgba(228, 173, 96, 0.16);
}

.profile-hero {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  padding: 2rem 0 4.5rem;
}

.profile-hero::before,
.profile-hero__stars {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 72% 32%, #e8be79 0 1px, transparent 1.8px), radial-gradient(circle at 48% 76%, #fff 0 1px, transparent 1.6px), radial-gradient(circle at 84% 68%, #cbd9ff 0 1px, transparent 1.6px);
  background-size: 103px 103px, 151px 151px, 187px 187px, 229px 229px;
  opacity: 0.64;
  transform: rotate(-7deg);
}

.profile-hero__nebula {
  position: absolute;
  top: 15rem;
  left: 8%;
  width: 88rem;
  height: 9rem;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, #c49a77, #69769d, transparent);
  filter: blur(2.8rem);
  opacity: 0.24;
  transform: rotate(-13deg);
}

.profile-hero__toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.back-link,
.memorial-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #efc884;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-link {
  text-decoration: none;
}

.back-link:hover {
  color: #fff0d1;
}

.profile-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(18rem, 30rem) minmax(22rem, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.profile-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.profile-portrait__halo {
  position: absolute;
  inset: 6% -8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 154, 69, 0.2), transparent 68%);
  filter: blur(1rem);
}

.profile-portrait__image {
  position: relative;
  width: 100%;
  aspect-ratio: 0.95;
  object-fit: cover;
  border: 1px solid rgba(228, 173, 96, 0.55);
  border-radius: 48% 48% 42% 42%;
  box-shadow: 0 0 0 0.7rem rgba(216, 154, 69, 0.04), 0 0 5rem 1.5rem rgba(0, 0, 0, 0.45), 0 0 2.2rem rgba(216, 154, 69, 0.18);
}

.profile-portrait__image-transparent {
  border-radius: 50%;
  background: transparent;
}

.profile-portrait__caption {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: -1.4rem 0 0 50%;
  padding: 0.7rem 2.3rem 0.7rem 1.15em;
  transform: translateX(-50%);
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 999px;
  background: rgba(4, 11, 20, 0.92);
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.profile-hero__title {
  color: #e4ad60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 10vw, 8.4rem);
  font-weight: 400;
  line-height: 0.9;
}

.profile-hero__dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.3rem;
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.profile-hero__dates span {
  color: #e4ad60;
  font-size: 0.7rem;
}

.profile-hero__ornament {
  display: grid;
  grid-template-columns: minmax(3rem, 9rem) auto minmax(3rem, 9rem);
  align-items: center;
  gap: 0.7rem;
  width: min(100%, 24rem);
  margin: 1.6rem 0;
}

.profile-hero__ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e4ad60);
}

.profile-hero__ornament span:last-child {
  background: linear-gradient(90deg, #e4ad60, transparent);
}

.profile-hero__quote {
  max-width: 43rem;
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.65;
  width: auto;
}

.profile-tabs {
  position: sticky;
  top: 0;
  z-index: 15;
  border-top: 1px solid rgba(228, 173, 96, 0.18);
  border-bottom: 1px solid rgba(228, 173, 96, 0.22);
  background: rgba(3, 10, 19, 0.94);
  backdrop-filter: blur(14px);
}

.profile-tabs__inner {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 5vw, 5rem);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.profile-tabs__tab {
  position: relative;
  flex: 0 0 auto;
  padding: 1.15rem 0.4rem;
  color: #b9ac9b;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-tabs__tab::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 2px;
  background: #e4ad60;
  box-shadow: 0 0 0.8rem rgba(216, 154, 69, 0.6);
  transition: inset 0.25s ease;
}

.profile-tabs__tab:hover,
.profile-tabs__tab.is-active {
  color: #efc884;
}

.profile-tabs__tab:hover::after,
.profile-tabs__tab.is-active::after {
  right: 0;
  left: 0;
}

.profile-content {
  background: radial-gradient(circle at 10% 30%, rgba(216, 154, 69, 0.04), transparent 25%), #050d17;
}

.profile-intro {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}
.profile-intro.character-intro p {
  text-align: center;
}

.section-heading {
  max-width: 49rem;
  margin-bottom: 3rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading__title {
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 400;
  line-height: 1.05;
}

.section-heading__line {
  display: block;
  width: 7rem;
  height: 1px;
  margin-top: 1.35rem;
  background: linear-gradient(90deg, #e4ad60, transparent);
}

.section-heading--center .section-heading__line {
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, #e4ad60, transparent);
}

.profile-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.profile-story {
  color: #e6ddd0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.9;
}

.profile-story p + p {
  margin-top: 1.45rem;
}

.profile-story__lead {
  color: #eadbc3;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.65;
}

.story-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-top: 2.3rem;
  padding: 1.4rem 1.5rem;
  border-left: 2px solid #e4ad60;
  background: rgba(216, 154, 69, 0.05);
  color: #efc884;
  font-style: italic;
}

.story-quote p {
  margin: 0;
}

.profile-facts {
  position: relative;
  padding: 1.7rem;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(16, 27, 43, 0.9), rgba(5, 13, 23, 0.92));
  box-shadow: 0 0 2.2rem rgba(216, 154, 69, 0.18);
}

.profile-facts::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  pointer-events: none;
  border: 1px solid rgba(228, 173, 96, 0.08);
  border-radius: 0.65rem;
}

.profile-facts__title {
  position: relative;
  margin-bottom: 1rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.fact-list {
  position: relative;
  margin: 0;
}

.fact-list__item {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(228, 173, 96, 0.14);
}

.fact-list__item dt {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #e4ad60;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fact-list__item dt img {
  width: 1.3rem;
}

.fact-list__item dd {
  margin: 0 0 0 2rem;
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}
.fact-list__item dd ul, .fact-list__item dd li {
  margin: 0;
  padding: 0;
}

.memory-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  border-top: 1px solid rgba(228, 173, 96, 0.12);
  border-bottom: 1px solid rgba(228, 173, 96, 0.12);
  background: radial-gradient(circle at 50% 20%, rgba(88, 98, 134, 0.11), transparent 28%), rgba(1, 7, 14, 0.55);
}

.memory-timeline {
  position: relative;
  width: min(100%, 67rem);
  margin: 4rem auto 0;
  padding: 0;
  list-style: none;
}

.memory-timeline::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, #e4ad60 8%, #e4ad60 92%, transparent);
}

.memory-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 4.5rem 1fr;
  align-items: center;
  margin-bottom: 3rem;
}

.memory-timeline__item:nth-child(odd) .memory-entry {
  grid-column: 1;
  text-align: right;
}

.memory-timeline__item:nth-child(even) .memory-entry {
  grid-column: 3;
}

.memory-timeline__marker {
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(228, 173, 96, 0.55);
  border-radius: 50%;
  background: #06101d;
  box-shadow: 0 0 1.5rem rgba(216, 154, 69, 0.22);
}

.memory-entry {
  grid-row: 1;
  padding: 1.5rem;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  background: rgba(7, 17, 29, 0.8);
}

.memory-entry__date {
  color: #e4ad60;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.memory-entry__title {
  margin: 0.3rem 0 0.75rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.memory-entry p:last-child {
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

.character-preview {
  padding-block: clamp(4rem, 7vw, 7rem);
}

.character-preview__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  background: radial-gradient(circle at 85% 50%, rgba(216, 154, 69, 0.11), transparent 30%), rgba(8, 18, 31, 0.82);
}

.character-preview__title {
  margin-bottom: 1rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
}

.character-preview p:last-child {
  max-width: 44rem;
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.75;
}

.trait-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trait-list li {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 999px;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  background: rgba(3, 9, 17, 0.72);
}

.profile-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: 2.5rem 4rem;
}

.profile-pagination__link,
.profile-pagination__overview {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #efc884;
  text-decoration: none;
}

.profile-pagination__link--next {
  justify-self: end;
  text-align: right;
}

.profile-pagination__link span:not([aria-hidden]),
.profile-pagination__link > span:first-child:not([aria-hidden]) {
  display: grid;
}

.profile-pagination__link small {
  color: #b9ac9b;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-pagination__overview {
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (max-width: 60rem) {
  .profile-hero__inner,
  .profile-intro__layout,
  .character-preview__inner {
    grid-template-columns: 1fr;
  }
  .profile-portrait {
    width: min(100%, 27rem);
    margin-inline: auto;
  }
  .profile-hero__copy {
    text-align: center;
  }
  .profile-hero__dates,
  .profile-hero__ornament {
    justify-content: center;
    margin-inline: auto;
  }
  .profile-hero__quote {
    margin-inline: auto;
  }
  .profile-facts {
    width: min(100%, 38rem);
  }
  .memory-timeline::before {
    left: 1.5rem;
  }
  .memory-timeline__item {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }
  .memory-timeline__marker {
    grid-column: 1;
  }
  .memory-timeline__item:nth-child(odd) .memory-entry,
  .memory-timeline__item:nth-child(even) .memory-entry {
    grid-column: 2;
    text-align: left;
  }
  .profile-pagination {
    grid-template-columns: 1fr 1fr;
  }
  .profile-pagination__overview {
    grid-column: 1/-1;
    grid-row: 2;
  }
}
@media (max-width: 40rem) {
  .profile-hero {
    padding-top: 1.25rem;
  }
  .profile-hero__toolbar {
    align-items: flex-start;
  }
  .memorial-label {
    font-size: 0.68rem;
  }
  .profile-tabs__inner {
    justify-content: flex-start;
  }
  .profile-tabs__tab {
    padding-inline: 0.85rem;
  }
  .profile-pagination {
    grid-template-columns: 1fr;
  }
  .profile-pagination__link--next {
    justify-self: stretch;
  }
  .profile-pagination__link {
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid rgba(228, 173, 96, 0.28);
    border-radius: 0.9rem;
  }
  .profile-pagination__overview {
    grid-column: auto;
    grid-row: auto;
  }
}
.character-page {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  background: radial-gradient(circle at 85% 12%, rgba(216, 154, 69, 0.07), transparent 24%), #050d17;
}

.character-page__intro {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(20rem, 1.1fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: 3.5rem;
}

.character-page__lead {
  margin-bottom: 3rem;
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.85;
}

.trait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.trait-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(15, 27, 43, 0.9), rgba(5, 13, 23, 0.95));
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.18);
}

.trait-card::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 154, 69, 0.12), transparent 70%);
}

.trait-card__icon {
  margin-bottom: 1.8rem;
}

.trait-card__eyebrow,
.favorite-card__label {
  color: #e4ad60;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trait-card__title {
  margin: 0.35rem 0 0.8rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
}

.trait-card p:last-child {
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.72;
}

.favorite-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  border-top: 1px solid rgba(228, 173, 96, 0.12);
  border-bottom: 1px solid rgba(228, 173, 96, 0.12);
  background: radial-gradient(circle at 50% 0%, rgba(88, 98, 134, 0.12), transparent 30%), rgba(1, 7, 14, 0.55);
}

.favorite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.favorite-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.5rem;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  background: rgba(7, 17, 29, 0.8);
}

.favorite-card h3 {
  margin: 0.2rem 0 0.45rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.favorite-card p:last-child {
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

.habits-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  background: #050d17;
}

.habits-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.habit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.habit-list__item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(228, 173, 96, 0.15);
}

.habit-list__number {
  color: #e4ad60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.habit-list__item h3 {
  margin-bottom: 0.35rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.habit-list__item p {
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

.character-quote {
  position: sticky;
  top: 7rem;
  padding: 2rem;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  background: radial-gradient(circle at 50% 20%, rgba(216, 154, 69, 0.11), transparent 32%), rgba(8, 18, 31, 0.9);
  text-align: center;
  box-shadow: 0 0 2.2rem rgba(216, 154, 69, 0.18);
}

.character-quote > img {
  margin: 0 auto 1.5rem;
}

.character-quote blockquote {
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.75;
}

.character-quote__line {
  display: block;
  width: 6rem;
  height: 1px;
  margin: 1.5rem auto;
  background: linear-gradient(90deg, transparent, #e4ad60, transparent);
}

.character-quote__caption {
  color: #e4ad60;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.unforgettable-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  border-top: 1px solid rgba(228, 173, 96, 0.12);
  background: radial-gradient(circle at 50% 100%, rgba(216, 154, 69, 0.08), transparent 32%), #020811;
}

.unforgettable-section__inner {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  background: rgba(7, 17, 29, 0.78);
}

.unforgettable-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  width: min(100%, 62rem);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.unforgettable-list li {
  position: relative;
  padding: 1rem 1rem 1rem 2rem;
  border-bottom: 1px solid rgba(228, 173, 96, 0.14);
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.55;
}

.unforgettable-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #e4ad60;
}

@media (max-width: 64rem) {
  .trait-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 60rem) {
  .character-page__intro,
  .habits-section__layout {
    grid-template-columns: 1fr;
  }
  .character-quote {
    position: static;
  }
}
@media (max-width: 40rem) {
  .trait-grid,
  .favorite-grid,
  .unforgettable-list {
    grid-template-columns: 1fr;
  }
  .trait-card {
    min-height: auto;
  }
  .habit-list__item {
    grid-template-columns: 2.5rem 1fr;
  }
}
.profile-pagination__link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.qa-page {
  min-height: 100vh;
  padding: 4rem 0;
  background: radial-gradient(circle at 80% 10%, rgba(216, 154, 69, 0.08), transparent 24%), #050d17;
}

.qa-page__header {
  margin-bottom: 2.5rem;
}

.qa-page__title {
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
}

.qa-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.qa-stat, .qa-panel {
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  background: rgba(7, 17, 29, 0.82);
}

.qa-stat {
  padding: 1.25rem;
}

.qa-stat__value {
  display: block;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.qa-stat__label {
  color: #b9ac9b;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qa-panel {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.qa-panel__title {
  margin-bottom: 1rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.qa-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qa-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(228, 173, 96, 0.12);
}

.qa-list a {
  color: #eadbc3;
}

.qa-status {
  color: #efc884;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 50rem) {
  .qa-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}
:root {
  --focus-ring: 0 0 0 .2rem rgba(239, 200, 132, .22);
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  height: auto;
}

[data-parallax] {
  transform: translate3d(0, var(--parallax-offset, 0), 0) rotate(var(--parallax-rotate, 0deg));
  will-change: transform;
}

.hero__nebula--one {
  --parallax-rotate: -25deg;
}

.hero__nebula--two {
  --parallax-rotate: -25deg;
}

.profile-hero__nebula {
  --parallax-rotate: -13deg;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.memory-card:nth-child(2),
.trait-card:nth-child(2),
.favorite-card:nth-child(2) {
  transition-delay: 0.06s;
}

.memory-card:nth-child(3),
.trait-card:nth-child(3),
.favorite-card:nth-child(3) {
  transition-delay: 0.12s;
}

.memory-card:nth-child(4),
.trait-card:nth-child(4),
.favorite-card:nth-child(4) {
  transition-delay: 0.18s;
}

.site-header {
  background-color: rgba(2, 8, 17, 0.7);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header--solid {
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.12);
}

.button,
.profile-tabs__tab,
.gallery-filter,
.memory-card,
.trait-card,
.favorite-card,
.profile-pagination__overview {
  -webkit-tap-highlight-color: transparent;
}

.memory-card,
.trait-card,
.favorite-card,
.gallery-card__button,
.character-quote,
.profile-facts {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.trait-card:hover,
.favorite-card:hover,
.profile-facts:hover,
.character-quote:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(228, 173, 96, 0.55);
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.24), 0 0 2.2rem rgba(216, 154, 69, 0.18);
}

.profile-tabs__tab {
  scroll-margin-inline: 1rem;
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(228, 173, 96, 0.55);
  border-radius: 50%;
  background: rgba(3, 10, 19, 0.92);
  color: #efc884;
  cursor: pointer;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: rgba(216, 154, 69, 0.12);
}

@media (hover: none) {
  .trait-card:hover,
  .favorite-card:hover,
  .profile-facts:hover,
  .character-quote:hover {
    transform: none;
    box-shadow: none;
  }
}
@media (max-width: 40rem) {
  .scroll-top {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-parallax] {
    transform: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.profile-hero--real .profile-portrait__image {
  object-position: center 38%;
}

.profile-story--longform p + p {
  margin-top: 1.6rem;
}

.story-chapter {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  border-top: 1px solid rgba(228, 173, 96, 0.12);
  background: #050d17;
}

.story-chapter--image {
  background: radial-gradient(circle at 78% 28%, rgba(216, 154, 69, 0.07), transparent 26%), rgba(1, 7, 14, 0.58);
}

.story-chapter__layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.story-chapter--reverse .story-chapter__photo {
  order: 2;
}

.story-chapter__photo {
  margin: 0;
}

.story-chapter__photo img {
  width: 100%;
  max-height: 44rem;
  object-fit: cover;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
}

.story-chapter__photo figcaption {
  margin-top: 0.75rem;
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-style: italic;
}

.story-chapter__copy h2,
.story-chapter__narrow h2 {
  margin-bottom: 1rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
}

.story-chapter__copy p,
.story-chapter__narrow p {
  color: #e6ddd0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.85;
}

.story-chapter__narrow {
  width: min(100%, 56rem);
}

.story-chapter__narrow p + p {
  margin-top: 1.5rem;
}

.memorial-finale {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid rgba(228, 173, 96, 0.14);
  background: radial-gradient(circle at 50% 20%, rgba(216, 154, 69, 0.1), transparent 28%), #020811;
}

.memorial-finale__inner {
  text-align: center;
}

.memorial-finale h2 {
  margin-bottom: 1rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
}

.memorial-finale__inner > p:not(.eyebrow):not(.memorial-finale__dates):not(.memorial-finale__line) {
  width: min(100%, 54rem);
  margin: 0 auto 2.5rem;
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.85;
}

.memorial-finale__image {
  width: min(100%, 62rem);
  margin: 2.5rem auto;
}

.memorial-finale__image img {
  width: 100%;
  max-height: 46rem;
  object-fit: cover;
  border-radius: 0.9rem;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.42);
}

.memorial-finale__dates {
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.memorial-finale__line {
  margin-top: 0.4rem;
  color: #e4ad60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-style: italic;
}

@media (max-width: 60rem) {
  .story-chapter__layout {
    grid-template-columns: 1fr;
  }
  .story-chapter--reverse .story-chapter__photo {
    order: 0;
  }
}
.page--home,
.page--profile {
  background: linear-gradient(90deg, rgba(2, 8, 17, 0.82) 0%, rgba(2, 8, 17, 0.68) 42%, rgba(2, 8, 17, 0.56) 70%, rgba(2, 8, 17, 0.7) 100%), url("../images/backgrounds/milky-way.webp") center center/cover fixed no-repeat;
  background-color: rgba(2, 8, 17, 0.7);
}

.page--home .hero {
  background: transparent;
}

.page--home .hero::before {
  opacity: 0.28;
}

.page--home .hero__nebula {
  display: none;
}

.page--home .memory-links,
.page--home .about-strip,
.page--home .site-footer {
  position: relative;
}

.page--home .memory-links::before,
.page--home .about-strip::before,
.page--home .site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(2, 8, 17, 0.86);
  backdrop-filter: blur(8px);
}

.page--home .memory-links::before {
  background: linear-gradient(180deg, rgba(2, 8, 17, 0) 0%, rgb(2, 8, 17) 100%);
}

.page--home .about-strip::before {
  background: rgb(2, 8, 17);
}

.page--home .memory-links__grid {
  background: rgba(4, 11, 20, 0.76);
  backdrop-filter: blur(12px);
}

@media (max-width: 64rem) {
  .page--home,
  .page--profile {
    background-position: 56% center;
  }
}
@media (max-width: 40rem) {
  .page--home,
  .page--profile {
    background: linear-gradient(rgba(2, 8, 17, 0.76), rgba(2, 8, 17, 0.88)), url("../images/backgrounds/milky-way.webp") 58% center/cover scroll no-repeat;
  }
}
.profile-content--story {
  background: radial-gradient(circle at 10% 12%, rgba(216, 154, 69, 0.045), transparent 22%), linear-gradient(180deg, #050d17 0%, #030a13 72%, #020811 100%);
}

.story-index {
  position: sticky;
  top: 3.8rem;
  z-index: 12;
  border-bottom: 1px solid rgba(228, 173, 96, 0.12);
  background: rgba(3, 10, 19, 0.9);
  backdrop-filter: blur(14px);
}

.story-index__inner {
  display: flex;
  justify-content: center;
  gap: clamp(0.35rem, 3vw, 2.8rem);
  overflow-x: auto;
  scrollbar-width: thin;
}

.story-index__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.9rem 0.2rem;
  color: #b9ac9b;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.story-index__link span {
  color: #e4ad60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
}

.story-index__link:hover,
.story-index__link:focus-visible {
  color: #efc884;
}

.story-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 5rem);
}

.story-opening__intro {
  max-width: 52rem;
}

.story-opening h2 {
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  font-weight: 400;
  line-height: 0.98;
}

.story-opening__lead {
  max-width: 42rem;
  margin-top: 1.6rem;
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.65;
}

.memory-story {
  overflow: clip;
}

.memory-chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  width: min(100% - 2rem, 88rem);
  min-height: 42rem;
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 5rem);
  scroll-margin-top: 8rem;
}

.memory-chapter + .memory-chapter {
  border-top: 1px solid rgba(228, 173, 96, 0.1);
}

.memory-chapter--reverse .memory-chapter__media {
  order: 2;
}

.memory-chapter__number {
  position: absolute;
  top: clamp(3rem, 7vw, 7rem);
  right: -1rem;
  color: rgba(228, 173, 96, 0.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 18vw, 16rem);
  line-height: 0.7;
  pointer-events: none;
}

.memory-chapter--reverse .memory-chapter__number {
  right: auto;
  left: -1rem;
}

.memory-chapter__media {
  margin: 0;
}

.memory-chapter__media img {
  width: 100%;
  min-height: 34rem;
  max-height: 52rem;
  object-fit: cover;
  border: 1px solid rgba(228, 173, 96, 0.28);
  border-radius: 0.9rem;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.36);
}

.memory-chapter__media--portrait img {
  object-position: center 34%;
}

.memory-chapter__caption {
  margin-top: 0.85rem;
  color: #b9ac9b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
  font-style: italic;
}

.memory-chapter__text {
  position: relative;
  z-index: 1;
}

.memory-chapter__text h2 {
  margin: 0.4rem 0 1.6rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.04;
}

.memory-chapter__text p:not(.eyebrow) {
  color: #e6ddd0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.95;
}

.memory-chapter__text p + p {
  margin-top: 1.4rem;
}

.story-highlight {
  position: relative;
  width: min(100% - 2rem, 64rem);
  margin: clamp(1rem, 4vw, 3rem) auto;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-block: 1px solid rgba(228, 173, 96, 0.18);
  color: #eadbc3;
  text-align: center;
}

.story-highlight__mark {
  display: block;
  height: 2.4rem;
  color: #e4ad60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 0.8;
  opacity: 0.7;
}

.story-highlight p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  font-style: italic;
  line-height: 1.35;
}

.story-highlight--wide {
  width: min(100% - 2rem, 76rem);
}

.life-timeline {
  padding-block: clamp(3rem, 6vw, 6rem);
}

.life-timeline__list {
  position: relative;
  width: min(100%, 62rem);
  margin: 4rem auto 0;
  padding: 0;
  list-style: none;
}

.life-timeline__list::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 11rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, #e4ad60 8%, #e4ad60 92%, transparent);
  opacity: 0.42;
}

.life-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 4rem;
  padding-block: 1.8rem;
}

.life-timeline__item::before {
  content: "";
  position: absolute;
  top: 2.2rem;
  left: 10.66rem;
  width: 0.68rem;
  height: 0.68rem;
  border: 1px solid #efc884;
  border-radius: 50%;
  background: #050d17;
  box-shadow: 0 0 1.2rem rgba(216, 154, 69, 0.42);
}

.life-timeline__item time {
  color: #e4ad60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  text-align: right;
}

.life-timeline__item h3 {
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.life-timeline__item p {
  margin-top: 0.45rem;
  color: #b9ac9b;
  line-height: 1.75;
}

.memory-chapter--farewell {
  min-height: auto;
  padding-bottom: clamp(7rem, 12vw, 12rem);
}

.night-finale {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 7rem);
  background: linear-gradient(rgba(2, 8, 17, 0.72), rgba(2, 8, 17, 0.9)), url("../images/backgrounds/milky-way.webp") center center/cover fixed no-repeat;
}

.night-finale::before,
.night-finale__stars {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1.7px), radial-gradient(circle at 73% 31%, #e8be79 0 1px, transparent 1.7px), radial-gradient(circle at 43% 77%, #fff 0 1px, transparent 1.5px);
  background-size: 113px 113px, 173px 173px, 229px 229px;
  opacity: 0.3;
}

.night-finale__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 58rem);
  text-align: center;
}

.night-finale__icon {
  margin-inline: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 0 1rem rgba(216, 154, 69, 0.55));
}

.night-finale h2 {
  margin: 0.4rem 0 1.5rem;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
}

.night-finale__inner > p:not(.eyebrow):not(.night-finale__dates) {
  color: #eadbc3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.9;
}

.night-finale blockquote {
  margin: 2.5rem auto;
  color: #efc884;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
}

.night-finale__dates {
  color: #b9ac9b;
  letter-spacing: 0.14em;
}

.night-finale__return {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  color: #efc884;
  text-decoration: none;
}

.night-finale__return:hover {
  color: #fff0d1;
}

[data-reveal=media],
[data-reveal=text] {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal=media] {
  transform: translate3d(-2.5rem, 1.2rem, 0);
}

.memory-chapter--reverse [data-reveal=media] {
  transform: translate3d(2.5rem, 1.2rem, 0);
}

[data-reveal=text] {
  transform: translate3d(0, 2rem, 0);
  transition-delay: 0.12s;
}

[data-reveal=media].is-revealed,
[data-reveal=text].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 64rem) {
  .story-index {
    top: 0;
  }
  .story-opening,
  .memory-chapter {
    grid-template-columns: 1fr;
  }
  .memory-chapter--reverse .memory-chapter__media {
    order: 0;
  }
  .memory-chapter__media img {
    min-height: 24rem;
  }
  .memory-chapter__number,
  .memory-chapter--reverse .memory-chapter__number {
    right: 0;
    left: auto;
  }
  .night-finale {
    background-attachment: scroll;
  }
}
@media (max-width: 42rem) {
  .story-opening {
    grid-template-columns: 1fr;
  }
  .story-index__inner {
    justify-content: flex-start;
  }
  .memory-chapter {
    width: min(100% - 1.25rem, 88rem);
    padding-block: 4.5rem;
  }
  .memory-chapter__media img {
    min-height: 20rem;
  }
  .life-timeline__list::before {
    left: 0.34rem;
  }
  .life-timeline__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-left: 2rem;
  }
  .life-timeline__item::before {
    left: 0;
  }
  .life-timeline__item time {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .night-finale {
    background-attachment: scroll;
  }
  [data-reveal=media],
  [data-reveal=text] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .story-index {
    scroll-behavior: auto;
  }
}
.exception {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}
.exception .exception__title,
.exception .exception__subtitle {
  color: #e4ad60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 0.98;
}
.exception .exception__subtitle {
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin-top: 2em;
}

/*# sourceMappingURL=app.css.map */
