/* ZicPub site styles. Tokens match the ZicPub brand kit. */
@font-face { font-family: "Gloock"; src: url("../fonts/gloock-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/courierprime-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --surface: #EFECE6;
  --surface-raised: #F8F6F2;
  --line: #D8D3CB;
  --ink: #1C1A22;
  --ink-muted: #5F5A66;
  --rose: #C8385E;
  --link: #B42E52;
  --on-rose: #FFFFFF;
  --rose-soft: #F6DCE3;
  --gold: #F4B53F;
  --lilac: #7E6BC4;
  --green: #3F9A7A;
  --coral: #F07A4A;
  --ebony: #1C1A22;
  --linen: #EFECE6;

  --display: "Gloock", "Libre Baskerville", Georgia, serif;
  --sans: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px; --space-5: 40px; --space-6: 64px;
  --radius-sm: 2px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 26px; line-height: 1.15; }
p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 64ch; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 56ch; }
.muted { color: var(--ink-muted); }
.label {
  font-family: var(--mono); font-weight: 700; font-size: 12px; line-height: 16px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted);
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-3); top: var(--space-3); background: var(--ink); color: var(--linen); padding: 8px 12px; z-index: 10; }

/* Brand stripe: the three folds of the Z */
.stripe { display: grid; grid-template-rows: 10px 6px 6px; }
.stripe span:nth-child(1) { background: var(--rose); }
.stripe span:nth-child(2) { background: var(--gold); }
.stripe span:nth-child(3) { background: var(--lilac); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: 14px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--link); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 2px solid var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none;
  color: var(--ink); background: transparent; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--linen); }
.btn-rose { background: var(--rose); border-color: var(--rose); color: var(--on-rose); }
.btn-rose:hover { background: var(--ink); border-color: var(--ink); color: var(--linen); }
.btn[aria-disabled="true"] { border-style: dashed; color: var(--ink-muted); border-color: var(--ink-muted); cursor: default; }
.btn[aria-disabled="true"]:hover { background: transparent; color: var(--ink-muted); }
.nav .btn { min-height: 42px; padding: 8px 16px; color: var(--on-rose); }
.nav .btn:hover { color: var(--linen); }

/* Spark */
.spark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.1em; }
.spark path { fill: currentColor; }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.hero h1 { margin-top: var(--space-3); }
.hero h1 .accent { color: var(--rose); }
.hero .lead { margin-top: var(--space-4); }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.hero-shelf { position: relative; min-height: 380px; }
.hero-shelf .cover { position: absolute; width: 46%; box-shadow: 0 18px 30px -18px rgba(28,26,34,.55); }
.hero-shelf .c1 { left: 0; top: 40px; transform: rotate(-4deg); }
.hero-shelf .c2 { left: 27%; top: 0; z-index: 2; }
.hero-shelf .c3 { right: 0; top: 56px; transform: rotate(4deg); }
.hero-shelf .s { position: absolute; z-index: 3; }
.hero-shelf .s1 { color: var(--green); width: 44px; height: 44px; right: 8%; top: -6px; }
.hero-shelf .s2 { color: var(--coral); width: 22px; height: 22px; right: 22%; top: -20px; }
.hero-shelf .s3 { color: var(--gold); width: 30px; height: 30px; left: 4%; top: 8px; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); }
.section-head h2 { max-width: 20ch; }
.band-raised { background: var(--surface-raised); border-block: 1px solid var(--line); }

/* Book cards */
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-5) var(--space-4); }
.book { display: grid; grid-template-rows: auto 1fr; gap: var(--space-3); }
.book-cover { position: relative; padding: 18px 18px 0; background: var(--accent, var(--lilac)); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.book-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: var(--surface); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.book-cover img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; object-position: top; box-shadow: 0 10px 20px -12px rgba(28,26,34,.6); }
.book-cover .placeholder {
  aspect-ratio: 5 / 7; background: var(--ebony); color: var(--linen); display: grid; place-content: center;
  text-align: center; padding: var(--space-4); gap: var(--space-3);
}
.book-cover .placeholder .t { font-family: var(--display); font-size: 30px; line-height: 1.05; }
.book-cover .placeholder .spark { color: var(--gold); width: 28px; height: 28px; margin-inline: auto; }
.book-body { display: flex; flex-direction: column; gap: var(--space-2); }
.book-body h3 { font-size: 24px; }
.book-body .by { font-weight: 700; }
.book-body .hook { color: var(--ink-muted); }
.book-body .btn { margin-top: auto; align-self: start; }
.book-body .formats { font-size: 14px; color: var(--ink-muted); }
.accent-lilac { --accent: var(--lilac); }
.accent-green { --accent: var(--green); }
.accent-coral { --accent: var(--coral); }

