/* ==========================================================================
   SJF VENTURES LLC — THE BOOKSTORE
   Loaded AFTER styles.css. Inherits every token from the main design system.
   Act theming (act-ink / act-paper / act-parchment / act-bright) still applies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. THE SHELF TOOLBAR — search, filters, sort
   -------------------------------------------------------------------------- */

.shelf-tools {
  display: grid;
  gap: 1.6rem;
  margin-bottom: clamp(2.6rem, 1.4rem + 3vw, 4.2rem);
  padding-bottom: 1.9rem;
  border-bottom: 1px solid var(--rule);
}

.shelf-tools-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
}

/* ---- Search ------------------------------------------------------------- */

.shelf-search {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
}

.shelf-search svg {
  position: absolute;
  left: .95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  opacity: .48;
  pointer-events: none;
}

.shelf-search input {
  width: 100%;
  padding: .82rem 2.6rem .82rem 2.7rem;
  font-family: var(--body);
  font-size: var(--t-body);
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}

.shelf-search input::placeholder { color: var(--fg-faint); }

/* Chrome draws its own clear "x" on type=search, which doubled up with ours. */
.shelf-search input::-webkit-search-cancel-button,
.shelf-search input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.shelf-search input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(201, 164, 76, .05);
}

.shelf-search .clear-search {
  position: absolute;
  right: .55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: none;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--fg-faint);
  border-radius: 50%;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.shelf-search .clear-search:hover { color: var(--fg); background: rgba(128,128,128,.12); }
.shelf-search.has-value .clear-search { display: grid; }

/* ---- Filter chips ------------------------------------------------------- */

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.filter-label {
  font-family: var(--ui);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-right: .35rem;
  white-space: nowrap;
}

.chip {
  position: relative;
  font-family: var(--ui);
  font-size: .8rem;
  letter-spacing: .045em;
  color: var(--fg-soft);
  padding: .44rem .92rem;
  border: 1px solid var(--rule);
  border-radius: 100px;
  overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}

.chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
  z-index: -1;
}

.chip:hover { color: var(--fg); border-color: var(--accent); }

.chip[aria-pressed="true"] {
  color: var(--ink-900);
  border-color: var(--accent);
  background: var(--accent);
}
.act-paper .chip[aria-pressed="true"],
.act-parchment .chip[aria-pressed="true"],
.act-bright .chip[aria-pressed="true"] {
  background: var(--ink-800);
  border-color: var(--ink-800);
  color: var(--paper-50);
}

.chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- Sort + count ------------------------------------------------------- */

.shelf-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.shelf-count {
  font-family: var(--ui);
  font-size: var(--t-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.shelf-count b { color: var(--fg-soft); font-weight: 600; }

.shelf-sort {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.shelf-sort select {
  font-family: var(--ui);
  font-size: .82rem;
  color: var(--fg-soft);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: .42rem 2rem .42rem .7rem;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  transition: border-color .35s var(--ease);
}
.shelf-sort select:hover { border-color: var(--accent); }
.shelf-sort select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shelf-sort select option { background: var(--paper-50); color: var(--ink-900); }

/* --------------------------------------------------------------------------
   2. THE SHELF — grid of volumes
   -------------------------------------------------------------------------- */

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(2rem, 1rem + 2.6vw, 3.4rem) clamp(1.4rem, .8rem + 1.8vw, 2.4rem);
}

/* Below the auto-fill breakpoint a single full-width cover per screen means
   endless scrolling. Two across reads like a real shelf. */
@media (max-width: 620px) {
  .shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.9rem 1.1rem;
  }
  .vol-title  { font-size: 1rem; }
  .vol-author { font-size: .86rem; }
}

/* one physical volume */
.vol {
  display: flex;
  flex-direction: column;
  perspective: 1200px;
  opacity: 0;
  transform: translateY(18px);
  animation: vol-in .7s var(--ease-soft) forwards;
  animation-delay: var(--vd, 0s);
}

@keyframes vol-in {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vol { animation: none; opacity: 1; transform: none; }
}

.vol.is-hidden { display: none; }

.vol-link {
  display: block;
  border-radius: 2px;
}

/* Titles wrap to different depths, which left the year lines ragged across a
   row. Let the card fill its grid cell and push the year to the bottom. */
.vol > .vol-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vol > .vol-link > .vol-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vol > .vol-link > .vol-body > .vol-year { margin-top: auto; padding-top: .5rem; }
.vol-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

/* ---- The cover as an object -------------------------------------------- */

.vol-cover {
  position: relative;
  aspect-ratio: 1 / 1.5;
  overflow: hidden;
  border-radius: 1px 3px 3px 1px;
  background: var(--ink-700);
  box-shadow:
    0 16px 34px rgba(22, 18, 12, .26),
    0 2px 7px rgba(22, 18, 12, .18);
  transform-style: preserve-3d;
  transition:
    transform .55s var(--ease-soft),
    box-shadow .7s var(--ease-soft);
  will-change: transform;
}

.vol-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* the spine shadow — makes it read as a physical book */
.vol-cover::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 11px;
  background: linear-gradient(to right,
    rgba(0,0,0,.38), rgba(0,0,0,.14) 42%, rgba(0,0,0,.02) 78%, transparent);
  z-index: 3;
  pointer-events: none;
}

