:root {
  --editions-ink: #161616;
  --editions-link: #111111;
  --editions-muted: #6f6a64;
  --editions-link-hover: #9b9690;
  --editions-line: #e5ded8;
  --editions-paper: #fbfaf8;
  --editions-panel: #f3f0ec;
  --editions-accent: #333333;
}

html {
  scroll-behavior: smooth;
}

.editions-site {
  color: var(--editions-ink);
  background: #fff;
  letter-spacing: 0;
}

.editions-site a {
  color: var(--editions-link);
}

.editions-site a:hover {
  color: var(--editions-link-hover);
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.editions-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--editions-line);
  backdrop-filter: blur(12px);
}

.header-shell {
  position: relative;
}

@media (min-width: 1400px) {
  .editions-site .container-xxl {
    max-width: min(1440px, calc(100vw - 96px));
  }
}

.header-top {
  position: relative;
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0 12px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(62vw, 408px);
  min-width: 252px;
}

.brand-logo img {
  display: block;
  width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.service-actions {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
}

.mini-search {
  position: relative;
  width: 150px;
}

.mini-search i {
  position: absolute;
  left: 13px;
  top: 50%;
  color: var(--editions-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.mini-search input {
  width: 100%;
  height: 42px;
  padding: 0 12px 0 36px;
  color: var(--editions-ink);
  background: #fff;
  border: 1px solid var(--editions-line);
  border-radius: 0;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mini-search input:focus {
  border-color: var(--editions-ink);
  box-shadow: 0 0 0 3px rgba(22, 22, 22, 0.06);
}

.language-current {
  height: 42px;
  border: 1px solid var(--editions-line);
  background: #fff;
}

.language-switcher {
  position: relative;
}

.language-current {
  min-width: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--editions-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
}

.cart-link {
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  color: var(--editions-ink);
  background: #fff;
  border: 1px solid var(--editions-line);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.cart-link:hover,
.cart-link:focus {
  color: var(--editions-ink);
  border-color: var(--editions-accent);
}

.cart-link strong {
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--editions-ink);
  border-radius: 999px;
  font-size: 11px;
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 92px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--editions-line);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.language-switcher.open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.language-menu a[aria-current="true"] {
  color: var(--editions-ink);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-has-dropdown::before {
  position: absolute;
  right: -16px;
  bottom: -12px;
  left: -16px;
  height: 12px;
  content: "";
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--editions-ink);
  background: #fff;
  border: 1px solid var(--editions-line);
  border-radius: 0;
  font-size: 20px;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus {
  color: var(--editions-link-hover);
  border-color: rgba(17, 17, 17, 0.32);
  outline: none;
}

.main-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  color: var(--editions-ink);
}

.main-nav .nav-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after,
.nav-item.active > .nav-link::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: absolute;
  left: 50%;
  top: calc(100% + 2px);
  min-width: 190px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--editions-line);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-align: left;
  text-transform: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 40;
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 16px;
  color: var(--editions-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  color: var(--editions-link-hover);
}

.catalogue-title {
  padding: clamp(42px, 7vw, 76px) 0 24px;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 9px;
  color: var(--editions-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalogue-title h1,
.product-summary h1,
.full-description h2 {
  margin: 0;
  color: var(--editions-ink);
  font-weight: 600;
  letter-spacing: 0;
}

.catalogue-title h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.search-title {
  padding: clamp(24px, 4vw, 40px) 0 10px;
}

.search-title h1 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.catalogue-section {
  padding: clamp(46px, 7vw, 78px) 0 clamp(70px, 9vw, 110px);
}

.catalogue-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
  margin: -16px auto clamp(28px, 4vw, 48px);
}

.catalogue-filter-form label {
  display: grid;
  gap: 7px;
  min-width: min(100%, 220px);
  color: var(--editions-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalogue-filter-form select {
  width: 100%;
  height: 44px;
  padding: 0 38px 0 14px;
  color: var(--editions-ink);
  background: #fff;
  border: 1px solid var(--editions-line);
  border-radius: 0;
  font: inherit;
  letter-spacing: 0;
  appearance: auto;
}

.catalogue-grid {
  display: grid;
  gap: clamp(28px, 3vw, 56px);
}

.catalogue-grid-single {
  grid-template-columns: minmax(230px, 330px);
  justify-content: center;
}

.catalogue-grid-six {
  grid-template-columns: repeat(3, minmax(220px, 380px));
  justify-content: center;
}

.catalogue-card {
  position: relative;
}

.catalogue-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: clamp(20px, 2vw, 34px);
  background: var(--editions-panel);
  border: 1px solid var(--editions-line);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.catalogue-card-image:hover {
  border-color: rgba(17, 17, 17, 0.32);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.catalogue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalogue-card-body {
  padding-top: 18px;
  text-align: center;
}

.catalogue-card-body h2 {
  margin: 0 0 5px;
  color: var(--editions-ink);
  font-size: 18px;
  font-weight: 600;
}

.catalogue-card-body p {
  margin: 0;
  color: var(--editions-ink);
  font-size: 15px;
  font-weight: 600;
}

.product-breadcrumb {
  background: var(--editions-paper);
  border-bottom: 1px solid var(--editions-line);
}

.product-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-breadcrumb .container {
  display: flex;
  padding-top: 13px;
  padding-bottom: 13px;
  color: var(--editions-muted);
  font-size: 13px;
}

.product-breadcrumb li + li::before {
  margin-right: 9px;
  color: var(--editions-muted);
  content: "/";
}

.product-breadcrumb a {
  color: var(--editions-ink);
  font-weight: 500;
}

.product-main {
  padding: clamp(42px, 7vw, 78px) 0 clamp(54px, 8vw, 92px);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.product-gallery {
  min-width: 0;
}

.product-main-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(460px, calc(100vh - 300px), 680px);
  min-height: 0;
  padding: clamp(20px, 3vw, 42px);
  background: var(--editions-panel);
  border: 1px solid var(--editions-line);
  overflow: hidden;
}

.product-main-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(540px, 100%);
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.product-thumbs button {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--editions-line);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-thumbs button.active,
.product-thumbs button:hover {
  border-color: var(--editions-accent);
  box-shadow: inset 0 0 0 1px var(--editions-accent);
}

.product-thumbs img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-summary {
  padding-top: 8px;
}

.product-summary h1 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.3vw, 52px);
  line-height: 1.08;
}

.format-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 680px;
  margin: 0 0 18px;
}

.format-option {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--editions-ink);
  background: #fff;
  border: 1px solid var(--editions-line);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.format-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.format-option span {
  position: relative;
  z-index: 1;
}

.format-option:hover,
.format-option.active {
  background: var(--editions-paper);
  border-color: var(--editions-accent);
  box-shadow: inset 0 0 0 1px var(--editions-accent);
}

.product-format-panel[hidden] {
  display: none;
}

.author-page .product-layout {
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
}

.author-main-image {
  min-height: auto;
  padding: clamp(18px, 3vw, 38px);
}

.author-main-image img {
  width: 100%;
  max-width: min(460px, 100%);
  max-height: 680px;
  object-fit: contain;
}

.author-bio {
  max-width: 760px;
  color: var(--editions-muted);
  font-size: 16px;
  line-height: 1.85;
}

.author-bio p {
  margin: 0 0 18px;
}

.author-bio p:last-child {
  margin-bottom: 0;
}

.product-facts {
  width: 100%;
  max-width: 680px;
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 22px 0;
  border-top: 1px solid var(--editions-line);
  border-bottom: 1px solid var(--editions-line);
}

.product-facts div {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: baseline;
}

.product-facts a {
  color: var(--editions-link);
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
}

.product-facts a:hover {
  color: var(--editions-link-hover);
  border-bottom-color: rgba(155, 150, 144, 0.45);
}

.product-facts dt {
  min-width: 0;
  color: var(--editions-ink);
  font-weight: 700;
}

.product-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--editions-muted);
  overflow-wrap: anywhere;
}

.short-description {
  max-width: 680px;
  margin: 0 0 32px;
  color: var(--editions-muted);
  font-size: 16px;
  line-height: 1.8;
}

.rich-description :is(p, ul, ol, blockquote, h2, h3, h4) {
  margin-top: 0;
}

.rich-description :is(p, ul, ol, blockquote) {
  margin-bottom: 18px;
}

.rich-description :is(ul, ol) {
  padding-left: 1.35em;
}

.rich-description li + li {
  margin-top: 6px;
}

.rich-description a {
  color: var(--editions-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rich-description > :last-child {
  margin-bottom: 0;
}

.purchase-form {
  max-width: 680px;
  margin: 0 0 30px;
}

.purchase-form-physical {
  display: grid;
  grid-template-columns: 96px max-content;
  grid-template-rows: auto 46px;
  gap: 6px 16px;
  align-items: stretch;
}

.purchase-form-digital {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.purchase-form-physical .quantity-field {
  display: contents;
}

.quantity-field span {
  grid-column: 1;
  grid-row: 1;
  color: var(--editions-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.quantity-field input {
  grid-column: 1;
  grid-row: 2;
  width: 96px;
  height: 46px;
  padding: 0 10px;
  color: var(--editions-ink);
  background: #fff;
  border: 1px solid var(--editions-line);
  border-radius: 0;
  font: inherit;
}

.editions-site :is(.cart-button, .demo-button, .content-link-button) {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.editions-site :is(.cart-button, .content-link-button) {
  padding: 0 22px;
  color: #fff;
  background: var(--editions-ink);
  border-color: var(--editions-ink);
}

.purchase-form-physical .cart-button {
  grid-column: 2;
  grid-row: 2;
}

.editions-site :is(.cart-button, .content-link-button):hover,
.editions-site :is(.cart-button, .content-link-button):focus {
  color: #fff;
  background: #000;
  border-color: #000;
  text-decoration: none;
}

.editions-site .demo-button {
  padding: 0 18px;
  color: var(--editions-ink);
  background: #fff;
  border-color: var(--editions-line);
}

.editions-site .demo-button:hover,
.editions-site .demo-button:focus {
  color: var(--editions-ink);
  border-color: var(--editions-accent);
  text-decoration: none;
}

body.demo-modal-open {
  overflow: hidden;
}

.demo-download-modal[hidden] {
  display: none;
}

.demo-download-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.demo-download-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.58);
}

.demo-download-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 34px;
  color: var(--editions-ink);
  background: #fff;
  border: 1px solid var(--editions-line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.demo-download-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--editions-muted);
  background: #fff;
  border: 1px solid var(--editions-line);
  cursor: pointer;
}

.demo-download-close::before,
.demo-download-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.demo-download-close::before {
  transform: rotate(45deg);
}

.demo-download-close::after {
  transform: rotate(-45deg);
}

.demo-download-close i {
  display: none;
}

.demo-download-close:hover,
.demo-download-close:focus {
  color: var(--editions-ink);
  border-color: var(--editions-accent);
}

.demo-download-dialog h2 {
  margin: 0 42px 12px 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.demo-download-dialog p {
  margin: 0 0 22px;
  color: var(--editions-muted);
  line-height: 1.7;
}

.demo-download-dialog form {
  display: grid;
  gap: 14px;
}

.demo-download-email {
  display: grid;
  gap: 7px;
}

.demo-download-email span {
  color: var(--editions-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.demo-download-email input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  color: var(--editions-ink);
  background: #fff;
  border: 1px solid var(--editions-line);
  border-radius: 0;
  font: inherit;
}

.demo-download-dialog .cart-button {
  width: 100%;
}

.demo-download-dialog .demo-download-status {
  min-height: 22px;
  margin: 0;
  color: var(--editions-muted);
  font-size: 14px;
  line-height: 1.55;
}

.demo-download-status.success {
  color: #1d6b3a;
}

.demo-download-status.error {
  color: #9f1f1f;
}

.commerce-page {
  padding: clamp(36px, 6vw, 72px) 0;
}

.commerce-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.commerce-header h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.commerce-empty {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 28px;
  border: 1px solid var(--editions-line);
}

.commerce-empty p,
.commerce-success h1 {
  margin: 0;
}

.cart-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--editions-line);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--editions-line);
  text-align: left;
  vertical-align: middle;
}

.cart-table th {
  color: var(--editions-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-table td small {
  display: block;
  margin-top: 4px;
  color: var(--editions-muted);
}

.cart-quantity {
  width: 84px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--editions-line);
  border-radius: 0;
  font: inherit;
}

.cart-remove-cell {
  text-align: right;
}

.remove-link {
  color: var(--editions-muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.remove-link:hover,
.remove-link:focus {
  color: var(--editions-ink);
}

.cart-summary {
  display: grid;
  justify-content: end;
  gap: 18px;
  margin-top: 24px;
}

.cart-summary dl,
.checkout-summary dl,
.thank-you-summary {
  min-width: min(100%, 360px);
  margin: 0;
  display: grid;
  gap: 10px;
}

.cart-summary dl div,
.checkout-summary dl div,
.thank-you-summary div {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.cart-summary dt,
.checkout-summary dt,
.thank-you-summary dt {
  color: var(--editions-muted);
  font-weight: 700;
}

.cart-summary dd,
.checkout-summary dd,
.thank-you-summary dd {
  margin: 0;
  font-weight: 700;
}

.cart-summary-total {
  padding-top: 10px;
  border-top: 1px solid var(--editions-line);
  font-size: 18px;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.checkout-form,
.checkout-summary {
  display: grid;
  gap: 18px;
}

.checkout-section {
  display: grid;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--editions-line);
}

.checkout-section h2,
.checkout-summary h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

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

.checkout-grid label {
  display: grid;
  gap: 6px;
  color: var(--editions-muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-grid input,
.checkout-grid select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--editions-ink);
  background: #fff;
  border: 1px solid var(--editions-line);
  border-radius: 0;
  font: inherit;
}

.payment-method-list {
  display: grid;
  gap: 10px;
}

.payment-method-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--editions-line);
}

.payment-method-option input {
  margin-top: 3px;
}

.payment-method-option strong,
.payment-method-option small {
  display: block;
}

.payment-method-option small {
  margin-top: 4px;
  color: var(--editions-muted);
  line-height: 1.5;
}

.checkout-note {
  margin: 0;
  color: var(--editions-muted);
  line-height: 1.6;
}

.checkout-errors {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
  padding: 14px 16px;
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f1aeb5;
}

.checkout-errors p {
  margin: 0;
}

.checkout-summary {
  padding: 18px;
  border: 1px solid var(--editions-line);
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--editions-line);
}

.checkout-summary-item span {
  color: var(--editions-muted);
  line-height: 1.45;
}

.download-item-row {
  align-items: center;
  margin-bottom: 12px;
}

.download-item-row .cart-button {
  min-height: 38px;
  padding: 0 16px;
}

.checkout-submit {
  justify-self: start;
}

.product-contributors {
  margin-top: 4px;
}

.full-description,
.book-sample {
  padding: clamp(48px, 8vw, 88px) 0;
  background: var(--editions-paper);
  border-top: 1px solid var(--editions-line);
}

.book-sample {
  background: #fff;
}

.full-description .container,
.book-sample .container {
  max-width: 850px;
}

.full-description h2,
.book-sample h2 {
  margin-bottom: 24px;
  font-size: clamp(28px, 3.4vw, 42px);
}

.full-description p,
.book-sample p {
  margin: 0 0 18px;
  color: var(--editions-muted);
  font-size: 17px;
  line-height: 1.85;
}

.book-sample-language-note {
  max-width: 720px;
}

.book-excerpt {
  max-width: 760px;
  margin: 34px auto 0;
}

.book-excerpt > blockquote {
  position: relative;
  margin: 0;
  padding: clamp(30px, 5vw, 54px) clamp(24px, 5vw, 58px);
  color: #25201c;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035), rgba(255, 255, 255, 0) 18px),
    #fbfaf6;
  border: 1px solid #e4ddd3;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.9;
}

.book-excerpt > blockquote::before,
.book-excerpt > blockquote::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 1px;
  background: rgba(22, 22, 22, 0.08);
}

.book-excerpt > blockquote::before {
  top: 16px;
}

.book-excerpt > blockquote::after {
  bottom: 16px;
}

.book-excerpt > blockquote p {
  margin: 0 0 18px;
  color: inherit;
  font: inherit;
  text-indent: 1.8em;
}

.book-excerpt > blockquote p:first-child {
  text-indent: 0;
}

.book-excerpt > blockquote :is(strong, b) {
  font-weight: 700;
}

.book-excerpt > blockquote :is(em, i) {
  font-style: italic;
}

.book-excerpt > blockquote :is(sup, sub) {
  position: relative;
  font-size: 0.68em;
  line-height: 0;
  vertical-align: baseline;
}

.book-excerpt > blockquote sup {
  top: -0.52em;
}

.book-excerpt > blockquote sub {
  bottom: -0.22em;
}

.book-excerpt > blockquote > :last-child {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .book-excerpt {
    margin-top: 26px;
  }

  .book-excerpt > blockquote {
    font-size: 17px;
    line-height: 1.82;
  }

  .book-excerpt > blockquote p {
    text-indent: 1.2em;
  }
}

.editions-footer {
  border-top: 1px solid var(--editions-line);
  background: #fff;
}

.footer-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  color: var(--editions-muted);
  font-size: 13px;
}

.footer-company {
  justify-self: start;
}

.footer-inner nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-main-nav {
  grid-column: 2;
  justify-self: center;
  justify-content: center;
  gap: clamp(32px, 4vw, 58px);
}

.footer-legal-nav {
  grid-column: 3;
  justify-self: end;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 12px;
}

.footer-inner a {
  color: var(--editions-ink);
  font-weight: 500;
}

.footer-inner .footer-legal-nav a {
  color: var(--editions-muted);
}

.content-page {
  padding: clamp(46px, 7vw, 82px) 0 clamp(70px, 9vw, 110px);
}

.content-page .container {
  max-width: 860px;
}

.content-page-header {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.content-page-header h1 {
  margin: 0;
  color: var(--editions-ink);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
}

.content-page-body {
  color: var(--editions-muted);
  font-size: 16px;
  line-height: 1.85;
}

.content-page-body h2 {
  margin: 34px 0 10px;
  color: var(--editions-ink);
  font-size: 22px;
  font-weight: 600;
}

.content-page-body h2:first-child {
  margin-top: 0;
}

.content-page-body p {
  margin: 0 0 18px;
}

.content-link-groups {
  display: grid;
  gap: 24px;
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--editions-line);
}

.content-link-group {
  display: grid;
  gap: 14px;
}

.content-link-group h2 {
  margin: 0;
  color: var(--editions-ink);
  font-size: 18px;
  font-weight: 600;
}

.content-link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editions-site .content-link-button {
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  background: var(--editions-ink);
  border: 1px solid var(--editions-ink);
}

.content-link-button i {
  font-size: 15px;
}

@media (max-width: 1199.98px) {
  .header-top {
    min-height: 118px;
  }

  .service-actions {
    right: 15px;
  }

  .brand-logo {
    width: min(55vw, 360px);
  }
}

@media (max-width: 991.98px) {
  .header-top {
    min-height: 0;
    flex-direction: column;
    gap: 16px;
    padding-top: 18px;
  }

  .brand-logo {
    width: min(84vw, 348px);
    min-width: 228px;
  }

  .service-actions {
    position: static;
    display: grid;
    grid-template-columns: 44px minmax(150px, 220px) 72px;
    justify-content: center;
    width: 100%;
    transform: none;
  }

  .mini-search {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    right: 15px;
    left: 15px;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 0;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--editions-line);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
    font-size: 12px;
    z-index: 30;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-item {
    display: block;
    width: 100%;
  }

  .nav-item-has-dropdown::before {
    display: none;
  }

  .main-nav .nav-link {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding: 13px 18px;
    border-bottom: 1px solid var(--editions-line);
    text-align: left;
  }

  .main-nav > .nav-link:last-child {
    border-bottom: 0;
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    padding: 2px 0 8px;
    background: #fff;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-item-has-dropdown:hover .nav-dropdown,
  .nav-item-has-dropdown:focus-within .nav-dropdown {
    transform: none;
  }

  .nav-dropdown a {
    padding: 9px 18px 9px 34px;
    color: var(--editions-muted);
    font-size: 12px;
    font-weight: 500;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .author-page .product-layout {
    grid-template-columns: 1fr;
  }

  .product-main-image {
    min-height: auto;
  }

  .catalogue-grid-six {
    grid-template-columns: repeat(2, minmax(210px, 300px));
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .catalogue-filter-form {
    align-items: stretch;
    justify-content: stretch;
    margin-top: -10px;
  }

  .catalogue-filter-form label {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .catalogue-grid-six {
    grid-template-columns: minmax(220px, 320px);
  }

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

  .checkout-layout,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .commerce-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-summary {
    justify-content: stretch;
  }

  .cart-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .header-top {
    padding-bottom: 10px;
  }

  .service-actions {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 72px 44px;
    gap: 8px;
  }

  .cart-link span {
    display: none;
  }

  .main-nav {
    gap: 0;
    padding-bottom: 8px;
  }

  .catalogue-grid-single {
    grid-template-columns: minmax(220px, 290px);
  }

  .catalogue-grid-six {
    grid-template-columns: minmax(220px, 290px);
  }

  .catalogue-card-image {
    padding: 18px;
  }

  .product-thumbs {
    gap: 7px;
  }

  .purchase-form-digital {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .purchase-form-digital :is(.cart-button, .demo-button) {
    width: 100%;
  }

  .product-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .demo-download-modal {
    align-items: end;
    padding: 12px;
  }

  .demo-download-dialog {
    width: 100%;
    padding: 28px 22px 24px;
  }

  .demo-download-dialog h2 {
    font-size: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 18px 15px;
    text-align: center;
  }

  .footer-company,
  .footer-main-nav,
  .footer-legal-nav {
    grid-column: 1;
    justify-self: center;
  }

  .footer-main-nav,
  .footer-legal-nav {
    justify-content: center;
  }
}

.catalogue-section-tight {
  padding-top: 18px;
}

.search-results-section {
  padding-top: 16px;
}

.empty-state {
  margin: 0 auto 32px;
  max-width: 640px;
  color: var(--editions-muted);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.contributor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.contributor-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--editions-line);
  background: #fff;
}

.contributor-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1.16;
  background: var(--editions-panel);
  overflow: hidden;
}

.contributor-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-placeholder {
  position: relative;
  width: min(62%, 124px);
  aspect-ratio: 1 / 1.2;
  display: block;
  color: var(--editions-muted);
  opacity: 0.7;
}

.portrait-placeholder::before {
  content: "";
  position: absolute;
  top: 9%;
  left: 50%;
  width: 34%;
  aspect-ratio: 1;
  border: 4px solid currentColor;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-50%);
}

.portrait-placeholder::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 72%;
  height: 42%;
  border: 4px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.portrait-placeholder-large {
  width: min(56%, 260px);
}

.contributor-card h2 {
  margin: 0 0 8px;
  color: var(--editions-ink);
  font-size: 22px;
}

.contributor-card p {
  margin: 0;
  color: var(--editions-muted);
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .contributor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .contributor-card {
    grid-template-columns: 1fr;
  }

  .contributor-card-image {
    max-width: 220px;
  }
}