/* Lines */
.lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-4); }
.line-card { background: var(--surface); border: 1px solid var(--line); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); border-top: 8px solid var(--accent); }
.band-raised .line-card { background: var(--surface-raised); }
.line-card h3 { font-size: 24px; }
.line-card .pen { font-weight: 700; }
.line-card a { margin-top: auto; padding-top: var(--space-2); font-weight: 700; }

/* Standard */
.standard { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-5) var(--space-4); list-style: none; margin: 0; padding: 0; }
.standard li { display: grid; gap: var(--space-2); align-content: start; }
.standard .spark { width: 28px; height: 28px; }
.standard li:nth-child(4n+1) .spark { color: var(--rose); }
.standard li:nth-child(4n+2) .spark { color: var(--gold); }
.standard li:nth-child(4n+3) .spark { color: var(--lilac); }
.standard li:nth-child(4n+4) .spark { color: var(--green); }
.standard strong { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; }

/* Kettle List sign-up */
.kettle { background: var(--rose-soft); color: var(--ink); border-top: 1px solid #EBC3CE; position: relative; overflow: hidden; }
.kettle::before { content: ""; position: absolute; right: -40px; top: 32px; width: 320px; height: 40px; background: var(--rose); transform: skewX(-30deg); opacity: .9; }
.kettle::after { content: ""; position: absolute; right: -40px; top: 80px; width: 240px; height: 16px; background: var(--gold); transform: skewX(-30deg); }
.kettle .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; position: relative; z-index: 1; }
.kettle .label { color: var(--link); }
.kettle h2 { margin-top: var(--space-2); }
.kettle p { color: var(--ink-muted); margin-top: var(--space-3); max-width: 46ch; }
.kettle .signup { background: var(--surface-raised); padding: var(--space-4); box-shadow: 0 24px 40px -28px rgba(120,30,55,.45); }
.kettle .signup p { margin-top: 0; }
.signup { display: grid; gap: var(--space-3); }
.signup .field { display: grid; gap: 6px; }
.signup label { font-weight: 700; }
.signup input[type="email"], .signup input[type="text"] {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 18px;
  border: 2px solid var(--linen); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink);
}
.signup input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.signup .check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; color: #D9D5DE; }
.signup .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rose); }
.signup .btn { justify-self: start; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .small { font-size: 14px; color: #BDB8C4; }
.signup-light .check, .signup-light .small { color: var(--ink-muted); }
.signup-light input[type="email"], .signup-light input[type="text"] { border-color: var(--ink); background: #fff; }

/* Page intro */
.page-intro { padding-block: clamp(48px, 7vw, 88px) var(--space-5); }
.page-intro h1 { margin-top: var(--space-3); max-width: 18ch; }
.page-intro .lead { margin-top: var(--space-4); }

/* Line groups on Books and Authors */
.group { padding-block: var(--space-5); border-top: 1px solid var(--line); }
.group-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); max-width: 70ch; }
.group-head h2 { font-size: clamp(28px, 3.4vw, 36px); display: flex; align-items: center; gap: 12px; }
.group-head h2 .spark { color: var(--accent); width: 26px; height: 26px; flex: none; }

.author { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-5); padding-block: var(--space-5); border-top: 1px solid var(--line); }
.author h2 { font-size: clamp(30px, 3.6vw, 40px); }
.author .kind { margin-top: var(--space-2); }
.author .mini-books { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.author .mini-books a { display: block; width: 110px; }
.author .mini-books img { aspect-ratio: 5 / 7; object-fit: cover; object-position: top; box-shadow: 0 8px 16px -10px rgba(28,26,34,.6); }
.author .mini-books .ph { aspect-ratio: 5/7; background: var(--ebony); color: var(--linen); display: grid; place-content: center; font-family: var(--display); font-size: 15px; text-align: center; padding: 8px; }
.author .rule { height: 8px; background: var(--accent); margin-bottom: var(--space-3); width: 72px; }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.story .prose p { font-size: 19px; line-height: 1.6; }
.story aside { background: var(--surface-raised); border: 1px solid var(--line); padding: var(--space-4); display: grid; gap: var(--space-3); }
.story aside dl { margin: 0; display: grid; gap: var(--space-3); }
.story aside dt { font-family: var(--display); font-size: 21px; }
.story aside dd { margin: 2px 0 0; color: var(--ink-muted); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: var(--space-6) var(--space-5); font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.site-footer img { height: 46px; width: auto; }
.site-footer ul { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); }
.site-footer .motto { font-family: var(--display); font-size: 21px; margin-top: var(--space-3); }
.site-footer .legal { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ink-muted); display: grid; gap: 6px; }

