:root {
  color-scheme: dark;
  --canvas: #050d20;
  --ink: #f8fbff;
  --muted: #adbad0;
  --gold: #ffd849;
  --cta-top: #8deaff;
  --cta-bottom: #55c4ff;
  --on-cta: #06223b;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  font-family: system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
}

.hero {
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 0 0, #a55b1794, transparent 32%),
    radial-gradient(ellipse at 79% 38%, #0d2854, transparent 58%),
    var(--canvas);
}

.wrap {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 94rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  padding-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
}

.masthead {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  min-height: 4.875rem;
  font-size: 1.1875rem;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.masthead img {
  display: block;
}

.poster {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 57%) minmax(0, 1fr);
  align-content: center;
  row-gap: clamp(1.125rem, 2.5svh, 1.75rem);
  padding-block: clamp(1rem, 3.5svh, 2.5rem);
}

.poster > :not(.visual__art) {
  grid-column: 1;
  min-width: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3.125rem, 6.2vw, 6.25rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -0.064em;
  text-shadow: 0 0.06em 0.22em #0206129e;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h1:is(:lang(ja), :lang(ko), :lang(hi)) {
  font-style: normal;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero__accent {
  margin-block-start: 0.025em;
  color: var(--gold);
}

.hero__lead {
  margin: clamp(0.875rem, 2.2svh, 1.5rem) 0 0;
  font-size: clamp(1.0625rem, 1.9vw, 1.625rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-shadow: 0 0.06em 0.22em #0206129e;
  text-wrap: balance;
}

.hero__lead::after {
  display: block;
  width: min(66%, 15rem);
  height: 0.3rem;
  margin-block-start: 0.85rem;
  background: linear-gradient(90deg, #ffe260, #ffc63de0 77%, #ffc63d00);
  clip-path: polygon(0 58%, 12% 26%, 46% 0, 100% 25%, 91% 62%, 36% 76%, 0 100%);
  content: "";
}

.poster__topics {
  display: grid;
  gap: clamp(0.45rem, 1.2svh, 0.75rem);
  margin: 0;
  padding: 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 780;
  line-height: 1.2;
  list-style: none;
}

.poster__topics li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.25rem;
}

.topic-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.topic-icon svg {
  width: 66%;
  height: 66%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topic-amount {
  color: var(--gold);
  font-size: 1.22em;
  font-weight: 900;
}

.visual__art {
  position: absolute;
  z-index: -1;
  inset-block-start: 50%;
  inset-inline-end: calc(-1 * var(--gutter));
  width: min(66vw, 64rem);
  height: min(83svh, 52rem);
  pointer-events: none;
  transform: translateY(-50%);
  mask-image: linear-gradient(90deg, transparent 2%, #000 28%, #000 95%, transparent),
    linear-gradient(180deg, transparent, #000 15%, #000 86%, transparent);
  mask-composite: intersect;
}

.visual__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.visual__art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 34%, #ffdc8860 49%, transparent 65%);
  content: "";
  opacity: 0;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 4.125rem;
  width: min(22rem, 100%);
  padding: 0.5rem 1.125rem;
  border: 1px solid #aff2ff;
  border-radius: 1rem;
  background: linear-gradient(180deg, var(--cta-top), var(--cta-bottom));
  box-shadow: 0 0.5rem 1.75rem #188adc42, inset 0 1px 0 #fff9;
  color: var(--on-cta);
  font-size: clamp(1.0625rem, 1.65vw, 1.4375rem);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: filter 150ms ease, transform 150ms ease;
}

.cta__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff59;
}

.cta__icon svg {
  display: block;
  width: 66%;
  height: 66%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.cta:active {
  filter: brightness(0.94);
  transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover {
    filter: brightness(1.09);
    transform: translateY(-2px);
  }

  .cta:hover:active {
    filter: brightness(0.94);
    transform: translateY(1px);
  }
}

.disclosure {
  position: relative;
  border-top: 1px solid #b0c6f12a;
  padding-block: 0.875rem 1.125rem;
}

.disclosure p {
  max-width: 84ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: no-preference) {
  .hero[data-enter] .poster__intro {
    animation: enter 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .visual__art::after {
    animation: light-pass 1.1s ease-in-out 100ms both;
  }
}

@keyframes enter {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes light-pass {
  0% { opacity: 0; transform: translateX(-40%); }
  48% { opacity: 0.55; }
  100% { opacity: 0; transform: translateX(40%); }
}

@media (max-width: 54rem) {
  .masthead {
    min-height: 3.75rem;
  }

  .poster {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(0.75rem, 2svh, 1.125rem);
    padding-block: clamp(1rem, 2.5svh, 2rem);
  }

  h1 {
    font-size: clamp(2.5rem, 10.5vw, 5.25rem);
  }

  .visual__art {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(8rem, 26svh, 20rem);
    transform: none;
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent),
      linear-gradient(180deg, transparent, #000 11%, #000 89%, transparent);
  }
}

@media (max-width: 33.75rem) {
  .masthead {
    min-height: 3.375rem;
  }

  .masthead img {
    width: 2rem;
    height: 2rem;
  }

  h1 {
    font-size: clamp(2.125rem, 11.2vw, 3.625rem);
    letter-spacing: -0.055em;
  }

  .hero__lead {
    margin-block-start: 0.75rem;
    font-size: 1rem;
  }

  .hero__lead::after {
    height: 0.25rem;
    margin-block-start: 0.625rem;
  }

  .poster__topics {
    gap: 0.5rem;
    font-size: 0.975rem;
  }

  .poster__topics li {
    gap: 0.625rem;
    min-height: 1.875rem;
  }

  .topic-icon {
    width: 1.875rem;
  }

  .cta {
    min-height: 3.5rem;
    width: 100%;
    border-radius: 0.875rem;
  }

  .cta__icon {
    width: 2.125rem;
  }

  .disclosure {
    padding-block: 0.625rem 0.8125rem;
  }
}

@media (max-width: 22.5rem) {
  :root {
    --gutter: 1rem;
  }
}

@media (max-width: 33.75rem) and (max-height: 44rem) {
  .masthead {
    min-height: 2.875rem;
  }

  .poster {
    row-gap: 0.625rem;
    padding-block: 0.625rem;
  }

  h1 {
    font-size: clamp(1.875rem, 10vw, 2.625rem);
  }

  .hero__lead {
    margin-block-start: 0.375rem;
    font-size: 0.8125rem;
  }

  .hero__lead::after {
    height: 0.25rem;
    margin-block-start: 0.4375rem;
  }

  .poster__topics {
    gap: 0.25rem;
    font-size: 0.8rem;
  }

  .poster__topics li {
    gap: 0.5rem;
    min-height: 1.5rem;
  }

  .topic-icon {
    width: 1.5rem;
  }

  .visual__art {
    height: clamp(5rem, 21svh, 10rem);
  }

  .cta {
    min-height: 3rem;
    padding-block: 0.35rem;
  }

  .cta__icon {
    width: 1.8125rem;
  }
}

@media (max-width: 33.75rem) and (max-height: 37rem) {
  .masthead {
    min-height: 2.625rem;
  }

  .poster {
    row-gap: 0.375rem;
    padding-block: 0.5rem;
  }

  .visual__art {
    height: clamp(4.5rem, 16.5svh, 8rem);
  }

  .hero__lead {
    font-size: 0.75rem;
  }

  .poster__topics {
    font-size: 0.75rem;
  }

  .poster__topics li {
    min-height: 1.375rem;
  }

  .topic-icon {
    width: 1.375rem;
  }

  .disclosure {
    padding-block: 0.5rem 0.625rem;
  }
}

@media (min-width: 33.76rem) and (max-height: 32rem) {
  .masthead {
    min-height: 2.5rem;
  }

  .masthead img {
    width: 2rem;
    height: 2rem;
  }

  .poster {
    grid-template-columns: minmax(0, 57%) minmax(0, 1fr);
    row-gap: 0.375rem;
    padding-block: 0.375rem;
  }

  h1 {
    font-size: clamp(1.875rem, 4.9vw, 3.25rem);
  }

  .hero__lead {
    margin-block-start: 0.25rem;
    font-size: 0.75rem;
  }

  .hero__lead::after {
    height: 0.2rem;
    margin-block-start: 0.3125rem;
  }

  .poster__topics {
    gap: 0.1875rem;
    font-size: 0.75rem;
  }

  .poster__topics li {
    gap: 0.375rem;
    min-height: 1.25rem;
  }

  .topic-icon {
    width: 1.25rem;
  }

  .visual__art {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: calc(-1 * var(--gutter));
    width: 57vw;
    height: min(82svh, 100%);
    transform: translateY(-50%);
    mask-image: linear-gradient(90deg, transparent, #000 28%, #000 95%, transparent),
      linear-gradient(180deg, transparent, #000 11%, #000 89%, transparent);
  }

  .cta {
    min-height: 2.75rem;
    padding-block: 0.3125rem;
    font-size: 1rem;
  }

  .cta__icon {
    width: 1.625rem;
  }

  .disclosure {
    padding-block: 0.375rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }

  .cta:is(:hover, :active) {
    transform: none;
  }
}
