@font-face {
  font-family: Rubik;
  src: url("/fonts/rubik-regular.ttf") format("truetype");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: Rubik;
  src: url("/fonts/rubik-bold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --ink: #23203f;
  --muted: #5e5a74;
  --accent: #5632b7;
  --accent-dark: #41248e;
  --line: #e7e3ef;
  --paper: #fff;
  --display: Rubik, "Trebuchet MS", system-ui, sans-serif;
  font-family: var(--display);
  color: var(--ink);
  background: #fffeff;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; min-height: 100vh; font-size: 1rem; line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .72; }
:focus-visible { outline: 3px solid #6743d3; outline-offset: 4px; }
::selection { background: #f7daff; color: #35225f; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 9; top: .6rem; left: 1rem; transform: translateY(-150%); background: #fff; padding: .65rem 1rem; border-radius: .6rem; }
.skip-link:focus { transform: translateY(0); }

.site-header { background: #fff; border-bottom: 1px solid #eeeaf5; }
.header-inner, .admin-header { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; min-height: 5rem; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; text-decoration: none; border-radius: .7rem; }
.brand img { width: 9.1rem; height: 3.5rem; object-fit: contain; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(1rem, 4vw, 2.2rem); font-weight: 700; }
.site-header nav a, .site-footer nav a { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .92rem; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover, .inline-link:hover { color: var(--accent); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.8rem; padding: .6rem 1.12rem; border-radius: .85rem; background: #f1ebff; border: 1px solid transparent; color: var(--accent-dark); text-align: center; text-decoration: none; font-weight: 700; line-height: 1.25; font-size: .93rem; transition: background-color .16s, box-shadow .16s, transform .16s; }
.button:hover { background: #e8ddff; transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { flex-shrink: 0; }
.header-button { border-radius: 99px; padding-inline: 1.1rem; }
.primary-button { background: var(--accent); color: #fff; box-shadow: 0 .24rem 0 #3a2780; border-radius: .85rem; min-height: 3.1rem; padding-inline: 1.3rem; }
.primary-button:hover { background: var(--accent-dark); box-shadow: 0 .3rem 0 #342075; }
.buy-button { background: #ffda70; color: #352709; }
.buy-button:hover { background: #ffcd43; }

.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 35%, #dcd3ff 0, transparent 48%), linear-gradient(110deg, #f4efff 0%, #f1edff 48%, #e2f5ff 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: center; gap: 2rem; min-height: 30.6rem; padding-block: 2.5rem; }
.hero-copy { padding-block: 1.5rem; }
.eyebrow { display: flex; align-items: center; gap: .45rem; color: var(--accent-dark); font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3.75rem, 7.1vw, 6.3rem); line-height: .99; letter-spacing: -.068em; padding-top: .72rem; font-weight: 800; }
.hero h1 span { color: var(--accent); display: inline-block; position: relative; isolation: isolate; }
.hero h1 span::after { content: ""; position: absolute; z-index: -1; width: 95%; left: 3%; height: .16em; bottom: .02em; background: #ffbf61; border-radius: 50%; transform: rotate(-3deg); }
.hero-lead { margin-block: 1.4rem 1.65rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: #514665; max-width: 27rem; }
.book-stage { aspect-ratio: 1.42; width: 100%; position: relative; isolation: isolate; }
.stage-ring { position: absolute; z-index: -1; width: 81%; aspect-ratio: 1; left: 8%; top: 50%; transform: translateY(-50%); border: 2px dashed #a994df; opacity: .45; border-radius: 50%; }
.stage-book { position: absolute; display: block; border-radius: .36rem .58rem .58rem .36rem; background: white; box-shadow: .23rem .25rem 0 #f1e6ff, .4rem .42rem 0 #c9b9e7, .1rem 1.15rem 2rem #37266544; transition: transform .22s ease; }
.stage-book img { display: block; width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; border-radius: inherit; }
.stage-book:focus-visible, .stage-book:hover { z-index: 4; }
.stage-left { width: 42%; top: 12%; left: 4%; transform: rotate(-12deg); }
.stage-left:hover { transform: rotate(-9deg) translateY(-.4rem); }
.stage-right { width: 42%; top: 12%; right: 4%; transform: rotate(12deg); }
.stage-right:hover { transform: rotate(9deg) translateY(-.4rem); }
.stage-center { width: 47%; top: 5%; left: 27%; transform: rotate(-2deg); }
.stage-center:hover { transform: rotate(0) translateY(-.4rem); }
.stage-sparkle { color: #5c3bb4; font-size: clamp(1.5rem, 3.3vw, 3.3rem); position: absolute; line-height: 1; }
.sparkle-one { left: -.5%; top: 12%; color: #d17a17; }
.sparkle-two { right: -1%; top: 5%; }
.sparkle-three { bottom: 3%; right: -1%; color: #513da2; }
.stage-dot { position: absolute; width: .62rem; height: .62rem; border-radius: 50%; }
.dot-one { background: #ff849c; top: 1%; left: 24%; }
.dot-two { background: #25a990; bottom: 7%; left: 12%; }

.feature-band { background: #fff; border-bottom: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 1.1rem; }
.feature-row div { display: flex; align-items: center; justify-content: center; gap: .7rem; font-size: .94rem; font-weight: 700; color: #433b5e; padding: .16rem .5rem; }
.feature-row div + div { border-left: 1px solid var(--line); }
.feature-row svg { width: 1.32rem; height: 1.32rem; color: var(--accent); flex-shrink: 0; }
.feature-row div:first-child svg { color: #b43372; }
.feature-row div:last-child svg { color: #138577; }

.bookshop { padding-top: clamp(2.6rem, 6vw, 4.6rem); scroll-margin-top: 1.2rem; }
.collection-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.4rem; margin-bottom: 1.6rem; }
.collection-heading h2, .about-panel h2 { font-size: clamp(2rem, 4.1vw, 3.35rem); font-weight: 800; letter-spacing: -.052em; line-height: 1.08; margin: .36rem 0 .55rem; }
.collection-heading p:not(.eyebrow), .about-panel p:not(.eyebrow) { color: var(--muted); }
.search-box { display: flex; align-items: center; gap: .65rem; border: 1px solid #d9d2e8; border-radius: .85rem; min-height: 3rem; width: min(100%, 22rem); padding-inline: .95rem; background: #fff; color: #635483; }
.search-box input { min-width: 0; width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; }
.search-box:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-box input::placeholder { color: #6f657e; }
.search-box svg { flex-shrink: 0; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.25rem; }
.filter-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.filter-list button { min-height: 2.55rem; padding: .36rem .92rem; background: #fff; color: #4b4063; border: 1px solid #e5dfee; border-radius: 99px; font-size: .92rem; font-weight: 700; }
.filter-list button:hover { background: #f3edff; }
.filter-list button[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: var(--accent); }
.results-count { font-size: .9rem; color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.18rem; padding: 0; margin: 0; list-style: none; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 1.22rem; overflow: hidden; box-shadow: 0 .18rem .8rem #30245607; }
.product-art-link { display: block; text-decoration: none; }
.product-art-link:focus-visible { outline-offset: -4px; }
.cover-plate { position: relative; display: grid; place-items: center; isolation: isolate; width: 100%; aspect-ratio: 1.13; overflow: hidden; background: var(--plate, #f0e9ff); }
.cover-plate::before { content: ""; width: 64%; aspect-ratio: 1; position: absolute; z-index: -1; border-radius: 50%; background: #ffffff53; }
.tone-mint { --plate: #d6f5e7; }
.tone-rose { --plate: #fee5f0; }
.tone-sky { --plate: #dff2ff; }
.tone-amber { --plate: #fff0c0; }
.tone-lavender { --plate: #eee6ff; }
.tone-peach { --plate: #ffeadc; }
.cover-plate img { position: absolute; height: 83%; width: 84%; object-fit: contain; transition: transform .2s ease; }
.cover-plate.image-cover img, .cover-plate.image-page img { filter: drop-shadow(.25rem .4rem .45rem #1f184e36); }
.product-art-link:hover .cover-plate img { transform: scale(1.035) rotate(-1deg); }
.cover-plate.image-theme img { height: 77%; width: 77%; object-fit: contain; }
.image-caption { position: absolute; bottom: .47rem; left: .5rem; background: #fff; border: 1px solid #eee7f3; text-transform: none; padding: .16rem .5rem; border-radius: .45rem; font-size: .75rem; font-weight: 700; color: #53466b; }
.cover-fallback { display: grid; justify-items: center; gap: .7rem; padding: 1.25rem; color: var(--accent-dark); text-align: center; font-weight: 700; }
.product-summary { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding: 1rem; flex: 1; }
.product-meta { color: #654c85; font-size: .84rem; font-weight: 700; }
.product-summary h3 { font-size: clamp(1.08rem, 1.65vw, 1.35rem); line-height: 1.19; letter-spacing: -.027em; }
.product-summary h3 a { text-decoration: none; }
.product-summary h3 a:hover { text-decoration: underline; color: var(--accent-dark); }
.product-teaser { color: var(--muted); font-size: .97rem; }
.card-action { width: 100%; margin-top: auto; padding-top: .52rem; }
.card-action .button { width: 100%; min-height: 2.62rem; }

.empty-state { min-height: 16rem; background: #f6f0ff; border-radius: 1.1rem; display: grid; align-content: center; justify-items: center; gap: .6rem; padding: 1.5rem; text-align: center; }
.empty-state svg { color: var(--accent); }
.empty-state p { color: var(--muted); }
.empty-state .button { background: #fff; }

.about-wrap { padding-block: 4rem; }
.about-panel { display: grid; grid-template-columns: minmax(8rem, .42fr) minmax(0, 1fr); gap: clamp(1.2rem, 5vw, 3.25rem); align-items: center; padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: 1.7rem; background: #e5f7f0; border: 1px solid #ceeddf; }
.about-mark { width: min(100%, 15rem); padding: 1.4rem; margin-inline: auto; background: #fff; border-radius: 1.3rem; box-shadow: .25rem .32rem 0 #bee4d5; transform: rotate(-4deg); }
.about-mark img { width: 100%; height: auto; }
.about-panel p:not(.eyebrow) { max-width: 41rem; }
.site-footer { border-top: 1px solid var(--line); background: #f8f5fd; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 1.8rem; padding-block: 1.4rem; }
.footer-inner p { color: var(--muted); font-size: .9rem; }

.product-page { padding-block: 2.4rem 4rem; }
.breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .9rem; margin-bottom: 1.3rem; }
.breadcrumb a, .inline-link { color: var(--accent-dark); font-weight: 700; text-underline-offset: .16em; }
.product-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.25fr); align-items: start; gap: clamp(1.3rem, 5vw, 4.8rem); }
.product-layout .cover-plate { aspect-ratio: .92; border-radius: 1.4rem; }
.product-layout .image-caption { left: 1rem; bottom: 1rem; font-size: .88rem; }
.product-content { padding-block: .65rem; }
.product-content h1, .missing-page h1 { font-size: clamp(2.1rem, 4.5vw, 4rem); line-height: 1.05; letter-spacing: -.047em; margin-block: .5rem 1rem; }
.product-lead { font-size: clamp(1.05rem, 2vw, 1.27rem); font-weight: 700; color: #57417d; margin-bottom: 1rem; }
.product-description { color: var(--muted); white-space: pre-line; }
.book-features { display: grid; gap: .62rem; list-style: none; padding: 0; margin-block: 1.2rem 1.4rem; }
.book-features li { display: flex; align-items: center; gap: .55rem; }
.book-features svg { flex-shrink: 0; color: var(--accent); }
.purchase-block, .availability-note { margin-top: 1.45rem; }
.purchase-block .button { min-height: 3rem; }
.purchase-block p { margin-top: .62rem; }
.purchase-block p, .availability-note { color: var(--muted); font-size: .91rem; }
.availability-note { display: inline-block; background: #f4f0fb; padding: .65rem .85rem; border-radius: .62rem; }
.missing-page { padding-block: 4rem; }
.missing-page .button { margin-top: 1rem; }

.admin-background { min-height: 100vh; background: #f7f5fc; }
.admin-main { padding-block: 2.5rem 4rem; }
.manager-gate { margin: clamp(2rem, 9vw, 6rem) auto; max-width: 33rem; border: 1px solid var(--line); background: #fff; border-radius: 1.5rem; padding: 2rem; display: grid; gap: .85rem; justify-items: start; }
.manager-icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 1rem; background: #efe6ff; color: var(--accent); }
.manager-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; margin-bottom: 1.45rem; }
.manager-heading h1, .manager-gate h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.05em; line-height: 1.07; margin: .3rem 0 .55rem; }
.manager-heading p:not(.eyebrow), .manager-gate p { color: var(--muted); }
.manager-heading .button { flex-shrink: 0; }
.manager-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.manager-tabs a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.7rem; padding: .34rem .8rem; border-radius: .75rem; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 700; color: #54446c; font-size: .9rem; }
.manager-tabs a[aria-current="page"] { color: var(--accent-dark); background: #eae0ff; border-color: #d5c1f7; }
.manager-tabs span { background: #f4effb; border-radius: 1rem; padding: .04rem .42rem; font-size: .84rem; }
.manager-list { background: #fff; border: 1px solid var(--line); border-radius: 1.15rem; overflow: hidden; }
.manager-list ul { list-style: none; margin: 0; padding: 0; }
.manager-row { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) minmax(3.8rem, 6.5rem) auto; gap: 1rem; align-items: center; padding: .75rem 1rem; }
.manager-row + .manager-row { border-top: 1px solid #efecf4; }
.manager-row img, .manager-thumb { width: 3.25rem; height: 3.6rem; object-fit: contain; border-radius: .4rem; background: #f0ebf8; }
.manager-thumb { display: grid; place-items: center; color: var(--accent); }
.manager-item h2 { font-size: 1rem; line-height: 1.3; }
.manager-item p, .field-help, .manager-empty { color: var(--muted); font-size: .89rem; }
.manager-empty { padding: 1.4rem; }
.manager-row-actions { display: flex; align-items: center; gap: .75rem; justify-content: flex-end; min-width: 7.6rem; }
.manager-row-actions a { min-height: 2.55rem; font-size: .89rem; }
.manager-row-actions .inline-link { display: inline-flex; align-items: center; }
.status-pill { display: inline-block; justify-self: start; border-radius: 99px; padding: .22rem .5rem; background: #f2ecfa; color: #604982; font-weight: 700; font-size: .82rem; }
.status-pill.is-visible, .save-notice { background: #e0f7ec; color: #165644; }
.save-notice { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; padding: .75rem 1rem; border-radius: .7rem; font-weight: 700; }
.product-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .47fr); gap: 1rem; align-items: start; }
.editor-fields, .editor-sidebar { display: grid; gap: 1rem; }
.editor-section { background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; padding: clamp(1rem, 2vw, 1.35rem); display: grid; gap: .9rem; }
.editor-section h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.editor-section label { display: grid; gap: .35rem; font-weight: 700; font-size: .92rem; min-width: 0; }
.editor-section input:not([type="checkbox"]), .editor-section select, .editor-section textarea { width: 100%; min-width: 0; background: #fefcff; color: var(--ink); border: 1px solid #d7cee7; border-radius: .62rem; padding: .63rem .72rem; font-weight: 400; min-height: 2.85rem; }
.editor-section select { padding-right: 2rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%235632b7' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E"); background-position: right .75rem center; background-size: 1rem; background-repeat: no-repeat; }
.editor-section textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.book-fields { align-items: end; }
label.checkbox-label { display: flex; gap: .45rem; align-items: center; min-height: 2.85rem; padding: .35rem 0; }
.checkbox-label input { accent-color: var(--accent); width: 1.13rem; height: 1.13rem; flex-shrink: 0; }
.editor-preview { display: grid; place-items: center; min-height: 11.5rem; background: #f2edfa; border-radius: .8rem; padding: .75rem; text-align: center; color: var(--muted); }
.editor-preview img { max-height: 14rem; width: 100%; object-fit: contain; }
.editor-preview div { display: grid; justify-items: center; gap: .5rem; }
.editor-preview svg { color: #8568ba; }
.file-label input::file-selector-button { border: 0; border-radius: .45rem; padding: .32rem .5rem; background: #ece3fb; color: var(--accent-dark); font: inherit; margin-right: .45rem; cursor: pointer; }
.editor-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; align-items: center; }
.form-error { width: 100%; padding: .7rem .85rem; color: #851c33; background: #ffe9ee; border-radius: .6rem; }

@media (max-width: 66rem) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(3.6rem, 7.2vw, 5.6rem); }
}
@media (max-width: 50rem) {
  .hero-inner { gap: 1rem; min-height: 25rem; padding-block: 1.6rem; }
  .hero h1 { font-size: clamp(3.1rem, 7.4vw, 4.4rem); }
  .wrap { width: min(100% - 2rem, 76rem); }
  .feature-row div { font-size: .88rem; }
  .catalog-grid { gap: .83rem; }
  .product-summary { padding: .8rem; }
}
@media (max-width: 40rem) {
  .header-inner, .admin-header { min-height: 4.45rem; gap: .6rem; }
  .header-inner nav { display: none; }
  .brand img { width: 7.8rem; height: 3rem; }
  .header-button { padding-inline: .72rem; }
  .hero-inner { grid-template-columns: 1fr; gap: .2rem; padding-block: 1.65rem 1.2rem; min-height: 0; }
  .hero-copy { padding-block: 0; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; font-size: .78rem; }
  .hero h1 { font-size: clamp(3rem, 11vw, 4.6rem); }
  .hero-lead { margin: 1rem auto 1.05rem; }
  .book-stage { width: min(94%, 26rem); margin: 1.1rem auto 0; }
  .stage-ring { width: 75%; left: 12%; }
  .feature-row { padding-block: .75rem; }
  .feature-row div { font-size: .82rem; line-height: 1.26; flex-direction: column; text-align: center; gap: .4rem; }
  .collection-heading { flex-direction: column; align-items: flex-start; margin-bottom: 1rem; }
  .search-box { width: 100%; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .72rem; }
  .product-card { border-radius: .88rem; }
  .product-summary h3 { font-size: 1.05rem; }
  .product-meta { font-size: .78rem; }
  .card-action .button { font-size: .85rem; padding-inline: .34rem; }
  .about-wrap { padding-block: 2.4rem; }
  .about-panel { grid-template-columns: 1fr; }
  .about-mark { margin-inline: 0; width: 9rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .product-page { padding-block: 1.4rem 2.4rem; }
  .product-layout { grid-template-columns: 1fr; }
  .product-layout .cover-plate { max-width: 28rem; width: 100%; margin-inline: auto; aspect-ratio: 1; }
  .admin-header nav { gap: .73rem; }
  .admin-header nav a { font-size: .84rem; }
  .manager-heading { flex-wrap: wrap; align-items: flex-start; }
  .manager-row { grid-template-columns: 2.6rem minmax(0, 1fr) auto; gap: .4rem .6rem; padding: .6rem; }
  .manager-row img, .manager-thumb { width: 2.6rem; height: 3.2rem; grid-row: span 2; }
  .manager-row-actions { grid-column: 3; grid-row: 1 / 3; flex-direction: column-reverse; gap: .35rem; min-width: 0; }
  .manager-row-actions .detail-button { padding-inline: .65rem; }
  .status-pill { grid-column: 2; grid-row: 2; }
  .product-editor { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 22rem) {
  .catalog-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

[hidden] { display: none !important; }
.site-header nav a[aria-current="page"] { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .35rem; text-decoration-thickness: 2px; }
.hero-actions, .manager-heading-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.hero-secondary { background: #fff; border-color: #ded3f7; }
.feature-symbol { color: var(--accent); flex-shrink: 0; font-size: 1.3rem; line-height: 1; }
.feature-row div:first-child .feature-symbol { color: #b43372; }
.feature-row div:last-child .feature-symbol { color: #138577; }
.collection-hero { background: #f0eaff; }
.supplies-hero { background: linear-gradient(115deg, #fff0bf, #ffdede 105%); }
.collection-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 15rem; padding-block: 2.2rem; }
.collection-hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.35rem); font-weight: 800; line-height: 1.03; letter-spacing: -.06em; margin: .45rem 0 .7rem; }
.collection-hero p:not(.eyebrow) { max-width: 32rem; color: var(--muted); font-size: 1.08rem; }
.supply-hero-art { display: flex; align-items: center; justify-content: center; padding: .3rem .8rem; max-width: 43%; }
.supply-hero-art img { width: min(33%, 9rem); aspect-ratio: 1; object-fit: cover; border-radius: 1.2rem; border: .29rem solid #fff; box-shadow: .1rem .45rem .9rem #75473d22; transform: rotate(-8deg); }
.supply-hero-art img:nth-child(2) { margin-inline: -.4rem; transform: translateY(-.75rem) rotate(2deg); z-index: 1; }
.supply-hero-art img:nth-child(3) { transform: rotate(8deg); }
.collection-page { padding-bottom: 4rem; }
.collection-page .collection-heading h2 { line-height: 1.16; }
.search-form { display: flex; align-items: center; gap: .45rem; }
.search-form .search-box { width: min(31vw, 23rem); }
.filter-list a { display: inline-flex; align-items: center; min-height: 2.55rem; padding: .36rem .92rem; background: #fff; color: #4b4063; border: 1px solid #e5dfee; border-radius: 99px; font-size: .92rem; font-weight: 700; text-decoration: none; }
.filter-list a:hover { background: #f3edff; }
.filter-list a[aria-current="page"] { color: #fff; border-color: var(--accent); background: var(--accent); }
.cover-plate.supply-plate img { width: 82%; height: 84%; }
.cover-plate.supply-plate.image-theme img { border-radius: 1rem; width: auto; max-width: 84%; }
.cover-glyph { font-size: 2.6rem; line-height: 1; }
.affiliate-disclosure, .disclosure-banner, .paid-link { color: #473744; }
.affiliate-disclosure { margin-top: .28rem; }
.disclosure-banner { font-size: .94rem; background: #fff5d7; padding: .75rem 1rem; border-radius: .75rem; margin-bottom: 1.35rem; }
.paid-link { display: block; font-size: .85rem; font-weight: 700; margin-top: .4rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap; margin-top: 1.55rem; color: var(--muted); }
.admin-header form { margin: 0; }
.nav-button { border: 0; background: transparent; padding: .35rem 0; font-weight: 700; color: var(--muted); }
.nav-button:hover { color: var(--accent); text-decoration: underline; }
.login-gate { width: min(100%, 31rem); margin-block: 1rem 2rem; }
.auth-form { display: grid; gap: .95rem; width: 100%; }
.auth-form label { display: grid; gap: .3rem; font-weight: 700; }
.auth-form input { width: 100%; min-width: 0; background: #fefcff; border: 1px solid #d7cee7; border-radius: .65rem; padding: .65rem .8rem; }
.auth-form .button { margin-top: .15rem; }
ul.form-error { margin-top: 0; padding-left: 1.9rem; }
.error-summary { margin-bottom: 1rem; }

@media (max-width: 50rem) {
  .site-header nav { gap: 1.1rem; }
  .about-nav { display: none !important; }
  .collection-hero-inner { min-height: 13rem; }
}
@media (max-width: 40rem) {
  .header-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem .85rem; }
  .header-inner nav a { font-size: .86rem; }
  .header-inner .header-button { display: none; }
  .hero-actions { justify-content: center; }
  .collection-hero-inner { flex-direction: column; align-items: flex-start; gap: .85rem; padding-block: 1.55rem; min-height: auto; }
  .supply-hero-art { max-width: 18rem; align-self: center; }
  .search-form { width: 100%; }
  .search-form .search-box { width: 100%; min-width: 0; }
  .collection-page { padding-bottom: 2.4rem; }
  .admin-header nav { flex-wrap: wrap; justify-content: flex-end; gap: .15rem .65rem; }
  .admin-header .nav-button { font-size: .84rem; }
  .login-gate { padding: 1.25rem; }
}