/* Notice */
.notice { background: var(--rose-soft); border: 1px solid var(--rose); padding: var(--space-3) var(--space-4); max-width: 64ch; }

@media (max-width: 860px) {
  .hero .wrap, .kettle .wrap, .story, .author { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-shelf { min-height: 0; aspect-ratio: 4 / 3; max-width: 460px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .brand img { height: 42px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
    background: transparent; border: 2px solid var(--ink); border-radius: var(--radius-sm); font: inherit; font-weight: 700; color: var(--ink);
  }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-2) var(--gutter) var(--space-4); z-index: 20; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: var(--space-3); justify-content: center; }
  .site-header { position: relative; }
  .books { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-5) var(--space-3); }
  .book-body h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a { transition: background-color .15s, color .15s; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent-rose { --accent: var(--rose); }
.shelf-panel .mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shelf-panel .mosaic img { aspect-ratio: 5 / 7; object-fit: cover; object-position: top; box-shadow: 0 8px 16px -10px rgba(28,26,34,.6); }
.shelf-panel .btn { justify-self: start; }

/* Buttons: pressed feedback */
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background-color .2s, color .2s, transform .1s; } }

/* Home: coming soon row */
.soon { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.soon h3 { font-size: 28px; margin-bottom: var(--space-4); }
.books-small { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-width: 760px; }
.books-small .book-body h3 { font-size: 19px; }
.books-small .book-cover { padding: 12px 12px 0; }
.books-small .book-cover::after { height: 12px; }
.books-small .hook, .books-small .formats { display: none; }

/* Home: author list (no card wall) */
.author-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); border-top: 1px solid var(--line); }
.author-list li { border-bottom: 1px solid var(--line); }
.author-list a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 4px 16px; padding: 18px 0 18px 18px; text-decoration: none; color: var(--ink); position: relative; }
.author-list a::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
.author-list .pen { font-family: var(--display); font-size: 22px; line-height: 1.15; }
.author-list .series { font-weight: 700; align-self: center; }
.author-list .kind { grid-column: 2; color: var(--ink-muted); font-size: 15px; }
.author-list a:hover .pen { color: var(--link); }

/* Books page: author block beside its books */
.group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: var(--space-5); align-items: start; padding-block: var(--space-6); }
.group-head { margin-bottom: 0; position: sticky; top: var(--space-4); }
.group-head .by { font-weight: 700; }
.group-books { display: grid; gap: var(--space-5); }
.book-wide { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.book-wide .book-body { display: flex; flex-direction: column; gap: var(--space-2); max-width: 52ch; }
.book-wide h3 { font-size: 30px; }
.book-wide .sub { color: var(--ink-muted); font-size: 15px; line-height: 1.45; }
.book-wide .hook { font-size: 18px; }
.book-wide .formats { font-size: 14px; color: var(--ink-muted); }
.book-wide .btn { align-self: start; margin-top: var(--space-2); }

@media (max-width: 860px) {
  .group { grid-template-columns: 1fr; gap: var(--space-4); }
  .group-head { position: static; }
  .author-list { grid-template-columns: 1fr; }
  .kettle::before, .kettle::after { display: none; }
}
@media (max-width: 560px) {
  .book-wide { grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-3); }
  .book-wide h3 { font-size: 22px; }
  .book-wide .sub { display: none; }
  .book-wide .hook { font-size: 16px; }
  .book-wide .book-cover { padding: 10px 10px 0; }
  .book-wide .book-cover::after { height: 10px; }
  .books .book-body .btn, .book-wide .btn { width: 100%; justify-content: center; padding: 10px 12px; font-size: 15px; min-height: 44px; }
  .author-list a { grid-template-columns: 1fr; }
  .author-list .kind { grid-column: 1; }
}
.group-head h2 { align-items: flex-start; }
.group-head h2 .spark { margin-top: .22em; }

