/* PZ Lite Universe / About. Isolated page stylesheet; no shop CSS is imported. */
:root {
  color-scheme: dark;
  --about-bg: #07050d;
  --about-text: #f5f0fc;
  --about-muted: #b6a9c9;
  --about-accent: #ce8aff;
  --about-line: rgba(181, 103, 244, 0.22);
  --about-header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--about-header-height) + 22px);
}

body.pz-about {
  margin: 0;
  min-width: 0;
  background: var(--about-bg);
  color: var(--about-text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.pz-about a {
  color: inherit;
  text-decoration: none;
}

.pz-about button {
  color: inherit;
  font: inherit;
}

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

.pz-about :focus-visible {
  outline: 2px solid var(--about-accent);
  outline-offset: 5px;
}

.pz-about ::selection {
  color: #fff;
  background: #672b91;
}

.pz-about [hidden] {
  display: none !important;
}

.pz-about figure,
.pz-about blockquote {
  margin: 0;
}

.pz-about h1,
.pz-about h2,
.pz-about h3,
.pz-about p {
  margin-top: 0;
}

.about-skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 16px;
  padding: 12px 18px;
  background: #29113e;
  transform: translateY(-180%);
}

.about-skip:focus {
  transform: none;
}

.about-container {
  width: min(1500px, calc(100% - 72px));
  margin-inline: auto;
}

.about-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--about-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 3vw, 54px);
  border-bottom: 1px solid var(--about-line);
  background: rgba(7, 5, 13, 0.97);
}

.about-brand {
  flex: 0 0 238px;
}

.about-brand img {
  width: 238px;
  height: auto;
}

.about-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 34px);
  font-size: 13px;
  white-space: nowrap;
}

.about-header__nav a {
  transition: color 240ms ease;
}

.about-header__nav a:hover {
  color: var(--about-accent);
}

.about-header__nav .is-current,
.about-account {
  border: 1px solid rgba(200, 133, 248, 0.45);
  border-radius: 999px;
  padding: 7px 18px;
  background: rgba(51, 23, 72, 0.22);
}

.about-account {
  font-size: 12px;
  white-space: nowrap;
  transition: border-color 240ms ease, background-color 240ms ease;
}

.about-account:hover {
  border-color: var(--about-accent);
  background: #261332;
}

.about-hero {
  position: relative;
  isolation: isolate;
  min-height: 604px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #08050d;
}

.about-hero__visual {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 22%;
}

.about-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.about-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #08050d 5%, rgba(8, 5, 13, 0.96) 22%, rgba(8, 5, 13, 0.64) 38%, rgba(8, 5, 13, 0.03) 65%), linear-gradient(0deg, #07050d 0%, transparent 21%, transparent 90%, rgba(7, 5, 13, 0.16));
}

.about-rail {
  position: absolute;
  top: 72px;
  left: clamp(18px, 2.8vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 12px;
  color: #b6a7ca;
}

.about-rail a {
  display: flex;
  gap: 10px;
  transition: color 220ms ease;
}

.about-rail a:first-child,
.about-rail a:hover {
  color: var(--about-accent);
}

.about-rail span {
  color: #8c72a9;
  font-variant-numeric: tabular-nums;
}

.about-hero__copy {
  width: min(560px, 45%);
  margin-left: clamp(176px, 14.4vw, 242px);
  padding: 48px 0 46px;
}

.about-eyebrow {
  color: var(--about-accent);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-hero__copy > .about-eyebrow {
  display: inline-flex;
  padding: 4px 12px;
  border: 1px solid var(--about-line);
  border-radius: 999px;
  background: rgba(21, 12, 31, 0.6);
  letter-spacing: 1.4px;
  margin-bottom: 16px;
}

.about-hero h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.5vw, 84px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -2px;
}

.about-hero__motto {
  color: #d9b9f5;
  font: italic 19px/1.25 Georgia, "Times New Roman", serif;
  margin: 0 0 24px;
}

.about-hero__lead {
  max-width: 400px;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.about-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 11px 18px;
  border: 1px solid rgba(190, 114, 243, 0.55);
  border-radius: 13px;
  background: rgba(13, 8, 23, 0.76);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  transition: transform 280ms ease, box-shadow 320ms ease, border-color 280ms ease;
}

.pz-about .about-button--primary {
  color: #1b072b;
  background: linear-gradient(125deg, #d9a0ff, #b758f1);
  border-color: #cf88ff;
  box-shadow: 0 5px 26px rgba(166, 55, 234, 0.22);
}

.about-button:hover {
  border-color: #e1b6ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(181, 66, 255, 0.17);
}

.about-hero blockquote {
  color: #c1aecf;
  font: italic 16px/1.6 Georgia, "Times New Roman", serif;
  margin: 24px 0 16px;
}

.about-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c6b8d4;
  font-size: 10px;
}

.about-scroll span {
  font-size: 18px;
}

.about-legend-label {
  color: #b4a6c3;
  font-size: 10px;
  margin: 14px 0 0;
}

.about-story-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.about-story-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  overflow: hidden;
  background: #0b0712;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1), border-color 300ms ease, box-shadow 420ms ease;
}

