:root {
  --primary: #6B5C4D;
  --secondary: #A78B6D;
  --dark: #25211E;
  --bg: #F7F4EF;
  --surface: #EEE8E0;
  --surface-strong: #E4DBD0;
  --text: #292724;
  --muted: #746E67;
  --accent: #D97732;
  --accent-dark: #B85D20;
  --white: #FFFFFF;
  --border: rgba(107, 92, 77, .18);
  --border-strong: rgba(107, 92, 77, .32);
  --shadow-sm: 0 8px 24px rgba(37, 33, 30, .08);
  --shadow-md: 0 18px 45px rgba(37, 33, 30, .12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100vw - 40px));
  --reading: 760px;
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
input[type="search"] { min-width: 0; }
::selection { background: rgba(217, 119, 50, .22); }
.shell { width: 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: 9999;
  transform: translateY(-160%);
  background: var(--dark);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(217, 119, 50, .58); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand__logo { width: 46px; height: 46px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-sm); }
.brand__text { display: grid; gap: 1px; }
.brand__text strong { font-size: 18px; line-height: 1.2; letter-spacing: .02em; }
.brand__text small { color: var(--muted); font-size: 12px; }
.desktop-nav { display: flex; justify-content: center; gap: 6px; }
.nav-link { padding: 9px 12px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 14px; transition: background var(--transition), color var(--transition); }
.nav-link:hover, .nav-link.is-active { background: var(--surface); color: var(--dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search { display: flex; align-items: center; border: 1px solid var(--border); background: var(--white); border-radius: 999px; overflow: hidden; }
.header-search input { width: 205px; border: 0; outline: 0; background: transparent; padding: 9px 10px 9px 15px; color: var(--text); }
.header-search button { border: 0; background: var(--dark); color: var(--white); padding: 9px 14px; font-size: 13px; font-weight: 700; }
.menu-button { display: none; border: 1px solid var(--border); background: var(--white); border-radius: 10px; padding: 9px 12px; color: var(--dark); font-weight: 700; }
.mobile-nav { border-top: 1px solid var(--border); background: var(--bg); }
.mobile-nav__inner { padding-block: 14px 18px; display: grid; gap: 8px; }
.mobile-nav__inner > a { padding: 10px 12px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; font-weight: 700; }
.mobile-nav form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 4px; }
.mobile-nav input { border: 1px solid var(--border); background: var(--white); border-radius: 10px; padding: 10px 12px; }
.mobile-nav button { border: 0; background: var(--accent); color: var(--white); border-radius: 10px; padding: 10px 16px; font-weight: 700; }

.eyebrow { margin: 0 0 8px; color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero { padding: 48px 0 30px; }
.hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 42px; align-items: center; }
.hero__copy h1, .page-intro h1, .watch-hero h1, .brand-hero h1, .detail-hero h1, .not-found h1, .search-page h1 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero__lead { max-width: 710px; margin: 22px 0 0; font-size: 18px; color: #514B46; }
.hero-search { margin-top: 30px; max-width: 650px; }
.hero-search > label { display: block; font-weight: 800; margin-bottom: 8px; }
.hero-search__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.hero-search input, .search-page__form input, .not-found__search input, .brand-search input, .footer-search input {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--text);
  border-radius: 12px;
  padding: 13px 15px;
}
.hero-search button, .search-page__form button, .not-found__search button, .brand-search button, .footer-search button {
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  padding: 13px 20px;
}
.hero__quick-links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 20px; font-size: 14px; }
.hero__quick-links a, .text-link, .inline-links a { color: var(--primary); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(107, 92, 77, .32); text-underline-offset: 4px; }
.hero__visual { margin: 0; padding: 16px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.hero__visual img { width: 100%; aspect-ratio: 1.26/1; object-fit: cover; border-radius: 20px; }
.hero__visual figcaption { padding: 13px 4px 3px; color: var(--muted); font-size: 13px; }

.type-strip { padding: 34px 0 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.section-heading--compact { align-items: center; }
.section-heading h2, .discovery-band h2, .split-index h2, .brand-note h2, .watch-matrix h2, .watch-note h2, .brand-story h2, .brand-access h2, .brand-search h2, .prose-block h2, .search-suggestions h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.section-heading p:not(.eyebrow) { max-width: 760px; margin: 8px 0 0; color: var(--muted); }
.type-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.type-tile { display: grid; gap: 3px; padding: 18px; border: 1px solid var(--border); background: var(--white); border-radius: var(--radius-md); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.type-tile:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.type-tile__name { font-size: 21px; font-weight: 850; color: var(--dark); }
.type-tile__count { color: var(--muted); font-size: 13px; }

.content-section { padding: 54px 0; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.media-grid--featured { grid-template-columns: repeat(3, 1fr); }
.media-grid--dense { grid-template-columns: repeat(4, 1fr); }
.media-card { min-width: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 1px 0 rgba(37, 33, 30, .02); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.media-card__cover { position: relative; display: block; background: var(--surface); overflow: hidden; }
.media-card__cover img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; transition: transform 260ms ease; }
.media-card:hover .media-card__cover img { transform: scale(1.025); }
.media-card__type { position: absolute; left: 10px; top: 10px; background: rgba(37, 33, 30, .88); color: var(--white); border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 800; }
.media-card__body { padding: 15px 15px 16px; }
.media-card__meta { display: flex; gap: 7px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.media-card__meta span + span::before { content: '·'; margin-right: 7px; }
.media-card h3 { margin: 7px 0 7px; font-size: 19px; line-height: 1.28; color: var(--dark); }
.media-card h3 a:hover { color: var(--accent-dark); }
.media-card p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 8px; border-radius: 999px; background: var(--surface); color: var(--primary); font-size: 12px; font-weight: 750; }
.tag-row--large .tag { font-size: 13px; padding: 6px 10px; }
.media-card--featured .media-card__cover img { aspect-ratio: 1.2 / 1; }
.media-card--featured h3 { font-size: 21px; }

.discovery-band { margin: 40px 0 20px; padding: 54px 0; background: var(--dark); color: var(--white); }
.discovery-band__grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 46px; }
.discovery-band__visual { margin: 0; }
.discovery-band__visual img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; border-radius: var(--radius-lg); }
.discovery-band h2 { color: var(--white); }
.discovery-band p:not(.eyebrow) { color: #D8D0C8; }
.discovery-band .eyebrow { color: #F3B784; }
.check-list { padding: 0; margin: 22px 0 26px; list-style: none; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 27px; color: #E7E1DB; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #F3B784; font-weight: 900; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--white); color: var(--dark); font-weight: 800; transition: transform var(--transition), background var(--transition), border-color var(--transition); }
.button:hover { transform: translateY(-1px); }
.button--accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.button--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button--ghost { background: transparent; color: var(--primary); border-color: var(--border-strong); }
.discovery-band .button--accent { background: #E98946; border-color: #E98946; }

.split-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 0 64px; }
.split-index__column { padding: 20px; border-radius: var(--radius-md); background: var(--surface); }
.split-index__heading { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 14px; }
.split-index__heading h2 { font-size: 26px; }
.split-index__heading > a { color: var(--primary); font-size: 13px; font-weight: 800; }
.compact-list { display: grid; gap: 2px; }
.compact-item { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid rgba(107, 92, 77, .14); }
.compact-item:first-child { border-top: 0; }
.compact-item__title { font-weight: 850; color: var(--dark); }
.compact-item__meta { font-size: 12px; color: var(--muted); }
.compact-item:hover .compact-item__title { color: var(--accent-dark); }

.brand-note { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: center; padding: 28px; margin-bottom: 70px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.brand-note__content p:not(.eyebrow) { color: var(--muted); max-width: 760px; }
.brand-note img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; border-radius: 18px; }

.page-intro, .watch-hero, .brand-hero { padding: 48px 0 34px; }
.page-intro__grid, .brand-hero__grid, .watch-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: center; }
.page-intro h1, .watch-hero h1, .brand-hero h1 { font-size: clamp(34px, 4.5vw, 58px); }
.page-intro p:not(.eyebrow), .watch-hero p:not(.eyebrow), .brand-hero p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 17px; }
.page-intro img, .watch-hero figure img, .brand-hero img { width: 100%; aspect-ratio: 1.48 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.watch-hero figure { margin: 0; }
.watch-hero__actions, .brand-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.filter-panel { padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.filter-panel__top { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.filter-panel__top h2 { margin: 0; font-size: 26px; color: var(--dark); }
.filter-panel__top > p { margin: 0; color: var(--muted); }
.filter-form { display: grid; gap: 18px; padding-top: 18px; }
.filter-group { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: start; }
.filter-label { font-weight: 850; padding-top: 7px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pills label { cursor: pointer; }
.filter-pills input { position: absolute; opacity: 0; pointer-events: none; }
.filter-pills span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--border); background: var(--bg); border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 750; }
.filter-pills input:checked + span { background: var(--dark); color: var(--white); border-color: var(--dark); }
.filter-pills input:focus-visible + span { outline: 3px solid rgba(217, 119, 50, .58); outline-offset: 2px; }
.filter-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-left: 82px; }
.empty-state { padding: 44px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); text-align: center; background: rgba(255,255,255,.52); }
.empty-state h2 { margin: 0 0 8px; color: var(--dark); }
.empty-state p { margin: 0 auto 20px; max-width: 620px; color: var(--muted); }
.empty-state > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.library-guide { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; padding: 30px; margin-bottom: 68px; background: var(--surface); border-radius: var(--radius-lg); }
.library-guide h2 { margin: 0; font-size: 30px; line-height: 1.22; }
.library-guide p:not(.eyebrow) { color: var(--muted); }
.library-guide__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.library-guide__links a { padding: 13px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--border); font-weight: 800; }

.watch-chooser { padding: 30px 0 26px; }
.chooser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chooser-grid article { position: relative; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.chooser-grid__number { display: inline-flex; color: var(--accent); font-size: 13px; font-weight: 900; margin-bottom: 18px; }
.chooser-grid h3 { margin: 0 0 8px; color: var(--dark); font-size: 23px; }
.chooser-grid p { margin: 0 0 16px; color: var(--muted); }
.chooser-grid a { color: var(--primary); font-weight: 850; }
.watch-matrix { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; padding: 42px 0 64px; }
.watch-matrix__intro p:not(.eyebrow) { color: var(--muted); }
.watch-matrix__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.watch-matrix__grid a { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid transparent; }
.watch-matrix__grid a:hover { border-color: var(--border-strong); background: var(--white); }
.watch-matrix__grid strong { color: var(--dark); font-size: 17px; }
.watch-matrix__grid span { color: var(--muted); font-size: 13px; }
.watch-note { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; padding: 32px; margin-bottom: 70px; background: var(--dark); color: var(--white); border-radius: var(--radius-lg); }
.watch-note img { width: 100%; aspect-ratio: 1.42 / 1; object-fit: cover; border-radius: 18px; }
.watch-note h2 { color: var(--white); }
.watch-note p:not(.eyebrow) { color: #D8D0C8; }
.watch-note .eyebrow { color: #F3B784; }
.watch-note .text-link { color: #F3B784; text-decoration-color: rgba(243,183,132,.4); }

.brand-facts { padding: 28px 0 60px; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact-grid article { padding: 20px; border: 1px solid var(--border); background: var(--white); border-radius: var(--radius-md); }
.fact-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.fact-grid strong { display: block; color: var(--dark); font-size: 20px; overflow-wrap: anywhere; }
.fact-grid p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.brand-story { padding: 58px 0; background: var(--surface); }
.brand-story__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; }
.brand-story img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; border-radius: var(--radius-lg); }
.brand-story p:not(.eyebrow) { color: var(--muted); }
.inline-links { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 18px; }
.brand-access { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding-block: 54px; }
.brand-access > div:first-child { max-width: 750px; }
.brand-access p:not(.eyebrow) { color: var(--muted); }
.brand-access__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.brand-search { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; padding: 30px; margin-bottom: 70px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.brand-search form { margin-top: 18px; }
.brand-search label { display: block; margin-bottom: 8px; font-weight: 800; }
.brand-search form > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.brand-search img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; border-radius: 18px; }

.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 26px; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--accent-dark); }
.detail-hero { display: grid; grid-template-columns: minmax(230px, 360px) 1fr; gap: 42px; align-items: center; padding-block: 28px 46px; }
.detail-hero__poster { margin: 0; }
.detail-hero__poster img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.detail-hero h1 { font-size: clamp(38px, 5.2vw, 70px); }
.detail-hero__subtitle { margin: 10px 0 0; color: var(--primary); font-size: 20px; font-weight: 700; }
.detail-hero__summary { margin: 20px 0 0; max-width: 760px; color: var(--muted); font-size: 17px; }
.detail-meta { display: grid; grid-template-columns: repeat(4, minmax(100px, 1fr)); gap: 10px; margin: 24px 0 0; }
.detail-meta div { padding: 12px 14px; border-radius: 12px; background: var(--surface); }
.detail-meta dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.detail-meta dd { margin: 2px 0 0; color: var(--dark); font-weight: 850; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; align-items: start; padding-block: 36px 24px; border-top: 1px solid var(--border); }
.detail-copy { min-width: 0; }
.prose-block { max-width: var(--reading); padding: 0 0 34px; }
.prose-block + .prose-block { padding-top: 30px; border-top: 1px solid var(--border); }
.prose-block p:not(.eyebrow) { color: #514B46; font-size: 16px; }
.detail-highlights { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 10px; }
.detail-highlights li { position: relative; padding: 13px 14px 13px 42px; background: var(--surface); border-radius: 12px; }
.detail-highlights li::before { content: '•'; position: absolute; left: 17px; top: 8px; color: var(--accent); font-size: 26px; }
.prose-block--note { background: rgba(238, 232, 224, .66); border: 0 !important; padding: 24px !important; border-radius: var(--radius-md); }
.detail-aside { position: sticky; top: 100px; }
.detail-aside__box { display: grid; gap: 3px; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.detail-aside h2 { margin: 0 0 8px; font-size: 18px; }
.detail-aside a { padding: 9px 10px; border-radius: 9px; color: var(--primary); font-size: 14px; font-weight: 750; }
.detail-aside a:hover { background: var(--surface); }

.search-page { padding: 46px 0 70px; }
.search-page__intro { max-width: 820px; }
.search-page h1 { font-size: clamp(34px, 4.4vw, 56px); }
.search-page__intro > p:not(.eyebrow) { color: var(--muted); }
.search-page__form { margin-top: 24px; }
.search-page__form label, .not-found__search label { display: block; font-weight: 800; margin-bottom: 8px; }
.search-page__form > div, .not-found__search > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-suggestions { margin-top: 36px; padding: 26px; background: var(--surface); border-radius: var(--radius-lg); }
.search-suggestions h2 { font-size: 26px; }
.search-suggestions__grid { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.search-suggestions__grid a { padding: 9px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-weight: 750; }
.search-result-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 38px 0 18px; }
.search-result-head h2 { margin: 0; font-size: 25px; }
.search-result-head a { color: var(--primary); font-weight: 800; }

.not-found { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 66vh; padding-block: 60px; }
.not-found__code { margin: 0; color: var(--accent); font-size: 14px; font-weight: 900; letter-spacing: .16em; }
.not-found h1 { font-size: clamp(36px, 4.6vw, 58px); }
.not-found__content > p:not(.eyebrow):not(.not-found__code) { color: var(--muted); max-width: 650px; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.not-found__search { margin-top: 30px; max-width: 620px; }
.not-found > img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; border-radius: var(--radius-lg); }

.site-footer { margin-top: 26px; padding: 48px 0 24px; background: var(--dark); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 42px; }
.site-footer h2 { margin: 0 0 10px; font-size: 18px; }
.site-footer p { margin: 0; color: #CFC8C1; }
.site-footer nav { display: grid; align-content: start; gap: 7px; }
.site-footer nav a { color: #DCD5CF; font-size: 14px; }
.site-footer nav a:hover { color: #F3B784; }
.footer-search { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.footer-search input { background: #332E2A; color: var(--white); border-color: rgba(255,255,255,.14); }
.footer-search button { background: #E98946; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p, .footer-bottom a { font-size: 12px; color: #AAA29B; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 900; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--transition), visibility var(--transition), transform var(--transition); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .header-search input { width: 180px; }
  .hero__grid, .page-intro__grid, .brand-hero__grid, .watch-hero__grid { gap: 30px; }
  .media-grid, .media-grid--dense { grid-template-columns: repeat(3, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { grid-template-columns: 300px 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 28px, 760px); }
  .site-header__inner { min-height: 70px; }
  .header-search { display: none; }
  .brand__text small { display: none; }
  .hero { padding-top: 28px; }
  .hero__grid, .page-intro__grid, .brand-hero__grid, .watch-hero__grid, .discovery-band__grid, .brand-story__grid, .brand-search, .watch-note, .library-guide, .watch-matrix, .not-found { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__visual img { aspect-ratio: 1.7 / 1; }
  .type-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid, .media-grid--dense, .media-grid--featured { grid-template-columns: repeat(2, 1fr); }
  .split-index { grid-template-columns: 1fr; }
  .brand-note { grid-template-columns: 1fr; }
  .brand-note img { max-height: 300px; }
  .filter-group { grid-template-columns: 1fr; gap: 7px; }
  .filter-actions { padding-left: 0; }
  .chooser-grid { grid-template-columns: 1fr; }
  .watch-matrix { gap: 20px; }
  .brand-access { align-items: flex-start; flex-direction: column; }
  .brand-access__actions { justify-content: flex-start; }
  .detail-hero { grid-template-columns: 240px 1fr; align-items: start; }
  .detail-meta { grid-template-columns: repeat(2, 1fr); }
  .detail-body { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 22px); }
  body { line-height: 1.6; }
  .brand__logo { width: 42px; height: 42px; }
  .brand__text strong { font-size: 17px; }
  .menu-button { padding: 8px 10px; }
  .hero__copy h1, .page-intro h1, .watch-hero h1, .brand-hero h1, .detail-hero h1, .not-found h1, .search-page h1 { font-size: 34px; }
  .hero__lead, .page-intro p:not(.eyebrow), .watch-hero p:not(.eyebrow), .brand-hero p:not(.eyebrow) { font-size: 16px; }
  .hero-search__row, .brand-search form > div, .search-page__form > div, .not-found__search > div { grid-template-columns: 1fr; }
  .hero-search button, .brand-search button, .search-page__form button, .not-found__search button { width: 100%; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-heading h2, .discovery-band h2, .split-index h2, .brand-note h2, .watch-matrix h2, .watch-note h2, .brand-story h2, .brand-access h2, .brand-search h2, .prose-block h2 { font-size: 27px; }
  .type-strip__grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .type-tile { padding: 14px; }
  .type-tile__name { font-size: 18px; }
  .content-section { padding: 38px 0; }
  .media-grid, .media-grid--dense, .media-grid--featured { grid-template-columns: 1fr 1fr; gap: 10px; }
  .media-card__body { padding: 11px; }
  .media-card h3, .media-card--featured h3 { font-size: 16px; }
  .media-card p { -webkit-line-clamp: 2; font-size: 12px; }
  .media-card__meta { font-size: 11px; }
  .tag-row { gap: 4px; margin-top: 8px; }
  .tag { font-size: 11px; padding: 3px 6px; }
  .discovery-band { padding: 38px 0; }
  .split-index { padding-bottom: 44px; }
  .brand-note, .filter-panel, .library-guide, .brand-search, .watch-note { padding: 20px; border-radius: 20px; }
  .filter-panel__top { align-items: flex-start; flex-direction: column; gap: 5px; }
  .library-guide__links, .watch-matrix__grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .detail-hero { grid-template-columns: 1fr; padding-top: 18px; }
  .detail-hero__poster { max-width: 280px; }
  .detail-meta { grid-template-columns: 1fr 1fr; }
  .detail-actions .button { flex: 1 1 100%; }
  .search-result-head { align-items: flex-start; flex-direction: column; }
  .empty-state { padding: 28px 18px; }
  .not-found { min-height: auto; padding-block: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > section:first-child { grid-column: auto; }
  .footer-search { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 390px) {
  .media-grid, .media-grid--dense, .media-grid--featured { grid-template-columns: 1fr; }
  .media-card__cover img { aspect-ratio: 1.45 / 1; }
  .media-card--featured .media-card__cover img { aspect-ratio: 1.45 / 1; }
  .type-strip__grid { grid-template-columns: 1fr; }
  .detail-meta { grid-template-columns: 1fr; }
}

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