/* a slow gloss that sweeps on hover */
.vol-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 40%, rgba(255,255,255,.17) 50%, transparent 60%);
  background-size: 300% 100%;
  background-position: 200% 0;
  transition: background-position 1.05s var(--ease-soft);
  z-index: 4;
  pointer-events: none;
}

.vol:hover .vol-cover,
.vol-link:focus-visible .vol-cover {
  transform: translateY(-8px) rotateY(-7deg) rotateX(2deg) scale(1.015);
  box-shadow:
    0 30px 58px rgba(22, 18, 12, .34),
    0 4px 12px rgba(22, 18, 12, .2);
}
.vol:hover .vol-cover::after { background-position: -80% 0; }

@media (prefers-reduced-motion: reduce) {
  .vol:hover .vol-cover { transform: translateY(-5px); }
}

/* ---- Ribbons & badges --------------------------------------------------- */

/* Corner banners. The band overhangs the cover on both ends so it reads as a
   ribbon, but the words sit near the middle where nothing clips them. */
.vol-ribbon,
.vol-flag {
  position: absolute;
  top: 20px;
  z-index: 5;
  width: 160px;
  padding: .32rem 0;
  text-align: center;
  font-family: var(--ui);
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,.32);
}

.vol-ribbon {
  left: -30px;
  transform: rotate(-45deg);
  color: var(--paper-50);
  background: var(--oxblood);
}

.vol-flag {
  right: -30px;
  transform: rotate(45deg);
  color: var(--ink-900);
  background: var(--brass);
}

/* ---- Card text ---------------------------------------------------------- */

.vol-body { padding-top: 1.05rem; }

.vol-genre {
  font-family: var(--ui);
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .5rem;
}
.act-paper .vol-genre,
.act-parchment .vol-genre,
.act-bright .vol-genre { color: var(--sepia); }

.vol-title {
  font-family: var(--display);
  font-size: clamp(1.06rem, .98rem + .32vw, 1.24rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.011em;
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 40;
  color: var(--fg);
  position: relative;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .5s var(--ease);
}
.vol:hover .vol-title { background-size: 100% 1px; }

.vol-author {
  font-family: var(--body);
  font-style: italic;
  font-size: .93rem;
  color: var(--fg-soft);
  margin-top: .42rem;
}

.vol-year {
  font-family: var(--ui);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  color: var(--fg-faint);
  margin-top: .5rem;
}

/* ---- Empty state -------------------------------------------------------- */

.shelf-empty {
  display: none;
  text-align: center;
  padding: clamp(3.5rem, 2rem + 5vw, 6rem) 1rem;
  border: 1px dashed var(--rule);
  border-radius: 3px;
}
.shelf-empty.is-shown { display: block; }

.shelf-empty .fleuron-lg {
  font-size: 1.6rem;
  letter-spacing: .5em;
  color: var(--accent);
  opacity: .5;
  margin-bottom: 1.4rem;
}
.shelf-empty h3 {
  font-family: var(--display);
  font-size: var(--t-md);
  font-weight: 400;
  margin-bottom: .7rem;
}
.shelf-empty p { color: var(--fg-soft); margin-bottom: 1.6rem; }

/* --------------------------------------------------------------------------
   3. THE BOOK PAGE — a single tome
   -------------------------------------------------------------------------- */

.tome-hero { padding-block: clamp(6.5rem, 4rem + 9vw, 10rem) clamp(4rem, 2.4rem + 6vw, 7rem); }

.tome-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.4rem, 1.2rem + 4.4vw, 5.5rem);
  align-items: center;
}

