@font-face { font-family: Cormorant; src: url('fonts/cormorant-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Cormorant; src: url('fonts/cormorant-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Cormorant; src: url('fonts/cormorant-italic-500.ttf') format('truetype'); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --paper: #ece6dc; --paper-light: #f7f3ec; --paper-deep: #ded3c3;
  --wine: #48171d; --wine-dark: #1e1013; --wine-bright: #71303a;
  --gold: #9f7d4c; --gold-light: #d2b886; --ink: #211b18; --muted: #70665f;
  --line: rgba(33,27,24,.18); --serif: Cormorant, Georgia, serif;
  --sans: Manrope, Arial, sans-serif; --container: min(1360px, calc(100% - 80px));
  --ease: cubic-bezier(.22,1,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper-light); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
::selection { color: white; background: var(--wine); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 20px; background: var(--paper-light); color: var(--wine); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--wine); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 1px; flex: 0 0 auto; background: currentColor; content: ''; }
.button { display: inline-flex; min-height: 56px; padding: 15px 27px; align-items: center; justify-content: center; gap: 28px; border: 1px solid var(--wine); border-radius: 100px; background: var(--wine); color: var(--paper-light); font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .25s, transform .25s; }
.button:hover { background: var(--wine-bright); transform: translateY(-2px); }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.button--light { border-color: var(--paper-light); background: var(--paper-light); color: var(--wine); }
.button--light:hover { background: white; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 8px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 500; }
.text-link span { font-size: 22px; line-height: 1; }

/* Shared storefront language: the preview stays independent of CMS templates. */
.announcement { background: var(--wine-dark); color: #d8cdc1; font-size: 12px; }
.announcement__inner { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 24px; }
.announcement__note { display: flex; align-items: center; gap: 10px; }
.announcement__note::before { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); content: ''; }
.announcement__links { display: flex; gap: 28px; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(247,243,236,.95); backdrop-filter: blur(18px); }
.header__inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 35px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 13px; }
.brand__seal { display: grid; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; place-items: center; color: var(--wine); font-family: var(--serif); font-size: 16px; }
.brand__name { color: var(--wine-dark); font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: .015em; line-height: .95; text-transform: uppercase; }
.brand__name small { display: block; margin-top: 8px; color: var(--muted); font-family: var(--sans); font-size: 8px; font-weight: 500; letter-spacing: .24em; line-height: 1; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); }
.desktop-nav a { position: relative; padding-block: 31px; white-space: nowrap; font-size: 14px; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 24px; left: 0; height: 1px; background: var(--wine); content: ''; transform: scaleX(0); transition: transform .25s; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.icon-button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent; }
.icon-button:hover { background: rgba(72,23,29,.07); }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.menu-toggle { display: none; }
.breadcrumbs { display: flex; gap: 11px; padding-block: 19px; color: var(--muted); font-size: 12px; }
.breadcrumbs [aria-current] { color: var(--ink); }
.breadcrumbs a:hover { color: var(--wine); }

