.is-discover-stories, .ds-review {
  --ds-paper: #fbf8f2;
  --ds-ink: #391e1c;
  --ds-brand: #751f2a;
  --ds-muted: #66524d;
  --ds-line: #d9cfc5;
  --ds-gutter: clamp(16px,4vw,60px);
  --ds-display: 'Libre Caslon Display', Georgia, serif;
  --ds-round: clamp(13px,1.4vw,21px);
  color: var(--ds-ink);
}
.ds-wrap { box-sizing: border-box; width: min(calc(100% - 2 * var(--ds-gutter)), 1320px); margin-inline: auto; }
.ds-main { padding-bottom: clamp(36px, 5vw, 80px); }
.ds-article { padding-bottom: clamp(24px, 4vw, 52px); }
.ds-main [id] { scroll-margin-top: calc(var(--header-h,64px) + var(--ds-nav-height,46px) + 14px); }
.ds-main :is(h1,h2,h3), .ds-review :is(h1,h2) { color: var(--ds-ink); font-family: var(--ds-display); font-weight: 400; letter-spacing: -.023em; overflow-wrap: anywhere; }
.ds-main :is(p,li,summary,a), .ds-nav a { overflow-wrap: anywhere; }
.ds-main a, .ds-nav a, .ds-review a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ds-main :is(a,button,summary,input,select):focus-visible, .ds-nav :is(a,summary):focus-visible, .ds-review a:focus-visible { outline: 2px solid var(--ds-brand); outline-offset: 3px; }
.ds-main h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.02; }
.ds-overline { margin: 0; color: var(--ds-brand); font: 650 .8rem/1.4 var(--font-sans); }