@media (max-width: 860px) {
  .tome-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .tome-cover-frame { max-width: 300px; margin-inline: auto; }
}

/* ---- The displayed cover ------------------------------------------------ */

.tome-cover-frame { perspective: 1500px; }

.tome-cover {
  position: relative;
  aspect-ratio: 1 / 1.5;
  overflow: hidden;
  border-radius: 2px 5px 5px 2px;
  box-shadow:
    0 34px 74px rgba(6, 5, 4, .5),
    0 6px 18px rgba(6, 5, 4, .34);
  transform: rotateY(-11deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease-soft), box-shadow .8s var(--ease-soft);
  will-change: transform;
}
.tome-cover img { width: 100%; height: 100%; object-fit: cover; }

.tome-cover::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 16px;
  background: linear-gradient(to right,
    rgba(0,0,0,.44), rgba(0,0,0,.16) 44%, rgba(0,0,0,.03) 80%, transparent);
  z-index: 3;
}
.tome-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 38%, rgba(255,255,255,.16) 50%, transparent 62%);
  background-size: 300% 100%;
  background-position: 200% 0;
  transition: background-position 1.3s var(--ease-soft);
  z-index: 4;
}
.tome-cover-frame:hover .tome-cover {
  transform: rotateY(-4deg) rotateX(1deg) translateY(-6px);
}
.tome-cover-frame:hover .tome-cover::after { background-position: -80% 0; }

@media (prefers-reduced-motion: reduce) {
  .tome-cover, .tome-cover-frame:hover .tome-cover { transform: none; }
}

/* ---- Title block -------------------------------------------------------- */

.tome-genre {
  font-family: var(--ui);
  font-size: var(--t-xs);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.3rem;
}
.tome-genre::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 90px;
  background: var(--rule);
}

.tome-title {
  font-family: var(--display);
  font-size: clamp(2.3rem, 1.5rem + 3.1vw, 4.1rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.022em;
  font-variation-settings: "SOFT" 28, "WONK" 1, "opsz" 96;
}
.tome-title em { font-style: italic; }

.tome-subtitle {
  font-family: var(--body);
  font-style: italic;
  font-size: var(--t-md);
  color: var(--fg-soft);
  margin-top: .85rem;
  line-height: 1.32;
}

.tome-byline {
  font-family: var(--ui);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.tome-byline b { color: var(--fg); font-weight: 500; letter-spacing: .1em; }

.tome-tagline {
  font-family: var(--hand);
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.72rem);
  color: var(--hand-ink);
  line-height: 1.28;
  margin-top: 1.7rem;
  transform: rotate(-.5deg);
}

.tome-blurb {
  font-size: var(--t-lede);
  line-height: 1.62;
  color: var(--fg-soft);
  margin-top: 1.5rem;
  max-width: 54ch;
}

/* ---- Buy row ------------------------------------------------------------ */

.tome-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2.2rem;
}

.tome-price {
  font-family: var(--ui);
  font-size: var(--t-sm);
  color: var(--fg-faint);
  letter-spacing: .04em;
}
.tome-price b {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0;
  margin-right: .18rem;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
}
.btn-amazon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.tome-formats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.fmt {
  font-family: var(--ui);
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding: .35rem .78rem;
  border: 1px solid var(--rule);
  border-radius: 100px;
}

.soon-note {
  font-family: var(--ui);
  font-size: var(--t-sm);
  letter-spacing: .06em;
  color: var(--oxblood-lt);
  padding: .8rem 1.1rem;
  border-left: 2px solid var(--oxblood-lt);
  background: rgba(147, 52, 35, .08);
}

/* --------------------------------------------------------------------------
   4. SYNOPSIS + SPECIFICATIONS
   -------------------------------------------------------------------------- */

.tome-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr);
  gap: clamp(2.4rem, 1.2rem + 4vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .tome-body { grid-template-columns: 1fr; }
}

.synopsis > h2 {
  font-family: var(--display);
  font-size: var(--t-lg);
  font-weight: 400;
  letter-spacing: -.014em;
  margin-bottom: 1.5rem;
}

.synopsis p {
  font-size: var(--t-body);
  line-height: 1.78;
  margin-bottom: 1.25rem;
  max-width: 66ch;
}

