@import url("./base.css");

.hero {
  display: grid;
  grid-template-columns: minmax(22rem, 0.82fr) minmax(0, 1.18fr);
  min-height: 100svh;
  padding-top: 5.25rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 10vw, 10rem) var(--space) 3.5rem;
}

.kicker,
.about-label,
.note-index,
.note-sign {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker { margin: 0 0 2.75rem; color: var(--silver); }

.hero h1 {
  margin: 0;
  font-family: var(--display-cn);
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 0.9;
}

.hero-name {
  margin: 0.75rem 0 0;
  color: transparent;
  font-family: var(--display-en);
  font-size: clamp(2.2rem, 4.7vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(239, 239, 236, 0.48);
}

.hero-intro {
  margin: auto 0 2.2rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.75;
}

.text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(18rem, 100%);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--dark-line);
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 180ms ease;
}

.text-link:hover { border-color: var(--paper); }

.hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--dark-line);
  background: #111;
}

.hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), transparent 35%);
  content: "";
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.05) brightness(0.82);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 600ms ease;
}

.hero-image:hover img {
  transform: scale(1.015);
  filter: grayscale(1) contrast(1.04) brightness(0.92);
}

html[data-theme="light"] .hero-name {
  -webkit-text-stroke-color: rgba(9, 9, 9, 0.38);
}

html[data-theme="light"] .text-link:hover { border-color: var(--black); }

html[data-theme="light"] .hero-image {
  background: #deded9;
}

html[data-theme="light"] .hero-image::after {
  background: linear-gradient(90deg, rgba(255, 255, 252, 0.18), transparent 35%);
}

html[data-theme="light"] .hero-image img {
  filter: grayscale(1) invert(1) contrast(0.96) brightness(1.02);
}

html[data-theme="light"] .hero-image:hover img {
  filter: grayscale(1) invert(1) contrast(1) brightness(1.06);
}

.books {
  padding: clamp(7rem, 12vw, 12rem) var(--space);
  background: var(--paper);
  color: var(--black);
}

