/* Prompt Atlas — static editorial gallery. No browser-side content rendering. */
:root {
  color-scheme: light;
  --canvas: #f6f5f1;
  --paper: #fffefa;
  --ink: #262823;
  --muted: #777970;
  --line: #dfdfd7;
  --accent: #e55a36;
  --sidebar: #1d201e;
  --sidebar-width: 218px;
  --content-padding: 38px;
  font-family: 'DM Sans', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
::selection { color: #341e14; background: #fbd0b7; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: 0 0 auto; }
h1, h2, h3, p, figure { margin: 0; }
.icon { width: 18px; height: 18px; vertical-align: middle; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 14px 22px; background: var(--accent); color: white; }
.skip-link:focus { top: 16px; }
.eyebrow { display: block; font-size: 10px; font-weight: 650; letter-spacing: 1.7px; line-height: 1.6; color: var(--muted); }
.muted-label { color: var(--muted); font-size: 12px; }

/* The compact, persistent editorial index. */
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 34px 22px 20px; background: var(--sidebar); color: #d5d8cd; }
.brand { display: flex; align-items: center; gap: 11px; color: #f9faf1; padding: 0 5px; }
.brand-mark { color: var(--accent); flex: 0 0 auto; }
.brand-name { font-size: 20px; font-weight: 650; letter-spacing: .8px; line-height: 1.5; white-space: nowrap; }
.brand-name small { display: block; color: #aaa99d; font-size: 8px; letter-spacing: 2.9px; font-weight: 500; }
.sidebar-section-label { margin: 44px 10px 15px; color: #7b8177; font-size: 10px; letter-spacing: 1px; }
.main-nav { display: grid; gap: 7px; }
.nav-item { display: flex; align-items: center; gap: 13px; min-height: 47px; padding: 11px 13px; color: #b6bab0; border-radius: 5px; font-size: 13px; transition: color .2s, background .2s; }
.nav-item .icon { width: 18px; height: 18px; opacity: .85; }
.nav-item:hover { background: #2a2d28; color: #fff; }
.nav-item.is-active { background: #ed5c38; color: #fff; font-weight: 550; }
.nav-item.is-active .icon { opacity: 1; }
.nav-count { margin-left: auto; font-family: 'DM Sans', sans-serif; color: #7e8579; font-size: 10px; font-weight: 450; }
.is-active .nav-count { color: #fbd3c5; }
.sidebar-topics { padding-top: 14px; }
.sidebar-topics .sidebar-section-label { display: flex; justify-content: space-between; align-items: center; margin-top: 23px; font-size: 10px; }
.sidebar-section-label > span { font-size: 6px; letter-spacing: 1.1px; color: #62695e; }
.sidebar-topics nav { display: grid; }
.sidebar-topics a { display: flex; align-items: center; gap: 11px; padding: 11px 11px; font-size: 11px; color: #a0a69a; transition: color .2s; }
.sidebar-topics a:hover { color: #f3f1e8; }
.sidebar-topics a .icon { margin-left: auto; width: 12px; height: 12px; color: #555c51; }
.topic-dot { width: 4px; height: 4px; border: 1px solid #777f6e; border-radius: 50%; }
.sidebar-bottom { margin-top: auto; padding-top: 25px; }
.sidebar-note { margin: 0 9px 25px; }
.note-spark { display: block; margin-bottom: 12px; color: #d3d7c1; font-size: 32px; line-height: 1; }
.sidebar-note p { color: #d6d9cb; font-size: 13px; line-height: 1.8; letter-spacing: .3px; }
.sidebar-note > span:last-child { display: block; margin-top: 10px; color: #6d7567; font-size: 7px; letter-spacing: 1.2px; }
.sidebar-about { display: flex; gap: 10px; align-items: center; padding: 16px 10px; border-top: 1px solid #35392f; color: #a7af9c; font-size: 11px; }
.sidebar-about > .icon:last-child { margin-left: auto; width: 14px; }
.sidebar-foot { display: flex; align-items: center; gap: 7px; margin: 4px 10px 0; font-size: 9px; color: #717a67; }
.live-dot { width: 5px; height: 5px; background: #9aab7a; border-radius: 50%; }

/* Page framing. */
.site-main { margin-left: var(--sidebar-width); min-width: 0; }
.topbar { height: 64px; margin: 0 var(--content-padding); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #777970; font-size: 10px; }
.topbar-location, .topbar-right, .topbar-right a { display: flex; align-items: center; }
.topbar-location { gap: 8px; letter-spacing: .4px; }
.location-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.topbar-right { gap: 25px; }
.topbar-right > span { color: #98998e; font-size: 9px; letter-spacing: 1px; }
.topbar-right a { gap: 8px; color: #54584c; }
.topbar-right .icon { width: 12px; height: 12px; }
main { padding: 0 var(--content-padding); min-height: calc(100vh - 180px); }
.page-intro { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 43px 0 37px; }
.page-intro .eyebrow { font-size: 9px; color: #8d8b7f; letter-spacing: 1.7px; margin-bottom: 13px; }
.page-intro h1 { font-size: clamp(27px, 2.1vw, 37px); font-weight: 650; letter-spacing: -1.1px; line-height: 1.4; }
.intro-dot { color: var(--accent); padding-left: 3px; }
.page-intro p { margin-top: 12px; color: #7c7d74; font-size: 12px; line-height: 1.8; }
.intro-index { display: flex; flex-direction: column; align-items: flex-end; padding-right: 1px; }
.intro-index > span { font-size: 36px; line-height: 1.2; letter-spacing: -2px; font-weight: 450; }
.intro-index small { margin-top: 8px; color: #8c8f81; font-size: 9px; letter-spacing: 1px; }
.home-intro { padding-top: 35px; padding-bottom: 31px; }
.home-model-links { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 23px; margin: -8px 0 29px; font-size: 11px; }
.home-model-links > span { color: #949788; font-size: 10px; }
.home-model-links > a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: #6b755e; border-bottom: 1px solid #cdd2c3; }
.home-model-links > a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.home-model-links .icon { width: 13px; height: 13px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 7px; font-size: 8px; letter-spacing: 1.6px; }
.section-heading h2 { font-size: 19px; font-weight: 600; letter-spacing: -.3px; }
.tiny-accent { display: inline-block; color: var(--accent); font-size: 22px; margin-left: 11px; vertical-align: -1px; }
.text-link { display: flex; gap: 10px; align-items: center; font-size: 10px; color: #696d60; padding-bottom: 3px; }
.text-link .icon { width: 15px; height: 15px; }
.text-link:hover { color: var(--accent); }

/* The selected works introduce the gallery without a marketing hero. */
.featured-section { padding-bottom: 35px; }
.featured-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 15px; }
.featured-card { min-width: 0; overflow: hidden; border-radius: 5px; background: #e5e6de; }
.featured-media { display: block; height: clamp(245px, 22vw, 340px); position: relative; isolation: isolate; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2, .5, .4, 1); }
.featured-media:hover img { transform: scale(1.035); }
.featured-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 12 9 / 12%), transparent 32%, rgb(8 12 9 / 18%) 50%, rgb(8 12 9 / 78%)); pointer-events: none; }
.featured-number { position: absolute; top: 18px; left: 19px; color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .7px; }
.featured-number span { font-size: 7px; letter-spacing: 1.7px; padding-left: 7px; opacity: .75; }
.featured-provenance { position: absolute; top: 17px; right: 15px; color: #fff6e6; background: rgb(40 35 26 / 68%); padding: 5px 7px; border-radius: 2px; font-size: 8px; }
.featured-caption { position: absolute; bottom: 20px; left: 20px; right: 20px; color: white; }
.featured-label { color: #eeeade; font-size: 9px; line-height: 1.8; letter-spacing: .3px; }
.featured-label > span { padding: 0 5px; }
.featured-caption h3 { margin-top: 7px; font-size: clamp(16px, 1.2vw, 21px); line-height: 1.6; font-weight: 550; letter-spacing: -.2px; }
.featured-card-1 h3 { font-size: clamp(19px, 1.6vw, 27px); }
.featured-cta { display: flex; align-items: center; gap: 11px; font-size: 9px; margin-top: 13px; color: #e1e5d8; }
.featured-cta .icon { width: 15px; height: 15px; }
.featured-card-1 .featured-cta { margin-top: 17px; }

/* Every card is an ordinary link to a complete, prebuilt HTML page. */
.collection-section { border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 40px; scroll-margin-top: 24px; }
.collection-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 20px; }
.collection-heading > div { display: flex; align-items: baseline; gap: 17px; }
.collection-heading h2 { font-size: 20px; font-weight: 600; letter-spacing: -.4px; }
.result-count { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d5d9cc; min-width: 24px; height: 20px; margin-left: 8px; padding: 0 5px; border-radius: 3px; color: #727969; font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 450; vertical-align: 2px; }
.collection-heading .eyebrow { font-size: 8px; letter-spacing: 1.3px; color: #96988b; }
.collection-order { color: #9c9e90; font-size: 9px; letter-spacing: .3px; }
.collection-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.type-tabs { display: flex; gap: 30px; align-items: center; }
.type-tabs a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding-bottom: 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 12px; color: #7d8274; }
.type-tabs a.is-active { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.type-tabs a:hover { color: var(--accent); }
.type-tabs .icon { width: 14px; height: 14px; }
.type-tabs a > span { font-size: 9px; margin-left: 2px; opacity: .6; }
.browse-topics { display: inline-flex; gap: 7px; align-items: center; padding-bottom: 12px; font-size: 10px; color: #666e5b; }
.browse-topics .icon { width: 14px; height: 14px; }
.model-filter { display: flex; align-items: flex-start; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.model-filter-title { flex: 0 0 auto; color: #70766a; font-size: 10px; line-height: 30px; }
.model-filter-groups { display: grid; gap: 10px; min-width: 0; }
.model-filter-row { display: flex; align-items: flex-start; gap: 14px; }
.model-filter-type { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: #8d9483; font-size: 9px; line-height: 30px; }
.model-filter-type .icon { width: 12px; height: 12px; }
.model-filter-options { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.model-chip { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 34px; padding: 6px 11px; border: 1px solid #d9dfce; border-radius: 4px; color: #626d53; background: #eff1e9; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.model-chip > span { color: #8c997c; font-size: 8px; }
a.model-chip:hover, .model-chip.is-active { color: #a64f2c; background: #f6e8dd; border-color: #d7ab8e; }
.model-chip.is-active > span { color: #b97852; }
.model-chip.is-empty { color: #9ca28f; border-color: #e4e7dd; background: transparent; }
.model-chip > small { color: #969d8a; font-size: 9px; }
.explore-section > .model-filter { padding-top: 2px; padding-bottom: 0; border: 0; }
.explore-section > .model-filter .model-filter-title { display: none; }
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 18px 0 24px; }
.filter-label { color: #929589; font-size: 9px; margin-right: 5px; }
.filter-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; background: #eeeee7; border: 1px solid #e4e5db; border-radius: 4px; color: #717865; font-size: 10px; line-height: 1.3; transition: border-color .18s, color .18s, background .18s; }
.filter-pill > span { font-size: 8px; color: #9ca18e; }
.filter-pill:hover, .filter-pill.is-active { background: #f5e6dc; border-color: #dfb9a0; color: #a75232; }
.filter-pill.is-active > span { color: #b97957; }
.filter-more { font-size: 10px; color: #999c8e; padding: 6px 0 6px 4px; }
.case-grid { column-count: 4; column-gap: 19px; padding-top: 1px; }
.collection-controls + .case-grid { margin-top: 22px; }
.case-card { display: inline-block; width: 100%; break-inside: avoid; vertical-align: top; margin-bottom: 25px; }
.case-image-link { display: block; position: relative; background: #e7e7df; border-radius: 4px; overflow: hidden; outline-offset: 4px; }
.case-image-link > img { width: 100%; height: auto; transition: transform .45s cubic-bezier(.2, .5, .4, 1); }
.case-image-link:hover > img { transform: scale(1.025); }
.case-image-link::after { content: ''; position: absolute; inset: 0; border: 1px solid rgb(30 35 20 / 7%); border-radius: inherit; pointer-events: none; }
.image-badges { position: absolute; z-index: 1; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 4px; width: fit-content; font-size: 8px; line-height: 1.4; padding: 5px 7px; border-radius: 2px; backdrop-filter: blur(8px); }
.badge-featured { background: rgb(249 246 231 / 91%); color: #615b46; }
.badge-video { color: white; background: rgb(25 30 22 / 65%); }
.badge-video .icon { width: 11px; height: 11px; }
.image-link-arrow { display: flex; position: absolute; bottom: 12px; right: 12px; padding: 8px; background: #fcfbf2; border-radius: 50%; color: #343d2b; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.image-link-arrow .icon { width: 14px; height: 14px; transform: rotate(-35deg); }
.case-image-link:hover .image-link-arrow, .case-image-link:focus-visible .image-link-arrow { opacity: 1; transform: translateY(0); }
.case-meta { display: flex; justify-content: space-between; gap: 5px; padding-top: 12px; margin-bottom: 6px; color: #8a8e7f; font-size: 8px; line-height: 1.5; }
.case-meta > span:first-child { color: #7b8072; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-meta > span:last-child { white-space: nowrap; font-size: 7px; color: #9b9f92; }
.provenance-reconstructed, .case-meta > .provenance-reconstructed, .study-facts .provenance-reconstructed { color: #b66b42; }
.case-card h3 { font-size: 13px; line-height: 1.75; font-weight: 550; letter-spacing: -.15px; }
.case-card h3 a:hover { color: var(--accent); }
.case-bottom { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-top: 8px; font-size: 9px; line-height: 1.6; }
.case-bottom > a { color: #8a907d; }
.case-bottom > a:hover { color: var(--accent); }
.case-author { color: #acafa1; font-size: 8px; max-width: 65%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.media-unavailable { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 15px; background: #dfe4d6; color: #718060; min-height: 220px; font-size: 12px; }
.media-unavailable .icon { width: 32px; height: 32px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 12px; padding: 26px 0 5px; color: #7a806e; font-size: 11px; }
.pagination > div { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.pagination > div a { display: inline-flex; align-items: center; justify-content: center; min-width: 35px; height: 35px; border: 1px solid transparent; border-radius: 3px; font-size: 11px; }
.pagination > div a:hover { border-color: #bec5b2; }
.pagination .is-current { color: white; background: var(--ink); }
.pagination-direction { white-space: nowrap; }
.pagination-direction.is-disabled { color: #b4b8a9; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 25px; text-align: center; }
.empty-state > .icon { width: 40px; height: 40px; color: #aab19e; margin-bottom: 25px; }
.empty-state h3 { font-size: 23px; font-weight: 550; }
.empty-state p { max-width: 470px; line-height: 1.9; font-size: 13px; color: var(--muted); margin-top: 14px; }
.empty-state .button { margin-top: 28px; }
.button { display: inline-flex; align-items: center; gap: 20px; padding: 13px 19px; border-radius: 3px; font-size: 11px; font-weight: 500; }
.button-dark { color: white; background: var(--ink); transition: background .2s; }
.button-dark:hover { background: var(--accent); }
.button .icon { width: 16px; height: 16px; }

/* Static detail pages preserve the original and both translations in the DOM. */
.breadcrumbs { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 24px; color: #989e8b; font-size: 10px; line-height: 1.6; }
.breadcrumbs .icon { width: 11px; height: 11px; color: #b2b7a7; }
.breadcrumbs a:hover { color: var(--accent); }
.detail-heading { padding: 30px 0 28px; }
.detail-heading > .eyebrow { display: flex; align-items: center; gap: 18px; font-size: 9px; margin-bottom: 13px; }
.detail-featured { color: #b96943; background: #efe6d9; border: 1px solid #e5d3bd; font-size: 9px; padding: 2px 6px; letter-spacing: .3px; }
.detail-heading h1 { font-weight: 650; font-size: clamp(28px, 2.5vw, 42px); line-height: 1.5; letter-spacing: -.9px; max-width: 1050px; }
.detail-heading > p { color: #818775; font-size: 12px; line-height: 1.9; max-width: 780px; margin-top: 12px; }
.detail-topic-links { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 19px; }
.detail-topic-links a { border: 1px solid #daddd1; border-radius: 3px; color: #7b846d; padding: 5px 9px; font-size: 9px; }
.detail-topic-links a:first-child { background: #e9ece1; }
.detail-topic-links a:hover { border-color: var(--accent); color: var(--accent); }
.detail-models { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 10px; }
.detail-models > span:first-child { color: #8a937d; margin-right: 3px; }
.detail-models a { padding: 5px 9px; border: 1px solid #d5ddc8; border-radius: 3px; color: #637650; background: #edf1e4; }
.detail-models a:hover { color: var(--accent); border-color: #d6b39d; }
.model-not-specified { color: #a2aa95; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 32vw, 470px); gap: 24px; align-items: start; }
.detail-artwork { min-width: 0; }
.detail-layout > .study-sidebar { grid-column: 1 / -1; min-width: 0; }
.artwork-frame { width: fit-content; max-width: 100%; margin-inline: auto; background: #e9e9e2; border: 1px solid #dfe1d7; border-radius: 5px; overflow: hidden; }
.detail-original { position: relative; display: flex; justify-content: center; align-items: center; min-height: min(180px, 24vh); max-width: 100%; }
.detail-original > img { width: auto; height: auto; max-width: 100%; max-height: 76vh; object-fit: contain; }
.open-original { position: absolute; right: 15px; bottom: 15px; display: flex; align-items: center; gap: 8px; background: rgb(255 255 249 / 90%); color: #4b5440; font-size: 10px; padding: 9px 12px; border-radius: 3px; backdrop-filter: blur(5px); }
.open-original .icon { width: 13px; height: 13px; }
.artwork-frame > video { display: block; width: auto; height: auto; max-width: 100%; max-height: 76vh; object-fit: contain; background: #111611; }
.artwork-frame figcaption { display: flex; justify-content: space-between; gap: 15px; font-size: 9px; padding: 13px 15px; color: #89917c; background: #f0f1e9; }
.artwork-frame figcaption > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.artwork-frame figcaption > span:last-child { text-align: right; white-space: nowrap; }
.artwork-source { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 0; font-size: 10px; }
.artwork-source > span { color: #a1a692; font-size: 9px; }
.artwork-source > p { color: #69745b; }
.artwork-source p > span { color: #a2a890; margin-left: 4px; }
.artwork-source > a { display: flex; gap: 5px; align-items: center; margin-left: auto; color: #79866b; }
.artwork-source > a:hover { color: var(--accent); }
.artwork-source .icon { width: 12px; height: 12px; }
.source-links { display: flex; flex-wrap: wrap; gap: 14px; margin-left: auto; color: #79866b; }
.source-links a { display: inline-flex; align-items: center; gap: 5px; }
.source-links a:hover { color: var(--accent); }
.artwork-source > .source-note { flex-basis: 100%; font-size: 9px; line-height: 1.85; color: #89917b; }
.study-sidebar { position: sticky; top: 25px; padding: 25px 23px 22px; background: #eeeee6; border: 1px solid #dfe2d4; border-radius: 4px; }
.study-heading .eyebrow { font-size: 8px; color: #9a9f8d; }
.study-heading h2 { margin-top: 8px; font-size: 22px; font-weight: 550; letter-spacing: -.6px; }
.study-heading p { color: #8b937d; font-size: 10px; line-height: 1.9; margin-top: 12px; }
.study-facts { margin: 22px 0 0; padding: 20px 0; border-block: 1px solid #d8decd; }
.study-facts > div { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; margin-bottom: 12px; }
.study-facts > div:last-child { margin-bottom: 0; }
.study-facts dt { color: #949d85; white-space: nowrap; }
.study-facts dd { margin: 0; text-align: right; color: #626e53; overflow-wrap: anywhere; }
.study-facts a:hover { color: var(--accent); }
.study-facts .applicable-models { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 9px; }
.applicable-models a { text-decoration: underline; text-decoration-color: #b8c3a8; text-underline-offset: 3px; }
.study-navigation { display: grid; margin-top: 15px; }
.study-navigation a { display: flex; gap: 11px; align-items: center; padding: 11px 0; font-size: 9px; color: #a2aa92; }
.study-navigation a span { font-size: 11px; color: #68755a; }
.study-navigation a:hover span { color: var(--accent); }
.study-navigation a .icon { width: 14px; height: 14px; margin-left: auto; }
.study-tip { display: flex; gap: 11px; padding: 14px 13px; margin-top: 15px; background: #e5e8da; border-radius: 3px; color: #8d9a79; }
.study-tip p { font-size: 10px; line-height: 1.85; }
.study-tip .icon { width: 16px; height: 16px; margin-top: 2px; }
.prompt-study { max-width: 1100px; padding-top: 10px; }
.prompt-section { margin-top: 35px; scroll-margin-top: 26px; }
.detail-layout > .original-prompt-panel { position: sticky; top: 24px; display: flex; flex-direction: column; min-width: 0; min-height: 0; max-height: 78vh; margin-top: 0; }
.original-prompt-panel > .prompt-section-title { flex: 0 0 auto; gap: 12px; margin-bottom: 15px; }
.original-prompt-panel > .original-prompt { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; padding: 21px; overflow: hidden; }
.original-prompt-panel .prompt-copy-toolbar { flex: 0 0 auto; }
.original-prompt-panel .prompt-text { min-height: 0; font-size: 14px; line-height: 1.9; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bcc4b0 transparent; scrollbar-gutter: stable; }
.original-prompt-panel > .prompt-helper { flex: 0 0 auto; font-size: 10px; line-height: 1.75; }
.prompt-section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.prompt-section-title .eyebrow { font-size: 8px; margin-bottom: 6px; letter-spacing: 1.4px; }
.prompt-section-title h2 { font-weight: 550; font-size: 21px; }
.language-label { color: #939c83; font-size: 9px; padding-bottom: 3px; text-align: right; }
.prompt-box { background: #fffefa; border: 1px solid #e0e3d7; border-radius: 4px; padding: 25px; }
.original-prompt { background: #eeeee5; border-color: #dddfd0; }
.prompt-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 2; font-size: 13px; color: #535d47; }
.prompt-text[lang='en'] { line-height: 1.95; letter-spacing: .05px; }
.prompt-helper { color: #9ca58d; font-size: 9px; line-height: 1.8; padding-top: 10px; }
.bilingual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.prompt-box-label { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid #e7e9df; margin-bottom: 18px; padding-bottom: 12px; font-size: 12px; color: #58644a; font-weight: 550; }
.prompt-box-label { align-items: center; }
.prompt-language-note { display: block; color: #879077; font-size: 9px; line-height: 1.7; font-weight: 400; }
.prompt-copy-toolbar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.prompt-copy-control { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.prompt-copy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 7px 12px; border: 1px solid #d7d9cd; border-radius: 4px; color: #535d47; background: var(--paper); font-size: 12px; white-space: nowrap; cursor: pointer; }
.prompt-copy:hover { color: var(--accent); border-color: var(--accent); }
.prompt-copy:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.prompt-copy:disabled { opacity: .55; cursor: wait; }
.copy-feedback { font-size: 11px; font-weight: 400; color: #527141; }
.copy-feedback:empty { display: none; }
.copy-feedback.copy-failed { max-width: 155px; color: #a4432d; line-height: 1.6; }
.learning-notes { border-top: 1px solid var(--line); }
.learning-notes article { display: flex; align-items: baseline; gap: 24px; padding: 22px 5px; border-bottom: 1px solid var(--line); }
.learning-notes article > span { color: var(--accent); font-size: 11px; font-weight: 500; }
.learning-notes p { color: #7f8970; font-size: 12px; line-height: 2; }
.detail-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 28px; padding-bottom: 45px; font-size: 10px; }
.detail-tags > span { color: #a1a98f; margin-right: 8px; }
.detail-tags > a { color: #7f8c6c; background: #ebeee1; padding: 6px 10px; border-radius: 3px; }
.detail-tags > a:hover { color: var(--accent); }
.related-section { border-top: 1px solid var(--line); padding: 32px 0 30px; margin-top: 35px; }
.related-grid { column-count: 4; }

/* Browsing is a collection of real, finite topic pages. */
.intro-compass { width: 63px; height: 63px; color: var(--accent); stroke-width: .9; margin-right: 5px; }
.explore-section { border-top: 1px solid var(--line); padding: 30px 0 35px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.topic-card { border: 1px solid #dce1d1; border-radius: 4px; overflow: hidden; background: #eeeee6; transition: border-color .2s; }
.topic-card:hover { border-color: #a8b498; }
.topic-card-image { height: 170px; overflow: hidden; }
.topic-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.topic-card:hover img { transform: scale(1.04); }
.topic-card > div:last-child { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topic-card h3 { font-size: 13px; font-weight: 550; }
.topic-card > div:last-child > span { display: flex; align-items: center; gap: 8px; font-size: 9px; color: #8c9879; white-space: nowrap; }
.topic-card .icon { width: 14px; height: 14px; }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.model-card { display: flex; align-items: center; gap: 17px; min-height: 95px; padding: 20px; background: #eeeee5; border: 1px solid #dfe3d3; border-radius: 4px; }
.model-card:hover { background: #e7ebdc; }
.model-index { color: #abb498; font-size: 11px; }
.model-card h3 { font-size: 16px; font-weight: 500; }
.model-card > div > span { display: block; font-size: 9px; color: #9aa78a; margin-top: 8px; }
.model-card > .icon { margin-left: auto; color: #97a484; width: 16px; height: 16px; }
.explore-pills { display: flex; flex-wrap: wrap; gap: 11px; }
.explore-pills .filter-pill { font-size: 12px; padding: 10px 15px; }
.tag-cloud { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tag-cloud a { display: inline-flex; align-items: baseline; gap: 9px; border: 1px solid #dde3d0; border-radius: 3px; font-size: 12px; padding: 11px 16px; color: #7e8d6a; }
.tag-cloud a > span { color: #b6c3a1; }
.tag-cloud a > small { color: #adb89a; margin-left: 5px; font-size: 8px; }
.tag-cloud a:hover { background: #e9edde; border-color: #b9c7a5; }

/* Editorial notes and a useful, properly delivered 404. */
.about-intro { padding: 55px 0 45px; }
.about-intro h1 { font-size: clamp(30px, 2.9vw, 46px); line-height: 1.55; letter-spacing: -1.5px; }
.about-asterisk { display: block; font-size: 160px; line-height: 1; margin-right: 45px; color: var(--accent); }
.about-content { border-top: 1px solid var(--line); padding: 15px 0 45px; }
.about-content section { max-width: 760px; padding: 30px 0 15px; }
.about-content section > .eyebrow { font-size: 9px; }
.about-content h2 { font-size: 23px; font-weight: 550; margin: 12px 0 18px; }
.about-content p { font-size: 13px; line-height: 2.2; color: #858f76; margin-bottom: 13px; }
.about-content .button { margin-top: 15px; }
.not-found { text-align: center; padding: 75px 20px 90px; }
.error-number { display: flex; align-items: center; justify-content: center; gap: 15px; font-size: clamp(100px, 13vw, 190px); font-weight: 500; line-height: 1.4; letter-spacing: -10px; }
.error-number > span { color: var(--accent); font-size: .7em; }
.not-found h1 { font-size: 27px; font-weight: 550; letter-spacing: -.7px; }
.not-found p { margin-top: 18px; color: #99a48a; font-size: 12px; line-height: 2; }
.not-found .button { margin-top: 30px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 19px; margin: 0 var(--content-padding); padding: 26px 0; border-top: 1px solid var(--line); color: #a7ae9a; font-size: 9px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: #7c8870; font-size: 12px; font-weight: 500; }
.footer-brand .brand-mark { width: 18px; height: 21px; color: #8a967d; }
.site-footer > p { font-size: 8px; }
.site-footer > div { display: flex; gap: 17px; margin-left: auto; font-size: 9px; }
.site-footer a:hover { color: var(--accent); }
.footer-signoff { font-size: 7px; letter-spacing: 1.2px; margin-left: 5px; }

@media (min-width: 1600px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr) clamp(380px, 26vw, 470px) 250px; }
  .detail-layout > .study-sidebar { grid-column: auto; }
}

@media (min-width: 901px) and (max-width: 1599px) {
  .detail-layout > .study-sidebar { position: static; display: grid; grid-template-columns: minmax(150px, .85fr) minmax(0, 1.4fr) minmax(170px, 1fr); align-items: start; gap: 22px; padding: 22px; }
  .detail-layout > .study-sidebar .study-heading h2 { margin-top: 0; font-size: 20px; }
  .detail-layout > .study-sidebar .study-facts { margin: 0; padding: 0 21px; border-block: 0; border-inline: 1px solid #d8decd; }
  .detail-layout > .study-sidebar .study-navigation { margin-top: 0; }
  .detail-layout > .study-sidebar .study-navigation a:first-child { padding-top: 0; }
  .detail-layout > .study-sidebar .study-tip { grid-column: 1 / -1; margin-top: 0; padding: 11px 14px; }
}

@media (min-width: 1800px) {
  :root { --sidebar-width: 240px; --content-padding: 48px; }
  .case-grid { column-count: 5; column-gap: 23px; }
  .related-grid { column-count: 4; }
  .featured-media { height: 350px; }
  .case-card h3 { font-size: 14px; }
  .case-meta { font-size: 9px; }
  .case-bottom { font-size: 10px; }
  .case-author { font-size: 9px; }
}

@media (max-height: 850px) and (min-width: 901px) {
  .sidebar { padding-top: 27px; }
  .sidebar-section-label { margin-top: 31px; }
  .sidebar-topics { padding-top: 5px; }
  .sidebar-note { margin-bottom: 18px; }
  .sidebar-note .note-spark { display: none; }
}

@media (max-height: 720px) and (min-width: 901px) {
  .sidebar-note { display: none; }
  .sidebar-topics a { padding-block: 8px; }
}

@media (max-width: 1399px) {
  :root { --sidebar-width: 202px; --content-padding: 29px; }
  .sidebar { padding-inline: 17px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 18px; }
  .brand-name small { font-size: 7px; letter-spacing: 2.5px; }
  .brand-mark { width: 29px; }
  .case-grid { column-gap: 16px; }
  .case-card h3 { font-size: 12px; }
  .case-meta { font-size: 7px; }
  .case-meta > span:last-child { font-size: 6px; }
  .case-bottom { font-size: 8px; }
  .case-author { font-size: 7px; }
  .featured-media { height: 260px; }
  .featured-caption { bottom: 16px; left: 16px; right: 16px; }
  .featured-label { font-size: 8px; }
  .detail-layout { gap: 22px; }
  .study-sidebar { padding-inline: 18px; }
  .topic-grid { gap: 15px; }
  .topic-card-image { height: 145px; }
  .topic-card > div:last-child { padding: 12px; flex-wrap: wrap; gap: 8px; }
  .topic-card h3 { font-size: 12px; }
  .topic-card > div:last-child > span { width: 100%; justify-content: space-between; }
  .footer-signoff { display: none; }
}

@media (max-width: 1140px) {
  :root { --sidebar-width: 185px; --content-padding: 25px; }
  .sidebar { padding-inline: 13px; }
  .brand-name { font-size: 17px; }
  .brand-name small { font-size: 6px; letter-spacing: 2.3px; }
  .brand .brand-mark { width: 26px; }
  .sidebar-section-label { font-size: 9px; }
  .sidebar-section-label > span { display: none; }
  .nav-item { font-size: 12px; gap: 11px; }
  .sidebar-topics a { font-size: 10px; }
  .case-grid { column-count: 3; }
  .related-grid { column-count: 4; }
  .featured-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 11px; }
  .featured-media { height: 235px; }
  .featured-caption h3 { font-size: 15px; }
  .featured-card-1 .featured-caption h3 { font-size: 19px; }
  .featured-label { font-size: 7px; }
  .featured-number { left: 15px; top: 15px; }
  .featured-cta { font-size: 8px; }
  .collection-heading .eyebrow { display: none; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) clamp(310px, 36vw, 370px); gap: 18px; }
  .study-sidebar { padding: 22px 16px 18px; }
  .study-heading h2 { font-size: 20px; }
  .study-facts { margin-top: 18px; }
  .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer > p { display: none; }
  .about-asterisk { font-size: 120px; margin-right: 15px; }
}

@media (max-width: 900px) {
  :root { --sidebar-width: 0px; --content-padding: 28px; }
  .sidebar { position: relative; width: 100%; inset: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 27px; }
  .brand { padding: 0; }
  .brand .brand-mark { width: 28px; height: 32px; }
  .brand-name { font-size: 18px; }
  .brand-name small { font-size: 6px; letter-spacing: 2.6px; }
  .sidebar > .sidebar-section-label, .sidebar-topics, .sidebar-bottom { display: none; }
  .main-nav { display: flex; gap: 7px; }
  .nav-item { min-height: 37px; padding: 8px 12px; gap: 6px; font-size: 11px; }
  .nav-item .icon { width: 15px; height: 15px; }
  .nav-count { display: none; }
  .topbar { height: 50px; }
  .page-intro { padding-top: 32px; }
  .home-intro { padding-top: 29px; }
  .featured-media { height: 250px; }
  .case-grid { column-count: 3; column-gap: 18px; }
  .related-grid { column-count: 4; column-gap: 15px; }
  .detail-heading { padding-top: 25px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .detail-layout > .original-prompt-panel { position: static; max-height: none; }
  .original-prompt-panel > .original-prompt { overflow: visible; }
  .original-prompt-panel .prompt-text { overflow: visible; scrollbar-gutter: auto; }
  .detail-layout > .study-sidebar { position: static; }
  .prompt-box { padding: 21px; }
  .prompt-text { font-size: 12px; }
  .about-intro { padding-top: 45px; }
}

@media (max-width: 680px) {
  :root { --content-padding: 20px; }
  .sidebar { padding: 18px 20px 0; gap: 19px; }
  .brand { width: 100%; }
  .main-nav { width: 100%; justify-content: space-between; gap: 0; }
  .nav-item { border-radius: 0; padding: 11px 7px 14px; font-size: 11px; gap: 6px; border-bottom: 2px solid transparent; }
  .nav-item.is-active { background: transparent; color: #f1835b; border-bottom-color: #f1835b; }
  .nav-item:hover { background: transparent; }
  .nav-item:first-child { padding-left: 1px; }
  .nav-item:last-child { padding-right: 1px; }
  .nav-item .icon { width: 14px; height: 14px; }
  .topbar { height: 43px; font-size: 8px; }
  .topbar-right > span { display: none; }
  .topbar-right a { font-size: 8px; }
  .topbar-location { gap: 6px; letter-spacing: 0; }
  .location-dot { width: 4px; height: 4px; }
  .page-intro { gap: 16px; padding: 28px 0 27px; }
  .page-intro .eyebrow { font-size: 7px; letter-spacing: 1.1px; margin-bottom: 11px; }
  .page-intro h1 { font-size: 25px; letter-spacing: -.7px; line-height: 1.5; }
  .page-intro p { font-size: 10px; margin-top: 10px; line-height: 1.8; max-width: 340px; }
  .intro-index { display: none; }
  .section-heading { margin-bottom: 16px; gap: 12px; }
  .section-heading h2 { font-size: 17px; }
  .section-heading .eyebrow { font-size: 7px; letter-spacing: 1px; margin-bottom: 6px; }
  .tiny-accent { font-size: 20px; margin-left: 8px; }
  .text-link { font-size: 8px; gap: 5px; }
  .text-link .icon { width: 13px; height: 13px; }
  .featured-section { padding-bottom: 26px; }
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .featured-card-1 { grid-column: 1 / -1; }
  .featured-media { height: 188px; }
  .featured-card-1 .featured-media { height: 260px; }
  .featured-card-1 .featured-caption h3 { font-size: 23px; }
  .featured-number { top: 13px; left: 13px; font-size: 9px; }
  .featured-number span { font-size: 6px; letter-spacing: 1px; padding-left: 4px; }
  .featured-provenance { top: 36px; left: 13px; right: auto; font-size: 7px; }
  .featured-caption { bottom: 13px; left: 13px; right: 13px; }
  .featured-caption h3 { font-size: 13px; line-height: 1.6; margin-top: 6px; }
  .featured-label { font-size: 7px; }
  .featured-cta { font-size: 7px; margin-top: 9px; gap: 7px; }
  .featured-card-1 .featured-cta { margin-top: 11px; }
  .featured-cta .icon { width: 12px; height: 12px; }
  .collection-section { padding-top: 24px; padding-bottom: 22px; }
  .collection-heading { margin-bottom: 19px; }
  .collection-heading h2 { font-size: 18px; }
  .result-count { font-size: 9px; min-width: 23px; height: 18px; vertical-align: 1px; }
  .collection-order { display: none; }
  .type-tabs { gap: 21px; }
  .type-tabs a { font-size: 10px; padding-bottom: 12px; min-height: 32px; gap: 5px; }
  .type-tabs .icon { width: 12px; height: 12px; }
  .type-tabs a > span { font-size: 7px; margin-left: 0; }
  .browse-topics { font-size: 8px; gap: 4px; }
  .browse-topics > .icon:first-child { display: none; }
  .browse-topics .icon { width: 11px; height: 11px; }
  .model-filter { flex-direction: column; gap: 9px; padding: 15px 0; }
  .model-filter-title { font-size: 9px; line-height: 1.4; }
  .model-filter-groups { width: 100%; gap: 9px; }
  .model-filter-row { gap: 10px; }
  .model-filter-type { gap: 4px; font-size: 8px; line-height: 29px; }
  .model-filter-type .icon { width: 11px; height: 11px; }
  .model-filter-options { gap: 6px; }
  .model-chip { min-height: 40px; gap: 7px; padding: 6px 9px; font-size: 11px; }
  .model-chip > span { font-size: 9px; }
  .model-chip > small { font-size: 9px; }
  .filter-bar { gap: 6px; padding: 15px 0 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-label { display: none; }
  .filter-pill { flex: 0 0 auto; font-size: 9px; padding: 6px 9px; }
  .filter-pill > span { font-size: 7px; }
  .filter-more { white-space: nowrap; font-size: 9px; }
  .case-grid, .related-grid { column-count: 2; column-gap: 13px; }
  .case-card { margin-bottom: 23px; }
  .case-card h3 { font-size: 11px; line-height: 1.8; }
  .case-meta { padding-top: 10px; margin-bottom: 5px; font-size: 7px; gap: 3px; }
  .case-meta > span:last-child { font-size: 6px; }
  .case-bottom { font-size: 8px; gap: 6px; margin-top: 6px; }
  .case-author { font-size: 6px; max-width: 58%; }
  .image-badges { top: 7px; left: 7px; right: 7px; }
  .badge { font-size: 7px; padding: 4px 5px; gap: 3px; }
  .badge-video .icon { width: 10px; height: 10px; }
  .pagination { font-size: 9px; gap: 10px; padding-top: 20px; }
  .pagination > div { gap: 4px; }
  .pagination > div a { min-width: 27px; height: 29px; font-size: 9px; }
  .breadcrumbs { margin-top: 18px; font-size: 9px; gap: 6px; }
  .detail-heading { padding: 24px 0 22px; }
  .detail-heading > .eyebrow { font-size: 8px; gap: 13px; }
  .detail-heading h1 { font-size: 27px; line-height: 1.55; letter-spacing: -.6px; }
  .detail-heading > p { font-size: 11px; }
  .detail-topic-links { margin-top: 15px; }
  .detail-topic-links a { font-size: 8px; }
  .detail-models { font-size: 9px; gap: 7px; margin-top: 12px; }
  .detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .artwork-frame figcaption { padding: 11px; font-size: 8px; }
  .artwork-frame figcaption > span:first-child { max-width: 65%; }
  .artwork-frame figcaption > span:last-child { font-size: 7px; }
  .artwork-source { padding: 13px 0 0; gap: 8px; font-size: 9px; }
  .artwork-source > a { font-size: 8px; }
  .artwork-source > span { font-size: 8px; }
  .study-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; column-gap: 20px; padding: 20px; }
  .study-heading h2 { font-size: 18px; }
  .study-heading .eyebrow { font-size: 6px; }
  .study-heading p { font-size: 8px; margin-top: 10px; }
  .study-facts { border: 0; padding: 0; margin: 0; }
  .study-facts > div { font-size: 8px; margin-bottom: 10px; gap: 8px; }
  .study-navigation { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d5ddc7; margin-top: 17px; padding-top: 7px; gap: 8px; }
  .study-navigation a { gap: 6px; font-size: 8px; padding: 10px 0 0; }
  .study-navigation a > span { font-size: 8px; }
  .study-navigation a > .icon { display: none; }
  .study-tip { display: none; }
  .prompt-study { padding-top: 0; }
  .prompt-section { margin-top: 30px; }
  .prompt-section-title { gap: 10px; margin-bottom: 15px; }
  .prompt-section-title h2 { font-size: 19px; }
  .prompt-section-title .eyebrow { font-size: 6px; letter-spacing: 1.1px; }
  .language-label { font-size: 8px; }
  .prompt-box { padding: 19px; }
  .prompt-text { font-size: 11px; line-height: 2; }
  .prompt-helper { font-size: 8px; line-height: 1.9; }
  .bilingual-grid { grid-template-columns: 1fr; gap: 14px; }
  .prompt-box-label { font-size: 11px; padding-bottom: 11px; margin-bottom: 14px; }
  .prompt-copy { min-height: 44px; }
  .learning-notes article { padding: 18px 0; gap: 17px; }
  .learning-notes article > span { font-size: 10px; }
  .learning-notes p { font-size: 11px; }
  .detail-tags { gap: 7px; font-size: 9px; padding-bottom: 15px; margin-top: 22px; }
  .detail-tags > span { margin-right: 3px; }
  .related-section { padding-top: 26px; padding-bottom: 5px; }
  .intro-compass { width: 43px; height: 43px; margin-right: 0; }
  .explore-section { padding: 26px 0; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .topic-card-image { height: 140px; }
  .topic-card > div:last-child { padding: 12px; }
  .topic-card h3 { font-size: 11px; }
  .topic-card > div:last-child > span { font-size: 8px; }
  .model-grid { gap: 11px; }
  .model-card { padding: 14px; min-height: 85px; gap: 10px; }
  .model-card h3 { font-size: 12px; }
  .model-index { font-size: 8px; }
  .model-card > div > span { font-size: 7px; margin-top: 7px; }
  .model-card > .icon { display: none; }
  .explore-pills { gap: 8px; }
  .explore-pills .filter-pill { font-size: 10px; padding: 8px 12px; }
  .tag-cloud { gap: 8px; }
  .tag-cloud a { font-size: 10px; padding: 9px 12px; gap: 6px; }
  .tag-cloud a > small { font-size: 7px; margin-left: 2px; }
  .about-intro { align-items: flex-start; padding-top: 35px; }
  .about-intro h1 { font-size: 26px; letter-spacing: -.9px; line-height: 1.6; }
  .about-asterisk { font-size: 55px; margin: 25px 0 0; }
  .about-content { padding-top: 0; padding-bottom: 35px; }
  .about-content section { padding-top: 27px; padding-bottom: 5px; }
  .about-content section > .eyebrow { font-size: 7px; }
  .about-content h2 { font-size: 19px; margin: 11px 0 14px; }
  .about-content p { font-size: 11px; line-height: 2.1; }
  .button { font-size: 10px; padding: 12px 16px; gap: 17px; }
  .button .icon { width: 14px; height: 14px; }
  .not-found { padding: 55px 0 70px; }
  .not-found h1 { font-size: 22px; }
  .not-found p { font-size: 11px; }
  .error-number { letter-spacing: -6px; }
  .empty-state { padding: 65px 15px; }
  .empty-state h3 { font-size: 21px; }
  .empty-state p { font-size: 11px; }
  .site-footer { gap: 17px; padding-block: 22px; }
  .footer-brand { width: 100%; font-size: 11px; }
  .site-footer > div { margin-left: 0; gap: 20px; font-size: 8px; }
}

@media (max-width: 375px) {
  :root { --content-padding: 16px; }
  .sidebar { padding-inline: 16px; }
  .nav-item { font-size: 10px; gap: 4px; }
  .page-intro h1 { font-size: 22px; }
  .featured-card-1 .featured-media { height: 235px; }
  .featured-media { height: 170px; }
  .featured-caption h3 { font-size: 12px; }
  .featured-label { font-size: 6px; }
  .featured-card-1 .featured-caption h3 { font-size: 21px; }
  .case-grid { column-gap: 10px; }
  .case-card h3 { font-size: 10px; }
  .case-author { max-width: 52%; }
  .type-tabs { gap: 15px; }
  .browse-topics { font-size: 7px; }
  .topic-card-image { height: 125px; }
  .about-asterisk { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .sidebar, .topbar, .site-footer, .study-sidebar, .related-section, .open-original { display: none; }
  .site-main { margin-left: 0; }
  main { padding: 0; }
  body { background: white; }
  .detail-layout { display: block; }
  .detail-original > img { max-height: 600px; }
  .detail-layout > .original-prompt-panel { position: static; display: block; max-height: none; }
  .original-prompt-panel > .original-prompt { display: block; overflow: visible; }
  .original-prompt-panel .prompt-text { overflow: visible; scrollbar-gutter: auto; }
  .prompt-section { break-inside: avoid; }
  .prompt-box { background: white; }
  .prompt-copy-control { display: none; }
  a { color: black; }
}

/* Adjacent cases use physical page links, including at the first and last item. */
.case-pagination { display: flex; justify-content: center; gap: 12px; margin: 12px 0 0; }
.case-step { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 14px; border: 1px solid #dfe1d7; border-radius: 4px; background: transparent; color: #69745b; font-size: 12px; line-height: 1.4; white-space: nowrap; transition: border-color .18s, background .18s; }
a.case-step:hover { background: #f8e1d2; border-color: var(--accent); }
.case-step-icon { display: flex; align-items: center; justify-content: center; }
.case-step-icon .icon { width: 16px; height: 16px; }
.case-step.is-previous .case-step-icon { transform: rotate(180deg); }
.case-step.is-next .case-step-icon { order: 1; }
.case-step.is-disabled { border-color: #e5e6df; color: #a5aa9b; }
@media (max-width: 600px) {
  .case-step { min-height: 40px; padding-inline: 16px; }
}
@media print {
  .case-pagination { display: none; }
}

/* All comparison pairs are present in the HTML; columns only arrange them. */
.comparison-intro { padding-bottom: 30px; }
.comparison-collection { padding: 27px 0 30px; border-top: 1px solid var(--line); }
.comparison-collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.comparison-collection-heading h2 { font-size: 20px; font-weight: 600; }
.comparison-counts { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 11px; }
.comparison-counts > span { display: inline-flex; gap: 7px; align-items: center; }
.comparison-counts i { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.comparison-counts > span:last-child i { background: #949b88; }
.comparison-context { max-width: 850px; margin: 12px 0 25px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.comparison-waterfall { column-count: 2; column-gap: 24px; }
.comparison-card { display: inline-block; width: 100%; vertical-align: top; margin: 0 0 26px; border: 1px solid #ddded5; background: var(--paper); border-radius: 6px; overflow: hidden; break-inside: avoid; }
.comparison-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 16px; }
.comparison-number { color: #8e9285; font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.comparison-status { color: #6c755e; font-size: 10px; }
.comparison-status::before { content: ''; display: inline-block; vertical-align: 1px; width: 4px; height: 4px; margin-right: 6px; border-radius: 50%; background: #93a474; }
.is-illustration .comparison-status { color: #858273; }
.is-illustration .comparison-status::before { background: #aaa591; }
.comparison-media { width: 100%; min-width: 0; }
.comparison-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: #e1e2d9; }
.comparison-side { min-width: 0; background: #eeeee8; }
.comparison-side > figcaption { display: flex; align-items: center; gap: 8px; padding: 9px 13px; background: #efefe8; color: #6d735f; font-size: 10px; line-height: 1.5; }
.comparison-side > figcaption > span { font-size: 9px; font-weight: 600; color: #9ba08f; }
.comparison-side-right > figcaption { color: #89533c; background: #f3e9df; }
.comparison-side-right > figcaption > span { color: #bb8b73; }
.is-illustration .comparison-side-right > figcaption { color: #6d735f; background: #efefe8; }
.is-illustration .comparison-side-right > figcaption > span { color: #9ba08f; }
.comparison-image-link { display: block; position: relative; width: 100%; aspect-ratio: var(--comparison-ratio, 1); background: #e9e9e3; }
.comparison-image-link > .comparison-image { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.comparison-open { position: absolute; right: 9px; bottom: 9px; padding: 5px 7px; border-radius: 3px; background: #fffefae8; color: #5c6154; font-size: 9px; opacity: 0; transition: opacity .18s; }
.comparison-image-link:hover .comparison-open, .comparison-image-link:focus-visible .comparison-open { opacity: 1; }
.comparison-card-body { padding: 20px 19px 13px; }
.comparison-card-body > h2 { font-size: 17px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.comparison-card-body > h2 a:hover { color: var(--accent); }
.comparison-attribution { display: flex; justify-content: space-between; gap: 13px; margin-top: 8px; color: #8c9083; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.comparison-attribution > span { flex: 0 0 auto; color: #97998f; font-size: 9px; }
.comparison-card-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 19px; padding-bottom: 15px; }
.comparison-card-actions > a { display: inline-flex; align-items: center; gap: 8px; color: #656e58; font-size: 11px; }
.comparison-card-actions > a:hover { color: var(--accent); }
.comparison-card-actions .icon { width: 14px; height: 14px; }
.comparison-card-actions .prompt-copy { font-size: 11px; min-height: 36px; padding: 6px 10px; }
.comparison-prompts { border-block: 1px solid #e2e3d9; }
.comparison-prompts > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; color: #777e6b; font-size: 11px; cursor: pointer; }
.comparison-prompts > summary::-webkit-details-marker { display: none; }
.comparison-prompts > summary:hover { color: var(--accent); }
.comparison-expand { font-size: 16px; font-weight: 400; line-height: 1; transition: transform .18s; }
.comparison-prompts[open] .comparison-expand { transform: rotate(45deg); }
.comparison-prompt-panels { padding: 2px 0 18px; }
.comparison-prompt-block + .comparison-prompt-block { margin-top: 21px; padding-top: 18px; border-top: 1px solid #e6e7dd; }
.comparison-prompt-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.comparison-prompt-label h3 { font-size: 12px; font-weight: 600; }
.comparison-prompt-label h3 small { display: block; margin-top: 4px; color: #989d8e; font-size: 9px; font-weight: 400; }
.comparison-prompt-label .prompt-copy { padding: 6px 9px; min-height: 34px; font-size: 10px; }
.comparison-prompt-block > .prompt-text { max-height: 460px; overflow-y: auto; padding-right: 10px; scrollbar-width: thin; scrollbar-color: #bdc4b0 transparent; font-size: 12px; line-height: 1.9; }
.comparison-source-links { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 13px; color: #959b8c; font-size: 9px; }
.comparison-source-links a:hover { color: var(--accent); }
.comparison-artwork { width: 100%; }
.comparison-artwork .comparison-side > figcaption { display: flex; align-items: center; justify-content: flex-start; gap: 8px; padding: 10px 13px; font-size: 11px; color: #6d735f; }
.comparison-artwork .comparison-side-right > figcaption { background: #f3e9df; color: #89533c; }
.comparison-artwork .comparison-side > figcaption > span { max-width: none; font-size: 9px; }
.comparison-media-note { padding: 12px 15px; font-size: 11px; color: #7d8470; line-height: 1.8; background: #f7f7ef; }

@media (min-width: 1900px) {
  .comparison-waterfall { column-count: 3; }
}

@media (min-width: 901px) and (max-width: 1179px) {
  .comparison-waterfall { column-count: 1; }
}

@media (min-width: 901px) and (max-width: 1599px) {
  .detail-layout > .original-prompt-panel { position: static; }
}

@media (max-width: 900px) {
  .comparison-waterfall { column-count: 1; }
  .comparison-intro { padding-block: 30px; }
  .comparison-intro h1 { font-size: 30px; }
  .comparison-intro p { max-width: 520px; font-size: 13px; }
  .comparison-context { font-size: 12px; }
  .comparison-card { margin-bottom: 24px; }
  .comparison-card-actions .prompt-copy, .comparison-prompt-label .prompt-copy { min-height: 44px; font-size: 12px; }
  .comparison-prompts > summary { min-height: 48px; font-size: 12px; }
  .comparison-prompt-block > .prompt-text { font-size: 13px; max-height: 420px; }
  .comparison-source-links { font-size: 11px; gap: 8px 17px; }
  .comparison-source-links a { display: inline-flex; align-items: center; min-height: 32px; }
}

@media (max-width: 600px) {
  .comparison-intro .eyebrow { font-size: 9px; }
  .comparison-intro h1 { font-size: 27px; }
  .comparison-intro p { line-height: 1.8; }
  .comparison-collection { padding-top: 22px; }
  .comparison-collection-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .comparison-collection-heading h2 { font-size: 19px; }
  .comparison-counts { font-size: 11px; gap: 20px; }
  .comparison-context { margin-top: 15px; margin-bottom: 20px; }
  .comparison-card-top { padding: 11px 13px; }
  .comparison-side > figcaption, .comparison-artwork .comparison-side > figcaption { padding: 9px 9px; gap: 6px; font-size: 10px; }
  .comparison-open { right: 6px; bottom: 6px; font-size: 8px; }
  .comparison-card-body { padding: 17px 14px 10px; }
  .comparison-card-body > h2 { font-size: 17px; }
  .comparison-attribution { flex-wrap: wrap; gap: 4px 10px; font-size: 11px; }
  .comparison-attribution > span { font-size: 10px; }
  .comparison-card-actions { margin-top: 13px; padding-bottom: 12px; }
  .comparison-card-actions > a { font-size: 12px; min-height: 44px; }
  .comparison-prompt-label h3 { font-size: 13px; }
  .comparison-prompt-label h3 small { font-size: 10px; }
  .comparison-media-note { font-size: 11px; padding: 10px 11px; }
}

@media (hover: none) {
  .comparison-open { opacity: 1; }
}

@media print {
  .comparison-waterfall { column-count: 2; }
  .comparison-card { break-inside: avoid; }
  .comparison-open, .comparison-card-actions, .comparison-expand { display: none; }
  .comparison-prompt-block > .prompt-text { max-height: none; overflow: visible; }
}

/* Two static advertising slots share the former topbar space. */
.advertising-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px var(--content-padding) 0; }
.advertising-slot { position: relative; min-width: 0; height: 72px; overflow: hidden; border: 1px solid #e1e1d8; border-radius: 3px; background: #f0f0e9; }
.advertising-strip.is-single { grid-template-columns: minmax(0, 1fr); }
.advertising-slot > a { display: block; height: 100%; }
.advertising-slot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.advertising-label { position: absolute; right: 5px; bottom: 4px; padding: 2px 4px; border-radius: 2px; background: #fffefac9; color: #929788; font-size: 8px; line-height: 1.3; pointer-events: none; }

/* Detail titles stay in the information panel, leaving the first row for work. */
.study-sidebar .detail-heading { min-width: 0; padding: 0; margin: 0; }
.study-sidebar .detail-heading > .eyebrow { flex-wrap: wrap; gap: 5px; margin-bottom: 10px; font-size: 9px; letter-spacing: .4px; color: #959d87; }
.study-sidebar .detail-heading .detail-featured { font-size: 8px; }
.study-sidebar .detail-heading h1 { margin: 0; font-size: 22px; line-height: 1.45; letter-spacing: -.4px; overflow-wrap: anywhere; }
.study-sidebar .detail-heading > p { font-size: 11px; line-height: 1.85; margin-top: 11px; }
.study-sidebar .detail-heading .detail-topic-links { margin-top: 13px; gap: 6px; }
.study-sidebar .detail-heading .detail-topic-links a { padding: 4px 7px; font-size: 9px; }
.study-sidebar .detail-heading .detail-models { margin-top: 12px; gap: 6px; font-size: 10px; }
.study-sidebar .detail-heading .detail-models a { padding: 4px 7px; }

@media (max-width: 900px) {
  .advertising-strip { gap: 12px; margin-top: 12px; }
  .advertising-slot { height: 58px; }
  .detail-layout > .study-sidebar { display: block; }
  .study-sidebar .detail-heading > p { font-size: 12px; }
}
@media (max-width: 600px) {
  .advertising-strip { gap: 9px; margin-top: 11px; }
  .advertising-slot { height: 50px; }
  .study-sidebar .detail-heading h1 { font-size: 22px; }
  .study-sidebar .detail-heading .detail-topic-links a { font-size: 10px; }
  .study-sidebar .study-facts { margin-top: 18px; padding-top: 18px; border-top: 1px solid #d8decd; }
}
@media print {
  .advertising-strip { display: none; }
  .detail-layout > .study-sidebar { display: block; position: static; margin: 18px 0; padding: 0; border: 0; background: white; }
  .study-sidebar .study-facts, .study-sidebar .study-navigation, .study-sidebar .study-tip { display: none; }
}
