:root { --ink: #182226; --paper: #f4f0e7; --orange: #ff5c35; --muted: #697378; --font-geist-sans: Inter, Aptos, "Segoe UI", Arial, sans-serif; --font-geist-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-geist-sans), Arial, sans-serif; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.catalog-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; background: #172226; color: #f9f6ee; padding: 32px 22px; display: flex; flex-direction: column; border-right: 1px solid #2e3a3e; }
.brand { color: inherit; text-decoration: none; display: flex; gap: 11px; align-items: center; font-weight: 800; letter-spacing: -.04em; font-size: 19px; }
.brand em { color: var(--orange); font-style: normal; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #647075; border-radius: 50%; font-family: Georgia, serif; }
.eyebrow { margin: 0; font-family: var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; }
.sidebar-label { margin: 52px 10px 14px; color: #93a0a5; }
.sidebar nav { display: grid; gap: 5px; }
.nav-item { cursor: pointer; border: 0; background: transparent; color: #aeb9bc; padding: 11px 12px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.nav-item small { font-family: var(--font-geist-mono), monospace; font-size: 10px; }
.nav-item:hover, .nav-item:focus-visible { background: #243136; color: white; outline: none; }
.nav-item.active { background: #f3efe6; color: #192327; }
.sidebar-actions { margin-top: auto; display: grid; gap: 8px; }
.complete-download { display: flex; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid #46545a; border-radius: 8px; color: white; text-decoration: none; font-size: 12px; font-weight: 700; }
.complete-download:hover, .complete-download:focus-visible { border-color: var(--orange); outline: none; }
.complete-download span { color: var(--orange); font-size: 16px; }
.sidebar-note { margin-top: 16px; border-top: 1px solid #354247; padding: 22px 8px 0; display: flex; gap: 10px; align-items: flex-start; }
.sidebar-note strong, .sidebar-note small { display: block; font-size: 12px; }
.sidebar-note small { margin-top: 3px; color: #93a0a5; }
.status-dot { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: #83e6a7; box-shadow: 0 0 0 4px #83e6a722; }
.catalog-content { min-width: 0; padding: 0 52px 64px; }
.topbar { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d8d2c7; }
.search-box { width: min(560px, 65%); height: 44px; display: flex; gap: 10px; align-items: center; border: 1px solid #d1cbc0; border-radius: 9px; background: #fbf8f2; padding: 0 13px; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box kbd { border: 1px solid #d7d0c5; border-bottom-width: 2px; border-radius: 5px; padding: 2px 6px; color: #7b8386; font-size: 10px; }
.format-badge { font-size: 12px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.format-badge span { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.hero-copy { padding: 75px 0 50px; max-width: 890px; }
.hero-copy .eyebrow, .section-heading .eyebrow { color: var(--orange); }
.hero-copy h1 { margin: 18px 0 24px; font-size: clamp(50px, 7vw, 94px); line-height: .92; letter-spacing: -.07em; font-weight: 650; }
.hero-copy h1 span { font-family: Georgia, serif; font-style: italic; font-weight: 400; color: #566267; }
.hero-copy > p:last-child { max-width: 610px; color: var(--muted); line-height: 1.65; font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid #d4cec4; }
.stats div { padding: 24px 0; display: flex; align-items: baseline; gap: 8px; }
.stats div + div { border-left: 1px solid #d4cec4; padding-left: 24px; }
.stats strong { font-size: 27px; letter-spacing: -.05em; }
.stats span { color: var(--muted); font-size: 12px; }
.collection-switcher { margin-top: 26px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.collection-switcher button { cursor: pointer; min-width: 0; border: 1px solid #d2cbc0; border-radius: 10px; background: #fbf8f2; padding: 13px; display: flex; justify-content: space-between; gap: 8px; color: var(--muted); text-align: left; }
.collection-switcher button:hover, .collection-switcher button:focus-visible { border-color: var(--ink); outline: none; }
.collection-switcher button.active { background: var(--ink); border-color: var(--ink); color: white; }
.collection-switcher strong { color: var(--orange); font-family: var(--font-geist-mono), monospace; font-size: 10px; }
.section-heading { margin: 57px 0 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-heading h2 { margin: 8px 0 0; font-size: 31px; letter-spacing: -.04em; }
.section-heading > span { color: var(--muted); font-size: 12px; }
.filter-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.filter-row label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.filter-row select { min-width: 260px; border: 1px solid #cec7bc; border-radius: 8px; background: #fbf8f2; padding: 10px 36px 10px 12px; color: var(--ink); }
.category-download { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; font-size: 12px; font-weight: 700; }
.category-chips { margin: -4px 0 24px; display: flex; gap: 7px; overflow-x: auto; padding: 4px 1px 8px; scrollbar-width: thin; }
.category-chips button { flex: 0 0 auto; cursor: pointer; border: 1px solid #d2cbc0; border-radius: 999px; background: transparent; padding: 7px 11px; color: var(--muted); font-size: 10px; }
.category-chips button:hover, .category-chips button:focus-visible { border-color: var(--ink); color: var(--ink); outline: none; }
.category-chips button.active { border-color: var(--orange); background: #ff5c3512; color: var(--ink); font-weight: 750; }
.item-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
.item-card { min-width: 0; }
.preview-button { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1.28; border: 1px solid #d5cec2; border-radius: 12px; background: white; box-shadow: 0 12px 30px #1822260d; }
.card-preview { position: absolute; inset: 0; display: block; width: 200%; height: 200%; border: 0; background: white; pointer-events: none; transform: scale(.5); transform-origin: top left; }
.preview-overlay { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.preview-overlay:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.open-hint { position: absolute; right: 10px; bottom: 10px; padding: 7px 9px; background: #182226; color: white; border-radius: 6px; font-size: 10px; opacity: 0; transform: translateY(4px); transition: .2s ease; }
.preview-button:hover .open-hint, .preview-overlay:focus-visible .open-hint { opacity: 1; transform: none; }
.item-meta { display: flex; justify-content: space-between; gap: 12px; padding: 13px 2px 0; }
.item-meta span { color: var(--orange); font-family: var(--font-geist-mono), monospace; text-transform: uppercase; font-size: 9px; letter-spacing: .08em; }
.item-meta h3 { font-size: 15px; margin: 4px 0 0; }
.item-meta small { color: var(--muted); font-size: 10px; padding-top: 5px; text-align: right; }
.empty-state { grid-column: 1 / -1; padding: 70px; border: 1px dashed #c7c0b5; border-radius: 12px; display: grid; place-items: center; gap: 6px; color: var(--muted); }
.loading-state { padding: 80px; display: flex; justify-content: center; align-items: center; gap: 13px; color: var(--muted); }
.loading-state span { width: 18px; height: 18px; border: 2px solid #c5beb2; border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pagination { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid #d4cec4; }
.pagination button { border: 1px solid #cbc4b9; border-radius: 8px; background: #fbf8f2; padding: 9px 13px; cursor: pointer; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.pagination span { color: var(--muted); font-size: 12px; }
.pagination-top { margin: 0 0 18px; }
.page-status { flex-basis: 100%; }
.page-buttons, .page-jump { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.pagination .current { background: var(--ink); color: white; border-color: var(--ink); }
.page-jump label { font-size: 12px; color: #46545a; }
.page-jump input { width: 76px; padding: 9px; border: 1px solid #cbc4b9; border-radius: 8px; background: #fffdf9; }
.search-help { font-size: 12px; line-height: 1.6; color: #46545a; }
.search-box:focus-within { outline: 2px solid #374f5a; outline-offset: 2px; }
.search-box button { border: 0; background: transparent; cursor: pointer; font-size: 22px; padding: 4px; }
.filter-row { flex-wrap: wrap; }
.filter-row select { min-width: 0; max-width: 100%; }
.filter-row button, .reset-button { border: 1px solid #cbc4b9; background: #fbf8f2; border-radius: 8px; padding: 10px 12px; cursor: pointer; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid #374f5a; outline-offset: 3px; }
@media (max-width: 600px) { .pagination { justify-content: center; } .page-buttons { justify-content: center; gap: 4px; } .pagination button { padding: 9px; } .page-status { text-align: center; } .search-box kbd { display: none; } .section-heading { flex-wrap: wrap; gap: 12px; } .section-heading > span[role="status"] { display: block; } }
.dialog-backdrop { position: fixed; inset: 0; z-index: 10; background: #0d1518cc; display: grid; place-items: center; padding: 20px; }
.preview-dialog { position: relative; width: min(1180px, 100%); max-height: 94vh; overflow: auto; background: var(--paper); border-radius: 16px; padding: 30px; box-shadow: 0 30px 90px #0007; }
.preview-dialog > .eyebrow { color: var(--orange); }
.preview-dialog > h2 { margin: 9px 0 25px; font-size: 38px; letter-spacing: -.05em; }
.dialog-close { position: absolute; top: 18px; right: 18px; border: 0; background: #e4ded3; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 22px; }
.dialog-heading { display: flex; justify-content: space-between; gap: 70px; align-items: flex-end; padding-right: 38px; }
.dialog-heading .eyebrow { color: var(--orange); }
.dialog-heading h2 { margin: 9px 0 0; font-size: clamp(28px,4vw,48px); letter-spacing: -.055em; }
.download-item { white-space: nowrap; background: var(--orange); color: #182226; border-radius: 8px; padding: 11px 15px; text-decoration: none; font-size: 12px; font-weight: 800; }
.preview-toolbar { margin-top: 24px; padding: 10px 12px; background: #172226; color: #aeb9bc; border-radius: 9px 9px 0 0; display: flex; justify-content: space-between; align-items: center; font-size: 10px; }
.preview-toolbar div { display: flex; gap: 7px; }
.preview-toolbar .preview-navigation { align-items: center; }
.preview-navigation strong { min-width: 70px; color: white; text-align: center; font-family: var(--font-geist-mono), monospace; font-size: 9px; }
.preview-toolbar button { cursor: pointer; border: 1px solid #48565c; border-radius: 5px; background: #273439; color: white; padding: 6px 9px; font-size: 10px; }
.live-preview { display: block; width: 100%; height: min(60vh,660px); border: 1px solid #cfc8bc; border-top: 0; background: white; }
.dialog-footer { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; padding: 10px 2px 0; }
.dialog-canvas { min-height: 370px; padding: 70px; background: #172226; color: white; border-radius: 10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.dialog-canvas > span { color: var(--accent); text-transform: uppercase; font: 700 10px var(--font-geist-mono), monospace; letter-spacing: .12em; }
.dialog-canvas > strong { font-size: 45px; letter-spacing: -.05em; margin-top: 11px; }
.dialog-canvas p { color: #b5c0c3; max-width: 480px; line-height: 1.6; }
.dialog-canvas button { border: 0; background: var(--accent); color: #172226; border-radius: 30px; padding: 11px 17px; font-weight: 700; }
@media (max-width: 900px) { .catalog-shell { grid-template-columns: 1fr; } .sidebar { position: static; height: auto; padding: 18px; flex-direction: row; align-items: center; overflow-x: auto; } .sidebar-label, .sidebar-note, .complete-download { display: none; } .sidebar nav { display: flex; margin-left: auto; } .sidebar-actions { margin: 0 0 0 8px; } .nav-item { gap: 8px; white-space: nowrap; } .catalog-content { padding-inline: 25px; } .collection-switcher { grid-template-columns: repeat(3, minmax(0, 1fr)); } .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sidebar { align-items: flex-start; } .sidebar nav { max-width: 52%; overflow-x: auto; } .nav-item small { display: none; } .topbar { height: 74px; } .search-box { width: 100%; } .format-badge { display: none; } .hero-copy { padding: 48px 0 35px; } .hero-copy h1 { font-size: 48px; } .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid #d4cec4; } .collection-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); } .item-grid { grid-template-columns: 1fr; } .section-heading > span { display: none; } .filter-row { align-items: stretch; flex-direction: column; } .filter-row select { min-width: 0; width: 100%; } .dialog-heading { align-items: flex-start; flex-direction: column; gap: 16px; } .preview-toolbar { align-items: stretch; flex-direction: column; } .preview-toolbar > div { justify-content: space-between; } .live-preview { height: 58vh; } .dialog-footer { gap: 7px; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
