/* K2Verse connected-world field guide. Builds on the existing Figma tokens. */
:root {
  --muted: #a7b8cf;
  --gutter: clamp(20px, 5.5vw, 80px);
  --maxw: 1440px;
}
html { scroll-padding-top: 164px; }
body { overflow-wrap: break-word; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.display-xl, .display-l, .h2 { text-wrap: balance; }
.btn { border-radius: 10px; box-shadow: 0 4px 0 var(--cyan-deep); }
.btn:hover { box-shadow: 0 5px 0 var(--cyan-deep), 0 8px 22px #2ad4ff16; }
.btn.ghost { box-shadow: 0 4px 0 #030a15; }
.btn[disabled]:hover { transform: none; box-shadow: 0 4px 0 var(--cyan-deep); }
.btn.sm { min-height: 44px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-weight: 600; font-size: 14px; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link > span, .destination h3 > span { font-size: 22px; font-weight: 400; }

/* A compact, keyboard-friendly disclosure menu. */
.nav-in { gap: 20px; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.nav-links { align-items: center; gap: clamp(18px, 2.1vw, 30px); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-menu { min-width: 44px; min-height: 44px; border-radius: 8px; }
.nav-menu:hover, .nav.open .nav-menu { background: var(--bg-raised); }

/* The owner's K2Verse artwork stays whole, including on small screens. */
.world-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 32px 42px; align-items: center; padding-top: 64px; padding-bottom: 0; }
.world-hero-copy .display-xl { font-size: clamp(44px, 4.9vw, 70px); line-height: 1.02; letter-spacing: -.035em; }
.world-hero-copy .display-xl span { color: var(--cyan); }
.world-hero-copy .body-l { max-width: 530px; color: var(--muted); margin: 22px 0 26px; }
.world-hero-copy .ctas { gap: 12px; }
.world-hero-copy .btn { padding-inline: 18px; }
.hero-platforms { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); margin: 22px 0 0; }
.hero-platforms a { color: var(--text); text-underline-offset: 3px; }
.world-hero-art { position: relative; margin: 0; isolation: isolate; }
.world-hero-art::before { content: ''; position: absolute; inset: -40px -24px; z-index: -1; background: radial-gradient(ellipse, #2ad4ff20, transparent 68%); pointer-events: none; }
.world-hero-art img { width: 100%; border-radius: 16px; border: 1px solid #2ad4ff40; box-shadow: 0 24px 60px #0005; }
.world-hero-art figcaption { margin-top: 10px; color: var(--muted); text-align: right; font-size: 11px; }
.world-status { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding: 22px 0; margin-top: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.world-status .badge { background: #132a29; color: #c5f6db; border: 1px solid #3ddc8433; font-size: 12px; }
.world-status .badge:not(.online) { background: var(--bg-raised); color: var(--muted); border-color: var(--line); }
.world-status .badge i { flex: none; }

/* Place-first browsing; these are destinations, not separate servers. */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.section-heading > div { min-width: 0; }
.section-heading > .text-link { flex-shrink: 0; }
.section-copy { color: var(--muted); max-width: 630px; margin: 18px 0 0; }
.section-aside, .result-count { color: var(--muted); font-size: 13px; }
.destinations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.destination { display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--text); text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.destination:hover { border-color: var(--cyan); transform: translateY(-3px); }
.destination-art, .discovery-art { position: relative; overflow: hidden; background: var(--bg-raised); }
.destination-art img { width: 100%; aspect-ratio: 1.9; object-fit: cover; transition: transform .35s ease; }
.destination[href="/explore?cat=park"] .destination-art img { object-position: 50% 80%; }
.destination:hover .destination-art img { transform: scale(1.025); }
.art-label { position: absolute; bottom: 10px; left: 12px; padding: 4px 7px; border: 1px solid #ffffff26; border-radius: 4px; background: #06101fed; color: #dce7f5; font: 400 10px/1.3 var(--body); }
.destination-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.destination-body .kicker { margin-bottom: 12px; }
.destination h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; font: 700 clamp(24px, 2.3vw, 30px)/1.15 var(--display); }
.destination h3 > span { color: var(--cyan); }
.destination-body > p:not(.kicker) { color: var(--muted); font-size: 15px; margin: 12px 0 20px; max-width: 480px; }
.destination-meta { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; color: #cfdef0; font-size: 12px; }
.travel-note { display: flex; align-items: center; gap: 20px; padding: 22px 24px; margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; background: #2ad4ff05; }
.travel-symbol { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #2ad4ff50; background: #2ad4ff10; color: var(--cyan); font-size: 28px; border-radius: 8px; }
.travel-note > div { flex: 1; }
.travel-note strong { font: 700 18px/1.2 var(--display); }
.travel-note p { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.travel-note > a { flex: none; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-underline-offset: 4px; }

/* Every card has a native, useful disclosure instead of a purchase redirect. */
.gear-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.discovery-card { border-radius: 12px; }
.discovery-card:hover { transform: none; border-color: var(--line); }
.tile .discovery-art { padding: 0; }
.discovery-art img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile .discovery-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.discovery-body p.kicker { margin: 0 0 12px; color: var(--gold); font-size: 12px; }
.discovery-body .h3 { font-size: 22px; }
.discovery-body > p:not(.kicker) { margin: 12px 0 0; font-size: 14px; line-height: 1.6; }
.field-guide { margin-top: auto; padding-top: 20px; }
.field-guide summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; list-style: none; border-top: 1px solid var(--line); color: var(--cyan); font-size: 13px; font-weight: 600; }
.field-guide summary::-webkit-details-marker { display: none; }
.field-guide summary::after { content: '+'; font-size: 20px; font-weight: 400; }
.field-guide[open] summary::after { content: '−'; }
.field-guide p { padding-bottom: 6px; }
.field-guide strong { color: var(--text); font-weight: 500; }
.art-note { color: var(--muted); font-size: 12px; margin: 16px 0 0; }

/* Future content is visibly separate from places available in the server. */
.wilds-section { padding: 40px; border: 1px solid #ffc23d50; border-top: 3px solid var(--gold); border-radius: 14px; background: radial-gradient(ellipse at top right, #ffc23d0b, transparent 65%), var(--bg-surface); }
.wilds-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.development-badge, .availability-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid #ffc23d55; border-radius: 5px; background: #ffc23d0b; color: #ffdb85; font-size: 12px; line-height: 1.4; font-weight: 600; }
.wilds-intro .kicker { margin: 26px 0 12px; color: var(--gold); }
.wilds-intro .body-l { color: #d3dfed; margin: 18px 0 0; }
.wilds-status { padding: 16px 18px; border-left: 2px solid var(--gold); background: #ffc23d06; color: #d3dfed; font-size: 14px; line-height: 1.7; margin: 0; }
.wilds-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 36px; border-top: 1px solid #ffc23d26; padding-top: 28px; }
.feature-number { color: #ffdb85; font: 600 14px/1 var(--pixel); }
.wilds-features h3 { font: 700 21px/1.25 var(--display); margin: 12px 0 10px; }
.wilds-features p { color: var(--muted); font-size: 14px; margin: 0; }
.wilds-section > .text-link { margin-top: 24px; color: #ffdb85; }
.wilds-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; border-top: 1px solid #ffc23d26; padding-top: 28px; margin-top: 28px; }
.wilds-detail .h3 { font-size: 20px; }
.wilds-detail p { font-size: 14px; }
.wilds-detail .small { font-size: 13px; line-height: 1.7; }
.wilds-kit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.wilds-kit figure { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 18px 10px 14px; text-align: center; background: #06101f80; border: 1px solid #ffc23d26; border-radius: 8px; }
.wilds-kit img { width: 84px; height: 84px; object-fit: contain; image-rendering: pixelated; margin-bottom: 14px; }
.wilds-kit figcaption { font: 700 16px/1.3 var(--display); margin-bottom: 6px; }
.wilds-kit figure > span { color: #ffdb85; font-size: 10px; margin-top: auto; }
.wilds-open { border-color: #3ddc8450; border-top-color: var(--green); background: radial-gradient(ellipse at top right, #3ddc840b, transparent 65%), var(--bg-surface); }
.wilds-open .availability-badge { border-color: #3ddc8455; background: #3ddc840b; color: #a6f3c4; }
.wilds-open .kicker, .wilds-open .feature-number, .wilds-open > .text-link, .wilds-open .wilds-kit figure > span { color: #a6f3c4; }
.wilds-open .wilds-status { border-left-color: var(--green); background: #3ddc8406; }
.wilds-open .wilds-status strong { color: var(--text); font-size: 15px; }
.wilds-open .wilds-status p { margin: 8px 0 0; }
.wilds-open .wilds-features, .wilds-open .wilds-detail, .wilds-open .wilds-kit figure { border-color: #3ddc8426; }
.wilds-regions { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.wilds-regions li { font-size: 12px; color: #cbe8d7; padding: 7px 11px; border-left: 2px solid #3ddc8470; background: #3ddc8406; }
.wilds-kit-available figure > p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 4px 0 16px; }
.return-to-world { margin-top: 32px; text-align: center; }
.return-to-world p { color: var(--muted); }

/* The guide retains URL-based categories and normal browser back/forward. */
.explore-head { padding-top: 64px; padding-bottom: 36px; }
.explore-head .body-l { max-width: 750px; }
.explore-filters { position: sticky; top: 76px; z-index: 10; border-block: 1px solid var(--line); background: #06101ff7; backdrop-filter: blur(12px); }
.filter-inner { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.explore-filters .chips { flex-wrap: nowrap; gap: 8px; padding-block: 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.explore-filters .chip { position: relative; display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 44px; white-space: nowrap; padding: 10px 16px; border-radius: 8px; font-size: 13px; }
.explore-filters .chip[aria-current=page] { color: var(--on-cyan); background: var(--cyan); border-color: var(--cyan); font-weight: 700; }
.explore-filters .chip:hover:not([aria-current]) { border-color: #93a8c4; background: var(--bg-raised); }
.explore-filters .chip-development { border-color: #ffc23d50; color: #ffdb85; }
.explore-filters .chip-development[aria-current=page] { color: #302005; background: var(--gold); border-color: var(--gold); }
.explore-filters .chip-available { border-color: #3ddc8450; color: #a6f3c4; }
.explore-filters .chip-available[aria-current=page] { color: #062514; background: var(--green); border-color: var(--green); }
.filter-hint { display: none; }
.explore-content { padding-top: 48px; }

.start-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.start-section > div > .text-link { margin-top: 16px; }
.start-steps { display: grid; gap: 24px; }
.start-steps > div { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.start-steps > div:last-child { padding-bottom: 0; border-bottom: 0; }
.start-steps > div > span { display: grid; place-items: center; flex: none; width: 42px; height: 42px; background: #2ad4ff0d; color: var(--cyan); border: 1px solid #2ad4ff55; border-radius: 7px; font: 600 16px/1 var(--pixel); }
.start-steps h3 { font: 700 22px/1.2 var(--display); margin: 0; }
.start-steps p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.pass-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px; border: 1px solid #2ad4ff50; border-radius: 14px; background: linear-gradient(110deg, #2ad4ff0e, #2ad4ff00), var(--bg-surface); }
.pass-banner > div { min-width: 0; }
.pass-banner p:not(.kicker) { color: #d3dfed; font-size: 14px; margin: 12px 0 6px; }
.pass-banner > .btn { flex-shrink: 0; }
.pass-banner .small { display: block; font-size: 12px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq summary::after { float: none; flex: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details { padding-block: 10px; border: 1px solid var(--line); }
.faq details[open] { padding-bottom: 20px; }
.foot { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
.foot nav { gap: 8px 22px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.join-box button.copy { min-height: 44px; min-width: 54px; }
.copy-status { display: block; color: var(--cyan); font-size: 12px; margin-top: 6px; }
.two > *, .account-grid > *, .card, .pass-card, .field { min-width: 0; }
.field input { width: 100%; min-width: 0; }

@media (min-width: 901px) and (max-width: 1120px) {
  .nav-in { gap: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .nav .logo { font-size: 25px; }
  .nav-in > .btn { font-size: 13px; padding-inline: 12px; }
  .world-hero { gap: 24px; }
  .world-hero-copy .display-xl { font-size: 54px; }
  .world-hero-copy .btn { font-size: 14px; padding-inline: 14px; }
  .world-hero-copy .ctas { gap: 10px; }
}
@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wilds-intro { gap: 28px; }
  .wilds-features { gap: 22px; }
}
@media (max-width: 900px) {
  .nav-in { gap: 10px; }
  .nav-in > .logo { margin-right: auto; }
  .nav-in > .btn { display: inline-flex; padding-inline: 12px; font-size: 13px; }
  .nav.open .nav-links { max-height: calc(100dvh - 64px); overflow-y: auto; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .nav.open .nav-links a { min-height: 48px; }
  .nav.open .nav-links .btn { min-height: 48px; padding: 14px 20px; color: var(--on-cyan); font-size: 16px; }
  .world-hero { gap: 24px; padding-top: 36px; }
  .world-hero-copy .display-xl { font-size: 48px; }
  .world-hero-copy .body-l { font-size: 16px; }
  .world-hero-copy .ctas .btn { width: 100%; }
  .world-hero-art img { border-radius: 12px; }
  .explore-filters { top: 64px; }
  .section-heading { align-items: flex-start; }
  .section-heading > .text-link { max-width: 160px; }
  .gear-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tile .discovery-body { padding: 18px; }
  .discovery-body .h3 { font-size: 20px; }
  .wilds-section { padding: 30px; }
  .wilds-intro { grid-template-columns: 1fr; gap: 24px; }
  .wilds-status { max-width: none; }
  .travel-note { flex-wrap: wrap; gap: 12px 16px; }
  .travel-note > div { flex-basis: calc(100% - 60px); }
  .travel-note > a { margin-left: 60px; }
  .start-section { gap: 36px; }
  .pass-banner { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  :root { --s96: 56px; --s64: 40px; --gutter: 22px; }
  .nav .logo { font-size: 25px; }
  .world-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .world-hero-art { grid-row: 1; }
  .world-hero-art::before { inset: -20px 0; }
  .world-hero-art img { box-shadow: 0 14px 32px #0004; }
  .world-hero-art figcaption { font-size: 10px; margin-top: 6px; }
  .world-hero-copy .kicker { font-size: 12px; }
  .world-hero-copy .display-xl { font-size: clamp(42px, 10.5vw, 62px); }
  .world-hero-copy .body-l { font-size: 17px; margin-top: 18px; margin-bottom: 22px; }
  .hero-platforms { line-height: 1.6; font-size: 12px; margin-top: 20px; }
  .world-status { display: grid; justify-items: start; gap: 12px; margin-top: 0; padding-block: 20px; }
  .world-status > span:last-child { max-width: 32ch; line-height: 1.6; }
  .section-heading { flex-direction: column; gap: 12px; }
  .section-heading > .text-link { max-width: none; }
  .section-heading .display-l { font-size: 34px; }
  .destinations { gap: 20px; }
  .destination-body { padding: 20px; }
  .destination h3 { font-size: 25px; }
  .gear-grid { grid-template-columns: 1fr; gap: 20px; }
  .discovery-body .h3 { font-size: 24px; }
  .tile .discovery-body { padding: 22px; }
  .wilds-features { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .wilds-features article { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 14px; }
  .feature-number { padding-top: 5px; }
  .wilds-features h3 { grid-column: 2; margin: 0 0 8px; }
  .wilds-features p { grid-column: 2; }
  .wilds-detail { grid-template-columns: 1fr; gap: 20px; }
  .wilds-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wilds-kit img { width: 72px; height: 72px; }
  .wilds-kit figcaption { font-size: 14px; }
  .wilds-section { padding: 24px; }
  .wilds-intro .display-l { font-size: 40px; }
  .wilds-intro .body-l { font-size: 17px; }
  .start-section { grid-template-columns: 1fr; gap: 32px; }
  .pass-banner { padding: 24px; }
  .pass-banner > .btn, .pass-banner .ctas, .pass-banner .ctas .btn { width: 100%; }
  .explore-head { padding-top: 38px; padding-bottom: 28px; }
  .explore-head .display-l { font-size: 38px; }
  .explore-head .body-l { font-size: 16px; }
  .filter-inner { padding-right: 0; }
  .explore-filters .chips { padding-top: 12px; padding-bottom: 8px; padding-right: var(--gutter); }
  .filter-hint { display: block; padding-bottom: 8px; font-size: 10px; color: var(--muted); }
  .explore-content { padding-top: 32px; }
  .faq summary { font-size: 18px; }
  .faq details { padding-inline: 18px; }
}
@media (max-width: 600px) {
  .destinations, .catalog-grid { grid-template-columns: 1fr; }
  .destination-art img { aspect-ratio: 1.7; }
  .travel-note { padding: 18px; }
  .travel-symbol { display: none; }
  .travel-note > div { flex-basis: 100%; }
  .travel-note > a { margin-left: 0; }
  .card, .pass-card, .price { padding: 24px; }
  .check input { flex-shrink: 0; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .nav-in > .btn { display: none; }
  .world-hero-copy .display-xl { font-size: 40px; }
  .world-hero-copy .kicker { font-size: 11px; }
  .wilds-section { padding: 20px; }
  .development-badge { font-size: 11px; }
  .wilds-intro .display-l { font-size: 36px; }
  .pass-banner, .card, .pass-card, .price { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .destination:hover, .destination:hover .destination-art img, .btn:hover, .btn:active { transform: none; }
}
