:root {
  --tea: #6B5C4D;
  --tea-soft: #A78B6D;
  --ink: #25211E;
  --paper: #F7F4EF;
  --paper-2: #EEE8E0;
  --text: #292724;
  --muted: #746E67;
  --accent: #D97732;
  --white: #FFFFFF;
  --line: rgba(107, 92, 77, 0.18);
  --line-strong: rgba(107, 92, 77, 0.32);
  --shadow-sm: 0 8px 24px rgba(37, 33, 30, 0.08);
  --shadow-md: 0 18px 45px rgba(37, 33, 30, 0.12);
  --shadow-lg: 0 28px 70px rgba(37, 33, 30, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shell: 1240px;
  --measure: 760px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
input[type="search"] { appearance: none; }
::selection { background: rgba(217,119,50,.22); color: var(--ink); }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.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;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: rgba(247,244,239,.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(247,244,239,.98); }
.site-header__inner { min-height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 175px; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; }
.brand__copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand__copy strong { color: var(--ink); font-size: 19px; letter-spacing: .02em; }
.brand__copy small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 6px; }
.main-nav a { position: relative; padding: 10px 12px; border-radius: 999px; color: #514b45; font-size: 14px; font-weight: 650; }
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.header-search { display: flex; align-items: center; min-width: 290px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); overflow: hidden; }
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,119,50,.13); }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 10px 8px 10px 16px; background: transparent; color: var(--text); }
.header-search input::placeholder { color: #938c84; }
.header-search button { border: 0; background: transparent; color: var(--tea); font-weight: 750; padding: 10px 15px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.nav-toggle__line { display: block; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 9px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font-weight: 780;
  letter-spacing: .01em;
  box-shadow: 0 8px 18px rgba(217,119,50,.18);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); background: #c96b2c; box-shadow: 0 10px 22px rgba(217,119,50,.23); }
.button:active { transform: translateY(0); }
.button--ghost { background: transparent; color: var(--tea); border-color: var(--line-strong); box-shadow: none; }
.button--ghost:hover { background: var(--paper-2); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--tea); font-weight: 760; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link::after { content: "→"; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--tea); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 99px; background: var(--accent); }

.hero-shell { position: relative; overflow: hidden; padding: 66px 0 42px; background: linear-gradient(180deg, #f7f4ef 0%, #f2ece4 100%); }
.hero-shell::before { content: ""; position: absolute; width: 520px; height: 520px; right: -170px; top: -260px; border-radius: 50%; border: 1px solid rgba(107,92,77,.14); box-shadow: 0 0 0 80px rgba(107,92,77,.035), 0 0 0 160px rgba(107,92,77,.02); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); align-items: center; gap: 58px; }
.hero-copy { padding-block: 30px; }
.hero-copy h1 { margin: 16px 0 20px; max-width: 760px; color: var(--ink); font-size: clamp(42px, 5vw, 72px); line-height: 1.08; letter-spacing: -.045em; }
.hero-lead { max-width: 670px; margin: 0; color: #59534d; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.85; }
.hero-search { margin-top: 32px; max-width: 720px; }
.hero-search > label { display: block; margin-bottom: 9px; color: var(--ink); font-weight: 780; }
.hero-search__control { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 7px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm); }
.hero-search__control:focus-within { border-color: rgba(217,119,50,.75); box-shadow: 0 0 0 3px rgba(217,119,50,.1), var(--shadow-sm); }
.hero-search__control input { min-width: 0; border: 0; outline: 0; padding: 10px 12px; background: transparent; color: var(--text); }
.quick-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick-topics a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); color: #625a52; font-size: 13px; }
.quick-topics a:hover { border-color: var(--tea-soft); background: var(--white); color: var(--ink); }
.hero-art { position: relative; min-height: 520px; }
.hero-art > img { width: 100%; height: 520px; object-fit: cover; border-radius: 34px 34px 110px 34px; box-shadow: var(--shadow-lg); }
.hero-art::before { content: ""; position: absolute; z-index: -1; inset: 42px -28px -24px 55px; border-radius: 36px 36px 110px 36px; background: var(--tea); opacity: .12; }
.hero-art__panel { position: absolute; left: -38px; bottom: 34px; width: 260px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.58); border-radius: 18px; background: rgba(37,33,30,.91); color: var(--white); box-shadow: var(--shadow-md); backdrop-filter: blur(10px); }
.hero-art__panel span { display: block; margin-bottom: 4px; color: #d9c8b7; font-size: 12px; }
.hero-art__panel strong { display: block; font-size: 17px; line-height: 1.45; }

.home-strip { position: relative; z-index: 2; margin-top: 4px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
.home-strip a { min-height: 106px; padding: 21px 24px; border-right: 1px solid var(--line); transition: background .15s ease; }
.home-strip a:last-child { border-right: 0; }
.home-strip a:hover { background: var(--paper-2); }
.home-strip strong { display: block; color: var(--ink); font-size: 18px; }
.home-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.collection-section { padding: 84px 0; }
.collection-section--soft { background: var(--paper-2); }
.section-heading { max-width: 790px; margin-bottom: 28px; }
.section-heading h2 { margin: 10px 0 10px; color: var(--ink); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.18; letter-spacing: -.03em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 16px; }
.section-heading--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading--split > div { max-width: 780px; }

.media-grid { display: grid; gap: 18px; }
.media-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-grid--standard { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-card { min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--white); overflow: hidden; box-shadow: 0 6px 20px rgba(37,33,30,.045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.media-card:hover { transform: translateY(-3px); border-color: rgba(107,92,77,.3); box-shadow: var(--shadow-md); }
.media-card__image { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #ddd4c9; }
.media-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.media-card:hover .media-card__image img { transform: scale(1.025); }
.media-card__type { position: absolute; left: 12px; top: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(37,33,30,.86); color: var(--white); font-size: 11px; font-weight: 760; backdrop-filter: blur(8px); }
.media-card__body { padding: 17px 18px 18px; }
.media-card__eyebrow { margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.media-card h3 { margin: 0 0 7px; color: var(--ink); font-size: 18px; line-height: 1.35; }
.media-card h3 a:hover { color: var(--accent); }
.media-card p { display: -webkit-box; margin: 0; overflow: hidden; color: #675f58; font-size: 13px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag-row span, .tag-row a { padding: 4px 8px; border-radius: 7px; background: var(--paper-2); color: #6d655d; font-size: 11px; }
.tag-row a:hover { background: #e6d9ca; color: var(--ink); }

.discovery-panel { padding: 86px 0; background: var(--ink); color: var(--white); }
.discovery-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.discovery-image img { width: 100%; height: 430px; object-fit: cover; border-radius: 30px 30px 30px 90px; }
.discovery-copy .eyebrow { color: #d6c4b2; }
.discovery-copy h2 { margin: 12px 0 18px; max-width: 630px; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.17; letter-spacing: -.035em; }
.discovery-copy p { max-width: 650px; margin: 0; color: #d0c8c1; font-size: 16px; }
.discovery-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.discovery-panel .button--ghost { color: var(--white); border-color: rgba(255,255,255,.27); }
.discovery-panel .button--ghost:hover { background: rgba(255,255,255,.08); }

.identity-section { padding: 86px 0 96px; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.fact-card { min-height: 185px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.fact-card > span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: var(--paper-2); color: var(--tea); font-size: 12px; font-weight: 800; }
.fact-card p { margin: 0; color: #625b55; font-size: 14px; }

.breadcrumb { width: min(calc(100% - 48px), var(--shell)); margin: 18px auto 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: #b3aba3; }
.breadcrumb a:hover { color: var(--accent); }

.page-intro { padding: 46px 0 54px; }
.page-intro h1 { margin: 11px 0 12px; color: var(--ink); font-size: clamp(38px, 5vw, 64px); line-height: 1.1; letter-spacing: -.045em; }
.page-intro p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; }
.page-intro--watch { padding-top: 32px; }
.page-intro__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 44px; }
.page-intro__grid img { width: 100%; height: 320px; object-fit: cover; border-radius: 24px 24px 70px 24px; box-shadow: var(--shadow-md); }
.page-intro--catalog { border-bottom: 1px solid var(--line); }

.watch-lanes { padding-bottom: 74px; }
.watch-lane { display: grid; grid-template-columns: 310px 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.watch-lane:first-child { border-top: 1px solid var(--line); }
.watch-lane__copy { padding-top: 4px; }
.watch-lane__copy > span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.watch-lane__copy h2 { margin: 8px 0 10px; color: var(--ink); font-size: 25px; line-height: 1.25; letter-spacing: -.02em; }
.watch-lane__copy p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.watch-lane__copy a { color: var(--tea); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.watch-lane__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.media-card--compact .media-card__body { padding: 14px; }
.media-card--compact h3 { font-size: 15px; }
.media-card--compact p { -webkit-line-clamp: 2; font-size: 12px; }
.media-card--compact .tag-row { display: none; }
.search-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; margin-bottom: 88px; padding: 34px; border-radius: 24px; background: var(--ink); color: var(--white); }
.search-band h2 { margin: 9px 0 0; font-size: 27px; line-height: 1.25; }
.search-band .eyebrow { color: #dbc7b2; }
.search-band form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.08); }
.search-band input { min-width: 0; border: 0; outline: 0; padding: 10px 12px; background: transparent; color: var(--white); }
.search-band input::placeholder { color: #c4bbb3; }

.catalog-layout { display: grid; grid-template-columns: 210px 1fr; gap: 34px; padding-top: 42px; padding-bottom: 90px; }
.filter-panel { position: sticky; top: calc(var(--header-h) + 18px); align-self: start; display: flex; flex-direction: column; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.filter-panel > strong { margin: 0 0 8px 8px; color: var(--ink); font-size: 13px; }
.filter-panel a { padding: 9px 10px; border-radius: 9px; color: #655e57; font-size: 14px; font-weight: 650; }
.filter-panel a:hover { background: var(--paper-2); }
.filter-panel a[aria-current="page"] { background: var(--ink); color: var(--white); }
.filter-panel__note { margin-top: 12px; padding: 12px 10px 2px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.filter-panel__note span { color: var(--ink); font-weight: 800; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.catalog-toolbar h2 { margin: 0; color: var(--ink); font-size: 24px; }
.catalog-toolbar a { color: var(--tea); font-size: 13px; font-weight: 760; }
.catalog-toolbar a:hover { color: var(--accent); }

.search-hero { padding: 38px 0 46px; }
.search-hero__inner { position: relative; min-height: 360px; display: grid; grid-template-columns: 1fr 360px; align-items: center; gap: 40px; padding: 44px; border-radius: 28px; background: var(--paper-2); overflow: hidden; }
.search-hero h1 { margin: 10px 0 12px; max-width: 780px; color: var(--ink); font-size: clamp(36px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -.04em; }
.search-hero p { max-width: 690px; margin: 0; color: var(--muted); }
.search-hero img { width: 100%; height: 260px; object-fit: cover; border-radius: 24px 24px 62px 24px; }
.search-hero__form { grid-column: 1 / -1; display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 14px; padding-top: 6px; }
.search-hero__form label { color: var(--ink); font-weight: 800; }
.search-hero__form > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white); }
.search-hero__form input { min-width: 0; border: 0; outline: 0; padding: 10px 12px; background: transparent; }
.search-results { padding-bottom: 90px; }
.topic-browser { padding: 10px 0 34px; }
.topic-browser h2 { margin: 0 0 14px; color: var(--ink); font-size: 22px; }
.quick-topics--large { margin-top: 0; }
.quick-topics--large a { padding: 9px 14px; background: var(--white); font-size: 14px; }
.empty-state { max-width: 760px; margin: 36px auto; padding: 64px 34px; text-align: center; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.empty-state h2 { margin: 0 0 10px; color: var(--ink); font-size: 30px; }
.empty-state p { margin: 0 auto 24px; max-width: 560px; color: var(--muted); }

.detail-hero { padding: 34px 0 58px; }
.detail-hero__grid { display: grid; grid-template-columns: 390px 1fr; gap: 56px; align-items: start; }
.detail-poster { position: sticky; top: calc(var(--header-h) + 20px); }
.detail-poster img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 26px 26px 82px 26px; box-shadow: var(--shadow-lg); }
.detail-copy { padding-top: 18px; }
.detail-copy h1 { margin: 10px 0 4px; color: var(--ink); font-size: clamp(42px, 5vw, 68px); line-height: 1.04; letter-spacing: -.045em; }
.original-title { margin: 0 0 22px; color: var(--muted); font-size: 16px; letter-spacing: .02em; }
.detail-lead { max-width: 780px; margin: 0; color: #514b45; font-size: 18px; line-height: 1.9; }
.detail-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-meta > div { padding: 0 18px; border-right: 1px solid var(--line); }
.detail-meta > div:first-child { padding-left: 0; }
.detail-meta > div:last-child { border-right: 0; }
.detail-meta dt { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.detail-meta dd { margin: 4px 0 0; color: var(--ink); font-size: 14px; font-weight: 720; }
.availability-box { max-width: 760px; padding: 22px 24px; border: 1px solid rgba(217,119,50,.22); border-radius: 17px; background: rgba(217,119,50,.065); }
.availability-box > strong { color: var(--ink); font-size: 15px; }
.availability-box p { margin: 6px 0 17px; color: #6b5e52; font-size: 14px; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 56px; padding-bottom: 78px; }
.detail-main { max-width: 820px; }
.detail-main h2 { margin: 0 0 16px; color: var(--ink); font-size: 27px; }
.detail-main h2:not(:first-child) { margin-top: 38px; }
.detail-main > p { color: #5b544e; font-size: 16px; }
.highlight-list { display: grid; gap: 10px; }
.highlight-list article { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.highlight-list article span { color: var(--accent); font-size: 10px; padding-top: 5px; }
.highlight-list article p { margin: 0; color: #5d5650; font-size: 14px; }
.tag-row--detail { margin-top: 26px; }
.tag-row--detail a { padding: 7px 10px; font-size: 12px; }
.detail-side { align-self: start; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.detail-side img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.detail-side h2 { margin: 16px 0 7px; color: var(--ink); font-size: 18px; }
.detail-side p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.related-section { padding: 72px 0 88px; background: var(--paper-2); }

.access-hero { padding: 48px 0 58px; }
.access-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.access-hero h1 { margin: 11px 0 16px; color: var(--ink); font-size: clamp(42px, 5vw, 68px); line-height: 1.08; letter-spacing: -.045em; }
.access-hero p { max-width: 680px; margin: 0; color: #5e5750; font-size: 17px; }
.access-hero img { width: 100%; height: 390px; object-fit: cover; border-radius: 28px 28px 80px 28px; box-shadow: var(--shadow-md); }
.access-domain { display: inline-flex; flex-direction: column; margin-top: 28px; padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--paper-2); }
.access-domain span { color: var(--muted); font-size: 11px; }
.access-domain strong { color: var(--ink); font-size: 22px; }
.access-domain small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.access-links { padding: 38px 0 76px; }
.access-links > h2 { margin: 0 0 20px; color: var(--ink); font-size: 30px; }
.access-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.access-link-grid a { min-height: 240px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: transform .18s ease, box-shadow .18s ease; }
.access-link-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.access-link-grid span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2); color: var(--tea); font-size: 12px; font-weight: 800; }
.access-link-grid strong { display: block; margin-top: 28px; color: var(--ink); font-size: 22px; }
.access-link-grid p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.access-note { display: grid; grid-template-columns: 1fr 150px; align-items: center; gap: 34px; margin-bottom: 88px; padding: 34px; border-radius: 24px; background: var(--ink); color: var(--white); }
.access-note h2 { margin: 0 0 8px; font-size: 26px; }
.access-note p { margin: 0; max-width: 780px; color: #cec6bf; }
.access-note img { width: 120px; height: 120px; object-fit: contain; border-radius: 24px; background: rgba(255,255,255,.08); padding: 10px; }

.not-found { min-height: 66vh; display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 50px; padding-top: 80px; padding-bottom: 90px; }
.not-found__code { color: rgba(107,92,77,.16); font-size: clamp(120px, 18vw, 230px); font-weight: 900; line-height: .8; letter-spacing: -.08em; }
.not-found h1 { margin: 10px 0 14px; color: var(--ink); font-size: clamp(38px, 4.7vw, 62px); line-height: 1.08; letter-spacing: -.04em; }
.not-found p { max-width: 650px; color: var(--muted); }
.not-found__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; }

.site-footer { padding: 58px 0 24px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 56px; }
.brand--footer .brand__copy strong { color: var(--white); }
.brand--footer .brand__copy small { color: #bdb4ac; }
.footer-brand p { max-width: 430px; margin: 18px 0 0; color: #bfb7b0; font-size: 13px; }
.footer-nav { display: grid; align-content: start; gap: 8px; }
.footer-nav a { width: fit-content; color: #d7d0ca; font-size: 14px; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-note { display: flex; flex-direction: column; gap: 5px; color: #c2bab3; font-size: 12px; }
.footer-note strong { margin-bottom: 5px; color: var(--white); font-size: 13px; }
.footer-note span:nth-child(2) { color: #e7d9cc; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #9f9790; font-size: 11px; }
.footer-bottom a:hover { color: var(--white); }

:focus-visible { outline: 3px solid rgba(217,119,50,.55); outline-offset: 3px; }

@media (max-width: 1120px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 14px; }
  .main-nav { justify-content: flex-end; }
  .main-nav a { padding: 9px 9px; font-size: 13px; }
  .header-search { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 38px; }
  .hero-art { min-height: 460px; }
  .hero-art > img { height: 460px; }
  .hero-art__panel { left: -22px; }
  .media-grid--standard { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .media-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .watch-lane { grid-template-columns: 250px 1fr; }
  .detail-hero__grid { grid-template-columns: 330px 1fr; gap: 42px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-header__inner { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-h) + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(247,244,239,.99);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; font-size: 14px; }
  .brand img { width: 42px; height: 42px; }
  .brand__copy strong { font-size: 17px; }
  .hero-shell { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 20px 0; }
  .hero-art { min-height: 400px; margin-top: 8px; }
  .hero-art > img { height: 400px; border-radius: 28px 28px 80px 28px; }
  .hero-art__panel { left: 18px; bottom: 18px; }
  .home-strip { grid-template-columns: repeat(2, 1fr); }
  .home-strip a:nth-child(2) { border-right: 0; }
  .home-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading--split { align-items: start; flex-direction: column; }
  .media-grid--featured, .media-grid--standard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discovery-grid { grid-template-columns: 1fr; }
  .discovery-image img { height: 360px; }
  .page-intro__grid { grid-template-columns: 1fr; }
  .page-intro__grid img { height: 280px; }
  .watch-lane { grid-template-columns: 1fr; gap: 18px; }
  .watch-lane__items { grid-template-columns: repeat(3, 1fr); }
  .search-band { grid-template-columns: 1fr; gap: 22px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .filter-panel > strong { width: 100%; }
  .filter-panel__note { width: 100%; }
  .search-hero__inner { grid-template-columns: 1fr; }
  .search-hero img { display: none; }
  .search-hero__form { grid-column: auto; }
  .detail-hero__grid { grid-template-columns: 270px 1fr; gap: 34px; }
  .detail-meta { grid-template-columns: 1fr; }
  .detail-meta > div { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-meta > div:last-child { border-bottom: 0; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-side { max-width: 520px; }
  .access-hero__grid { grid-template-columns: 1fr; }
  .access-link-grid { grid-template-columns: 1fr; }
  .access-link-grid a { min-height: 0; }
  .footer-grid { grid-template-columns: 1.3fr .7fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .brand { min-width: 0; }
  .brand__copy small { display: none; }
  .hero-shell { padding-bottom: 28px; }
  .hero-copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .hero-lead { font-size: 16px; }
  .hero-search__control { grid-template-columns: 1fr; }
  .hero-search__control .button { width: 100%; }
  .hero-art { min-height: 320px; }
  .hero-art > img { height: 320px; }
  .hero-art__panel { width: 220px; padding: 14px 16px; }
  .home-strip { margin-top: 12px; }
  .home-strip a { min-height: 96px; padding: 17px; }
  .collection-section { padding: 58px 0; }
  .section-heading h2 { font-size: 32px; }
  .media-grid--featured, .media-grid--standard, .media-grid--catalog { grid-template-columns: 1fr 1fr; gap: 11px; }
  .media-card__body { padding: 13px; }
  .media-card h3 { font-size: 15px; }
  .media-card p { font-size: 12px; -webkit-line-clamp: 2; }
  .media-card__type { left: 8px; top: 8px; }
  .discovery-panel { padding: 58px 0; }
  .discovery-image img { height: 280px; border-radius: 22px 22px 22px 62px; }
  .discovery-copy h2 { font-size: 34px; }
  .identity-section { padding: 58px 0 68px; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-card { min-height: 0; }
  .page-intro { padding: 34px 0 40px; }
  .page-intro h1 { font-size: 40px; }
  .page-intro__grid img { height: 230px; }
  .watch-lane__items { display: grid; grid-template-columns: 1fr 1fr; }
  .watch-lane__items .media-card:nth-child(3) { display: none; }
  .search-band { padding: 24px 18px; margin-bottom: 58px; }
  .search-band form { grid-template-columns: 1fr; }
  .catalog-layout { padding-top: 26px; padding-bottom: 60px; }
  .filter-panel { padding: 13px; }
  .filter-panel a { padding: 8px 9px; }
  .catalog-toolbar { align-items: start; flex-direction: column; gap: 5px; }
  .search-hero { padding: 26px 0 34px; }
  .search-hero__inner { min-height: 0; padding: 28px 20px; border-radius: 20px; }
  .search-hero h1 { font-size: 39px; }
  .search-hero__form { grid-template-columns: 1fr; }
  .search-hero__form > div { grid-template-columns: 1fr; }
  .search-results { padding-bottom: 60px; }
  .detail-hero { padding-bottom: 38px; }
  .detail-hero__grid { grid-template-columns: 1fr; }
  .detail-poster { position: static; max-width: 360px; }
  .detail-copy { padding-top: 0; }
  .detail-copy h1 { font-size: 43px; }
  .detail-lead { font-size: 16px; }
  .detail-body { gap: 36px; padding-bottom: 58px; }
  .related-section { padding: 54px 0 66px; }
  .access-hero { padding: 34px 0 46px; }
  .access-hero h1 { font-size: 43px; }
  .access-hero img { height: 280px; }
  .access-domain { width: 100%; overflow-wrap: anywhere; }
  .access-links { padding-bottom: 54px; }
  .access-note { grid-template-columns: 1fr; margin-bottom: 62px; padding: 24px; }
  .access-note img { width: 90px; height: 90px; }
  .not-found { grid-template-columns: 1fr; gap: 24px; padding-top: 54px; }
  .not-found__code { font-size: 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-note { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 430px) {
  .media-grid--featured, .media-grid--standard, .media-grid--catalog { grid-template-columns: 1fr; }
  .media-card__image { aspect-ratio: 16/9; }
  .watch-lane__items { grid-template-columns: 1fr; }
  .watch-lane__items .media-card:nth-child(2) { display: none; }
  .home-strip { grid-template-columns: 1fr; }
  .home-strip a { border-right: 0; border-bottom: 1px solid var(--line); }
  .home-strip a:last-child { border-bottom: 0; }
}

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

@media print {
  .site-header, .site-footer, .hero-search, .quick-topics, .button, .text-link, .search-band, .filter-panel { display: none !important; }
  body { background: #fff; color: #000; }
  .shell { width: 100%; }
  .media-card, .fact-card, .detail-side { break-inside: avoid; box-shadow: none; }
  a { text-decoration: none; }
}
