.detail-shell {
  --reading-width: 660px;
  width: min(100% - clamp(36px, 7vw, 112px), 1330px);
  min-height: 42vh;
  margin-inline: auto;
  padding-block: 26px clamp(64px, 8vw, 116px);
  color: var(--ink);
  font-family: var(--sans);
}
.detail-shell *, .detail-shell *::before, .detail-shell *::after { box-sizing: border-box; }
.detail-shell h1, .detail-shell h2, .detail-shell h3, .detail-shell p, .detail-shell figure { margin: 0; }
.detail-shell a { color: inherit; text-decoration: none; }
.detail-shell button { font-family: inherit; cursor: pointer; }
.detail-shell :is(a, button):focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.detail-mono {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.detail-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: .8em; color: var(--muted); }
.detail-crumb a:hover { color: var(--navy); }
.detail-crumb a:hover, .detail-elsewhere a:hover, .detail-publications a:hover, .detail-sources a:hover, .detail-credit a:hover, .detail-about-links a:hover { text-decoration: underline; text-underline-offset: .2em; }
.detail-head { padding-block: clamp(36px, 5.2vw, 75px) 29px; max-width: 1120px; }
.detail-kicker { display: block; color: var(--red); font-weight: 700; }
.detail-head > .detail-kicker { margin-bottom: 13px; }
.detail-title { font-size: clamp(3rem, 6.1vw, 4.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.015; text-wrap: balance; overflow-wrap: anywhere; }
.detail-head > .detail-dek { max-width: 760px; margin-top: 19px; color: var(--muted); font-size: clamp(1.15rem, 1.65vw, 1.5rem); letter-spacing: -.012em; line-height: 1.35; }
.detail-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 13px; margin-bottom: 24px; border-block: 1px solid var(--hair); }
.detail-article-meta { display: grid; gap: 3px; }
.detail-article-meta > .detail-mono { color: var(--muted); }
.detail-author { font-size: .95rem; font-weight: 600; line-height: 1.45; }
.detail-button {
  display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 40px; padding: 6px 12px;
  border: 1px solid currentColor; border-radius: 0; background: white; font-size: .875rem; font-weight: 600;
  line-height: 1.2; text-decoration: none; transition: background-color .16s, color .16s, border-color .16s;
}
.detail-shell .detail-button { color: var(--navy); }
.detail-shell .detail-button:hover, .detail-shell .detail-button[aria-pressed="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.detail-button svg { flex: none; width: 16px; height: 16px; }
.detail-figure-image, .detail-feature-image, .detail-card-image, .detail-entry-image { display: block; overflow: hidden; background: #e8eaed; }
.detail-figure-image img, .detail-feature-image img, .detail-card-image img, .detail-entry-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-figure-image { width: 100%; aspect-ratio: 2.55; max-height: 550px; }
.detail-shell .detail-portrait-figure { width: min(100%,var(--reading-width)); margin-inline: auto; }
.detail-portrait-figure .detail-figure-image { aspect-ratio: 3/2; }
.detail-portrait-figure .detail-figure-image img { object-position: center 32%; object-fit: contain; filter: contrast(1.035) saturate(1.04); }
.detail-figure figcaption { display: flex; flex-wrap: wrap; gap: 3px 14px; justify-content: space-between; align-items: baseline; padding-top: 8px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.detail-credit { margin-left: auto; font-size: .74rem; }
.detail-portrait-figure figcaption { display: grid; justify-content: start; gap: 3px; line-height: 1.45; }
.detail-portrait-figure .detail-credit { margin-left: 0; }
.detail-portrait-figure + .detail-columns { padding-top: clamp(22px, 2.2vw, 34px); }
.detail-columns { padding-block: clamp(32px, 4.6vw, 68px) 0; }
.detail-copy { max-width: var(--reading-width); margin-inline: auto; }
.detail-copy > p, .detail-about-text > p { margin-bottom: 1.04em; font-family: var(--sans); font-size: clamp(1.125rem, 1.36vw, 1.25rem); font-weight: 400; line-height: 1.5; letter-spacing: -.008em; }
.detail-sources { padding-block: 20px; margin-top: 32px; border-block: 1px solid var(--hair); }
.detail-sources h2, .detail-elsewhere h2 { font-size: .82rem; font-weight: 700; }
.detail-sources ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 0; margin: 8px 0 0; }
.detail-sources a, .detail-elsewhere a, .detail-about-links a { color: var(--navy); font-weight: 600; line-height: 1.6; }
.detail-sources a span, .detail-elsewhere a span, .detail-about-links a span, .detail-publications h3 span, .detail-credit a span { display: inline-block; font-size: .84em; }
.detail-related { margin-top: clamp(50px, 6vw, 85px); border-top: 2px solid var(--ink); }
.detail-related > h2, .detail-about-text > h2, .detail-publications > h2 { margin: 15px 0 20px; font-size: clamp(1.55rem, 2.2vw, 2.15rem); letter-spacing: -.035em; line-height: 1.06; font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(18px, 2vw, 32px); row-gap: 28px; }
.detail-card-link { display: block; height: 100%; }
.detail-card-image { aspect-ratio: 1.85; margin-bottom: 13px; }
.detail-card img, .detail-feature img, .detail-entry img { transition: transform .32s cubic-bezier(.2,.65,.4,1); }
@media (hover: hover) {
  .detail-card a:hover img, .detail-feature a:hover img, .detail-entry a:hover img { transform: scale(1.035); }
  .detail-card a:hover h3, .detail-feature a:hover h2, .detail-entry a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
}
.detail-card h3 { font-size: clamp(1.3rem, 2.05vw, 1.8rem); font-weight: 700; letter-spacing: -.028em; line-height: 1.1; }
.detail-card-text .detail-kicker, .detail-entry-copy .detail-kicker { margin-bottom: 7px; }
.detail-card-dek { padding-top: 10px; font-size: .98rem; line-height: 1.4; }
.detail-card-date { display: block; margin-top: 10px; color: var(--muted); }
.detail-text-card { border-top: 1px solid var(--hair); padding-top: 13px; }
.detail-archive-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; padding-block: clamp(36px, 5.2vw, 75px) 23px; border-bottom: 2px solid var(--ink); }
.detail-feature { border-bottom: 1px solid var(--hair); margin-bottom: 4px; }
.detail-feature > a { display: grid; grid-template-columns: 1.18fr 1fr; gap: clamp(20px, 3.25vw, 54px); align-items: center; padding-block: 23px 30px; }
.detail-feature-text > a { display: block; max-width: 850px; }
.detail-feature-image { aspect-ratio: 1.78; }
.detail-feature-copy { padding-block: 6px; }
.detail-feature-copy h2 { margin: 12px 0; font-size: clamp(2.1rem, 3.7vw, 3.4rem); font-weight: 700; line-height: 1.035; letter-spacing: -.038em; }
.detail-feature-copy p, .detail-entry-copy p { font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.43; }
.detail-feature-copy small, .detail-entry-copy small { display: block; color: var(--muted); margin-top: 14px; }
.detail-entry { border-bottom: 1px solid var(--hair); }
.detail-entry > a { display: flex; gap: clamp(18px, 4vw, 54px); max-width: 1050px; justify-content: space-between; align-items: center; padding-block: 22px; }
.detail-entry-copy { flex: 1; min-width: 0; }
.detail-entry-copy h2 { margin-bottom: 7px; font-size: clamp(1.5rem, 2.65vw, 2.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.032em; }
.detail-entry-copy p { max-width: 66ch; }
.detail-entry-image { width: 21%; aspect-ratio: 1.65; flex: none; }
.detail-result-count { padding-block: 21px; border-bottom: 1px solid var(--hair); font-size: 1.12rem; overflow-wrap: anywhere; }
.detail-shell p.detail-empty { margin-block: 25px; font-size: 1.14rem; }
.detail-about-head { padding-bottom: clamp(32px, 4.3vw, 58px); }
.detail-about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(25px, 7vw, 110px); }
.detail-about-text, .detail-publications { border-top: 2px solid var(--ink); }
.detail-about-side .detail-figure { margin-bottom: 23px; }
.detail-about-side .detail-figure-image { aspect-ratio: 1.65; }
.detail-about-side .detail-figure-image img { object-position: center 38%; }
.detail-about-side .detail-credit { margin-left: 0; }
.detail-publications > div { padding-block: 14px; border-top: 1px solid var(--hair); }
.detail-publications h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.028em; line-height: 1.14; }
.detail-publications p { margin-top: 7px; font-size: 1rem; line-height: 1.4; }
.detail-about-links, .detail-elsewhere { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.detail-elsewhere { border-top: 1px solid var(--hair); align-items: baseline; margin-top: 45px; padding-top: 18px; }
@media (max-width: 760px) {
  .detail-figure-image { aspect-ratio: 1.8; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail-about-grid { grid-template-columns: 1fr; gap: 35px; }
  .detail-entry-image { width: 25%; }
}
@media (max-width: 560px) {
  .detail-shell { padding-top: 20px; }
  .detail-title { font-size: clamp(2.65rem, 11.4vw, 3.4rem); }
  .detail-head > .detail-dek { margin-top: 17px; }
  .detail-mono { font-size: .75rem; }
  .detail-toolbar { margin-bottom: 17px; }
  .detail-button { min-height: 44px; }
  .detail-figure-image { aspect-ratio: 1.5; }
  .detail-credit { margin-left: 0; }
  .detail-figure figcaption { display: grid; gap: 3px; }
  .detail-grid { grid-template-columns: 1fr; row-gap: 13px; }
  .detail-card { border-top: 1px solid var(--hair); padding-top: 13px; }
  .detail-card-link { display: flex; flex-direction: row-reverse; align-items: start; gap: 14px; }
  .detail-card-image, .detail-entry-image { width: 30%; aspect-ratio: 1.25; flex: none; margin: 0; }
  .detail-card-text { flex: 1; min-width: 0; }
  .detail-related > h2 { margin-bottom: 14px; }
  .detail-feature > a { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-block: 15px 22px; }
  .detail-feature-image { aspect-ratio: 1.6; }
  .detail-feature-copy { padding: 0; }
  .detail-feature-copy h2 { margin: 8px 0; }
  .detail-archive-head { flex-wrap: wrap; align-items: center; }
  .detail-entry > a { align-items: flex-start; gap: 12px; padding-block: 18px; }
  .detail-entry-copy p { font-size: .94rem; }
  .detail-entry-image { margin-top: 4px; }
  .detail-elsewhere h2 { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-shell *, .detail-shell *::before, .detail-shell *::after { transition: none !important; }
  .detail-shell a:hover img { transform: none !important; }
}

/* Keep captions visible; disclose photo credits together at the image's right edge. */
.detail-figure figcaption.detail-figure-caption{
 display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:0 16px;
}
.detail-figure-caption .photo-caption{padding-block:9px;grid-column:1}
.detail-figure-caption .photo-sources{display:contents}
.photo-sources summary{grid-column:2;grid-row:1;justify-self:end;display:flex;align-items:center;gap:8px;min-height:34px;padding:0 3px;color:var(--navy);font-weight:600;cursor:pointer;list-style:none;white-space:nowrap}
.photo-sources summary::-webkit-details-marker{display:none}
.photo-sources-chevron{display:inline-block;width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
.photo-sources[open] .photo-sources-chevron{transform:translateY(2px) rotate(225deg)}
.photo-sources:not([open]) ul{display:none}
.photo-sources ul{grid-column:1/-1;grid-row:2;list-style:none;padding:5px 0 8px;margin:0;border-top:1px solid var(--hair);line-height:1.6}
.photo-sources li{padding-block:4px}
.photo-sources a{color:var(--navy);text-decoration:underline;text-underline-offset:.17em}
@media(max-width:620px){.photo-sources summary{min-height:44px}.detail-figure-caption .photo-caption{padding-block:12px}}
