/* PokeDrop homepage: the world, its collection, and the planned drop experience. */
:root { color-scheme: dark; --ink: #f5f1e7; --muted: #aaa9ad; --accent: #e4495b; --border: #ffffff1c; --focus: #f5f1e7; --page-gutter: clamp(24px, 4.5vw, 80px); }
html { height: auto; overflow-x: clip; overflow-y: auto; scroll-behavior: smooth; scroll-padding-top: 32px; }
body { height: auto; overflow: visible; color: var(--ink); background: #121315; font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.skip-link { position: absolute; z-index: 20; left: 24px; top: 12px; padding: 14px 20px; color: #141417; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
#study { height: 100svh; min-height: 720px; max-height: 1100px; overflow-anchor: none; background: #121315; overflow: clip; }
#study::before { background: radial-gradient(ellipse at 60% 45%, #24262c 0%, #18191d 43%, #121315 78%); }
.masthead { inset: 0 var(--page-gutter) auto; height: 100px; border-bottom: 1px solid #ffffff12; gap: 24px; }
.wordmark { color: #f5f1e7; font-size: 30px; letter-spacing: -1.8px; }
.wordmark i { border-radius: 0; width: 7px; height: 9px; transform: skewY(-15deg); margin-left: 8px; box-shadow: 3px 2px 0 #892b3b; }
.site-nav { pointer-events: auto; display: flex; gap: 32px; align-items: center; margin-left: auto; }
.site-nav a, .preview-label { font-size: 12px; text-decoration: none; padding: 14px 0; }
.site-nav a { position: relative; color: #c7c6c8; transition: color 160ms; }
.site-nav a::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 5px; height: 5px; background: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity 160ms, transform 160ms; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { opacity: 1; transform: none; }
.preview-label { pointer-events: auto; display: flex; align-items: center; gap: 9px; color: #ada9ae; margin-left: 25px; }
.preview-label span, .tiny-block { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; background: var(--accent); box-shadow: 2px 2px 0 #672733; }
.caption { left: var(--page-gutter); top: clamp(160px, 24vh, 240px); max-width: 350px; }
/* Both lines share a cap height, material and block geometry. */
.world-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding-top: 7px; font-weight: 500; line-height: 1; letter-spacing: 0; }
.world-heading .heading-line { display: flex; --block-height: var(--heading-size); }
.hero-heading { --heading-size: clamp(36px, 3.45vw, 52px); pointer-events: auto; }
.world-heading .block-type { filter: drop-shadow(1px 3px 1px #00000035); }
.world-heading .block-front { fill: #f4f0e4; }
.world-heading .block-side { fill: #92969e; }
.world-heading .block-base { fill: #50545e; }
.world-heading .heading-red .block-front { fill: #ed5b6b; }
.world-heading .heading-red .block-side { fill: #992b42; }
.world-heading .heading-red .block-base { fill: #541d30; }
.world-heading .heading-red .block-edge { stroke: #ffc2b5; stroke-opacity: .65; }
.world-heading[data-revealed="true"] .block-letter { animation: heading-settle 420ms cubic-bezier(.2,.75,.25,1) both; animation-delay: calc(var(--letter-index) * 12ms); }
@keyframes heading-settle { from { transform: translateY(.9px); opacity: .45; } to { transform: translateY(0); opacity: 1; } }
.caption-note { margin-top: 26px; font-size: 14px; line-height: 1.75; max-width: none; color: #b6b3b9; }
.hero-instruction { display: flex; align-items: center; gap: 10px; margin-top: 33px; color: #8e8b94; font-size: 10px; letter-spacing: .1px; }
.hero-instruction .tiny-block { width: 4px; height: 4px; }
.scene-wrap { inset: 110px 0 95px 28%; }
canvas, .drop-target, .drop-beacon { touch-action: pan-y !important; }
.toolbar { left: var(--page-gutter); right: var(--page-gutter); bottom: 30px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; }
#gesture-hint { font-size: 10px; max-width: none; color: #8e8b94; }
#gesture-hint svg { display: none; }
#gesture-hint b { margin-inline: 5px; }
.touch-gesture { display: none; }
.control-group { gap: 0; border: 1px solid #ffffff18; background: #14151890; }
.control-group .icon-button { width: 40px; height: 40px; border-radius: 0; border: 0; color: #c3c2c5; }
.control-group .icon-button + .icon-button { border-left: 1px solid #ffffff0c; }
.control-group .icon-button:hover { color: #fff; background: #ffffff09; }
.control-group .icon-button svg { width: 15px; height: 15px; stroke-linecap: square; stroke-linejoin: miter; }
.collection-cue { justify-self: end; font-size: 11px; color: #c3c2c5; text-decoration: none; padding: 14px 0 14px 20px; }
.collection-cue span { margin-left: 18px; color: var(--accent); display: inline-block; transition: transform 180ms; }
.collection-cue:hover span { transform: translateY(3px); }
#drop-detail { top: 122px; right: var(--page-gutter); bottom: 100px; width: 290px; }
#study[data-drop-open="true"] .scene-wrap { inset: 110px 335px 100px 0; }
.icon-button, .back-to-world { border-radius: 2px; }
#drop-heading { font-size: 29px; }
.page-section { max-width: 1600px; margin-inline: auto; padding-inline: var(--page-gutter); }
.collection-section { padding-top: 85px; padding-bottom: 88px; position: relative; border-top: 1px solid #ffffff15; }
.collection-section::before { content: ''; position: absolute; top: -3px; left: var(--page-gutter); width: 28px; height: 5px; background: #d34a5a; box-shadow: 5px 5px 0 #652732; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.section-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 11px; color: #a6a1aa; }
.section-heading h2 { margin: 0; --block-height: 37px; font-weight: 500; }
.section-heading > p { max-width: 325px; margin: 0 0 2px; color: #9d9aA3; font-size: 12px; line-height: 1.8; }
.card-collection { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(150px, 16vw, 220px)), 1fr)); gap: 34px clamp(15px, 2.5vw, 36px); }
.collection-link { display: block; text-decoration: none; min-width: 0; }
.card-art { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; width: 100%; aspect-ratio: .77; padding: 8% 12% 18%; }
.card-art::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(#1a1b1e00, #1d1f2280); clip-path: polygon(0 10px, 10px 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.card-art img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(5px 10px 8px #0005); transform: translateY(0) rotate(-3deg); transition: transform 300ms cubic-bezier(.2,.75,.25,1), filter 300ms; }
.collection-card:nth-child(2n) .card-art img { transform: rotate(3deg); }
.art-plinth { position: absolute; left: 18%; right: 18%; bottom: 7%; height: 7%; transform: skewX(-22deg); background: #2f3237; box-shadow: 4px 4px 0 #1c1e21, 4px 8px 0 #0c0e10; z-index: -1; transition: background 200ms; }
.card-view { position: absolute; bottom: 13px; left: 0; right: 0; text-align: center; font-size: 8px; color: #b3b0b8; opacity: 0; transform: translateY(4px); transition: opacity 180ms, transform 180ms; }
.card-view > span { color: var(--accent); margin-left: 5px; }
.collection-city { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding-bottom: 12px; border-bottom: 1px solid #ffffff1a; font-size: 11px; color: #aaa6ae; }
.collection-city > span { color: #6e6e75; transition: color 180ms, transform 180ms; }
.collection-link h3 { display: flex; min-width: 0; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 16px 0 7px; --block-height: clamp(13px, 1.18vw, 18px); }
.collection-name { max-width: 100%; overflow: hidden; }
.collection-name .block-type { max-width: 100%; object-fit: contain; object-position: left; }
.collection-suffix { font-size: 10px; font-weight: 400; color: #aaa8ac; }
.collection-edition { display: block; font-size: 9px; color: #89868f; }
.collection-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; --block-height: 22px; }
.collection-price small { font-size: 8px; color: #89868f; }
.collection-link:focus-visible .card-art img, .collection-link:hover .card-art img { transform: translateY(-9px) rotate(0deg); filter: drop-shadow(5px 19px 10px #0007); }
.collection-link:focus-visible .card-view, .collection-link:hover .card-view { opacity: 1; transform: none; }
.collection-link:hover .art-plinth { background: #393e45; }
.collection-link:hover .collection-city > span { color: var(--accent); transform: translate(2px,-2px); }
.collection-link:hover .block-side { fill: #bac1c5; }
/* Compact catalog tools; locations and results come from the records. */
.collection-tools { display: grid; grid-template-columns: minmax(0,1fr) minmax(190px,260px) 44px; gap: 18px; margin-bottom: 34px; }
.collection-search, .collection-location { display: flex; align-items: center; min-width: 0; height: 48px; border-bottom: 1px solid #ffffff26; gap: 12px; transition: border-color 160ms; }
.collection-tools svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: #9996a0; stroke-width: 1.2; }
.collection-search:focus-within, .collection-location:focus-within { border-color: #ed5b6b; box-shadow: 0 1px 0 #ed5b6b; }
.collection-tools input, .collection-tools select { width: 100%; min-width: 0; height: 100%; border: 0; border-radius: 0; background: none; color: #d3cfd5; font: inherit; font-size: 12px; outline-offset: 4px; }
.collection-tools input::placeholder { color: #95919a; opacity: 1; }
.collection-tools input:focus-visible, .collection-tools select:focus-visible { outline: none; }
.collection-tools select { appearance: none; padding-right: 28px; cursor: pointer; text-overflow: ellipsis; }
.collection-tools option { background: #1a1b1e; color: #eee; }
.collection-location { position: relative; }.collection-location svg { position: absolute; right: 0; pointer-events: none; width: 15px; }
.clear-collection { display: grid; place-items: center; height: 44px; align-self: center; border: 1px solid #ffffff20; border-radius: 0; background: transparent; transition: border-color 160ms; }
.clear-collection:not(:disabled):hover { border-color: var(--accent); }.clear-collection:disabled { cursor: default; opacity: .25; }
.collection-empty { padding: 60px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.collection-empty p { font-size: 20px; margin: 0 0 10px; }.collection-empty > span { color: var(--muted); font-size: 12px; }
.collection-empty button, .more-cards { background: none; color: var(--ink); border: 1px solid var(--border); border-radius: 0; min-height: 44px; padding: 12px 18px; font-size: 12px; }
.collection-empty button { display: block; margin: 24px auto 0; }.collection-empty button span, .more-cards span { color: var(--accent); margin-left: 20px; }
.more-cards { display: block; margin: 36px auto 0; }.more-cards:hover, .collection-empty button:hover { border-color: var(--accent); }
.collection-note { margin: 34px 0 0; color: #787780; font-size: 10px; line-height: 1.7; max-width: 760px; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-block: 80px 90px; border-top: 1px solid #ffffff15; }
.about-heading { --heading-size: clamp(32px, 3.1vw, 43px); }
.about-intro > p:not(.section-kicker) { max-width: 295px; font-size: 13px; line-height: 1.8; color: #a6a1aa; margin-top: 24px; }
.about-intro .development-note { font-size: 10px !important; color: #73717c !important; margin-top: 38px !important; }
.drop-journey article { display: flex; gap: 24px; padding: 25px 0; border-top: 1px solid #ffffff15; }
.drop-journey article:first-child { padding-top: 3px; border-top: 0; }
.drop-journey article:last-child { padding-bottom: 0; }
.drop-journey h3 { font-size: 18px; font-weight: 450; letter-spacing: -.3px; margin: 0 0 9px; }
.drop-journey p { color: #a6a1aa; font-size: 12px; line-height: 1.8; margin: 0; max-width: 330px; }
.journey-icon { flex: 0 0 38px; width: 38px; height: 38px; overflow: visible; }
.tile-top { fill: #d9d7ca; } .tile-left { fill: #717c88; } .tile-right { fill: #4b596a; } .tile-pin { fill: #d4485b; } .tile-window { fill: #252b32; } .tile-line { fill: none; stroke: #14171c55; stroke-width: .75; }
.preview-note { display: flex; align-items: baseline; gap: 14px; padding-block: 28px; border-top: 1px solid #ffffff15; background: #17181b; }
.preview-note strong { font-weight: 450; color: #c7c2ca; font-size: 12px; }
.preview-note p { color: #8c8893; font-size: 11px; line-height: 1.7; margin: 7px 0 0; }
.site-footer { display: flex; align-items: center; gap: 35px; padding-block: 35px; }
.site-footer .wordmark { font-size: 24px; flex-shrink: 0; }
.site-footer p { color: #73717a; font-size: 9px; line-height: 1.7; }
.back-top { margin-left: auto; white-space: nowrap; color: #a6a1aa; font-size: 10px; text-decoration: none; padding-block: 14px; }
.back-top span { margin-left: 12px; color: var(--accent); }
@media (min-width: 1550px) { .caption { left: max(var(--page-gutter), calc((100% - 1440px) / 2)); } .scene-wrap { right: 0; left: 28%; } }
@media (max-width: 1100px) and (min-width: 701px) {
  .caption { max-width: 270px; top: 180px; } .hero-heading { --heading-size: 36px; }
  .scene-wrap { left: 26%; right: 0; bottom: 112px; top: 125px; }
  .toolbar { grid-template-columns: 1fr auto; } .control-group { grid-column: 2; grid-row: 1; } .collection-cue { grid-column: 1; grid-row: 1; justify-self: start; padding-left: 0; }
  #gesture-hint { position: absolute; bottom: 64px; right: 0; font-size: 9px; }
  .hero-instruction { max-width: 195px; line-height: 1.7; }
  .collection-link h3 { --block-height: 13px; }.collection-price { --block-height: 19px; }
  .card-art { padding-inline: 7%; }.site-footer { gap: 24px; }
}
@media (max-width: 800px) { .site-nav { gap: 24px; } .preview-label { margin-left: 4px; } .card-collection { gap: 32px 24px; } .collection-link h3 { --block-height: 17px; } .card-art { padding-inline: 13%; } .collection-price { --block-height: 23px; } }
@media (max-width: 700px) {
  :root { --page-gutter: 24px; }
  #study { height: 100svh; min-height: 760px; max-height: 1000px; }
  .masthead { height: 78px; gap: 16px; }
  .wordmark { font-size: 27px; }
  .site-nav { gap: 19px; }.site-nav a { font-size: 10px; }.preview-label { display: none; }
  .caption { left: 25px; right: 25px; top: 110px; max-width: none; }
  .hero-heading { --heading-size: 35px; gap: 10px; }
  .caption-note { display: block; font-size: 12px; margin-top: 15px; line-height: 1.7; }
  .caption-note br { display: none; }
  .hero-instruction { display: none; }
  .scene-wrap { inset: 255px 0 115px; }
  .toolbar { bottom: 22px; left: 24px; right: 24px; display: flex; flex-direction: row; justify-content: space-between; gap: 15px; }
  .control-group { gap: 0; }.control-group .icon-button { width: 42px; height: 42px; }
  #gesture-hint { position: absolute; bottom: 62px; width: 100%; justify-content: center; font-size: 9px; white-space: nowrap; }
  .desktop-gesture { display: none; }.touch-gesture { display: inline; }
  .collection-cue { padding-left: 0; font-size: 11px; }.collection-cue span { margin-left: 9px; }
  #drop-detail { top: auto; left: 18px; right: 18px; bottom: 110px; width: auto; max-height: 420px; padding: 15px 18px; }
  #study[data-drop-open="true"] .scene-wrap { inset: 80px 0 540px; }
  #drop-heading { font-size: 23px; }
  .detail-content { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 18px; margin-top: 16px; }
  .display-stage { margin: 0; }.display-case { width: 110px; }.back-to-world { display: flex; }
  .collection-section { padding-block: 56px 52px; }
  .section-heading { display: block; margin-bottom: 26px; }.section-kicker { font-size: 10px; margin-bottom: 14px; }
  .section-heading h2 { --block-height: 31px; }.section-heading > p { margin-top: 17px; font-size: 11px; }
  .card-collection { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 33px 22px; }
  .card-art { padding: 9% 10% 20%; }.card-view { display: none; }
  .collection-city { margin-top: 17px; padding-bottom: 10px; font-size: 10px; }
  .collection-link h3 { --block-height: 15px; gap: 4px; margin-top: 13px; }.collection-suffix { font-size: 8px; }
  .collection-edition { font-size: 8px; }.collection-price { --block-height: 21px; margin-top: 15px; }
  .collection-note { font-size: 9px; margin-top: 30px; }
  .about-section { grid-template-columns: 1fr; gap: 35px; padding-block: 50px; }.about-heading { --heading-size: 34px; }
  .about-intro > p:not(.section-kicker) { max-width: 340px; font-size: 12px; margin-top: 20px; }
  .about-intro .development-note { margin-top: 20px !important; }
  .drop-journey article { gap: 20px; padding-block: 23px; }.drop-journey h3 { font-size: 17px; }.drop-journey p { font-size: 12px; }
  .preview-note { padding-block: 24px; }.preview-note p { font-size: 10px; }.preview-note strong { font-size: 11px; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 28px; }.site-footer p { order: 3; flex-basis: 100%; margin: 0; }.back-top { font-size: 9px; }
}
@media (max-width: 380px) { :root { --page-gutter: 20px; }.masthead { gap: 12px; }.site-nav { gap: 14px; }.wordmark { font-size: 24px; }.site-nav a { font-size: 9px; } .card-collection { gap: 28px 16px; }.collection-link h3 { --block-height: 13px; }.collection-price { --block-height: 19px; } }
@media (max-width: 700px) {
  .collection-tools { grid-template-columns: minmax(0,1fr) 44px; gap: 8px 15px; margin-bottom: 28px; }
  .collection-search { grid-column: 1 / -1; }
  .collection-tools input, .collection-tools select { font-size: 14px; }
  .collection-location { height: 44px; }
  .collection-empty { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
