:root {
  --ink: #17233c;
  --paper: #f8f5ee;
  --surface: #ffffff;
  --wine: #7a2f3b;
  --copper: #aa7449;
  --gold: #c18a42;
  --line: #d9d4ca;
  --muted: #606779;
  --soft-ink: #d7dbe2;
  --shadow: 0 18px 36px rgba(23, 35, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select {
  font-size: 16px;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bd7546;
  outline-offset: 3px;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 35, 60, 0.12);
  background: rgba(248, 245, 238, 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-shell {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: min-height 180ms ease;
}

.site-header.is-condensed {
  border-bottom-color: rgba(23, 35, 60, 0.22);
  background: rgba(23, 35, 60, 0.97);
  box-shadow: 0 8px 24px rgba(23, 35, 60, 0.16);
  color: #fff;
}

.site-header.is-condensed .nav-shell {
  min-height: 66px;
}

.site-header.is-condensed .brand small {
  color: #efbd86;
}

.site-header.is-condensed .button-small {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.site-header.is-condensed .mobile-menu-trigger {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #fff;
}

.breadcrumb-bar {
  border-bottom: 1px solid var(--line);
  background: #fffdf9;
}

.breadcrumb-list {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  margin-block: 0;
  padding-block: 0;
  list-style: none;
  scrollbar-width: none;
  white-space: nowrap;
}

.breadcrumb-list::-webkit-scrollbar {
  display: none;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 14px;
  border-top: 1px solid #9b9184;
  border-right: 1px solid #9b9184;
  transform: rotate(45deg);
}

.breadcrumb-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-list a:hover {
  color: var(--wine);
}

.breadcrumb-list [aria-current="page"] {
  max-width: min(54vw, 520px);
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand sup {
  font-size: 0.52em;
  vertical-align: super;
}

.brand small {
  display: block;
  margin-top: 7px;
  color: var(--wine);
  font: 700 10px/1.2 Inter, ui-sans-serif, sans-serif;
  letter-spacing: 0.18em;
}

.desktop-nav,
.detail-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.desktop-nav > a:not(.button),
.detail-nav > a:not(.button) {
  padding: 12px 0;
}

.desktop-nav > a:not(.button):hover,
.detail-nav > a:not(.button):hover {
  color: var(--wine);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #243450;
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: #fff;
}

.mobile-catalogue {
  display: none;
  min-height: 40px;
  align-items: center;
  font-size: 13px;
  font-weight: 750;
}

.mobile-menu-trigger,
.mobile-menu-panel {
  display: none;
}

.mobile-menu-trigger {
  min-width: 76px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: 750 13px/1 Inter, ui-sans-serif, sans-serif;
}

.mobile-menu-trigger svg,
.filter-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mobile-menu-panel[hidden],
.filter-controls[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 600px;
  margin-bottom: 26px;
  font-size: clamp(58px, 6.4vw, 84px);
  font-weight: 600;
  line-height: 0.96;
}

h2 {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: clamp(44px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1;
}

h3 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.04;
}

.lead {
  max-width: 590px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-label {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: 584px;
  grid-template-columns: 1fr 0.98fr;
  align-items: center;
  gap: 72px;
  padding-block: 78px;
}

.hero-covers {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.94), transparent 52%),
    linear-gradient(135deg, #e8e0d3, #fbf9f3);
}

.hero-covers::after {
  position: absolute;
  right: 8%;
  bottom: 49px;
  left: 8%;
  height: 10px;
  border-radius: 50%;
  background: #5a3d2d;
  box-shadow: 0 16px 22px rgba(47, 31, 22, 0.25);
  content: "";
}

.hero-cover {
  position: absolute;
  z-index: 2;
  bottom: 58px;
  width: 29%;
  transition: transform 180ms ease;
}

.hero-cover:hover {
  z-index: 3;
}

.hero-cover img {
  width: 100%;
  aspect-ratio: 0.647;
  display: block;
  object-fit: cover;
  box-shadow: 10px 15px 24px rgba(23, 35, 60, 0.25);
}

.hero-cover-left {
  left: 14%;
  transform: rotate(-5deg) translateY(8px);
}

.hero-cover-left:hover {
  transform: rotate(-3deg) translateY(-2px);
}

.hero-cover-center {
  left: 35.5%;
  z-index: 3;
  width: 31%;
  transform: translateY(-10px);
}

.hero-cover-center:hover {
  transform: translateY(-18px);
}

.hero-cover-right {
  right: 13%;
  transform: rotate(5deg) translateY(10px);
}

.hero-cover-right:hover {
  transform: rotate(3deg) translateY(0);
}

.intro {
  padding-block: 80px 92px;
  border-top: 1px solid var(--line);
}

.imprints {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.imprint {
  position: relative;
  min-height: 270px;
  padding: 32px 30px 34px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.imprint:last-child {
  border-right: 0;
}

.imprint:hover {
  z-index: 1;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.imprint:focus-visible {
  z-index: 2;
}

.imprint-mark {
  width: 38px;
  height: 38px;
  display: block;
  margin-bottom: 30px;
  border-radius: 50%;
}

.imprint-refractive .imprint-mark {
  background: var(--ink);
}

.imprint-pensiero .imprint-mark {
  background: var(--wine);
}

.imprint-natatore .imprint-mark {
  background: var(--gold);
}

.imprint h3 {
  margin-bottom: 14px;
  font-size: 31px;
}

.imprint p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.imprint-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 750;
}

.catalogue-authors,
.detail-byline {
  margin: -2px 0 16px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.catalogue-cover-placeholder {
  width: min(78%, 210px);
  aspect-ratio: 0.65;
  display: grid;
  place-items: center;
  margin-inline: auto;
  padding: 24px;
  background: linear-gradient(145deg, #7a2f3b, #381d2b);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.05;
  text-align: center;
  box-shadow: var(--shadow);
}

.detail-cover-frame .catalogue-cover-placeholder {
  width: min(100%, 320px);
}

.author-hero {
  padding-block: 88px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f8f5ee 0%, #eee7dc 100%);
}

.author-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: 72px;
}

.author-hero h1 {
  max-width: 820px;
}

.author-profile-summary {
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.author-profile-summary > span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 0.9;
}

.author-profile-summary p {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.author-profile-summary strong {
  color: var(--wine);
  font-size: 12px;
  line-height: 1.5;
}

.author-book-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.author-book {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.author-book:hover strong {
  color: var(--wine);
}

.author-book img {
  width: 72px;
  aspect-ratio: 0.65;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(23, 35, 60, 0.14);
}

.author-book span {
  display: grid;
  gap: 6px;
}

.author-book small {
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-book strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  transition: color 160ms ease;
}

.author-book em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.chapter p small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.imprint:hover .imprint-action {
  color: #5f202b;
}

.imprint-landing {
  min-height: calc(100vh - 94px);
  display: grid;
  align-items: center;
  padding-block: 80px;
}

.imprint-landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 88px;
}

.imprint-landing h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.imprint-landing-copy {
  max-width: 680px;
  margin: 0 0 30px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.55;
}

.imprint-landing-panel {
  padding: 38px;
  border: 1px solid var(--line);
  background: #fff;
}

.imprint-landing-panel h2 {
  margin-bottom: 18px;
  font-size: 38px;
}

.imprint-landing-panel p {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.65;
}

.imprint-catalogue-status {
  min-height: 130px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.imprint-catalogue-status span {
  color: var(--muted);
  font-size: 13px;
}

.imprint-catalogue-status strong {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.anthology {
  padding-block: 82px;
  background: var(--ink);
  color: var(--paper);
}

.anthology-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.anthology .section-label {
  color: #e0ad75;
}

.anthology h2 {
  margin-bottom: 0;
}

.anthology p:not(.section-label) {
  max-width: 620px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 17px;
  line-height: 1.7;
}

.relationship {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.relationship span {
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
}

.relationship i {
  color: #e0ad75;
  font-size: 20px;
  font-style: normal;
}

.catalogue {
  padding-block: 88px 112px;
}

.catalogue-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 30px;
}

.catalogue-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(48px, 4.8vw, 64px);
  line-height: 0.98;
}

.catalogue-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.catalogue-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.filter-toggle {
  display: none;
}

.filter-controls {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.filter-clear {
  display: none;
}

.catalogue-tools label {
  display: grid;
  gap: 8px;
}

.catalogue-tools label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.catalogue-tools input,
.catalogue-tools select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c8c2b7;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.catalogue-tools input:hover,
.catalogue-tools select:hover {
  border-color: #9e9588;
}

.catalogue-tools input:focus,
.catalogue-tools select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(122, 47, 59, 0.1);
  outline: 0;
}

.search-field,
.search-combobox {
  position: relative;
}

.search-field {
  grid-column: 1 / -1;
}

.search-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(580px, calc(100vw - 48px));
  max-height: 390px;
  overflow-y: auto;
  border: 1px solid #c8c2b7;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(23, 35, 60, 0.2);
}

.search-suggestions[hidden] {
  display: none;
}

.search-suggestion {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid #e6e1d8;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.search-suggestion:last-child {
  border-bottom: 0;
}

.search-suggestion:hover,
.search-suggestion.is-active {
  background: #f3eee6;
}

.search-suggestion-type {
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-suggestion-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.search-suggestion-copy strong,
.search-suggestion-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
}

.search-suggestion-copy small {
  color: var(--muted);
  font-size: 11px;
}

.search-suggestion-arrow {
  color: var(--wine);
  font-size: 18px;
}

.search-suggestion-empty {
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
}

.catalogue-status {
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalogue-card {
  min-width: 0;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.catalogue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.catalogue-cover-link {
  display: block;
  align-self: center;
}

.catalogue-cover {
  width: 150px;
  aspect-ratio: 0.647;
  display: block;
  margin: 0 auto 24px;
  object-fit: cover;
  box-shadow: 7px 10px 18px rgba(23, 35, 60, 0.19);
}

.catalogue-meta {
  margin: 0 0 11px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalogue-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.catalogue-card h3 a:hover {
  color: var(--wine);
}

.catalogue-card .summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.catalogue-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e6e1d8;
}

.catalogue-card-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

.catalogue-card-footer a:hover {
  color: var(--wine);
}

.contributor-count {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.loading-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 42px 0;
  color: var(--muted);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 52px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 48px;
  background: var(--ink);
  color: var(--paper);
}

.footer-layout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.brand-light small {
  color: #e0ad75;
}

.site-footer p {
  max-width: 480px;
  margin: 10px 0 0;
  color: #cbd0d9;
  font-size: 13px;
  line-height: 1.55;
}

.site-footer .footer-copyright {
  margin-top: 18px;
  color: #fff;
  font-size: 12px;
}

.author-biography-copy p {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.author-biography-copy .author-biography-status {
  max-width: 650px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.author-profile-links {
  margin-top: 28px;
}

.footer-layout > p {
  text-align: right;
}

/* Title detail */
.detail-root {
  min-height: 70vh;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  align-items: start;
  gap: 80px;
  padding-block: 72px 80px;
}

.detail-cover-frame {
  position: sticky;
  top: 32px;
  padding: 38px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #e9e1d5, #fffdf8);
}

.detail-cover {
  width: min(100%, 310px);
  display: block;
  margin-inline: auto;
  box-shadow: 12px 17px 28px rgba(23, 35, 60, 0.24);
}

.detail-meta {
  margin-bottom: 18px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.detail-copy h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(52px, 5.4vw, 76px);
  line-height: 0.97;
}

.detail-summary {
  max-width: 720px;
  margin: 0 0 26px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.55;
}

.format-panel {
  max-width: 720px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.format-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.format-availability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.format-availability {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
}

.format-availability h3 {
  margin: 5px 0 12px;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

.format-availability > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.format-availability-status {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: #a6a098;
}

.format-availability.is-available .format-availability-status {
  background: #2f7553;
}

.format-availability .format-actions {
  display: grid;
  gap: 8px;
}

.format-availability .button {
  width: 100%;
  min-height: 42px;
  padding-inline: 11px;
  font-size: 12px;
}

.rights-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.detail-section {
  padding-block: 72px;
  border-top: 1px solid var(--line);
}

.detail-section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 64px;
}

.detail-section h2 {
  margin: 0;
  font-size: 44px;
}

.detail-body {
  max-width: 760px;
}

.detail-body p {
  margin: 0 0 18px;
  color: #3f485a;
  font-size: 16px;
  line-height: 1.75;
}

.term-list {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.term-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.contributors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.contributor-link {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.contributor-link:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.contributor-link:nth-child(even) {
  padding-left: 24px;
}

.contributor-link::after {
  color: var(--wine);
  font-family: Inter, sans-serif;
  font-size: 15px;
  content: "↗";
}

.contributor-link:hover {
  color: var(--wine);
}

.chapter-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.chapter {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.chapter-number {
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter p {
  margin: 0;
  color: #3f485a;
  line-height: 1.65;
}

.chapter-destination {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  color: #3f485a;
  line-height: 1.65;
}

.chapter-destination strong {
  flex: 0 0 auto;
  color: var(--wine);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 12px;
}

.chapter-destination:hover span {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.related-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-source {
  padding-block: 56px 80px;
  border-top: 1px solid var(--line);
}

.detail-source p {
  max-width: 700px;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1399px) {
  .catalogue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogue-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .catalogue-tools {
    max-width: 860px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 32px, 1160px);
  }

  .site-header {
    background: rgba(248, 245, 238, 0.94);
  }

  .nav-shell {
    min-height: 80px;
    gap: 16px;
  }

  .site-header.is-condensed .nav-shell {
    min-height: 62px;
  }

  .site-header.is-condensed .brand {
    font-size: 17px;
  }

  .breadcrumb-list {
    min-height: 42px;
  }

  .brand {
    min-width: 0;
    overflow: hidden;
    font-size: 19px;
    text-overflow: ellipsis;
  }

  .desktop-nav,
  .detail-nav {
    display: none;
  }

  .mobile-catalogue {
    display: none !important;
  }

  .mobile-menu-trigger {
    flex: 0 0 auto;
    display: inline-flex;
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% - 1px);
    right: 16px;
    left: 16px;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 24px 54px rgba(23, 35, 60, 0.2);
  }

  .mobile-menu-panel a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid #ece7df;
    font-size: 15px;
    font-weight: 750;
  }

  .mobile-menu-panel a:last-child {
    border-bottom: 0;
    background: var(--ink);
    color: #fff;
  }

  .mobile-menu-panel a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    color: var(--wine);
    transform: rotate(45deg);
  }

  .mobile-menu-panel a:last-child::after {
    color: #fff;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 58px 64px;
  }

  h1 {
    font-size: clamp(48px, 12vw, 58px);
  }

  .hero-covers {
    min-height: 340px;
  }

  .hero-cover {
    bottom: 49px;
    width: 30%;
  }

  .hero-cover-center {
    width: 32%;
  }

  .intro {
    padding-block: 64px 76px;
  }

  .imprints {
    grid-template-columns: 1fr;
  }

  .imprint {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .imprint:last-child {
    border-bottom: 0;
  }

  .anthology {
    padding-block: 68px;
  }

  .anthology-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .relationship i {
    flex: 0 0 auto;
    font-size: 16px;
  }

  .relationship {
    width: 100%;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .relationship::-webkit-scrollbar {
    display: none;
  }

  .relationship span {
    flex: 1 0 auto;
    padding: 10px 9px;
    font-size: 12px;
    text-align: center;
  }

  .catalogue {
    padding-block: 64px 80px;
  }

  .catalogue-tools {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .filter-toggle {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 15px;
    border: 1px solid #c8c2b7;
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font: 750 14px/1 Inter, ui-sans-serif, sans-serif;
  }

  .filter-toggle svg {
    transition: transform 160ms ease;
  }

  .filter-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .filter-toggle.has-active-filters {
    border-color: var(--wine);
    color: var(--wine);
  }

  .filter-controls {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 2px;
  }

  .filter-clear {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    color: var(--wine);
    font: 750 14px/1 Inter, ui-sans-serif, sans-serif;
  }

  .filter-clear:disabled {
    color: #9b9da5;
    cursor: not-allowed;
  }

  .catalogue-heading h2 {
    font-size: clamp(42px, 11vw, 50px);
  }

  .search-suggestions {
    width: 100%;
    max-height: min(390px, 46vh);
  }

  .catalogue-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalogue-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 0 20px;
    min-height: 0;
    padding: 20px;
  }

  .catalogue-cover-link {
    grid-column: 1;
    grid-row: 1 / span 5;
    align-self: start;
  }

  .catalogue-cover {
    width: 112px;
    margin: 0;
  }

  .catalogue-meta,
  .catalogue-card h3,
  .catalogue-authors,
  .catalogue-card .summary {
    grid-column: 2;
  }

  .catalogue-meta {
    margin-bottom: 8px;
  }

  .catalogue-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.02;
  }

  .catalogue-authors {
    margin: 0 0 10px;
    font-size: 12px;
  }

  .catalogue-card .summary {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }

  .catalogue-card-footer {
    grid-column: 1 / -1;
    min-height: 52px;
    align-items: center;
    margin-top: 18px;
    padding-top: 8px;
  }

  .catalogue-card-footer a {
    min-height: 44px;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-layout > p {
    text-align: left;
  }

  .detail-hero,
  .detail-section-grid,
  .imprint-landing-grid,
  .author-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .detail-hero {
    gap: 32px;
    padding-block: 32px 56px;
  }

  .detail-cover-frame {
    position: static;
    padding: 24px;
  }

  .detail-cover {
    width: min(56vw, 220px);
  }

  .detail-copy h1 {
    font-size: clamp(44px, 11vw, 52px);
    line-height: 0.98;
  }

  .detail-summary {
    font-size: 19px;
    line-height: 1.5;
  }

  .format-actions .button {
    min-height: 48px;
    flex: 1 1 150px;
  }

  .format-availability-grid {
    grid-template-columns: 1fr;
  }

  .format-availability .button {
    min-height: 48px;
  }

  .detail-section {
    padding-block: 48px;
  }

  .detail-section h2 {
    font-size: 38px;
  }

  .contributors {
    grid-template-columns: 1fr;
  }

  .contributor-link:nth-child(odd),
  .contributor-link:nth-child(even) {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding-inline: 0;
    border-right: 0;
  }

  .chapter {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .chapter-destination {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
