:root {
  --ink: #101828;
  --ink-soft: #475467;
  --ink-faint: #98a2b3;
  --paper: #f4f7fb;
  --paper-2: #eaf0f8;
  --snow: #ffffff;
  --line: rgba(16, 24, 40, 0.08);
  --cape: #ff5a2a;
  --sky: #2f6fed;
  --sun: #ffc14d;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.45, 0, 0.55, 1);
  --dur: 700ms;
  --dur-fast: 220ms;
  --max: 1120px;
  --radius: 1.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.011em;
  background:
    radial-gradient(900px 520px at 12% -8%, #ffe8d2 0%, transparent 58%),
    radial-gradient(820px 480px at 100% 0%, #d7e6ff 0%, transparent 52%),
    linear-gradient(180deg, #fff8f2 0%, var(--paper) 22%, #eef5f2 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.splash {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.splash__sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.splash__sky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  animation: drift 22s var(--ease-move) infinite alternate;
  will-change: transform;
}

.splash__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 14, 28, 0.42) 0%, rgba(8, 14, 28, 0.08) 48%, transparent 70%),
    linear-gradient(180deg, rgba(8, 14, 28, 0.18) 0%, rgba(8, 14, 28, 0.05) 38%, rgba(8, 14, 28, 0.78) 100%);
}

.splash__panel {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 7.5rem 0 4rem;
  color: #fff;
}

.splash__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.15rem;
  margin-bottom: 1.1rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 16px 40px rgba(0, 0, 0, 0.35);
}

.splash__brand {
  margin: 0 0 0.7rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 10vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.splash h1 {
  margin: 0 0 0.9rem;
  max-width: 14ch;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.splash__lede {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
}

.intro {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.5rem 0 1.5rem;
}

.intro__inner h2,
.notes__inner h2 {
  margin: 0 0 0.9rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(2.15rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.intro__lead {
  margin: 0 0 2.25rem;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
}

.intro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.intro__grid article {
  padding: 1.35rem 1.3rem 1.45rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--snow) 82%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.intro__grid h3 {
  margin: 0 0 0.55rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.intro__grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.6;
}

.copy-extra {
  margin: 0.9rem 0 0 !important;
}

.detail {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.detail li {
  padding: 1rem 1.15rem;
  border-radius: 1.15rem;
  background: color-mix(in srgb, var(--snow) 88%, transparent);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.55;
}

.detail strong {
  color: var(--ink);
  font-weight: 750;
}

.notes {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 5rem;
}

.notes__inner {
  padding: 2rem 1.75rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background:
    linear-gradient(160deg, #ffffff 0%, #f2f6ff 100%);
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(16, 24, 40, 0.06);
}

.notes__inner > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 46rem;
}

.notes__points {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.notes__points p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.55;
}

.notes__points strong {
  color: var(--ink);
}

.billboard__extra {
  margin: 0.95rem 0 0 !important;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.84) !important;
}

.ticks--ink li {
  color: var(--ink-soft);
}

.rise {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  animation: rise-in 900ms var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}

.chapter__copy h2,
.spread__words h2,
.billboard__copy h2,
.roster__head h2,
.shelf__copy h2 {
  margin: 0 0 0.85rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(2.15rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.chapter__copy p,
.spread__words p,
.roster__head p,
.shelf__copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  font-weight: 500;
  max-width: 40rem;
  line-height: 1.7;
}

.spread__words .copy-extra,
.shelf__copy .copy-extra,
.roster__head .copy-extra {
  max-width: 40rem;
}

.chapter {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 6.5rem 0 4rem;
}

.chapter__copy {
  margin-bottom: 2.4rem;
}

.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: minmax(240px, 26vw) minmax(240px, 26vw);
  gap: 1.1rem;
}

.bento figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--snow);
  box-shadow:
    0 1px 0 rgba(16, 24, 40, 0.04),
    0 22px 50px rgba(16, 24, 40, 0.08);
}

.bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 900ms var(--ease-out);
  will-change: transform;
}

.bento__wallpaper { grid-row: 1 / 3; }

.bento__wallpaper img {
  object-position: center 18%;
}
.bento__card { grid-column: 2; grid-row: 1; }
.bento__sticker {
  grid-column: 3;
  grid-row: 1;
  background:
    radial-gradient(circle at 18% 12%, #fff4df, #e8f0ff 68%);
  padding: 1rem;
}
.bento__poster { grid-column: 2; grid-row: 2; }
.bento__avatar { grid-column: 3; grid-row: 2; }

.bento__sticker img {
  border-radius: 1.25rem;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.12);
}

.bento__avatar img {
  object-position: center 18%;
}

.bento figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.8rem 1.15rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 14, 28, 0.7) 100%);
  pointer-events: none;
}