/* Links on book cards */
.book-link { color: inherit; text-decoration: none; }
.book-link:hover { color: var(--link); text-decoration: underline; text-decoration-thickness: 2px; }
a.book-cover { display: block; }

/* Book page */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: var(--space-5); font-size: 15px; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--link); }
.bp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-block: var(--space-5) var(--space-6); }
.bp-cover { position: sticky; top: var(--space-4); }
.bp-cover .book-cover { padding: 28px 28px 0; }
.bp-cover .book-cover::after { height: 28px; }
.bp-cover .book-cover img { box-shadow: 0 24px 40px -22px rgba(28,26,34,.7); }
.bp-main { display: flex; flex-direction: column; gap: var(--space-3); max-width: 62ch; }
.bp-main h1 { font-size: clamp(38px, 5vw, 64px); margin-top: var(--space-1); }
.bp-sub { font-size: 18px; color: var(--ink-muted); line-height: 1.45; }
.bp-by { font-weight: 700; font-size: 18px; }
.bp-by a { color: var(--ink); }
.bp-by a:hover { color: var(--link); }
.bp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-block: var(--space-2); }
.bp-buy .formats { font-size: 15px; color: var(--ink-muted); }
.bp-hook { font-family: var(--display); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; margin-top: var(--space-3); padding-left: var(--space-3); border-left: 4px solid var(--accent); }
.bp-desc p { font-size: 18px; line-height: 1.65; }
.bp-h { font-size: 28px; margin-top: var(--space-4); }
.bp-inside { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bp-inside li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 17px; }
.bp-inside .spark { width: 16px; height: 16px; color: var(--accent); margin-top: 5px; }
.bp-details { margin: 0; display: grid; border-top: 1px solid var(--line); }
.bp-details div { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: var(--space-3); padding: 12px 0; border-bottom: 1px solid var(--line); }
.bp-details dt { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
.bp-details dd { margin: 0; font-variant-numeric: tabular-nums; }
.bp-note { font-size: 14px; color: var(--ink-muted); margin-top: var(--space-2); }
.bp-buy-end { margin-top: var(--space-4); }
@media (max-width: 860px) {
  .bp { grid-template-columns: 1fr; }
  .bp-cover { position: static; max-width: 340px; }
}
@media (max-width: 560px) {
  .bp-cover { max-width: 240px; }
  .bp-cover .book-cover { padding: 16px 16px 0; }
  .bp-cover .book-cover::after { height: 16px; }
  .bp-details div { grid-template-columns: 1fr; gap: 2px; }
  .bp-buy .btn { width: 100%; justify-content: center; }
}

/* Art gallery */
.gallery-note { margin: calc(-1 * var(--space-4)) 0 var(--space-4); }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--space-5) var(--space-4); }
.art-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.art-card { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; }
.art-frame { display: block; background: var(--ebony); padding: 10px; box-shadow: 0 18px 30px -20px rgba(28,26,34,.65); transition: transform .2s; }
.art-frame:hover { transform: translateY(-3px); }
.art-frame img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; background: #2a2730; }
.art-card h3 { font-size: 20px; line-height: 1.2; }
.art-buy { font-weight: 700; font-size: 15px; color: var(--link); }
.art-group .art-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .art-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .art-grid, .art-group .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); } .art-card h3 { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .art-frame { transition: none; } }
