:root {
  color-scheme: light;
  --ink: #152033;
  --muted: #5d6b7f;
  --paper: #f5f7fb;
  --panel: #ffffff;
  --line: #dfe5ef;
  --accent: #5b5bd6;
  --accent-2: #16a085;
  --shadow: 0 22px 60px rgba(28, 39, 64, .11);
  --radius: 22px;
  --content: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 30rem),
    radial-gradient(circle at 95% 12%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 32rem),
    var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 50%, transparent); text-underline-offset: .2em; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.shell { width: min(calc(100% - 2rem), var(--content)); margin: 0 auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 50; padding: .7rem 1rem; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 30%, transparent); }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .55rem .75rem; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 650; font-size: .92rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--panel); box-shadow: 0 3px 12px rgba(20, 31, 52, .07); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--panel); padding: .5rem .7rem; border-radius: 10px; }

.hero { padding: clamp(3.5rem, 9vw, 7.5rem) 0 3rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.eyebrow { margin: 0 0 .8rem; color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { margin: 0; max-width: 14ch; font-size: clamp(2.8rem, 7vw, 6.4rem); }
.hero-copy { max-width: 64ch; margin: 1.4rem 0 0; font-size: clamp(1rem, 1.8vw, 1.22rem); color: var(--muted); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.6rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .72rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: .82rem; font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #20a86b; box-shadow: 0 0 0 5px rgba(32, 168, 107, .12); }
.hero-visual { position: relative; min-height: 360px; padding: 1rem; border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 9%, #fff), #fff); box-shadow: var(--shadow); overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: auto -25% -50% 20%; height: 280px; border-radius: 50%; background: color-mix(in srgb, var(--accent-2) 18%, transparent); filter: blur(32px); }
.hero-visual img { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 330px; object-fit: cover; border-radius: var(--radius); }

.section { padding: 2.5rem 0 4.5rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.section-head p { margin: .45rem 0 0; color: var(--muted); }
.text-link { color: var(--accent); font-weight: 750; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.card { grid-column: span 4; display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; box-shadow: 0 9px 30px rgba(28, 39, 64, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 8.5; object-fit: cover; background: color-mix(in srgb, var(--accent) 8%, var(--paper)); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.15rem 1.15rem 1.25rem; }
.card-source { color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.card h3 { margin: .55rem 0 .7rem; font-size: 1.18rem; }
.card h3 a { text-decoration: none; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.card-footer { display: flex; justify-content: space-between; gap: .7rem; margin-top: auto; padding-top: 1rem; color: var(--muted); font-size: .76rem; }
.feature-card { grid-column: span 8; display: grid; grid-template-columns: 1fr 1.2fr; }
.feature-card .card-media { height: 100%; min-height: 300px; aspect-ratio: auto; }
.compact-card { grid-column: span 4; }

.source-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; }
.source-box { padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--panel) 86%, var(--accent) 2%); }
.source-box strong { display: block; }
.source-box span { display: block; margin-top: .3rem; color: var(--muted); font-size: .82rem; }
.status-ok { color: #13734a; }
.status-cache { color: #8b5d0b; }
.status-error { color: #a92e3d; }

.page { padding: 3.8rem 0 6rem; }
.page-header { max-width: 780px; margin-bottom: 2.3rem; }
.page-header h1 { max-width: none; font-size: clamp(2.4rem, 6vw, 5rem); }
.prose { max-width: 760px; padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.prose h2 { margin-top: 2rem; }
.prose p, .prose li { color: #3f4e63; }
.prose .lead { color: var(--ink); font-size: 1.16rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin: 1rem 0 1.8rem; color: var(--muted); font-size: .84rem; }
.notice { margin: 1.5rem 0; padding: 1rem 1.1rem; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }

.search-panel { padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.search-controls { display: grid; grid-template-columns: 1fr minmax(180px, .3fr); gap: .8rem; }
.search-controls input, .search-controls select { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.results { display: grid; gap: .65rem; margin-top: 1rem; }
.result { padding: .9rem; border: 1px solid var(--line); border-radius: 12px; }
.result strong { display: block; }
.result span { color: var(--muted); font-size: .82rem; }
.empty { padding: 2rem; color: var(--muted); text-align: center; }

.pagination { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.pagination a, .pagination span { min-width: 38px; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); text-align: center; text-decoration: none; }
.pagination .current { color: #fff; border-color: var(--accent); background: var(--accent); }

.media-block { margin: 3rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.media-block figure { margin: 0; padding: .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.media-block figcaption { padding: .7rem .3rem .25rem; color: var(--muted); font-size: .78rem; }
.media-block video { width: 100%; min-height: 220px; border-radius: 15px; background: #0e1421; }

.site-footer { margin-top: 4rem; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 78%, #fff); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 0; }
.footer-grid h2 { margin: 0 0 .7rem; font-size: 1.1rem; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: .86rem; }
.footer-links { display: grid; align-content: start; gap: .42rem; }
.footer-bottom { padding: 1rem 0 2rem; color: var(--muted); font-size: .76rem; }

/* Journal: generous editorial rhythm with a restrained magazine masthead. */
.journal-strip { padding: .38rem 0; background: #172033; color: #dce6f6; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.journal-strip span { margin: 0 .5rem; color: var(--accent-2); }
.layout-journal .header-inner { min-height: 78px; }
.layout-journal .brand { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; }
.layout-journal .brand-mark { width: 11px; height: 35px; border-radius: 2px; box-shadow: none; }
.layout-journal .hero-journal h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.layout-journal .card h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }

/* Gallery: centered exhibition masthead and image-led reading room. */
.layout-gallery { --paper: #fff8f1; --panel: #fffcf8; --ink: #2f2024; --muted: #765f65; --line: #ead8cf; --radius: 4px; background: var(--paper); }
.layout-gallery .site-header { position: relative; border: 0; background: var(--paper); backdrop-filter: none; }
.gallery-head { position: relative; padding: .8rem 0 1rem; border-bottom: 3px double var(--ink); text-align: center; }
.gallery-edition { display: flex; justify-content: space-between; padding-bottom: .55rem; color: var(--muted); font: 700 .7rem/1.2 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.gallery-brand-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.gallery-rule { height: 1px; background: var(--ink); }
.layout-gallery .brand { font: 500 clamp(1.9rem, 5vw, 4rem)/1 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.layout-gallery .nav { justify-content: center; margin-top: .85rem; }
.layout-gallery .nav a { border-radius: 0; padding: .35rem .9rem; color: var(--ink); font: 700 .72rem/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.layout-gallery .nav a:hover, .layout-gallery .nav a[aria-current="page"] { color: var(--accent); background: transparent; box-shadow: none; text-decoration: underline; text-decoration-thickness: 2px; }
.gallery-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.gallery-hero-art { margin: 0; transform: rotate(-1deg); border: 1px solid var(--ink); background: #fff; box-shadow: 12px 12px 0 color-mix(in srgb, var(--accent) 18%, transparent); }
.gallery-hero-art img { width: 100%; min-height: 450px; object-fit: cover; }
.gallery-hero-art figcaption { padding: .6rem .8rem; font: 700 .72rem/1.3 ui-monospace, monospace; text-transform: uppercase; }
.layout-gallery h1, .layout-gallery h2, .layout-gallery .card h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.layout-gallery .grid { gap: 1.5rem; }
.layout-gallery .card { grid-column: span 6; border-color: var(--ink); box-shadow: none; }
.layout-gallery .feature-card { grid-column: span 12; grid-template-columns: 1.35fr 1fr; }
.layout-gallery .card-media { aspect-ratio: 4 / 3; filter: saturate(.82) contrast(1.04); }

/* Briefing: a dense live-news desk with a wire queue and squared cards. */
.layout-briefing { --paper: #eef3f4; --panel: #fff; --ink: #102932; --muted: #536970; --line: #cbd8dc; --radius: 3px; background: linear-gradient(90deg, rgba(16,41,50,.04) 1px, transparent 1px) 0 0/24px 24px, var(--paper); }
.layout-briefing .site-header { background: #fff; backdrop-filter: none; }
.wire-strip { background: #102932; color: #eef8fa; }
.wire-strip .shell { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; font: 650 .72rem/1.2 ui-monospace, monospace; text-transform: uppercase; }
.wire-strip b { display: inline-grid; place-items: center; width: 24px; height: 18px; margin-right: .45rem; background: var(--accent-2); color: #071c22; }
.layout-briefing .brand { font: 800 1.12rem/1 ui-sans-serif, sans-serif; text-transform: uppercase; }
.layout-briefing .brand-mark { width: 34px; height: 5px; border-radius: 0; box-shadow: none; }
.hero-briefing { padding-top: 3.2rem; }
.briefing-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); gap: 1.25rem; align-items: stretch; }
.briefing-lead { padding: clamp(1.5rem, 4vw, 3.4rem); border-top: 7px solid var(--accent); background: #fff; }
.briefing-lead h1 { max-width: 18ch; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.desk-label { margin: 1.3rem 0 .45rem; font: 800 .7rem/1 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.briefing-link { display: inline-block; margin-top: 1.2rem; color: var(--accent); font-weight: 800; }
.briefing-board { padding: 1.35rem; background: #102932; color: #f3fbfc; }
.board-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid #38545d; font: 700 .75rem/1 ui-monospace, monospace; text-transform: uppercase; }
.board-head b { color: #75e1b0; font-size: 1.35rem; }
.briefing-board ol { margin: 0; padding: 0; list-style: none; }
.briefing-board li { padding: 1rem 0; border-bottom: 1px solid #38545d; }
.briefing-board li span { display: block; margin-bottom: .3rem; color: #8fc3ce; font-size: .7rem; text-transform: uppercase; }
.briefing-board li a { color: #fff; text-decoration: none; font-weight: 700; line-height: 1.3; }
.briefing-board > a { display: inline-block; margin-top: 1.1rem; color: #75e1b0; font-weight: 700; }
.layout-briefing .card { grid-column: span 6; border-radius: 0; border-top: 4px solid var(--accent); box-shadow: 0 8px 0 rgba(16,41,50,.08); }
.layout-briefing .feature-card { grid-column: span 12; }
.layout-briefing .card:not(.feature-card) .card-media { display: none; }

/* Handbook: persistent reference rail with quiet, utilitarian content. */
.layout-handbook { --paper: #f4f1e9; --panel: #fffdf7; --ink: #233043; --muted: #657184; --line: #d9d4c8; --radius: 10px; background: var(--paper); }
.layout-handbook main, .layout-handbook .site-footer { margin-left: 276px; }
.layout-handbook .site-header { position: fixed; inset: 0 auto 0 0; width: 276px; border: 0; background: #20324a; color: #f6f2e8; backdrop-filter: none; }
.info-rail { display: flex; min-height: 100%; flex-direction: column; padding: 2rem 1.35rem; }
.layout-handbook .brand { align-items: flex-start; color: #fff; font-size: 1.05rem; line-height: 1.2; }
.info-monogram { display: inline-grid; flex: 0 0 38px; place-items: center; height: 38px; background: #f6cc68; color: #20324a; font: italic 800 1.5rem/1 Georgia, serif; }
.rail-caption { margin: 1rem 0 2rem; color: #b9c6d8; font-size: .84rem; }
.layout-handbook .nav { align-items: stretch; flex-direction: column; gap: .25rem; }
.layout-handbook .nav a { padding: .75rem .8rem; border-left: 3px solid transparent; border-radius: 0; color: #dfe8f5; }
.layout-handbook .nav a:hover, .layout-handbook .nav a[aria-current="page"] { border-left-color: #f6cc68; color: #fff; background: #2b4260; box-shadow: none; }
.rail-feed { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid #415671; color: #f6cc68; font-size: .84rem; text-decoration: none; }
.hero-handbook { padding-top: 4.5rem; }
.handbook-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 3rem; align-items: end; }
.layout-handbook h1 { max-width: 11ch; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.handbook-stats { margin: 0; border-top: 1px solid var(--ink); }
.handbook-stats div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.handbook-stats dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.handbook-stats dd { margin: 0; font-weight: 750; }
.layout-handbook .card { grid-column: span 6; border-left: 5px solid var(--accent); box-shadow: none; }
.layout-handbook .card-media { display: none; }
.layout-handbook .feature-card { grid-column: span 12; display: flex; }

/* Index: search-first research console with compact result cards. */
.layout-index { --paper: #f4f5f7; --panel: #fff; --ink: #171927; --muted: #606779; --line: #d7dae2; --radius: 12px; background: var(--paper); }
.layout-index .site-header { background: #111526; color: #f5f7ff; border: 0; backdrop-filter: none; }
.index-head { min-height: 68px; display: grid; grid-template-columns: auto minmax(180px, .45fr) 1fr; align-items: center; gap: 1.2rem; }
.index-brand { color: #fff; }
.index-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid #6f7da9; color: #8cb6ff; font: 800 .85rem/1 ui-monospace, monospace; }
.quick-search { padding: .55rem .75rem; border: 1px solid #38415f; border-radius: 8px; color: #cdd5ec; text-decoration: none; font-size: .84rem; }
.layout-index .nav { justify-content: flex-end; }
.layout-index .nav a { color: #bac4dc; }
.layout-index .nav a:hover, .layout-index .nav a[aria-current="page"] { color: #fff; background: #262d45; box-shadow: none; }
.hero-index { padding-top: 3.4rem; }
.index-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(230px, .55fr); gap: 1.2rem; }
.index-hero-grid > div:first-child { padding: clamp(1.6rem, 4vw, 3.6rem); background: #fff; border: 1px solid var(--line); }
.layout-index h1 { max-width: 12ch; font-size: clamp(2.7rem, 7vw, 6rem); }
.index-query { margin-top: 2rem; }
.index-query label { display: block; margin-bottom: .55rem; color: var(--muted); font-size: .82rem; font-weight: 700; }
.index-query div { display: grid; grid-template-columns: 1fr auto; }
.index-query input { min-width: 0; padding: .9rem 1rem; border: 1px solid #9da5b7; border-right: 0; border-radius: 8px 0 0 8px; background: #f8f9fb; }
.index-query button { padding: .9rem 1.15rem; border: 0; border-radius: 0 8px 8px 0; background: var(--accent); color: #fff; font-weight: 800; }
.index-signal { position: relative; display: flex; min-height: 320px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: #171b30; color: #f8f9ff; text-align: center; }
.signal-orbit { position: absolute; width: 210px; height: 210px; border: 1px solid #4e5981; border-radius: 50%; box-shadow: 0 0 0 38px rgba(104,70,199,.14), 0 0 0 76px rgba(38,127,153,.08); }
.index-signal strong, .index-signal span:not(.signal-orbit), .index-signal a { position: relative; z-index: 1; }
.index-signal strong { font: 800 clamp(4rem, 8vw, 6.5rem)/1 ui-monospace, monospace; }
.index-signal > span:not(.signal-orbit) { color: #aab6d6; text-transform: uppercase; letter-spacing: .12em; }
.index-signal a { margin-top: 2rem; color: #9cc8ff; font-weight: 750; }
.layout-index .card { grid-column: span 12; display: grid; grid-template-columns: 150px 1fr; min-height: 0; box-shadow: none; }
.layout-index .card-media { width: 150px; height: 100%; min-height: 155px; aspect-ratio: auto; object-fit: cover; }
.layout-index .card-body { padding: 1rem 1.2rem; }
.layout-index .card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.layout-index .feature-card { border-color: var(--accent); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 260px; }
  .hero-visual img { min-height: 240px; }
  .card, .compact-card { grid-column: span 6; }
  .feature-card { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-hero-grid, .briefing-grid, .handbook-intro, .index-hero-grid { grid-template-columns: 1fr; }
  .gallery-hero-art { transform: none; }
  .layout-handbook main, .layout-handbook .site-footer { margin-left: 0; }
  .layout-handbook .site-header { position: sticky; width: auto; height: auto; }
  .info-rail { min-height: 72px; flex-direction: row; align-items: center; gap: 1rem; padding: .75rem 1rem; }
  .layout-handbook .nav { margin-left: auto; flex-direction: row; }
  .layout-handbook .nav a { border-left: 0; border-bottom: 3px solid transparent; }
  .layout-handbook .nav a:hover, .layout-handbook .nav a[aria-current="page"] { border-bottom-color: #f6cc68; }
  .rail-caption, .rail-feed { display: none; }
  .index-head { grid-template-columns: auto 1fr; }
  .quick-search { justify-self: end; }
  .layout-index .nav { grid-column: 1 / -1; justify-content: center; padding-bottom: .7rem; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 1.25rem), var(--content)); }
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 72px .65rem auto; display: none; flex-direction: column; align-items: stretch; padding: .6rem; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); box-shadow: var(--shadow); }
  .nav[data-open="true"] { display: flex; }
  .hero { padding-top: 3.2rem; }
  .card, .compact-card, .feature-card { grid-column: span 12; }
  .feature-card { display: flex; }
  .search-controls, .media-block, .footer-grid { grid-template-columns: 1fr; }
  .journal-strip, .gallery-edition, .quick-search, .wire-strip time { display: none; }
  .gallery-head { display: flex; min-height: 68px; align-items: center; justify-content: space-between; padding: .7rem 0; text-align: left; }
  .gallery-brand-row { display: block; }
  .gallery-rule { display: none; }
  .layout-gallery .brand { font-size: 1.5rem; }
  .layout-gallery .nav { margin-top: 0; }
  .layout-gallery .nav a { font-family: inherit; text-transform: none; }
  .info-rail { position: relative; }
  .layout-handbook .brand { margin-right: auto; }
  .layout-handbook .nav { margin-left: 0; }
  .layout-handbook .nav a { border: 0; }
  .index-head { position: relative; display: flex; justify-content: space-between; }
  .layout-index .nav { grid-column: auto; padding-bottom: .6rem; }
  .layout-index .card { display: flex; }
  .layout-index .card-media { width: 100%; height: auto; min-height: 190px; }
  .gallery-hero-art img { min-height: 280px; }
  .index-signal { min-height: 240px; }
}

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

@media print {
  .site-header, .site-footer, .nav-toggle, .search-panel { display: none !important; }
  body { background: #fff; }
  .page, .section { padding: 0; }
  .card, .prose { break-inside: avoid; box-shadow: none; }
}