.about-story-card__art {
  position: relative;
  aspect-ratio: 2.65 / 1;
  overflow: hidden;
}

.about-story-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, #0b0712 0%, rgba(11, 7, 18, 0.08) 66%);
}

.about-story-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

/* The supplied sketch art contains a baked-in caption at the bottom.
 * Crop only the rendered window, never the source pixels; keep live HTML text. */
.pz-about .about-story-card__image--sketch {
  position: absolute;
  top: 0;
  left: -10%;
  width: 145%;
  max-width: none;
  height: auto;
}

.about-story-card__copy {
  position: relative;
  padding: 10px 54px 18px 18px;
}

.about-story-card h2 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 5px;
}

.about-story-card p {
  color: var(--about-muted);
  font-size: 10px;
  line-height: 1.5;
  margin: 0;
}

.about-story-card__number {
  position: absolute;
  right: 15px;
  bottom: 24px;
  color: #aa7fcb;
  font: 23px/1 Georgia, serif;
}

.about-story-card__number span {
  font: 15px/1 "Segoe UI", Arial, sans-serif;
}

@media (hover: hover) and (pointer: fine) {
  .about-story-card:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 140, 255, 0.7);
    box-shadow: 0 12px 30px rgba(98, 34, 140, 0.16);
  }

  .about-story-card:hover .about-story-card__image {
    transform: scale(1.035);
  }
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.25fr;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  margin-top: 24px;
  border-top: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
}

.about-facts p {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.about-facts strong {
  color: #e9cfff;
  font: 48px/1 Georgia, serif;
}

.about-facts span,
.about-facts blockquote {
  color: var(--about-muted);
  font-size: 12px;
  line-height: 1.6;
}

.about-facts blockquote {
  border-left: 1px solid var(--about-line);
  padding-left: 28px;
  color: #d8b0f7;
  font-style: italic;
}

.about-section {
  padding-top: 92px;
}

.about-section__heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 34px;
}

.about-section__heading h2,
.about-ending h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin: 0;
}

.about-section__intro {
  max-width: 510px;
  color: var(--about-muted);
  font-size: 14px;
  margin-bottom: 0;
}

.about-text-button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--about-line);
  background: transparent;
  color: var(--about-accent) !important;
  cursor: pointer;
  font-size: 12px !important;
}

.about-chapters {
  display: grid;
  gap: 12px;
}

.about-chapter {
  min-width: 0;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(116, 63, 152, 0.08), rgba(33, 22, 47, 0.04));
}

.about-chapter > summary {
  list-style: none;
  display: grid;
  grid-template-columns: 50px 1fr 28px;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  min-height: 88px;
  cursor: pointer;
  border-radius: inherit;
  transition: background-color 240ms ease;
}

.about-chapter > summary::-webkit-details-marker {
  display: none;
}

