/* The opening is a small collection of places, held like postcards. */
.p-hero--worlds { padding-block: 35px 45px; }
.p-hero--worlds .p-hero-composition { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); grid-template-rows: auto auto; align-items: start; column-gap: 54px; row-gap: 27px; margin-top: 45px; }
.p-hero-composition>h1 { grid-column: 1; grid-row: 1; align-self: end; font-size: clamp(76px,7.5vw,112px); line-height: .99; }
.p-hero-composition>.p-hero-aside { grid-column: 1; grid-row: 2; max-width: 510px; padding: 0; }
.p-hero-composition .p-hero-aside>p { max-width: 440px; font-size: 14px; }
.p-hero-composition .p-platforms { margin-block: 17px 22px; }
.p-hero-composition .p-hero-quicklinks { margin-top: 12px; }
.p-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.p-hero-actions>.p-text-link { font-size: 12px; }
.p-worlds { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-width: 0; }
.p-worlds-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: 4px; color: var(--p-muted); }
.p-worlds-heading .p-mono { font-size: 8px; letter-spacing: .06em; }
.p-worlds-heading>span:last-child { color: var(--p-accent); white-space: nowrap; }
.p-worlds-space { position: relative; isolation: isolate; aspect-ratio: 1.25; perspective: 1100px; }
.p-worlds-plane { position: absolute; z-index: 1; top: 50%; left: 6%; width: 88%; transform: translateY(-50%) rotateX(var(--worlds-rx,0deg)) rotateY(var(--worlds-ry,0deg)); transform-style: preserve-3d; }
.p-worlds-back { position: absolute; inset: 0; border: 8px solid var(--p-surface); border-radius: 10px; background-size: cover; background-position: center; box-shadow: 0 6px 18px #10231f18; pointer-events: none; }
.p-worlds-back--far { transform: translate3d(5%,-4%,-55px) rotate(9deg); filter: saturate(.8); }
.p-worlds-back--near { transform: translate3d(-4%,-1%,-25px) rotate(-8deg); }
.p-site .p-worlds-card { position: relative; display: block; padding: 8px; border: 1px solid var(--p-rule); border-radius: 10px; background: var(--p-surface); color: var(--p-ink); box-shadow: 0 12px 22px -15px #10231f60,0 35px 60px -30px #10231f55; transform: translateZ(0); }
.p-worlds-scene { position: relative; isolation: isolate; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background-image: var(--p-wall); background-size: cover; background-position: var(--p-wall-position,center); }
.p-worlds-scene::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg,#07141618,#07141632 20%,#071416c7 70%,#071416e0); pointer-events: none; }
.p-worlds-island { position: absolute; z-index: 1; top: 7px; left: 50%; display: flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 99px; background: #050b0b; color: #e9ece5; font: 8px var(--p-mono); transform: translateX(-50%); box-shadow: 0 2px 4px #0002; }
.p-worlds-island>i { width: 3px; height: 8px; border-radius: 1px; background: var(--p-swatch-1); box-shadow: 4px 2px 0 -1px var(--p-swatch-2),-4px -1px 0 -1px var(--p-swatch-3); }
.p-worlds-edition { position: absolute; z-index: 1; top: 20px; left: 17px; writing-mode: vertical-rl; color: #ffffffe6; font-size: 6px; letter-spacing: .13em; }
.p-worlds-title { position: absolute; z-index: 1; right: 58px; bottom: 22px; left: 23px; color: #fff; }
.p-worlds-title>.p-mono { display: block; margin-bottom: 10px; color: #fff; font-size: 7px; letter-spacing: .1em; }
.p-worlds-title>strong { display: block; max-width: 15ch; font: 400 clamp(24px,2.55vw,38px)/1.03 var(--p-serif); letter-spacing: -.03em; text-wrap: balance; }
.p-worlds-enter { position: absolute; z-index: 1; right: 17px; bottom: 21px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff66; border-radius: 50%; background: #ffffff10; color: #fff; backdrop-filter: blur(10px); }
.p-worlds-enter>.p-icon { width: 16px; height: 16px; }
.p-worlds-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 32px; padding: 8px 5px 0; color: var(--p-muted); }
.p-worlds-card-foot>.p-mono { font-size: 6px; letter-spacing: .06em; }
.p-worlds-card-foot>span:last-child { display: inline-flex; align-items: center; gap: 8px; color: var(--p-accent); font-size: 8px; }
.p-worlds-card-foot .p-icon { width: 10px; height: 10px; }
.p-worlds-palette { position: absolute; z-index: 2; top: 21%; right: -6%; display: grid; gap: 5px; padding: 9px; border: 1px solid var(--p-rule); border-radius: 99px; background: var(--p-surface); box-shadow: 0 6px 16px #10231f25; transform: translateZ(28px) rotate(5deg); pointer-events: none; }
.p-worlds-palette>i { width: 19px; height: 19px; border: 1px solid #00000008; border-radius: 50%; background: var(--p-swatch-1); }
.p-worlds-palette>i:nth-child(2) { background: var(--p-swatch-2); }.p-worlds-palette>i:nth-child(3) { background: var(--p-swatch-3); }.p-worlds-palette>i:nth-child(4) { background: var(--p-paper); }
.p-worlds-palette>.p-mono { padding: 5px 6px; writing-mode: vertical-rl; color: var(--p-muted); font-size: 6px; letter-spacing: .08em; }
.p-worlds-orbit { position: absolute; z-index: -1; top: 50%; left: 50%; width: 90%; aspect-ratio: 1; border: 1px solid var(--p-rule); border-radius: 50%; opacity: .65; transform: translate(-50%,-50%); pointer-events: none; }
.p-worlds-orbit::after { content: ''; position: absolute; top: 12%; right: 12%; width: 6px; height: 6px; border: 1px solid var(--p-surface); border-radius: 50%; background: var(--p-accent); }
.p-worlds-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 6px; }
.p-worlds-invitation { color: var(--p-muted); font: italic 18px/1.2 var(--p-serif); }
.p-worlds-choices { display: flex; align-items: center; gap: 7px; }
.p-site .p-worlds-choices>button { position: relative; display: grid; place-items: center; width: 54px; height: 44px; padding: 3px; border: 1px solid var(--p-rule); border-radius: 6px; background: var(--p-surface); }
.p-worlds-choices img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.p-site .p-worlds-choices>button[aria-pressed='true'] { border-color: var(--p-accent); box-shadow: 0 0 0 2px var(--p-wash); }
.p-worlds-check { position: absolute; right: 1px; bottom: 1px; display: none; place-items: center; width: 13px; height: 13px; border: 1px solid var(--p-surface); border-radius: 50%; background: var(--p-accent); color: var(--p-surface); }.p-worlds-check .p-icon { width: 8px; height: 8px; }.p-worlds-choices [aria-pressed='true'] .p-worlds-check { display: grid; }
.p-worlds-bottom>a { display: flex; align-items: center; gap: 5px; min-height: 44px; color: var(--p-accent); font-size: 10px; }.p-worlds-bottom>a>.p-icon { width: 12px; height: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .p-worlds-back, .p-worlds-card, .p-worlds-palette { transition: background-color 320ms var(--p-ease-out),border-color 320ms var(--p-ease-out),box-shadow 320ms var(--p-ease-out); }
  .p-worlds-palette>i { transition: background-color 320ms var(--p-ease-out); }
  .p-worlds-enter { transition: transform 260ms var(--p-ease-out),background-color 260ms var(--p-ease-out); }
  .p-worlds-choices>button { transition: border-color 180ms var(--p-ease-out),box-shadow 180ms var(--p-ease-out); }
  @media (hover:hover) { .p-worlds-card:hover .p-worlds-enter { transform: translateX(3px); background: #ffffff26; } }
}
@media (max-width:1200px) {
  .p-hero--worlds .p-hero-composition { column-gap: 28px; margin-top: 38px; }
  .p-hero-composition>h1 { font-size: clamp(65px,7.5vw,94px); }
  .p-worlds-invitation { font-size: 16px; }
  .p-worlds-heading .p-mono { font-size: 7px; }
  .p-worlds-bottom { gap: 8px; padding: 0; }
  .p-site .p-worlds-choices>button { width: 46px; }
}
@media (max-width:1000px) and (min-width:901px) { .p-worlds-invitation { display: none; } }
@media (max-width:900px) {
  .p-hero--worlds .p-hero-composition { grid-template-columns: minmax(0,1fr); row-gap: 27px; }
  .p-hero-composition>h1 { grid-row: 1; font-size: clamp(64px,10.6vw,90px); }
  .p-hero-composition>.p-hero-aside { grid-column: 1; grid-row: 3; max-width: 600px; }
  .p-hero-composition .p-hero-aside>p { max-width: 530px; }
  .p-worlds { grid-column: 1; grid-row: 2; width: min(100%,620px); justify-self: center; }
  .p-worlds-space { aspect-ratio: 1.5; }
  .p-worlds-plane { left: 13%; width: 74%; }
  .p-worlds-title>strong { font-size: clamp(28px,4.5vw,37px); }
  .p-worlds-orbit { width: 73%; }
  .p-worlds-invitation { font-size: 18px; }
  .p-worlds-heading .p-mono { font-size: 8px; }
  .p-site .p-worlds-choices>button { width: 54px; }
}
@media (max-width:600px) {
  .p-hero--worlds { padding-block: 25px 32px; }
  .p-hero--worlds .p-hero-composition { margin-top: 24px; row-gap: 25px; }
  .p-hero-composition>h1 { font-size: clamp(50px,16.2vw,85px); }
  .p-worlds-space { aspect-ratio: 1.25; }
  .p-worlds-plane { left: 7%; width: 86%; }
  .p-worlds-title { left: 17px; right: 48px; bottom: 15px; }.p-worlds-title>strong { font-size: 25px; }.p-worlds-title>.p-mono { font-size: 6px; margin-bottom: 7px; }
  .p-worlds-island { top: 6px; padding: 4px 10px; font-size: 7px; }
  .p-worlds-edition { top: 16px; left: 11px; font-size: 5px; }
  .p-worlds-enter { width: 28px; height: 28px; right: 12px; bottom: 15px; }.p-worlds-enter .p-icon { width: 13px; height: 13px; }
  .p-worlds-card { padding: 6px; }
  .p-worlds-card-foot { min-height: 27px; gap: 8px; padding-inline: 3px; }.p-worlds-card-foot>.p-mono { font-size: 5px; }.p-worlds-card-foot>span:last-child { font-size: 7px; gap: 4px; }
  .p-worlds-palette { padding: 7px; gap: 4px; right: -5%; top: 18%; }.p-worlds-palette>i { width: 14px; height: 14px; }.p-worlds-palette>.p-mono { padding: 4px 3px; font-size: 5px; }
  .p-worlds-orbit { width: 87%; }
  .p-worlds-invitation { display: none; }
  .p-worlds-heading .p-mono { font-size: 6px; }
  .p-site .p-worlds-choices>button { width: 50px; }
  .p-hero-composition .p-hero-aside>p { font-size: 14px; }
  .p-hero-actions { gap: 18px; }.p-hero-actions>.p-text-link { font-size: 11px; }
}
@media (max-width:350px) { .p-worlds-title>strong { font-size: 22px; }.p-worlds-card-foot>.p-mono { letter-spacing: 0; } }
@media print { .p-worlds { display: none; } }