.ds-nav { position: sticky; z-index: 24; top: var(--header-h,64px); background: var(--surface-raised,#fff); border-block: 1px solid var(--ds-line); transition: top var(--header-slide,.24s ease); }
.is-discover-stories:has(> .site-header.is-scroll-hidden) .ds-nav { top: 0; }
.is-discover-stories:has(> .site-header.is-scroll-hidden :focus-visible) .ds-nav { top: var(--header-h,64px); }
.ds-nav-content { display: flex; align-items: stretch; gap: clamp(12px,3vw,50px); position: relative; }
.ds-nav-wide { display: flex; flex: 1 1 auto; align-items: stretch; justify-content: space-between; gap: 12px; list-style: none; padding: 0; margin: 0; }
.ds-nav-wide li { display: flex; }
.ds-home-link, .ds-nav-wide a, .ds-nav-small summary { display: flex; align-items: center; min-height: 46px; padding: 4px 1px 3px; color: var(--ds-muted); border-bottom: 2px solid transparent; text-decoration: none; font-size: .84rem; font-weight: 600; line-height: 1.28; }
.ds-home-link { flex: none; }
.ds-nav [aria-current='page'], .ds-nav-small[open] summary { border-bottom-color: var(--ds-brand); color: var(--ds-brand); }
.ds-nav :is(a,summary):hover { color: var(--ds-brand); }
.ds-nav :is(a,summary):focus-visible { outline-offset: -2px; }
.ds-nav-small { display: none; }
.ds-nav-small summary { gap: 9px; justify-content: space-between; list-style: none; cursor: pointer; }
.ds-nav-small summary::-webkit-details-marker { display: none; }
.ds-nav-small summary::after { content: ''; flex: none; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.ds-nav-small[open] summary::after { transform: translateY(2px) rotate(225deg); }
.ds-nav-small ul { position: absolute; inset: calc(100% + 1px) 0 auto; margin: 0; border: 1px solid var(--ds-line); border-radius: 0 0 12px 12px; padding: 6px; background: var(--surface-raised,#fff); list-style: none; box-shadow: 0 12px 28px #391e1c22; }
.ds-nav-small li a { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: 5px; border-bottom: 0; color: var(--ds-ink); font-size: .91rem; text-decoration: none; }
.ds-nav-small li a:is(:hover, [aria-current]) { background: #f4eee5; color: var(--ds-brand); }
.ds-progress { position: absolute; inset: auto 0 -1px; height: 2px; pointer-events: none; }
.ds-progress span { display: block; height: 2px; width: var(--ds-read,0%); background: var(--ds-brand); }

.ds-cover { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(16px,3.7vw,60px); align-items: center; padding-block: clamp(18px,3.8vh,38px) clamp(16px,3.4vh,33px); }
.ds-cover-copy { min-width: 0; padding-bottom: 9px; }
.ds-cover h1 { font-size: clamp(2.85rem,5.2vw,5rem); line-height: .98; margin: 9px 0 0; text-wrap: balance; }
.ds-dek { max-width: 45ch; font-size: clamp(1.04rem,1.65vw,1.25rem); line-height: 1.5; margin: 13px 0 0; color: var(--ds-muted); }
.ds-picture { min-width: 0; margin: 0; }
.ds-picture img { display: block; width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; object-position: 50% 48%; border-radius: var(--ds-round); background: #e8ded0; }
.ds-picture figcaption { margin: 6px 3px 0; color: var(--ds-muted); font-size: .72rem; line-height: 1.42; }
.ds-picture figcaption a { color: inherit; }
.ds-stories { margin-top: 4px; }
.ds-stories > h2 { margin: 0 0 16px; }
.ds-story-grid { display: grid; }
.ds-story-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--ds-line); border-radius: var(--ds-round); overflow: hidden; background: var(--ds-paper); color: var(--ds-ink); text-decoration: none; }
.ds-story-card img { border-radius: 0; aspect-ratio: 2.55; }
.ds-story-card-copy { padding: clamp(14px,2vw,26px); }
.ds-story-card h3 { margin: 6px 0 0; font-size: clamp(1.85rem,2.9vw,2.9rem); line-height: 1.04; }
.ds-story-card p:not(.ds-overline) { margin: 7px 0 0; color: var(--ds-muted); font-size: .96rem; line-height: 1.5; max-width: 54ch; }
.ds-story-card:hover { border-color: var(--ds-brand); }
.ds-story-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.ds-reading { max-width: 65ch; }
.ds-chapter { margin-block: 0 clamp(19px, 2.6vw, 33px); }
.ds-chapter h2 { margin: 0 0 clamp(10px,1.55vw,16px); }
.ds-chapter + .ds-chapter > .ds-chapter-heading { border-top: 1px solid var(--ds-line); padding-top: clamp(15px, 2vw, 25px); }
.ds-reading > p { margin: 0 0 .9em; color: var(--ds-ink); font-size: clamp(1rem,1.45vw,1.125rem); line-height: 1.66; }
.ds-article .ds-manuscript { padding-top: clamp(3px,1.25vw,15px); }
.ds-activity-wrap { max-width: 1040px; min-width: 0; }
.ds-main .ds-activity-heading h3 { color: var(--ds-ink); font-family: var(--ds-display); }
.ds-references { border-block: 1px solid var(--ds-line); }
.ds-references summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding-block: 9px;
  color: var(--ds-ink);
  font: 400 clamp(1.55rem, 2.7vw, 2rem)/1.15 var(--ds-display);
  list-style: none;
  cursor: pointer;
}
.ds-references summary::-webkit-details-marker { display: none; }
.ds-references summary::after {
  content: '';
  inline-size: 8px;
  block-size: 8px;
  margin-inline-end: 5px;
  border: solid var(--ds-brand);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.ds-references[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.ds-references summary:hover { color: var(--ds-brand); }
.ds-references ul { display: grid; gap: 5px; margin: 0; padding: 0 0 15px 19px; }
.ds-references a { display: inline-flex; min-height: 32px; align-items: center; color: var(--ds-brand); font-size: .9rem; line-height: 1.45; text-decoration: underline; }
.ds-sources { margin-block-start: clamp(10px, 1.5vw, 16px); }
.ds-sources-link:not([hidden]), .ds-sources-fallback > summary {
  min-height: 44px;
  color: var(--ds-muted);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.ds-sources-link:not([hidden]) { display: inline-flex; align-items: center; }
.ds-sources-fallback > summary { width: fit-content; padding-block: 10px; }
.ds-sources-dialog:not([open]) { display: none; }
.ds-sources-dialog {
  box-sizing: border-box;
  width: min(40rem, calc(100% - 32px));
  max-height: calc(100% - 32px);
  max-height: min(85dvh, 44rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-round);
  background: var(--surface-raised, #fff);
  color: var(--ds-ink);
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-block-start: 76px;
}
.ds-sources-dialog::backdrop { background: #391e1c80; }
.ds-sources-dialog > header {
  position: sticky;
  z-index: 1;
  inset-block-start: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(14px, 3vw, 24px);
  border-bottom: 1px solid var(--ds-line);
  background: var(--surface-raised, #fff);
}
.ds-main .ds-sources-dialog h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.ds-sources-dialog [data-ds-close-sources] {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ds-line);
  border-radius: 50%;
  background: transparent;
  color: var(--ds-brand);
  cursor: pointer;
}
.ds-sources-dialog [data-ds-close-sources]:hover { background: var(--ds-paper); }
.ds-sources-content { max-width: 65ch; font-size: .925rem; line-height: 1.5; }
.ds-sources-dialog .ds-sources-content { max-width: none; padding: 16px clamp(14px, 3vw, 24px) 24px; }
.ds-sources-content ul { display: grid; gap: 7px; margin: 0; padding-inline-start: 20px; }
.ds-sources-content li[id] { scroll-margin-block-start: 8px; }
.ds-sources-content a { color: var(--ds-brand); }
.ds-sources-content li:target > a { background: var(--ds-paper); }
.ds-sources-content [data-ds-image-credits] { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--ds-line); }
.ds-sources-content [data-ds-image-credits] h3 { margin: 0 0 7px; font-size: 1.6rem; }
.ds-sources-content [data-ds-image-credits] li > span { display: block; color: var(--ds-muted); }
.ds-review { margin: 0; font: 400 1rem/1.5 var(--font-sans, system-ui, sans-serif); background: var(--ds-paper); }
.ds-review main { padding-block: clamp(30px,7vw,90px); }
.ds-review h1 { margin: 0 0 20px; font: 400 clamp(3rem,7vw,6rem)/1 var(--ds-display); }
.ds-review h2 { font: 400 2.5rem/1.1 var(--ds-display); margin: 0 0 10px; }
.ds-review-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ds-review-columns section { padding: 20px; background: white; border: 1px solid var(--ds-line); border-radius: var(--ds-round); }
.ds-review-columns ul { padding-left: 20px; }
.ds-review-columns a { color: var(--ds-brand); }

@media (max-width: 859px) {
  .ds-nav-wide { display: none; }
  .ds-nav-small { display: block; max-width: min(70%,30ch); }
  .ds-nav-content { justify-content: space-between; }
}
@media (min-width: 650px) and (max-height: 560px) {
  .ds-cover { padding-block: 14px 10px; }
  .ds-cover-copy { padding-bottom: 0; }
  .ds-cover h1 { font-size: clamp(2.65rem,4.4vw,4rem); }
  .ds-dek { font-size: 1rem; line-height: 1.4; }
  .ds-cover .ds-picture img { max-height: 151px; }
  .ds-stories > h2 { font-size: 2.35rem; margin-bottom: 10px; }
  .ds-story-card img { max-height: 119px; }
}
@media (max-width: 649px) {
  .ds-cover { grid-template-columns: 1fr; gap: 10px; padding-block: 15px 18px; }
  .ds-cover-copy { padding-bottom: 0; }
  .ds-cover h1 { font-size: clamp(2.65rem,10.8vw,4.05rem); }
  .ds-cover .ds-picture img { aspect-ratio: 2.04; }
  .ds-dek { font-size: 1rem; margin-top: 10px; }
  .ds-review-columns { grid-template-columns: minmax(0,1fr); }
  .ds-story-card img { aspect-ratio: 2.2; }
  .ds-reading > p { line-height: 1.62; }
}
@media (prefers-reduced-motion: reduce) { .ds-nav { transition: none; } }
