:root {
  --peach-50: #fff9ee;
  --peach-100: #fff0d2;
  --peach-200: #ffd99b;
  --peach-300: #ffc365;
  --peach-400: #f4a328;
  --peach-500: #de8511;
  --ink-950: #211a14;
  --ink-800: #46392e;
  --ink-600: #756456;
  --line: #eadcc9;
  --paper: #fffdf9;
  --white: #fff;
  --green: #536b54;
  --shadow: 0 22px 60px rgba(74, 48, 21, .12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --wrap: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink-950); font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 16px; line-height: 1.75; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -80px; padding: 10px 16px; background: var(--ink-950); color: var(--white); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.eyebrow { margin: 0 0 10px; color: var(--peach-500); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.site-main { min-height: 60vh; overflow: clip; }

.utility-bar { background: var(--ink-950); color: #f8ead7; font-size: .8rem; }
.utility-bar .wrap { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility-bar a { color: var(--peach-300); }
.site-header { position: relative; z-index: 50; background: rgba(255, 253, 249, .96); border-bottom: 1px solid var(--line); }
.header-main { min-height: 88px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 1.22rem; letter-spacing: .08em; }
.brand small { margin-top: 5px; color: var(--ink-600); font-size: .68rem; letter-spacing: .06em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 4px; margin-left: auto; }
.primary-nav a { padding: 12px 11px; border-radius: 999px; color: var(--ink-800); font-size: .92rem; font-weight: 650; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a.is-active { background: var(--peach-100); color: #8b4c00; }
.search-open { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink-950); background: transparent; border-radius: 999px; cursor: pointer; font-weight: 700; }
.search-open span { margin-right: 6px; font-size: 1.25rem; }
.menu-toggle { display: none; }

.search-modal[hidden] { display: none !important; }
.search-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: start center; padding: min(15vh, 130px) 24px 24px; opacity: 0; transition: opacity .18s ease; }
.search-modal.is-visible { opacity: 1; }
.search-backdrop { position: absolute; inset: 0; background: rgba(23, 17, 12, .78); backdrop-filter: blur(6px); }
.search-panel { position: relative; width: min(680px, 100%); padding: 42px; background: var(--paper); border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius-lg); box-shadow: 0 30px 90px rgba(0,0,0,.34); transform: translateY(-12px); transition: transform .18s ease; }
.is-visible .search-panel { transform: translateY(0); }
.search-panel h2 { margin: 0 0 26px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.18; }
.search-panel label, .search-page label { display: block; margin-bottom: 8px; color: var(--ink-800); font-weight: 700; }
.search-field { display: flex; gap: 10px; }
.search-field input, .search-page input, .search-callout input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #cbbba7; border-radius: 12px; background: var(--white); color: var(--ink-950); }
.search-field input:focus, .search-page input:focus, .search-callout input:focus { border-color: var(--peach-500); outline: 3px solid rgba(244,163,40,.2); }
.search-field button { flex: 0 0 auto; padding: 0 24px; border: 0; border-radius: 12px; background: var(--ink-950); color: var(--white); font-weight: 750; cursor: pointer; }
.search-close { position: absolute; top: 20px; right: 22px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.search-hint { margin: 14px 0 0; color: var(--ink-600); font-size: .88rem; }

.hero { min-height: 640px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; padding-block: 72px 84px; }
.hero h1 { max-width: 720px; margin: 0; font-family: "Songti SC", STSong, serif; font-size: clamp(2.8rem, 5.7vw, 5.35rem); font-weight: 700; line-height: 1.06; letter-spacing: -.045em; }
.hero-lead { max-width: 650px; margin: 26px 0; color: var(--ink-800); font-size: 1.12rem; line-height: 1.9; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--peach-500); border-radius: 999px; background: var(--peach-400); color: #2a1b0b; font-weight: 800; cursor: pointer; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(222,133,17,.18); }
.button-ghost { background: transparent; border-color: var(--ink-950); }
.button-dark { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.button-light { background: var(--white); border-color: var(--white); color: var(--ink-950); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--ink-600); font-size: .86rem; }
.hero-notes li::before { content: "•"; margin-right: 8px; color: var(--peach-500); }
.hero-visual { position: relative; min-width: 0; }
.hero-visual > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 180px 180px 30px 30px; box-shadow: var(--shadow); }
.hero-caption { position: absolute; right: -20px; bottom: 28px; width: min(310px, 80%); padding: 22px; background: rgba(255,253,249,.95); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.hero-caption span { color: var(--peach-500); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.hero-caption strong { display: block; margin: 8px 0 10px; line-height: 1.45; }
.hero-caption a { text-decoration: underline; text-underline-offset: 4px; font-size: .86rem; font-weight: 700; }

.section { padding-block: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading h2, .topic-intro h2, .feature-copy h2, .guide-layout h2, .closing-panel h2 { margin: 0; font-family: "Songti SC", STSong, serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.15; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--ink-600); }
.section-link, .text-link { color: #8b4c00; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(139,76,0,.35); text-underline-offset: 5px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card { min-width: 0; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 50% 50% 14px 14px; }
.category-card h3 { margin: 20px 0 8px; font-size: 1.18rem; }
.category-card p { min-height: 100px; margin: 0 0 14px; color: var(--ink-600); font-size: .92rem; }
.category-card:hover { background: var(--peach-50); }

.editor-band { background: var(--ink-950); color: #fff8eb; }
.split-feature { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; padding-block: 84px; }
.feature-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; }
.feature-copy .eyebrow { color: var(--peach-300); }
.feature-copy > p:not(.eyebrow) { max-width: 610px; color: #ddcdbb; font-size: 1.05rem; }
.feature-copy blockquote { margin: 30px 0; padding: 16px 0 16px 24px; border-left: 3px solid var(--peach-400); color: var(--peach-200); font-family: "Songti SC", STSong, serif; font-size: 1.25rem; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story-card { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.story-media { display: block; overflow: hidden; border-radius: var(--radius-md); }
.story-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.story-card:hover .story-media img { transform: scale(1.025); }
.story-body { padding-top: 18px; }
.story-body .eyebrow { margin-bottom: 6px; font-size: .7rem; }
.story-body h3 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.45; }
.story-body h3 a:hover { color: #8b4c00; }
.story-body p { margin: 0 0 14px; color: var(--ink-600); font-size: .92rem; }

.topic-strip { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; padding-block: 88px; border-top: 1px solid var(--line); }
.topic-intro { align-self: start; position: sticky; top: 28px; }
.topic-intro > p:not(.eyebrow) { color: var(--ink-600); }
.topic-list { border-top: 1px solid var(--ink-950); }
.topic-row { display: grid; grid-template-columns: 42px 1fr 30px; gap: 18px; align-items: start; padding: 28px 6px; border-bottom: 1px solid var(--line); }
.topic-row > span { color: var(--peach-500); font-size: .78rem; font-weight: 800; }
.topic-row h3 { margin: 0 0 5px; font-size: 1.2rem; }
.topic-row p { margin: 0; color: var(--ink-600); font-size: .92rem; }
.topic-row b { font-size: 1.25rem; transition: transform .2s ease; }
.topic-row:hover { background: var(--peach-50); }
.topic-row:hover b { transform: translate(3px,-3px); }

.warm-section { background: var(--peach-100); }
.guide-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.guide-layout > div > p:not(.eyebrow) { max-width: 670px; color: var(--ink-800); }
.guide-layout > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 180px 180px 24px 24px; }
.guide-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 28px 0; }
.guide-steps article { padding: 18px; background: rgba(255,255,255,.52); border-radius: 16px; }
.guide-steps span { color: var(--peach-500); font-size: .75rem; font-weight: 800; }
.guide-steps h3 { margin: 8px 0 5px; font-size: 1rem; }
.guide-steps p { margin: 0; color: var(--ink-600); font-size: .84rem; }
.faq-list { border-top: 1px solid var(--ink-950); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 52px 24px 0; cursor: pointer; font-size: 1.07rem; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 10px; top: 20px; font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 820px; margin: -5px 0 24px; color: var(--ink-600); }
.closing-panel { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 50px; margin-block: 70px 100px; padding: 42px; background: var(--peach-400); border-radius: var(--radius-lg); }
.closing-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.closing-panel p:not(.eyebrow) { color: #4e3218; }

.breadcrumb { padding-top: 22px; color: var(--ink-600); font-size: .8rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--peach-500); }
.page-hero, .simple-hero, .info-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 66px; align-items: center; padding-block: 54px 74px; }
.page-hero h1, .simple-hero h1, .info-hero h1, .search-page h1 { margin: 0 0 20px; font-family: "Songti SC", STSong, serif; font-size: clamp(2.7rem,5vw,4.8rem); line-height: 1.1; letter-spacing: -.035em; }
.page-hero p:not(.eyebrow), .simple-hero p:not(.eyebrow), .info-hero p:not(.eyebrow) { max-width: 690px; color: var(--ink-800); font-size: 1.05rem; }
.page-hero img, .simple-hero img, .info-hero img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px 120px 28px 28px; }
.meta-line { display: flex; gap: 22px; color: var(--ink-600); font-size: .84rem; }
.meta-line span::before { content: "•"; margin-right: 7px; color: var(--peach-500); }
.reading-note { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding-block: 70px; border-top: 1px solid var(--line); }
.reading-note h2, .related-nav h2 { margin: 0; font-family: "Songti SC", STSong, serif; font-size: clamp(1.8rem,3vw,2.8rem); line-height: 1.2; }
.prose p { margin: 0 0 20px; color: var(--ink-800); }
.related-nav { padding-bottom: 90px; }
.related-nav > div { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.related-nav a { display: grid; gap: 8px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.related-nav a:hover { background: var(--peach-50); }
.related-nav span { color: var(--ink-600); font-size: .86rem; }

.filter-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter-nav a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 700; }
.filter-nav a[aria-current="page"] { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.result-summary { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.result-summary h2 { margin: 0; font-size: 1.8rem; }
.result-summary p { margin: 0; color: var(--ink-600); }
.search-callout { display: grid; grid-template-columns: .6fr 1.4fr; gap: 48px; align-items: center; margin-block: 20px 90px; padding: 36px; background: var(--peach-100); border-radius: var(--radius-lg); }
.search-callout img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.search-callout h2 { margin: 0; font-family: "Songti SC", STSong, serif; font-size: 2.3rem; }
.search-callout form { display: flex; gap: 10px; margin-top: 20px; }

.topic-chapters { padding-bottom: 100px; }
.topic-chapters > article { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.topic-chapters > article:nth-child(even) img { order: 2; }
.topic-chapters img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.chapter-no { color: var(--peach-500); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.topic-chapters h2 { margin: 10px 0 16px; font-family: "Songti SC", STSong, serif; font-size: clamp(2rem,3.5vw,3rem); }
.topic-chapters p { color: var(--ink-600); }
.topic-chapters ul { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.topic-chapters li { border-bottom: 1px solid var(--line); }
.topic-chapters li a { display: block; padding: 13px 0; font-weight: 700; }
.topic-chapters li a::after { content: " →"; color: var(--peach-500); }

.article-layout { padding-block: 52px 82px; }
.article-header { max-width: 900px; margin: 0 auto 42px; text-align: center; }
.article-header h1 { margin: 0; font-family: "Songti SC", STSong, serif; font-size: clamp(2.65rem,5.3vw,5rem); line-height: 1.1; letter-spacing: -.035em; }
.article-deck { max-width: 720px; margin: 24px auto; color: var(--ink-800); font-size: 1.12rem; }
.article-meta { display: flex; justify-content: center; gap: 26px; color: var(--ink-600); font-size: .82rem; }
.article-cover { margin: 0 0 60px; }
.article-cover img { width: 100%; max-height: 650px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.article-cover figcaption { margin-top: 9px; color: var(--ink-600); font-size: .78rem; text-align: center; }
.article-columns { display: grid; grid-template-columns: 250px minmax(0,720px); gap: 70px; justify-content: center; align-items: start; }
.article-aside { position: sticky; top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.article-aside ol { margin: 12px 0 18px; padding-left: 22px; }
.article-aside li { margin-bottom: 8px; color: var(--ink-600); font-size: .86rem; }
.article-aside > a { color: #8b4c00; font-size: .86rem; font-weight: 700; }
.article-content { color: var(--ink-800); font-size: 1.05rem; }
.lead-paragraph { margin: 0 0 42px; color: var(--ink-950); font-family: "Songti SC", STSong, serif; font-size: 1.42rem; line-height: 1.85; }
.article-content section { margin-bottom: 42px; }
.article-content h2 { margin: 0 0 14px; color: var(--ink-950); font-size: 1.65rem; }
.article-content p { margin: 0; }
.article-conclusion { padding: 28px; background: var(--peach-50); border-left: 4px solid var(--peach-400); border-radius: 0 16px 16px 0; }

.info-layout { display: grid; grid-template-columns: 250px minmax(0,760px); gap: 80px; align-items: start; justify-content: center; padding-block: 30px 100px; }
.info-layout aside { position: sticky; top: 24px; padding: 20px; background: var(--peach-50); border-radius: 16px; }
.info-layout aside ol { margin: 12px 0 0; padding-left: 22px; }
.info-layout aside li { margin-bottom: 7px; color: var(--ink-600); font-size: .86rem; }
.info-content section { padding: 0 0 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.info-content h2 { margin: 0 0 15px; font-family: "Songti SC", STSong, serif; font-size: 2rem; }
.info-content p, .info-content li { color: var(--ink-800); }
.info-content ul { padding-left: 22px; }

.faq-page { display: grid; grid-template-columns: 210px 1fr; gap: 60px; padding-block: 30px 80px; }
.faq-index { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.faq-index a { color: var(--ink-600); font-size: .9rem; }
.faq-index a:hover { color: var(--peach-500); }
.faq-page summary { display: flex; gap: 18px; }
.faq-page summary span { color: var(--peach-500); font-size: .76rem; }
.support-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 100px; padding: 36px; background: var(--peach-400); border-radius: 24px; }
.support-band h2 { margin: 0; font-family: "Songti SC", STSong, serif; font-size: 2rem; }
.support-band p:not(.eyebrow) { margin: 8px 0 0; }
.search-page { padding-block: 60px 100px; }
.search-page-head { max-width: 820px; margin-bottom: 52px; }
.search-page-head form > div { display: flex; gap: 10px; }
.empty-state { max-width: 720px; padding: 42px; background: var(--peach-50); border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; }
.empty-state img { width: min(320px,100%); margin: 0 auto 24px; border-radius: 18px; }
.error-page { padding-block: 120px; text-align: center; }
.error-code { margin: 0; color: var(--peach-400); font-size: clamp(5rem,16vw,12rem); font-weight: 900; line-height: .85; }
.error-page h1 { margin: 28px 0 12px; font-family: "Songti SC", STSong, serif; font-size: 2.8rem; }
.error-page > p:not(.error-code) { max-width: 600px; margin-inline: auto; color: var(--ink-600); }
.error-page .button-row { justify-content: center; }

.site-footer { background: var(--ink-950); color: #f8ead7; }
.footer-main { display: grid; grid-template-columns: 1.8fr repeat(3,1fr); gap: 54px; padding-block: 70px; }
.footer-intro { max-width: 420px; }
.footer-brand { font-family: "Songti SC", STSong, serif; font-size: 2rem; font-weight: 800; }
.footer-intro p { color: #bead9c; }
.footer-main h2 { margin: 4px 0 16px; color: var(--peach-300); font-size: .82rem; letter-spacing: .12em; }
.footer-main > div:not(.footer-intro) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-main > div:not(.footer-intro) a { margin-bottom: 8px; color: #d9c8b6; font-size: .9rem; }
.footer-main a:hover { color: var(--peach-300); }
.footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #44382e; color: #9f8f80; font-size: .78rem; }
.back-top { position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); cursor: pointer; }

@media (max-width: 1080px) {
  :root { --wrap: min(100% - 36px, 940px); }
  .header-main { gap: 18px; }
  .primary-nav a { padding-inline: 8px; font-size: .84rem; }
  .brand small { display: none; }
  .hero { gap: 40px; }
  .hero h1 { font-size: clamp(2.7rem,6vw,4.3rem); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .category-card p { min-height: auto; }
  .story-grid { grid-template-columns: repeat(2,1fr); }
  .related-nav > div { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
  .utility-bar { display: none; }
  .header-main { min-height: 72px; }
  .menu-toggle { order: 2; display: grid; grid-template-columns: 18px auto; column-gap: 7px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
  .menu-toggle span { grid-column: 1; display: block; width: 17px; height: 2px; margin: 1.5px 0; background: var(--ink-950); }
  .menu-toggle b { grid-column: 2; grid-row: 1 / 4; font-size: .8rem; }
  .search-open { order: 3; padding-inline: 12px; }
  .primary-nav { position: absolute; left: 18px; right: 18px; top: 72px; display: none; align-items: stretch; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; grid-template-columns: repeat(2,1fr); }
  .primary-nav a { border-radius: 10px; }
  .brand { margin-right: auto; }
  .hero, .page-hero, .simple-hero, .info-hero { grid-template-columns: 1fr; }
  .hero { padding-block: 58px; }
  .hero-visual { width: min(620px, 90%); margin-inline: auto; }
  .hero-visual > img { aspect-ratio: 5 / 4; border-radius: 120px 120px 24px 24px; }
  .split-feature, .guide-layout, .topic-strip, .closing-panel, .search-callout { grid-template-columns: 1fr; }
  .topic-intro { position: static; }
  .guide-layout > img { max-height: 560px; border-radius: 100px 100px 24px 24px; }
  .closing-panel img { max-height: 360px; }
  .reading-note { grid-template-columns: 1fr; gap: 28px; }
  .topic-chapters > article { grid-template-columns: 1fr; gap: 30px; }
  .topic-chapters > article:nth-child(even) img { order: 0; }
  .article-columns, .info-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-aside, .info-layout aside { position: static; }
  .article-aside ol, .info-layout aside ol { columns: 2; }
  .faq-page { grid-template-columns: 1fr; gap: 30px; }
  .faq-index { flex-direction: row; flex-wrap: wrap; }
  .footer-main { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  :root { --wrap: calc(100% - 28px); --radius-lg: 22px; }
  body { font-size: 16px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 1rem; }
  .search-open { width: 44px; padding: 0; font-size: 0; }
  .search-open span { margin: 0; font-size: 1.25rem; }
  .menu-toggle b { display: none; }
  .menu-toggle { width: 44px; height: 44px; grid-template-columns: 1fr; place-content: center; padding: 9px 12px; }
  .menu-toggle span { grid-column: 1; width: 18px; }
  .primary-nav.is-open { grid-template-columns: 1fr; }
  .search-modal { padding: 70px 14px 14px; }
  .search-panel { padding: 34px 20px 24px; }
  .search-field, .search-callout form, .search-page-head form > div { flex-direction: column; }
  .search-field button { min-height: 48px; }
  .hero { gap: 38px; padding-block: 46px 60px; }
  .hero h1 { font-size: 2.75rem; }
  .hero-lead { font-size: 1rem; }
  .hero-notes { display: grid; }
  .hero-visual { width: 100%; }
  .hero-caption { right: 12px; bottom: 12px; }
  .section { padding-block: 62px; }
  .section-heading { display: block; }
  .section-heading > p, .section-link { display: block; margin-top: 12px; }
  .category-grid, .story-grid, .related-nav > div { grid-template-columns: 1fr; }
  .category-card { display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
  .category-card img { aspect-ratio: 1; }
  .category-card h3 { margin-top: 0; }
  .split-feature { gap: 34px; padding-block: 58px; }
  .guide-steps { grid-template-columns: 1fr; }
  .topic-row { grid-template-columns: 32px 1fr 20px; gap: 10px; }
  .closing-panel { margin-block: 38px 70px; padding: 24px; }
  .page-hero, .simple-hero, .info-hero { gap: 30px; padding-block: 38px 56px; }
  .page-hero h1, .simple-hero h1, .info-hero h1, .search-page h1 { font-size: 2.7rem; }
  .page-hero img, .simple-hero img, .info-hero img { border-radius: 22px 80px 22px 22px; }
  .topic-chapters > article { padding-block: 44px; }
  .article-layout { padding-block: 40px 60px; }
  .article-header h1 { font-size: 2.65rem; }
  .article-meta { display: grid; gap: 4px; }
  .article-cover { margin-bottom: 40px; }
  .article-aside ol, .info-layout aside ol { columns: 1; }
  .lead-paragraph { font-size: 1.24rem; }
  .search-callout { padding: 24px; }
  .support-band { display: grid; padding: 26px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 22px; padding-block: 54px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { display: grid; justify-content: start; padding-block: 18px; }
}

@media (max-width: 390px) {
  :root { --wrap: calc(100% - 22px); }
  .hero h1, .page-hero h1, .simple-hero h1, .info-hero h1, .search-page h1, .article-header h1 { font-size: 2.3rem; }
  .category-card { grid-template-columns: 92px 1fr; padding: 12px; }
  .button-row { display: grid; }
  .button { width: 100%; }
}

@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 {
  .utility-bar, .site-header, .site-footer, .back-top, .search-modal, .button-row, .article-aside { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { width: 100%; }
  .article-columns { display: block; }
  a { text-decoration: underline; }
}