/* drop cap on the first paragraph — this is a publisher, after all */
.synopsis p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 3.65em;
  line-height: .82;
  font-weight: 400;
  padding: .06em .1em 0 0;
  color: var(--accent);
}
.act-paper .synopsis p:first-of-type::first-letter,
.act-parchment .synopsis p:first-of-type::first-letter,
.act-bright .synopsis p:first-of-type::first-letter { color: var(--sepia); }

/* ---- Spec panel --------------------------------------------------------- */

.specs {
  padding: 1.9rem 1.8rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  position: relative;
}
.specs::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  pointer-events: none;
}

.specs h3 {
  font-family: var(--ui);
  font-size: var(--t-xs);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.35rem;
}
.act-paper .specs h3,
.act-parchment .specs h3,
.act-bright .specs h3 { color: var(--sepia); }

.specs dl { display: grid; gap: .05rem; }

.specs .spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  padding: .68rem 0;
  border-bottom: 1px dotted var(--rule);
}
.specs .spec-row:last-child { border-bottom: none; }

.specs dt {
  font-family: var(--ui);
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fg-faint);
  white-space: nowrap;
}
.specs dd {
  font-family: var(--body);
  font-size: .95rem;
  color: var(--fg);
  text-align: right;
}

/* --------------------------------------------------------------------------
   5. PRAISE + AUTHOR
   -------------------------------------------------------------------------- */

.praise-list { display: grid; gap: 2rem; max-width: 74ch; margin-inline: auto; }

.praise {
  position: relative;
  padding-left: 2.6rem;
}
.praise::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -.32em;
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: .42;
}
.praise blockquote {
  font-family: var(--body);
  font-style: italic;
  font-size: var(--t-md);
  line-height: 1.52;
}
.praise cite {
  display: block;
  margin-top: .85rem;
  font-family: var(--ui);
  font-style: normal;
  font-size: var(--t-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.praise cite::before { content: "— "; }

.author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.8rem);
  align-items: start;
  max-width: 74ch;
  margin-inline: auto;
}
@media (max-width: 600px) {
  .author-card { grid-template-columns: 1fr; }
}

.author-mark {
  width: clamp(74px, 16vw, 104px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rule);
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: .02em;
  position: relative;
}
.author-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dotted var(--rule);
  border-radius: 50%;
}
.act-paper .author-mark,
.act-parchment .author-mark,
.act-bright .author-mark { color: var(--sepia); }

.author-card h3 {
  font-family: var(--display);
  font-size: var(--t-md);
  font-weight: 400;
  margin-bottom: .3rem;
}
.author-card .role {
  font-family: var(--ui);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1rem;
}
.author-card p { line-height: 1.72; color: var(--fg-soft); }

/* --------------------------------------------------------------------------
   6. ALSO ON THE SHELF
   -------------------------------------------------------------------------- */

.also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.4rem, .8rem + 1.8vw, 2.4rem);
  max-width: 900px;
  margin-inline: auto;
}

/* ---- Back link ---------------------------------------------------------- */

.back-to-shelf {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ui);
  font-size: var(--t-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 2.2rem;
  transition: color .35s var(--ease), gap .35s var(--ease);
}
.back-to-shelf:hover { color: var(--accent); gap: .95rem; }
.back-to-shelf .arrow { transition: transform .4s var(--ease); }
.back-to-shelf:hover .arrow { transform: translateX(-3px); }

/* --------------------------------------------------------------------------
   7. FEATURED STRIP on the shelf page
   -------------------------------------------------------------------------- */

.featured-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.8rem, 1rem + 2.4vw, 3.2rem);
}

.feat { perspective: 900px; }

.feat .vol-link {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1.3rem;
  align-items: center;
}

.feat .vol-body,
.feat .feat-body { padding-top: 0; }

.feat .vol-cover { box-shadow: 0 12px 28px rgba(6,5,4,.4), 0 2px 6px rgba(6,5,4,.3); }
.feat:hover .vol-cover { transform: translateY(-5px) rotateY(-9deg); }

.feat-body .vol-genre { margin-bottom: .38rem; }
.feat-body .vol-title { font-size: 1.1rem; }
.feat-body .vol-author { font-size: .87rem; margin-top: .34rem; }

@media (max-width: 480px) {
  .feat .vol-link { grid-template-columns: 78px minmax(0, 1fr); gap: 1rem; }
}

/* --------------------------------------------------------------------------
   8. UTILITIES
   -------------------------------------------------------------------------- */

/* label text for screen readers only */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* grid children must be allowed to shrink or long titles force overflow */
.tome-copy { min-width: 0; }
