/* Agape Illustrated
   Layout idea: a deluxe printed edition. Newsprint-cream pages, navy ink, the logo's red and
   marigold used sparingly; the reader opens on a dark reading-room backdrop so the art glows.
   Readers are mostly 50+: big type (Lexend, designed for easy reading), big targets. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f6ead3;        /* page background, newsprint cream */
  --paper-2: #fdf7ea;      /* cards, raised paper */
  --ink: #1b2233;          /* text, deep navy ink */
  --ink-2: #3f4554;        /* secondary text (7:1 on paper) */
  --red: #b5121b;          /* logo red, accent */
  --gold: #f2c230;         /* logo marigold, highlights */
  --night: #121419;        /* reader backdrop */
  --rule: #d9c7a3;

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Lexend", "Verdana", "Segoe UI", system-ui, sans-serif;

  --step-0: 1.2rem;    /* body: about 19px at normal size; Lexend runs large */
  --step-1: 1.5rem;
  --step-2: 2rem;
  --step-3: 2.75rem;
  --step-4: clamp(2.6rem, 6vw, 4.6rem);
  --radius: 10px;
  --tap: 3.25rem;      /* 52px minimum touch target */
  color-scheme: light;
}
html[data-size="2"] { font-size: 118.75%; }
html[data-size="3"] { font-size: 137.5%; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 0.18em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; text-wrap: balance; margin: 0;
  font-variation-settings: "SOFT" 50, "WONK" 0; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 99; border-radius: 6px; }
.skip:focus { top: 1rem; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 46rem; }
.eyebrow { font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: 1rem; color: var(--red); }
.eyebrow-light { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: var(--tap);
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: 700 1.15rem/1.2 var(--body);
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 3px 0 #7d0b11; font-size: 1.35rem; padding: 1rem 2rem; }
.btn-primary:hover { background: #a00f17; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.btn-give { background: var(--gold); color: var(--ink); box-shadow: 0 3px 0 #b48a12; }
.btn-give:hover { background: #ffd447; }
.btn-light { background: var(--paper-2); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(246,234,211,.96); border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px); }
.topbar-in { max-width: 86rem; margin: 0 auto; padding: .5rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; }
.brand img { width: 9.5rem; }
.nav { display: flex; gap: 1.25rem; flex: 1; flex-wrap: nowrap; white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; padding: .5rem 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--red); }
.textsize { display: flex; align-items: center; gap: .35rem; }
.btn-notify-top { margin-left: auto; background: var(--gold); color: var(--ink); box-shadow: 0 3px 0 #b48a12; font-size: 1.1rem;
  padding: .75rem 1.3rem; white-space: nowrap; }
.btn-notify-top:hover { background: #ffd447; }
.bell { font-size: 1.25em; line-height: 1; }
.notify-strip { display: none; }
@media (max-width: 1420px) { .nav { display: none; } }
@media (max-width: 920px) { .textsize-label { display: none; } }
@media (max-width: 700px) {
  .btn-notify-top { display: none; }
  .textsize { margin-left: auto; }
  .notify-strip { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1rem; background: var(--gold);
    color: var(--ink); font-weight: 700; font-size: 1.1rem; text-decoration: none; text-align: center; border-bottom: 1px solid #c99c14; }
}
.textsize-label { font-weight: 700; font-size: 1rem; margin-right: .25rem; }
.ts { width: var(--tap); height: var(--tap); border-radius: 8px; border: 2px solid var(--ink); background: var(--paper-2);
  color: var(--ink); font-family: var(--display); font-weight: 700; cursor: pointer; line-height: 1; }
.ts[data-size="1"] { font-size: 1.05rem; }
.ts[data-size="2"] { font-size: 1.45rem; }
.ts[data-size="3"] { font-size: 1.9rem; }
.ts[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

@media (max-width: 420px) { .textsize-label { display: none; } .brand img { width: 7.5rem; } }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 2.5rem;
  background:
    radial-gradient(ellipse 60% 70% at 25% 45%, rgba(242,194,48,.22), transparent 70%),
    var(--paper); }
.hero-in { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; display: grid;
  grid-template-columns: minmax(16rem, 27rem) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.book { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer;
  width: 100%; perspective: 1600px; border-radius: 3px 8px 8px 3px; }
.book img { position: relative; width: 100%; border-radius: 3px 8px 8px 3px;
  box-shadow: 0 1px 0 rgba(0,0,0,.2), 18px 22px 40px rgba(60,35,10,.38), 4px 6px 10px rgba(60,35,10,.25);
  transform: rotateY(-8deg) rotateX(2deg); transform-origin: left center; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.book:hover img, .book:focus-visible img { transform: rotateY(-22deg) rotateX(2deg) translateX(-4px);
  box-shadow: 0 1px 0 rgba(0,0,0,.2), 30px 26px 46px rgba(60,35,10,.42), 6px 8px 12px rgba(60,35,10,.25); }
.book-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; z-index: 2; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.18) 45%, rgba(0,0,0,.12)); pointer-events: none; }
.book-sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 3px 8px 8px 3px;
  background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.08)); }
