:root {
  color-scheme: dark;
  --bg: #14161f;
  --text: #e8e5f6;
  --muted: #aaaac5;
  --line: #41425a;
  --accent: #c4b6f5;
  --pink: #e6bcd8;
  --header-height: 98px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}
body {
  margin: 0;
  padding-top: var(--header-height);
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 300;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 6px;
}
.header {
  height: 98px;
  padding: 0 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  background: #14161ff2;
  z-index: 5;
  width: 100%;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 18px;
  letter-spacing: 9px;
}
.sigil {
  font-size: 39px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0;
}
.profession {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 5px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}
nav {
  display: flex;
  gap: 38px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
}
nav a {
  padding: 10px 0;
  color: var(--muted);
}
nav .active {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.hero {
  min-height: 900px;
  height: 100svh;
  max-height: 1180px;
  padding: 100px 4.2% 45px;
  --hero-background: radial-gradient(ellipse at 51% 35%, #333645 0%, #1c1f2c 35%, #14161f 72%);
  display: flex;
  flex-direction: column;
}
.stage {
  position: relative;
  flex: 1;
  min-height: 580px;
  display: grid;
  grid-template-columns: 29% 46% 25%;
  align-items: center;
}
.intro {
  padding-left: 32px;
  position: relative;
  z-index: 2;
  align-self: center;
  margin-top: -28px;
  pointer-events: none;
}
.intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(42px, 4.1vw, 69px);
  letter-spacing: -1.6px;
  line-height: 1.08;
  white-space: nowrap;
  margin: 13px 0 14px;
}
.count {
  display: flex;
  gap: 14px;
  font-size: 16px;
  letter-spacing: 2px;
}
.count span + span {
  color: #787b9a;
  font-size: 13px;
  align-self: center;
}
.progress {
  display: flex;
  gap: 7px;
  width: 116px;
  margin: 12px 0 36px;
}
.progress i {
  height: 2px;
  background: #45475e;
  flex: 1;
}
.progress .on {
  background: var(--accent);
}
.eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: var(--accent);
  line-height: 1.6;
}
.category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  line-height: 1.7;
  color: var(--accent);
}
.category > span:first-child {
  color: var(--pink);
  font-size: 17px;
}
.description {
  font-size: 14px;
  color: #bbbace;
  line-height: 1.85;
  max-width: 282px;
  margin: 25px 0;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 300px;
}
.tags span {
  font-size: 11px;
  font-weight: 400;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 6px 15px;
  white-space: nowrap;
  color: #bcbad1;
}
.art-stage {
  height: 100%;
  position: relative;
  align-self: stretch;
  min-width: 0;
}
.orbit {
  position: absolute;
  border: 1px solid #454459;
  border-radius: 50%;
  width: 95%;
  aspect-ratio: 1;
  top: 11%;
  left: 0;
  opacity: 0.5;
}
#art {
  position: absolute;
  inset: -70px -21% 7px -20%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#art svg {
  height: 100%;
  width: 100%;
  overflow: visible;
  max-height: 880px;
}
.artwork {
  animation: arrive 0.3s ease-out;
}
.facts {
  border: 1px solid rgb(177 158 229 / 30%);
  border-radius: 23px;
  padding: 8px 28px;
  background: linear-gradient(135deg, rgb(130 118 170 / 12%), rgb(28 30 42 / 34%) 48%, rgb(107 98 145 / 10%));
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  box-shadow: inset 0 1px 0 rgb(233 224 255 / 6%), 0 16px 48px rgb(5 6 14 / 12%);
  position: relative;
  z-index: 2;
  margin-left: 8px;
}
.fact {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 23px 0;
  border-bottom: 1px solid rgb(181 169 214 / 18%);
}
.fact:last-child {
  border: 0;
}
.fact p {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #9a94bc;
  margin: 0 0 10px;
}
.fact div > span {
  font-size: 13px;
  font-weight: 400;
  color: #d0ccdf;
  line-height: 1.5;
}
.facts-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  grid-column: 1 / -1;
  margin: 12px 0 0;
  font-size: 9px;
  letter-spacing: 1px;
  color: #9a94bc;
}
.facts-note span {
  letter-spacing: 0;
  color: #d0ccdf;
}
.icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  fill: currentColor;
  color: var(--accent);
}
.scroll {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  letter-spacing: 2.5px;
  font-size: 9px;
  font-weight: 400;
  color: var(--accent);
  z-index: 3;
}
.mouse {
  height: 33px;
  width: 21px;
  border: 1px solid var(--pink);
  border-radius: 14px;
  position: relative;
}
.mouse:after {
  content: "";
  position: absolute;
  top: 7px;
  left: 9px;
  height: 10px;
  border-left: 1px solid var(--pink);
}
.selector-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  z-index: 4;
}
.arrow {
  border: 1px solid rgb(185 166 229 / 38%);
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(147 129 188 / 12%), rgb(28 30 42 / 24%));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgb(233 224 255 / 7%);
  font-family: Georgia, serif;
  font-weight: 300;
  font-size: 33px;
  width: 49px;
  height: 49px;
  flex-shrink: 0;
  line-height: 1;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.arrow:hover {
  border-color: rgb(213 192 255 / 70%);
  background: rgb(150 122 195 / 18%);
  box-shadow: inset 0 0 12px rgb(196 182 245 / 7%), 0 0 14px rgb(196 182 245 / 14%);
}
.selector {
  display: flex;
  gap: 14px;
  padding: 7px;
  border: 1px solid rgb(177 158 229 / 28%);
  border-radius: 20px;
  flex: 1;
  min-width: 0;
  background: linear-gradient(135deg, rgb(130 118 170 / 10%), rgb(28 30 42 / 28%) 55%, rgb(107 98 145 / 8%));
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  box-shadow: inset 0 1px 0 rgb(233 224 255 / 6%), 0 12px 36px rgb(5 6 14 / 14%);
}
.character {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
  overflow: hidden;
  height: 112px;
  border: 1px solid rgb(177 158 229 / 22%);
  border-radius: 13px;
  background: linear-gradient(120deg, rgb(176 160 213 / 10%), rgb(53 51 72 / 12%) 65%, rgb(154 136 193 / 8%));
  box-shadow: inset 0 1px 0 rgb(233 224 255 / 4%);
  padding: 10px 16px 10px 49%;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.character:hover {
  border-color: rgb(196 182 245 / 55%);
  background: linear-gradient(120deg, rgb(176 160 213 / 17%), rgb(87 74 113 / 18%));
  box-shadow: inset 0 0 18px rgb(196 182 245 / 5%), 0 0 10px rgb(196 182 245 / 10%);
}
.character[aria-pressed="true"] {
  border-color: #edc9eb;
  background: linear-gradient(120deg, rgb(187 142 188 / 17%), rgb(70 53 84 / 24%) 65%, rgb(180 145 198 / 14%));
  box-shadow: inset 0 0 0 1px rgb(245 211 240 / 13%), inset 0 0 24px rgb(230 188 216 / 8%), 0 0 6px rgb(230 188 216 / 36%);
}
.portrait {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: 48%;
  overflow: hidden;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 13%;
}
.character .number {
  display: block;
  font-size: 10px;
  border: 1px solid #9690b5;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  text-align: center;
  line-height: 21px;
  margin-bottom: 7px;
}
.character strong {
  font-family: Georgia, serif;
  font-size: 21px;
  white-space: nowrap;
  font-weight: 400;
}
.character small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  line-height: 1.6;
  margin-top: 5px;
  color: var(--accent);
}
.character[aria-pressed="true"]:after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 7px rgb(255 220 245 / 85%), 0 0 17px rgb(230 188 216 / 55%);
  position: absolute;
  right: 15px;
  top: 15px;
}
.breakdown {
  border-top: 1px solid #303143;
  padding: 90px max(7.5%, calc((100% - 1300px) / 2));
  background: #171923;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-heading h2 {
  font:
    400 clamp(40px, 5vw, 64px)/1.1 Georgia,
    serif;
  margin: 12px 0 20px;
}
.section-index {
  font-size: 10px;
  letter-spacing: 3px;
  color: #8d88a6;
}
.draft-note {
  color: #9692aa;
  font-size: 12px;
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 45px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8%;
}
.detail-image {
  margin: 0;
}
.detail-image button {
  display: block;
  width: 100%;
  padding: 0;
  background: #222430;
  border: 1px solid var(--line);
  text-align: left;
  border-radius: 6px;
  overflow: hidden;
}
.detail-image img {
  display: block;
  width: 100%;
  max-height: 850px;
  object-fit: contain;
}
.detail-image button > span {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 2px;
  font-size: 10px;
  color: var(--accent);
}
figcaption {
  font-size: 11px;
  line-height: 1.6;
  color: #9793aa;
  margin-top: 13px;
}
.detail-copy h3 {
  font:
    400 33px/1.25 Georgia,
    serif;
  margin: 17px 0;
}
.detail-copy p {
  color: #b7b3c7;
  font-size: 14px;
  line-height: 1.85;
}
.detail-copy .eyebrow {
  font-size: 10px;
  color: var(--accent);
}
.studies {
  display: flex;
  gap: 20px;
  margin-top: 35px;
  border-bottom: 1px solid var(--line);
}
.study {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 0;
  background: none;
  font-size: 12px;
  color: #aaa4c0;
}
.study.active {
  border-color: var(--pink);
  color: var(--text);
}
.crop {
  height: 290px;
  overflow: hidden;
  margin-top: 22px;
  background: #242632;
}
.crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: object-position 0.25s;
}
.detail-copy h4 {
  font:
    400 24px Georgia,
    serif;
  margin: 20px 0 10px;
}
.production {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 20px;
}
.production p:last-child {
  font-size: 12px;
  color: #9692aa;
}
.end-nav {
  margin-top: 65px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.end-nav > span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #9d95b7;
}
.end-nav button {
  background: none;
  border: 0;
  font:
    400 24px Georgia,
    serif;
  padding: 12px 0;
}
.end-nav button span {
  padding-left: 22px;
  color: var(--pink);
}
footer {
  padding: 30px 5%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #9a95ac;
}
footer a:first-child {
  color: var(--text);
}
footer a span {
  color: #8d879e;
  margin-left: 10px;
}
dialog {
  border: 1px solid var(--line);
  background: #171923;
  padding: 25px;
  max-width: 94vw;
  max-height: 94svh;
  overflow: auto;
}
dialog::backdrop {
  background: #07080def;
}
dialog img {
  max-width: 85vw;
  max-height: 80svh;
  object-fit: contain;
  display: block;
  margin: auto;
}
dialog p {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.close {
  position: fixed;
  right: 25px;
  top: 20px;
  border: 1px solid var(--line);
  background: #20222e;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 26px;
  z-index: 10;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-left: 7%;
    padding-right: 7%;
  }
  .character {
    height: 130px;
  }
  .description {
    font-size: 16px;
    max-width: 320px;
  }
  .facts {
    padding: 16px 30px;
  }
  .fact {
    padding: 28px 0;
  }
}
@media (max-width: 1100px) {
  .hero {
    min-height: 850px;
  }
  .stage {
    grid-template-columns: 30% 45% 25%;
  }
  .intro {
    padding-left: 5px;
  }
  .intro h1 {
    font-size: 44px;
  }
  .description {
    font-size: 13px;
    max-width: 230px;
  }
  .facts {
    padding: 4px 18px;
  }
  .fact {
    gap: 10px;
    padding: 20px 0;
  }
  .icon {
    font-size: 23px;
  }
  .fact div > span {
    font-size: 12px;
  }
  .character {
    padding-left: 44%;
    height: 98px;
  }
  .character strong {
    font-size: 17px;
  }
  .character small {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .selector-wrap {
    gap: 12px;
  }
  .profession {
    letter-spacing: 3px;
  }
  .description {
    margin: 20px 0;
  }
  .tags span {
    padding: 5px 10px;
  }
}
@media (max-width: 760px) {
  .header {
    position: relative;
    height: 79px;
    padding: 0 6%;
    background: #191b26;
  }
  .brand {
    font-size: 15px;
    letter-spacing: 5px;
    gap: 12px;
  }
  .sigil {
    font-size: 29px;
  }
  .profession {
    display: none;
  }
  nav {
    gap: 18px;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .hero {
    height: auto;
    min-height: 0;
    padding: 0 6% 30px;
    max-height: none;
    --hero-background: radial-gradient(ellipse at 50% 29%, #323546, #191c28 50%, #14161f 85%);
  }
  .stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .intro {
    order: 1;
    align-self: stretch;
    margin: 26px 0 0;
    padding: 0;
  }
  .count {
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 0;
  }
  .progress {
    display: none;
  }
  .intro .eyebrow {
    margin: 0;
    font-size: 9px;
  }
  .intro h1 {
    font-size: 42px;
    margin: 10px 0;
  }
  .category {
    font-size: 8px;
    letter-spacing: 2px;
    margin: 0;
  }
  .description {
    max-width: none;
    font-size: 13px;
    line-height: 1.7;
    margin: 16px 0 12px;
  }
  .tags {
    max-width: none;
    gap: 6px;
  }
  .tags span {
    font-size: 9px;
    padding: 4px 10px;
  }
  .art-stage {
    order: 2;
    height: 490px;
    width: 100%;
    margin-top: 15px;
    flex-shrink: 0;
  }
  .orbit {
    width: 95%;
    top: 15%;
  }
  #art {
    inset: 0 -7% 0;
  }
  .facts {
    order: 3;
    margin: 15px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 4px 17px;
    border-radius: 15px;
    gap: 0 16px;
  }
  .fact {
    padding: 15px 0;
    gap: 12px;
  }
  .fact:nth-last-child(2) {
    border-bottom: 0;
  }
  .fact:last-child {
    grid-column: 1 / -1;
  }
  .fact p {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-bottom: 7px;
  }
  .fact div > span {
    font-size: 11px;
  }
  .scroll {
    position: static;
    transform: none;
    order: 4;
    margin-top: 24px;
    gap: 5px;
    font-size: 8px;
  }
  .mouse {
    display: none;
  }
  .selector-wrap {
    margin-top: 22px;
    gap: 8px;
    position: relative;
  }
  .selector {
    gap: 7px;
    padding: 6px;
    border-radius: 13px;
  }
  .arrow {
    width: 29px;
    height: 29px;
    font-size: 22px;
  }
  .character {
    height: 100px;
    padding: 0 5px 8px;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
  }
  .portrait {
    width: 100%;
    height: 64px;
    bottom: auto;
    opacity: 0.9;
  }
  .character strong {
    font-size: 11px;
    position: relative;
  }
  .character small,
  .character .number {
    display: none;
  }
  .character[aria-pressed="true"]:after {
    right: 6px;
    top: 6px;
    width: 5px;
    height: 5px;
  }
  .breakdown {
    padding: 55px 6%;
  }
  .section-index {
    display: none;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .draft-note {
    font-size: 11px;
    margin-bottom: 30px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .detail-image img {
    max-height: 650px;
  }
  .detail-copy h3 {
    font-size: 30px;
  }
  .crop {
    height: 280px;
  }
  .end-nav > span {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .end-nav button {
    font-size: 20px;
  }
  .end-nav button span {
    padding-left: 10px;
  }
  footer {
    flex-wrap: wrap;
    padding: 25px 6%;
    font-size: 8px;
    line-height: 1.7;
  }
  footer > span {
    display: none;
  }
  dialog {
    padding: 12px;
  }
  .close {
    right: 12px;
    top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.portrait svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 65%, transparent);
  mask-image: linear-gradient(90deg, #000 65%, transparent);
}
.crop img {
  transform-origin: center 25%;
}
/* Shared navigation and independently sized character cards. */
.brand {
  letter-spacing: 2.5px;
  white-space: nowrap;
  gap: 22px;
}
.profession {
  letter-spacing: 2.5px;
  padding-left: 22px;
}
nav {
  flex-shrink: 0;
  text-transform: uppercase;
}
.arrow {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
}
.arrow svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Balance the chevrons optically within their centered SVG boxes. */
#previous svg {
  transform: translateX(-5%);
}
#next svg {
  transform: translateX(5%);
}
.selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 0;
  flex: 1 1 0;
  overflow: hidden;
}
.character {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 10px;
  padding: 0 12px 0 0;
  align-items: center;
  justify-content: initial;
}
.character > span:last-child {
  min-width: 0;
  padding: 8px 0;
}
.character strong {
  display: block;
  white-space: normal;
  overflow-wrap: normal;
  font-size: clamp(16px, 1.5vw, 23px);
  line-height: 1.15;
}
.character small {
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1.6;
}
.portrait {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.portrait svg {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.content-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 55% 10%, #292c3b 0%, #14161f 68%);
}
.content-page .header {
  position: relative;
  flex-shrink: 0;
}
.page-main {
  width: min(1150px, 85%);
  margin: 65px auto 100px;
  flex: 1;
}
.page-main .page-title {
  font:
    400 clamp(56px, 7vw, 94px)/1.1 Georgia,
    serif;
  letter-spacing: -2px;
  margin: 17px 0 62px;
}
.page-dot {
  color: var(--pink);
}
.page-columns {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12%;
  border-top: 1px solid var(--line);
  padding-top: 45px;
}
.page-main .page-subtitle {
  font:
    400 34px/1.2 Georgia,
    serif;
  margin: 0 0 15px;
}
.page-role {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}
.page-lead {
  font-size: 20px;
  line-height: 1.65;
  margin-top: 30px;
  color: #d3cfe1;
}
.page-placeholder {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 400px;
}
.text-link {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-top: 22px;
}
.text-link:hover {
  color: var(--pink);
  border-color: var(--pink);
}
.page-aside {
  border-left: 1px solid var(--line);
  padding-left: 45px;
}
.page-aside h3 {
  font:
    400 33px/1.3 Georgia,
    serif;
  margin: 20px 0;
}
.page-aside > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .header {
    gap: 20px;
  }
  .brand {
    font-size: 16px;
    gap: 15px;
    letter-spacing: 2px;
  }
  .profession {
    padding-left: 15px;
    font-size: 8px;
    letter-spacing: 2px;
  }
  nav {
    gap: 23px;
    font-size: 10px;
  }
  .character {
    grid-template-columns: 39% minmax(0, 1fr);
    gap: 8px;
    padding-right: 10px;
  }
  .character strong {
    font-size: 17px;
  }
  .character small {
    font-size: 7px;
    letter-spacing: 1px;
  }
}
@media (max-width: 760px) {
  .header {
    height: auto;
    min-height: 102px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 16px 6%;
  }
  .brand {
    font-size: 17px;
    letter-spacing: 2px;
  }
  nav {
    width: 100%;
    gap: 27px;
    font-size: 9px;
  }
  nav a {
    padding: 4px 0 7px;
  }
  .arrow svg {
    width: 18px;
    height: 18px;
  }
  .selector {
    gap: 6px;
    padding: 5px;
  }
  .selector-wrap {
    gap: 6px;
  }
  .character {
    height: 114px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 68px minmax(0, 1fr);
    gap: 0;
    padding: 0 4px 4px;
    align-items: center;
    text-align: center;
  }
  .character > span:last-child {
    padding: 2px 0;
  }
  .character strong {
    font-size: 11px;
    line-height: 1.15;
  }
  .portrait {
    position: relative;
    inset: auto;
    width: calc(100% + 8px);
    height: 68px;
    margin-left: -4px;
  }
  .character small,
  .character .number {
    display: none;
  }
  .page-main {
    width: 88%;
    margin: 40px auto 60px;
  }
  .page-main .page-title {
    margin-bottom: 35px;
  }
  .page-columns {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 30px;
  }
  .page-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0 0;
  }
  .page-main .page-subtitle {
    font-size: 29px;
  }
  .page-lead {
    font-size: 18px;
  }
}

/* Anchored sections share the portfolio's continuous page. */
.page-main {
  margin: 0 auto;
  padding: 90px 0 100px;
}
.page-main + .page-main {
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) {
  :root {
    --header-height: 102px;
  }
  .header {
    position: fixed;
  }
  .page-main {
    margin: 0 auto;
    padding: 55px 0 60px;
  }
}

/* The opening composition reserves space for the complete character selector. */
:root {
  --header-height: 80px;
}
.header {
  height: var(--header-height);
  padding-inline: 4.2%;
  background: transparent;
}
.brand {
  gap: 20px;
  font-size: 16px;
  letter-spacing: 3.5px;
}
.profession {
  padding-left: 24px;
  font-size: 9px;
  letter-spacing: 4px;
}
.header nav {
  gap: 36px;
  font-size: 11px;
  letter-spacing: 2px;
}
.header nav a {
  position: relative;
  padding: 12px 3px;
  border-bottom: 0;
  transition: color 0.2s;
}
.header nav a:hover {
  color: var(--text);
}
.header nav .active:after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(90deg, transparent, var(--accent) 20% 80%, transparent);
  box-shadow: 0 0 10px #bda3ff88;
}
.header nav .active:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  bottom: -1.5px;
  left: calc(50% - 2.5px);
  border-radius: 50%;
  background: #e5d9ff;
  box-shadow: 0 0 8px #c4b6f5;
}
.hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - var(--header-height));
  min-height: 0;
  max-height: none;
  padding: 20px 4.2% 24px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--header-height)) 0 0;
  z-index: -1;
  background: var(--hero-background);
  pointer-events: none;
}
.hero-rail {
  position: absolute;
  top: calc(-1 * var(--header-height) + 28px);
  bottom: 18%;
  left: 4.2%;
  width: 1px;
  background: linear-gradient(transparent, rgb(171 155 220 / 26%) 12%, rgb(171 155 220 / 26%) 60%, transparent);
  pointer-events: none;
}
.hero-rail span {
  position: absolute;
  top: 29%;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #f5d4ff;
  box-shadow: 0 0 7px #e6bcd8, 0 0 18px #c49af0, 0 0 32px rgb(196 154 240 / 55%);
}
.hero-rail span:before,
.hero-rail span:after {
  content: "";
  position: absolute;
  inset: -4px 3px;
  background: #f5d4ff;
  transform: rotate(-45deg);
}
.hero-rail span:after {
  transform: rotate(45deg);
}
.stage {
  min-height: 0;
}
#art {
  inset: 0 -21% 42px -20%;
}
.selector-wrap {
  flex-shrink: 0;
  margin-top: 18px;
}
.intro {
  margin-top: 0;
}
.orbit {
  width: min(95%, 64svh);
  max-height: 100%;
}
@media (min-width: 761px) and (max-height: 800px) {
  .hero {
    padding-top: 12px;
    padding-bottom: 18px;
  }
  .intro h1 {
    font-size: clamp(34px, 3.7vw, 58px);
    margin-block: 10px;
  }
  .progress {
    margin: 8px 0 18px;
  }
  .description {
    margin: 16px 0;
    font-size: 13px;
    line-height: 1.65;
  }
  .tags span {
    padding: 4px 10px;
    font-size: 10px;
  }
  .facts {
    padding-block: 4px;
  }
  .fact {
    padding-block: 16px;
  }
  .character {
    height: 98px;
  }
  .scroll {
    gap: 5px;
    font-size: 8px;
  }
  .mouse {
    height: 25px;
    width: 18px;
  }
  .mouse:after {
    left: 8px;
    height: 7px;
  }
}
@media (min-width: 761px) and (max-height: 620px) {
  .intro h1 {
    font-size: 34px;
  }
  .intro .eyebrow {
    margin-block: 4px;
  }
  .progress {
    margin-bottom: 10px;
  }
  .description {
    font-size: 11px;
    margin-block: 10px;
  }
  .tags {
    gap: 4px;
  }
  .tags span {
    font-size: 9px;
    padding: 3px 8px;
  }
  .fact {
    padding-block: 9px;
  }
  .fact p {
    margin-bottom: 5px;
  }
  .character {
    height: 80px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .brand {
    gap: 14px;
    font-size: 14px;
    letter-spacing: 2.5px;
  }
  .profession {
    display: none;
  }
  .header nav {
    gap: 24px;
  }
}
@media (max-width: 760px) {
  :root {
    --header-height: 96px;
  }
  .header {
    height: var(--header-height);
    min-height: 0;
    padding: 10px 5% 12px;
    gap: 7px;
  }
  .brand {
    gap: 12px;
    font-size: 14px;
    letter-spacing: 3px;
  }
  .header nav {
    gap: 28px;
    padding-left: 0;
    font-size: 9px;
    letter-spacing: 1.8px;
  }
  .header nav a {
    padding: 5px 0 8px;
  }
  .hero {
    height: auto;
    padding: 0 5% 28px;
  }
  .hero-rail {
    display: none;
  }
  .stage,
  .intro {
    display: contents;
  }
  .intro-heading {
    order: 0;
    position: relative;
    height: 126px;
    flex-shrink: 0;
    padding-top: 18px;
  }
  .intro h1 {
    font-size: clamp(32px, 8vw, 42px);
  }
  .count {
    top: 18px;
  }
  .art-stage {
    order: 1;
    height: max(110px, calc(100svh - var(--header-height) - 278px));
    margin-top: 0;
  }
  #art {
    inset: 0;
  }
  .orbit {
    width: min(90%, 40svh);
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
  }
  .selector-wrap {
    order: 2;
    margin: 12px 0 16px;
    height: 112px;
  }
  .character {
    height: 100px;
    grid-template-rows: 64px minmax(0, 1fr);
  }
  .portrait {
    height: 64px;
  }
  .portrait svg {
    -webkit-mask-image: linear-gradient(#000 65%, transparent);
    mask-image: linear-gradient(#000 65%, transparent);
  }
  .scroll {
    order: 3;
    margin: 14px 0 24px;
    align-self: center;
  }
  .character-summary {
    order: 4;
  }
  .description {
    margin-top: 0;
  }
  .facts {
    order: 5;
    margin-top: 24px;
  }
}
