@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #eff0ea;
  --paper-raised: #e6e8e1;
  --ink: #141713;
  --muted: #4e554c;
  --line: #c6cbc1;
  --line-strong: #9ca397;
  --accent: #1e3fc4;
  --accent-strong: #1733a6;
  --on-accent: #ffffff;
  --band: #1e3fc4;
  --on-band: #f7f8ff;
  --focus: #1e3fc4;
  --shadow: 0 26px 80px rgba(17, 22, 16, 0.2);
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121511;
    --paper-raised: #1a1e18;
    --ink: #eef0ea;
    --muted: #a9afa5;
    --line: #343a32;
    --line-strong: #4d554a;
    --accent: #9aacff;
    --accent-strong: #b8c5ff;
    --on-accent: #0b0e0a;
    --band: #22327a;
    --on-band: #f3f5ff;
    --focus: #a9b8ff;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.drawer-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 650;
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.35rem;
  font-weight: 720;
  letter-spacing: -0.035em;
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
  display: inline-block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
}

.primary-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.primary-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.season-note {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.035em;
  color: var(--muted);
}

/* Masthead */

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.82fr);
  gap: 58px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 48px;
}

.masthead-copy {
  padding-bottom: 4px;
}

.masthead h1 {
  font-size: clamp(2.7rem, 5.1vw, 4.85rem);
  line-height: 0.95;
  letter-spacing: -0.052em;
  font-weight: 690;
}

.accent-text {
  color: var(--accent);
}

.lede {
  max-width: 45ch;
  margin-top: 23px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 640;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.22s var(--ease),
    border-color 0.22s var(--ease),
    color 0.22s var(--ease),
    transform 0.16s var(--ease);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  margin-top: 28px;
  background: var(--accent);
  color: var(--on-accent);
}

.button-primary:hover {
  background: var(--accent-strong);
}

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

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--paper-raised);
}

.masthead-visual {
  position: relative;
  align-self: center;
}

.masthead-visual::before {
  content: "";
  position: absolute;
  inset: 13px -13px -13px 13px;
  background: var(--accent);
}

.masthead-visual img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

/* Catalogue */

.catalogue {
  border-top: 1px solid var(--line);
  padding-bottom: 88px;
}

.catalogue-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.7fr);
  gap: 44px;
  align-items: end;
  padding-top: 27px;
  padding-bottom: 28px;
}

.catalogue h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.038em;
  font-weight: 680;
}

.result-count {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  color: var(--muted);
}

.controls {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) minmax(140px, 0.78fr) auto;
  gap: 12px;
  align-items: end;
}

.field {
  min-width: 0;
}

.field label,
.field-label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.saved-toggle {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  padding: 0 13px;
  font-size: 0.88rem;
}

.field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field input:hover,
.field select:hover,
.saved-toggle:hover {
  border-color: var(--ink);
}

.saved-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 172px;
  cursor: pointer;
  font-weight: 560;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.saved-box {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  background: transparent;
}

.saved-count {
  margin-left: auto;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.saved-toggle[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.saved-toggle[aria-pressed="true"] .saved-box {
  background: var(--paper);
}

.saved-toggle[aria-pressed="true"] .saved-count {
  color: var(--paper);
  border-left-color: var(--line-strong);
}

/* Results */

.results {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 58px;
  grid-auto-flow: dense;
}

.item {
  grid-column: span 7;
  min-width: 0;
  animation: card-in 0.55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

.item:nth-child(4n + 2),
.item:nth-child(4n + 3) {
  grid-column: span 5;
}

.item-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.item-head {
  display: block;
  padding-bottom: 15px;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.4;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--muted);
}

.item-category {
  color: var(--accent);
  font-weight: 500;
}

.saved-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
}

.saved-mark::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.item-title {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.55rem, 2.35vw, 2.18rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 670;
  transition: color 0.2s var(--ease);
}

.item-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-raised);
  border: 1px solid var(--line);
}

