@charset "UTF-8";

:root {
  --tea: #6B5C4D;
  --tea-soft: #A78B6D;
  --ink-deep: #25211E;
  --paper: #F7F4EF;
  --paper-2: #EEE8E0;
  --text: #292724;
  --muted: #746E67;
  --accent: #D97732;
  --line: rgba(61, 52, 45, .16);
  --line-strong: rgba(61, 52, 45, .3);
  --shadow-sm: 0 8px 24px rgba(37, 33, 30, .07);
  --shadow-md: 0 18px 50px rgba(37, 33, 30, .11);
  --shadow-lg: 0 28px 80px rgba(37, 33, 30, .15);
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --max: 1480px;
  --read: 760px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); color-scheme: light; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--paper); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
::selection { background: rgba(217,119,50,.22); color: var(--ink-deep); }
:focus-visible { outline: 3px solid rgba(217,119,50,.45); outline-offset: 3px; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; z-index: 1000; left: 18px; top: 12px; transform: translateY(-160%); padding: 10px 14px; border-radius: 9px; color: #fff; background: var(--ink-deep); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247,244,239,.92); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: border-color .2s ease, box-shadow .2s ease, transform .25s ease; }
.site-header--scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 22px rgba(37,33,30,.04); }
.site-header__inner { max-width: var(--max); min-height: var(--header-h); margin: 0 auto; padding: 0 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; }
.brand-mark { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; }
.brand-mark__image { width: 48px; height: 48px; border-radius: 15px; overflow: hidden; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.brand-mark__image img { width: 100%; height: 100%; object-fit: cover; }
.brand-mark__text { display: grid; line-height: 1.2; gap: 3px; }
.brand-mark__text strong { color: var(--ink-deep); font-size: 1.08rem; letter-spacing: .03em; }
.brand-mark__text small { color: var(--muted); font-size: .73rem; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.primary-nav a { position: relative; padding: 10px 15px; border-radius: 999px; color: #514a44; font-size: .94rem; font-weight: 650; transition: color .18s ease, background .18s ease; }
.primary-nav a:hover { color: var(--ink-deep); background: rgba(107,92,77,.08); }
.primary-nav a[aria-current="page"] { color: #fff; background: var(--ink-deep); }
.header-search { display: flex; align-items: stretch; width: min(360px, 28vw); background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; box-shadow: 0 5px 20px rgba(37,33,30,.04); }
.header-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 10px 15px; color: var(--text); background: transparent; }
.header-search input::placeholder { color: #938b84; }
.header-search button { border: 0; padding: 0 16px; color: #fff; background: var(--tea); font-size: .88rem; font-weight: 700; }
.menu-toggle { display: none; }

.site-main { min-height: calc(100vh - var(--header-h)); }
.hero-shell { max-width: var(--max); margin: 0 auto; padding: 64px 34px 38px; display: grid; grid-template-columns: minmax(0, .93fr) minmax(460px, 1.07fr); gap: clamp(32px, 5vw, 86px); align-items: center; }
.hero-copy { padding: 28px 0 34px; }
.eyebrow { margin: 0 0 12px; color: var(--tea); font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.hero-copy h1, .page-intro h1, .detail-hero h1, .not-found h1 { margin: 0; color: var(--ink-deep); font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.hero-lead { max-width: 690px; margin: 27px 0 0; color: #5b554f; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 760; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: #fff; background: var(--accent); box-shadow: 0 10px 22px rgba(217,119,50,.22); }
.button--primary:hover { background: #c76828; box-shadow: 0 13px 28px rgba(217,119,50,.28); }
.button--ghost { color: var(--ink-deep); background: rgba(255,255,255,.72); border-color: var(--line-strong); }
.button--ghost:hover { background: #fff; border-color: var(--tea-soft); }
.hero-facts { margin: 38px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.hero-facts div { padding: 14px 12px; border-top: 1px solid var(--line); }
.hero-facts dt { color: var(--muted); font-size: .78rem; }
.hero-facts dd { margin: 3px 0 0; color: var(--ink-deep); font-size: .94rem; font-weight: 760; }
.hero-visual { position: relative; min-height: 570px; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-lg); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37,33,30,.03), rgba(37,33,30,.35)); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; }
.hero-visual__panel { position: absolute; z-index: 2; right: 22px; bottom: 22px; left: 22px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.35); border-radius: 18px; color: #fff; background: rgba(37,33,30,.62); backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-visual__panel span { font-size: .82rem; opacity: .8; }
.hero-visual__panel strong { font-size: 1rem; }

.section-shell { max-width: var(--max); margin: 0 auto; padding: 76px 34px; }
.section-shell--tight { padding-top: 54px; }
.section-heading { margin-bottom: 30px; }
.section-heading--split { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.75fr); gap: 44px; align-items: end; }
.section-heading h2, .discovery-band h2, .brand-note h2, .search-prompt h2, .detail-content h2, .empty-state h2 { margin: 0; color: var(--ink-deep); font-size: clamp(1.65rem, 2.8vw, 3.15rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.section-heading > p, .section-heading > div + p { margin: 0; color: var(--muted); line-height: 1.8; }
.media-grid { display: grid; gap: 18px; }
.media-grid--featured { grid-template-columns: repeat(4, minmax(0,1fr)); }
.media-grid--catalog { grid-template-columns: repeat(4, minmax(0,1fr)); }
.media-grid--related { grid-template-columns: repeat(6, minmax(0,1fr)); }
.media-card { min-width: 0; border-radius: var(--radius-md); background: rgba(255,255,255,.68); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 3px 0 rgba(37,33,30,.01); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.media-card:hover { transform: translateY(-4px); border-color: rgba(107,92,77,.32); box-shadow: var(--shadow-md); }
.media-card__visual { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); }
.media-card__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(37,33,30,.18)); }
.media-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.media-card:hover .media-card__visual img { transform: scale(1.035); }
.media-card__type { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 9px; border-radius: 999px; color: #fff; background: rgba(37,33,30,.72); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 760; }
.media-card__body { padding: 18px 18px 20px; }
.media-card__eyebrow { display: flex; gap: 10px; color: var(--muted); font-size: .74rem; }
.media-card__eyebrow span + span::before { content: "·"; margin-right: 10px; color: var(--tea-soft); }
.media-card h3 { margin: 7px 0 0; color: var(--ink-deep); font-size: 1.1rem; line-height: 1.35; letter-spacing: -.015em; }
.media-card h3 a:hover { color: var(--tea); }
.media-card p { margin: 10px 0 0; color: var(--muted); font-size: .89rem; line-height: 1.72; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 9px; border-radius: 999px; color: #645c55; background: var(--paper-2); border: 1px solid rgba(107,92,77,.1); font-size: .72rem; white-space: nowrap; }
a.tag:hover { color: var(--ink-deep); border-color: var(--tea-soft); background: #fff; }
.media-card--compact .media-card__visual { aspect-ratio: 5 / 3; }
.media-card--compact .media-card__body { padding: 14px 15px 16px; }
.media-card--compact h3 { font-size: .98rem; }
.media-card--compact .tag-row { margin-top: 10px; }

.discovery-band { max-width: calc(var(--max) - 68px); margin: 62px auto 28px; display: grid; grid-template-columns: minmax(360px,.9fr) minmax(0,1.1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-deep); color: #fff; box-shadow: var(--shadow-lg); }
.discovery-band__visual { min-height: 520px; background: #3a332e; }
.discovery-band__visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; opacity: .86; }
.discovery-band__content { padding: clamp(36px, 5vw, 82px); display: flex; flex-direction: column; justify-content: center; }
.discovery-band .eyebrow { color: #d7b697; }
.discovery-band h2 { color: #fff; }
.discovery-band p { margin: 20px 0 0; color: rgba(255,255,255,.72); }
.large-search { margin-top: 28px; }
.large-search label { display: block; margin-bottom: 9px; color: rgba(255,255,255,.78); font-size: .85rem; font-weight: 680; }
.large-search__row { display: flex; align-items: stretch; gap: 10px; }
.large-search input { min-width: 0; flex: 1; min-height: 52px; padding: 0 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: #fff; background: rgba(255,255,255,.08); outline: 0; }
.large-search input::placeholder { color: rgba(255,255,255,.45); }
.large-search input:focus { border-color: rgba(217,119,50,.75); background: rgba(255,255,255,.11); }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.quick-links a { padding: 7px 11px; border: 1px solid currentColor; border-radius: 999px; color: inherit; font-size: .78rem; opacity: .82; }
.quick-links a:hover { opacity: 1; }
.discovery-band .quick-links a { border-color: rgba(255,255,255,.2); }

.category-section { border-top: 1px solid var(--line); }
.category-layout { display: grid; grid-template-columns: minmax(340px,.86fr) minmax(0,1.4fr); gap: 18px; align-items: stretch; }
.category-layout__lead .media-card { height: 100%; }
.category-layout__lead .media-card__visual { aspect-ratio: 16 / 9; }
.category-layout__rail { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.category-layout__rail .media-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.category-layout__rail .media-card:last-child:nth-child(odd) { display: grid; grid-template-columns: minmax(220px,.55fr) minmax(0,1fr); }
.category-layout__rail .media-card:last-child:nth-child(odd) .media-card__visual { aspect-ratio: auto; height: 100%; }
.section-link { display: flex; justify-content: flex-end; margin-top: 20px; }
.section-link a, .text-link { color: var(--tea); font-weight: 760; }
.section-link a:hover, .text-link:hover { color: var(--accent); }

.brand-note { display: grid; grid-template-columns: minmax(360px,.8fr) minmax(0,1.2fr); gap: clamp(34px,5vw,84px); align-items: center; }
.brand-note__art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper-2); }
.brand-note__art img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.brand-note__body { max-width: 780px; }
.brand-note__body p { color: var(--muted); }
.brand-note__body h2 + p { margin-top: 22px; }
.brand-note__body .text-link { display: inline-flex; margin-top: 14px; }

.site-footer { margin-top: 70px; color: rgba(255,255,255,.75); background: var(--ink-deep); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 54px 34px 32px; display: grid; grid-template-columns: 1fr auto; gap: 28px 50px; align-items: start; }
.footer-brand__name { color: #fff; font-size: 1.35rem; font-weight: 850; }
.footer-brand p { max-width: 620px; margin: 10px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: .88rem; }
.footer-nav a:hover { color: #fff; }
.footer-note { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .83rem; }
.footer-copy { grid-column: 1 / -1; margin: -12px 0 0; color: rgba(255,255,255,.48); font-size: .78rem; }

.breadcrumbs { max-width: var(--max); margin: 0 auto; padding: 24px 34px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .78rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; opacity: .45; }
.breadcrumbs a:hover { color: var(--tea); }
.page-intro { max-width: var(--max); margin: 0 auto; padding: 52px 34px 34px; display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.62fr); gap: clamp(32px,6vw,92px); align-items: center; }
.page-intro h1 { font-size: clamp(2.45rem,5vw,4.8rem); }
.page-intro p:not(.eyebrow) { max-width: 790px; margin: 24px 0 0; color: var(--muted); font-size: 1.03rem; }
.page-intro__visual { max-height: 360px; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-md); }
.page-intro__visual img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.filter-bar { max-width: calc(var(--max) - 68px); margin: 12px auto 0; padding: 8px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar a { flex: 1 0 auto; min-width: 100px; padding: 9px 14px; text-align: center; border-radius: 999px; color: var(--muted); font-size: .86rem; font-weight: 700; }
.filter-bar a:hover { color: var(--ink-deep); background: var(--paper-2); }
.filter-bar a[aria-current="page"] { color: #fff; background: var(--tea); }
.section-shell--catalog { padding-top: 38px; }
.catalog-summary { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-bottom: 22px; padding: 18px 20px; border-radius: 18px; background: var(--paper-2); }
.catalog-summary > div { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.catalog-summary strong { color: var(--ink-deep); font-size: 1.7rem; line-height: 1; }
.catalog-summary span, .catalog-summary p { color: var(--muted); font-size: .84rem; }
.catalog-summary p { margin: 0; }
.search-prompt { max-width: calc(var(--max) - 68px); margin: 22px auto 0; padding: 38px 40px; border-radius: var(--radius-lg); color: #fff; background: var(--tea); display: grid; grid-template-columns: 1fr minmax(360px,.9fr); gap: 30px; align-items: center; }
.search-prompt .eyebrow { color: #ead7c3; }
.search-prompt h2 { color: #fff; font-size: clamp(1.5rem,2.3vw,2.6rem); }
.search-prompt form { display: flex; gap: 10px; }
.search-prompt input { min-width: 0; flex: 1; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 0 18px; color: #fff; background: rgba(255,255,255,.1); outline: 0; }
.search-prompt input::placeholder { color: rgba(255,255,255,.62); }

.search-workspace { max-width: var(--max); margin: 0 auto; padding: 18px 34px 78px; }
.search-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(200px,.28fr) auto; gap: 12px; align-items: end; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.72); box-shadow: var(--shadow-sm); }
.field-group { display: grid; gap: 7px; }
.field-group label { color: var(--muted); font-size: .78rem; font-weight: 720; }
.field-group input, .field-group select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--text); background: #fff; outline: 0; }
.field-group input:focus, .field-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(217,119,50,.1); }
.results-head { margin: 26px 0 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.results-head > div { display: flex; align-items: baseline; gap: 7px; }
.results-head strong { font-size: 1.8rem; color: var(--ink-deep); }
.results-head span, .results-head p { color: var(--muted); font-size: .84rem; }
.results-head p { margin: 0; }
.empty-state { min-height: 360px; margin-top: 24px; padding: 52px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(255,255,255,.45); }
.empty-state__icon { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; color: var(--tea); background: var(--paper-2); font-size: 1.65rem; font-weight: 800; }
.empty-state h2 { margin-top: 20px; font-size: 1.8rem; }
.empty-state p { max-width: 600px; margin: 12px 0 0; color: var(--muted); }
.empty-state .quick-links { justify-content: center; color: var(--tea); }
.empty-state .button { margin-top: 22px; }

.detail-page { max-width: var(--max); margin: 0 auto; padding: 44px 34px 28px; }
.detail-hero { display: grid; grid-template-columns: minmax(300px,.42fr) minmax(0,1fr); gap: clamp(36px,6vw,94px); align-items: center; }
.detail-hero__poster { max-width: 510px; justify-self: center; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-lg); }
.detail-hero__poster img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.detail-hero h1 { font-size: clamp(2.8rem,6vw,5.8rem); }
.detail-hero__original { margin: 13px 0 0; color: var(--tea-soft); font-size: 1rem; letter-spacing: .02em; }
.detail-hero__summary { max-width: 820px; margin: 24px 0 0; color: #59534d; font-size: 1.08rem; line-height: 1.88; }
.metadata-list { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.metadata-list div { min-width: 110px; padding: 10px 14px; border-radius: 14px; background: var(--paper-2); }
.metadata-list dt { color: var(--muted); font-size: .7rem; }
.metadata-list dd { margin: 2px 0 0; color: var(--ink-deep); font-size: .9rem; font-weight: 750; }
.tag-row--large .tag { min-height: 34px; padding-inline: 12px; font-size: .78rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.34fr); gap: clamp(34px,5vw,76px); align-items: start; margin-top: 74px; }
.detail-content { max-width: 860px; }
.detail-content section + section { margin-top: 54px; }
.detail-content h2 { font-size: clamp(1.6rem,2.4vw,2.45rem); }
.prose p { margin: 18px 0 0; color: #5b554f; line-height: 1.95; font-size: 1.01rem; }
.detail-note { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.58); }
.detail-note h2 { font-size: 1.55rem; }
.detail-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.aside-card__label { color: var(--muted); font-size: .72rem; font-weight: 760; letter-spacing: .08em; }
.aside-card strong { display: block; margin-top: 8px; color: var(--ink-deep); }
.aside-card p { margin: 7px 0 0; color: var(--muted); font-size: .87rem; word-break: break-word; }
.aside-card a { display: inline-block; margin-top: 14px; color: var(--tea); font-size: .86rem; font-weight: 760; }
.aside-card--image { padding: 0; overflow: hidden; }
.aside-card--image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.aside-card--image div { padding: 18px 20px 20px; }
.aside-card--image strong { margin: 0; }
.related-section { margin-top: 30px; border-top: 1px solid var(--line); }
.not-found { max-width: 900px; min-height: 60vh; margin: 0 auto; padding: 90px 34px; display: flex; flex-direction: column; justify-content: center; }
.not-found h1 { font-size: clamp(2.7rem,6vw,5.6rem); }
.not-found > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }

.reveal-ready { opacity: 0; transform: translateY(18px); }
.reveal-ready.reveal-in { opacity: 1; transform: translateY(0); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.media-card.reveal-ready:nth-child(2n) { transition-delay: .04s; }
.media-card.reveal-ready:nth-child(3n) { transition-delay: .08s; }
.media-card.reveal-ready:nth-child(4n) { transition-delay: .12s; }

@media (max-width: 1240px) {
  .site-header__inner { grid-template-columns: auto 1fr; }
  .primary-nav { justify-content: flex-end; }
  .header-search { grid-column: 1 / -1; width: 100%; margin-top: -8px; margin-bottom: 12px; }
  .site-header__inner { padding-top: 10px; }
  .hero-shell { grid-template-columns: minmax(0,1fr) minmax(390px,.9fr); }
  .hero-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .media-grid--featured, .media-grid--catalog { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .media-grid--related { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category-layout { grid-template-columns: minmax(320px,.75fr) minmax(0,1.25fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .site-header__inner { padding-inline: 22px; gap: 14px; }
  .hero-shell { padding: 44px 22px 30px; grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 6px; }
  .hero-visual, .hero-visual img { min-height: 430px; }
  .section-shell { padding-inline: 22px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 14px; }
  .discovery-band { max-width: calc(100% - 44px); grid-template-columns: .8fr 1.2fr; }
  .category-layout { grid-template-columns: 1fr; }
  .category-layout__rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-note { padding-inline: 22px; grid-template-columns: 1fr 1fr; gap: 34px; }
  .page-intro { padding-inline: 22px; grid-template-columns: 1fr .55fr; gap: 28px; }
  .filter-bar, .search-prompt { max-width: calc(100% - 44px); }
  .search-workspace { padding-inline: 22px; }
  .search-form { grid-template-columns: 1fr 220px; }
  .search-form .button { grid-column: 1 / -1; }
  .detail-page { padding-inline: 22px; }
  .detail-hero { grid-template-columns: minmax(260px,.42fr) 1fr; gap: 34px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer__inner { padding-inline: 22px; }
}

@media (max-width: 820px) {
  .site-header__inner { min-height: 68px; grid-template-columns: 1fr auto; padding-top: 0; }
  .brand-mark__image { width: 42px; height: 42px; border-radius: 13px; }
  .brand-mark__text small { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-deep); background: #fff; font-size: .82rem; font-weight: 720; }
  .menu-toggle__bars { width: 17px; display: grid; gap: 3px; }
  .menu-toggle__bars i { display: block; height: 1.5px; border-radius: 99px; background: currentColor; }
  .primary-nav { position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; padding: 10px; display: grid; justify-content: stretch; gap: 4px; border: 1px solid var(--line); border-radius: 18px; background: rgba(247,244,239,.98); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .primary-nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { text-align: center; }
  .header-search { display: none; }
  .hero-shell { padding-top: 34px; }
  .hero-visual { min-height: 360px; }
  .hero-visual img { min-height: 360px; }
  .media-grid--featured, .media-grid--catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .discovery-band { grid-template-columns: 1fr; }
  .discovery-band__visual, .discovery-band__visual img { min-height: 320px; max-height: 420px; }
  .brand-note { grid-template-columns: 1fr; }
  .brand-note__art { max-height: 430px; }
  .brand-note__art img { height: 100%; }
  .page-intro { grid-template-columns: 1fr; }
  .page-intro__visual { max-height: 320px; }
  .search-prompt { grid-template-columns: 1fr; padding: 30px; }
  .search-form { grid-template-columns: 1fr; }
  .search-form .button { grid-column: auto; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero__poster { width: min(100%,520px); justify-self: start; }
  .detail-layout { margin-top: 54px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .site-header__inner { padding-inline: 16px; }
  .brand-mark { min-width: 0; }
  .brand-mark__text strong { font-size: .98rem; }
  .hero-shell { padding-inline: 16px; padding-top: 26px; }
  .hero-copy h1, .page-intro h1, .detail-hero h1, .not-found h1 { letter-spacing: -.045em; }
  .hero-lead { font-size: .98rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 4px; }
  .hero-facts div { padding-inline: 6px; }
  .hero-visual { min-height: 310px; border-radius: 24px; }
  .hero-visual img { min-height: 310px; }
  .hero-visual__panel { right: 14px; bottom: 14px; left: 14px; padding: 14px; }
  .section-shell { padding: 54px 16px; }
  .section-shell--tight { padding-top: 44px; }
  .media-grid--featured, .media-grid--catalog, .media-grid--related { grid-template-columns: 1fr; }
  .media-card { border-radius: 18px; }
  .media-card__visual { aspect-ratio: 16 / 10; }
  .discovery-band { max-width: calc(100% - 32px); margin-top: 34px; border-radius: 24px; }
  .discovery-band__content { padding: 30px 22px 34px; }
  .large-search__row { display: grid; }
  .category-layout__rail { grid-template-columns: 1fr; }
  .category-layout__rail .media-card:last-child:nth-child(odd) { display: block; grid-column: auto; }
  .category-layout__rail .media-card:last-child:nth-child(odd) .media-card__visual { aspect-ratio: 5/3; }
  .brand-note { padding-inline: 16px; }
  .breadcrumbs { padding-inline: 16px; }
  .page-intro { padding: 40px 16px 28px; }
  .filter-bar { max-width: calc(100% - 32px); border-radius: 16px; }
  .filter-bar a { min-width: 88px; }
  .section-shell--catalog { padding-top: 26px; }
  .catalog-summary { grid-template-columns: 1fr; gap: 6px; }
  .search-prompt { max-width: calc(100% - 32px); padding: 24px 20px; border-radius: 22px; }
  .search-prompt form { display: grid; }
  .search-prompt input { min-height: 48px; }
  .search-workspace { padding: 10px 16px 58px; }
  .search-form { padding: 14px; }
  .results-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .detail-page { padding: 30px 16px 20px; }
  .detail-hero__poster { border-radius: 24px; }
  .detail-hero__summary { font-size: 1rem; }
  .metadata-list { display: grid; grid-template-columns: repeat(3,1fr); }
  .metadata-list div { min-width: 0; padding: 9px 10px; }
  .detail-layout { margin-top: 42px; }
  .detail-content section + section { margin-top: 42px; }
  .detail-note { padding: 20px; }
  .detail-aside { grid-template-columns: 1fr; }
  .not-found { padding-inline: 16px; }
  .site-footer__inner { padding: 42px 16px 26px; }
}

@media (max-width: 420px) {
  .menu-toggle { padding-inline: 9px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-visual__panel { display: grid; gap: 2px; }
  .metadata-list { grid-template-columns: 1fr; }
  .tag-row--large { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .001ms!important; animation-duration: .001ms!important; animation-iteration-count: 1!important; }
  .reveal-ready { opacity: 1!important; transform: none!important; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .filter-bar, .search-prompt, .detail-aside, .header-search, .menu-toggle { display: none!important; }
  body { background: #fff; color: #000; }
  .site-main, .section-shell, .detail-page, .page-intro { max-width: none; padding: 0; }
  .media-card { break-inside: avoid; box-shadow: none; }
  a { text-decoration: none; }
}
