/* Tea-brown, content-dense responsive interface for Cupfox. */
:root {
    --tea: #6B5C4D;
    --tea-soft: #A78B6D;
    --ink: #25211E;
    --paper: #F7F4EF;
    --paper-2: #EEE8E0;
    --text: #292724;
    --muted: #746E67;
    --accent: #D97732;
    --accent-deep: #B85F24;
    --line: rgba(37, 33, 30, .13);
    --line-strong: rgba(37, 33, 30, .22);
    --white: #fff;
    --shadow-sm: 0 8px 22px rgba(37, 33, 30, .08);
    --shadow-md: 0 20px 50px rgba(37, 33, 30, .12);
    --radius-sm: .7rem;
    --radius: 1rem;
    --radius-lg: 1.45rem;
    --shell: min(1240px, calc(100vw - 40px));
    --read: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); color: var(--text); }
body { margin: 0; min-width: 320px; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.65; background: var(--paper); color: var(--text); text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
: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; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 1000; transform: translateY(-180%); padding: .7rem 1rem; border-radius: .55rem; background: var(--ink); color: white; transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }
.header-sentinel { position: absolute; inset: 0 0 auto; height: 1px; pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 239, .94); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: box-shadow .2s ease, border-color .2s ease; }
.site-header[data-scrolled] { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(37, 33, 30, .07); }
.site-header__inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; min-width: max-content; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; object-fit: cover; border-radius: 13px; background: var(--paper-2); border: 1px solid var(--line); }
.brand__text { display: grid; line-height: 1.08; gap: .22rem; }
.brand__text strong { font-size: 1.08rem; color: var(--ink); letter-spacing: .03em; }
.brand__text small { color: var(--muted); font-size: .75rem; }
.primary-nav { display: flex; align-items: center; gap: .28rem; }
.primary-nav a { position: relative; padding: .62rem .86rem; color: var(--muted); font-size: .94rem; font-weight: 680; text-decoration: none; border-radius: .65rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: .32rem; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-toggle { display: none; width: 46px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: .75rem; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-toggle__lines, .nav-toggle__lines::before, .nav-toggle__lines::after { width: 20px; height: 2px; display: block; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.nav-toggle__lines { position: relative; }
.nav-toggle__lines::before, .nav-toggle__lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle__lines::before { top: -6px; }.nav-toggle__lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after { transform: translateY(-6px) rotate(-45deg); }
main { min-height: 70vh; }
.eyebrow { margin: 0 0 .55rem; color: var(--tea); font-size: .78rem; line-height: 1.2; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero { padding: 44px 0 64px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy h1 { max-width: 13ch; margin: 0; color: var(--ink); font-size: clamp(2.6rem, 5.2vw, 5.25rem); line-height: .99; letter-spacing: -.055em; }
.hero__lead { max-width: 690px; margin: 1.45rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.85; }
.hero__visual { margin: 0; position: relative; padding: 16px; border: 1px solid rgba(107, 92, 77, .18); border-radius: 28px; background: linear-gradient(145deg, #eee8e0 0%, #f7f4ef 65%); box-shadow: var(--shadow-md); }
.hero__visual::before { content: ""; position: absolute; width: 170px; height: 170px; right: -70px; top: -64px; border-radius: 50%; background: rgba(167, 139, 109, .16); }
.hero__visual img { width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; border-radius: 18px; background: #e9e2d8; }
.hero__visual figcaption { padding: .9rem .35rem .15rem; color: var(--muted); font-size: .86rem; }
.hero-search { margin-top: 1.8rem; max-width: 700px; display: grid; grid-template-columns: 1fr auto; gap: .6rem; padding: .55rem; border: 1px solid var(--line-strong); background: var(--white); border-radius: 1rem; box-shadow: var(--shadow-sm); }
.hero-search input { min-width: 0; border: 0; padding: .72rem .8rem; outline: 0; color: var(--ink); background: transparent; }
.hero-search input::placeholder { color: #9a938b; }
.hero-search button, .search-panel button, .detail-aside form button, .catalog-toolbar button { border: 0; cursor: pointer; border-radius: .72rem; padding: .72rem 1.1rem; font-weight: 800; color: white; background: var(--accent); }
.hero-search button:hover, .search-panel button:hover, .detail-aside form button:hover, .catalog-toolbar button:hover { background: var(--accent-deep); }
.quick-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.quick-links a { text-decoration: none; padding: .34rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.55); font-size: .82rem; }
.quick-links a:hover { color: var(--ink); border-color: var(--tea-soft); background: white; }
.content-band { padding: 76px 0; }
.content-band--tight { padding-top: 22px; }
.section-heading { margin-bottom: 1.8rem; }
.section-heading h2 { margin: 0; max-width: 850px; color: var(--ink); font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 700px; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading--split > p { margin: 0; max-width: 520px; }
.text-link { color: var(--tea); font-weight: 800; white-space: nowrap; }
.text-link:hover { color: var(--accent-deep); }
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.type-card { display: grid; grid-template-rows: 145px 1fr; min-height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); text-decoration: none; box-shadow: 0 10px 28px rgba(37,33,30,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.type-card:hover { transform: translateY(-4px); border-color: rgba(107,92,77,.34); box-shadow: var(--shadow-md); }
.type-card img { width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }
.type-card__body { display: grid; gap: .55rem; padding: 1rem 1rem 1.15rem; }
.type-card__body strong { color: var(--ink); font-size: 1.05rem; }
.type-card__body span { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.media-grid { display: grid; gap: 1rem; }
.media-grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.media-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 24px rgba(37,33,30,.045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.media-card:hover { transform: translateY(-3px); border-color: rgba(107,92,77,.28); box-shadow: var(--shadow-sm); }
.media-card__image-link { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2); }
.media-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.media-card:hover .media-card__image { transform: scale(1.025); }
.media-card__body { padding: 1rem; }
.media-card__eyebrow { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin-bottom: .48rem; color: var(--tea); font-size: .74rem; font-weight: 800; }
.media-card__title { margin: 0; color: var(--ink); font-size: 1.08rem; line-height: 1.35; letter-spacing: -.015em; }
.media-card__title a { text-decoration: none; }
.media-card__title a:hover { text-decoration: underline; text-decoration-color: var(--tea-soft); }
.media-card__summary { margin: .65rem 0 .8rem; color: var(--muted); font-size: .88rem; line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .38rem; margin: 0; padding: 0; }
.tag-list li { padding: .18rem .45rem; border-radius: .4rem; background: var(--paper-2); color: var(--muted); font-size: .7rem; }
.search-story { padding: 80px 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.search-story__grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.search-story__visual { position: relative; padding: 14px; border-radius: 1.4rem; background: #e4dbd0; }
.search-story__visual img { width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; border-radius: 1rem; }
.search-story__copy h2, .watch-preview h2, .access-note h2, .watch-note h2 { margin: 0; color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.12; letter-spacing: -.04em; }
.search-story__copy > p:not(.eyebrow), .watch-preview p, .access-note p, .watch-note p { color: var(--muted); line-height: 1.85; }
.check-list { margin: 1.4rem 0 1.7rem; padding: 0; list-style: none; display: grid; gap: .72rem; }
.check-list li { position: relative; padding-left: 1.65rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .72rem 1rem; border: 1px solid transparent; border-radius: .75rem; font-weight: 800; text-decoration: none; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-1px); }
.button--accent { background: var(--accent); color: white; }.button--accent:hover { background: var(--accent-deep); }
.button--dark { background: var(--ink); color: white; }.button--dark:hover { background: #100f0e; }
.button--ghost { border-color: var(--line-strong); background: transparent; color: var(--ink); }.button--ghost:hover { border-color: var(--tea); background: rgba(255,255,255,.55); }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; align-items: center; }
.watch-preview { padding: 42px 0; }
.watch-preview__inner { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 1.5rem; color: white; background: var(--ink); }
.watch-preview .eyebrow { color: #ccb9a4; }.watch-preview h2 { color: white; }.watch-preview p { max-width: 760px; color: #d5cfca; }
.watch-preview .button--dark { background: var(--paper); color: var(--ink); white-space: nowrap; }
.access-note { padding: 38px 0 82px; }
.access-note__grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; border-top: 1px solid var(--line); padding-top: 2rem; }
.access-note p { max-width: 760px; margin-bottom: 0; }
.page-intro { padding: 54px 0 42px; }
.page-intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .65fr); gap: 3rem; align-items: center; }
.page-intro__grid--wide { grid-template-columns: minmax(0, 1fr) minmax(420px, .85fr); }
.page-intro h1 { max-width: 16ch; margin: 0; color: var(--ink); font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.05em; }
.page-intro p:not(.eyebrow) { max-width: 760px; margin: 1rem 0 0; color: var(--muted); font-size: 1.03rem; line-height: 1.85; }
.page-intro img { width: 100%; aspect-ratio: 1.65 / 1; object-fit: cover; border-radius: 1.2rem; background: var(--paper-2); box-shadow: var(--shadow-sm); }
.catalog-section { padding: 28px 0 76px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: .45rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.filter-tabs a { padding: .55rem .8rem; border-radius: .62rem; color: var(--muted); font-weight: 750; text-decoration: none; }
.filter-tabs a:hover, .filter-tabs a[aria-current="page"] { color: white; background: var(--tea); }
.catalog-toolbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin: 1.4rem 0; }
.catalog-toolbar p { margin: 0; color: var(--muted); }
.catalog-toolbar form { display: grid; grid-template-columns: minmax(190px, 320px) auto; gap: .45rem; }
.catalog-toolbar input { min-width: 0; border: 1px solid var(--line-strong); border-radius: .65rem; background: white; padding: .58rem .72rem; }
.catalog-guide { padding: 0 0 82px; }
.catalog-guide__grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; padding: 2rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--paper-2); }
.catalog-guide h2 { margin: 0; font-size: 1.5rem; }.catalog-guide p { max-width: 760px; margin: .6rem 0 0; color: var(--muted); }.catalog-guide__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.watch-steps { padding: 30px 0 56px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps-grid article { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.steps-grid article > span { display: inline-block; margin-bottom: 1.5rem; color: var(--accent); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.steps-grid h3 { margin: 0; color: var(--ink); font-size: 1.2rem; }.steps-grid p { color: var(--muted); }.steps-grid a { color: var(--tea); font-weight: 800; }
.watch-note { padding: 74px 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.watch-note__inner { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: 4rem; align-items: center; }
.watch-note img { width: 100%; border-radius: 1.2rem; aspect-ratio: 1.45 / 1; object-fit: cover; }
.search-page { padding: 58px 0 86px; }
.search-page__inner { max-width: 1120px; }
.search-page__heading h1 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4.5vw, 3.8rem); line-height: 1.05; letter-spacing: -.045em; }.search-page__heading > p:not(.eyebrow) { color: var(--muted); max-width: 740px; }
.search-panel { margin: 2rem 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: white; box-shadow: var(--shadow-sm); }
.search-panel > label { display: block; margin-bottom: .55rem; color: var(--ink); font-weight: 800; }
.search-panel__row { display: grid; grid-template-columns: 1fr 170px auto; gap: .55rem; }
.search-panel input, .search-panel select { width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: .65rem; padding: .7rem .8rem; background: var(--paper); color: var(--text); }
.search-suggestions { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }.search-suggestions h2 { margin-top: 0; }.quick-links--large a { padding: .55rem .85rem; font-size: .9rem; }
.search-results { margin-top: 3rem; }.empty-state { padding: clamp(2rem, 6vw, 5rem); text-align: center; border: 1px dashed var(--line-strong); border-radius: 1rem; background: var(--paper-2); }.empty-state h3 { margin-top: 0; font-size: 1.45rem; }.empty-state p { color: var(--muted); }.empty-state .button-row { justify-content: center; }
.access-hub { padding: 24px 0 72px; }.access-hub__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }.access-card { display: grid; gap: .6rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: white; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }.access-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }.access-card > span { color: var(--tea); font-weight: 900; font-size: .78rem; letter-spacing: .08em; }.access-card strong { color: var(--ink); font-size: 1.25rem; }.access-card p { margin: 0; color: var(--muted); }.access-card--primary { background: var(--ink); color: white; }.access-card--primary strong { color: white; }.access-card--primary p { color: #d7d0ca; }.access-card--primary > span { color: #cbb9a6; }
.access-help { padding: 0 0 80px; }.access-help__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }.access-help h2 { margin: 0; color: var(--ink); font-size: 1.35rem; }.access-help p { color: var(--muted); }
.breadcrumbs { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .42rem; margin: 0; padding: 0; color: var(--muted); font-size: .82rem; }.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .42rem; color: #b3aba3; }.breadcrumbs a { color: var(--tea); }
.detail-page { padding-bottom: 72px; }.detail-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: 50px 0; }.detail-hero h1 { margin: 0; color: var(--ink); font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -.052em; }.detail-hero__lead { max-width: 760px; margin: 1.2rem 0; color: var(--muted); font-size: 1.05rem; line-height: 1.85; }.detail-hero > img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; border-radius: 1.3rem; box-shadow: var(--shadow-sm); }.tag-list--detail li { padding: .3rem .55rem; font-size: .77rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 4rem; align-items: start; }.detail-content { max-width: 810px; }.detail-content section { padding: 1.6rem 0 2rem; border-top: 1px solid var(--line); }.detail-content h2 { margin: 0 0 .85rem; color: var(--ink); font-size: 1.55rem; letter-spacing: -.025em; }.detail-content p { margin: 0; color: #45413d; font-size: 1.02rem; line-height: 2; }.detail-points { display: grid; gap: .8rem; margin: 0; padding-left: 1.35rem; }.detail-points li { padding-left: .35rem; color: #45413d; }.detail-related-note { background: rgba(238,232,224,.55); border-radius: 1rem; padding: 1.5rem!important; border: 1px solid var(--line)!important; }.detail-related-note p + p { margin-top: .8rem; }
.detail-aside { position: sticky; top: 96px; display: grid; gap: 1rem; }.detail-aside__panel { padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }.detail-aside__panel h2 { margin: 0 0 .9rem; font-size: 1rem; }.detail-aside dl { margin: 0; }.detail-aside dl > div { display: grid; grid-template-columns: 62px 1fr; gap: .6rem; padding: .62rem 0; border-top: 1px solid var(--line); }.detail-aside dt { color: var(--muted); font-size: .8rem; }.detail-aside dd { margin: 0; color: var(--ink); font-size: .86rem; }.detail-aside__panel--accent { background: var(--paper-2); }.detail-aside form { display: grid; gap: .5rem; }.detail-aside input { width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: .65rem; background: white; padding: .65rem .7rem; }
.related-section { padding: 68px 0 82px; border-top: 1px solid var(--line); background: var(--paper-2); }
.not-found { padding: 70px 0 92px; }.not-found__grid { display: grid; grid-template-columns: 1fr minmax(300px, .7fr); gap: 4rem; align-items: center; }.not-found__code { margin: 0; color: var(--accent); font-size: clamp(4rem, 11vw, 9rem); line-height: .8; font-weight: 900; letter-spacing: -.07em; }.not-found h1 { margin: 1.2rem 0 .8rem; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; color: var(--ink); }.not-found p { max-width: 680px; color: var(--muted); }.not-found img { border-radius: 1.2rem; aspect-ratio: 1.4 / 1; object-fit: cover; }
.site-footer { padding: 58px 0 20px; color: #ddd6cf; background: var(--ink); }.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 4rem; }.site-footer__title { margin: 0 0 .8rem; color: white; font-size: 1rem; }.site-footer p { margin: 0; max-width: 520px; color: #bfb7b0; }.site-footer nav { display: grid; align-content: start; gap: .42rem; }.site-footer nav a { width: max-content; color: #cfc8c1; text-decoration: none; font-size: .9rem; }.site-footer nav a:hover { color: white; text-decoration: underline; }.site-footer__bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }.site-footer__bottom a { color: #d9d1c9; }
[data-reveal="true"] { opacity: 0; transform: translateY(14px); }[data-revealed="true"] { opacity: 1; transform: translateY(0); transition: opacity .45s ease, transform .45s ease; }
@media (max-width: 1080px) {
    :root { --shell: min(100% - 32px, 960px); }
    .hero__grid { grid-template-columns: 1fr; }.hero__copy h1 { max-width: 14ch; }.hero__visual { max-width: 760px; }
    .type-grid, .media-grid--featured, .media-grid--related { grid-template-columns: repeat(2, 1fr); }
    .media-grid--catalog { grid-template-columns: repeat(2, 1fr); }
    .search-story__grid { gap: 3rem; }.detail-hero { grid-template-columns: 1fr; }.detail-hero > img { max-width: 820px; }.detail-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 2.5rem; }
}
@media (max-width: 860px) {
    .site-header__inner { min-height: 66px; }.nav-toggle { display: inline-flex; }.primary-nav { display: none; position: absolute; top: calc(100% + 1px); left: 16px; right: 16px; padding: .7rem; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 0 0 1rem 1rem; background: var(--paper); box-shadow: var(--shadow-md); }.primary-nav[data-open="true"] { display: flex; }.primary-nav a { padding: .8rem 1rem; }.primary-nav a[aria-current="page"]::after { display: none; }
    .section-heading--split { align-items: start; flex-direction: column; gap: .7rem; }.search-story__grid, .watch-note__inner { grid-template-columns: 1fr; }.search-story__visual { max-width: 680px; }.page-intro__grid, .page-intro__grid--wide { grid-template-columns: 1fr; }.page-intro img { max-width: 720px; }.watch-preview__inner { flex-direction: column; align-items: start; }.catalog-guide__grid { grid-template-columns: 1fr; gap: 1.3rem; }.steps-grid { grid-template-columns: 1fr; }.detail-layout { grid-template-columns: 1fr; }.detail-aside { position: static; grid-template-columns: repeat(2, 1fr); }.access-note__grid { grid-template-columns: 1fr; gap: 1rem; }.site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
}
@media (max-width: 680px) {
    :root { --shell: min(100% - 24px, 640px); }.brand__mark { width: 42px; height: 42px; }.brand__text small { display: none; }
    .hero { padding: 32px 0 46px; }.hero__copy h1 { font-size: clamp(2.35rem, 12vw, 4rem); }.hero-search { grid-template-columns: 1fr; }.hero-search button { width: 100%; }.hero__visual { padding: 10px; border-radius: 20px; }.content-band { padding: 54px 0; }.content-band--tight { padding-top: 10px; }.type-grid, .media-grid--featured, .media-grid--catalog, .media-grid--related { grid-template-columns: 1fr; }.type-card { grid-template-columns: 140px 1fr; grid-template-rows: 1fr; }.type-card img { min-height: 100%; }.section-heading h2 { font-size: 1.65rem; }.search-story, .watch-note { padding: 54px 0; }.page-intro { padding: 38px 0 28px; }.page-intro h1 { font-size: 2.45rem; }.catalog-toolbar { align-items: stretch; flex-direction: column; }.catalog-toolbar form { grid-template-columns: 1fr auto; }.access-hub__grid, .access-help__grid { grid-template-columns: 1fr; }.detail-hero { padding: 34px 0; }.detail-hero h1 { font-size: 2.35rem; }.detail-aside { grid-template-columns: 1fr; }.search-panel__row { grid-template-columns: 1fr; }.site-footer__grid { grid-template-columns: 1fr; }.site-footer__bottom { flex-direction: column; gap: .6rem; }.not-found__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 430px) {
    .type-card { grid-template-columns: 112px 1fr; }.type-card__body { padding: .85rem; }.media-card__body { padding: .9rem; }.button-row .button { width: 100%; }.button-row .text-link { width: 100%; text-align: center; }.catalog-toolbar form { grid-template-columns: 1fr; }.catalog-guide__actions { display: grid; }.hero__visual figcaption { font-size: .78rem; }.quick-links a { font-size: .78rem; }
}
@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-card:hover, .type-card:hover, .access-card:hover, .button:hover { transform: none; }[data-reveal="true"] { opacity: 1; transform: none; }
}
@media print {
    .site-header, .site-footer, .hero-search, .quick-links, .button-row, .filter-tabs, .catalog-toolbar, .detail-aside { display: none!important; }body { background: white; color: black; }.shell { width: 100%; }.hero, .content-band, .page-intro, .detail-page { padding: 0; }.media-card, .type-card { break-inside: avoid; box-shadow: none; }
}