.about-chapter > summary:hover {
  background: rgba(140, 73, 189, 0.07);
}

.about-chapter__number {
  font: 25px/1 Georgia, serif;
  color: #b687db;
}

.about-chapter h3 {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.4;
}

.about-chapter__toggle {
  position: relative;
  width: 24px;
  height: 24px;
}

.about-chapter__toggle::before,
.about-chapter__toggle::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 16px;
  height: 1px;
  background: #d3abf0;
}

.about-chapter__toggle::after {
  transform: rotate(90deg);
  transition: transform 260ms ease;
}

.about-chapter[open] .about-chapter__toggle::after {
  transform: rotate(0deg);
}

.about-chapter__body {
  overflow: hidden;
}

.about-chapter__text {
  max-width: 850px;
  margin: 0 auto;
  padding: 4px 38px 40px;
  font-size: 17px;
  line-height: 1.85;
  color: #e8e0ee;
}

.about-chapter__text p {
  margin: 0 0 16px;
}

.about-chapter__text .about-dialogue {
  color: #d5b7ed;
}

.about-ensemble {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--about-line);
}

.about-ensemble img {
  width: 100%;
  height: auto;
}

.about-heroines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.about-person {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(130, 57, 175, 0.09), transparent);
}

.about-person h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 16px;
}

.about-person p:not(.about-eyebrow) {
  color: var(--about-muted);
  font-size: 14px;
}

.about-person a {
  color: var(--about-accent);
  font-size: 12px;
}

.about-person a span {
  padding-left: 12px;
}

.about-universe-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.about-workshop {
  border: 1px solid var(--about-line);
  border-radius: 20px;
  overflow: hidden;
}

.about-workshop img {
  width: 100%;
  height: auto;
}

.about-workshop figcaption {
  padding: 12px 18px;
  color: var(--about-muted);
  font-size: 12px;
}

.about-directions article {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--about-line);
}

.about-direction-number {
  color: #ad76d4;
  font: 22px/1.5 Georgia, serif;
}

.about-directions h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
}

.about-directions p {
  color: var(--about-muted);
  font-size: 14px;
  margin: 0;
}

.about-ending {
  margin-top: 100px;
  padding: 70px 20px;
  text-align: center;
  border-top: 1px solid var(--about-line);
  background: radial-gradient(ellipse at center, rgba(112, 50, 160, 0.15), transparent 70%);
}

.about-ending > p:not(.about-eyebrow) {
  color: var(--about-muted);
  margin: 24px 0;
  font-size: 15px;
}

.about-ending .about-actions {
  justify-content: center;
}

.about-footer {
  border-top: 1px solid var(--about-line);
  padding-top: 26px;
  padding-bottom: 26px;
}

.about-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.about-footer strong {
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.about-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 11px;
  color: #b6a9c9;
}

.about-footer > p {
  font-size: 10px;
  color: #ad9fbc;
  margin: 18px 0 0;
}

@media (max-width: 1199px) {
  .about-rail {
    display: none;
  }

  .about-hero__copy {
    margin-left: 5%;
    width: 50%;
  }

  .about-hero h1 {
    font-size: clamp(46px, 6.1vw, 70px);
  }

  .about-header {
    gap: 16px;
    padding-inline: 24px;
  }

  .about-brand {
    flex-basis: 205px;
  }

  .about-header__nav {
    gap: 16px;
    font-size: 12px;
  }

  .about-story-card__copy {
    padding-left: 14px;
    padding-right: 42px;
  }

  .about-story-card h2 {
    font-size: 12px;
  }

  .about-story-card__number {
    right: 10px;
    font-size: 18px;
  }
}

