:root {
    --brand: #A9503F;
    --brand-dark: #843D31;
    --gold: #D9A15B;
    --ink: #241F1D;
    --text: #332E2B;
    --muted: #746B65;
    --bg: #F8F5F1;
    --bg-2: #EFE8E1;
    --accent: #E07A3F;
    --white: #fffdfb;
    --line: rgba(51, 46, 43, .14);
    --shadow: 0 16px 42px rgba(74, 51, 40, .11);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;
    --wrap: min(1180px, calc(100% - 48px));
    --reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(224, 122, 63, .38); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.reading-narrow { max-width: var(--reading); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-main { min-height: 60vh; }
.eyebrow { margin: 0 0 8px; color: var(--brand); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kicker { color: var(--brand); font-weight: 700; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #5b514b; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-title h2 { margin: 0; max-width: 740px; font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.18; color: var(--ink); letter-spacing: -.03em; }
.section-title p { max-width: 480px; margin: 0; color: var(--muted); }
h1, h2, h3 { color: var(--ink); line-height: 1.22; }
h1 { font-size: clamp(2.45rem, 6vw, 5rem); letter-spacing: -.055em; }
h2 { letter-spacing: -.03em; }
h3 { letter-spacing: -.01em; }
p { margin-top: 0; }
ul, ol { padding-left: 1.2em; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; }
.text-link::after { content: '→'; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; transition: .2s ease; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(224, 122, 63, .23); }
.btn-primary:hover { background: #c86634; color: #fff; transform: translateY(-1px); }
.btn-soft { border-color: rgba(169, 80, 63, .25); background: rgba(255, 255, 255, .58); color: var(--brand); }
.btn-soft:hover { background: #fff; }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.52); color: var(--muted); font-size: .82rem; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 241, .91); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: .2s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(70, 52, 41, .06); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-lockup img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; background: var(--bg-2); }
.brand-lockup span { display: grid; line-height: 1.1; }
.brand-lockup strong { font-size: 1rem; color: var(--ink); }
.brand-lockup small { margin-top: 5px; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: 4px; }
.primary-nav a { padding: 9px 11px; border-radius: 999px; color: #564c46; font-size: .91rem; font-weight: 650; }
.primary-nav a[aria-current="page"] { background: var(--bg-2); color: var(--brand); }
.search-open { border: 0; border-radius: 999px; padding: 10px 14px; background: var(--ink); color: #fff; font-weight: 700; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 4px; background: var(--ink); }
.nav-toggle em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.search-modal[hidden]{ display:none !important; }
.search-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 11vh 20px 30px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(36, 31, 29, .72); backdrop-filter: blur(8px); }
.search-dialog { position: relative; width: min(680px, 100%); padding: clamp(26px, 5vw, 48px); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.search-dialog h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.search-close { position: absolute; right: 18px; top: 18px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--ink); font-size: 1.6rem; }
.search-form label { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.search-input-row { display: flex; gap: 10px; }
.search-input-row input { min-width: 0; flex: 1; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: #fff; color: var(--text); }

.home-cover { padding: clamp(42px, 8vw, 96px) 0 52px; }
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(30px, 5vw, 70px); align-items: stretch; }
.cover-copy { display: flex; flex-direction: column; justify-content: center; }
.cover-copy h1 { margin: 8px 0 22px; max-width: 780px; }
.cover-copy h1 span { color: var(--brand); }
.cover-copy .lead { max-width: 700px; }
.cover-search { display: flex; gap: 10px; padding: 8px; margin-top: 24px; max-width: 650px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); }
.cover-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 12px; outline: 0; }
.cover-visual { position: relative; min-height: 520px; overflow: hidden; border-radius: 34px 34px 120px 34px; background: var(--bg-2); box-shadow: var(--shadow); }
.cover-visual > img { width: 100%; height: 100%; object-fit: cover; }
.cover-note { position: absolute; left: 22px; bottom: 22px; width: min(340px, calc(100% - 44px)); padding: 18px; border-radius: 16px; background: rgba(36, 31, 29, .86); color: #fff; backdrop-filter: blur(10px); }
.cover-note strong { display: block; font-size: 1.05rem; }
.cover-note span { display: block; margin-top: 5px; color: rgba(255,255,255,.72); font-size: .88rem; }
.cover-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.cover-links a { font-size: .9rem; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(169,80,63,.25); text-underline-offset: 4px; }

.headline-flow { padding: 64px 0 76px; border-top: 1px solid var(--line); }
.headline-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 42px; }
.headline-lead { padding: 28px 0; border-block: 1px solid var(--line); }
.headline-lead h3 { margin: 8px 0 12px; font-size: clamp(1.65rem, 3.2vw, 2.9rem); }
.headline-lead p { max-width: 720px; color: var(--muted); }
.headline-list { display: grid; }
.headline-item { display: grid; grid-template-columns: 86px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.headline-item strong { color: var(--brand); font-size: .78rem; }
.headline-item h3 { margin: 0 0 4px; font-size: 1.02rem; }
.headline-item p { margin: 0; color: var(--muted); font-size: .88rem; }
.headline-aside { padding: 28px; border-radius: var(--radius-lg); background: var(--ink); color: rgba(255,255,255,.78); }
.headline-aside h3 { color: #fff; font-size: 1.55rem; }
.headline-aside ol { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.headline-aside li { counter-increment: steps; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.12); }
.headline-aside li::before { content: counter(steps, decimal-leading-zero); color: var(--gold); font-weight: 800; }

.media-ribbon { padding: 66px 0; background: var(--bg-2); overflow: hidden; }
.ribbon-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 31%); gap: 16px; overflow-x: auto; padding: 4px max(24px, calc((100vw - 1180px) / 2)) 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ribbon-item { scroll-snap-align: start; position: relative; min-height: 360px; overflow: hidden; border-radius: 22px; background: #d9d0c7; }
.ribbon-item img { width: 100%; height: 100%; object-fit: cover; }
.ribbon-caption { position: absolute; inset: auto 0 0; padding: 72px 20px 20px; background: linear-gradient(to top, rgba(36,31,29,.9), transparent); color: #fff; }
.ribbon-caption h3 { margin: 0 0 4px; color: #fff; font-size: 1.1rem; }
.ribbon-caption p { margin: 0; color: rgba(255,255,255,.72); font-size: .86rem; }

.device-band { padding: 76px 0; }
.device-panel { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: 34px; background: var(--brand); color: rgba(255,255,255,.82); }
.device-copy { padding: clamp(34px, 6vw, 74px); }
.device-copy h2 { margin: 8px 0 18px; color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.device-copy .eyebrow { color: #f7d8a7; }
.device-copy .btn-soft { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; }
.device-visual { position: relative; min-height: 420px; }
.device-visual img { width: 100%; height: 100%; object-fit: cover; }
.device-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(169,80,63,.85), transparent 44%); }

.editorial-mosaic { padding: 70px 0 90px; }
.mosaic-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: auto auto; gap: 18px; }
.story-major { grid-row: 1 / span 2; min-height: 630px; }
.story-card { position: relative; overflow: hidden; min-height: 305px; border-radius: 26px; background: var(--bg-2); }
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-layer { position: absolute; inset: auto 0 0; padding: 90px 26px 26px; background: linear-gradient(to top, rgba(36,31,29,.92), transparent); color: #fff; }
.story-layer h3 { margin: 7px 0; color: #fff; font-size: clamp(1.3rem, 2.4vw, 2.2rem); }
.story-layer p { margin: 0; color: rgba(255,255,255,.74); }
.story-layer .tag { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.12); color: #fff; }

.topic-interlude { padding: 80px 0; background: var(--ink); color: rgba(255,255,255,.72); }
.topic-interlude .section-title h2 { color: #fff; }
.topic-interlude .section-title p { color: rgba(255,255,255,.62); }
.topic-stack { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; }
.topic-feature { border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; }
.topic-feature img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 22px; margin-bottom: 22px; }
.topic-feature h3 { color: #fff; font-size: 1.8rem; }
.topic-index a { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.12); color: #fff; }
.topic-index a span:first-child { color: var(--gold); font-weight: 800; }
.topic-index a small { color: rgba(255,255,255,.52); }
.topic-index a:hover { color: #fff; }

.split-lists { padding: 84px 0; }
.split-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.list-block h2 { margin: 0 0 22px; font-size: 2rem; }
.compact-story { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.compact-story time, .compact-story .index-no { color: var(--brand); font-size: .78rem; font-weight: 800; min-width: 56px; }
.compact-story h3 { margin: 0 0 4px; font-size: 1rem; }
.compact-story p { margin: 0; color: var(--muted); font-size: .88rem; }

.brand-context { padding: 74px 0; background: var(--bg-2); }
.context-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 62px; align-items: center; }
.context-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 30px; }
.context-copy h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.context-points { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.context-points div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.context-points strong { display: block; color: var(--ink); }
.context-points span { color: var(--muted); font-size: .91rem; }

.text-index { padding: 80px 0 90px; }
.index-columns { columns: 3 260px; column-gap: 54px; }
.index-group { break-inside: avoid; padding: 0 0 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.index-group h3 { margin: 0 0 10px; font-size: 1rem; }
.index-group a { display: block; padding: 5px 0; color: var(--muted); }
.index-group a:hover { color: var(--brand); }

.page-hero { padding: 58px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero .breadcrumbs { margin-bottom: 24px; }
.page-hero h1 { max-width: 960px; margin: 8px 0 18px; font-size: clamp(2.35rem, 5vw, 4.5rem); }
.page-hero .lead { max-width: 820px; }
.page-hero-visual { margin-top: 34px; max-height: 470px; overflow: hidden; border-radius: 26px; }
.page-hero-visual img { width: 100%; height: 100%; max-height: 470px; object-fit: cover; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: #b1a59e; }
.breadcrumbs a { color: var(--brand); }

.filter-bar { padding: 22px 0; border-bottom: 1px solid var(--line); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row strong { margin-right: 8px; font-size: .86rem; }
.filter-row a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .86rem; }
.filter-row a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.feature-mix { padding: 64px 0; }
.feature-mix-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.feature-main { position: relative; min-height: 500px; overflow: hidden; border-radius: 30px; background: var(--bg-2); }
.feature-main img { width: 100%; height: 100%; object-fit: cover; }
.feature-main .story-layer { padding: 120px 30px 30px; }
.feature-side { display: grid; align-content: start; }
.feature-side a { display: grid; grid-template-columns: 116px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-side img { width: 116px; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.feature-side h3 { margin: 3px 0 6px; font-size: 1rem; }
.feature-side p { margin: 0; color: var(--muted); font-size: .86rem; }

.content-stream { padding: 20px 0 84px; }
.stream-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 54px; align-items: start; }
.stream-list { border-top: 1px solid var(--line); }
.stream-item { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.stream-item img { width: 180px; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.stream-item h2, .stream-item h3 { margin: 4px 0 8px; font-size: 1.28rem; }
.stream-item p { margin: 0; color: var(--muted); }
.stream-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--brand); font-size: .78rem; font-weight: 700; }
.aside-panel { position: sticky; top: 102px; padding: 24px; border-radius: 22px; background: var(--bg-2); }
.aside-panel h2, .aside-panel h3 { margin-top: 0; }
.aside-panel a { display: block; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }

.device-options { padding: 70px 0; }
.device-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.device-option { overflow: hidden; border-radius: 28px; background: var(--bg-2); }
.device-option img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.device-option .body { padding: 26px; }
.device-option h2 { margin: 0 0 10px; }
.step-list { counter-reset: appsteps; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step-list li { counter-increment: appsteps; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step-list li::before { content: counter(appsteps); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }

.guide-directory { padding: 64px 0 88px; }
.guide-group { display: grid; grid-template-columns: 230px 1fr; gap: 44px; padding: 32px 0; border-top: 1px solid var(--line); }
.guide-group > h2 { margin: 0; font-size: 1.25rem; }
.guide-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.guide-link { padding: 16px 0; border-bottom: 1px solid var(--line); }
.guide-link h3 { margin: 0 0 5px; font-size: 1rem; }
.guide-link p { margin: 0; color: var(--muted); font-size: .87rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, var(--reading)) 270px; justify-content: center; gap: 62px; padding: 54px 0 90px; }
.article-body { min-width: 0; }
.article-body .article-intro { font-size: 1.13rem; color: #554b45; }
.article-body h2 { margin-top: 2.2em; font-size: clamp(1.45rem, 3vw, 2rem); }
.article-body h3 { margin-top: 1.7em; }
.article-body p { margin-bottom: 1.15em; }
.article-body ul, .article-body ol { margin-bottom: 1.4em; }
.article-body li + li { margin-top: .45em; }
.article-callout { margin: 30px 0; padding: 22px 24px; border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0; background: var(--bg-2); }
.article-image { margin: 30px 0; overflow: hidden; border-radius: 22px; }
.article-image img { width: 100%; max-height: 460px; object-fit: cover; }
.article-aside { position: sticky; top: 110px; align-self: start; }
.article-aside h2 { margin-top: 0; font-size: 1.1rem; }
.article-aside a { display: block; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; color: var(--muted); font-size: .85rem; }
.related-block { padding: 52px 0 86px; border-top: 1px solid var(--line); }
.related-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.related-item { padding: 20px 0; border-top: 2px solid var(--brand); }
.related-item h3 { margin: 7px 0; font-size: 1.08rem; }
.related-item p { color: var(--muted); font-size: .88rem; }

.faq-section { padding: 64px 0 88px; }
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 18px; text-align: left; padding: 22px 0; border: 0; background: transparent; color: var(--ink); font-weight: 780; }
.faq-question span:last-child { font-size: 1.35rem; color: var(--brand); transition: transform .2s ease; }
.faq-question[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-answer { padding: 0 0 22px; color: var(--muted); }
.faq-answer[hidden] { display: none; }

.about-story { padding: 72px 0 94px; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 58px; align-items: start; }
.about-grid img { position: sticky; top: 110px; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; }
.about-copy h2 { margin-top: 0; font-size: 2rem; }
.principle-list { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.principle-list article { padding: 20px 0; border-bottom: 1px solid var(--line); }
.principle-list h3 { margin: 0 0 7px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; padding: 66px 0 90px; }
.contact-card { padding: 28px; border-radius: 24px; background: var(--bg-2); }
.contact-card + .contact-card { margin-top: 16px; }
.contact-card h2 { margin-top: 0; }
.feedback-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--text); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .86rem; }
.notice { padding: 14px 16px; border-radius: 12px; background: #f1e2d2; color: #6a4936; }

.search-results { padding: 52px 0 90px; }
.search-summary { margin-bottom: 30px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.result-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.result-item h2 { margin: 4px 0 8px; font-size: 1.25rem; }
.result-item p { margin: 0; color: var(--muted); }

.error-page { padding: 100px 0 120px; }
.error-page h1 { margin: 10px 0 18px; }

.site-footer { background: #211c1a; color: rgba(255,255,255,.68); }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, .72fr); gap: 44px; padding: 62px 0 44px; }
.footer-logo strong, .footer-group h2 { color: #fff; }
.footer-logo small { color: rgba(255,255,255,.52); }
.footer-brand p { max-width: 430px; margin-top: 18px; }
.footer-group h2 { margin: 0 0 12px; font-size: .92rem; }
.footer-group a { display: block; padding: 5px 0; font-size: .86rem; color: rgba(255,255,255,.65); }
.footer-group a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.footer-bottom p { margin: 0; }
.back-top { border: 0; background: transparent; color: #fff; }

@media (max-width: 1080px) {
    :root { --wrap: min(100% - 36px, 980px); }
    .header-inner { grid-template-columns: auto auto 1fr auto; }
    .nav-toggle { display: block; order: 2; }
    .primary-nav { position: absolute; top: calc(100% + 1px); left: 18px; right: 18px; display: none; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
    .primary-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .primary-nav a { border-radius: 10px; }
    .search-open { justify-self: end; }
    .cover-grid { grid-template-columns: 1fr .9fr; }
    .ribbon-track { grid-auto-columns: minmax(280px, 42%); }
    .article-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 42px; }
    .footer-main { grid-template-columns: 1.4fr repeat(2, .8fr); }
    .footer-group:last-child { grid-column: 2 / span 2; }
}

@media (max-width: 860px) {
    .section-title { display: block; }
    .section-title p { margin-top: 12px; }
    .cover-grid, .headline-layout, .device-panel, .topic-stack, .context-grid, .feature-mix-grid, .stream-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .cover-visual { min-height: 430px; }
    .headline-aside { margin-top: 10px; }
    .device-visual { min-height: 330px; order: -1; }
    .device-visual::after { background: linear-gradient(0deg, rgba(169,80,63,.7), transparent 55%); }
    .mosaic-grid { grid-template-columns: 1fr 1fr; }
    .story-major { grid-column: 1 / -1; grid-row: auto; min-height: 480px; }
    .split-list-grid { grid-template-columns: 1fr; gap: 46px; }
    .context-grid img { max-height: 440px; }
    .stream-grid { gap: 30px; }
    .aside-panel { position: static; }
    .article-layout { grid-template-columns: 1fr; padding-top: 42px; }
    .article-aside { position: static; padding-top: 20px; border-top: 1px solid var(--line); }
    .related-list { grid-template-columns: 1fr 1fr; }
    .guide-group { grid-template-columns: 1fr; gap: 14px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-group:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
    :root { --wrap: calc(100% - 28px); }
    .header-inner { min-height: 68px; gap: 10px; grid-template-columns: auto 1fr auto; }
    .brand-lockup img { width: 38px; height: 38px; }
    .brand-lockup small { display: none; }
    .nav-toggle { order: initial; justify-self: end; }
    .search-open { width: 42px; height: 42px; padding: 0; border-radius: 50%; font-size: 0; }
    .search-open span { font-size: 1.4rem; }
    .primary-nav { left: 14px; right: 14px; grid-template-columns: 1fr !important; max-height: 70vh; overflow: auto; }
    .home-cover { padding-top: 34px; }
    .cover-copy h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
    .cover-search, .search-input-row { flex-direction: column; border-radius: 18px; }
    .cover-search input { min-height: 44px; }
    .cover-visual { min-height: 380px; border-radius: 24px 24px 80px 24px; }
    .cover-note { left: 14px; bottom: 14px; width: calc(100% - 28px); }
    .headline-item { grid-template-columns: 66px 1fr; }
    .ribbon-track { grid-auto-columns: minmax(250px, 82%); padding-inline: 14px; }
    .device-copy { padding: 28px; }
    .mosaic-grid { grid-template-columns: 1fr; }
    .story-major, .story-card { min-height: 390px; }
    .topic-index a { grid-template-columns: 46px 1fr; }
    .topic-index a small { grid-column: 2; }
    .index-columns { columns: 1; }
    .page-hero { padding-top: 40px; }
    .page-hero h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
    .feature-main { min-height: 410px; }
    .feature-side a, .stream-item { grid-template-columns: 100px 1fr; gap: 14px; }
    .feature-side img, .stream-item img { width: 100px; }
    .device-options-grid, .guide-links, .related-list { grid-template-columns: 1fr; }
    .article-layout { padding-bottom: 64px; }
    .footer-main { grid-template-columns: 1fr; gap: 24px; }
    .footer-brand, .footer-group:last-child { grid-column: auto; }
    .footer-bottom { display: block; }
    .back-top { margin-top: 12px; padding: 0; }
}

@media (max-width: 390px) {
    :root { --wrap: calc(100% - 22px); }
    .brand-lockup strong { font-size: .92rem; }
    .cover-links { display: grid; }
    .headline-item { grid-template-columns: 1fr; gap: 4px; }
    .feature-side a, .stream-item { grid-template-columns: 1fr; }
    .feature-side img, .stream-item img { width: 100%; aspect-ratio: 16/9; }
}
