/* Gallery extensions to the selected Open Doors prototype. */
@font-face {
  font-family: Oxanium;
  src: url("assets/fonts/Oxanium-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root { --header-height: 97px; --gallery-gap: 28px; }
html { scroll-padding-top: calc(var(--header-height) + 24px); scrollbar-gutter: stable; }
body { min-width: 280px; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
.external-link-indicator { display: inline-block; margin-left: .35em; font-size: 1.1em; line-height: 1; vertical-align: baseline; }
input, select { color: var(--white); }
input:focus-visible, select:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.shell { width: min(1220px, calc(100% - 88px)); }
.header-wrap { position: sticky; top: 0; z-index: 50; background: #111318f5; backdrop-filter: blur(16px); }
.header { height: var(--header-height); }
.original-logo { width: 31px; height: 45px; flex: none; overflow: visible; }
.brand { gap: 15px; font-size: 25px; }
.brand-sub { margin-top: 6px; }
.logo-pixel { transform: translate(0, 0); }
.logo-arrive .pixel-one { animation: pixel-one-drift 1000ms cubic-bezier(.2,.6,.3,1) both; }
.logo-arrive .pixel-two { animation: pixel-two-drift 1000ms cubic-bezier(.2,.6,.3,1) both; }
@keyframes pixel-one-drift { 0%,100% { transform: translate(0,0); } 42% { transform: translate(17px,-13px); } }
@keyframes pixel-two-drift { 0%,100% { transform: translate(0,0); } 48% { transform: translate(18px,14px); } }
.intro { padding: 38px 0 30px; }
.intro h1 { font-size: clamp(32px,3.35vw,46px); }
.intro p { font-size: 13px; }
.choice .choice-title { font-family: Oxanium, system-ui, sans-serif; font-weight: 600; letter-spacing: -1.3px; }
.choice .choice-desc { font-size: 12px; }
.choice:focus-visible { outline-offset: 5px; }
.choice-kicker { font-size: 9px; letter-spacing: 1.5px; }
.section-kicker { color: var(--mint); margin-bottom: 9px; font-size: 9px; }
.favorites { margin-top: 42px; }
.section-heading { align-items: flex-end; }
.section-heading p { font-size: 12px; }
.featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.project-card { display: flex; min-width: 0; transition: opacity .22s; }
.project-button { position: relative; display: flex; flex-direction: column; height: 100%; border: 1px solid #343943; background: #191c23; border-radius: 14px; transition: background-color .2s,border-color .2s,box-shadow .2s; }
.project-button:hover, .project-button:focus-visible { transform: none; border-color: #686778; background: #232330; box-shadow: 0 4px 24px #0002; }
.project-art { aspect-ratio: 600/350; width: 100%; border-bottom: 1px solid #ffffff0a; isolation: isolate; }
.project-art img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-label { position: absolute; left: 12px; bottom: 10px; font-size: 8px; letter-spacing: 1px; text-transform: uppercase; border: 1px solid #ffffff25; border-radius: 4px; color: #e6e4ee; background: #141720e8; padding: 3px 6px; }
.project-copy { width: 100%; flex: 1; display: flex; flex-direction: column; padding: 18px; }
.project-meta { color: var(--lavender); font-size: 9px; letter-spacing: .65px; margin-bottom: 8px; }
.project-name { font-size: 19px; letter-spacing: -.45px; transition: color .18s; }
.project-desc { font-size: 12px; line-height: 1.6; margin: 9px 0 18px; flex: 1; }
.project-status { color: #adb3c4; font-size: 10px; display: flex; align-items: center; gap: 6px; line-height: 1.4; }
.project-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #898797; flex-shrink: 0; }
.project-status.is-public { color: var(--mint); }
.project-status.is-public::before { background: var(--mint); }
.project-button:hover .project-name, .project-button:focus-visible .project-name { color: #d6fff0; }
.featured-grid .project-copy { padding: 16px; }
.featured-grid .project-name { font-size: 20px; }
.featured-grid .project-desc { display: none; }
.featured-grid .project-status { margin-top: 16px; }
.featured-grid .project-card { --feature-border: #a8f5d89c; --feature-glow: #a8f5d82a; }
.featured-grid .project-card:nth-child(even) { --feature-border: #b4a2ffc2; --feature-glow: #b4a2ff35; }
.featured-grid .project-button:focus-visible { border-color: var(--feature-border); box-shadow: 0 0 0 1px var(--feature-glow),0 0 24px var(--feature-glow),inset 0 0 17px #b4a2ff09; }
@media (hover:hover) and (pointer:fine) {
  .featured-grid .project-button:hover { border-color: var(--feature-border); box-shadow: 0 0 0 1px var(--feature-glow),0 0 24px var(--feature-glow),inset 0 0 17px #b4a2ff09; }
}
.gallery-section { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 38px; margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--line); align-items: stretch; }
.gallery-sidebar { min-width: 0; }
.sidebar-inner { position: sticky; top: calc(var(--header-height) + 28px); padding-bottom: 8px; }
.sidebar-inner > .eyebrow { margin: 4px 12px 18px; font-size: 9px; }
.filter-list { display: flex; flex-direction: column; gap: 6px; }
.filter-button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 13px 12px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; text-align: left; background: transparent; color: var(--muted); transition: color .15s,background .15s; }
.filter-button > span:last-child { font-size: 10px; color: #969ba9; }
.filter-button[aria-pressed="true"] { color: var(--mint); border-color: #a8f5d826; background: #a8f5d80a; }
.filter-button[aria-pressed="true"] > span:last-child { color: var(--mint); }
.filter-button:hover { background: #a8f5d810; color: var(--white); }
.sidebar-shop { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 12px; font-size: 12px; margin-top: 20px; }
.sidebar-shop > span:last-child { font-size: 21px; color: var(--lavender); }
.sidebar-shop small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.sidebar-shop:hover { color: var(--lavender); }
.sidebar-note { color: var(--muted); font-size: 12px; line-height: 1.8; padding: 20px 12px 0; }
.art-notice { color: #939bab; font-size: 10px; line-height: 1.8; padding: 16px 12px 0; }
.art-notice > span { color: var(--lavender); font-size: 16px; vertical-align: -1px; margin-right: 3px; }
.gallery-heading { margin-bottom: 22px; }
.gallery-heading h2 { font-size: 28px; }
.gallery-controls { display: grid; grid-template-columns: minmax(0,1fr) 171px; gap: 12px; margin-bottom: 24px; }
.search-field { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); background: #171a20; border-radius: 8px; padding: 0 12px; }
.search-icon { font-size: 25px; line-height: 1; color: #b2b6c4; }
.search-field input { width: 100%; min-width: 0; background: transparent; border: 0; padding: 12px 0; font-size: 12px; }
.search-field:focus-within { border-color: #a8f5d8a0; box-shadow: 0 0 0 2px #a8f5d818; }
.search-field input:focus-visible { outline: none; }
.search-field input::placeholder { color: #949aab; opacity: 1; }
.status-field select { width: 100%; height: 100%; padding: 11px 10px; background: #171a20; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; cursor: pointer; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.project-grid .project-copy { padding: 16px; }
.project-grid .project-name { font-size: 18px; }
.empty-state { text-align: center; border: 1px dashed #444454; border-radius: 14px; padding: 60px 20px; background: #191c23; }
.empty-state > span { color: var(--lavender); font-size: 36px; }
.empty-state h3 { font-size: 21px; margin: 10px 0; }
.empty-state p { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid #a8f5d870; border-radius: 8px; background: var(--mint); color: #13201b; padding: 11px 17px; font-size: 12px; font-weight: 600; min-height: 44px; }
.button:hover { background: #c4ffe9; }
.button.secondary { background: #23252f; border-color: #57536a; color: var(--white); }
.button.secondary:hover { border-color: var(--lavender); }
.button:disabled { color: #a1a6b2; background: #242730; border-color: #3a3d48; cursor: not-allowed; }
.studio-section { display: grid; grid-template-columns: 136px minmax(0,1fr); align-items: center; gap: 36px; margin-top: 64px; padding: 36px 40px; border: 1px solid #3d4948; border-radius: 18px; background: radial-gradient(ellipse at 0 50%,#a8f5d80a,transparent 60%),#191c23; }
.studio-emblem { display: grid; place-items: center; height: 154px; border: 1px solid #a8f5d820; border-radius: 14px; background: linear-gradient(145deg,#a8f5d808,#b4a2ff0a); }
.studio-emblem img { width: 62px; height: auto; }
.studio-copy { max-width: 730px; }
.studio-copy h2 { font-size: 32px; letter-spacing: -.9px; }
.studio-contact a { color: var(--mint); text-decoration: underline; text-decoration-color: #a8f5d865; text-underline-offset: 4px; overflow-wrap: anywhere; }
.studio-contact a:hover,.studio-contact a:focus-visible { color: var(--lavender); text-decoration-color: currentColor; }
.studio-copy > p:not(.eyebrow) { color: #c0c5d2; font-size: 14px; line-height: 1.85; margin-top: 13px; }
.studio-copy > p:last-child { color: var(--muted); margin-top: 8px; }
.studio-section:has(.creator-portrait) { grid-template-columns: minmax(180px,240px) minmax(0,1fr); gap: 40px; }
.studio-identity { align-self: end; }
.creator-portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.studio-copy > .studio-emblem { float: right; width: 48px; height: 58px; margin: 0 0 12px 20px; }
.studio-copy > .studio-emblem > .about-logo { width: 24px; }
@media(max-width:700px) {
  .studio-section:has(.creator-portrait) { grid-template-columns: 1fr; gap: 24px; }
  .studio-identity { width: min(190px,70%); justify-self: center; }
}
#studio { scroll-margin-top: 16px; }
#studio:focus { outline: none; }
.shop-section { display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: center; gap: 28px; margin-top: 64px; padding: 30px 44px; min-height: 300px; border: 1px solid #494553; border-radius: 18px; background: linear-gradient(125deg,#22202d,#191b22 74%); overflow: hidden; }
.shop-copy > .pill { display: inline-block; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--lavender); border: 1px solid #b4a2ff45; border-radius: 99px; padding: 5px 9px; margin-bottom: 25px; }
.shop-section .section-kicker { color: var(--mint); }
.shop-section h2 { font-size: 32px; letter-spacing: -1px; }
.shop-copy > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.9; margin-top: 15px; }
.shop-note { display: block; color: #9398aa; font-size: 11px; margin-top: 24px; }
.shop-section > img { width: 100%; max-height: 300px; object-fit: contain; }
footer { font-size: 11px; padding: 26px 0 34px; }
#project-dialog { width: min(980px,calc(100% - 48px)); max-height: calc(100dvh - 48px); padding: 26px; }
#project-dialog .dialog-head { margin-bottom: 20px; }
#project-dialog .dialog-head h2 { line-height: 1.15; font-size: 32px; }
#project-dialog .close { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
#project-dialog .close:hover { border-color: var(--mint); }
.dialog-visual { position: relative; border: 1px solid #3a3e47; border-radius: 12px; overflow: hidden; }
.dialog-visual img { display: block; width: 100%; height: auto; aspect-ratio: 600/350; object-fit: contain; }
.dialog-summary { color: #c6c9d5; font-size: 14px; line-height: 1.85; margin: 21px 0 18px; }
.dialog-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid var(--line); padding-top: 17px; margin: 0 0 22px; }
.dialog-details dt { color: var(--muted); text-transform: uppercase; font-size: 8px; letter-spacing: 1px; margin-bottom: 6px; }
.dialog-details dd { margin: 0; font-size: 12px; }
.detail-note { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 14px; }
.dialog-actions { display: flex; gap: 12px; flex-wrap: wrap; }
body:has(dialog[open]) { overflow: hidden; }
#gallery, #featured, #shop { scroll-margin-top: calc(var(--header-height) + 24px); }
#gallery-title:focus, #shop:focus, #main:focus { outline: none; }
@media (hover:hover) and (pointer:fine) and (min-width:1001px) {
  .project-grid:has(.project-button:hover) .project-card:not(:hover),
  .featured-grid:has(.project-button:hover) .project-card:not(:hover) { opacity: .73; }
}
@media (min-width:761px) and (max-width:1100px) {
  .shell { width: calc(100% - 48px); }
  .gallery-section { grid-template-columns: 175px minmax(0,1fr); gap: 24px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .featured-grid .project-button { display: grid; grid-template-columns: 41% 1fr; width: 100%; }
  .featured-grid .project-art { height: 100%; min-height: 150px; aspect-ratio: auto; border-bottom: 0; }
  .featured-grid .project-copy { align-self: center; }
  .featured-grid .project-name { font-size: 18px; }
  .shop-section { grid-template-columns: minmax(0,1fr) 250px; padding: 28px; }
  .shop-section h2 { font-size: 28px; }
}
@media (max-width:760px) {
  :root { --header-height: 82px; }
  .shell { width: calc(100% - 36px); }
  .header { gap: 18px; }
  .brand { font-size: 21px; gap: 12px; }
  .brand-sub { font-size: 7px; }
  .original-logo { width: 26px; height: 38px; }
  .header-nav { max-height: calc(100dvh - 110px); }
  .nav-panel { box-shadow: 0 0 22px var(--nav-glow); border-top-color: var(--nav-accent); }
  .nav-item-icon { font-size: 22px; }
  .nav-item strong { font-size: 13px; }
  .nav-item small { font-size: 11px; }
  .nav-panel-note { font-size: 10px; }
  .intro { padding: 28px 0 23px; }
  .intro h1 { max-width: none; font-size: 34px; }
  .intro p { font-size: 12px; }
  .choice .choice-kicker { font-size: 8px; letter-spacing: .6px; max-width: calc(100% - 122px); line-height: 1.5; }
  .choice .choice-desc, .choice.play .choice-desc { font-size: 11px; }
  .choice .choice-title { font-family: Oxanium,system-ui,sans-serif; font-weight: 600; }
  .favorites { margin-top: 34px; }
  .section-heading { display: flex; align-items: flex-end; }
  .section-heading .section-kicker { font-size: 8px; margin: 0 0 8px; }
  .section-heading > p { max-width: 115px; text-align: right; font-size: 10px; margin: 0; }
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .featured-grid .project-copy { padding: 12px; }
  .featured-grid .project-meta { font-size: 8px; margin-bottom: 7px; }
  .featured-grid .project-name { font-size: 16px; gap: 3px; }
  .featured-grid .project-status { font-size: 9px; margin-top: 12px; }
  .placeholder-label { font-size: 7px; left: 8px; bottom: 8px; padding: 2px 4px; letter-spacing: .6px; }
  .gallery-section { grid-template-columns: 1fr; gap: 24px; margin-top: 38px; padding-top: 25px; }
  .sidebar-inner { position: static; padding: 0; }
  .sidebar-inner > .eyebrow { margin: 0 0 14px; }
  .filter-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .filter-button { width: auto; gap: 10px; padding: 10px 12px; font-size: 11px; border: 1px solid #333945; min-height: 44px; }
  .filter-button > span:last-child { font-size: 9px; }
  .sidebar-shop, .sidebar-note { display: none; }
  .art-notice { font-size: 10px; padding: 14px 0 0; }
  .gallery-heading h2 { font-size: 26px; }
  .gallery-controls { grid-template-columns: minmax(0,1fr) 137px; gap: 8px; margin-bottom: 18px; }
  .search-field { padding: 0 10px; gap: 6px; }
  .search-field input { font-size: 12px; min-height: 44px; }
  .status-field select { font-size: 10px; padding: 11px 8px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .project-grid .project-copy { padding: 13px; }
  .project-grid .project-name { font-size: 16px; line-height: 1.2; }
  .project-grid .project-meta { font-size: 8px; letter-spacing: .3px; }
  .project-grid .project-desc { font-size: 11px; margin: 8px 0 15px; }
  .project-grid .project-status { font-size: 9px; }
  .studio-section { grid-template-columns: 1fr; gap: 20px; margin-top: 38px; padding: 26px 24px; }
  .studio-emblem { width: 60px; height: 72px; }
  .studio-emblem img { width: 32px; }
  .studio-copy h2 { font-size: 28px; }
  .studio-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.8; }
  .shop-section { grid-template-columns: 1fr 105px; padding: 25px 21px; gap: 10px; margin-top: 38px; min-height: 300px; }
  .shop-section h2 { font-size: 27px; }
  .shop-copy > p:not(.eyebrow) { font-size: 12px; }
  .shop-copy > p > br { display: none; }
  .shop-section > img { align-self: start; margin-top: 64px; width: 150px; max-width: none; margin-left: -20px; }
  .shop-copy > .pill { margin-bottom: 20px; }
  .shop-note { font-size: 10px; margin-top: 18px; }
  footer { font-size: 10px; }
  #project-dialog { padding: 20px; max-height: calc(100dvh - 24px); }
  #project-dialog .dialog-head h2 { font-size: 27px; }
  .dialog-summary { font-size: 13px; }
  .dialog-details { gap: 12px; }
  .dialog-details dd { font-size: 11px; }
}
@media (max-width:380px) {
  .shell { width: calc(100% - 28px); }
  .intro h1 { font-size: 30px; }
  .choice .choice-kicker { font-size: 7px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-grid .project-button { display: grid; grid-template-columns: 37% 1fr; width: 100%; }
  .project-grid .project-art { height: 100%; min-height: 168px; aspect-ratio: auto; border: 0; }
  .project-grid .project-desc { margin-bottom: 12px; }
  .featured-grid .project-name { font-size: 15px; }
  .featured-grid .project-copy { padding: 10px; }
  .shop-section { grid-template-columns: 1fr; }
  .shop-section > img { display: none; }
  .gallery-controls { grid-template-columns: 1fr; }
  .status-field select { min-height: 44px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .choice:hover, .choice:focus-visible, .logo-pixel { transform: none !important; }
}

/* The collection is browsed through permanent group headings, without filters. */
.nav-item { grid-template-columns: 30px minmax(0,1fr); }
.gallery-section { display: grid; }
.gallery-content > .art-notice { padding: 0; margin: -5px 0 30px; }
.project-groups { display: grid; gap: 38px; }
.project-group { min-width: 0; scroll-margin-top: 16px; }
.project-group + .project-group { border-top: 1px solid var(--line); padding-top: 30px; }
.project-group:focus { outline: none; }
.project-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.project-group-heading h3 { font-size: 25px; font-weight: 600; letter-spacing: -.6px; }
.group-count { color: var(--muted); font-size: 10px; }
.nav-label { display: inline-grid; align-items: center; justify-items: center; }
[data-nav-wordmark] > [hidden],[data-section-wordmark] > [hidden],[data-section-icon] > [hidden] { display: none !important; }
.section-icon .asset-fallback { display: grid; place-items: center; }
.section-sidebar { min-width: 0; }
.section-nav-panel { position: sticky; top: calc(var(--header-height) + 28px); overflow: hidden; padding: 22px 12px 19px; border: 1px solid #a8f5d825; border-radius: 17px; background: radial-gradient(ellipse at 0 0,#a8f5d809,transparent 70%),linear-gradient(145deg,#1c2028,#171a22); box-shadow: 0 12px 36px #0002,inset 0 1px 0 #ffffff05; }
.section-nav-caption { color: #9ea8ba; font-size: 8px; line-height: 1.6; letter-spacing: 1.3px; text-transform: uppercase; margin: 0 10px 17px; }
.section-links { display: grid; gap: 7px; }
.section-links a { display: flex; align-items: center; min-height: 54px; gap: 11px; border: 1px solid transparent; border-radius: 10px; padding: 10px; color: #bdc4d4; font-size: 12px; font-weight: 600; transition: color .18s,border-color .18s,background .18s,box-shadow .18s; }
.section-icon { display: grid; place-items: center; width: 31px; height: 31px; flex-shrink: 0; color: var(--lavender); }
.section-icon svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.section-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.section-links a[aria-current="location"] { color: var(--mint); background: #a8f5d80a; border-color: #a8f5d84d; box-shadow: inset 2px 0 var(--mint),0 0 20px #a8f5d808; }
.section-links a[aria-current="location"] .section-icon { color: var(--mint); }
.section-links a:hover,.section-links a:focus-visible { color: #f0fff9; background: #b4a2ff0c; border-color: #b4a2ff69; box-shadow: 0 0 19px #b4a2ff14; }
.section-links a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.section-nav-note { border-top: 1px solid #b4a2ff17; padding-top: 17px; margin: 17px 10px 0; color: #8f98aa; font-size: 10px; line-height: 1.9; }
#featured { scroll-margin-top: 16px; }
#featured:focus { outline: none; }
@media (max-width:760px) {
  .gallery-section { display: block; }
  .section-sidebar { margin-bottom: 28px; }
  .section-nav-panel { position: static; padding: 8px; border-radius: 13px; }
  .section-nav-caption,.section-nav-note { display: none; }
  .section-links { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; }
  .section-links a { flex-direction: column; justify-content: center; min-height: 68px; gap: 5px; padding: 8px 3px; font-size: 10px; }
  .section-icon { width: 28px; height: 28px; }
  .section-icon svg { width: 17px; height: 17px; }
  .section-links a[aria-current="location"] { box-shadow: inset 0 -2px var(--mint),0 0 16px #a8f5d808; }
  .project-groups { gap: 30px; }
  .project-group + .project-group { padding-top: 24px; }
  .project-group-heading { margin-bottom: 16px; }
  .project-group-heading h3 { font-size: 23px; }
}

/* The coming-soon shop and future categories. Test-only examples are below. */
.shop-preview { display: block; padding: 30px; }
.shop-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.shop-preview-heading h2 { font-size: 28px; }
.shop-preview-heading p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 11px; }
.shop-link { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 19px; min-height: 46px; border: 1px solid #a8f5d855; border-radius: 9px; padding: 12px 17px; background: #a8f5d80b; color: var(--mint); font-size: 12px; font-weight: 600; transition: background .18s,box-shadow .18s,border-color .18s; }
.shop-link:hover,.shop-link:focus-visible { background: #b4a2ff15; border-color: var(--lavender); box-shadow: 0 0 25px #b4a2ff18; }
.shop-link span { font-size: 17px; }
.future-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.future-category { padding: 23px; border: 1px solid #ffffff10; border-radius: 12px; background: linear-gradient(145deg,#25272f80,#191c2450); }
.category-symbol { display: block; width: 42px; height: 42px; margin-bottom: 21px; color: var(--mint); }
.future-category:nth-child(2) .category-symbol { color: var(--lavender); }
.category-symbol svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.category-eyebrow { color: #939bac; font-size: 8px; letter-spacing: 1.2px; text-transform: uppercase; }
.future-category h3 { margin: 9px 0 10px; color: #e6f4ee; font-size: 18px; letter-spacing: -.3px; }
.future-category p { color: #a2aabb; font-size: 11px; line-height: 1.8; max-width: 235px; }
.shop-preview-note { color: #8d96a9; font-size: 10px; line-height: 1.8; margin-top: 19px; }
.back-to-gallery { display: inline-flex; gap: 10px; color: #9ba5b7; margin-top: 25px; font-size: 11px; padding: 8px 0; }
.back-to-gallery:hover { color: var(--mint); }
.shop-page-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 35px; align-items: center; padding: 48px 0 54px; }
.shop-compact-heading { padding: 26px 0 30px; }
.shop-heading-line { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.shop-compact-heading.shop-page-intro h1 { font-size: clamp(34px,4vw,48px); letter-spacing: -1.5px; }
.shop-compact-heading .shop-status { margin: 0; }
.shop-compact-heading.shop-page-intro > p:not(.eyebrow) { max-width: 720px; margin: 15px 0 12px; font-size: 14px; }
.shop-physical-link { display: inline-block; color: var(--mint); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
#sample-products,#free-examples,#shop-faq { scroll-margin-top: 16px; }
#sample-products:focus,#free-examples:focus,#shop-faq:focus { outline: none; }
.shop-faq { margin: 42px 0; padding-top: 30px; border-top: 1px solid var(--line); }
.shop-faq details { border-bottom: 1px solid #ffffff12; padding: 16px 0; }
.shop-faq summary { color: #e6e9f2; cursor: pointer; font-size: 14px; font-weight: 500; }
.shop-faq summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; border-radius: 3px; }
.shop-faq details > p { max-width: 780px; color: var(--muted); line-height: 1.85; font-size: 13px; padding: 14px 0 4px; }
.shop-faq a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.shop-status { display: inline-block; color: var(--lavender); border: 1px solid #b4a2ff50; background: #b4a2ff08; border-radius: 99px; padding: 7px 12px; text-transform: uppercase; letter-spacing: 1.5px; font-size: 9px; margin-bottom: 26px; }
.shop-page-intro .eyebrow { color: var(--mint); font-size: 10px; margin-bottom: 15px; }
.shop-page-intro h1 { font-size: clamp(40px,4.5vw,64px); line-height: 1.05; letter-spacing: -2px; font-weight: 600; }
.shop-page-intro > p:not(.eyebrow) { color: #adb5c6; font-size: 14px; line-height: 1.9; max-width: 420px; margin: 24px 0 26px; }
.shop-page-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20px 20px; border-radius: 28px; border: 1px solid #b4a2ff20; background: radial-gradient(ellipse at 50% 60%,#b4a2ff13,transparent 70%),linear-gradient(145deg,#1b2029,#15181f); box-shadow: 0 0 70px #a8f5d805; }
.shop-page-art img { width: min(100%,430px); height: auto; aspect-ratio: 1; object-fit: contain; }
.shop-page-art > span { color: #a8b2c5; font-size: 9px; text-transform: uppercase; letter-spacing: 2px; margin-top: -20px; }
.shop-collections { border-top: 1px solid var(--line); padding-top: 38px; scroll-margin-top: 20px; }
.shop-collections:focus { outline: none; }
.shop-collections h2 { font-size: 29px; letter-spacing: -.7px; }
.shop-section-status { font-size: 10px; color: var(--lavender); }
.shop-opening-note { margin: 45px 0 50px; padding: 28px 30px; border: 1px solid #a8f5d825; border-radius: 14px; background: linear-gradient(100deg,#a8f5d806,#b4a2ff06); }
.shop-opening-note > div { display: flex; align-items: center; gap: 13px; }
.shop-note-mark { color: var(--lavender); font-size: 27px; }
.shop-opening-note h2 { font-size: 21px; letter-spacing: -.5px; }
.shop-opening-note p { margin-top: 10px; color: #a7b0c1; font-size: 12px; line-height: 1.8; }
.shop-opening-note a { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; font-size: 11px; color: var(--mint); margin-top: 7px; }
/* Feedback is an explicit local draft preview, with no submission endpoint. */
.badge-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px; }
.project-status.badge-row::before { display: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 7px; border: 1px solid var(--badge-border); border-radius: 6px; color: var(--badge-ink); background: var(--badge-surface); font-size: 9px; line-height: 1.45; font-weight: 500; letter-spacing: .12px; text-transform: none; text-align: left; white-space: normal; vertical-align: middle; }
.badge-label { min-width: 0; overflow-wrap: break-word; }
.badge-icon { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.badge-development { --badge-ink: #f2ce8d; --badge-surface: #30281c; --badge-border: #6a5532; }
.badge-preview { --badge-ink: #d1c3ff; --badge-surface: #282135; --badge-border: #57476e; }
.badge-live { --badge-ink: #8ce5d3; --badge-surface: #17302f; --badge-border: #36615b; }
.badge-live .badge-icon { fill: currentColor; stroke: none; }
.badge-coming-soon { --badge-ink: #c4b4dd; --badge-surface: #292333; --badge-border: #51445f; }
.badge-new { --badge-ink: #b5f6d6; --badge-surface: #183329; --badge-border: #427d63; box-shadow: 0 0 12px #a8f5d81a; }
.badge-free { --badge-ink: #aaf0cd; --badge-surface: #18251f; --badge-border: #4f9e7d; }
.badge-updated { --badge-ink: #abcfff; --badge-surface: #1e2b3c; --badge-border: #425e7d; }
.dialog-details .badge { font-size: 10px; }
.dialog-details .badge-row { margin: 0; }
.nav-draft.badge { margin-left: 5px; padding: 2px 5px; font-size: 8px; letter-spacing: 0; }
.nav-draft.badge .badge-icon { width: 10px; height: 10px; }
.shop-status.badge { border-radius: 99px; padding: 7px 12px; margin-bottom: 26px; }
.project-feedback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); }
.feedback-action { min-height: 44px; padding: 11px 15px; border: 1px solid #b4a2ff38; border-radius: 8px; color: #d0c8ee; background: #b4a2ff07; font-size: 11px; }
.feedback-action:hover,.feedback-action:focus-visible { background: #b4a2ff13; border-color: var(--lavender); }
.footer-feedback { color: var(--mint); background: transparent; border: 0; padding: 10px 0; min-height: 44px; font: inherit; }
footer { flex-wrap: wrap; column-gap: 20px; row-gap: 6px; align-items: center; }
#feedback-dialog { width: min(610px,calc(100% - 32px)); max-height: calc(100dvh - 24px); padding: 26px; }
#feedback-dialog .dialog-head { margin-bottom: 17px; }
#feedback-dialog h2 { font-size: 28px; line-height: 1.2; }
#feedback-dialog .close { min-width: 44px; min-height: 44px; }
.feedback-preview-note { color: #b8bed0; font-size: 12px; line-height: 1.8; padding: 14px 16px; border: 1px solid #b4a2ff30; background: #b4a2ff08; border-radius: 9px; }
.feedback-preview-note strong { color: var(--lavender); }
#feedback-context { margin: 18px 0; color: var(--mint); font-size: 12px; }
.feedback-selects { display: grid; grid-template-columns: 1fr 1.6fr; gap: 13px; }
#feedback-dialog label { display: block; color: #d0d5e0; font-size: 11px; line-height: 1.7; }
#feedback-dialog label > span { color: var(--muted); font-size: 10px; }
#feedback-dialog select,#feedback-dialog textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid #454b58; border-radius: 8px; color: #e8eaf0; background: #12151c; padding: 12px; font-family: inherit; font-size: 12px; }
#feedback-dialog select { min-height: 44px; }
#feedback-dialog textarea { resize: vertical; line-height: 1.8; }
#feedback-dialog textarea:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.feedback-message-label { margin-top: 17px; }
.feedback-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
#feedback-status { margin-top: 14px; color: var(--mint); font-size: 11px; line-height: 1.8; }
#feedback-status:empty { display: none; }
#feedback-output { margin-top: 15px; }
#feedback-output[hidden] { display: none; }
@media (max-width:760px) {
  #feedback-dialog { padding: 20px; }
  #feedback-dialog h2 { font-size: 24px; }
  .feedback-selects { grid-template-columns: 1fr; }
  .shop-preview { padding: 24px 20px; min-height: 0; }
  .shop-preview-heading { display: block; margin-bottom: 20px; }
  .shop-preview-heading h2 { font-size: 27px; }
  .shop-preview-heading .shop-link { margin-top: 20px; }
  .future-categories { grid-template-columns: 1fr; gap: 12px; }
  .future-category { padding: 20px; }
  .category-symbol { float: right; margin: 0 0 12px 15px; width: 36px; height: 36px; }
  .future-category h3 { font-size: 19px; }
  .future-category p { max-width: 250px; }
  .shop-preview-note { font-size: 10px; }
  .back-to-gallery { margin-top: 17px; }
  .shop-page-hero { grid-template-columns: 1fr; padding: 25px 0 35px; gap: 27px; }
  .shop-status { margin-bottom: 24px; }
  .shop-page-intro h1 { font-size: 45px; letter-spacing: -1.7px; }
  .shop-page-intro > p:not(.eyebrow) { font-size: 13px; margin: 19px 0 23px; }
  .shop-page-art { padding: 0 25px 24px; border-radius: 20px; }
  .shop-page-art img { width: min(100%,290px); }
  .shop-page-art > span { margin-top: -10px; font-size: 8px; letter-spacing: 1.6px; }
  .shop-collections { padding-top: 29px; }
  .shop-collections .section-heading { gap: 14px; }
  .shop-collections h2 { font-size: 26px; }
  .shop-section-status { font-size: 9px; white-space: nowrap; }
  .shop-opening-note { margin: 28px 0 35px; padding: 22px; }
  .shop-opening-note h2 { font-size: 22px; line-height: 1.25; }
}

/* Sample sections start hidden and are filled only by the gated local catalog. */
.sample-only[hidden] { display: none !important; }
.sample-news { margin-top: 36px; padding: 29px 0 0; border-top: 1px solid var(--line); }
.sample-news h2,.sample-shop-section h2 { font-size: 28px; letter-spacing: -.6px; }
.sample-label { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 4px 7px; border: 1px solid #666076; border-radius: 5px; background: #272331; color: #d4c8ee; font-size: 9px; line-height: 1.4; font-weight: 500; letter-spacing: .3px; }
.sample-section-note { max-width: 660px; margin: -4px 0 22px; font-size: 12px; line-height: 1.75; color: #aeb6c6; }
.sample-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.sample-news-card { --news-edge: #a8f5d86b; --news-glow: #a8f5d819; min-width: 0; display: flex; align-items: flex-start; flex-direction: column; padding: 23px; border: 1px solid #3d3d4b; border-radius: 13px; background: linear-gradient(135deg,#25232e,#1a2026); transition: transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease; }
.sample-news-card:nth-child(even) { --news-edge: #b4a2ff74; --news-glow: #b4a2ff1c; }
.sample-news-card:has(:focus-visible) { transform: scale(1.012); border-color: var(--news-edge); box-shadow: 0 0 22px var(--news-glow),inset 0 0 0 1px var(--news-glow); }
@media (hover:hover) and (pointer:fine) {
  .sample-news-card:hover { transform: scale(1.012); border-color: var(--news-edge); box-shadow: 0 0 22px var(--news-glow),inset 0 0 0 1px var(--news-glow); }
}
@media (prefers-reduced-motion:reduce) {
  .sample-news-card,.sample-news-card:hover,.sample-news-card:has(:focus-visible) { transform: none; transition: none; }
}
.sample-news-category { margin: 17px 0 8px; color: var(--mint); font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }
.sample-news-card h3 { color: #e9f2ef; font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.25px; }
.sample-news-description { flex: 1; margin: 10px 0 8px; color: #aeb6c6; font-size: 12px; line-height: 1.8; }
.sample-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--mint); font-size: 11px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #a8f5d844; }
.sample-text-link:hover { text-decoration-color: var(--mint); }
.sample-news-footnote { display: flex; align-items: center; min-height: 44px; color: #aaa3b8; font-size: 11px; }
.sample-shop-section { margin-bottom: 38px; padding-top: 29px; border-top: 1px solid var(--line); }
.sample-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.sample-product { min-width: 0; display: flex; }
.sample-product-button { display: flex; flex-direction: column; width: 100%; border: 1px solid #3e4350; border-radius: 13px; padding: 0; overflow: hidden; background: #1b1f27; color: #eaf1ee; text-align: left; cursor: pointer; transition: background .18s,border-color .18s,box-shadow .18s; }
.sample-product-button:hover,.sample-product-button:focus-visible { background: #252631; border-color: #8b80a5; box-shadow: 0 0 24px #b4a2ff12; }
.sample-product-button:hover .sample-product-name,.sample-product-button:focus-visible .sample-product-name { color: #d6fff0; }
.sample-art { display: block; position: relative; width: 100%; aspect-ratio: 3/2; overflow: hidden; }
.sample-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sample-art-label { position: absolute; bottom: 10px; left: 10px; border: 1px solid #ffffff2b; border-radius: 4px; padding: 3px 6px; background: #171b23e8; color: #dce1ea; font-size: 8px; letter-spacing: .5px; text-transform: uppercase; }
.sample-product-copy { display: flex; flex: 1; flex-direction: column; width: 100%; padding: 17px; }
.sample-card-labels { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.sample-product-category { display: block; color: #b4a8d0; font-size: 10px; margin-bottom: 7px; }
.sample-product-name { display: block; font-size: 18px; line-height: 1.3; letter-spacing: -.3px; }
.sample-product-description { display: block; flex: 1; font-size: 12px; line-height: 1.75; color: #aeb6c6; margin: 10px 0 18px; }
.sample-card-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; padding-top: 13px; border-top: 1px solid #ffffff12; color: var(--mint); font-size: 11px; }
.sample-card-action > span { font-size: 9px; color: #9ea7b9; }
.free-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.free-product-grid .sample-product-button { flex-direction: row; }
.free-product-grid .sample-art { flex: 0 0 36%; aspect-ratio: auto; }
.free-product-grid .sample-product-copy { min-width: 0; }
.free-product-grid .sample-art-label { font-size: 7px; left: 7px; right: 7px; width: fit-content; }
.sample-free-section { padding: 28px; border: 1px solid #a8f5d82c; border-radius: 15px; background: linear-gradient(120deg,#a8f5d805,#b4a2ff05); }
.home-free-preview { margin-top: 27px; border-top: 1px solid var(--line); padding-top: 25px; }
.sample-subheading { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.sample-subheading h3 { font-size: 22px; font-weight: 500; color: #e9f3ef; letter-spacing: -.4px; margin-top: 13px; }
.sample-subheading p { font-size: 11px; color: #aeb6c6; margin-top: 8px; line-height: 1.7; }
#sample-dialog { width: min(980px,calc(100% - 48px)); max-height: calc(100dvh - 48px); padding: 26px; }
#sample-dialog .dialog-head { margin-bottom: 18px; gap: 16px; }
#sample-dialog h2 { font-size: 27px; line-height: 1.2; }
#sample-dialog .close { min-width: 44px; min-height: 44px; }
.sample-dialog-art { position: relative; overflow: hidden; border: 1px solid #ffffff18; border-radius: 10px; margin-bottom: 20px; }
.sample-dialog-art img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: cover; }
.sample-gallery { min-width: 0; margin: 0; }
.sample-gallery .sample-dialog-art { margin-bottom: 0; aspect-ratio: 3/2; }
.sample-gallery .screenshot-window > img { max-height: none; }
.sample-preview-caption { color: #d2d6e2; font-size: 12px; line-height: 1.4; padding: 11px 0 9px; min-height: 37px; }
.sample-preview-thumbnails { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.sample-preview-thumb { padding: 3px; border: 1px solid #545365; background: #191d25; border-radius: 7px; overflow: hidden; }
.sample-preview-thumb[aria-pressed="true"] { border-color: var(--mint); box-shadow: 0 0 12px #a8f5d824; }
.sample-preview-note { margin-top: 12px; color: #aab0c3; font-size: 11px; line-height: 1.75; }
.sample-file-details { margin: 15px 0 20px; }
.sample-file-details dt { color: var(--mint); font-size: 11px; font-weight: 600; margin-top: 13px; }
.sample-file-details dd { margin: 4px 0 0; color: #b9bfd0; font-size: 12px; line-height: 1.7; }
.sample-physical-inquiry { padding: 13px 0; border-top: 1px solid #ffffff14; margin-bottom: 12px; font-size: 12px; line-height: 1.7; }
.sample-physical-inquiry a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.sample-physical-inquiry small { display: block; color: #aab0c3; font-size: 10px; margin-top: 6px; }
.sample-dialog-description { color: #d1d9e2; font-size: 13px; line-height: 1.75; margin: 12px 0 16px; }
.sample-dialog-note { color: #c3b8d6; font-size: 12px; line-height: 1.8; border-left: 2px solid #b4a2ff77; padding-left: 13px; margin-bottom: 22px; }
@media (max-width:1024px) {
  .sample-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .free-product-grid .sample-product-button { flex-direction: column; }
  .free-product-grid .sample-art { flex: none; aspect-ratio: 3/2; }
}
@media (max-width:760px) {
  .sample-news { margin-top: 28px; padding-top: 25px; }
  .sample-news .section-heading,.sample-shop-section .section-heading { flex-direction: column; align-items: flex-start; gap: 13px; }
  .sample-section-note { font-size: 11px; margin-top: 0; }
  .sample-news-grid { grid-template-columns: 1fr; gap: 12px; }
  .sample-news-card { padding: 20px; }
  .sample-product-grid { gap: 14px; }
  .sample-free-section { padding: 20px; }
  .sample-subheading { display: block; }
  .sample-subheading > a { margin-top: 8px; }
  #sample-dialog { padding: 19px; }
  #sample-dialog h2 { font-size: 24px; }
}
@media (max-width:540px) {
  .sample-product-grid,.free-product-grid { grid-template-columns: 1fr; }
  .sample-product-copy { padding: 18px; }
  .home-free-preview .sample-product-button { flex-direction: row; }
  .home-free-preview .sample-art { flex: 0 0 29%; aspect-ratio: auto; }
  .home-free-preview .sample-art-label { display: none; }
  .home-free-preview .sample-product-description { display: none; }
  .home-free-preview .sample-product-name { font-size: 16px; }
  .home-free-preview .sample-card-labels { margin-bottom: 12px; }
  .home-free-preview .sample-card-action { margin-top: 15px; }
}
@media (prefers-reduced-motion:reduce) {
  .sample-product-button { transition: none; }
}

/* Original PNG bytes stay intact. These windows normalize measured capital
   height/baselines and crop transparent canvas padding only in presentation. */
.wordmark-window { --wordmark-cap: 17px; --cap-inset: 4px; position: relative; display: inline-block; flex: none; width: calc(var(--glyph-width) * var(--wordmark-cap)); height: calc(1.3 * var(--wordmark-cap) + 2 * var(--cap-inset)); overflow: hidden; vertical-align: middle; }
.nav-label.wordmark-window { --wordmark-cap: 22px; --cap-inset: 2px; min-width: 0; min-height: 0; }
.wordmark-window > .wordmark-art,.wordmark-state > .wordmark-art { position: absolute; display: block; max-width: none; width: calc(var(--canvas-width) * var(--wordmark-cap)); height: calc(var(--canvas-height) * var(--wordmark-cap)); left: calc(-1 * var(--crop-x) * var(--wordmark-cap)); top: calc(var(--cap-inset) - var(--crop-y) * var(--wordmark-cap)); pointer-events: none; }
.wordmark-window > .asset-fallback { position: absolute; inset: 0; display: flex; align-items: center; color: inherit; font: inherit; }
.nav-label.wordmark-window > .asset-fallback { justify-content: center; }
.gallery-section { grid-template-columns: 228px minmax(0,1fr); }
@media (min-width:761px) {
  .header-nav > .nav-entry > .nav-trigger { display: flex; min-height: 44px; }
}
@media (min-width:761px) and (max-width:1100px) {
  .gallery-section { grid-template-columns: 210px minmax(0,1fr); }
  .section-wordmark { --wordmark-cap: 14px; }
}
@media (max-width:760px) {
  .section-wordmark { --wordmark-cap: 14px; }
  .section-wordmark > .asset-fallback { justify-content: center; }
  .section-links a { min-height: 76px; }
}
@media (max-width:599px) {
  .section-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* The supplied alternate PNG uses the identical canvas, crop and baseline.
   Until it loads successfully, the original image remains fully visible. */
.header-nav .nav-trigger::after { content: none; display: none; }
.nav-label .wordmark-base,.nav-label .wordmark-hover { transition: opacity 150ms ease; }
.nav-label .wordmark-art { object-fit: fill; }
.nav-label .wordmark-hover { opacity: 0; }
.nav-entry:has(:focus-visible) .has-rendered-asset.has-hover-wordmark .wordmark-base { opacity: 0; }
.nav-entry:has(:focus-visible) .has-rendered-asset.has-hover-wordmark .wordmark-hover { opacity: 1; }
@media (hover:hover) and (pointer:fine) {
  .nav-entry:hover .has-rendered-asset.has-hover-wordmark .wordmark-base { opacity: 0; }
  .nav-entry:hover .has-rendered-asset.has-hover-wordmark .wordmark-hover { opacity: 1; }
}

/* Actual sidebar alternates reveal from the left in the unchanged mint frame.
   Missing images keep the original fully visible; no CSS recoloring is used. */
.section-wordmark .wordmark-state { position: absolute; inset: 0; overflow: hidden; transition: clip-path 250ms ease; }
.section-wordmark .wordmark-normal-state { clip-path: inset(0 0 0 0); }
.section-wordmark .wordmark-hover-state { clip-path: inset(0 100% 0 0); }
.section-links a:focus-visible .has-rendered-asset.has-hover-wordmark .wordmark-normal-state { clip-path: inset(0 0 0 100%); }
.section-links a:focus-visible .has-rendered-asset.has-hover-wordmark .wordmark-hover-state { clip-path: inset(0 0 0 0); }
@media (hover:hover) and (pointer:fine) {
  .section-links a:hover .has-rendered-asset.has-hover-wordmark .wordmark-normal-state { clip-path: inset(0 0 0 100%); }
  .section-links a:hover .has-rendered-asset.has-hover-wordmark .wordmark-hover-state { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion:reduce) {
  .section-wordmark .wordmark-state { transition: none; }
}

/* Supplied full-square artwork includes its title. The HTML title is retained
   only as an image-failure fallback; each link already has an explicit name. */
.choice-grid .choice.has-integrated-title { height: auto; min-height: 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto; align-content: start; }
.choice-grid .has-integrated-title .choice-kicker { position: relative; max-width: none; margin: 0; padding: 17px 20px 12px; font-size: 8px; letter-spacing: 1.1px; }
.choice-grid .has-integrated-title .choice-art { display: block; position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1; opacity: 1; z-index: 0; }
.choice-grid .has-integrated-title .rendered-art { display: block; width: 100%; height: 100%; object-fit: contain; }
.choice-grid .has-integrated-title .choice-copy { width: 100%; margin: 0; padding: 15px 20px 18px; border-top: 1px solid #ffffff12; }
.choice-grid .has-integrated-title .choice-line { display: none; }
.choice-grid .has-integrated-title .choice-desc { margin: 0; font-size: 12px; }
@media (max-width:760px) {
  .choice-grid .choice.has-integrated-title { grid-template-columns: minmax(0,1fr) clamp(142px,44vw,180px); grid-template-rows: 1fr 1fr; }
  .choice-grid .has-integrated-title .choice-art { grid-area: 1 / 2 / 3 / 3; align-self: center; }
  .choice-grid .has-integrated-title .choice-kicker { grid-area: 1 / 1; align-self: end; padding: 12px 13px 7px 16px; font-size: 8px; letter-spacing: .7px; }
  .choice-grid .has-integrated-title .choice-copy { grid-area: 2 / 1; align-self: start; padding: 0 13px 12px 16px; border: 0; }
  .choice-grid .has-integrated-title .choice-desc { font-size: 11px; line-height: 1.6; }
}


/* Wider content dialogs use one scroll surface and keep Close within reach. */
.screenshot-window { position: relative; display: block; width: 100%; overflow: hidden; background: #10151b; }
.screenshot-window > img { position: absolute; display: block; max-width: none; aspect-ratio: auto; object-fit: fill; margin: 0; }
.project-art.screenshot-art { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #10151b; }
.project-art.screenshot-art .screenshot-window { flex: none; }
.project-gallery { min-width: 0; margin: 0; }
.screenshot-visual { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/9; max-height: 360px; border: 0; border-radius: 10px; background: #10151b; box-shadow: 0 0 0 1px #a8f5d835; }
.screenshot-visual > .screenshot-window { flex: none; max-width: min(100%,calc(var(--shot-ratio) * 360px)); }
button.screenshot-visual { width: 100%; padding: 0; cursor: zoom-in; text-align: left; }
.image-enlarge-hint { position: absolute; right: 9px; bottom: 9px; padding: 5px 8px; border: 1px solid #a8f5d84a; border-radius: 6px; color: #daf9ed; background: #11191ee8; font-size: 10px; line-height: 1.2; pointer-events: none; }
.screenshot-enlargement { position: fixed; inset: auto; margin: 0; padding: 8px; border: 1px solid #b4a2ff70; border-radius: 12px; color: #d8e6e2; background: #11171b; box-shadow: 0 20px 75px #000a,0 0 26px #a8f5d81c; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.98); transform-origin: center; transition: opacity 160ms ease,transform 160ms ease; }
.screenshot-enlargement[data-open="true"] { opacity: 1; transform: scale(1); }
.screenshot-enlargement .screenshot-window { border-radius: 7px; }
.screenshot-enlargement > p { height: 28px; padding: 8px 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; line-height: 16px; }
#screenshot-lightbox { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 16px; overflow: auto; border-color: #a8f5d86b; border-radius: 16px; background: #10161c; opacity: 0; transform: scale(.98); transition: opacity 160ms ease,transform 160ms ease; }
#screenshot-lightbox[data-open="true"] { opacity: 1; transform: scale(1); }
#screenshot-lightbox::backdrop { background: #05080bd9; backdrop-filter: blur(5px); }
.image-viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.image-viewer-head h2 { font-size: 15px; line-height: 1.4; letter-spacing: 0; }
.image-viewer-head .close { width: 44px; height: 44px; }
.image-viewer-body .screenshot-window { border-radius: 8px; }
html[data-project-previews-paused="true"] .screenshot-enlargement,html[data-project-previews-paused="true"] #screenshot-lightbox { transition: none; transform: none; }
@media(prefers-reduced-motion:reduce) { .screenshot-enlargement,#screenshot-lightbox { transition: none; transform: none; } }
.gallery-caption { min-height: 42px; padding: 10px 1px; color: #bac9c9; font-size: 11px; line-height: 1.6; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.gallery-thumbnail { display: grid; place-items: center; min-width: 0; min-height: 44px; padding: 3px; border: 1px solid #535664; border-radius: 7px; background: #151920; cursor: pointer; }
.gallery-thumbnail[aria-pressed="true"] { border-color: var(--mint); background: #a8f5d814; box-shadow: 0 0 12px #a8f5d817; }
.gallery-thumbnail:focus-visible,.gallery-step:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.gallery-thumbnail .screenshot-window { border-radius: 3px; }
.gallery-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.gallery-step { min-height: 44px; padding: 8px 13px; border: 1px solid #4c5360; border-radius: 7px; background: #202630; color: #d4e8e1; font-size: 11px; cursor: pointer; }
.gallery-step:hover { background: #2c333d; border-color: #a8f5d88c; }
.screenshot-unavailable > img { visibility: hidden; }
.screenshot-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 15px; color: #cbd4db; font-size: 11px; text-align: center; }
button.close { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; line-height: 1; }
button.close > svg { display: block; width: 18px; height: 18px; flex: none; }
#project-dialog > .dialog-head,#sample-dialog > .dialog-head { position: sticky; top: 0; z-index: 3; padding-bottom: 12px; background: var(--bg); }
.dialog-copy { min-width: 0; }
.project-feedback-actions { align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 20px; }
.project-feedback-help { max-width: 550px; color: #b8bfcd; font-size: 12px; line-height: 1.7; }
.project-info-sections { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.project-info-section { min-width: 0; padding: 13px; border: 1px solid #a8f5d821; border-radius: 10px; background: #a8f5d805; }
.project-info-section:nth-child(even) { border-color: #b4a2ff26; background: #b4a2ff06; }
.project-info-section:last-child { grid-column: 1 / -1; }
.project-info-section h3 { margin: 0 0 8px; font-size: 11px; line-height: 1.5; font-weight: 600; color: var(--mint); }
.project-info-section:nth-child(even) h3 { color: var(--lavender); }
.project-info-section ul { margin: 0; padding-left: 14px; color: #c0c7d2; font-size: 11px; line-height: 1.65; }
.project-info-section li + li { margin-top: 7px; }
@media (max-width:600px) { .project-info-sections { grid-template-columns: 1fr; } }
.project-feedback-buttons { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
@media (min-width:861px) {
  #dialog-content,#sample-dialog-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: 28px; align-items: start; }
  #dialog-content > .project-feedback-actions { grid-column: 1 / -1; margin-top: 0; }
  #dialog-content .dialog-summary { margin-top: 0; }
  #sample-dialog-content .sample-dialog-art { margin-bottom: 0; }
  #sample-dialog-content .sample-dialog-art img { max-height: none; height: auto; }
}
@media (max-width:860px) {
  #project-dialog,#sample-dialog { width: min(710px,calc(100% - 32px)); max-height: calc(100dvh - 24px); }
}
@media (max-width:600px) {
  .project-feedback-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* Local demo cart; all prices are illustrative and checkout remains disabled. */
.shop-heading-line { flex-wrap: wrap; }
#home-free-preview .sample-subheading { flex-wrap: wrap; }
.preview-cart-trigger { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .6rem .85rem; margin-left: auto; color: var(--mint,#a8f5d8); background: #202d2b; border: 1px solid #4b7168; border-radius: 12px; font: 600 .85rem/1.2 system-ui; cursor: pointer; }
.preview-cart-count { display: grid; place-items: center; min-width: 1.65rem; height: 1.65rem; border-radius: 50%; background: #a8f5d8; color: #172422; }
.sample-cart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; padding: .9rem 1rem; border-top: 1px solid #373b46; background: #1b1e25; border-radius: 0 0 17px 17px; }
.sample-demo-price { font-size: .78rem; font-weight: 600; color: #d6caff; }
.sample-cart-actions .cart-add { min-height: 44px; }
.sample-product { display: flex; flex-direction: column; }
.sample-product > .scroll-reveal-card { flex-direction: column; }
.sample-product .sample-product-button { flex: 1; }
.sample-product:has(.sample-cart-actions) .sample-product-button { border-radius: 17px 17px 0 0; }
.cart-add-unavailable .sample-cart-actions { padding: 0; border: 0; border-radius: 0; background: none; }
.preview-cart-dialog { box-sizing: border-box; width: min(640px,calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 24px; background: #191c23; border: 1px solid #5b6670; border-radius: 22px; color: #f4f2fa; box-shadow: 0 20px 100px #0009,0 0 45px #b4a2ff16; }
.preview-cart-dialog .dialog-head { padding: 0 0 16px; }
.preview-cart-dialog h2 { margin: 3px 0 0; font-size: 1.6rem; }
.preview-cart-dialog .close { flex-shrink: 0; font-size: 25px; }
.preview-cart-note,.preview-cart-persistence,.preview-cart-empty { color: #bcc0cd; font-size: .85rem; line-height: 1.6; }
.preview-cart-list { padding: 0; margin: 22px 0; list-style: none; }
.preview-cart-item { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 0 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid #343845; }
.preview-cart-item img { grid-row: 1; border-radius: 8px; width: 64px; height: 48px; object-fit: cover; }
.preview-cart-item-copy { grid-row: 1; }
.preview-cart-item-copy strong { display: block; font-size: .95rem; overflow-wrap: anywhere; }
.preview-cart-item-copy small { display: block; margin-top: 5px; font-size: .72rem; color: #bcc0cd; }
.cart-line-price { justify-self: end; color: #d5caff; font-variant-numeric: tabular-nums; font-size: .9rem; }
.preview-cart-remove { grid-column: 3; grid-row: 2; justify-self: end; min-height: 44px; padding: 8px 0; border: 0; background: none; color: #a8f5d8; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font: inherit; font-size: .8rem; }
.preview-cart-total { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 24px; font-size: 1rem; }
.cart-total-value { color: #a8f5d8; font-variant-numeric: tabular-nums; }
.cart-checkout { width: 100%; min-height: 48px; }
.preview-cart-trigger:focus-visible,.preview-cart-remove:focus-visible { outline: 2px solid #a8f5d8; outline-offset: 4px; }
@media(max-width:480px) { .preview-cart-dialog { padding: 18px; } .preview-cart-item { grid-template-columns: 44px minmax(0,1fr) auto; gap: 10px; } .preview-cart-item img { width: 44px; height: 40px; } .sample-cart-actions { padding: .8rem; } .preview-cart-trigger { margin-left: 0; } }
/* One floating mobile navigator reuses the desktop sidebar links. */
.mobile-explore { position: fixed; z-index: 60; right: max(16px,env(safe-area-inset-right)); bottom: max(16px,env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.mobile-explore[hidden],.mobile-explore .section-nav-panel[hidden],.section-sidebar[hidden] { display: none; }
.mobile-explore-toggle { display: grid; grid-template-columns: 1fr 24px; gap: 2px 14px; align-items: center; min-width: 144px; min-height: 54px; padding: 9px 16px; border: 1px solid #a8f5d880; border-radius: 17px; background: linear-gradient(130deg,#243730,#262436); box-shadow: 0 8px 30px #0007,0 0 20px #a8f5d814; color: #d7ffed; text-align: left; cursor: pointer; font: 650 14px/1.2 system-ui; }
.mobile-explore-current { grid-column: 1; color: #c6b8f1; font-size: 10px; font-weight: 500; }
.mobile-explore-mark { grid-column: 2; grid-row: 1 / 3; font-size: 25px; font-weight: 400; }
.mobile-explore-toggle:focus-visible { outline: 2px solid #b4a2ff; outline-offset: 4px; }
.mobile-explore .section-nav-panel { position: static; box-sizing: border-box; width: min(280px,calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right))); max-height: max(100px,calc(var(--explore-view-height,100dvh) - var(--header-height) - 108px)); overflow-y: auto; overscroll-behavior: contain; padding: 10px; border: 1px solid #b4a2ff65; border-radius: 17px; background: #1b202bee; backdrop-filter: blur(18px); box-shadow: 0 16px 40px #0008,0 0 25px #b4a2ff12; }
.mobile-explore .section-nav-caption,.mobile-explore .section-nav-note { display: none; }
.mobile-explore .section-links { grid-template-columns: 1fr; gap: 3px; }
.mobile-explore .section-links a { flex-direction: row; justify-content: flex-start; min-height: 46px; padding: 7px 10px; gap: 13px; }
.mobile-explore .section-wordmark { --wordmark-cap: 13px; }
.mobile-explore .section-icon { width: 28px; height: 28px; flex: 0 0 28px; }
.mobile-explore .section-links a[aria-current="location"] { box-shadow: inset 2px 0 #a8f5d8; }
.mobile-explore .free-downloads { min-height: 48px; margin-top: 7px; padding: 8px 10px; }
.mobile-explore .folder-float { display: none; }
.mobile-explore .free-downloads-copy strong { font-size: 12px; }
.mobile-explore .free-downloads-copy small { font-size: 9px; margin-top: 3px; }
.mobile-explore-active body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.mobile-explore-active .gallery-section { grid-template-columns: minmax(0,1fr); }
@media(prefers-reduced-motion:reduce) { .mobile-explore,.mobile-explore * { animation: none !important; transition: none !important; scroll-behavior: auto; } }
.cart-quantity-controls { grid-column: 2; display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.cart-quantity-button { width: 44px; height: 44px; border: 1px solid #5d6973; border-radius: 9px; background: #252c35; color: #a8f5d8; cursor: pointer; font-size: 19px; }
.cart-quantity-button:disabled { opacity: .45; cursor: default; }
.cart-quantity-value { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-size: 13px; }
.cart-view-action { min-height: 44px; border: 0; padding: 5px 0; color: #a8f5d8; background: none; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: 11px; }
.cart-view-action[hidden],.cart-count-banner[hidden] { display: none; }
.cart-count-banner { position: absolute; top: 17px; left: 20px; z-index: 4; max-width: calc(100% - 132px); padding: 5px 9px; border: 1px solid #a8f5d877; border-radius: 6px; background: linear-gradient(120deg,#263d35,#342c48); color: #d3ffeb; box-shadow: 0 3px 15px #0003; font: 650 10px/1.3 system-ui; white-space: nowrap; pointer-events: none; }
.cart-quantity-button:focus-visible,.cart-view-action:focus-visible { outline: 2px solid #a8f5d8; outline-offset: 3px; }
.cart-undo-notice { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; margin-bottom: 12px; border: 1px solid #b4a2ff42; border-radius: 10px; background: #b4a2ff0a; color: #d1c6ed; font-size: 12px; }
.cart-undo-notice[hidden] { display: none; }
.cart-browse { display: table; min-height: 44px; margin-top: 14px; padding: 10px 14px; border: 1px solid #a8f5d84d; border-radius: 9px; color: #a8f5d8; }

/* Buy availability is visible in the phone menu and hover/focus on desktop. */
.buy-coming-soon { white-space: nowrap; color: #f4eaff; background: #37284c; border: 1px solid #b4a2ff; border-radius: 8px; padding: 7px 10px; font: 650 12px/1.2 system-ui; letter-spacing: .2px; text-transform: none; }
@media (min-width:761px) {
  .buy-coming-soon { position: absolute; top: calc(100% + 8px); right: 0; z-index: 4; visibility: hidden; opacity: 0; pointer-events: none; }
  .nav-entry-buy > .nav-trigger:hover .buy-coming-soon,.nav-entry-buy > .nav-trigger:focus-visible .buy-coming-soon { visibility: visible; opacity: 1; }
  .nav-entry-buy .nav-panel { top: calc(100% + 48px); }
}
@media (max-width:760px) {
  .nav-entry-buy > .nav-trigger { flex-wrap: wrap; gap: 9px; }
  .buy-coming-soon { position: static; flex: none; padding: 5px 8px; font-size: 11px; }
}
.shop-page-intro .shop-heading-line .shop-status.badge { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 12px 20px; min-height: 48px; max-width: 100%; box-sizing: border-box; font-size: clamp(18px,2.2vw,23px); font-weight: 700; line-height: 1.2; letter-spacing: 1px; color: #f4eaff; background: #37284c; border: 1px solid #b4a2ff; }
.shop-page-intro .shop-status .badge-icon { width: 23px; height: 23px; flex: none; }
.mobile-explore-toggle[aria-busy="true"] .mobile-explore-current { color: #d7ffed; }
@media (max-width:760px) {
  .choice-grid { gap: 10px; }
  .choice-grid .choice.has-integrated-title { grid-template-columns: minmax(0,1fr) clamp(126px,38vw,150px); }
  .choice-grid .has-integrated-title .choice-kicker { padding: 10px 10px 6px 14px; }
  .choice-grid .has-integrated-title .choice-copy { padding: 0 10px 10px 14px; }
}

/* Owner-specified platforms supplement availability; the existing badge row wraps. */
.badge-mobile-game,.badge-desktop-game { --badge-ink: #b8d9f5; --badge-surface: #1d2a37; --badge-border: #48647b; }