@media (max-width: 899px) {
  .about-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 16px;
    padding-bottom: 12px;
  }

  .about-brand {
    width: 180px;
  }

  .about-header__nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 10px;
  }

  :root {
    --about-header-height: 112px;
  }

  .about-hero__copy {
    width: 56%;
  }

  .about-story-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-story-card h2 {
    font-size: 14px;
  }

  .about-section__heading {
    gap: 24px;
  }

  .about-heroines {
    gap: 12px;
  }

  .about-person {
    padding: 20px;
  }

  .about-person h3 {
    font-size: 18px;
  }

  .about-universe-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .about-container {
    width: calc(100% - 32px);
  }

  .about-header {
    padding-inline: 16px;
  }

  .about-header__nav {
    font-size: 10px;
    gap: 5px;
  }

  .about-header__nav .is-current {
    padding: 6px 10px;
  }

  .about-account {
    padding: 7px 13px;
  }

  .about-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .about-hero__visual {
    position: relative;
    z-index: 0;
    inset: auto;
    width: 100%;
  }

  .about-hero__visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .about-hero::after {
    display: none;
  }

  .about-hero__copy {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 28px 0 34px;
  }

  .about-hero h1 {
    font-size: clamp(45px, 12vw, 65px);
    letter-spacing: -1px;
  }

  .about-hero__motto {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .about-hero__lead {
    font-size: 14px;
  }

  .about-hero__lead br {
    display: none;
  }

  .about-actions {
    gap: 10px;
  }

  .about-button {
    font-size: 11px;
    min-height: 46px;
    padding-inline: 12px;
    gap: 10px;
  }

  .about-hero blockquote {
    font-size: 15px;
    margin-top: 22px;
  }

  .about-story-cards {
    gap: 12px;
  }

  .about-story-card__art {
    aspect-ratio: 2.65 / 1;
  }

  .about-story-card__copy {
    padding: 8px 12px 16px;
  }

  .about-story-card h2 {
    font-size: 13px;
    min-height: 36px;
  }

  .about-story-card p {
    font-size: 10px;
  }

  .about-story-card__number {
    display: none;
  }

  .about-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 24px 0;
  }

  .about-facts p {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .about-facts strong {
    font-size: 36px;
  }

  .about-facts span {
    font-size: 10px;
  }

  .about-facts blockquote {
    grid-column: 1 / -1;
    padding: 10px 0 0;
    border: 0;
  }

  .about-facts blockquote br {
    display: none;
  }

  .about-section {
    padding-top: 58px;
  }

  .about-section__heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 26px;
  }

  .about-section__heading h2,
  .about-ending h2 {
    font-size: 34px;
  }

  .about-chapter > summary {
    grid-template-columns: 30px 1fr 22px;
    gap: 9px;
    padding: 18px 14px;
  }

  .about-chapter__number {
    font-size: 21px;
  }

  .about-chapter h3 {
    font-size: 16px;
  }

  .about-chapter__text {
    padding: 0 18px 26px;
    font-size: 16px;
    line-height: 1.85;
  }

  .about-heroines {
    grid-template-columns: 1fr;
  }

  .about-person {
    padding: 24px;
  }

  .about-person h3 {
    font-size: 22px;
  }

  .about-ending {
    margin-top: 64px;
    padding: 45px 0;
  }

  .about-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .about-button:hover,
  .about-story-card:hover,
  .about-story-card:hover .about-story-card__image {
    transform: none;
  }
}

@media print {
  body.pz-about {
    background: #fff;
    color: #111;
  }

  .about-header,
  .about-skip,
  .about-rail,
  .about-story-cards,
  .about-actions,
  .about-scroll,
  .about-text-button,
  .about-hero__visual {
    display: none;
  }

  .about-hero,
  .about-hero__copy {
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 12px 0;
    background: #fff;
  }

  .about-hero::after {
    display: none;
  }

  .about-container {
    width: 100%;
  }

  .pz-about * {
    color: #111 !important;
    animation: none !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .about-chapter::details-content {
    content-visibility: visible;
  }

  .about-chapter__body {
    display: block !important;
    height: auto !important;
    overflow: visible;
  }

  .about-chapter__text {
    max-width: none;
  }

  .about-section {
    padding-top: 28px;
  }
}