html[data-theme="light"] .books {
  background: #e7e7e3;
  color: #0c0c0c;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: end;
  gap: 1rem 4rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.section-heading > p {
  margin: 0;
  color: #676763;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading > p:last-child {
  grid-column: 2;
  margin-top: 0.5rem;
  letter-spacing: 0;
  text-transform: none;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display-cn);
  font-size: clamp(3rem, 6vw, 6.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.book-list { border-top: 1px solid var(--black); }

.book-row {
  display: grid;
  grid-template-columns: 3rem minmax(15rem, 1.4fr) minmax(12rem, 0.75fr) 4rem;
  align-items: baseline;
  width: 100%;
  min-height: 7.75rem;
  gap: 1.5rem;
  padding: 1.45rem 0;
  border: 0;
  border-bottom: 1px solid var(--light-line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.book-number,
.book-meta,
.book-kind {
  color: #686864;
  font-size: 0.78rem;
}

.book-title {
  font-family: var(--display-cn);
  font-size: clamp(2rem, 3.6vw, 4.1rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.book-kind { text-align: right; }

.book-row:hover .book-title,
.book-row:focus-visible .book-title { transform: translateX(0.75rem); }

.about {
  display: grid;
  grid-template-columns: 0.55fr 1fr 0.45fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  min-height: 70vh;
  padding: clamp(7rem, 12vw, 12rem) var(--space);
}

.about-label { margin: 0; color: var(--silver); }

.about h2 {
  margin: 0;
  font-family: var(--display-cn);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.about-copy {
  align-self: end;
  margin: 13rem 0 0;
  color: #b7b7b2;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.9;
}

html[data-theme="light"] .about-copy { color: #555551; }

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  padding: 1.5rem var(--space);
  border-top: 1px solid var(--dark-line);
  color: var(--silver);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer a { text-underline-offset: 0.3rem; }

.note-panel {
  width: min(38rem, 100%);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-left: 1px solid #3d3d3a;
  background: var(--paper);
  color: var(--black);
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), overlay 420ms allow-discrete, display 420ms allow-discrete;
}

.note-panel[open] { transform: translateX(0); }

@starting-style {
  .note-panel[open] { transform: translateX(100%); }
}

.note-panel::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(5px);
}

.note-shell {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.note-close {
  align-self: flex-end;
  padding: 0 0 0.25rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.78rem;
}

.note-index { margin: 0; color: #686864; }

.note-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.note-original {
  margin: 0 0 0.75rem;
  color: #686864;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note-main h2 {
  margin: 0;
  font-family: var(--display-cn);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.note-meta { margin: 1rem 0 0; color: #686864; font-size: 0.82rem; }

.note-main blockquote {
  margin: 5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-line);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.75;
}

.note-sign { margin: 0; color: #686864; }

/* Personal space */
html {
  --things-bg: #121211;
  --things-text: #efefec;
  --thing-line: rgba(255, 255, 255, 0.16);
  --thing-muted: #a4a4a0;
  --film-bg: #191a1a;
  --novel-bg: #222221;
  --music-bg: #d1d1ca;
  --ghost-stroke: rgba(239, 239, 236, 0.12);
}

html[data-theme="light"] {
  --things-bg: #e8e8e4;
  --things-text: #111110;
  --thing-line: rgba(9, 9, 9, 0.18);
  --thing-muted: #666662;
  --film-bg: #e0e0db;
  --novel-bg: #f5f5f1;
  --music-bg: #d7d7d1;
  --ghost-stroke: rgba(9, 9, 9, 0.13);
}

.space-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  min-height: min(82svh, 52rem);
  gap: clamp(2rem, 6vw, 8rem);
  padding: 8rem var(--space) 3.3rem;
  border-bottom: 1px solid var(--dark-line);
}

.space-hero__main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.space-eyebrow,
.space-hero__index > p,
.things-heading > p,
.thing__top,
.thing__bottom {
  font-family: var(--display-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.5;
}

.space-eyebrow {
  margin: 0 0 clamp(1.5rem, 4vw, 4rem);
  color: var(--silver);
}

.space-hero h1 {
  margin: 0;
  font-family: var(--logo-cn);
  font-size: clamp(7.5rem, 13vw, 15rem);
  font-synthesis: none;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.9;
  white-space: nowrap;
}

.space-hero__roman {
  margin: 1rem 0 0;
  color: transparent;
  font-family: var(--display-en);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(239, 239, 236, 0.48);
}

html[data-theme="light"] .space-hero__roman {
  -webkit-text-stroke-color: rgba(9, 9, 9, 0.4);
}

.space-hero__bottom {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto;
  padding-top: 4.5rem;
}

.space-hero__statement {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  line-height: 1.35;
}

.space-hero__kinds {
  margin: 0.9rem 0 2.5rem;
  color: var(--silver);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.space-hero__kinds span { margin: 0 0.5em; opacity: 0.45; }

.space-hero__enter {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 2.75rem;
  padding: 0 0 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  text-decoration: none;
}

.space-hero__enter span {
  font-size: 1.15rem;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.space-hero__enter:hover span { transform: translateY(0.25rem); }

.space-hero__index {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  align-self: end;
  margin-bottom: 0.2rem;
  padding-left: clamp(1.5rem, 3vw, 3.5rem);
  border-left: 1px solid var(--dark-line);
}

.space-hero__index > p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 1.5rem;
  color: var(--silver);
}

.space-hero__index a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--dark-line);
  text-decoration: none;
}

.space-hero__index a:last-child { border-bottom: 1px solid var(--dark-line); }
.space-hero__index a > span,
.space-hero__index a > small { color: var(--silver); font-size: 0.75rem; }
.space-hero__index a > small { letter-spacing: 0.08em; }
.space-hero__index strong {
  font-family: var(--display-cn);
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.space-hero__index a:hover strong,
.space-hero__index a:focus-visible strong { transform: translateX(0.35rem); }

.things {
  padding: clamp(5rem, 9vw, 9rem) var(--space) clamp(6rem, 10vw, 10rem);
  background: var(--things-bg);
  color: var(--things-text);
}

.things-heading {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.things-heading > p {
  display: flex;
  justify-content: space-between;
  align-self: start;
  margin: 0;
  padding-top: 0.55rem;
  color: var(--thing-muted);
}

.things-heading h2 {
  margin: 0;
  font-family: var(--display-cn);
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.things-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.4rem);
}

.thing {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(26rem, 39vw, 37rem);
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.5rem, 2.5vw, 2.6rem);
  border: 1px solid var(--thing-line);
  isolation: isolate;
}

.thing--film {
  grid-column: span 7;
  background: radial-gradient(ellipse at 60% 38%, rgba(132, 136, 139, 0.08), transparent 58%), var(--film-bg);
}

.thing--novel { grid-column: span 5; background: var(--novel-bg); }
.thing--music { grid-column: span 12; min-height: 17rem; background: var(--music-bg); color: #111110; }

html[data-theme="light"] .thing--film {
  background: radial-gradient(ellipse at 60% 38%, rgba(50, 50, 49, 0.045), transparent 58%), var(--film-bg);
}

.thing__top,
.thing__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.thing__top { color: var(--thing-muted); }
.thing--music .thing__top { color: #595955; }
.thing__bottom { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid currentColor; opacity: 0.45; }

.thing__center {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 0 3.5rem;
}

.thing h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--display-cn);
  font-size: clamp(3.7rem, 6.2vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.thing--novel h3 { max-width: 6em; font-size: clamp(3.3rem, 5.5vw, 6.1rem); }

.thing__large-roman {
  position: absolute;
  top: 12%;
  left: -0.045em;
  width: 100%;
  color: transparent;
  font-family: var(--display-en);
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.095em;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 1px var(--ghost-stroke);
}

.thing__rule { width: min(10rem, 40%); height: 1px; margin-bottom: 2rem; background: currentColor; opacity: 0.55; }

.thing__music-body {
  display: flex;
  flex: 1;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  padding: 2rem 0 2.3rem;
}

.thing--music h3 { font-size: clamp(4.5rem, 9vw, 9rem); }
.thing__music-body p { max-width: 28rem; margin: 0 0 0.5rem; color: #484845; font-size: 0.95rem; line-height: 1.7; }
.thing__music-body p span { margin: 0 0.3em; opacity: 0.45; }

.space-footer { grid-template-columns: 1fr auto; color: var(--silver); }
.space-footer a:hover { color: inherit; }

@media (max-width: 900px) {
  .space-hero { grid-template-columns: 1fr; min-height: 0; gap: 3.5rem; padding-top: 7rem; }
  .space-hero__bottom { padding-top: 4rem; }
  .space-hero__index { width: 100%; padding-left: 0; border-left: 0; }
  .things-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .things-heading > p { justify-content: flex-start; gap: 1.5rem; }
  .thing--film,
  .thing--novel { grid-column: span 6; }
}

@media (max-width: 600px) {
  .site-header { align-items: center; }
  .space-hero { gap: 2.7rem; padding-top: 6.1rem; padding-bottom: 2.8rem; }
  .space-eyebrow { margin-bottom: 2.1rem; }
  .space-hero h1 { font-size: clamp(6.3rem, 28vw, 9rem); }
  .space-hero__roman { margin-top: 0.55rem; font-size: clamp(2.4rem, 12vw, 4rem); }
  .space-hero__bottom { padding-top: 3.5rem; }
  .space-hero__statement { font-size: 1.9rem; }
  .space-hero__kinds { margin-bottom: 1.4rem; font-size: 0.84rem; }
  .space-hero__index > p { margin-bottom: 0.6rem; }
  .space-hero__index a { grid-template-columns: 1.75rem 1fr auto; gap: 0.55rem; padding: 0.65rem 0; }
  .space-hero__index strong { font-size: 1.4rem; }
  .space-hero__index a > small { font-size: 0.65rem; }
  .things { padding-top: 4.8rem; }
  .things-heading { margin-bottom: 2.8rem; }
  .things-heading h2 { font-size: clamp(2.9rem, 12vw, 4.8rem); }
  .thing--film,
  .thing--novel,
  .thing--music { grid-column: 1 / -1; }
  .thing { min-height: 24rem; padding: 1.35rem; }
  .thing--novel { min-height: 21rem; }
  .thing--music { min-height: 17rem; }
  .thing h3 { font-size: clamp(3.2rem, 13vw, 5rem); }
  .thing__large-roman { top: 18%; font-size: 14vw; }
  .thing__center { padding-bottom: 2.5rem; }
  .thing__music-body { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0.6rem; padding: 1.5rem 0 1.8rem; }
  .thing--music h3 { font-size: 5rem; }
  .thing__music-body p { margin: 0; font-size: 0.84rem; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy { min-height: 68svh; }
  .hero-image { height: 58svh; border-top: 1px solid var(--dark-line); border-left: 0; }

  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { grid-column: 1; }

  .book-row { grid-template-columns: 2.25rem 1fr auto; }
  .book-meta { grid-column: 2; }
  .book-kind { grid-column: 3; grid-row: 1; }

  .about { grid-template-columns: 1fr; min-height: auto; }
  .about-copy { max-width: 30rem; margin: 1rem 0 0 auto; }
}

@media (max-width: 600px) {
  .site-header { padding-top: 1.1rem; }

  .hero-copy { min-height: 72svh; padding-top: 7rem; }
  .hero h1 { font-size: clamp(5.5rem, 29vw, 8rem); }
  .hero-name { font-size: clamp(2.25rem, 13vw, 3.75rem); }
  .hero-image { height: 48svh; }
  .hero-image img { object-position: 57% center; }

  .book-row {
    grid-template-columns: 1.75rem 1fr auto;
    min-height: 7rem;
    gap: 0.75rem;
  }

  .book-title { font-size: clamp(1.75rem, 9vw, 2.75rem); }
  .book-meta { font-size: 0.72rem; }

  .about h2 { font-size: clamp(3.4rem, 17vw, 5rem); }

  footer { grid-template-columns: 1fr auto; }

  .intro-title { font-size: clamp(5.8rem, 28vw, 7rem); }
}

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

  .intro-screen { display: none !important; }
}

/* Each game card opens its own playable page. */
.game-feature {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3rem) 0 clamp(3rem, 4vw, 4rem);
}
.game-feature::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--dark-line);
  content: "";
}
.game-feature::after { bottom: 0; }
.game-feature__heading { margin-bottom: clamp(1.2rem, 2vw, 1.8rem); }
.game-feature__heading .section-kicker { font-size: 0.8rem; letter-spacing: 0.42em; }
.game-feature__heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.3rem, 3.5vw, 3.3rem); font-weight: 400; letter-spacing: 0.035em; line-height: 1.18; }
.game-feature__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.6rem);
}
.game-feature__card {
  --card-grid: rgba(255, 255, 255, 0.032);
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.86;
  overflow: hidden;
  border: 1px solid rgba(241, 238, 226, 0.3);
  border-radius: 1rem;
  background-color: #151819;
  background-image: radial-gradient(circle at 51% 39%, rgba(255, 243, 216, 0.085), transparent 34%), linear-gradient(var(--card-grid) 1px, transparent 1px), linear-gradient(90deg, var(--card-grid) 1px, transparent 1px);
  background-size: auto, 8.33% 12.5%, 8.33% 12.5%;
  color: #f8f5f0;
  isolation: isolate;
  text-decoration: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.game-feature__card:hover, .game-feature__card:focus-visible { border-color: rgba(255, 247, 227, 0.72); box-shadow: 0 0 2.5rem rgba(255, 233, 189, 0.075); }
.game-feature__card::before { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(circle at 12% 26%, #fff8e9 0 0.7px, transparent 1.4px), radial-gradient(circle at 37% 14%, #fff8e9 0 0.6px, transparent 1.3px), radial-gradient(circle at 78% 19%, #fff8e9 0 1px, transparent 1.7px), radial-gradient(circle at 88% 48%, #fff8e9 0 0.8px, transparent 1.5px), radial-gradient(circle at 17% 65%, #fff8e9 0 0.7px, transparent 1.4px), radial-gradient(circle at 63% 59%, #fff8e9 0 0.6px, transparent 1.3px); opacity: 0.65; content: ""; pointer-events: none; }
.game-feature__card--naiwa { background-color: #08090a; }
.game-feature__card--naiwa > img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.game-feature__card--naiwa .game-feature__card-shade { z-index: 2; background: linear-gradient(180deg, rgba(8, 10, 11, 0.28), transparent 25%, transparent 72%, rgba(9, 11, 12, 0.24)); }
.game-feature__card canvas { position: absolute; z-index: 1; top: 60%; left: 50%; width: 100%; aspect-ratio: 1; transform: translate(-50%, -50%); transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.game-feature__card:hover canvas, .game-feature__card:focus-visible canvas { transform: translate(-50%, -50%) scale(1.035); }
.game-feature__card-orbit { position: absolute; z-index: 2; top: 47%; left: -11%; width: 122%; height: 23%; border: 1px solid rgba(249, 222, 181, 0.33); border-radius: 50%; transform: rotate(-17deg); pointer-events: none; }
.game-feature__card-orbit::after { position: absolute; right: 12%; top: 12%; width: 7px; height: 7px; border-radius: 50%; background: #fff8eb; box-shadow: 0 0 15px 3px rgba(255, 237, 199, 0.45); content: ""; }
.game-feature__card-planet { position: absolute; z-index: 1; top: 51%; left: 9%; width: 4.6rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 28% 26%, #566068, #202629 42%, #0d1012 70%); box-shadow: inset -10px -8px 15px rgba(0, 0, 0, 0.6), 0 0 19px rgba(187, 200, 205, 0.12); pointer-events: none; }
.game-feature__card-shade { position: absolute; z-index: 3; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 11, 0.38), transparent 25%, transparent 47%, rgba(9, 11, 12, 0.94) 98%); pointer-events: none; }
.game-feature__card-top, .game-feature__card-bottom { position: absolute; z-index: 4; right: clamp(1.35rem, 2.8vw, 2.25rem); left: clamp(1.35rem, 2.8vw, 2.25rem); }
.game-feature__card-top { top: clamp(1.25rem, 2.5vw, 2rem); display: flex; align-items: center; gap: 1.25rem; font-family: var(--serif); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.3em; }
.game-feature__card-play { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 50%; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0; text-indent: 0.15em; }
.game-feature__card-bottom { bottom: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.game-feature__card-bottom strong { font-family: var(--serif); font-size: clamp(1.5rem, 2.35vw, 2.4rem); font-weight: 400; letter-spacing: 0.015em; line-height: 1.17; }
.game-feature__card-bottom > span:not(.game-feature__card-arrow) { color: rgba(250, 247, 241, 0.76); font-family: var(--serif); font-size: 1rem; letter-spacing: 0.03em; }
.game-feature__card--paper::after { position: absolute; z-index: 1; right: -20%; bottom: -90%; left: -24%; height: 135%; border-top: 1px solid rgba(250, 238, 215, 0.35); border-radius: 50%; background: radial-gradient(ellipse at 50% 0%, #4f4b46, #252726 32%, #0c0e0f 67%); box-shadow: 0 -12px 48px rgba(255, 238, 208, 0.1); content: ""; pointer-events: none; }
.game-feature__card--paper .game-feature__card-orbit { z-index: 1; top: 42%; left: 24%; width: 76%; height: 31%; transform: rotate(10deg); }
.game-feature__card--paper .game-feature__card-planet { top: 43%; left: auto; right: 15%; width: 2.5rem; background: radial-gradient(circle at 24% 22%, #ece9e2, #93999a 38%, #20282a 72%); }
.paper-card-art { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 20px rgba(255, 242, 215, 0.2)); }
.paper-card-art__halo { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.2; }
.paper-card-art__light { fill: currentColor; opacity: 0.85; }
.paper-card-art__limb { fill: #e4e1d7; }
.paper-card-art__body { fill: #f6f4ed; }
.paper-card-art__eye { fill: #20201f; }
.paper-card-art__cheek { fill: #e3bbb4; opacity: 0.72; }
.paper-card-art__mouth { fill: none; stroke: #20201f; stroke-linecap: round; stroke-width: 3; }
.paper-card-art__creature { transform-origin: 181px 190px; transition: transform 550ms cubic-bezier(0.22, 1.4, 0.35, 1); }
.game-feature__card--paper:hover .paper-card-art__creature,
.game-feature__card--paper:focus-visible .paper-card-art__creature { transform: translateY(-11px) rotate(-7deg); }
html[data-theme="light"] .paper-card-art__body { stroke: #bbb8af; stroke-width: 1.4; }
html[data-theme="light"] .game-feature__card { --card-grid: rgba(0, 0, 0, 0.045); border-color: rgba(0, 0, 0, 0.22); background-color: #e8e9e7; background-image: radial-gradient(circle at 51% 39%, rgba(255, 255, 255, 0.8), transparent 35%), linear-gradient(var(--card-grid) 1px, transparent 1px), linear-gradient(90deg, var(--card-grid) 1px, transparent 1px); color: #111; }
html[data-theme="light"] .game-feature__card::before { filter: invert(1); }
html[data-theme="light"] .game-feature__card:hover, html[data-theme="light"] .game-feature__card:focus-visible { border-color: rgba(0, 0, 0, 0.62); box-shadow: 0 0 2rem rgba(0, 0, 0, 0.08); }
html[data-theme="light"] .game-feature__card-orbit { border-color: rgba(40, 39, 36, 0.4); }
html[data-theme="light"] .game-feature__card-shade { background: linear-gradient(180deg, rgba(250, 250, 247, 0.3), transparent 25%, transparent 45%, rgba(242, 242, 239, 0.95) 98%); }
html[data-theme="light"] .game-feature__card-play { border-color: rgba(0, 0, 0, 0.7); }
html[data-theme="light"] .game-feature__card-bottom > span:not(.game-feature__card-arrow) { color: rgba(0, 0, 0, 0.68); }
html[data-theme="light"] .game-feature__card--paper::after { background: radial-gradient(ellipse at 50% 0%, #b4b1aa, #dcddda 34%, #eff0ed 70%); border-color: rgba(0, 0, 0, 0.3); }

.paper-game {
  --paper-board: #111110;
  --paper-grid: rgba(255, 255, 255, 0.045);
  display: grid;
  grid-template-columns: minmax(13rem, 0.36fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4.5rem);
  max-width: 1600px;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(7rem, 12vh, 9rem) var(--space) clamp(4rem, 8vh, 7rem);
}
html[data-theme="light"] .paper-game { --paper-board: #fff; --paper-grid: rgba(0, 0, 0, 0.055); }
.paper-game__copy { min-width: 0; }
.paper-game__copy h1 { max-width: 8em; margin: clamp(1.1rem, 2vw, 1.8rem) 0 0; font-family: var(--display-cn); font-size: clamp(2.2rem, 3.2vw, 3.6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.22; }
.paper-game__description { max-width: 21rem; margin: 1.5rem 0 0; color: var(--silver); font-size: 1rem; line-height: 1.7; }
.paper-game__status { min-height: 2em; margin: clamp(2rem, 5vw, 4rem) 0 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.55vw, 1.5rem); line-height: 1.5; }
.paper-game__progress { display: flex; justify-content: space-between; gap: 1rem; max-width: 17rem; margin: 1.2rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--dark-line); color: var(--silver); font-size: 0.78rem; letter-spacing: 0.04em; }
.paper-game__progress span { color: inherit; font-variant-numeric: tabular-nums; }
.paper-game__workspace { width: 100%; max-width: 52rem; min-width: 0; justify-self: end; }
.paper-game__board { position: relative; width: 100%; aspect-ratio: 1.3; overflow: hidden; border: 1px solid var(--dark-line); background-color: var(--paper-board); background-image: linear-gradient(var(--paper-grid) 1px, transparent 1px), linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px); background-size: 12.5% 12.5%; }
.paper-game__board::before,
.paper-game__board::after { position: absolute; z-index: 1; width: 1.3rem; height: 1.3rem; border-color: currentColor; opacity: 0.28; pointer-events: none; content: ""; }
.paper-game__board::before { top: 0.9rem; left: 0.9rem; border-top: 1px solid; border-left: 1px solid; }
.paper-game__board::after { right: 0.9rem; bottom: 0.9rem; border-right: 1px solid; border-bottom: 1px solid; }
.paper-game__board canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.paper-game__board.is-dragging canvas { cursor: grabbing; }
.paper-game__result { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; align-items: center; padding: 5.5rem 1.2rem 2rem; background: linear-gradient(transparent, var(--paper-board) 48%); text-align: center; pointer-events: none; }
.paper-game__result[hidden] { display: none; }
.paper-game__result:not([hidden]) { animation: paper-result-in 450ms ease-out both; }
@keyframes paper-result-in { from { opacity: 0; transform: translateY(0.6rem); } to { opacity: 1; transform: translateY(0); } }
.paper-game__result > span { color: var(--silver); font-size: 0.72rem; letter-spacing: 0.17em; }
.paper-game__result strong { margin-top: 0.3rem; font-family: var(--display-cn); font-size: clamp(1.7rem, 2.6vw, 2.7rem); font-weight: 500; letter-spacing: -0.045em; }
.paper-game__result p { margin: 0.35rem 0 0; color: var(--silver); font-family: var(--serif); font-size: clamp(0.8rem, 1.1vw, 1rem); }
.paper-game__actions { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.paper-game__actions button { min-height: 2.8rem; padding: 0.5rem 1.1rem; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font: inherit; font-size: 0.9rem; }
.paper-game__actions button:last-child { border-color: transparent; color: var(--silver); }
.paper-game__actions button:hover:not(:disabled) { background: var(--paper); color: var(--black); }
html[data-theme="light"] .paper-game__actions button:hover:not(:disabled) { background: #111; color: #fff; }
.paper-game__actions button:disabled { cursor: default; opacity: 0.35; }

/* The separate game page keeps its playable canvas in the first viewport. */
.frog-game {
  --game-ink: #ecece8;
  --game-board: #111110;
  --game-grid: rgba(255, 255, 255, 0.045);
  display: grid;
  grid-template-columns: minmax(13rem, 0.36fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4.5rem);
  max-width: 1600px;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(7rem, 12vh, 9rem) var(--space) clamp(4rem, 8vh, 7rem);
}
html[data-theme="light"] .frog-game {
  --game-ink: #111;
  --game-board: #fff;
  --game-grid: rgba(0, 0, 0, 0.055);
}
.frog-game__copy { min-width: 0; }
.frog-game__back { display: inline-block; margin-bottom: clamp(1.5rem, 3vw, 3rem); color: var(--silver); font-size: 0.9rem; text-decoration: none; }
.frog-game__back:hover { color: inherit; text-decoration: underline; text-underline-offset: 0.3rem; }
.frog-game__copy h1 {
  max-width: 8em;
  margin: clamp(1.1rem, 2vw, 1.8rem) 0 0;
  font-family: var(--display-cn);
  font-size: clamp(2.2rem, 3.2vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.22;
}
.frog-game__description { max-width: 19rem; margin: 1.5rem 0 0; color: var(--silver); font-size: 1rem; line-height: 1.7; }
.frog-game__status { min-height: 2em; margin: clamp(2rem, 5vw, 4rem) 0 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.55vw, 1.5rem); line-height: 1.5; }
.frog-game__workspace { width: 100%; max-width: 52rem; min-width: 0; justify-self: end; }
.frog-game__board {
  position: relative;
  width: 100%;
  aspect-ratio: 1.3;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  background-color: var(--game-board);
  background-image: linear-gradient(var(--game-grid) 1px, transparent 1px), linear-gradient(90deg, var(--game-grid) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  transition: background-color 420ms ease;
}
.frog-game__board::before,
.frog-game__board::after { position: absolute; z-index: 1; width: 1.3rem; height: 1.3rem; border-color: var(--game-ink); opacity: 0.28; pointer-events: none; content: ""; }
.frog-game__board::before { top: 0.9rem; left: 0.9rem; border-top: 1px solid; border-left: 1px solid; }
.frog-game__board::after { right: 0.9rem; bottom: 0.9rem; border-right: 1px solid; border-bottom: 1px solid; }
.frog-game__board canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.frog-game__board.is-transforming canvas,
.frog-game__board.is-finished canvas { cursor: default; }
.frog-game__placeholder { position: absolute; top: 50%; left: 50%; color: var(--silver); font-family: var(--serif); font-size: clamp(1rem, 1.4vw, 1.3rem); pointer-events: none; transform: translate(-50%, -50%); transition: opacity 250ms ease; white-space: nowrap; }
.frog-game__board.has-drawing .frog-game__placeholder { opacity: 0; }
.frog-game__actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; }
.frog-game__edit-actions { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.frog-game__actions button { min-height: 2.8rem; padding: 0.35rem 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 0.95rem; }
.frog-game__actions button:disabled { color: var(--silver); cursor: default; opacity: 0.45; }
.frog-game__actions button:not(:disabled):hover { text-decoration: underline; text-underline-offset: 0.4rem; }
.frog-game__actions .frog-game__submit { min-width: 8.5rem; padding: 0.5rem 1.2rem; border: 1px solid currentColor; text-align: center; }
.frog-game__actions .frog-game__submit:not(:disabled):hover { background: var(--game-ink); color: var(--game-board); text-decoration: none; }

@media (max-width: 900px) {
  .frog-game { grid-template-columns: 1fr; gap: 2rem; }
  .frog-game__workspace { max-width: none; justify-self: stretch; }
}

/* A personal collection: compact editorial navigation, image rail, quiet index. */
.collection-intro,
.collection,
.space-footer { max-width: 1600px; margin-inline: auto; }

/* Full-page rules share the collection's inset, thickness, and theme color. */
body.home-page .site-header,
body.home-page .space-footer { border-color: transparent; }
body.home-page .space-footer { position: relative; }
body.home-page .site-header::after,
body.home-page .space-footer::before {
  position: absolute;
  left: 50%;
  width: min(calc(100% - var(--space) - var(--space)), calc(1600px - var(--space) - var(--space)));
  height: 1px;
  background: var(--dark-line);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}
body.home-page .site-header::after { bottom: 0; }
body.home-page .space-footer::before { top: 0; }

.collection-intro {
  --hero-dust: rgba(239, 239, 236, 0.18);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(7rem, 10vw, 9rem) var(--space) clamp(3rem, 5vw, 4.5rem);
  background: radial-gradient(ellipse at 41% 55%, rgba(51, 55, 56, 0.28), transparent 55%), linear-gradient(180deg, #131617, #0c0e0f 88%);
}
html[data-theme="light"] .collection-intro {
  --hero-dust: rgba(9, 9, 9, 0.14);
  background: radial-gradient(ellipse at 41% 55%, rgba(187, 190, 188, 0.3), transparent 55%), linear-gradient(180deg, #eeefeb, #f2f2ef 88%);
}
.collection-intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle at 6% 21%, var(--hero-dust) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 13% 70%, var(--hero-dust) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 19% 38%, var(--hero-dust) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 26% 13%, var(--hero-dust) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 31% 80%, var(--hero-dust) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 36% 47%, var(--hero-dust) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 42% 24%, var(--hero-dust) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 47% 71%, var(--hero-dust) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 54% 10%, var(--hero-dust) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 59% 57%, var(--hero-dust) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 65% 33%, var(--hero-dust) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 71% 80%, var(--hero-dust) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 77% 16%, var(--hero-dust) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 83% 60%, var(--hero-dust) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 90% 39%, var(--hero-dust) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 96% 74%, var(--hero-dust) 0 0.7px, transparent 1.3px);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
}
.collection-intro__stardust {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.collection-intro__orbit { position: absolute; z-index: 0; top: 11%; left: 1%; width: min(62%, 790px); height: auto; overflow: visible; pointer-events: none; }
.collection-intro__orbit ellipse { stroke: rgba(236, 218, 186, 0.5); stroke-width: 0.8; }
.collection-intro__orbit path { stroke: rgba(241, 243, 242, 0.19); stroke-width: 0.8; }
.collection-intro__orbit circle { fill: #fdf8ec; filter: drop-shadow(0 0 8px rgba(255, 244, 215, 0.8)); }
.collection-intro__planet { position: absolute; z-index: 0; right: -22vw; bottom: -44vw; width: 52vw; max-width: 850px; aspect-ratio: 1; border: 1px solid rgba(216, 224, 229, 0.28); border-radius: 50%; background: radial-gradient(circle at 24% 14%, rgba(130, 143, 157, 0.29), rgba(49, 58, 67, 0.4) 28%, #0b0e11 57%, #090a0c 74%); box-shadow: inset 18px 24px 38px rgba(189, 204, 220, 0.1), -18px -17px 38px rgba(178, 194, 213, 0.09); pointer-events: none; }
.collection-intro__meteor { position: absolute; z-index: 1; display: block; width: 9rem; height: 1px; background: linear-gradient(90deg, rgba(248, 250, 251, 0.92), rgba(232, 238, 243, 0.25) 35%, transparent); opacity: 0; filter: drop-shadow(0 0 5px rgba(235, 242, 247, 0.7)); transform: rotate(-27deg); transform-origin: left center; animation: hero-meteor 9s linear infinite; animation-play-state: paused; pointer-events: none; }
.collection-intro__meteor::before { position: absolute; top: -2px; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: #f9fbfc; box-shadow: 0 0 12px 3px rgba(238, 246, 250, 0.7); content: ""; }
.collection-intro.is-in-view .collection-intro__meteor { animation-play-state: running; }
.collection-intro__meteor--one { top: 31%; left: 49%; }
.collection-intro__meteor--two { top: 56%; right: 8%; width: 13rem; animation-duration: 12s; animation-delay: -5s; }
@keyframes hero-meteor {
  0%, 62% { opacity: 0; transform: translate3d(14rem, -7rem, 0) rotate(-27deg) scaleX(0.48); }
  67% { opacity: 0.95; }
  76%, 100% { opacity: 0; transform: translate3d(-14rem, 7rem, 0) rotate(-27deg) scaleX(1); }
}
html[data-theme="light"] .collection-intro__orbit ellipse { stroke: rgba(70, 65, 54, 0.48); }
html[data-theme="light"] .collection-intro__orbit path { stroke: rgba(41, 45, 44, 0.24); }
html[data-theme="light"] .collection-intro__orbit circle { fill: #313533; }
html[data-theme="light"] .collection-intro__planet { border-color: rgba(43, 52, 58, 0.24); background: radial-gradient(circle at 24% 14%, #d2d9dc, #a6afb1 30%, #505b62 67%, #30383e 85%); box-shadow: inset 18px 24px 38px rgba(255, 255, 255, 0.18), -18px -17px 38px rgba(42, 53, 58, 0.09); }
html[data-theme="light"] .collection-intro__meteor { background: linear-gradient(90deg, rgba(29, 34, 33, 0.55), transparent); }
html[data-theme="light"] .collection-intro__meteor::before { background: #48535a; box-shadow: 0 0 10px 2px rgba(72, 83, 90, 0.3); }
@media (prefers-reduced-motion: reduce) {
  .collection-intro__meteor { animation: none; opacity: 0.35; transform: rotate(-27deg); }
}

.section-kicker,
.pick-section__heading > span {
  margin: 0;
  color: var(--silver);
  font-family: var(--display-en);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.collection-intro__line {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-left: clamp(2rem, 5vw, 5rem);
  padding-top: 0;
}

.collection-intro h1 {
  margin: 0;
  font-family: var(--logo-cn);
  font-size: clamp(6rem, 11vw, 10rem);
  font-synthesis: none;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-shadow: 0 0 2.5rem rgba(248, 235, 210, 0.16);
}

.collection-intro h1 span { color: var(--silver); }
.collection-intro__line > p { width: min(47vw, 37rem); min-width: 0; margin: 0; color: inherit; opacity: 0.86; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 3.2rem); letter-spacing: 0.045em; line-height: 1.62; text-wrap: balance; transform: translateY(0.18em); }
.collection-intro__line > p .quote-phrase { display: block; overflow-wrap: anywhere; }

.collection { --focus-width: min(54vw, 640px); padding: 0 var(--space) clamp(3.5rem, 6vw, 6rem); }

.category-tabs {
  display: flex;
  align-items: stretch;
  gap: clamp(2.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--dark-line);
}

.category-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 4.3rem;
  padding: 0 0.1rem;
  border: 0;
  background: transparent;
  color: var(--silver);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.23rem;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.category-tab:hover,
.category-tab:focus-visible { color: inherit; }
.category-tab:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.category-tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: currentColor; content: ""; }
.collection-heading[hidden],
.feature-rail[hidden],
.game-feature[hidden],
.pick-section[hidden] { display: none !important; }

.collection-heading,
.pick-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.collection-heading { width: 100%; margin: clamp(2.5rem, 4vw, 4rem) 0 1.65rem; scroll-margin-top: 2rem; }
.collection-heading .section-kicker, .pick-section .section-kicker, .guestbook .section-kicker { font-size: 0.86rem; letter-spacing: 0.2em; }
.collection-heading h2,
.pick-section h2 { margin: 0.5rem 0 0; font-family: var(--serif); font-size: clamp(2.3rem, 3.5vw, 3.3rem); font-weight: 400; letter-spacing: 0.02em; line-height: 1.16; }
.feature-pagination { display: flex; align-items: center; gap: 0; max-width: 50%; overflow-x: auto; padding: 0.3rem; }
.feature-pagination[hidden] { display: none; }
.feature-pagination button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.feature-pagination button::after { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--silver); content: ""; }
.feature-pagination button.is-active::after { width: 1.2rem; border-radius: 1rem; background: currentColor; }
.feature-pagination button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.feature-rail {
  display: flex;
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
  width: calc(100% + var(--space));
  padding-right: var(--space);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.feature-rail::-webkit-scrollbar { display: none; }
.feature-rail:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.feature-rail.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.feature-rail.is-dragging .feature-card { cursor: grabbing; }
@media (pointer: fine) { .feature-rail .feature-card { cursor: grab; } }

.feature-card {
  position: relative;
  display: block;
  flex: 0 0 var(--focus-width);
  min-width: 0;
  aspect-ratio: 1.235;
  overflow: hidden;
  border: 1px solid rgba(232, 235, 238, 0.19);
  border-radius: 1.1rem;
  background: #1b1d20;
  color: #fff;
  isolation: isolate;
  scroll-snap-align: start;
  text-decoration: none;
}

.feature-card > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform 750ms cubic-bezier(0.22, 1, 0.36, 1); }
.feature-card:hover > img,
.feature-card:focus-visible > img { transform: scale(1.045); }
.feature-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.36), transparent 27%, transparent 50%, rgba(0,0,0,.84)); }
.feature-card__top,
.feature-card__bottom { position: absolute; z-index: 2; right: clamp(1.8rem, 2.5vw, 2.5rem); left: clamp(1.8rem, 2.5vw, 2.5rem); display: flex; }
.feature-card__top { top: clamp(1.8rem, 2.5vw, 2.5rem); align-items: center; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.16em; }

.feature-card__bottom { bottom: clamp(1.8rem, 2.5vw, 2.5rem); flex-direction: column; gap: 0.15rem; padding-right: 4rem; }
.feature-card__bottom strong { font-family: var(--display-cn); font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 600; letter-spacing: 0.02em; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.feature-card__bottom small { overflow: hidden; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.25em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.feature-card__action { position: absolute; z-index: 2; right: clamp(1.8rem, 2.5vw, 2.5rem); bottom: clamp(1.8rem, 2.5vw, 2.5rem); display: grid; place-items: center; width: clamp(4.1rem, 5vw, 4.6rem); aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 50%; background: rgba(10, 13, 17, 0.18); font-size: 1.2rem; text-indent: 0.1em; backdrop-filter: blur(6px); transition: transform 220ms ease, background-color 220ms ease; }
.feature-card:hover .feature-card__action, .feature-card:focus-visible .feature-card__action { transform: scale(1.07); background: rgba(255, 255, 255, 0.16); }

.pick-section { width: var(--focus-width); margin: clamp(2.75rem, 4vw, 4rem) 0 0; }
.pick-section--first { margin-top: clamp(3.5rem, 6.5vw, 6.5rem); }
.pick-section__heading { margin-bottom: 1.4rem; }
.pick-section__arrow { color: var(--silver); font-family: var(--sans); font-size: 2.4rem; font-weight: 200; line-height: 1; }
.pick-list { display: grid; gap: 0.6rem; }
.pick-row { display: grid; grid-template-columns: clamp(7.25rem, 10.5vw, 8.3rem) minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.3vw, 2rem); min-height: clamp(7.25rem, 10.5vw, 8.3rem); padding: 0 1.5rem 0 0; overflow: hidden; border: 1px solid rgba(220, 224, 228, 0.11); border-radius: 1rem; background: linear-gradient(110deg, rgba(63, 70, 76, 0.17), rgba(30, 35, 39, 0.3)); scroll-margin-top: 2rem; }
.pick-row[href] { text-decoration: none; transition: background 180ms ease; }
.pick-row[href]:hover, .pick-row[href]:focus-visible { background: rgba(109, 121, 131, 0.24); }
.pick-row:target { background: rgba(109, 121, 131, 0.24); }
html[data-theme="light"] .pick-row { border-color: rgba(16, 22, 25, 0.14); background: linear-gradient(110deg, rgba(149, 157, 161, 0.15), rgba(217, 221, 220, 0.22)); }
.pick-row > img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.pick-row__art { position: relative; display: block; align-self: stretch; min-height: inherit; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 58% 28%, #6b655c, transparent 38%), linear-gradient(165deg, #20262a, #0b0d0f); }
.pick-row__art::before, .pick-row__art::after { position: absolute; display: block; content: ""; pointer-events: none; }
.pick-row__art--film { background: radial-gradient(circle at 65% 22%, rgba(246, 192, 129, 0.67), transparent 28%), linear-gradient(165deg, #2b2423, #71543d 63%, #1b1a1c); }
.pick-row__art--film::before { top: 10%; right: 9%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 24%, #ab8468, #473e3b 63%, #1e2022); box-shadow: 0 0 20px rgba(241, 202, 155, 0.24); }
.pick-row__art--film::after { right: -30%; bottom: -43%; left: -30%; height: 71%; border-radius: 50%; background: linear-gradient(155deg, #c69763, #5d4337 43%, #17191b 80%); transform: rotate(-10deg); }
.pick-row__art--novel { background: radial-gradient(circle at 67% 21%, rgba(153, 195, 217, 0.65), transparent 26%), linear-gradient(165deg, #151b26, #32404f 58%, #11171d); }
.pick-row__art--novel::before { top: 10%; right: 9%; width: 62%; aspect-ratio: 1; border: 1px solid rgba(231, 243, 249, 0.53); border-radius: 50%; background: radial-gradient(circle at 26% 22%, #6c8092, #263544 53%, #101820 76%); box-shadow: 0 0 22px rgba(148, 198, 220, 0.27); }
.pick-row__art--novel::after { right: -25%; bottom: -54%; left: -25%; height: 72%; border-radius: 50%; background: linear-gradient(160deg, #202b37, #0d1118 65%); }
.pick-row__art--music { background: radial-gradient(circle at 57% 58%, rgba(255, 207, 151, 0.84), transparent 16%), linear-gradient(180deg, #1b2335, #88616f 59%, #291f2d 85%); }
.pick-row__art--music::before { right: 6%; bottom: 21%; left: 5%; height: 1px; background: rgba(255, 220, 188, 0.54); box-shadow: 0 8px 0 rgba(255, 220, 188, 0.18); }
.pick-row__art--music::after { right: -5%; bottom: -19%; left: -5%; height: 40%; border-radius: 50%; background: #151b25; }
.pick-row__art--other { background: radial-gradient(circle at 56% 30%, #a79375, transparent 38%), linear-gradient(165deg, #333638, #101314); }
.pick-row__art--other::before { top: 18%; left: 22%; width: 55%; height: 62%; border: 2px solid rgba(250, 245, 226, 0.62); border-radius: 0 38% 4% 0; transform: rotate(-10deg); }
.pick-row__art--variant-1 { filter: hue-rotate(25deg) saturate(0.85); }
.pick-row__art--variant-2 { filter: hue-rotate(-32deg) saturate(0.92); }
.pick-row > img.pick-row__fallback { border: 1px solid var(--dark-line); }
html[data-theme="light"] .pick-row > img.pick-row__fallback { filter: invert(1); }
.pick-row--text { grid-template-columns: minmax(0, 1fr) auto; padding: 1.45rem; }
.pick-row__placeholder { display: block; width: 100%; height: clamp(5.25rem, 9vw, 9rem); background: linear-gradient(140deg, #323638, #0f1011); }
.collection-empty { margin: 0; padding: 4rem 0; color: var(--silver); font-family: var(--serif); font-size: 1.25rem; }
.feature-card--plain { background: linear-gradient(145deg, #44484b, #0b0d0f); }
.pick-row__copy { min-width: 0; }
.pick-row__copy > span,
.pick-row__end { color: var(--silver); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; }
.pick-row__copy h3 { display: -webkit-box; overflow: hidden; margin: 0.25rem 0 0; font-family: var(--display-cn); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pick-row__copy p { overflow: hidden; margin: 0.3rem 0 0; color: var(--silver); font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.pick-row__end { align-self: center; font-family: var(--sans); font-size: 2.2rem; font-weight: 200; line-height: 1; }

.feature-card[hidden],
.pick-row[hidden] { display: none !important; }

.guestbook { width: min(74vw, 900px); margin: 0 auto; padding: 0 0 clamp(3rem, 5vw, 5rem); }
.guestbook__heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.guestbook__heading h2 { margin: 0.5rem 0 0; font-family: var(--display-cn); font-size: clamp(2.5rem, 4.4vw, 4rem); font-weight: 600; letter-spacing: 0.02em; line-height: 1.16; }
.guestbook__heading-icon { color: var(--silver); font-size: 2rem; line-height: 1; }
.guestbook__open { display: block; width: 100%; min-height: 4.5rem; margin-top: 1.7rem; padding: 0.8rem 1.25rem; border: 1px solid rgba(238, 240, 241, 0.58); border-radius: 1rem; background: linear-gradient(110deg, rgba(63, 70, 76, 0.08), rgba(30, 35, 39, 0.2)); color: inherit; cursor: pointer; font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; transition: background-color 180ms ease, color 180ms ease; }
.guestbook__open::before { margin-right: 0.9rem; content: "✎"; font-size: 1.35rem; font-weight: 400; vertical-align: -0.08em; }
.guestbook__open:hover { background: var(--paper); color: var(--black); }
html[data-theme="light"] .guestbook__open { border-color: rgba(9, 9, 9, 0.5); }
html[data-theme="light"] .guestbook__open:hover { background: var(--black); color: var(--paper); }
.guestbook__open:focus-visible, .guestbook-dialog button:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.guestbook__feed { margin-top: clamp(2.5rem, 4vw, 4rem); }
.guestbook__empty { margin: 0; padding: 1.4rem 0; border-top: 1px solid var(--dark-line); color: var(--silver); font-size: 0.9rem; }
.guestbook__entry { display: grid; grid-template-columns: minmax(9rem, 0.28fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding: 1.8rem 0 2.2rem; border-top: 1px solid var(--dark-line); }
.guestbook__entry-head { display: flex; min-width: 0; flex-direction: column; gap: 0.45rem; font-size: 0.82rem; overflow-wrap: anywhere; }
.guestbook__entry-head strong { font-weight: 500; }
.guestbook__entry-head time { color: var(--silver); font-size: 0.78rem; white-space: nowrap; }
.guestbook__entry p { max-width: 34em; margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.guestbook-dialog { width: min(calc(100% - 2rem), 640px); max-width: none; max-height: calc(100svh - 2rem); margin: auto; padding: clamp(1.5rem, 3vw, 2.75rem); overflow: auto; border: 1px solid var(--dark-line); border-radius: 0; background: #121212; color: var(--paper); box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.35); }
html[data-theme="light"] .guestbook-dialog { background: #f5f5f2; color: #0c0c0c; }
.guestbook-dialog::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); }
.guestbook-dialog__heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.guestbook-dialog__heading h2 { margin: 0.45rem 0 0; font-family: var(--display-cn); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.18; }
.guestbook-dialog__close { padding: 0.2rem 0; border: 0; background: transparent; color: var(--silver); cursor: pointer; font: inherit; font-size: 0.82rem; text-decoration: underline; text-underline-offset: 0.25rem; }
.guestbook__form { position: relative; min-width: 0; }
.guestbook__form label { display: block; margin: 0 0 0.65rem; font-size: 0.85rem; }
.guestbook__form input[type="text"],
.guestbook__form textarea { display: block; width: 100%; padding: 0.85rem 0.9rem; border: 1px solid var(--dark-line); border-radius: 0; background: transparent; color: inherit; font: inherit; font-size: 1rem; }
.guestbook__form textarea { min-height: 11rem; resize: vertical; line-height: 1.7; }
.guestbook__form input[type="text"]::placeholder,
.guestbook__form textarea::placeholder { color: var(--silver); opacity: 0.75; }
.guestbook__form input[type="text"]:focus-visible,
.guestbook__form textarea:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
.guestbook__anonymous { display: flex !important; align-items: center; gap: 0.7rem; width: fit-content; margin: 1.3rem 0 1.2rem !important; cursor: pointer; }
.guestbook__anonymous input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: currentColor; cursor: pointer; }
.guestbook__nickname { margin: 0 0 1.3rem; }
.guestbook__nickname label { margin-bottom: 0.5rem; }
.guestbook__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.guestbook__form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--dark-line); }
.guestbook__form-bottom > span { color: var(--silver); font-size: 0.78rem; }
.guestbook__form-bottom button { min-height: 2.9rem; padding: 0.65rem 1.4rem; border: 1px solid currentColor; border-radius: 0; background: var(--paper); color: var(--black); cursor: pointer; font: inherit; font-size: 0.86rem; transition: opacity 180ms ease, transform 180ms ease; }
.guestbook__form-bottom button:hover:not(:disabled) { transform: translateY(-2px); }
.guestbook__form-bottom button:disabled { cursor: wait; opacity: 0.55; }
html[data-theme="light"] .guestbook__form-bottom button { background: #0c0c0c; color: #fff; }
.guestbook__status { min-height: 1.5rem; margin: 0.85rem 0 0; color: var(--silver); font-size: 0.85rem; }
.guestbook__status:empty { display: none; }
.guestbook__status.is-error { color: #c65a5a; }
html[data-theme="light"] .guestbook__status.is-error { color: #a22f2f; }

@media (max-width: 700px) {
  .collection { --focus-width: 100%; }
  .game-feature { padding-top: 3rem; padding-bottom: 3.5rem; }
  .game-feature__heading { margin-bottom: 1.4rem; }
  .game-feature__heading h2 { font-size: 2.6rem; }
  .game-feature__body { grid-template-columns: 1fr; gap: 1rem; }
  .game-feature__card { width: 100%; aspect-ratio: 1.13; }
  .game-feature__card-bottom strong { font-size: clamp(2rem, 7vw, 3.2rem); }
  .paper-game { grid-template-columns: 1fr; gap: 1.8rem; min-height: 0; padding-top: 6.6rem; padding-bottom: 5rem; }
  .paper-game__copy h1 { margin-top: 1.15rem; font-size: clamp(2.2rem, 8vw, 3rem); }
  .paper-game__description { margin-top: 0.9rem; font-size: 0.94rem; }
  .paper-game__status { margin-top: 0.9rem; font-size: 1.16rem; }
  .paper-game__workspace { max-width: none; justify-self: stretch; }
  .paper-game__board { aspect-ratio: 1.05; }
  .paper-game__actions { padding-top: 0.8rem; }
  .paper-game__actions button { min-height: 2.65rem; font-size: 0.9rem; }
  .frog-game { grid-template-columns: 1fr; gap: 1.8rem; min-height: 0; padding-top: 6.6rem; padding-bottom: 5rem; }
  .frog-game__back { margin-bottom: 1.1rem; }
  .frog-game__copy h1 { margin-top: 1.15rem; font-size: clamp(2.2rem, 8vw, 3rem); }
  .frog-game__description { margin-top: 0.9rem; font-size: 0.94rem; }
  .frog-game__status { margin-top: 0.9rem; font-size: 1.16rem; }
  .frog-game__workspace { width: 100%; justify-self: center; }
  .frog-game__board { aspect-ratio: 1.05; }
  .frog-game__actions { padding-top: 0.8rem; }
  .frog-game__actions button { min-height: 2.65rem; font-size: 0.9rem; }
  .collection-intro { padding-top: 6.5rem; padding-bottom: 2.5rem; text-align: center; }
  .collection-intro__line { flex-direction: column; align-items: center; justify-content: flex-start; gap: 1.5rem; margin-left: 0; padding-top: 0; transform: none; }
  .collection-intro h1 { font-size: clamp(5.5rem, 24vw, 7rem); transform: translateX(-0.04em); }
  .collection-intro__line > p { width: 100%; max-width: 19em; margin: 0; font-size: clamp(1.4rem, 5.5vw, 1.75rem); transform: none; }
  .collection-intro__orbit { top: 14%; left: -23%; width: 120%; opacity: 0.68; }
  .collection-intro__planet { right: -65vw; bottom: -75vw; width: 108vw; opacity: 0.58; }
  .collection-intro__meteor--one { top: 29%; left: 72%; width: 5rem; }
  .collection-intro__meteor--two { top: 70%; right: 1%; width: 6rem; }
  .category-tabs { justify-content: space-between; gap: 0.5rem; }
  .category-tab { min-height: 3.5rem; font-size: 1.02rem; }
  .collection-heading { margin-top: 3.1rem; margin-bottom: 1.2rem; }
  .collection-heading h2,
  .pick-section h2 { font-size: 2.25rem; }
  .feature-rail { margin-right: calc(-1 * var(--space)); }
  .feature-card { flex: 0 0 min(82vw, 23rem); aspect-ratio: 1.02; }
  .feature-card__bottom strong { font-size: clamp(2rem, 7vw, 3rem); }
  .feature-card__bottom small { font-size: 0.875rem; letter-spacing: 0.06em; }
  .feature-card__action { width: 3rem; }
  .pick-section { margin-top: 3.5rem; }
  .pick-row { grid-template-columns: 4.8rem minmax(0, 1fr) 1.2rem; min-height: 6.25rem; gap: 1rem; padding-right: 0.8rem; }
  .pick-row--text { grid-template-columns: minmax(0, 1fr); }
  .pick-row > img { height: 100%; min-height: 6.25rem; }
  .pick-row__placeholder { height: 4.8rem; }
  .pick-row__copy h3 { font-size: 1.55rem; }
  .pick-row__copy p { font-size: 0.75rem; }
  .pick-row__end { display: block; font-size: 1.8rem; }
  .guestbook { width: auto; margin-inline: 0; padding: 0 var(--space) 3rem; }
  .guestbook__heading { display: flex; }
  .guestbook__heading h2 { font-size: 2.25rem; }
  .guestbook__open { margin-top: 1.5rem; }
  .guestbook__feed { margin-top: 3rem; }
  .guestbook__entry { display: block; padding: 1.3rem 0 1.6rem; }
  .guestbook__entry-head { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .guestbook__entry p { margin-top: 0.7rem; font-size: clamp(1.2rem, 5vw, 1.45rem); }
  .guestbook-dialog { position: fixed; inset: auto 0 0; width: 100%; max-height: 90svh; margin: 0; padding: 1.75rem var(--space) max(1.5rem, env(safe-area-inset-bottom)); border-right: 0; border-bottom: 0; border-left: 0; }
  .guestbook__form textarea { min-height: 9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .paper-game__result:not([hidden]) { animation: none; }
  .paper-card-art__creature { transition: none; }
  .game-feature__card--paper:hover .paper-card-art__creature,
  .game-feature__card--paper:focus-visible .paper-card-art__creature { transform: none; }
}

@media (max-width: 400px) {
  .collection-intro__line > p { max-width: 19rem; }
  .feature-card { flex-basis: 84vw; }
  .game-feature__card { aspect-ratio: 1.02; }
  .game-feature__card-top { gap: 0.8rem; }
  .game-feature__card-play { width: 2.3rem; height: 2.3rem; }
  .game-feature__card-bottom strong { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .guestbook__form-bottom { align-items: stretch; flex-direction: column; }
  .guestbook__form-bottom button { width: 100%; }
  .pick-row { grid-template-columns: 4.25rem minmax(0, 1fr) 1.1rem; gap: 0.75rem; }
  .pick-row--text { grid-template-columns: minmax(0, 1fr); }
  .pick-row > img { height: 100%; }
  .pick-row__placeholder { height: 4.25rem; }
}

@media (max-width: 319px) {
  .collection-intro__line > p .quote-phrase { white-space: normal; }
}

[hidden] { display: none !important; }
.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; }
.item-page { max-width: 1600px; min-height: calc(100svh - 6rem); margin: 0 auto; padding: clamp(7.5rem, 9vw, 9rem) var(--space) 7rem; }
.item-page__back { display: inline-block; margin-bottom: clamp(2.5rem, 4vw, 4rem); color: var(--silver); font-size: 0.9rem; text-decoration: none; }
.item-page__back:hover { color: inherit; }
.item-page__state { color: var(--silver); font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2.4rem); }
.item-page__category { margin-bottom: clamp(1rem, 1.8vw, 1.5rem); }
.item-page__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr); align-items: start; column-gap: clamp(2.5rem, 6vw, 7rem); }
.item-page__hero--no-cover { grid-template-columns: minmax(0, 42rem); }
.item-page__left { min-width: 0; }
.item-page__copy { min-width: 0; }
.item-page__copy h1 { margin: 0; font-family: var(--display-cn); font-size: clamp(3.8rem, 6.5vw, 7.5rem); font-weight: 500; letter-spacing: -0.055em; line-height: 1.1; overflow-wrap: anywhere; }
.item-page__subtitle { max-width: 38rem; margin: 1.15rem 0 0; color: var(--silver); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.7; }
.item-page__cover { width: 100%; aspect-ratio: 0.84; overflow: hidden; background: #252729; }
.item-page__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.item-page__body { width: min(100%, 42rem); margin: clamp(2.3rem, 4vw, 4rem) 0 0; padding-top: 1.7rem; border-top: 1px solid var(--dark-line); font-family: var(--serif); font-size: clamp(1.125rem, 1.45vw, 1.3rem); line-height: 1.9; overflow-wrap: anywhere; }
.item-page__body p { margin: 0; white-space: pre-line; }
.item-page__body p + p { margin-top: 1.35em; }
.item-page--music { background: radial-gradient(circle at 82% 25%, rgba(167, 89, 42, 0.16), transparent 43%), radial-gradient(circle at 34% 84%, rgba(112, 65, 40, 0.1), transparent 48%); }
.item-page--music .item-page__category { display: flex; align-items: center; gap: 0.85rem; }
.item-page--music .item-page__category::before { width: 2px; height: 1.2rem; background: #d9a06b; content: ""; }
.item-page--music .item-page__copy h1 { color: #f7eee6; text-shadow: 0 0 2.5rem rgba(220, 143, 82, 0.14); }
.item-page--music .item-page__body { border-top-color: rgba(232, 184, 139, 0.25); }
.item-page--music .item-page__cover { position: relative; z-index: 0; width: min(100%, 34rem); aspect-ratio: 1; overflow: visible; background: transparent; }
.item-page--music .item-page__cover::before { position: absolute; z-index: 0; top: 12%; right: -14%; width: 76%; aspect-ratio: 1; border: 1px solid rgba(236, 189, 141, 0.18); border-radius: 50%; background: repeating-radial-gradient(circle at center, #171311 0 3px, #29221e 4px 5px, #171311 6px 9px); box-shadow: 1rem 0 2.5rem rgba(0, 0, 0, 0.38); content: ""; }
.item-page--music .item-page__cover img { position: relative; z-index: 1; border: 1px solid rgba(234, 184, 141, 0.56); border-radius: 1.1rem; box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.38); }
.music-player { --player-accent: #e4ab78; margin-top: clamp(3rem, 6vw, 6rem); padding-top: 1.2rem; border-top: 1px solid rgba(232, 184, 139, 0.28); }
.music-player__heading { display: flex; justify-content: space-between; gap: 1rem; color: var(--silver); font-size: 0.72rem; letter-spacing: 0.17em; }
.music-player__heading > span:last-child { letter-spacing: 0.04em; }
.music-player__empty { margin: 2.4rem 0 0; color: var(--silver); font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.4rem); }
.music-player__interface { padding-top: clamp(1.75rem, 3vw, 3rem); }
.music-player__seek,
.music-player__volume input { appearance: none; display: block; width: 100%; height: 4px; margin: 0; border: 0; border-radius: 99px; background: linear-gradient(90deg, var(--player-accent) var(--player-progress, 0%), rgba(225, 225, 225, 0.24) var(--player-progress, 0%)); cursor: pointer; }
.music-player__seek::-webkit-slider-thumb,
.music-player__volume input::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border: 0; border-radius: 50%; background: #ffe0bf; box-shadow: 0 0 12px rgba(255, 194, 133, 0.55); }
.music-player__seek::-moz-range-thumb,
.music-player__volume input::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #ffe0bf; box-shadow: 0 0 12px rgba(255, 194, 133, 0.55); }
.music-player__seek:disabled { cursor: default; opacity: 0.55; }
.music-player__times { display: flex; justify-content: space-between; margin-top: 0.7rem; color: var(--silver); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.music-player__controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 1.4rem; }
.music-player__caption { color: var(--silver); font-size: 0.67rem; letter-spacing: 0.24em; }
.music-player__toggle { display: grid; width: clamp(4.5rem, 7vw, 6rem); aspect-ratio: 1; place-items: center; border: 1px solid rgba(231, 166, 110, 0.8); border-radius: 50%; background: radial-gradient(circle at 50% 34%, rgba(219, 131, 75, 0.14), rgba(25, 18, 15, 0.35)); color: #ffe3c4; cursor: pointer; box-shadow: 0 0 2.2rem rgba(215, 127, 67, 0.13); transition: background 180ms ease, transform 180ms ease; }
.music-player__toggle:hover { transform: scale(1.05); background: rgba(219, 131, 75, 0.24); }
.music-player__toggle > span { width: 0; height: 0; margin-left: 0.3rem; border-top: 0.75rem solid transparent; border-bottom: 0.75rem solid transparent; border-left: 1.05rem solid currentColor; }
.music-player__toggle.is-playing > span { width: 1.12rem; height: 1.5rem; margin-left: 0; border: 0; border-right: 0.35rem solid currentColor; border-left: 0.35rem solid currentColor; }
.music-player__volume { display: flex; width: min(100%, 11rem); align-items: center; justify-self: end; gap: 0.8rem; }
.music-player__volume > span:first-child { color: #e7d4c3; font-size: 1.5rem; line-height: 1; }
.music-player__volume input { --player-progress: 80%; height: 3px; }
.music-player button:focus-visible, .music-player input:focus-visible { outline: 2px solid var(--player-accent); outline-offset: 5px; }
html[data-theme="light"] .item-page--music { background: radial-gradient(circle at 82% 25%, rgba(188, 139, 99, 0.17), transparent 43%), #f2f2ef; }
html[data-theme="light"] .item-page--music .item-page__copy h1 { color: #37251d; }
html[data-theme="light"] .music-player { border-top-color: rgba(98, 62, 38, 0.3); --player-accent: #9e6039; }
html[data-theme="light"] .music-player__seek, html[data-theme="light"] .music-player__volume input { background: linear-gradient(90deg, var(--player-accent) var(--player-progress, 0%), rgba(37, 30, 25, 0.22) var(--player-progress, 0%)); }
html[data-theme="light"] .music-player__toggle { background: #463127; color: #fff1e2; }
html[data-theme="light"] .music-player__volume > span:first-child { color: #604939; }
@media (max-width: 700px) {
  .item-page { padding-top: 6.75rem; padding-bottom: 5rem; }
  .item-page__back { margin-bottom: 2.8rem; }
  .item-page__hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "cover" "body"; }
  .item-page__hero--no-cover { grid-template-areas: "copy" "body"; }
  .item-page__left { display: contents; }
  .item-page__copy { grid-area: copy; }
  .item-page__copy h1 { font-size: clamp(3.8rem, 15vw, 6rem); }
  .item-page__cover { grid-area: cover; margin-top: 2.4rem; aspect-ratio: 1; }
  .item-page__body { grid-area: body; margin-top: 3rem; }
  .item-page--music .item-page__cover { width: min(82%, 26rem); margin: 2.4rem auto 0; }
  .music-player { margin-top: 3rem; }
  .music-player__caption { font-size: 0.57rem; letter-spacing: 0.12em; }
  .music-player__volume { display: none; }
}

/* A quiet editorial page for the site note and contact details. */
.about-page {
  max-width: 1600px;
  min-height: calc(100svh - 5rem);
  margin-inline: auto;
  padding: clamp(7rem, 9vw, 9rem) var(--space) clamp(5rem, 9vw, 9rem);
}
.about-page__back { color: var(--silver); font-size: 0.9rem; text-decoration: none; }
.about-page__back:hover { color: inherit; }
.about-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
  border-bottom: 1px solid var(--dark-line);
}
.about-page__hero h1 {
  margin: 0.65rem 0 0;
  font-family: var(--display-cn);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.1;
}
.about-page__hero > p {
  max-width: 26rem;
  margin: 0 0 0.35rem;
  color: var(--silver);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.55vw, 1.5rem);
  line-height: 1.85;
}
.about-page__notice {
  display: grid;
  grid-template-columns: minmax(12rem, 0.48fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(5rem, 8vw, 8rem);
}
.about-page__notice + .about-page__notice { border-top: 1px solid var(--dark-line); }
.about-page__section-title h2,
.about-page__contact h2 {
  margin: 0.7rem 0 0;
  font-family: var(--display-cn);
  font-size: clamp(2.25rem, 3.8vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.2;
}
.about-page__articles article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: 1.8rem 0 2rem;
  border-top: 1px solid var(--dark-line);
}
.about-page__articles article > span { color: var(--silver); font-family: var(--display-en); font-size: 0.72rem; letter-spacing: 0.12em; }
.about-page__articles h3 { margin: -0.2rem 0 0.55rem; font-size: 1.15rem; font-weight: 500; }
.about-page__articles p { max-width: 42rem; margin: 0; color: var(--silver); font-size: 0.97rem; line-height: 1.9; }
.about-page__contact {
  display: grid;
  grid-template-columns: minmax(12rem, 0.48fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding-top: clamp(3rem, 5vw, 5rem);
  border-top: 1px solid var(--dark-line);
}
.about-page__contact-copy { align-self: end; }
.about-page__contact-copy p { margin: 0 0 1rem; color: var(--silver); font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; }
.about-page__contact-copy a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  max-width: 100%;
  font-size: clamp(1.2rem, 2.5vw, 2.25rem);
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-decoration-color: var(--silver);
  text-underline-offset: 0.35rem;
}
.about-page__contact-copy a span { color: var(--silver); font-size: 0.75em; }
.about-page [data-about-field] { white-space: pre-line; }

@media (max-width: 700px) {
  .about-page { padding-top: 6.75rem; padding-bottom: 5rem; }
  .about-page__hero,
  .about-page__notice,
  .about-page__contact { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .about-page__hero { margin-top: 2.7rem; padding-bottom: 3.5rem; }
  .about-page__hero h1 { font-size: clamp(3.6rem, 15vw, 5.5rem); }
  .about-page__notice { padding-top: 3.5rem; padding-bottom: 4rem; }
  .about-page__articles article { grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.7rem; }
  .about-page__contact { padding-top: 3.5rem; }
  .about-page__contact-copy a { display: inline-block; font-size: clamp(1.05rem, 5.2vw, 1.45rem); }
}