@media (prefers-reduced-motion: reduce) { .book img { transition: none; } .book:hover img { transform: rotateY(-8deg) rotateX(2deg); } }
.hero-copy { display: grid; gap: 1.1rem; max-width: 38rem; }
.hero h1 { font-size: var(--step-4); letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.lede { font-family: var(--display); font-style: italic; font-size: var(--step-1); line-height: 1.35; color: var(--ink); }
.hero-sum { color: var(--ink-2); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .4rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0; margin: 0; list-style: none; font-weight: 700; color: var(--ink-2); font-size: 1.05rem; }
.hero-facts li::before { content: "✓"; color: var(--red); margin-right: .45rem; }
.say { font-size: 1.05rem; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: .9rem; }
.say-ph { font-family: var(--display); font-style: italic; }
@media (max-width: 760px) {
  .hero-in { grid-template-columns: 1fr; text-align: left; }
  .book { max-width: 19rem; margin: 0 auto; }
  .book img { transform: none; }
  .book:hover img { transform: none; }
}

/* How to read */
.howto { padding: 0 1.25rem 3rem; }
.howto-list { max-width: 72rem; margin: 0 auto; padding: 1.5rem; list-style: none; display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr); background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); }
.howto-list li { display: flex; gap: 1rem; align-items: flex-start; font-size: 1.1rem; line-height: 1.5; }
.howto-n { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
@media (max-width: 860px) { .howto-list { grid-template-columns: 1fr; } }

/* Feed everyone */
.feed { background: var(--ink); color: #f8f1e3; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.feed h2 { font-size: var(--step-4); margin: .5rem 0 1.25rem; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.feed h2 em { color: var(--gold); }
.feed-lede { font-family: var(--display); font-size: var(--step-1); line-height: 1.45; max-width: 44rem; font-style: italic; }
.feed-by { display: block; font-family: var(--body); font-style: normal; font-weight: 700; font-size: 1.05rem; color: var(--gold); margin-top: .5rem; }
.charities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.charity { background: var(--paper-2); color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.charity-photo { margin: 0; position: relative; aspect-ratio: 4 / 3; background: #e9dcc0; overflow: hidden; }
.charity-photo img { width: 100%; height: 100%; object-fit: cover; }
.charity-photo figcaption { position: absolute; right: .5rem; bottom: .5rem; background: rgba(27,34,51,.78); color: #fff;
  font-size: .8rem; padding: .2rem .55rem; border-radius: 4px; }
.charity-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.charity-where { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; color: var(--red); }
.charity-body p:not(.charity-where) { font-size: 1.1rem; line-height: 1.5; color: var(--ink-2); flex: 1; }
.charity .btn { align-self: stretch; text-align: center; white-space: nowrap; min-height: 3.75rem; font-size: 1.25rem; }
.feed-note { margin-top: 1.75rem; font-size: 1.05rem; color: #d8cfbd; }
@media (max-width: 960px) { .charities { grid-template-columns: 1fr; max-width: 36rem; } }

/* Reviews */
.reviews { padding: clamp(3rem, 7vw, 5rem) 0; }
.reviews h2 { margin-bottom: 1.25rem; }
.review-summary { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.15rem; }
.review-avg { font-family: var(--display); font-size: var(--step-3); font-weight: 700; }
.review-starsline { color: var(--red); font-size: 1.6rem; letter-spacing: .1em; }
.review-empty { color: var(--ink-2); }
.review-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.review-list li { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.review-form { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.25rem);
  display: grid; gap: .8rem; }
.review-form h3 { font-size: var(--step-2); margin-bottom: .25rem; }
.review-form label, .stars-field legend { font-weight: 700; font-size: 1.15rem; }
.stars-field { border: 0; padding: 0; margin: 0 0 .5rem; }
.stars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; margin-top: .6rem; max-width: 34rem; }
.review-form > * { min-width: 0; }
.star { display: grid; justify-items: center; gap: .1rem; padding: .5rem .2rem; min-height: 5.25rem; border-radius: 10px;
  border: 2px solid var(--rule); background: #fff; color: #b9ab8e; cursor: pointer; font-family: var(--body); }
.star-glyph { font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1; }
.star-word { font-size: .8rem; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.15; }
@media (max-width: 560px) { .star-word { display: none; } .star { min-height: 4rem; align-content: center; } }
.star.on { color: var(--red); border-color: var(--red); background: #fff6e0; }
.star:hover { border-color: var(--ink); }
.stars-chosen { margin-top: .5rem; font-weight: 700; }
textarea, input[type="text"], input[type="email"] { width: 100%; font: 1.2rem/1.5 var(--body); color: var(--ink); background: #fff;
  border: 2px solid #b8a98a; border-radius: 8px; padding: .8rem 1rem; min-height: var(--tap); }
textarea:focus, input:focus { border-color: var(--ink); outline: 3px solid var(--gold); outline-offset: 1px; }
.opt { font-weight: 400; color: var(--ink-2); }
.signin { border-top: 1px solid var(--rule); margin-top: .75rem; padding-top: 1.25rem; display: grid; gap: 1rem; }
.signin-why { color: var(--ink-2); font-size: 1.1rem; }
.signin-buttons { display: grid; gap: .8rem; }
.btn-google { background: #fff; color: var(--ink); border-color: #b8a98a; justify-self: start; }
.btn-google:hover { border-color: var(--ink); }
.or { font-weight: 700; color: var(--ink-2); }
.email-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.email-row input { flex: 1 1 16rem; }
.form-msg { font-weight: 700; min-height: 1.6em; }
.form-msg.warn { color: var(--red); }
.form-msg.ok { color: #1d5e2f; }

/* Email signup */
.notify { padding: clamp(3rem, 7vw, 5rem) 0; background: #efe0c2; border-top: 1px solid var(--rule); }
.notify-in { display: grid; grid-template-columns: 1fr minmax(18rem, 26rem); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.notify-copy { display: grid; gap: .9rem; max-width: 34rem; }
.notify-copy p:not(.eyebrow) { color: var(--ink-2); }
.notify-form { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .6rem; }
.notify-form label { font-weight: 700; font-size: 1.1rem; }
.notify-form .btn { margin-top: .5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .notify-in { grid-template-columns: 1fr; } }

/* Why I made this */
.why { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(3rem, 7vw, 5rem) 0; }
.why-in { display: grid; grid-template-columns: minmax(12rem, 22rem) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why-portrait { margin: 0; }
.why-portrait img { border-radius: 6px; border: 6px solid #fff; box-shadow: 0 12px 30px rgba(60,35,10,.25); transform: rotate(-1.5deg); }
.why-portrait figcaption { margin-top: .8rem; font-weight: 700; color: var(--ink-2); }
.why-text { display: grid; gap: 1.1rem; max-width: 40rem; }
.why-text h2 { margin-bottom: .25rem; }
.why-text p { font-size: 1.2rem; line-height: 1.7; }
.sign { font-family: var(--display); font-style: italic; }
.sign-name { font-style: normal; font-weight: 700; font-size: var(--step-1); }
@media (max-width: 760px) { .why-in { grid-template-columns: 1fr; } .why-portrait { max-width: 18rem; } }

/* Footer */
.foot { padding: 3rem 0 4rem; color: var(--ink-2); font-size: 1.05rem; }
.foot .wrap { display: grid; gap: .9rem; max-width: 52rem; }
.foot-logo { width: 8rem; margin-bottom: .5rem; }
.sources summary { cursor: pointer; font-weight: 700; color: var(--ink); min-height: var(--tap); display: flex; align-items: center; }
.sources ul { margin: .5rem 0 1rem; padding-left: 1.25rem; }

/* ---------- Reader ---------- */
body.reading { overflow: hidden; }
.reader { position: fixed; inset: 0; z-index: 50; background: radial-gradient(ellipse at 50% 40%, #23262e 0%, var(--night) 70%);
  color: #f4ecdc; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; font-size: 1.1rem; }
.reader[hidden] { display: none; }
.r-top, .r-bottom { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; background: rgba(0,0,0,.35); }
.r-top { justify-content: space-between; }
.r-title { font-family: var(--display); font-size: 1.15rem; flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-tools { display: flex; gap: .5rem; }
.rbtn { min-height: var(--tap); padding: .55rem 1rem; border-radius: 10px; border: 2px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08); color: #fff; font: 700 1.05rem/1.2 var(--body); cursor: pointer; white-space: nowrap; }
.rbtn:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.rbtn[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.rbtn:disabled { opacity: .35; cursor: default; }
.rbtn-exit { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.rbtn-exit:hover { background: #ffd447; border-color: #ffd447; color: var(--ink); }
.reader.panel-on #r-panel, .reader.panel-on #r-zoom { display: none; }
.r-bottom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem; }
.rbtn-big { min-width: 8.5rem; font-size: 1.2rem; }
.rbtn-next { background: var(--red); border-color: var(--red); }
.rbtn-next:hover { background: #d0202a; border-color: #d0202a; }
.r-where { display: grid; justify-items: center; line-height: 1.15; min-width: 0; max-width: 100%; justify-self: center; overflow: hidden; white-space: normal; text-align: center; }
.r-where-hint { font-weight: 400; font-size: .85rem; color: #d6ccb9; }
.r-stage { position: relative; overflow: hidden; display: grid; place-items: center; touch-action: pan-y; }
.r-book { position: relative; display: flex; perspective: 2600px; }
.r-slot { position: relative; }
.r-page { position: absolute; inset: 0; background: #fbdca5; overflow: hidden; }
.r-page img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.r-slot.l .r-page { box-shadow: -8px 10px 30px rgba(0,0,0,.55); }
.r-slot.r .r-page { box-shadow: 8px 10px 30px rgba(0,0,0,.55); }
.r-slot.single .r-page { box-shadow: 0 10px 34px rgba(0,0,0,.6); }
.r-page.empty { background: transparent; box-shadow: none !important; }
.r-gutter { position: absolute; top: 0; bottom: 0; left: 50%; width: 40px; margin-left: -20px; z-index: 5; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.25) 48%, rgba(0,0,0,.25) 52%, rgba(0,0,0,0)); }
.r-leaf { position: absolute; top: 0; transform-style: preserve-3d; z-index: 10; }
.r-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.r-face.back { transform: rotateY(180deg); }
.r-shade { position: absolute; inset: 0; pointer-events: none; }
.r-hit { position: absolute; top: 0; bottom: 0; width: 34%; z-index: 20; background: transparent; border: 0; cursor: pointer; padding: 0; }
.r-hit-l { left: 0; cursor: w-resize; }
.r-hit-r { right: 0; cursor: e-resize; }
.r-hit:focus-visible { outline: 4px solid var(--gold); outline-offset: -6px; }
.reader.zoomed .r-hit { display: none; }
.reader.zoomed .r-stage { cursor: grab; touch-action: none; }
.r-zoomwrap { position: absolute; inset: 0; overflow: hidden; }
.r-panelview { position: absolute; inset: 0; overflow: hidden; z-index: 15; background: radial-gradient(ellipse at 50% 40%, #23262e 0%, var(--night) 70%); }
.r-panelview img { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none;
  transition: transform .7s cubic-bezier(.25,.8,.25,1), clip-path .7s cubic-bezier(.25,.8,.25,1); will-change: transform; }
.r-panelview.instant img { transition: none; }
@media (prefers-reduced-motion: reduce) { .r-panelview img { transition: none; } }
.r-tip, .r-end, .r-grid { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(10,11,14,.82); padding: 1.25rem; }
.r-tip[hidden], .r-end[hidden], .r-grid[hidden], .r-panelview[hidden] { display: none; }
.r-tip-card, .r-end-card { background: var(--paper-2); color: var(--ink); border-radius: 14px; padding: 2rem; max-width: 30rem; display: grid; gap: 1rem;
  font-size: 1.2rem; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.r-tip-head, .r-end-head { font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1.15; }
.r-end-card { background: var(--ink); color: #f8f1e3; max-width: 34rem; }
.r-end-actions { display: grid; gap: .7rem; margin-top: .5rem; }
.r-grid { place-items: stretch; align-content: start; overflow: auto; background: rgba(10,11,14,.96); }
.r-grid-head { display: flex; justify-content: space-between; align-items: center; max-width: 70rem; width: 100%; margin: 0 auto 1rem; }
.r-grid-head p { font-family: var(--display); font-size: var(--step-2); font-weight: 700; }
.r-grid-list { list-style: none; margin: 0 auto; padding: 0; max-width: 70rem; width: 100%; display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.r-grid-list button { width: 100%; background: none; border: 3px solid transparent; border-radius: 8px; padding: .3rem; color: #f4ecdc; cursor: pointer;
  display: grid; gap: .35rem; text-align: left; font: 700 .95rem/1.3 var(--body); }
.r-grid-list button:hover, .r-grid-list button[aria-current="true"] { border-color: var(--gold); }
.r-grid-list img { width: 100%; aspect-ratio: 1696/2528; object-fit: cover; border-radius: 3px; }
.r-grid-list .n { color: var(--gold); }
@media (max-width: 760px) {
  .r-title { display: none; }
  .r-top { flex-wrap: nowrap; }
  .r-tools .r-fs { display: none; }
  .rbtn { padding: .5rem .7rem; font-size: 1rem; }
  .rbtn-big { min-width: 0; padding: .5rem .8rem; }
  .r-where-hint { display: none; }
}
@media (max-width: 380px) { .r-zoom-btn-label { display: none; } }