.item:nth-child(4n + 2) .item-media,
.item:nth-child(4n + 3) .item-media {
  aspect-ratio: 4 / 3;
}

.item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.item-description {
  display: block;
  max-width: 52ch;
  margin-top: 15px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.item-price {
  color: var(--ink);
  font-weight: 500;
}

.meta-rule {
  width: 1px;
  height: 11px;
  background: var(--line-strong);
}

.item-cta {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 620;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.item-button:hover .item-title {
  color: var(--accent);
}

.item-button:hover .item-media img {
  transform: scale(1.035);
}

.item-button:hover .item-cta {
  color: var(--accent);
}

.item-button:active {
  transform: translateY(1px);
}

.item-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 7px;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading and empty states */

.skeleton {
  grid-column: span 6;
  display: block;
}

.skeleton-line,
.skeleton-image {
  display: block;
  background: var(--paper-raised);
}

.skeleton-meta {
  width: 28%;
  height: 10px;
  margin-bottom: 12px;
}

.skeleton-title {
  width: 58%;
  height: 34px;
  margin-bottom: 18px;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}

@media (prefers-reduced-motion: no-preference) {
  .skeleton-line,
  .skeleton-image {
    background-image: linear-gradient(
      100deg,
      transparent 20%,
      rgba(255, 255, 255, 0.3) 42%,
      transparent 64%
    );
    background-size: 220% 100%;
    animation: skeleton-shimmer 1.5s linear infinite;
  }

  @media (prefers-color-scheme: dark) {
    .skeleton-line,
    .skeleton-image {
      background-image: linear-gradient(
        100deg,
        transparent 20%,
        rgba(255, 255, 255, 0.07) 42%,
        transparent 64%
      );
    }
  }
}

@keyframes skeleton-shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

.empty-state,
.load-error {
  max-width: 580px;
  padding: 60px 0 20px;
  border-top: 1px solid var(--line);
}

.empty-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 680;
}

.empty-copy {
  max-width: 44ch;
  margin-top: 15px;
  color: var(--muted);
}

.empty-state .button {
  margin-top: 24px;
}

.load-error {
  border-top-color: var(--accent);
}

/* Visit band */

.visit {
  background: var(--band);
  color: var(--on-band);
  padding: 62px 0 66px;
}

.visit-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.visit h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.7vw, 3.15rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
  font-weight: 680;
}

.visit-copy {
  max-width: 45ch;
  margin-top: 20px;
  color: var(--on-band);
  opacity: 0.82;
}

.visit-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 26px;
  margin-top: 5px;
}

.visit-facts div:first-child {
  grid-column: 1 / -1;
}

.visit-facts dt {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.72;
}

.visit-facts dd {
  margin-top: 7px;
  font-size: 1.01rem;
  line-height: 1.4;
}

.visit-facts a {
  color: inherit;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 27px 0 34px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 34px;
}

.footer-brand {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.footer-note {
  margin-left: auto;
  max-width: 44ch;
  font-family: var(--mono);
  font-size: 0.63rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Detail drawer */

.detail-root {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.detail-root:not(.is-open) {
  pointer-events: none;
}

.scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 9, 0.52);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.detail {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(630px, 100%);
  height: 100dvh;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(102%);
  transition: transform 0.42s var(--ease);
}

.detail-root.is-open .scrim {
  opacity: 1;
}

.detail-root.is-open .detail {
  transform: translateX(0);
}

.detail-bar {
  flex: 0 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
}

.detail-bar-label {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  color: var(--muted);
}

.close-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 590;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.close-button:hover {
  background: var(--paper-raised);
  border-color: var(--ink);
}

.close-mark {
  position: relative;
  width: 12px;
  height: 12px;
}

.close-mark::before,
.close-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 1.5px;
  background: currentColor;
}

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

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

.detail-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}

.detail-content {
  padding: 29px 32px 48px;
}

.detail-category {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.detail-title {
  max-width: 16ch;
  margin-top: 9px;
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 690;
}

.detail-body {
  max-width: 53ch;
  margin-top: 17px;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--muted);
}