/* A still life assembled from the actual factory covers, without upscaled thumbnails. */
.catalog-hero { overflow: clip; }
.catalog-hero__grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 48px; align-items: center; padding-block: 31px 64px; }
.catalog-hero__text { position: relative; z-index: 1; padding-bottom: 4px; }
.catalog-hero h1 { margin-top: 26px; font-family: var(--serif); font-size: clamp(68px, 7vw, 104px); font-weight: 500; line-height: .91; letter-spacing: -.048em; }
.catalog-hero h1 em { color: var(--wine); font-weight: 500; }
.catalog-hero__copy { max-width: 370px; margin-top: 27px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.catalog-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.catalog-hero__note { color: var(--muted); font-size: 11px; }
.book-scene { position: relative; min-width: 0; aspect-ratio: 1.11; background: radial-gradient(ellipse at 38% 30%, #eee6d8 0%, #e3d9c9 68%, #d8cbbb 100%); isolation: isolate; }
.book-scene::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(128deg, transparent 15%, #ffffff45 15.1%, #ffffff45 27%, transparent 27.1%, transparent 35%, #ffffff26 35.1%, #ffffff26 46%, transparent 46.1%); content: ''; }
.book-scene__caption { position: absolute; right: 24px; bottom: 21px; left: 24px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 15px; border-top: 1px solid #8c745a40; color: #65533f; font-size: 9px; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; }
.book { position: absolute; margin: 0; background: #f3e9da; box-shadow: 2px 3px 0 #cabdac, 5px 7px 0 #f3e9da, 6px 8px 0 #c3b6a4, 9px 15px 20px #3f2c2040, 23px 30px 42px #3f2c2030; transition: transform .7s var(--ease); }
.book::after { position: absolute; inset: 0; background: linear-gradient(90deg, #00000018 0, #ffffff15 1.5%, #00000018 3%, transparent 5%, transparent 96%, #ffffff18); content: ''; pointer-events: none; }
.book img { width: 100%; }
.book--violet { z-index: 1; width: 37%; left: 8%; top: 22%; transform: rotate(-14deg); }
.book--gray { z-index: 2; width: 37%; right: 9%; top: 18%; transform: rotate(13deg); }
.book--ivory { z-index: 3; width: 42%; left: 29%; top: 12%; transform: rotate(-3deg); }
@media (hover: hover) {
  .book-scene:hover .book--violet { transform: translate(-5px, 2px) rotate(-16deg); }
  .book-scene:hover .book--gray { transform: translate(5px, 2px) rotate(15deg); }
  .book-scene:hover .book--ivory { transform: translateY(-7px) rotate(-3deg); }
}
.intro-strip { border-block: 1px solid var(--line); }
.intro-strip__inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.intro-strip p { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 12px; }
.intro-strip svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.2; }
.intro-strip__signature { color: var(--wine) !important; font-family: var(--serif); font-size: 25px !important; font-style: italic; }

.catalog-library { padding-block: 91px 88px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading h2 { font-family: var(--serif); font-size: clamp(44px, 4.6vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.section-heading h2 sup { display: inline-block; margin-left: 9px; color: var(--gold); font-family: var(--sans); font-size: 12px; font-weight: 500; vertical-align: top; padding-top: 7px; letter-spacing: 0; }
.section-heading p { max-width: 305px; padding-bottom: 4px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.library-toolbar { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; border-block: 1px solid var(--line); }
.library-toolbar__label { display: flex; align-items: center; gap: 12px; color: var(--wine); font-size: 12px; font-weight: 600; }
.library-toolbar__label::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ''; }
.view-switch { display: flex; align-items: center; gap: 4px; }
.view-switch > span { margin-right: 12px; color: var(--muted); font-size: 11px; }
.view-switch button { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 0; background: transparent; color: var(--muted); transition: background .2s; }
.view-switch button[aria-pressed="true"] { background: #e8e0d5; color: var(--wine); }
.view-switch button:hover { background: var(--paper); }
.view-switch svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.catalog-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 46px 27px; padding: 0; margin: 0; list-style: none; }
.catalog-card { min-width: 0; }
.catalog-card__cover { position: relative; display: flex; aspect-ratio: .88; justify-content: center; align-items: center; padding: 44px 21px 34px; background: var(--surface, var(--paper)); }
.catalog-card__index { position: absolute; top: 15px; left: 17px; color: #756b65; font-size: 10px; letter-spacing: .1em; }
.catalog-card__format { position: absolute; top: 15px; right: 17px; color: #756b65; font-size: 9px; letter-spacing: .13em; }
.catalog-card__cover img { width: 74%; max-height: 100%; object-fit: contain; box-shadow: 2px 2px 0 #bdb0a0, 3px 3px 0 #f3ede3, 4px 4px 0 #bdb0a0, 9px 14px 20px #38261d30; transition: transform .5s var(--ease), box-shadow .5s; }
.catalog-card__cover--native img { max-width: 146px; }
.catalog-card__cover:hover img { transform: translateY(-6px) rotate(-2deg); box-shadow: 2px 2px 0 #bdb0a0, 3px 3px 0 #f3ede3, 4px 4px 0 #bdb0a0, 13px 21px 25px #38261d35; }
.catalog-card__body { padding-top: 21px; }
.catalog-card__brand { margin-bottom: 2px; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.catalog-card h3 { color: var(--ink); font-family: var(--serif); font-size: 39px; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.catalog-card h3 a:hover { color: var(--wine); }
.catalog-card__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; color: var(--muted); font-size: 11px; }
.catalog-card__meta span + span::before { margin-right: 7px; content: '·'; }
.catalog-card__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; margin-top: 16px; border-top: 1px solid var(--line); }
.catalog-card__open { display: inline-flex; min-height: 44px; align-items: center; gap: 16px; color: var(--wine); font-size: 12px; font-weight: 600; }
.catalog-card__open span { font-size: 19px; font-weight: 400; line-height: 1; }
.catalog-card__open:hover { color: var(--wine-bright); }
.catalog-card__download { display: grid; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; place-items: center; transition: color .2s, border-color .2s, background .2s; }
.catalog-card__download:hover { border-color: var(--wine); background: var(--wine); color: var(--paper-light); }
.catalog-card__download svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.catalog-card__unavailable { color: var(--muted); font-size: 11px; }
.catalog-card--unavailable .catalog-card__open { font-size: 11px; }
.library-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 39px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.library-note svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.2; }

.catalog-list[data-view="list"] { grid-template-columns: 1fr; gap: 0; }
.catalog-list[data-view="list"] .catalog-card { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.catalog-list[data-view="list"] .catalog-card__cover { width: 120px; aspect-ratio: 1; padding: 14px 19px; }
.catalog-list[data-view="list"] .catalog-card__cover img { width: auto; height: 90px; }
.catalog-list[data-view="list"] .catalog-card__index, .catalog-list[data-view="list"] .catalog-card__format { display: none; }
.catalog-list[data-view="list"] .catalog-card__body { display: grid; grid-template-columns: 1fr 1fr 230px; column-gap: 28px; align-items: center; padding: 0; }
.catalog-list[data-view="list"] .catalog-card__brand { grid-column: 1; align-self: end; }
.catalog-list[data-view="list"] .catalog-card h3 { grid-column: 1; }
.catalog-list[data-view="list"] .catalog-card__meta { grid-column: 2; grid-row: 1 / 3; margin: 0; }
.catalog-list[data-view="list"] .catalog-card__actions { grid-column: 3; grid-row: 1 / 3; margin: 0; border: 0; }

.catalog-help { margin-bottom: 92px; background: var(--wine); color: var(--paper-light); }
.catalog-help__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 90px; padding: 62px 66px; overflow: hidden; }
.catalog-help__inner::after { position: absolute; width: 270px; height: 270px; right: -160px; top: -115px; border: 1px solid #d2b88625; border-radius: 50%; content: ''; box-shadow: 0 0 0 40px #d2b88608, 0 0 0 80px #d2b88608; pointer-events: none; }
.catalog-help .eyebrow { color: var(--gold-light); }
.catalog-help h2 { margin-top: 24px; font-family: var(--serif); font-size: clamp(47px, 4.8vw, 66px); font-weight: 500; letter-spacing: -.035em; line-height: .98; }
.catalog-help h2 em { color: var(--gold-light); font-weight: 500; }
.catalog-help__copy { max-width: 390px; color: #dfccc3; font-size: 14px; line-height: 1.85; }
.catalog-help__actions { display: flex; flex-wrap: wrap; gap: 21px; align-items: center; margin-top: 24px; }
.catalog-help .text-link { color: #ead7cb; font-size: 12px; }

.site-footer { padding: 70px 0 24px; background: var(--wine-dark); color: var(--paper-light); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 65px; }
.site-footer .brand__seal { color: var(--gold-light); }
.site-footer .brand__name { color: var(--paper-light); }
.site-footer .brand__name small { color: #b6a69e; }
.footer__statement { max-width: 270px; margin-top: 26px; color: #cbbab0; font-family: var(--serif); font-size: 27px; line-height: 1.2; }
.footer-column h3 { margin-bottom: 23px; color: var(--gold-light); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.footer-column ul { display: grid; margin: 0; padding: 0; gap: 9px; list-style: none; }
.footer-column a, .footer-column p { color: #c2b1a8; font-size: 14px; line-height: 1.8; }
.footer-column a:hover, .footer-column [aria-current] { color: white; }
.footer__bottom { display: flex; padding-top: 24px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(247,243,236,.16); color: #b5a39a; font-size: 12px; }
dialog { width: min(690px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 42px; overflow: auto; border: 0; background: var(--paper-light); color: var(--ink); }
dialog::backdrop { background: rgba(25,12,16,.72); backdrop-filter: blur(5px); }
.dialog__top { display: flex; margin-bottom: 28px; align-items: center; justify-content: space-between; gap: 24px; }
.dialog__top h2 { font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1; }
.dialog__close { flex: 0 0 auto; font-size: 32px; line-height: 1; }
.search-form label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.search-form__row { display: flex; gap: 12px; }
.search-form input { width: 100%; min-width: 0; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 0; background: transparent; }
.menu-dialog { margin: 0 0 0 auto; width: min(420px, 100%); max-height: 100dvh; height: 100dvh; padding: 28px; }
.menu-dialog nav { display: grid; gap: 4px; }
.menu-dialog nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 31px; line-height: 1.2; }
.menu-dialog nav [aria-current] { color: var(--wine); font-style: italic; }
.menu-dialog__contact { display: grid; margin-top: 30px; gap: 12px; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .catalog-hero__text { animation: arrival .8s var(--ease) both; }
  .book-scene { animation: arrival .9s .1s var(--ease) both; }
  @keyframes arrival { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1180px) {
  :root { --container: calc(100% - 56px); }
  .header__inner { gap: 22px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav a { font-size: 13px; }
  .brand__name { font-size: 21px; }
  .brand__name small { font-size: 7px; }
  .brand__seal { display: none; }
  .catalog-hero__grid { gap: 32px; }
  .catalog-hero h1 { font-size: 8vw; }
  .catalog-hero__copy { font-size: 14px; }
  .catalog-hero__note { display: none; }
  .catalog-list { gap: 36px 21px; }
  .catalog-card__cover { padding: 36px 10px 28px; }
  .catalog-card__cover img { width: 77%; }
  .catalog-help__inner { gap: 55px; padding: 50px 45px; }
  .catalog-help__actions { gap: 16px; }
  .footer__top { gap: 30px; }
  .catalog-list[data-view="list"] .catalog-card__body { grid-template-columns: 1fr 1fr 200px; column-gap: 20px; }
}
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .brand__seal { display: grid; }
  .brand__name { font-size: 23px; }
  .header__inner { min-height: 78px; }
  .catalog-hero__grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 25px 45px; }
  .catalog-hero h1 { font-size: 8.2vw; }
  .catalog-hero .eyebrow { font-size: 9px; letter-spacing: .12em; gap: 9px; }
  .catalog-hero .eyebrow::before { width: 18px; }
  .catalog-hero__copy { margin-top: 22px; font-size: 13px; }
  .catalog-hero__actions { margin-top: 23px; }
  .book-scene { aspect-ratio: .84; }
  .book--violet { top: 28%; left: 7%; width: 40%; }
  .book--gray { top: 23%; right: 8%; width: 40%; }
  .book--ivory { top: 18%; left: 25%; width: 48%; }
  .book-scene__caption { right: 17px; left: 17px; font-size: 7px; }
  .book-scene__caption span:last-child { display: none; }
  .intro-strip__inner { min-height: 69px; }
  .intro-strip p { gap: 9px; font-size: 11px; }
  .intro-strip__signature { display: none !important; }
  .catalog-library { padding-block: 65px; }
  .catalog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 25px; }
  .catalog-card__cover { aspect-ratio: 1; padding: 40px 30px 32px; }
  .catalog-card__cover img { width: 64%; }
  .catalog-list[data-view="list"] .catalog-card__body { grid-template-columns: 1fr 180px; }
  .catalog-list[data-view="list"] .catalog-card__meta { grid-column: 1; grid-row: 3; margin-top: 7px; }
  .catalog-list[data-view="list"] .catalog-card__actions { grid-column: 2; grid-row: 1 / 4; }
  .catalog-help { margin-bottom: 65px; }
  .catalog-help__inner { gap: 35px; padding: 43px 35px; }
  .catalog-help h2 { font-size: 48px; }
  .catalog-help__copy { font-size: 13px; }
  .catalog-help .button { gap: 17px; padding-inline: 22px; font-size: 12px; }
  .footer__top { grid-template-columns: 1.1fr 1fr; row-gap: 45px; }
}
@media (max-width: 640px) {
  :root { --container: calc(100% - 40px); }
  html { scroll-padding-top: 96px; }
  .announcement__inner { min-height: 31px; justify-content: center; }
  .announcement__note { font-size: 10px; }
  .announcement__links { display: none; }
  .header__inner { min-height: 74px; gap: 10px; }
  .brand { gap: 8px; }
  .brand__seal { width: 29px; height: 29px; font-size: 12px; }
  .brand__name { font-size: 18px; }
  .brand__name small { margin-top: 6px; font-size: 6px; letter-spacing: .19em; }
  .header-actions { gap: 0; }
  .header-actions .icon-button { width: 38px; height: 42px; }
  .header-actions .basket-link { display: none; }
  .breadcrumbs { gap: 9px; padding-block: 15px; font-size: 11px; }
  .catalog-hero__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 22px 30px; }
  .catalog-hero .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .catalog-hero h1 { margin-top: 22px; font-size: clamp(63px, 15.8vw, 92px); line-height: .91; }
  .catalog-hero h1 br:first-of-type { display: none; }
  .catalog-hero h1 .hero-title__first { display: block; }
  .catalog-hero__copy { max-width: 380px; margin-top: 23px; font-size: 14px; }
  .catalog-hero__actions { gap: 20px; margin-top: 23px; }
  .catalog-hero__actions .button { min-height: 52px; padding-inline: 24px; font-size: 13px; }
  .catalog-hero__note { display: block; }
  .book-scene { aspect-ratio: 1.18; }
  .book--violet { top: 19%; left: 9%; width: 35%; }
  .book--gray { top: 14%; right: 9%; width: 35%; }
  .book--ivory { top: 7%; left: 30%; width: 39%; }
  .book-scene__caption { bottom: 15px; padding-top: 12px; font-size: 7px; }
  .book-scene__caption span:last-child { display: inline; }
  .intro-strip__inner { flex-wrap: wrap; gap: 12px; padding-block: 19px; }
  .intro-strip p { font-size: 10px; }
  .intro-strip p:nth-child(2) { margin-left: auto; }
  .intro-strip p:nth-child(3) { display: none; }
  .intro-strip svg { width: 17px; height: 17px; }
  .catalog-library { padding-block: 49px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading h2 { font-size: 44px; }
  .section-heading h2 sup { font-size: 10px; margin-left: 4px; }
  .section-heading p { max-width: 290px; margin-top: 14px; font-size: 12px; }
  .library-toolbar { min-height: 58px; margin-bottom: 20px; }
  .view-switch > span { display: none; }
  .catalog-list { gap: 28px 16px; }
  .catalog-card__cover { aspect-ratio: .76; padding: 29px 12px 22px; }
  .catalog-card__cover img { width: 87%; }
  .catalog-card__index { top: 10px; left: 11px; font-size: 8px; }
  .catalog-card__format { top: 10px; right: 11px; font-size: 8px; }
  .catalog-card__body { padding-top: 16px; }
  .catalog-card__brand { font-size: 7px; letter-spacing: .09em; }
  .catalog-card h3 { font-size: 33px; }
  .catalog-card__meta { gap: 5px; margin-top: 7px; font-size: 10px; }
  .catalog-card__meta span + span::before { margin-right: 5px; }
  .catalog-card__actions { gap: 4px; margin-top: 12px; }
  .catalog-card__open { gap: 8px; font-size: 11px; }
  .catalog-card__download { width: 36px; height: 42px; border: 0; }
  .catalog-card__download svg { width: 17px; height: 17px; }
  .catalog-card__unavailable, .catalog-card--unavailable .catalog-card__open { font-size: 9px; }
  .library-note { margin-top: 24px; padding-top: 18px; font-size: 11px; }
  .catalog-list[data-view="list"] .catalog-card { grid-template-columns: 83px 1fr; gap: 18px; padding-block: 18px; }
  .catalog-list[data-view="list"] .catalog-card__cover { width: 83px; aspect-ratio: .76; padding: 13px; }
  .catalog-list[data-view="list"] .catalog-card__cover img { width: 100%; height: auto; }
  .catalog-list[data-view="list"] .catalog-card__body { grid-template-columns: 1fr; }
  .catalog-list[data-view="list"] .catalog-card h3 { font-size: 31px; }
  .catalog-list[data-view="list"] .catalog-card__actions { grid-column: 1; grid-row: 4; min-height: 42px; margin-top: 4px; justify-content: flex-start; gap: 24px; }
  .catalog-list[data-view="list"] .catalog-card__meta { margin-top: 5px; }
  .catalog-help { margin-bottom: 49px; }
  .catalog-help__inner { grid-template-columns: 1fr; gap: 25px; padding: 37px 26px 40px; }
  .catalog-help .eyebrow { font-size: 9px; letter-spacing: .11em; }
  .catalog-help h2 { margin-top: 22px; font-size: 48px; }
  .catalog-help__copy { font-size: 13px; }
  .catalog-help__actions { gap: 19px; margin-top: 24px; }
  .catalog-help .button { min-height: 52px; }
  .site-footer { padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding-bottom: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer .brand__name { font-size: 24px; }
  .site-footer .brand__name small { font-size: 8px; }
  .footer__statement { max-width: 330px; margin-top: 18px; font-size: 27px; }
  .footer-column:last-child { grid-column: 1 / -1; }
  .footer-column h3 { margin-bottom: 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  dialog { padding: 25px; }
  .search-form__row { flex-direction: column; }
  .dialog__top h2 { font-size: 34px; }
}
@media (max-width: 360px) {
  :root { --container: calc(100% - 32px); }
  .brand__seal { display: none; }
  .catalog-hero h1 { font-size: 60px; }
  .catalog-hero__note { display: none; }
  .intro-strip p { font-size: 9px; gap: 6px; }
  .catalog-list { column-gap: 12px; }
  .catalog-card__open { font-size: 10px; gap: 5px; }
  .catalog-card__download { width: 32px; }
  .catalog-help h2 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The count is supplied by the current CMS basket session. */
.header-actions .basket-link { position: relative; }
.basket-count { position: absolute; top: 2px; right: -2px; display: grid; min-width: 17px; height: 17px; padding-inline: 4px; border-radius: 50%; place-items: center; background: var(--wine); color: var(--paper-light); font: 10px/1 var(--sans); }
.basket-count[data-count="0"] { display: none; }