.bento__sticker figcaption {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 0 0 1.25rem 1.25rem;
}

@media (hover: hover) and (pointer: fine) {
  .bento figure:hover img {
    transform: scale(1.06);
  }
}

.spread {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 1.5rem auto 5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0;
  border-radius: calc(var(--radius) + 0.35rem);
  overflow: hidden;
  background: var(--snow);
  box-shadow:
    0 1px 0 rgba(16, 24, 40, 0.04),
    0 30px 70px rgba(16, 24, 40, 0.09);
}

.spread__art {
  overflow: hidden;
  min-height: 460px;
}

.spread__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.spread__words {
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(165deg, #ffffff 0%, #f3f7ff 100%);
}

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

.ticks li {
  padding-left: 1.45rem;
  position: relative;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 1.02rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 26%, transparent);
}

@media (hover: hover) and (pointer: fine) {
  .spread:hover .spread__art img {
    transform: scale(1.04);
  }
}

.billboard {
  position: relative;
  min-height: min(78svh, 700px);
  display: grid;
  align-items: end;
  isolation: isolate;
  margin: 0 0 5.5rem;
  overflow: hidden;
}

.billboard__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out);
}

.billboard__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.12) 0%, rgba(8, 14, 28, 0.72) 100%);
}

.billboard__copy {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 3.5rem;
  color: #fff;
  max-width: 40rem;
}

.billboard__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 36rem;
}

@media (hover: hover) and (pointer: fine) {
  .billboard:hover .billboard__bg {
    transform: scale(1.08);
  }
}

.roster {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 5.5rem;
}

.roster__head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.roster__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.roster__grid li {
  background: var(--snow);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow:
    0 1px 0 rgba(16, 24, 40, 0.04),
    0 16px 36px rgba(16, 24, 40, 0.06);
}

.roster__grid li > span {
  display: block;
  padding: 0.85rem 0.5rem 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.roster__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .roster__grid li:hover img {
    transform: scale(1.07);
  }
}

.shelf {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}

.shelf__media {
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.2rem);
  box-shadow:
    0 1px 0 rgba(16, 24, 40, 0.04),
    0 28px 60px rgba(16, 24, 40, 0.1);
}

.shelf__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.shelf__copy h2 {
  max-width: 12ch;
}

@media (hover: hover) and (pointer: fine) {
  .shelf:hover .shelf__media img {
    transform: scale(1.04);
  }
}

.end {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 2.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.end__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.end__brand img {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.4rem;
}

.end__links {
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.end__links a {
  transition: color var(--dur-fast) ease;
}

.end__links a:hover {
  color: var(--cape);
}

.end__copy {
  margin: 0;
  text-align: right;
}

.enter {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.enter.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(0, -1.6%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .rise,
  .enter {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .splash__sky img,
  .bento img,
  .spread__art img,
  .billboard__bg,
  .roster__grid img,
  .shelf__media img {
    animation: none;
    transition: none;
    transform: none;
  }
}

@media (max-width: 900px) {
  .intro__grid {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 200px 200px;
  }

  .bento__wallpaper {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .bento__card { grid-column: 1; grid-row: 2; }
  .bento__sticker { grid-column: 2; grid-row: 2; }
  .bento__poster { grid-column: 1; grid-row: 3; }
  .bento__avatar { grid-column: 2; grid-row: 3; }

  .spread {
    grid-template-columns: 1fr;
  }

  .spread__art {
    min-height: 300px;
  }

  .roster__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shelf {
    grid-template-columns: 1fr;
  }

  .end {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .end__links {
    justify-content: flex-start;
  }

  .end__copy {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .splash__panel {
    padding-bottom: 2.75rem;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .bento figure,
  .bento__wallpaper,
  .bento__card,
  .bento__sticker,
  .bento__poster,
  .bento__avatar {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .chapter {
    padding-top: 4.5rem;
  }
}