.save-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.92rem;
  font-weight: 640;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.16s var(--ease);
}

.save-button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.save-button:active {
  transform: translateY(1px);
}

.save-button[aria-pressed="true"] {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.save-button[aria-pressed="true"]:hover {
  background: var(--paper-raised);
}

.save-mark {
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  flex: 0 0 auto;
}

.save-button[aria-pressed="true"] .save-mark {
  background: currentColor;
}

.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 30px;
  margin-top: 37px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.detail-facts dt {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-facts dd {
  margin-top: 5px;
  font-size: 0.96rem;
  line-height: 1.45;
}

/* Tablet */

@media (max-width: 1060px) {
  .wrap {
    width: min(1320px, calc(100% - 48px));
  }

  .masthead {
    gap: 36px;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }

  .catalogue-top {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .controls {
    grid-template-columns: minmax(180px, 1.3fr) minmax(150px, 0.7fr) auto;
  }

  .results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 46px;
  }

  .item,
  .item:nth-child(4n + 2),
  .item:nth-child(4n + 3) {
    grid-column: span 1;
  }

  .item-media,
  .item:nth-child(4n + 2) .item-media,
  .item:nth-child(4n + 3) .item-media {
    aspect-ratio: 4 / 3;
  }

  .skeleton {
    grid-column: span 1;
  }
}

/* Mobile */

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 58px;
    gap: 20px;
  }

  .brand {
    font-size: 1.22rem;
  }

  .primary-nav {
    gap: 17px;
    font-size: 0.82rem;
  }

  .season-note {
    display: none;
  }

  .masthead {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 30px;
  }

  .masthead h1 {
    font-size: clamp(2.15rem, 10.3vw, 3.15rem);
    line-height: 0.97;
  }

  .lede {
    margin-top: 14px;
    font-size: 1rem;
    max-width: 39ch;
  }

  .button-primary {
    margin-top: 18px;
  }

  .masthead-visual {
    width: calc(100% - 9px);
  }

  .masthead-visual::before {
    inset: 9px -9px -9px 9px;
  }

  .masthead-visual img {
    aspect-ratio: 16 / 7;
  }

  .catalogue {
    padding-bottom: 62px;
  }

  .catalogue-top {
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .controls {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

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

  .field-saved {
    min-width: 0;
  }

  .saved-toggle {
    min-width: 150px;
  }

  .results {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  .item,
  .item:nth-child(4n + 2),
  .item:nth-child(4n + 3) {
    grid-column: 1 / -1;
  }

  .item-media,
  .item:nth-child(4n + 2) .item-media,
  .item:nth-child(4n + 3) .item-media {
    aspect-ratio: 4 / 3;
  }

  .item-title {
    font-size: clamp(1.55rem, 7.4vw, 2rem);
  }

  .item-description {
    font-size: 0.9rem;
  }

  .item-cta {
    margin-left: 0;
  }

  .empty-state,
  .load-error {
    padding-top: 42px;
  }

  .visit {
    padding: 48px 0 52px;
  }

  .visit-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .visit h2 {
    max-width: 12ch;
  }

  .visit-facts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .visit-facts div:first-child {
    grid-column: auto;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 20px;
  }

  .footer-note {
    grid-column: 1 / -1;
    margin-left: 0;
    max-width: 37ch;
  }

  .detail-bar {
    min-height: 60px;
    padding: 0 18px;
  }

  .detail-image {
    aspect-ratio: 4 / 3;
  }

  .detail-content {
    padding: 23px 20px 40px;
  }

  .detail-title {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .detail-body {
    font-size: 1rem;
  }

  .detail-facts {
    gap: 22px 18px;
  }

  .detail-facts dd {
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .primary-nav {
    gap: 13px;
  }

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

  .saved-toggle {
    width: 100%;
  }

  .detail-facts {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Motion preferences */

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

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

  .item {
    animation: none;
  }
}
