/* Lot 6D: public discovery and customer space, using Kilomya's existing tokens. */
body:not(.admin-auth-body):not(.admin-body) :is(a, button, summary):focus-visible { outline: 3px solid var(--k-ink); outline-offset: 4px; }
body:not(.admin-auth-body):not(.admin-body) .site-header :is(.menu-toggle, .account-access, .main-navigation a):focus-visible { outline-color: var(--header-functional); }
.account-dropdown { position: relative; }
.account-dropdown summary { list-style: none; }
.account-dropdown summary::-webkit-details-marker { display: none; }
.account-dropdown-panel { position: absolute; right: 0; top: calc(100% + 16px); width: 248px; max-width: calc(100vw - 40px); padding: 18px; border: 1px solid var(--header-border); border-radius: 20px; background: var(--header-bg); color: var(--header-text); box-shadow: var(--shadow-soft); overflow-wrap: anywhere; }
.account-dropdown-panel p { margin-bottom: 10px; padding-inline: 10px; }
.account-dropdown-panel nav { display: grid; }
.account-dropdown-panel a, .account-logout button { display: flex; align-items: center; min-height: 44px; padding: 10px; border-radius: 10px; font: inherit; font-weight: 700; }
.account-dropdown-panel a:hover { background: var(--color-cream-dark); }
.account-logout { border-top: 1px solid var(--color-border); padding-top: 12px; margin-top: 16px; }
.account-logout button { border: 0; background: transparent; color: var(--color-muted); cursor: pointer; text-align: left; }
.account-logout button:hover { color: var(--color-forest); background: var(--color-cream-dark); }
.site-header .account-dropdown-panel a:hover { background: var(--header-hover); }
.site-header .account-dropdown-panel .account-logout { border-top-color: var(--header-border); }
.site-header .account-dropdown-panel .account-logout button { color: var(--header-text); }
.site-header .account-dropdown-panel .account-logout button:hover { color: var(--header-text); background: var(--header-hover); }
.header-account { gap: 8px; }
.header-disclosure > summary { list-style: none; }
.header-disclosure > summary::-webkit-details-marker { display: none; }
.notification-dropdown { position: relative; }
:is(.notification-trigger, .header-cart) { position: relative; display: grid; width: 44px; height: 44px; padding: 0; border: 1px solid var(--header-border); border-radius: 50%; background: transparent; color: var(--header-text); cursor: pointer; place-items: center; transition: background-color var(--transition), border-color var(--transition); }
:is(.notification-trigger, .header-cart):hover, .header-cart[aria-current="page"] { border-color: var(--header-border-hover); background: var(--header-hover); }
:is(.notification-trigger, .header-cart):focus-visible { outline: 3px solid var(--header-functional); outline-offset: 4px; }
:is(.notification-trigger, .header-cart) svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.notification-badge { position: absolute; top: -5px; right: -5px; display: grid; min-width: 20px; height: 20px; padding-inline: 4px; border: 2px solid var(--header-bg); border-radius: 999px; background: #b89b5e; color: #242521; font-family: Montserrat, Arial, sans-serif; font-size: .63rem; font-weight: 800; line-height: 1; place-items: center; }
.notification-panel { position: absolute; z-index: 30; top: calc(100% + 16px); right: 0; width: min(390px, calc(100vw - 32px)); padding: 18px; border: 1px solid rgb(184 155 94 / 30%); border-radius: 20px; background: #fefbf6; color: #242521; box-shadow: 0 18px 48px rgb(36 37 33 / 16%); overflow-wrap: anywhere; }
.notification-panel-title { margin: 0 0 12px; color: #b89b5e; font-family: Montserrat, Arial, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.notification-preview-list { display: grid; gap: 7px; max-height: min(460px, calc(100dvh - 210px)); overflow-y: auto; overscroll-behavior: contain; }
.notification-preview { display: block; margin: 0; border-radius: 13px; color: #242521; }
.notification-preview--unread { background: #f2ece5; }
.notification-preview > :is(a, button),
.notification-preview:is(a, div) { width: 100%; padding: 11px 12px; }
.notification-preview button { display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: inherit; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.notification-preview:is(a, form):hover { background: rgb(184 155 94 / 12%); }
.notification-preview-heading, .notification-preview-copy, .notification-preview-meta { display: flex; min-width: 0; }
.notification-preview-heading { align-items: baseline; gap: 8px; }
.notification-preview-heading strong { font-size: .83rem; line-height: 1.35; }
.notification-preview-copy { margin-top: 4px; color: rgb(36 37 33 / 72%); font-size: .78rem; line-height: 1.35; }
.notification-preview-meta { align-items: center; gap: 8px; margin-top: 7px; color: rgb(36 37 33 / 62%); font-size: .7rem; }
.notification-unread-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #b89b5e; }
.notification-universe { display: inline-flex; padding: 3px 7px; border-radius: 999px; font-family: Montserrat, Arial, sans-serif; font-size: .62rem; font-weight: 800; line-height: 1; text-transform: uppercase; }
.notification-universe--explore { background: #eef2ea; color: #052d21; }
.notification-universe--story { background: #f8f1f0; color: #7a3f4a; }
.notification-preview-empty { margin: 0; padding: 20px 10px; color: rgb(36 37 33 / 72%); font-size: .86rem; text-align: center; }
.notification-panel-all { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: #242521; font-size: .82rem; font-weight: 800; }
.notification-panel-all .link-label { text-decoration: underline; text-decoration-color: rgb(184 155 94 / 75%); text-underline-offset: 4px; }
.notification-panel-all .link-arrow { color: #b89b5e; text-decoration: none; }
.front-section { padding-block: clamp(48px, 7vw, 88px); }
.front-section .section-heading { max-width: 740px; margin-bottom: 32px; }
.front-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.front-section .shop-card h2 { font-size: 1.4rem; }
.section-link { margin-top: 28px; display: inline-flex; }
.shop-intro { max-width: 760px; margin-bottom: 22px; }
.shop-intro .eyebrow { margin-bottom: 8px; color: #b89b5e; font-size: .75rem; letter-spacing: .14em; }
.shop-page .shop-intro h1 { margin-bottom: 12px; color: #242521; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }
.shop-intro > p:last-child { max-width: 700px; margin-bottom: 0; color: #242521; font-size: 1.125rem; line-height: 1.55; }
.shop-filters { gap: 8px; margin-bottom: 24px; }
.shop-filters a { min-height: 44px; padding: 9px 18px; border-color: transparent; background: var(--color-cream-dark); color: #242521; }
.shop-filters a span { font-weight: 500; }
.shop-filters .shop-filter--all[aria-current="page"] { border-color: #242521; background: #242521; color: #fff; }
.shop-filters .shop-filter--explore[aria-current="page"] { border-color: #64875f; background: #64875f; color: #fff; }
.shop-filters .shop-filter--story[aria-current="page"] { border-color: #7a3f4a; background: #7a3f4a; color: #fff; }
.shop-card { border: 0; box-shadow: 0 10px 30px rgb(5 45 33 / 6%); }
.shop-card h2 { line-height: 1.25; }
.shop-cover { aspect-ratio: 4 / 3; }
.shop-placeholder { background: linear-gradient(155deg, #e8e2d6, #f4f0e6); font-size: 1.5rem; }
.shop-card-content { gap: 0; padding: 26px; }
.shop-universe { align-self: flex-start; display: inline-flex; border-radius: 30px; background: var(--k-bg-alt); padding: 4px 12px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--k-ink); margin-bottom: 16px; }
.universe-explore .shop-universe { background: #eef2ea; color: #64875f; }
.universe-story .shop-universe { background: rgb(218 143 141 / 17%); color: #7a3f4a; }
.shop-facts { color: var(--color-muted); font-size: .9rem; font-weight: 600; }
.shop-narrative { font-size: .88rem; color: var(--color-muted); }
.shop-card .shop-narrative { display: none; }
.adventure-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shop-reward-types { font-size: .85rem; color: var(--k-ink); }
.shop-price { font-size: 1.65rem; letter-spacing: -.025em; }
.shop-price small { font: 500 .85rem "Nunito Sans", sans-serif; letter-spacing: normal; }
.shop-card .button { justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; }
.shop-offer .shop-price { font-size: 2.25rem; }
/* The cart form is the flex item: push the whole action to the card bottom. */
.shop-offer .shop-card-content > form { margin-top: auto; }
.shop-offer .shop-card-content { flex: 1; }
.shop-offer ul { margin-bottom: 28px; }
.shop-hero { align-items: start; }
.shop-hero .shop-cover { aspect-ratio: 1.1; }
.shop-section { max-width: 100%; }
.story-editorial { padding: 32px; border-radius: 24px; background: #f1ede3; }
.empty-state { grid-column: 1 / -1; padding: clamp(24px, 5vw, 48px); background: var(--k-bg-alt); border-radius: 24px; }
.empty-state h2, .empty-state h3 { font-size: 1.4rem; line-height: 1.3; }
.account-layout {
    --account-ink: #242521;
    --account-gold: #b89b5e;
    --account-greige: #f2ece5;
    display: grid;
    grid-template-columns: 214px minmax(0, 1fr);
    align-items: start;
    gap: clamp(30px, 4vw, 56px);
    min-height: 65vh;
    color: var(--account-ink);
}
.account-sidebar { position: sticky; top: 132px; padding: 22px 14px 16px; border: 1px solid rgb(184 155 94 / 20%); border-radius: 24px; background: rgb(242 236 229 / 72%); box-shadow: 0 14px 34px rgb(36 37 33 / 5%); }
.account-welcome { margin-bottom: 20px; padding: 0 12px 18px; border-bottom: 1px solid rgb(184 155 94 / 24%); font-size: .9rem; }
.account-welcome strong, .account-welcome span { display: block; }
.account-welcome strong { color: var(--account-ink); font-size: 1.15rem; }
.account-welcome span { margin-top: 4px; color: #67675f; font-size: .78rem; }
.account-navigation { display: grid; gap: 7px; }
.account-navigation a { display: flex; align-items: center; min-height: 47px; padding: 11px 13px; border-radius: 12px; color: var(--account-ink); font-size: .91rem; font-weight: 700; transition: color var(--transition), background var(--transition), transform var(--transition); }
.account-navigation a:hover { background: rgb(184 155 94 / 12%); transform: translateX(2px); }
.account-navigation a[aria-current] { background: #242521; color: #fff; box-shadow: 0 8px 18px rgb(36 37 33 / 14%); }
.account-sidebar > .account-logout { margin-top: 18px; border-top-color: rgb(184 155 94 / 24%); }
.account-sidebar > .account-logout button { width: 100%; color: #67675f; }
.account-sidebar > .account-logout button:hover { background: rgb(184 155 94 / 12%); color: #242521; }
.account-label-mobile { display: none; }
.account-main { min-width: 0; overflow-wrap: anywhere; }
.account-main h1 { margin-bottom: 12px; color: var(--account-ink); font-size: clamp(1.9rem, 3vw, 2.55rem); letter-spacing: -.035em; }
.account-main h2 { font-size: 1.4rem; }
.account-dashboard { position: relative; isolation: isolate; }
.account-dashboard-decorations { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.account-dashboard-decorations .hero-decoration { z-index: 0; }
.account-dashboard-decorations .hero-decoration-one { top: -365px; right: -365px; }
.account-dashboard-decorations .hero-decoration-two { bottom: -255px; left: -255px; }
.account-heading { position: relative; margin-bottom: 26px; }
.account-heading .eyebrow { margin-bottom: 8px; color: var(--account-gold) !important; font-size: .75rem; letter-spacing: .15em; }
.account-heading p:last-child, .account-main > p { color: #67675f; }
.account-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 14px; margin-block: 26px 42px; }
.account-stat { position: relative; padding: 18px 20px; border: 1px solid rgb(184 155 94 / 22%); border-radius: 17px; background: rgb(255 253 250 / 92%); box-shadow: 0 9px 24px rgb(36 37 33 / 4%); transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.account-stat::before { position: absolute; top: 18px; right: 18px; width: 18px; height: 2px; content: ''; background: var(--account-gold); }
.account-stat:hover { border-color: rgb(184 155 94 / 50%); box-shadow: 0 12px 28px rgb(36 37 33 / 7%); transform: translateY(-2px); }
.account-stat strong, .account-stat span { display: block; }
.account-stat strong { margin-bottom: 5px; color: var(--account-ink); font-size: 1.75rem; line-height: 1.15; }
.account-stat span { color: #67675f; font-size: .87rem; font-weight: 700; }
.account-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.account-section-heading h2 { margin-bottom: 0; color: var(--account-ink); }
.account-section-heading .account-section-link { color: #242521; font-size: .9rem; font-weight: 800; text-decoration: none; }
.account-section-heading .account-section-link__label { color: #242521; text-decoration: underline; text-decoration-color: rgb(184 155 94 / 70%); text-underline-offset: 4px; }
.account-section-heading .account-section-link__arrow { display: inline-block; color: var(--account-gold); text-decoration: none; transition: transform var(--transition); }
.account-section-heading .account-section-link:hover .account-section-link__arrow { transform: translateX(2px); }
.owned-grid { align-items: stretch; }
.owned-adventure { margin: 0; padding: 0; }
.owned-adventure-cover { width: 100%; height: 100%; max-height: none; display: grid; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; place-items: center; }
.owned-adventure--explore .owned-adventure-cover.shop-placeholder { background: #eef2ea; color: #242521; }
.owned-adventure--story .owned-adventure-cover.shop-placeholder { background: #f8ecec; color: #7a3f4a; }
.owned-adventure .shop-card-content { flex: 1; padding: 20px; }
.owned-adventure .shop-universe { margin: 0; padding: 5px 10px; background: #eef2ea; color: #64875f; }
.owned-adventure--story .shop-universe { background: rgb(218 143 141 / 17%); color: #7a3f4a; }
.owned-adventure :is(h2, h3) { color: var(--account-ink); }
.owned-adventure .shop-facts { margin-bottom: 16px; color: #67675f; }
.owned-adventure__footer { justify-content: flex-end; }
.owned-adventure .adventure-listing-card__cta { width: auto; min-height: 44px; margin-top: auto; padding: 10px 14px; color: #fff; font-size: .82rem; }
.owned-adventure.owned-adventure--explore .adventure-listing-card__cta { border-color: #64875f; background: #64875f; box-shadow: 0 6px 16px rgb(100 135 95 / 18%); }
.owned-adventure.owned-adventure--story .adventure-listing-card__cta { border-color: #7a3f4a; background: #7a3f4a; box-shadow: 0 6px 16px rgb(122 63 74 / 18%); }
.owned-adventure.owned-adventure--explore .adventure-listing-card__cta:hover,
.owned-adventure.owned-adventure--story .adventure-listing-card__cta:hover { color: #fff; filter: brightness(.9); }
.owned-adventure .adventure-progress { margin: 0 0 18px; }
.progress-heading, .progress-meta { display: flex; justify-content: space-between; gap: 12px; }
.progress-heading { align-items: baseline; margin-bottom: 7px; }
.progress-heading p, .progress-meta p { margin: 0; }
.owned-adventure .progress-state { color: var(--account-ink); font-size: .83rem; font-weight: 800; }
.owned-adventure .progress-percent { color: #64875f; font-size: .86rem; font-weight: 900; }
.owned-adventure--story .progress-percent { color: #7a3f4a; }
.owned-adventure .progress-bar { display: block; width: 100%; height: 7px; overflow: hidden; border: 0; border-radius: 99px; background: #ece8e1; color: #64875f; appearance: none; }
.owned-adventure .progress-bar::-webkit-progress-bar { border-radius: 99px; background: #ece8e1; }
.owned-adventure .progress-bar::-webkit-progress-value { border-radius: 99px; background: #64875f; }
.owned-adventure .progress-bar::-moz-progress-bar { border-radius: 99px; background: #64875f; }
.owned-adventure--story .progress-bar { color: #7a3f4a; }
.owned-adventure--story .progress-bar::-webkit-progress-value { background: #7a3f4a; }
.owned-adventure--story .progress-bar::-moz-progress-bar { background: #7a3f4a; }
.progress-meta { flex-wrap: wrap; margin-top: 7px; color: #67675f; font-size: .76rem; }
.owned-unlocks, .owned-reward-status { margin: -7px 0 16px; color: #67675f; font-size: .79rem; font-weight: 700; }
.owned-reward-status { padding-left: 10px; border-left: 2px solid var(--account-gold); }
.acquisition-date { font-size: .8rem; color: var(--color-muted); margin-top: 12px; }
.account-panel { padding: clamp(20px, 3vw, 28px); margin-block: 24px; border: 1px solid rgb(36 37 33 / 7%); background: #fffdfa; border-radius: 22px; box-shadow: 0 8px 28px rgb(36 37 33 / 4%); }
.account-verification-notice { margin: -20px 0 36px; border-color: rgb(184 155 94 / 28%); }
.account-adventures { margin-bottom: 34px; }
.account-badges { position: relative; margin-bottom: 0; }
.account-panel-kicker { margin-bottom: 5px; color: var(--account-gold); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.badge-count { margin-bottom: 2px; color: #67675f; font-size: .86rem; font-weight: 700; }
.badges-empty-copy { max-width: 560px; margin: -2px 0 18px; color: #67675f; }
.account-badges .personal-badges { margin-bottom: 18px; }
.account-badges .button { min-height: 44px; padding-block: 10px; }
.account-dashboard .button-secondary { border-color: #242521; background: transparent; color: #242521; box-shadow: none; }
.account-dashboard .button-secondary:hover { border-color: #242521; background: #242521; color: #fff; }
.account-dashboard .empty-state { background: var(--account-greige); }
.account-dashboard .empty-state .button-primary { border-color: #242521; background: #242521; color: #fff; box-shadow: 0 6px 16px rgb(36 37 33 / 12%); }
.account-dashboard :is(a, button):focus-visible { outline-color: #242521; }
.account-management { margin-top: 36px; }
.account-management-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.account-delete-link { color: #92362f; font-size: .9rem; font-weight: 700; text-decoration: underline; text-decoration-color: rgb(146 54 47 / 45%); text-underline-offset: 4px; }
.account-delete-link:hover { color: #6f221d; }
.privacy-settings #delete-account { scroll-margin-top: 120px; }
.privacy-settings #delete-account .button { border-color: #92362f; background: #92362f; color: #fff; }
.privacy-settings #delete-account .button:hover { background: #6f221d; }
.account-main .auth-form { max-width: 620px; }
.account-main .button, .empty-state .button { white-space: normal; text-align: center; }
.account-main .auth-footer { text-align: left; }
.private-adventure-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; margin-bottom: 28px; }
.private-summary { font-size: 1.12rem; }
.private-description { margin-block: 24px; }
.adventure-ready { padding: 28px; background: var(--k-bg-alt); border-radius: 22px; margin-block: 28px; }
.adventure-ready.universe-explore { background: #eef2ea; }
.adventure-ready.universe-story { background: #f8f1f0; }
.adventure-ready h2 { margin-top: 20px; }
.status-badge { display: inline-flex; align-items: center; padding: 5px 12px; border: 1px solid rgb(184 155 94 / 38%); border-radius: 30px; background: #f2ece5; color: #242521; font-size: .8rem; font-weight: 800; line-height: 1.5; }
.universe-explore .status-badge { background: #eef2ea; color: #052d21; }
.universe-story .status-badge { background: #f8f1f0; color: #7a3f4a; }
.status-pending_payment { border-color: #dfc77f; background: #faf0d9; color: #71551a; }
.status-cancelled, .status-refunded { border-color: #d8c6b9; background: #f0e8e1; color: #6c4b40; }
.order-list { display: grid; gap: 20px; }
.account-orders { position: relative; }
.order-list .order-list-card { display: grid; align-items: center; gap: 24px; grid-template-columns: minmax(0, 1fr) auto; padding: 24px 26px; border: 1px solid rgb(184 155 94 / 25%); border-radius: 22px; background: #fff; box-shadow: 0 9px 26px rgb(36 37 33 / 5%); }
.order-list-main { min-width: 0; }
.order-list-date { display: block; margin-bottom: 8px; color: #9a7f49; font-size: .88rem; font-weight: 700; }
.order-list-card h2 { margin-bottom: 5px; color: #242521; font-size: 1.3rem; line-height: 1.3; }
.order-list-offer { margin: 0; color: rgb(36 37 33 / 68%); font-size: .92rem; }
.order-list-price { display: inline-block; margin-top: 13px; padding-left: 12px; border-left: 2px solid #b89b5e; color: #242521; font-family: Montserrat, Arial, sans-serif; font-size: 1.25rem; font-weight: 800; }
.order-list-side { display: flex; min-width: 174px; align-items: flex-end; flex-direction: column; gap: 18px; }
.order-list-cta { min-height: 44px; padding: 10px 16px; border: 1px solid #242521; background: #242521; color: #fff; font-size: .8rem; text-decoration: none; }
.order-list-cta:hover { border-color: #b89b5e; background: #242521; color: #fff; }
.account-notifications .lifecycle-notification { position: relative; margin-block: 14px; border-color: rgb(184 155 94 / 24%); background: #fff; }
.account-notifications .lifecycle-notification--unread { background: #f2ece5; box-shadow: 0 9px 28px rgb(36 37 33 / 6%); }
.account-notifications .lifecycle-notification--unread::before { position: absolute; top: 24px; left: -4px; width: 8px; height: 8px; border: 2px solid #fefbf6; border-radius: 50%; background: #b89b5e; content: ''; }
.lifecycle-notification-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin-bottom: 12px; color: rgb(36 37 33 / 62%); font-size: .78rem; }
.lifecycle-notification-meta > span:not(.notification-universe) { font-weight: 800; }
.account-notifications .lifecycle-notification h2 { margin-bottom: 5px; color: #242521; font-size: 1.2rem; }
.lifecycle-notification-adventure { color: rgb(36 37 33 / 72%); }
.lifecycle-notification-cta { min-height: 42px; margin-top: 8px; padding: 9px 15px; border: 1px solid #242521; background: #242521; color: #fff; font-size: .8rem; cursor: pointer; }
.lifecycle-notification-cta:hover { border-color: #b89b5e; background: #242521; color: #fff; }
.notification-page-empty { border: 1px solid rgb(184 155 94 / 24%); background: #f2ece5; }
.confirmation-heading { text-align: center; margin-bottom: 28px; }
.confirmation-symbol { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: rgb(184 155 94 / 12%); color: var(--k-ink); font-size: 2rem; }
.confirmation-pending { background: #faf0d9; }
.confirmation-heading .order-feedback { padding: 0; background: none; }
.order-summary h3 { font-size: 1.1rem; font-weight: 500; line-height: 1.4; }
.order-summary .order-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; margin-bottom: 0; }
.order-summary dt { font-weight: 600; color: var(--color-muted); }
.order-summary dd { margin: 0; text-align: right; }
@media (max-width: 1100px) {
    .account-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 24px; }
    .account-stats { gap: 10px; }
    .account-stat { padding: 16px; }
}
@media (max-width: 900px) {
    .account-layout { grid-template-columns: minmax(0, 1fr); }
    .account-sidebar { position: static; min-width: 0; padding: 12px; }
    .account-welcome { margin: 0 0 12px; }
    .account-welcome strong { display: inline; font-size: inherit; }
    .account-welcome span, .account-sidebar > .account-logout, .account-label-desktop { display: none; }
    .account-label-mobile { display: inline; }
    .account-navigation { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
    .account-navigation a { justify-content: center; padding: 10px 4px; font-size: .85rem; }
}
@media (max-width: 620px) {
    .account-dashboard-decorations .hero-decoration-one { top: -435px; right: -415px; }
    .account-dashboard-decorations .hero-decoration-two { bottom: -295px; left: -285px; }
    .menu-toggle-label { display: none; }
    .shop-filters a { padding: 9px 14px; font-size: .85rem; }
    .shop-card-content { padding: 22px; }
    .shop-hero .shop-cover { aspect-ratio: 4 / 3; }
    .owned-grid { grid-template-columns: minmax(0, 1fr); }
    .account-layout { gap: 28px; }
    .account-sidebar { padding: 8px; overflow: hidden; }
    .account-welcome { display: none; }
    .account-navigation { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
    .account-navigation a { min-width: 0; min-height: 42px; font-size: .7rem; }
    .account-stats { gap: 8px; margin-block: 24px; }
    .account-stat { padding: 14px 10px; }
    .account-stat::before { top: 14px; right: 12px; width: 13px; }
    .account-stat strong { font-size: 1.7rem; }
    .account-stat span { font-size: .75rem; }
    .account-section-heading { align-items: baseline; }
    .account-badges .account-section-heading { display: block; }
    .badge-count { margin-top: 8px; }
    .account-management-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
    .notification-panel { position: fixed; top: 76px; right: 12px; left: 12px; width: auto; max-height: calc(100dvh - 92px); }
    .notification-preview-list { max-height: calc(100dvh - 190px); }
    .order-list .order-list-card { gap: 18px; grid-template-columns: minmax(0, 1fr); padding: 20px; }
    .order-list-side { min-width: 0; align-items: stretch; gap: 14px; }
    .order-list-side .status-badge { align-self: flex-start; }
    .order-list-cta { width: 100%; text-align: center; }
    .order-summary .order-facts { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .order-summary dd { text-align: left; margin-bottom: 12px; }
    .adventure-ready { padding: 22px; }
}
.universe-placeholder { min-height: 45vh; padding-block: clamp(56px, 9vw, 110px); }
.universe-placeholder h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.shop-card :is(h2, h3) { font-size: 1.4rem; line-height: 1.25; }
@media (max-width: 620px) {
    .front-section { padding-block: 48px; }
}
:is(.front-section, .account-main) .eyebrow:not(.eyebrow-light) { color: var(--k-gold); }
:is(.site-header, .front-section, .shop-page, .account-layout) .button-primary { box-shadow: 0 6px 16px rgb(5 45 33 / 10%); }
.owned-adventure-cover.shop-placeholder { display: grid; place-items: center; }
.order-summary .order-amount { font-size: 1.6rem; font-weight: 800; color: var(--color-forest); }
.auth-card .order-summary { padding-inline: 0; box-shadow: none; border-radius: 0; }
@media (max-width: 620px) { .account-navigation a { white-space: nowrap; padding-inline: 8px; } }

/* Homepage universes. */
.home-universes {
    --home-universes-bg: #f2ece5;
    --home-universes-text: #242521;
    --home-universes-accent: #b89b5e;
    --home-explore: #64875f;
    --home-story: #da8f8d;
    background: var(--home-universes-bg);
    color: var(--home-universes-text);
}
.home-universes .section-heading { max-width: 820px; margin-bottom: 26px; }
.home-universes .section-heading .eyebrow { color: var(--home-universes-accent); font-size: .78rem; }
.home-universes .section-heading h2 { margin-bottom: 0; color: var(--home-universes-text); }
.home-universe-grid { display: grid; align-items: stretch; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-universe-card { min-width: 0; display: grid; overflow: hidden; grid-template-rows: auto 1fr; border: 1px solid rgb(36 37 33 / 8%); border-radius: 28px; box-shadow: 0 16px 40px rgb(36 37 33 / 7%); }
.home-universe-media { height: clamp(225px, 22vw, 280px); overflow: hidden; }
.home-universe-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-universe-content { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; padding: clamp(26px, 3vw, 36px); }
.home-universe-explore .home-universe-content { background: #eef2ea; }
.home-universe-story .home-universe-content { background: #f8ecec; }
.home-universe-tag { display: inline-flex; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; color: var(--home-universes-text); font-family: Montserrat, Arial, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.home-universe-explore .home-universe-tag { background: rgb(100 135 95 / 18%); }
.home-universe-story .home-universe-tag { background: rgb(218 143 141 / 24%); }
.home-universe-content h3 { min-height: 2.5em; margin-bottom: 16px; color: var(--home-universes-text); font-size: clamp(1.5rem, 2.35vw, 2rem); line-height: 1.25; }
.home-universe-content > p:not(.home-universe-tag) { margin-bottom: 22px; color: rgb(36 37 33 / 82%); line-height: 1.65; }
.home-universe-content ul { width: 100%; display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--home-universes-text); font-weight: 700; }
.home-universe-content li { position: relative; padding-left: 22px; }
.home-universe-content li::before { position: absolute; top: .62em; left: 2px; width: 7px; height: 7px; content: ''; border-radius: 50%; transform: translateY(-50%); }
.home-universe-explore li::before { background: var(--home-explore); }
.home-universe-story li::before { background: var(--home-story); }
.home-universe-cta { min-height: 48px; margin-top: auto; border-width: 1px; border-style: solid; font-size: 1.1875rem; }
.home-universe-explore .home-universe-cta { border-color: #52724e; background: #52724e; color: #fff; }
.home-universe-explore .home-universe-cta:hover { border-color: #52724e; background: #52724e; color: #fff; box-shadow: 0 8px 18px rgb(100 135 95 / 18%); }
.home-universe-story .home-universe-cta { border-color: var(--home-story); background: var(--home-story); color: var(--home-universes-text); }
.home-universe-story .home-universe-cta:hover { border-color: var(--home-story); background: var(--home-story); color: var(--home-universes-text); box-shadow: 0 8px 18px rgb(218 143 141 / 22%); }
.home-universes .home-universe-cta:focus-visible,
.home-universes .home-universes-shop-link:focus-visible { outline: 3px solid var(--home-universes-text); outline-offset: 4px; }
.home-universes-shop-action { display: flex; justify-content: center; margin-top: 36px; }
.home-universes-shop-link { min-height: 48px; border-color: rgb(36 37 33 / 58%); background: transparent; color: var(--home-universes-text); }
.home-universes-shop-link:hover { border-color: var(--home-universes-accent); background: rgb(184 155 94 / 10%); color: var(--home-universes-text); }
@media (max-width: 900px) {
    .home-universe-grid { grid-template-columns: minmax(0, 1fr); }
    .home-universe-media { height: clamp(220px, 62vw, 320px); }
    .home-universe-content h3 { min-height: 0; }
}
@media (max-width: 620px) {
    .home-universe-grid { gap: 22px; }
    .home-universe-content { padding: 26px 22px 28px; }
    .home-universe-cta,
    .home-universes-shop-link { width: 100%; }
}

/* Homepage: editorial four-step explanation. */
.home-page .how-it-works {
    --home-how-bg: #f2ece5;
    --home-how-text: #242521;
    --home-how-gold: #b89b5e;
    --home-how-explore: #64875f;
    --home-how-story: #da8f8d;
    position: relative;
    background: var(--home-how-bg);
    color: var(--home-how-text);
    scroll-margin-top: 110px;
}
.how-it-works-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; scroll-margin-top: 110px; }
.how-it-works .section-heading { max-width: 820px; margin-bottom: 36px; }
.how-it-works .section-heading .eyebrow { color: var(--home-how-gold); font-size: .78rem; }
.how-it-works .section-heading h2 { margin-bottom: 0; color: var(--home-how-text); }
.home-journey { display: grid; gap: 20px; margin: 0; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.home-journey > li { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 20px 24px; border: 1px solid rgb(36 37 33 / 9%); border-top: 3px solid var(--home-how-gold); border-radius: 0 0 20px 20px; background: transparent; }
.home-waypoint { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.home-waypoint .journey-number { width: auto; height: auto; margin: 0; background: transparent; border-radius: 0; color: var(--home-how-gold); font-size: 1.35rem; letter-spacing: .08em; }
.home-waypoint .concept-icon { width: 48px; height: 48px; margin: 0; border: 1px solid rgb(184 155 94 / 55%); background: transparent; border-radius: 50%; color: var(--home-how-text); }
.home-waypoint svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home-step-copy { display: flex; flex: 1; flex-direction: column; }
.home-step-copy h3 { margin-bottom: 12px; color: var(--home-how-text); font-size: 1.08rem; line-height: 1.35; letter-spacing: -.015em; }
.home-step-copy > p { margin: 0; color: rgb(36 37 33 / 76%); line-height: 1.65; }
.home-destinations { display: grid; gap: 8px; margin-top: 2px; }
.home-destination { margin: 0; padding: 7px 0 7px 14px; border-left: 2px solid; font-size: .86rem; line-height: 1.55; }
.home-destination strong { display: block; margin-bottom: 5px; font-family: Montserrat, Arial, sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-destination span { display: block; color: rgb(36 37 33 / 76%); }
.home-destination-explore { border-left-color: var(--home-how-explore); }
.home-destination-explore strong { color: var(--home-how-explore); }
.home-destination-story { border-left-color: var(--home-how-story); }
.home-destination-story strong { color: var(--home-how-story); }
@media (max-width: 1100px) {
    .home-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 700px) {
    .home-journey { max-width: 520px; grid-template-columns: minmax(0, 1fr); margin-inline: auto; }
    .home-journey > li:not(:last-child)::after { position: absolute; z-index: 1; bottom: -25px; left: 34px; width: 2px; height: 24px; content: ''; background: var(--home-how-gold); }
}
@media (max-width: 620px) {
    .home-page .how-it-works,
    .how-it-works-anchor { scroll-margin-top: 88px; }
    .how-it-works .section-heading { margin-bottom: 30px; }
    .home-journey > li { padding: 20px; }
}

/* Homepage commercial catalogue entry. */
.home-featured {
    --home-commercial-bg: #fefbf6;
    --home-commercial-text: #242521;
    --home-commercial-gold: #b89b5e;
    --home-commercial-explore: #64875f;
    --home-commercial-story: #da8f8d;
    background: var(--home-commercial-bg);
    color: var(--home-commercial-text);
}
.home-featured .section-heading { max-width: 820px; margin-bottom: 36px; }
.home-featured .section-heading .eyebrow { color: var(--home-commercial-gold); }
.home-featured .section-heading h2 { margin-bottom: 0; color: var(--home-commercial-text); }
.home-commercial-shell { width: min(calc(100% - 40px), 1160px); margin-inline: auto; }
.adventure-listing-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.adventure-listing-heading-row :is(.section-heading, .explore-heading) { margin-bottom: 0; }
.adventure-listing-grid { width: 100%; max-width: 1160px; display: grid; align-items: stretch; gap: 24px; margin-inline: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adventure-listing-grid--count-1 { max-width: 380px; grid-template-columns: minmax(0, 380px); }
.adventure-listing-grid--count-2 { max-width: 784px; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.adventure-listing-card { min-width: 0; display: flex; overflow: hidden; flex-direction: column; border: 1px solid rgb(36 37 33 / 10%); border-radius: 20px; background: #fefbf6; box-shadow: 0 12px 30px rgb(36 37 33 / 7%); }
.adventure-listing-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.adventure-listing-card__cover { height: 100%; display: block; overflow: hidden; }
.adventure-listing-card .shop-cover { width: 100%; height: 100%; min-height: 0; display: grid; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.home-commercial-card--explore .shop-placeholder { background: #eef2ea; color: var(--home-commercial-text); }
.home-commercial-card--story .shop-placeholder { background: #f8ecec; color: var(--home-commercial-text); }
.adventure-listing-card__content { min-width: 0; display: flex; flex: 1; align-items: stretch; flex-direction: column; padding: 20px; }
.adventure-listing-card__universe { position: absolute; bottom: 12px; left: 16px; display: inline-flex; margin: 0; padding: 5px 10px; border-radius: 999px; color: #242521; font-family: Montserrat, Arial, sans-serif; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; line-height: 1; text-transform: uppercase; box-shadow: 0 3px 10px rgb(36 37 33 / 12%); }
.adventure-listing-card--explore .adventure-listing-card__universe { background: #eef2ea; color: #64875f; }
.adventure-listing-card--story .adventure-listing-card__universe { background: #f8ecec; color: #7a3f4a; }
.adventure-listing-card__title { min-height: 2.6em; display: -webkit-box; overflow: hidden; margin-bottom: 12px; color: #242521; font-size: 1.375rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.catalog-adventure-card.adventure-listing-card--explore .adventure-listing-card__universe,
.catalog-adventure-card.adventure-listing-card--explore .adventure-listing-card__title { color: #052d21; }
.catalog-adventure-card.adventure-listing-card--story .adventure-listing-card__universe { background: #f8f1f0; color: #7a3f4a; }
.catalog-adventure-card.adventure-listing-card--story .adventure-listing-card__title { color: #7a3f4a; }
.adventure-listing-card__facts { display: flex; flex-wrap: wrap; gap: 6px 9px; margin: 0 0 18px; padding: 0; color: rgb(36 37 33 / 78%); font-size: .875rem; font-weight: 700; line-height: 1.4; list-style: none; }
.adventure-listing-card__facts li + li::before { margin-right: 9px; color: var(--adventure-card-accent); content: '·'; }
.adventure-listing-card--explore { --adventure-card-accent: #64875f; }
.adventure-listing-card--story { --adventure-card-accent: #da8f8d; }
.adventure-listing-card__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.adventure-listing-card__price { margin: 0; color: #242521; font-family: Montserrat, Arial, sans-serif; font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
.adventure-listing-card__price small { display: block; margin-bottom: 2px; color: rgb(36 37 33 / 68%); font-family: "Nunito Sans", Arial, sans-serif; font-size: .72rem; font-weight: 700; }
.adventure-listing-card__cta { width: auto; min-height: 44px; padding: 10px 14px; border-color: #242521; background: #242521; color: #fff; white-space: nowrap; }
.shop-page .adventure-listing-card .shop-price { margin: 0; padding: 0; font-size: 1.5rem; }
.shop-page .adventure-listing-card__cta { width: auto; min-height: 44px; padding: 10px 14px; justify-content: center; }
.shop-page .adventure-listing-card__title { font-size: 1.375rem; line-height: 1.3; }
.shop-page .adventure-listing-card__facts { flex-direction: row; }
.shop-page .adventure-listing-card__facts .shop-reward-types { color: inherit; font-size: inherit; }
.shop-page .shop-catalog-grid { max-width: 1160px; margin-inline: auto; }
.shop-page .shop-catalog-grid.adventure-listing-grid--count-1 { max-width: 380px; }
.shop-page .shop-catalog-grid.adventure-listing-grid--count-2 { max-width: 784px; }
.shop-page { padding-block: clamp(24px, 3.5vw, 44px); background: #fefbf6; color: #242521; }
.shop-page .shop-empty { padding-block: 24px; }
.shop-page .shop-empty p { margin-bottom: 14px; }
.shop-page .shop-empty .button { min-height: 44px; }
.launch-notice-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; text-align: center; }
.shop-prelaunch { min-height: 190px; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 6vw, 64px); border: 1px solid rgb(184 155 94 / 35%); border-radius: 22px; background: #f8f1e7; }
.shop-universe-coming { max-width: 760px; margin-top: 32px; padding: clamp(24px, 5vw, 42px); border-left: 4px solid #7a3f4a; border-radius: 0 18px 18px 0; background: #f8ecec; }
.shop-universe-coming--explore { border-left-color: #052d21; background: #eef2ea; }
.shop-universe-coming h2 { margin-bottom: 12px; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.shop-universe-coming > p:not(.eyebrow) { max-width: 620px; line-height: 1.6; }
.explore-adventures .adventure-listing-card__cta { border-color: #052d21; background: #052d21; }
.adventure-listing-card__cta:hover { border-color: var(--adventure-card-accent); background: #242521; color: #fff; box-shadow: 0 8px 20px rgb(36 37 33 / 14%); }
.explore-adventures .adventure-listing-card__cta:hover { background: #64875f; }
.home-commercial-shop-link,
.explore-all-link { min-height: 44px; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; font-family: Montserrat, Arial, sans-serif; font-size: .875rem; font-weight: 800; text-decoration: none; }
.adventure-listing-link__label { text-decoration: underline; text-decoration-color: #b89b5e; text-underline-offset: 6px; }
.home-commercial-shop-link { color: var(--home-commercial-text); }
.explore-all-link { color: var(--explore-main); }
.home-featured :is(.adventure-listing-card__cta, .home-commercial-shop-link, .home-commercial-empty-universe):focus-visible { outline: 3px solid var(--home-commercial-text); outline-offset: 4px; }
.home-commercial-empty-heading { max-width: 760px; }
.home-featured .home-commercial-empty-heading h2 { margin-bottom: 18px; }
.home-commercial-empty-heading > p:not(.eyebrow) { color: rgb(36 37 33 / 78%); font-size: 1.08rem; line-height: 1.7; }
.home-commercial-empty-universes { max-width: 824px; display: grid; gap: 24px; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-commercial-empty-universe { min-height: 150px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid rgb(36 37 33 / 9%); border-radius: 24px; color: var(--home-commercial-text); box-shadow: 0 12px 30px rgb(36 37 33 / 6%); }
.home-commercial-empty-universe--explore { background: #eef2ea; }
.home-commercial-empty-universe--story { background: #f8ecec; }
.home-commercial-empty-universe span { font-family: Montserrat, Arial, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-commercial-empty-universe--explore span { color: var(--home-commercial-explore); }
.home-commercial-empty-universe--story span { color: var(--home-commercial-story); }
.home-commercial-empty-universe strong { color: var(--home-commercial-text); font-family: Montserrat, Arial, sans-serif; font-size: 1.25rem; }
@media (max-width: 1100px) {
    .adventure-listing-grid { max-width: 784px; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
    .adventure-listing-grid--count-1 { max-width: 380px; grid-template-columns: minmax(0, 380px); }
    .adventure-listing-grid--count-3 > :last-child { width: calc((100% - 24px) / 2); grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 620px) {
    .home-commercial-shell { width: calc(100% - 28px); }
    .adventure-listing-heading-row { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
    .adventure-listing-grid,
    .adventure-listing-grid--count-1,
    .adventure-listing-grid--count-2,
    .home-commercial-empty-universes { max-width: 430px; grid-template-columns: minmax(0, 1fr); }
    .adventure-listing-grid--count-3 > :last-child { width: 100%; grid-column: auto; }
    .adventure-listing-card { width: 100%; max-width: 380px; justify-self: center; }
    .adventure-listing-card__content { padding: 18px; }
    .shop-page .adventure-listing-card__title { font-size: 1.25rem; }
    .shop-page { padding-block: 22px 32px; }
    .shop-page .shop-intro h1 { font-size: clamp(1.75rem, 8vw, 2rem); }
    .shop-intro > p:last-child { font-size: 1rem; line-height: 1.5; }
    .shop-intro { margin-bottom: 18px; }
    .shop-filters { margin-bottom: 20px; }
}
@media (max-width: 340px) {
    .adventure-listing-card__price { font-size: 1.375rem; }
    .shop-page .adventure-listing-card .shop-price { font-size: 1.375rem; }
}

/* Homepage: a deliberate editorial hierarchy without changing section content. */
.home-page .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2.625rem, 3.2vw, 3rem);
    line-height: 1.06;
}
.home-page :is(.hero-kicker, .front-section .eyebrow) {
    margin-bottom: 10px;
    font-size: .78rem;
    line-height: 1.35;
}
.home-page :is(.home-universes, .home-featured) .section-heading {
    max-width: 860px;
    margin-bottom: 28px;
}
.home-page :is(.home-universes, .home-featured) .section-heading h2 {
    font-size: clamp(1.875rem, 2.35vw, 2.125rem);
    line-height: 1.12;
}
.home-page .how-it-works .section-heading {
    margin-bottom: 24px;
}
.home-page .how-it-works .section-heading h2 {
    font-size: clamp(1.625rem, 2vw, 1.875rem);
    line-height: 1.15;
}
.home-page .project .project-heading {
    max-width: 760px;
    margin-bottom: 20px;
}
.home-page .project .project-heading h2 {
    font-size: 2rem;
    line-height: 1.12;
}
.home-page .newsletter-signup h2 {
    margin-bottom: 14px;
    font-size: 2rem;
    line-height: 1.12;
}
.home-page .hero-introduction {
    font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
    line-height: 1.65;
}
.home-page .home-universe-content h3,
.home-page .home-commercial-card h3 {
    font-size: 1.375rem;
    line-height: 1.3;
}
.home-page .home-step-copy h3 {
    font-size: 1.25rem;
    line-height: 1.35;
}
.home-page :is(.home-universe-content > p:not(.home-universe-tag), .home-step-copy > p, .project-content > p, .newsletter-signup-heading > p:last-child) {
    font-size: 1.0625rem;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .home-page :is(.home-universes, .home-featured) .section-heading h2 {
        font-size: clamp(1.75rem, 3.8vw, 2rem);
    }
    .home-page .project .project-heading h2 {
        font-size: clamp(1.75rem, 3.8vw, 2rem);
    }
    .home-page .how-it-works .section-heading h2 {
        font-size: clamp(1.625rem, 3.5vw, 1.875rem);
    }
    .home-page .newsletter-signup h2 {
        font-size: clamp(1.75rem, 3.8vw, 2rem);
    }
}

@media (max-width: 620px) {
    .home-page .hero h1 {
        font-size: clamp(2rem, 9vw, 2.25rem);
    }
    .home-page :is(.home-universes, .home-featured) .section-heading h2,
    .home-page .project .project-heading h2 {
        font-size: clamp(1.5625rem, 7.2vw, 1.8125rem);
        line-height: 1.14;
    }
    .home-page .how-it-works .section-heading h2 {
        font-size: clamp(1.5625rem, 6.8vw, 1.6875rem);
        line-height: 1.15;
    }
    .home-page .newsletter-signup h2 {
        font-size: clamp(1.5625rem, 7vw, 1.75rem);
        line-height: 1.14;
    }
    .home-page :is(.home-universes, .home-featured) .section-heading {
        margin-bottom: 24px;
    }
    .home-page .project .project-heading {
        margin-bottom: 18px;
    }
    .home-page .hero-introduction,
    .home-page :is(.home-universe-content > p:not(.home-universe-tag), .home-step-copy > p, .project-content > p, .newsletter-signup-heading > p:last-child) {
        font-size: 1rem;
    }
    .home-page .home-universe-content h3,
    .home-page .home-commercial-card h3,
    .home-page .home-step-copy h3 {
        font-size: 1.25rem;
    }
}

/* Progression acquise : mêmes données sur les cartes et la page privée. */
.adventure-progress { margin-block: 1.25rem; min-width: 0; }
.progress-state { font-weight: 600; }
.progress-percent { color: #242521; font-weight: 700; font-size: 1.25rem; }
.progress-bar { display: block; width: 100%; height: .65rem; border: 0; border-radius: 1rem; overflow: hidden; background: #ece8e1; accent-color: #242521; }
.progress-bar::-webkit-progress-bar { background: #ece8e1; }
.progress-bar::-webkit-progress-value { background: #242521; border-radius: 1rem; }
.progress-bar::-moz-progress-bar { background: #242521; border-radius: 1rem; }
.universe-explore .progress-percent { color: #64875f; }
.universe-explore .progress-bar { accent-color: #64875f; }
.universe-explore .progress-bar::-webkit-progress-value { background: #64875f; }
.universe-explore .progress-bar::-moz-progress-bar { background: #64875f; }
.universe-story .progress-percent { color: #7a3f4a; }
.universe-story .progress-bar { accent-color: #7a3f4a; }
.universe-story .progress-bar::-webkit-progress-value { background: #7a3f4a; }
.universe-story .progress-bar::-moz-progress-bar { background: #7a3f4a; }
.progress-detail { font-size: .95rem; overflow-wrap: anywhere; }

/* Historique d'activités : actions lisibles et retours à la ligne sur petit écran. */
.activity-list { padding: 0; list-style: none; margin-block: 1.5rem; }
.activity-item { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid #dfe5da; }
.activity-steps { font-weight: 700; margin-block: .3rem; }
.activity-source { color: #52645c; font-size: .9rem; }
.activity-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.activity-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.activity-section { margin-top: 1.5rem; }
.arrow-link { display: inline-flex; min-height: 44px; align-items: center; gap: .35rem; }
.arrow-link .link-label, .activity-pagination .link-label { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow { text-decoration: none !important; }

/* Explore owned detail: the live map is the primary visual and stages stay on demand. */
.explore-owned-page { color: #242521; }
.explore-adventure-header { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 34px); margin-top: 14px; }
.explore-adventure-header.explore-adventure-header--no-cover { grid-template-columns: minmax(0, 1fr); }
.explore-adventure-cover { width: 180px; height: 126px; object-fit: cover; border-radius: 18px; }
.explore-adventure-header h1 { margin-block: 4px 8px; }
.explore-adventure-header :is(.shop-facts, .private-summary) { margin-block: 7px; }
.explore-adventure-header .private-summary { max-width: 70ch; font-size: 1rem; }
.explore-owned-page .adventure-ready { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 20px 24px; margin-block: 22px 26px; }
.explore-owned-page .adventure-ready .adventure-progress { margin-block: 0; }
.explore-owned-page .adventure-ready > .button { margin-top: 0; }
.explore-owned-page .explore-journey { margin-top: 0; }
.explore-owned-page .route-map { height: 500px; }
.explore-stages { margin-top: 18px; border: 1px solid rgb(100 135 95 / 32%); border-radius: 18px; background: #fefbf6; overflow: clip; }
.explore-stages > summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; color: #052d21; font-weight: 800; cursor: pointer; list-style: none; }
.explore-stages > summary::-webkit-details-marker { display: none; }
.explore-stages .details-chevron { font-size: 1.25rem; transition: transform .2s ease; }
.explore-stages[open] .details-chevron { transform: rotate(180deg); }
.explore-stage-list { display: grid; gap: 0; margin: 0; padding: 0 18px 12px; list-style: none; }
.explore-stage { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; border-top: 1px solid rgb(36 37 33 / 9%); }
.explore-stage-focus { display: flex; min-width: 0; flex: 1; align-items: center; gap: 12px; padding: 2px; border: 0; background: transparent; color: #242521; font: inherit; text-align: left; cursor: pointer; }
.explore-stage-focus > span:last-child { display: grid; min-width: 0; gap: 2px; }
.explore-stage-focus strong { overflow-wrap: anywhere; }
.explore-stage-focus small { color: rgb(36 37 33 / 68%); }
.explore-stage-number { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid rgb(100 135 95 / 45%); border-radius: 50%; color: #052d21; font-weight: 800; }
.explore-stage-reached .explore-stage-number { border-color: #b89b5e; background: #64875f; color: #fff; }
.explore-stage-next .explore-stage-number { border: 2px solid #64875f; background: #eef2ea; }
.explore-stage > a { min-height: 44px; display: inline-flex; align-items: center; color: #052d21; font-weight: 700; }
.explore-description { margin-top: 28px; }

/* Shared full history: server-paginated rows become compact cards on small screens. */
.activity-history-header { margin-block: 18px 26px; }
.activity-history-header .account-kicker { color: #b89b5e; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; }
.activity-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 18px 24px; padding: 20px; border: 1px solid rgb(184 155 94 / 28%); border-radius: 18px; background: #fff; }
.activity-filters fieldset { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; border: 0; }
.activity-filters legend, .activity-adventure-filter { color: #242521; font-weight: 800; }
.activity-filters legend { margin-bottom: 8px; }
.activity-filters fieldset label { display: inline-flex; align-items: center; gap: 7px; }
.activity-adventure-filter { display: grid; min-width: min(100%, 250px); gap: 7px; }
.activity-adventure-filter select { min-height: 44px; max-width: 100%; padding: 8px 36px 8px 10px; border: 1px solid rgb(36 37 33 / 28%); border-radius: 9px; background: #fff; color: #242521; font: inherit; }
.activity-history-count { margin-block: 24px 12px; color: rgb(36 37 33 / 70%); font-weight: 700; }
.activity-history-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.activity-history-item { display: grid; grid-template-columns: 115px minmax(150px, 1.45fr) 100px minmax(115px, .9fr) minmax(130px, 1fr) 100px; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgb(36 37 33 / 9%); border-radius: 14px; background: #fff; }
.activity-history-item > div { display: grid; min-width: 0; gap: 4px; overflow-wrap: anywhere; }
.activity-history-item small { color: rgb(36 37 33 / 65%); }
.activity-field-label { color: rgb(36 37 33 / 55%); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.universe-tag { display: inline-flex; width: fit-content; padding: 4px 9px; border-radius: 999px; font-size: .76rem; font-weight: 800; }
.universe-tag-explore { background: #eef2ea; color: #052d21; }
.universe-tag-story { background: #f8f1f0; color: #7a3f4a; }
.activity-lock { color: #6f3e38; font-weight: 800; }
.activity-edit-button { min-height: 40px; padding: 8px 13px; border: 1px solid #b89b5e; background: transparent; color: #242521; box-shadow: none; }
.activity-history-empty { padding: 30px; border: 1px dashed rgb(184 155 94 / 45%); border-radius: 16px; background: #fff; text-align: center; }
.activity-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; }
.activity-pagination a { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; gap: 5px; padding: 8px 11px; border: 1px solid rgb(36 37 33 / 20%); border-radius: 9px; color: #242521; text-decoration: none; }
.activity-pagination a[aria-current=page] { border-color: #b89b5e; background: #242521; color: #fff; }

@media (max-width: 1100px) {
    .explore-owned-page .route-map { height: 420px; }
    .activity-history-item { grid-template-columns: 105px minmax(140px, 1.4fr) 95px minmax(105px, 1fr); }
    .activity-history-item > div:nth-child(5) { grid-column: 2 / 4; }
}
@media (max-width: 767px) {
    .explore-adventure-header { grid-template-columns: 96px minmax(0, 1fr); gap: 15px; }
    .explore-adventure-cover { width: 96px; height: 96px; border-radius: 14px; }
    .explore-adventure-header .private-summary { grid-column: 1 / -1; font-size: .95rem; }
    .explore-owned-page .adventure-ready { grid-template-columns: 1fr; padding: 18px; }
    .explore-owned-page .adventure-ready > .button { width: 100%; }
    .explore-owned-page .route-map { height: 340px; }
    .explore-stage { align-items: flex-start; }
    .activity-filters { display: grid; }
    .activity-history-item { grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: 16px; }
    .activity-history-item > div:nth-child(5) { grid-column: auto; }
    .activity-history-action { align-self: end; }
}
@media (max-width: 420px) {
    .explore-adventure-header { grid-template-columns: 76px minmax(0, 1fr); }
    .explore-adventure-cover { width: 76px; height: 76px; }
    .explore-owned-page .route-map { height: 320px; }
    .explore-stage { display: block; }
    .explore-stage > a { margin-left: 48px; }
    .activity-history-action { width: 100%; }
    .activity-history-action .button { width: 100%; }
}

/* 7D: geographic Explore and editorial Story, with a permanent textual interface. */
.explore-journey, .story-journey { margin-block: 32px; min-width: 0; }
.journey-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 16px; }
.journey-heading h2 { margin: 4px 0 10px; font-size: clamp(1.65rem, 3vw, 2.3rem); color: #163f31; }
.journey-heading p { margin-block: 6px; }
.journey-kicker { color: #496458; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; }
.journey-count { display: inline-block; border-radius: 30px; background: #e4ece3; color: #234c3b; padding: 10px 16px; font-size: .85rem; }
.virtual-note { font-size: .85rem; color: #52675c; }
.route-map-shell { min-width: 0; overflow: hidden; border: 1px solid #ccd9cd; border-radius: 22px; background: #edf0e7; }
.route-map { height: 490px; width: 100%; isolation: isolate; z-index: 0; background: #e7ece2; }
.route-map:focus-visible { outline: 3px solid #154e3b; outline-offset: -4px; }
.map-status { padding: 12px 18px; margin: 0; color: #42594d; background: #f7f8f2; font-size: .8rem; }
.map-empty { padding: 50px 25px; border: 1px dashed #a7bca9; border-radius: 22px; text-align: center; background: #edf0e7; color: #42594d; }
.map-empty > span { font-size: 3rem; }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 18px 4px; font-size: .8rem; color: #3f574a; }
.journey-next { padding: 22px 28px; margin-block: 12px 24px; border-left: 4px solid #426947; border-radius: 0 18px 18px 0; background: #e6ecdf; }
.journey-next h3 { margin-block: 8px; }
.journey-next p { margin-block: 4px; }
.journey-marker { display: grid; place-items: center; background: transparent; }
.journey-marker > span { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid white; border-radius: 50%; background: #edf0e9; color: #344c40; box-shadow: 0 2px 8px #143e3140; font: bold 17px/1 sans-serif; }
.marker-reached > span { background: #205b40; color: white; }
.marker-next > span { background: #e6edbf; border: 3px solid #3b6142; outline: 3px solid #ffffffc9; }
.marker-arrival > span { border-radius: 7px; font-size: 21px; }
.marker-user > span { width: 40px; height: 40px; background: #f8edca; color: #493a20; border: 3px solid #493a20; outline: 3px solid white; font-size: 28px; }
.route-map .leaflet-popup-content { overflow-wrap: anywhere; line-height: 1.5; color: #234333; }
.route-map .leaflet-popup-content p { margin-block: 8px; }
.route-map .map-content-link { display: inline-block; padding-block: 10px; color: #154e3b; font-weight: 700; text-decoration: underline; }
.route-map .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; color: #163f31; }
.route-map .leaflet-control-attribution { max-width: calc(100% - 10px); font-size: 10px; overflow-wrap: anywhere; }
.story-journey { padding: clamp(20px, 4vw, 44px); background: #fefbf6; border: 1px solid rgb(184 155 94 / 22%); border-radius: 24px; }
.story-journey h2, .story-chapter h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
.story-journey .journey-heading h2 { color: #7a3f4a; }
.story-journey .journey-kicker { color: #da8f8d; }
.story-journey .journey-count { background: #f8f1f0; color: #7a3f4a; }
.story-timeline { list-style: none; margin: 35px 0 0; padding: 0; }
.story-chapter { position: relative; padding: 0 0 36px 62px; min-height: 95px; }
.story-chapter:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 32px; bottom: -5px; border-left: 2px solid rgb(184 155 94 / 22%); }
.story-chapter.is-unlocked:not(:last-child)::before { border-color: #7a3f4a; }
.chapter-node { position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgb(184 155 94 / 28%); border-radius: 50%; background: #fefbf6; color: #7a3f4a; }
.is-unlocked .chapter-node { background: #7a3f4a; color: white; }
.is-next .chapter-node { background: #f8f1f0; border: 2px solid #7a3f4a; outline: 5px solid #fefbf6; }
.chapter-copy { padding: 2px 0 0; overflow-wrap: anywhere; }
.chapter-copy h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); margin: 8px 0 12px; }
.chapter-copy > p:not(.journey-kicker) { color: #67675f; font-size: .9rem; }
.is-next .chapter-copy { padding: 18px 24px; border-radius: 0 18px 18px 18px; background: #f8f1f0; }
.is-locked .chapter-copy { opacity: .85; }
.story-chapter:last-child { padding-bottom: 0; }
.adventure-ready > .button { margin-top: 15px; }
@media (max-width: 600px) {
    .route-map { height: 390px; height: clamp(350px, 55svh, 430px); }
    .journey-heading { display: block; }
    .journey-count { margin-top: 12px; }
    .story-chapter { padding-left: 48px; }
    .is-next .chapter-copy { padding: 14px; }
    .story-journey { padding: 20px 16px; }
    .chapter-copy .button { max-width: 100%; white-space: normal; }
    .journey-next { padding: 20px; }
}

.lock-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; display: inline-block; vertical-align: -2px; }

/* Owned Story: the existing unlock projection becomes an accessible virtual book. */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.story-owned-page {
    --story-deep: #7a3f4a;
    --story-secondary: #da8f8d;
    --story-soft: #f8f1f0;
    --story-ivory: #fefbf6;
    --story-ink: #242521;
    --story-gold: #b89b5e;
    color: var(--story-ink);
}
.story-back { color: var(--story-deep); text-decoration: none; }
.story-back .back-label { text-decoration: underline; text-decoration-color: rgb(122 63 74 / 48%); text-underline-offset: 4px; }
.story-back .back-arrow { display: inline-block; margin-right: 3px; text-decoration: none; transition: transform 180ms ease; }
.story-back:hover .back-arrow { transform: translateX(-2px); }
.story-adventure-header { max-width: 760px; margin-bottom: 20px; }
.story-adventure-tag { width: fit-content; margin-bottom: 10px; padding: 5px 11px; border-radius: 999px; background: var(--story-soft); color: var(--story-deep); font-size: .72rem; font-weight: 800; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
.account-main .story-adventure-header h1 { color: var(--story-deep); font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
.story-adventure-facts { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-bottom: 10px; color: var(--story-ink); font-size: .86rem; font-weight: 800; }
.story-adventure-facts span + span { position: relative; }
.story-adventure-facts span + span::before { position: absolute; left: -11px; color: var(--story-gold); content: '◆'; font-size: .55rem; }
.story-adventure-summary { max-width: 65ch; margin: 0; color: rgb(36 37 33 / 75%); font-size: 1rem; line-height: 1.55; }
.story-progress-summary { display: flex; align-items: center; gap: 20px 26px; margin-bottom: 28px; padding: 18px 22px; border: 1px solid rgb(184 155 94 / 28%); border-radius: 18px; background: var(--story-soft); }
.story-progress-summary .adventure-progress { flex: 1; margin: 0; }
.story-progress-summary .progress-state { color: var(--story-ink); }
.story-progress-summary .progress-percent { color: var(--story-deep); }
.story-progress-summary .progress-bar { color: var(--story-deep); accent-color: var(--story-deep); }
.story-progress-summary .progress-bar::-webkit-progress-value { background: var(--story-deep); }
.story-progress-summary .progress-bar::-moz-progress-bar { background: var(--story-deep); }
.story-action, .story-chapter-link, .story-unlock-link { min-height: 44px; justify-content: center; border-color: var(--story-deep); background: var(--story-deep); color: #fff; box-shadow: 0 7px 16px rgb(122 63 74 / 16%); }
.story-action:hover, .story-chapter-link:hover, .story-unlock-link:hover { border-color: var(--story-deep); background: var(--story-deep); color: #fff; filter: brightness(.92); }
.story-book { max-width: 1150px; margin: 30px auto 34px; }
.story-book__heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.story-kicker { margin-bottom: 5px; color: var(--story-secondary); font-size: .71rem; font-weight: 800; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; }
.account-main .story-book__heading h2 { margin: 0; color: var(--story-deep); font: 500 clamp(1.55rem, 2.8vw, 2rem)/1.15 Georgia, 'Times New Roman', serif; }
.story-complete { margin: 0; padding: 6px 11px; border: 1px solid rgb(184 155 94 / 42%); border-radius: 999px; color: var(--story-deep); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.story-complete span { color: var(--story-gold); }
.story-book__overview { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; padding: 8px 14px; border-block: 1px solid rgb(184 155 94 / 28%); }
.story-book__overview p { margin: 0; color: var(--story-deep); font-size: .86rem; font-weight: 800; }
.story-book__overview strong { color: var(--story-deep); font-size: 1rem; }
.story-book__toc-open { min-height: 38px; padding: 7px 14px; border: 1px solid var(--story-deep); background: transparent; color: var(--story-deep); box-shadow: none; font-size: .78rem; }
.story-book__toc-open:hover { background: var(--story-deep); color: #fff; }
.story-book__spread:focus { outline: none; }
.story-book__spread:focus-visible { outline: 3px solid var(--story-deep); outline-offset: 4px; }
.story-book__spread-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; padding-inline: 10px; color: var(--story-deep); font-size: .76rem; font-weight: 900; }
.story-book__spread-meta p { margin: 0; }
.story-book__canvas { position: relative; width: 100%; aspect-ratio: 1774 / 887; overflow: hidden; isolation: isolate; }
.story-book__picture, .story-book__picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-book__picture img { object-fit: contain; }
.story-book__chapter-area { position: absolute; z-index: 2; inset: 15% 9% 14%; }
.story-book__path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.story-book__path path { fill: none; stroke-width: 3; stroke-linecap: round; animation: story-path-in 600ms ease both; }
.story-book__path-future { stroke: rgb(122 63 74 / 22%); stroke-dasharray: 1 9; }
.story-book__path-reached { stroke: var(--story-deep); transition: stroke-dashoffset 420ms ease; }
.story-book__step { fill: rgb(122 63 74 / 28%); }
.story-book__step.is-reached { fill: var(--story-deep); }
.story-book__start { position: absolute; z-index: 3; top: var(--story-start-y, 0); left: var(--story-start-x, 0); display: grid; justify-items: center; gap: 2px; transform: translate(-50%, -50%); color: #6e3d49; pointer-events: none; }
.story-book__start span { width: 11px; height: 11px; border: 2px solid #7a3f4a; border-radius: 50%; background: #b89b5e; }
.story-book__start small { padding: 1px 3px; background: rgb(254 251 246 / 88%); font-size: .66rem; font-weight: 900; }
.story-book__position-marker { position: absolute; z-index: 3; top: var(--story-position-y, 0); left: var(--story-position-x, 0); width: 0; height: 0; pointer-events: none; transition: top 420ms ease, left 420ms ease; }
.story-book__position-dot { position: absolute; width: 13px; height: 13px; transform: translate(-50%, -50%); border: 2px solid var(--story-deep); border-radius: 50%; background: var(--story-gold); box-shadow: 0 2px 6px rgb(36 37 33 / 18%); }
.story-book__position-label { position: absolute; top: 9px; left: 0; width: max-content; padding: 2px 5px; transform: translateX(-50%); border-radius: 5px; background: rgb(254 251 246 / 88%); color: #6e3d49; font-size: .66rem; font-weight: 900; line-height: 1.2; }
.story-book__position-marker.is-first-segment .story-book__position-label { top: -32px; }
.story-book__position-marker.is-at-start .story-book__position-label { top: 32px; left: -18px; transform: none; }
@media (max-width: 767px) { .story-book__position-marker.is-first-segment:not(.is-at-start) .story-book__position-label { top: 9px; } }
.story-book__chapter { position: absolute; top: var(--chapter-y, 50%); left: var(--chapter-x, 50%); width: min(20%, 185px); margin: 0; transform: translate(-50%, -50%); color: var(--story-deep); text-align: center; }
.story-book__node { position: relative; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto -8px; border: 2px solid var(--story-gold); border-radius: 50%; background: var(--story-ivory); color: var(--story-deep); box-shadow: 0 4px 12px rgb(36 37 33 / 12%); font-size: .88rem; font-weight: 900; }
.story-book__chapter.is-available .story-book__node { border-color: var(--story-deep); background: var(--story-deep); color: #fff; animation: story-node-in 300ms ease both; }
.story-book__chapter.is-progress-locked .story-book__node { border-color: var(--story-deep); background: var(--story-soft); }
.story-book__chapter.is-commercial-locked .story-book__node { border-color: var(--story-gold); background: var(--story-soft); }
.story-book__chapter-copy { position: relative; z-index: 1; padding: 13px 9px 9px; border: 1px solid rgb(122 63 74 / 30%); border-radius: 12px; background: rgb(254 251 246 / 94%); box-shadow: 0 4px 10px rgb(36 37 33 / 6%); }
.story-book__chapter.is-progress-locked .story-book__chapter-copy { background: rgb(248 241 240 / 94%); }
.story-book__chapter.is-commercial-locked .story-book__chapter-copy { border-style: dashed; background: rgb(248 241 240 / 96%); }
.story-book__chapter-number { margin: 0 0 2px; color: var(--story-deep); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.account-main .story-book__chapter h3 { display: -webkit-box; margin: 0 0 7px; overflow: hidden; color: #6e3d49; font: 600 .84rem/1.18 Georgia, 'Times New Roman', serif; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.story-book__lock-label { margin: 4px 0 0; color: var(--story-deep); font-size: .73rem; font-weight: 800; line-height: 1.22; }
.story-chapter-link, .story-unlock-link { width: 100%; min-height: 36px; margin-top: 3px; padding: 7px 8px; font-size: .68rem; line-height: 1.2; }
.story-book__navigation { display: grid; align-items: center; gap: 12px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); margin-top: 6px; }
.story-book__nav-button { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; padding: 8px 2px; border: 0; background: transparent; color: var(--story-deep); cursor: pointer; font: 800 .82rem/1.2 'Nunito Sans', Arial, sans-serif; }
.story-book__nav-button:last-child { justify-self: end; }
.story-book__nav-button span:not([aria-hidden]) { text-decoration: underline; text-underline-offset: 4px; }
.story-book__nav-button:disabled { color: rgb(36 37 33 / 35%); cursor: default; }
.story-book__position { margin: 0; color: var(--story-ink); font-size: .75rem; font-weight: 800; text-align: center; }
.story-book__canvas--empty { position: relative; aspect-ratio: 1774 / 887; }
.story-book__canvas--empty .story-book__empty { position: absolute; z-index: 2; top: 50%; left: 28%; width: 34%; transform: translate(-50%, -50%); text-align: center; }
.story-book__empty p:last-child { margin: 0; color: var(--story-ink); }
.story-toc { width: min(680px, calc(100% - 32px)); max-height: min(760px, calc(100dvh - 40px)); padding: 0; overflow: hidden; border: 1px solid rgb(122 63 74 / 32%); border-radius: 20px; background: var(--story-ivory); color: var(--story-ink); box-shadow: 0 24px 70px rgb(36 37 33 / 24%); }
.story-toc::backdrop { background: rgb(36 37 33 / 48%); }
.story-toc__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; border-bottom: 1px solid rgb(184 155 94 / 30%); }
.account-main .story-toc__header h2 { margin: 0; color: var(--story-deep); font: 500 1.6rem/1.1 Georgia, 'Times New Roman', serif; }
.story-toc__close { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--story-deep); border-radius: 50%; background: transparent; color: var(--story-deep); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.story-toc__list { max-height: calc(min(760px, 100dvh - 40px) - 80px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 14px 18px 22px; overflow-y: auto; list-style: none; }
.story-toc__item :is(a, button) { width: 100%; min-height: 58px; display: grid; align-items: center; gap: 10px; grid-template-columns: 22px minmax(0, 1fr); padding: 9px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--story-deep); text-align: left; text-decoration: none; cursor: pointer; font: inherit; }
.story-toc__item :is(a, button):hover { border-color: rgb(122 63 74 / 28%); background: var(--story-soft); }
.story-toc__item span:nth-child(2) { min-width: 0; }
.story-toc__item strong, .story-toc__item small { display: block; }
.story-toc__item strong { font-size: .78rem; }
.story-toc__item small { overflow: hidden; color: #6e3d49; font-size: .72rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.story-toc__item.is-locked button { color: var(--story-ink); }
.story-toc__state { color: var(--story-gold); text-align: center; }
.story-next-step { min-height: 150px; display: grid; align-items: center; gap: 20px; grid-template-columns: minmax(0, 1fr) 125px; margin-block: 30px; padding: 22px 24px; overflow: hidden; border: 1px solid rgb(184 155 94 / 32%); border-radius: 20px; background: var(--story-soft); }
.story-next-step__copy { min-width: 0; }
.account-main .story-next-step h2 { margin: 0 0 8px; color: var(--story-deep); font: 500 1.35rem/1.2 Georgia, 'Times New Roman', serif; }
.story-next-step__copy > p:not(.story-kicker) { margin: 3px 0; color: var(--story-ink); }
.story-next-step img { width: 125px; height: 125px; border-radius: 50%; object-fit: contain; }
.story-paywall { color: var(--story-ink); }
.story-paywall .button { border-color: var(--story-deep); background: var(--story-deep); color: #fff; }
.story-activity-section .button-secondary { border-color: var(--story-deep); color: var(--story-deep); }
.story-activity-section .button-secondary:hover { border-color: var(--story-deep); background: var(--story-deep); color: #fff; }
.story-activity-section .activity-item { border-bottom-color: rgb(184 155 94 / 25%); }
.story-activity-section .activity-source { color: rgb(36 37 33 / 68%); }
.story-activity-section .activity-actions a { color: var(--story-deep); text-decoration: underline; text-decoration-color: rgb(122 63 74 / 42%); text-underline-offset: 3px; }
.story-owned-page :is(a, button):focus-visible { outline: 3px solid var(--story-deep); outline-offset: 3px; }
@keyframes story-path-in { from { opacity: 0; } }
@keyframes story-node-in { from { opacity: .3; transform: scale(.9); } }

@media (max-width: 767px) {
    .story-adventure-header { margin-bottom: 18px; }
    .story-progress-summary { align-items: stretch; flex-direction: column; padding: 17px; }
    .story-progress-summary .story-action { width: 100%; }
    .story-book__heading { align-items: start; flex-direction: column; }
    .story-book__overview { align-items: start; flex-direction: column; }
    .story-book__toc-open { width: 100%; }
    .story-book__canvas, .story-book__canvas--empty { aspect-ratio: 1122 / 1402; }
    .story-book__chapter-area { inset: 29% 8% 25%; }
    .story-book__chapter { width: min(42%, 140px); }
    .story-book__node { width: 34px; height: 34px; }
    .story-book__chapter-copy { padding: 10px 7px 7px; }
    .story-book__chapter-number { font-size: .72rem; }
    .account-main .story-book__chapter h3, .story-book__lock-detail, .story-book__chapter .story-unlock-link { display: none; }
    .story-book__lock-label { font-size: .75rem; }
    .story-chapter-link, .story-unlock-link { min-height: 34px; padding: 6px; }
    .story-book__navigation { grid-template-columns: 1fr 1fr; }
    .story-book__position { grid-column: 1 / -1; grid-row: 1; }
    .story-book__nav-button { grid-row: 2; }
    .story-book__canvas--empty .story-book__empty { left: 50%; width: 60%; }
    .story-toc__list { grid-template-columns: 1fr; }
    .story-next-step { min-height: 130px; grid-template-columns: minmax(0, 1fr) 92px; padding: 19px 17px; }
    .story-next-step img { width: 92px; height: 92px; }
}
@media (max-width: 360px) {
    .story-book__chapter { width: min(42%, 118px); }
    .story-book__chapter-copy { padding: 9px 5px 6px; }
    .account-main .story-book__chapter h3 { display: none; }
    .story-chapter-link, .story-unlock-link { font-size: .65rem; }
    .story-book__nav-button { font-size: .75rem; }
    .story-book__nav-label { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
    .story-book__nav-button { min-width: 44px; justify-content: center; font-size: 1.1rem; }
    .story-next-step { grid-template-columns: minmax(0, 1fr) 80px; }
    .story-next-step img { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
    .story-book__path path, .story-book__chapter.is-available .story-book__node { animation: none; }
    .story-book__path-reached, .story-book__position-marker { transition: none; }
    .story-back .back-arrow { transition: none; }
}

/* Public Explore landing page: the approved Explore palette and the shared editorial grid. */
.explore-public-page {
    --explore-text: #242521;
    --explore-main: #64875f;
    --explore-soft: #eef2ea;
    --explore-ivory: #fefbf6;
    --explore-gold: #b89b5e;
    --explore-deep: #052d21;
    background: var(--explore-ivory);
    color: var(--explore-text);
}
.explore-public-page #main-content { overflow: hidden; }
.explore-public-page :is(h1, h2, h3) { color: var(--explore-text); }
.explore-public-page :is(a, button, [tabindex]):focus-visible { outline: 3px solid var(--explore-gold); outline-offset: 4px; }
.explore-section { padding-block: clamp(64px, 8vw, 108px); }
.explore-heading { max-width: 780px; margin-bottom: clamp(28px, 4vw, 42px); }
.explore-heading h2,
.explore-souvenirs h2 { margin-bottom: 14px; color: var(--explore-deep); font-size: clamp(1.75rem, 2.1vw, 1.875rem); line-height: 1.14; letter-spacing: -.025em; }
.explore-heading > p:last-child,
.explore-souvenirs-grid > div > p:not(.explore-kicker):not(.explore-reward-clarity) { max-width: 66ch; color: rgb(36 37 33 / 78%); font-size: 1.09375rem; line-height: 1.65; }
.explore-kicker { margin-bottom: 10px; color: var(--explore-main); font-family: Montserrat, Arial, sans-serif; font-size: .75rem; font-weight: 800; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.explore-kicker-gold { color: var(--explore-main); }
.explore-hero { overflow: hidden; background: var(--explore-soft); }
.explore-hero-grid { height: clamp(560px, 42vw, 610px); display: grid; align-items: stretch; padding-block: 0; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
.explore-hero-copy { position: relative; z-index: 2; min-width: 0; align-self: center; padding: 34px 30px 34px 0; }
.explore-hero h1 { width: 650px; max-width: none; margin-bottom: 16px; font-size: clamp(2.75rem, 3.2vw, 2.875rem); line-height: 1.08; letter-spacing: -.04em; }
.explore-hero h1 span { display: block; }
.explore-hero h1 span:last-child { white-space: nowrap; }
.explore-lead { max-width: 510px; margin-bottom: 22px; color: rgb(36 37 33 / 80%); font-size: 1.09375rem; line-height: 1.65; }
.explore-actions { display: flex; flex-wrap: wrap; }
.explore-button-primary { border-color: var(--explore-main); background: var(--explore-main); color: #fff; box-shadow: 0 12px 28px rgb(100 135 95 / 20%); }
.explore-button-primary:hover { border-color: var(--explore-main); background: var(--explore-main); color: #fff; filter: brightness(.92); }
.explore-button-secondary { border-color: var(--explore-main); background: transparent; color: var(--explore-text); }
.explore-button-secondary:hover { background: var(--explore-main); color: var(--explore-ivory); }
.explore-hero-benefits { width: 600px; display: grid; align-items: stretch; gap: 18px; margin: 26px 0 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; font-size: .82rem; font-weight: 700; line-height: 1.35; }
.explore-hero-benefit { min-width: 0; display: flex; align-items: center; gap: 10px; }
.explore-hero-benefit__icon { width: 56px; height: 52px; display: flex; flex: 0 0 56px; align-items: center; justify-content: center; }
.explore-hero-benefit__icon img { width: auto; height: auto; max-width: 48px; max-height: 48px; object-fit: contain; }
.explore-hero-benefit__label { min-width: 0; }
.explore-hero-visual { position: relative; min-width: 0; width: calc(100% + max(20px, (100vw - var(--container-width)) / 2)); margin: 0 calc(-1 * max(20px, (100vw - var(--container-width)) / 2)) 0 0; }
.explore-hero-visual::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: clamp(100px, 14vw, 190px); content: ''; background: linear-gradient(90deg, var(--explore-soft) 0%, rgb(238 242 234 / 94%) 18%, rgb(238 242 234 / 58%) 52%, rgb(238 242 234 / 0%) 100%); pointer-events: none; }
.explore-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.explore-progress-section { background: var(--explore-ivory); }
.explore-progress-layout { display: grid; align-items: stretch; gap: 28px; grid-template-columns: minmax(260px, .38fr) minmax(0, .62fr); }
.explore-progress-card { min-width: 0; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 46px); border: 1px solid rgb(100 135 95 / 25%); border-radius: 28px; background: var(--explore-ivory); box-shadow: 0 18px 45px rgb(36 37 33 / 7%); }
.explore-progress-value { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.explore-progress-value strong { color: var(--explore-main); font-family: Montserrat, Arial, sans-serif; font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: 1; }
.explore-progress-value span { color: rgb(36 37 33 / 68%); font-weight: 700; }
.explore-progress-bar { width: 100%; height: 13px; overflow: hidden; border: 0; border-radius: 99px; background: rgb(100 135 95 / 17%); accent-color: var(--explore-main); }
.explore-progress-bar::-webkit-progress-bar { background: rgb(100 135 95 / 17%); }
.explore-progress-bar::-webkit-progress-value { border-radius: 99px; background: var(--explore-main); }
.explore-progress-bar::-moz-progress-bar { border-radius: 99px; background: var(--explore-main); }
.explore-distance { display: grid; margin: 18px 0 12px; }
.explore-distance strong { font-family: Montserrat, Arial, sans-serif; font-size: 1.12rem; }
.explore-distance span { color: rgb(36 37 33 / 65%); }
.explore-walking-otter { height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 0 0 16px; }
.explore-walking-otter img { width: auto; height: 92px; max-width: 100%; object-fit: contain; }
.explore-next-stage { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding: 18px 0; border-block: 1px solid rgb(184 155 94 / 34%); }
.explore-next-stage span { color: rgb(36 37 33 / 70%); font-weight: 700; }
.explore-next-stage strong { color: var(--explore-main); font-family: Montserrat, Arial, sans-serif; font-size: 1.3rem; }
.explore-progression-map { min-width: 0; align-self: center; overflow: hidden; margin: 0; border-radius: 28px; box-shadow: 0 18px 45px rgb(36 37 33 / 7%); }
.explore-progression-map img { width: 100%; height: auto; display: block; object-fit: contain; }
.explore-souvenirs { background: var(--explore-soft); }
.explore-souvenirs-grid { display: grid; align-items: center; gap: clamp(36px, 5vw, 72px); grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.explore-reward-clarity { margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--explore-gold); }
.explore-reward-media { width: 100%; max-width: 460px; margin: 0 auto; align-self: center; justify-self: center; }
.explore-reward-media img { width: 100%; height: auto; display: block; object-fit: contain; }
.explore-adventures { background: var(--explore-ivory); border-top: 1px solid rgb(184 155 94 / 18%); }
.explore-adventure-card .shop-placeholder { background: var(--explore-soft); color: var(--explore-text); }
.explore-empty { max-width: 760px; padding: clamp(28px, 5vw, 50px); border-left: 4px solid var(--explore-main); background: var(--explore-soft); }
.explore-empty h3 { font-size: 1.375rem; line-height: 1.3; }
.explore-final-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--explore-deep); color: var(--explore-ivory); }
.explore-final-cta::before,
.explore-final-cta::after { position: absolute; z-index: -1; width: 430px; height: 300px; content: ''; border: 1px solid rgb(184 155 94 / 9%); border-radius: 48% 52% 45% 55%; box-shadow: 0 0 0 16px rgb(184 155 94 / 7%), 0 0 0 34px rgb(184 155 94 / 5%), 0 0 0 54px rgb(184 155 94 / 4%); pointer-events: none; }
.explore-final-cta::before { top: -210px; left: -100px; transform: rotate(12deg); }
.explore-final-cta::after { right: -120px; bottom: -220px; transform: rotate(-16deg); }
.explore-final-cta__inner { position: relative; min-height: 240px; display: grid; place-items: center; padding-block: 44px; }
.explore-final-cta__content { max-width: 680px; display: grid; justify-items: center; text-align: center; }
.explore-final-cta__kicker { margin-bottom: 8px; color: var(--explore-gold); font-family: Montserrat, Arial, sans-serif; font-size: .75rem; font-weight: 800; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.explore-final-cta h2 { margin-bottom: 22px; color: var(--explore-ivory); font-size: clamp(1.75rem, 2.4vw, 2.125rem); line-height: 1.14; letter-spacing: -.025em; }
.explore-final-cta__button { min-height: 48px; padding-inline: 24px; border-color: var(--explore-gold); background: var(--explore-gold); color: var(--explore-text); box-shadow: 0 10px 24px rgb(0 0 0 / 16%); }
.explore-final-cta__button:hover { border-color: var(--explore-gold); background: var(--explore-gold); color: var(--explore-text); filter: brightness(1.08); transform: translateY(-1px); }
@media (max-width: 1024px) {
    .explore-hero-grid { height: 560px; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
    .explore-hero-copy { padding-right: 22px; }
    .explore-hero h1 { width: 560px; font-size: 2.75rem; }
    .explore-hero-benefits { width: 590px; gap: 14px; }
    .explore-progress-layout { grid-template-columns: minmax(0, 1fr); }
    .explore-progress-card { max-width: 620px; }
    .explore-reward-media { max-width: 420px; }
}
@media (max-width: 768px) {
    .explore-hero-grid { height: auto; grid-template-columns: minmax(0, 1fr); }
    .explore-hero-copy { max-width: 680px; padding: 42px 0 32px; }
    .explore-hero h1 { width: auto; font-size: clamp(2.25rem, 5.2vw, 2.5rem); }
    .explore-hero h1 span:last-child { white-space: normal; }
    .explore-hero-benefits { width: 100%; gap: 16px; }
    .explore-hero-visual { width: 100%; height: clamp(320px, 52vw, 400px); margin: 0; }
    .explore-hero-visual::before { display: none; }
    .explore-hero-visual img { border-radius: 18px 18px 0 0; object-position: 54% center; }
    .explore-souvenirs-grid { grid-template-columns: minmax(0, 1fr); }
    .explore-final-cta__inner { min-height: 220px; padding-block: 40px; }
}
@media (max-width: 520px) {
    .explore-section { padding-block: 58px; }
    .explore-public-page .container { width: calc(100% - 28px); }
    .explore-hero-grid { padding-block: 0; }
    .explore-hero-copy { padding: 36px 0 28px; }
    .explore-hero h1 { font-size: clamp(2rem, 9vw, 2.25rem); line-height: 1.08; }
    .explore-heading h2,
    .explore-souvenirs h2 { font-size: clamp(1.5625rem, 7vw, 1.75rem); line-height: 1.16; }
    .explore-lead,
    .explore-heading > p:last-child,
    .explore-souvenirs-grid > div > p:not(.explore-kicker):not(.explore-reward-clarity) { margin-bottom: 22px; font-size: 1rem; }
    .explore-adventure-card h3,
    .explore-empty h3 { font-size: 1.25rem; }
    .explore-actions .button { width: 100%; }
    .explore-hero-benefits { gap: 12px; margin-top: 24px; grid-template-columns: minmax(0, 1fr); font-size: .9rem; }
    .explore-hero-benefit { gap: 10px; }
    .explore-hero-benefit__icon { width: 50px; height: 48px; flex-basis: 50px; }
    .explore-hero-benefit__icon img { max-width: 42px; max-height: 42px; }
    .explore-hero-visual { height: clamp(230px, 64vw, 280px); }
    .explore-hero-visual img { border-radius: 16px 16px 0 0; }
    .explore-progress-card { padding: 26px 22px; }
    .explore-walking-otter { height: 82px; }
    .explore-walking-otter img { height: 78px; }
    .explore-reward-media { max-width: 320px; }
    .explore-final-cta__inner { min-height: 210px; padding-block: 38px; }
    .explore-final-cta h2 { margin-bottom: 20px; font-size: clamp(1.5625rem, 7vw, 1.75rem); }
    .explore-final-cta__button { width: 100%; max-width: 330px; padding-inline: 18px; }
}
@media (max-width: 340px) {
    .explore-public-page .container { width: calc(100% - 20px); }
    .explore-actions .button { padding-inline: 16px; }
    .explore-progress-value { display: grid; }
    .explore-next-stage { align-items: flex-start; flex-direction: column; }
}

/* Public Story landing page: a compact editorial threshold into the narrative universe. */
.story-public-page {
    --story-text: #242521;
    --story-deep: #7a3f4a;
    --story-main: #da8f8d;
    --story-ivory: #fefbf6;
    --story-gold: #b89b5e;
    background: var(--story-ivory);
    color: var(--story-text);
}
.story-public-page #main-content { overflow: hidden; }
.story-public-page :is(a, button, [tabindex]):focus-visible { outline: 3px solid var(--story-text); outline-offset: 4px; }
.story-hero { overflow: hidden; background: var(--story-ivory); }
.story-hero-grid { height: 560px; display: grid; align-items: stretch; padding-block: 0; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
.story-hero-copy { position: relative; z-index: 2; min-width: 0; align-self: center; padding: 36px 30px 36px 0; }
.story-hero-kicker { margin-bottom: 10px; color: var(--story-main); font-family: Montserrat, Arial, sans-serif; font-size: .75rem; font-weight: 800; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.story-hero h1 { margin-bottom: 18px; color: var(--story-text); font-size: 2.8125rem; line-height: 1.06; letter-spacing: -.04em; }
.story-hero h1 span { display: block; }
.story-hero h1 span:last-child { color: var(--story-deep); white-space: nowrap; }
.story-hero-lead { max-width: 480px; margin-bottom: 30px; color: var(--story-text); font-size: 1.09375rem; line-height: 1.6; }
.story-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.story-hero-actions .button { min-height: 48px; padding: 11px 19px; font-size: .85rem; }
.story-hero-button-primary { border-color: transparent; background: var(--story-deep); color: #fff; box-shadow: 0 12px 28px rgb(122 63 74 / 20%); }
.story-hero-button-primary:hover { border-color: transparent; background: var(--story-deep); color: #fff; filter: brightness(.92); }
.story-hero-visual { position: relative; min-width: 0; width: calc(100% + max(20px, (100vw - var(--container-width)) / 2)); overflow: hidden; margin: 0 calc(-1 * max(20px, (100vw - var(--container-width)) / 2)) 0 0; }
.story-hero-visual::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: clamp(76px, 8vw, 116px); content: ''; background: linear-gradient(90deg, var(--story-ivory) 0%, rgb(254 251 246 / 72%) 30%, rgb(254 251 246 / 24%) 68%, rgb(254 251 246 / 0%) 100%); pointer-events: none; }
.story-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
@media (max-width: 1100px) {
    .story-hero-grid { height: 520px; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
    .story-hero-copy { padding-right: 22px; }
    .story-hero h1 { font-size: 2.375rem; }
    .story-hero-lead { font-size: 1.0625rem; line-height: 1.55; }
    .story-hero-actions { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 800px) {
    .story-hero-grid { height: auto; grid-template-columns: minmax(0, 1fr); }
    .story-hero-copy { max-width: 680px; padding: 42px 0 32px; }
    .story-hero h1 { font-size: 2.25rem; }
    .story-hero h1 span:last-child { white-space: normal; }
    .story-hero-lead { max-width: 620px; }
    .story-hero-actions { flex-flow: row wrap; }
    .story-hero-visual { width: 100%; height: clamp(340px, 62vw, 430px); margin: 0; border-radius: 18px 18px 0 0; }
    .story-hero-visual::before { display: none; }
    .story-hero-visual img { object-position: 52% center; }
}
@media (max-width: 520px) {
    .story-public-page .container { width: calc(100% - 28px); }
    .story-hero-copy { padding: 36px 0 28px; }
    .story-hero h1 { margin-bottom: 16px; font-size: clamp(2rem, 9vw, 2.25rem); line-height: 1.06; }
    .story-hero-lead { margin-bottom: 28px; font-size: 1rem; line-height: 1.55; }
    .story-hero-actions { align-items: stretch; flex-direction: column; }
    .story-hero-actions .button { width: 100%; }
    .story-hero-visual { height: clamp(250px, 78vw, 320px); border-radius: 16px 16px 0 0; }
}
@media (max-width: 340px) {
    .story-public-page .container { width: calc(100% - 20px); }
    .story-hero-actions .button { padding-inline: 14px; }
}

/* Story concept: the supplied artwork contains the complete three-step explanation. */
.story-concept { padding-block: 68px 64px; background: #f8ecec; }
.story-concept-heading { max-width: 780px; margin-bottom: 26px; }
.story-concept-kicker { margin-bottom: 9px; color: var(--story-main); font-family: Montserrat, Arial, sans-serif; font-size: .75rem; font-weight: 800; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.story-concept-heading h2 { margin-bottom: 12px; color: var(--story-deep); font-size: 1.875rem; line-height: 1.14; letter-spacing: -.025em; }
.story-concept-heading > p:last-child { max-width: 66ch; margin-bottom: 0; color: var(--story-text); font-size: 1.09375rem; line-height: 1.6; }
.story-concept-visual { width: 100%; max-width: 1120px; margin: 0 auto; overflow: hidden; }
.story-concept-visual img { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 800px) {
    .story-concept { padding-block: 56px 52px; }
    .story-concept-heading { margin-bottom: 22px; }
    .story-concept-heading h2 { font-size: 1.75rem; }
}
@media (max-width: 520px) {
    .story-concept { padding-block: 48px 44px; }
    .story-concept-heading h2 { font-size: 1.625rem; line-height: 1.16; }
    .story-concept-heading > p:last-child { font-size: 1rem; line-height: 1.55; }
    .story-concept-visual { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--story-deep) transparent; scrollbar-width: thin; }
    .story-concept-visual img { width: 840px; max-width: none; }
}

/* Story commercial listing: shared catalogue cards with Story-only accents. */
.story-adventures { padding-block: 68px; background: var(--story-ivory); }
.story-adventures-heading { max-width: 780px; }
.story-adventures-kicker { margin-bottom: 9px; color: var(--story-main); font-family: Montserrat, Arial, sans-serif; font-size: .75rem; font-weight: 800; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.story-adventures-heading h2 { margin-bottom: 0; color: var(--story-deep); font-size: 1.875rem; line-height: 1.14; letter-spacing: -.025em; }
.story-all-link { min-height: 44px; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--story-deep); font-family: Montserrat, Arial, sans-serif; font-size: .875rem; font-weight: 800; text-decoration: none; }
.story-adventures .adventure-listing-card--story { --adventure-card-accent: var(--story-main); }
.story-adventures .adventure-listing-card__universe { background: #f8ecec; color: var(--story-deep); }
.story-adventures .adventure-listing-card__title { color: var(--story-deep); }
.story-adventures .adventure-listing-card__cta { border-color: var(--story-deep); background: var(--story-deep); color: #fff; }
.story-adventures .adventure-listing-card__cta:hover { border-color: var(--story-deep); background: var(--story-deep); color: #fff; filter: brightness(.92); }
.story-adventures :is(.story-all-link, .adventure-listing-card__cta):focus-visible { outline: 3px solid var(--story-deep); outline-offset: 4px; }
.story-adventures-empty { padding-block: 4px; }
.story-adventures-empty h2 { margin-bottom: 12px; }
.story-adventures-empty > p:not(.story-adventures-kicker) { margin-bottom: 0; color: var(--story-text); font-size: 1.09375rem; line-height: 1.6; }
@media (max-width: 800px) {
    .story-adventures { padding-block: 56px; }
    .story-adventures-heading h2 { font-size: 1.75rem; }
}
@media (max-width: 620px) {
    .story-adventures { padding-block: 48px; }
    .story-adventures-heading h2 { font-size: 1.625rem; line-height: 1.16; }
    .story-adventures-empty > p:not(.story-adventures-kicker) { font-size: 1rem; line-height: 1.55; }
}

/* Final Story call to action: the Explore band structure, in the Story universe. */
.story-final-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--story-deep); color: var(--story-ivory); }
.story-final-cta::before,
.story-final-cta::after { position: absolute; z-index: -1; width: 430px; height: 300px; content: ''; border: 1px solid rgb(218 143 141 / 10%); border-radius: 48% 52% 45% 55%; box-shadow: 0 0 0 16px rgb(218 143 141 / 7%), 0 0 0 34px rgb(218 143 141 / 5%), 0 0 0 54px rgb(218 143 141 / 4%); pointer-events: none; }
.story-final-cta::before { top: -210px; left: -100px; transform: rotate(12deg); }
.story-final-cta::after { right: -120px; bottom: -220px; transform: rotate(-16deg); }
.story-final-cta__inner { position: relative; min-height: 250px; display: grid; place-items: center; padding-block: 40px; }
.story-final-cta__content { z-index: 1; width: min(100%, 620px); display: grid; justify-items: center; text-align: center; }
.story-final-cta__kicker { margin-bottom: 8px; color: var(--story-gold); font-family: Montserrat, Arial, sans-serif; font-size: .75rem; font-weight: 800; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.story-final-cta h2 { margin-bottom: 22px; color: var(--story-ivory); font-size: clamp(1.75rem, 2.2vw, 2rem); line-height: 1.14; letter-spacing: -.025em; }
.story-final-cta__button { min-height: 48px; padding-inline: 24px; border-color: var(--story-gold); background: var(--story-gold); color: var(--story-text); box-shadow: 0 10px 24px rgb(36 37 33 / 18%); }
.story-final-cta__button:hover { border-color: var(--story-gold); background: var(--story-gold); color: var(--story-text); filter: brightness(1.08); transform: translateY(-1px); }
.story-final-cta__button:focus-visible { outline-color: var(--story-ivory); }
.story-final-cta__mascot { position: absolute; z-index: 1; right: 18px; bottom: 30px; width: 190px; height: 190px; overflow: hidden; margin: 0; border: 1px solid var(--story-gold); border-radius: 50%; background: var(--story-ivory); }
.story-final-cta__mascot img { width: 100%; height: 100%; display: block; object-fit: contain; }
@media (max-width: 1100px) {
    .story-final-cta__content { width: min(100%, 540px); }
    .story-final-cta__mascot { right: 10px; bottom: 48px; width: 154px; height: 154px; }
}
@media (max-width: 800px) {
    .story-final-cta__inner { min-height: 230px; padding-block: 38px; }
    .story-final-cta__content { width: min(100%, 430px); }
    .story-final-cta__mascot { right: 0; bottom: 52px; width: 136px; height: 136px; }
}
@media (max-width: 620px) {
    .story-final-cta__inner { min-height: 0; display: flex; flex-direction: column; padding-block: 36px 24px; }
    .story-final-cta__content { width: 100%; }
    .story-final-cta h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 7vw, 1.75rem); }
    .story-final-cta__button { width: 100%; max-width: 330px; padding-inline: 18px; }
    .story-final-cta__mascot { position: relative; right: auto; bottom: auto; width: 120px; height: 120px; margin-top: 18px; }
}
@media (max-width: 340px) {
    .story-final-cta__inner { padding-block: 32px 22px; }
    .story-final-cta__mascot { width: 112px; height: 112px; margin-top: 16px; }
}

/* Story preview: editorial purchase barrier, independent of activity controls. */
.shop-full-price { margin-top: 16px; font-size: .9rem; color: var(--color-muted); }

/* Story product: a narrative purchase path without changing the Explore detail. */
.shop-product-page--story {
    --story-product-main: #7a3f4a;
    --story-product-secondary: #da8f8d;
    --story-product-ivory: #fefbf6;
    --story-product-soft: #f8f1f0;
    --story-product-gold: #b89b5e;
    --story-product-text: #242521;
    background: var(--story-product-ivory);
    color: var(--story-product-text);
}
.shop-product-page--story .shop-hero .eyebrow { width: fit-content; margin-bottom: 12px; padding: 5px 11px; border-radius: 999px; background: var(--story-product-soft); color: var(--story-product-main); font-size: .75rem; }
.shop-product-page--story .shop-hero h1 { color: var(--story-product-main); }
.shop-product-page--story .shop-hero :is(.shop-facts, .shop-narrative) { color: var(--story-product-text); }
.shop-product-page--story .shop-hero__content > p:not(.eyebrow, .shop-price, .shop-facts, .shop-narrative, .shop-full-price) { color: var(--story-product-text); font-size: 1.0625rem; line-height: 1.6; }
.shop-product-page--story .shop-hero .button-primary { border-color: var(--story-product-main); background: var(--story-product-main); color: #fff; box-shadow: 0 6px 16px rgb(122 63 74 / 10%); }
.shop-product-page--story .shop-hero .button-primary:hover { border-color: var(--story-product-main); background: var(--story-product-main); color: #fff; filter: brightness(.92); }
.shop-product-page--story .shop-full-price { margin-top: 14px; padding-left: 10px; border-left: 2px solid var(--story-product-gold); color: var(--story-product-main); font-size: 1rem; font-weight: 800; }
.shop-product-page--story .shop-section { margin-top: 36px; }
.shop-product-page--story .story-experience { margin-top: 42px; }
.shop-product-page--story .story-experience > p,
.shop-product-page--story .story-experience .shop-description { font-size: 1.0625rem; line-height: 1.6; }
.shop-product-page--story .shop-section h2 { color: var(--story-product-text); font-size: clamp(1.75rem, 2.3vw, 2rem); }
.shop-product-page--story .story-editorial { margin-top: 30px; padding: 26px 30px; border: 1px solid rgb(184 155 94 / 35%); border-radius: 22px; background: var(--story-product-soft); }
.shop-product-page--story .story-editorial .eyebrow { margin-bottom: 8px; color: var(--story-product-secondary); }
.shop-product-page--story .story-editorial h2 { margin-bottom: 12px; color: var(--story-product-main); }
.shop-product-page--story .story-editorial > p:last-child { max-width: 760px; margin-bottom: 0; color: var(--story-product-text); font-size: 1.0625rem; line-height: 1.6; }
.shop-product-page--story .story-unlock { margin-top: 30px; padding-top: 4px; }
.shop-product-page--story .story-unlock > h2 { margin-bottom: 10px; }
.shop-product-page--story .story-unlock > p { max-width: 660px; margin-bottom: 20px; color: var(--story-product-text); font-size: 1.0625rem; }
.shop-product-page--story .story-offers-grid { max-width: 600px; margin-inline: auto; grid-template-columns: minmax(0, 600px); }
.shop-product-page--story .shop-offer--story { border: 1px solid rgb(184 155 94 / 35%); background: var(--story-product-ivory); box-shadow: 0 14px 34px rgb(36 37 33 / 8%); }
.shop-product-page--story .shop-offer--story .shop-card-content { padding: clamp(24px, 3vw, 32px); }
.shop-product-page--story .story-offer-kicker { width: fit-content; margin-bottom: 12px; padding: 5px 11px; border: 1px solid rgb(184 155 94 / 35%); border-radius: 999px; background: var(--story-product-soft); color: var(--story-product-main); font-family: Montserrat, Arial, sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
.shop-product-page--story .shop-offer--story h3 { margin-bottom: 12px; color: var(--story-product-main); font-size: 1.375rem; }
.shop-product-page--story .shop-offer--story .shop-price { margin-bottom: 18px; color: var(--story-product-main); font-size: 2rem; }
.shop-product-page--story .shop-offer--story ul { display: grid; gap: 10px; margin-bottom: 24px; padding: 0; list-style: none; }
.shop-product-page--story .shop-offer--story li { position: relative; padding-left: 24px; color: var(--story-product-text); }
.shop-product-page--story .shop-offer--story li::before { position: absolute; top: 0; left: 0; color: var(--story-product-gold); font-weight: 800; content: '✓'; }
.shop-product-page--story .shop-offer--story .button { min-height: 48px; justify-content: center; border-color: var(--story-product-main); background: var(--story-product-main); color: #fff; text-align: center; box-shadow: 0 6px 16px rgb(122 63 74 / 10%); }
.shop-product-page--story .shop-offer--story .button:hover { border-color: var(--story-product-main); background: var(--story-product-main); color: #fff; filter: brightness(.92); }
.shop-product-page--story :is(a, button, [tabindex]):focus-visible { outline-color: var(--story-product-main); }
@media (max-width: 620px) {
    .shop-product-page--story .shop-section { margin-top: 28px; }
    .shop-product-page--story .story-experience { margin-top: 32px; }
    .shop-product-page--story .story-editorial { margin-top: 24px; padding: 22px 20px; }
    .shop-product-page--story .story-unlock { margin-top: 26px; }
    .shop-product-page--story .shop-section h2 { font-size: 1.75rem; }
    .shop-product-page--story .story-editorial > p:last-child,
    .shop-product-page--story .story-unlock > p,
    .shop-product-page--story .shop-hero__content > p:not(.eyebrow, .shop-price, .shop-facts, .shop-narrative, .shop-full-price),
    .shop-product-page--story .story-experience > p,
    .shop-product-page--story .story-experience .shop-description { font-size: 1rem; line-height: 1.55; }
    .shop-product-page--story .story-offers-grid { width: 100%; max-width: none; grid-template-columns: minmax(0, 1fr); }
    .shop-product-page--story .shop-offer--story { width: 100%; max-width: none; }
    .shop-product-page--story .shop-offer--story .shop-card-content { padding: 22px 20px; }
    .shop-product-page--story .shop-offer--story .button { width: 100%; white-space: normal; }
}
.story-paywall { margin-top: 28px; padding: clamp(22px, 4vw, 36px); background: #f8f1f0; border: 1px solid rgb(184 155 94 / 22%); border-radius: 20px; }
.story-paywall h3 { margin: 8px 0 16px; font: 500 clamp(1.45rem, 3vw, 2rem)/1.25 Georgia, 'Times New Roman', serif; color: #7a3f4a; }
.story-paywall p { max-width: 65ch; }
.story-paywall .button { margin-top: 8px; max-width: 100%; white-space: normal; text-align: center; }
.story-paywall .paywall-unavailable { font-weight: 600; }
.is-purchase-locked .chapter-node { background: #f2ece5; border-color: rgb(184 155 94 / 28%); color: #67675f; }

/* Privacy flows: readable destructive confirmations and accessible controls. */
.privacy-settings { max-width: 960px; padding-block: 48px; overflow-wrap: anywhere; }
.privacy-settings .legal-section { margin-block: 32px; padding: 24px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 20px; }
.privacy-settings form { display: grid; gap: 20px; margin-block: 24px; }
.privacy-settings label { display: grid; gap: 8px; }
.privacy-settings input:not([type=hidden]):not([type=checkbox]) { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--color-border); border-radius: 10px; font: inherit; box-sizing: border-box; }
.privacy-settings input[type=checkbox] { width: 24px; height: 24px; }
.privacy-settings button { min-height: 48px; width: fit-content; max-width: 100%; white-space: normal; }

/* Withdrawal declarations: readable controls, choices and durable receipt text. */
.withdrawal-page { max-width: 860px; padding-block: 48px; }
.withdrawal-page p, .withdrawal-page li { line-height: 1.65; }
.withdrawal-page pre { font: inherit; overflow-wrap: anywhere; padding: 20px; background: #fefbf6; border: 1px solid #c0cca9; border-radius: 12px; }
.withdrawal-form { margin-block: 24px; }
.withdrawal-form > div > div { margin-block: 20px; }
.withdrawal-form label { display: block; margin-block: 6px; font-weight: 700; }
.withdrawal-form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]), .withdrawal-form textarea {
    width: 100%; padding: 12px; border: 1px solid #546e5f; border-radius: 8px; background: #fff; color: #052d21; font: inherit;
}
.withdrawal-form textarea { min-height: 130px; }
.withdrawal-form input[type="radio"], .withdrawal-form input[type="checkbox"] { width: 20px; height: 20px; vertical-align: middle; margin: 10px 8px 10px 0; }
.withdrawal-form input[type="radio"] + label, .withdrawal-form input[type="checkbox"] + label { display: inline; font-weight: 500; }
.withdrawal-form input[type="radio"] + label::after, .withdrawal-form input[type="checkbox"] + label::after { content: ""; display: block; }
.withdrawal-form input:focus-visible, .withdrawal-form textarea:focus-visible { outline: 3px solid #a68747; outline-offset: 2px; }
.withdrawal-form ul { color: #8a211b; }
@media print { body:has(.withdrawal-page) header, body:has(.withdrawal-page) footer, .withdrawal-page form { display: none; } }

/* Small homepage text: darker gold on cream, original gold on the dark newsletter. */
.home-page .hero .hero-kicker,
.home-page .front-section:not(.newsletter-signup) .eyebrow,
.home-page .cookie-dialog-header .eyebrow,
.home-page .home-waypoint .journey-number,
.home-page .site-footer .footer-column h2 {
    color: #80652f;
}
.home-page .home-destination-explore strong,
.home-page .home-commercial-empty-universe--explore span { color: #52724e; }
.home-page .home-destination-story strong,
.home-page .home-commercial-empty-universe--story span { color: #8d4c54; }
