:root {
  --ink: #153330;
  --teal: #123d3a;
  --teal-2: #245b56;
  --ivory: #f6f2e8;
  --paper: #fffdf8;
  --sage: #b9cec2;
  --coral: #e86f51;
  --coral-text: #a8432f;
  --gold: #d7ab5f;
  --blue: #8fb4bd;
  --line: #dcd9cf;
  --muted: #64736f;
  --shadow: 0 24px 70px rgba(18, 61, 58, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.menu-toggle { display: none; }
:where(a, button):focus-visible { outline: 3px solid #d36a4e; outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: white; color: var(--teal); }
.skip-link:focus { top: 12px; }

.notice-bar { background: var(--teal); color: #dce8e2; font-size: 12px; letter-spacing: .06em; }
.notice-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(21, 51, 48, .12); background: rgba(246, 242, 232, .94); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-seal { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50% 50% 48% 12%; background: var(--teal); color: white; font: 700 16px/1 "STKaiti", serif; transform: rotate(-4deg); }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-size: 18px; letter-spacing: .08em; }
.brand small { margin-top: 7px; color: var(--muted); font: 700 9px/1.2 Arial, sans-serif; letter-spacing: .08em; }
nav { display: flex; gap: 30px; }
nav a { color: #39534f; font-size: 14px; }
nav a:hover { color: var(--coral); }
.nav-action { padding: 11px 18px; border: 1px solid var(--teal); color: var(--teal); font-size: 13px; font-weight: 700; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; padding-top: 44px; padding-bottom: 44px; }
.eyebrow { margin: 0 0 22px; color: var(--teal-2); font: 700 10px/1.2 Arial, sans-serif; letter-spacing: .2em; }
.eyebrow.light { color: #b8cbc3; }
.hero h1 { max-width: 690px; margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: 1.14; letter-spacing: -.055em; }
.hero h1 em { display: inline-block; color: var(--coral); font-style: normal; }
.hero-lead { max-width: 650px; margin: 28px 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 24px; border: 1px solid var(--teal); font-size: 14px; font-weight: 700; }
.button.primary { background: var(--teal); color: white; }
.button.primary span { color: #ffb89f; font-size: 20px; }
.button.secondary { color: var(--teal); }
.hero-meta { display: flex; margin-top: 52px; }
.hero-meta div { min-width: 135px; display: grid; gap: 7px; padding: 0 24px; border-left: 1px solid var(--line); }
.hero-meta div:first-child { padding-left: 0; border-left: 0; }
.hero-meta b { font-size: 15px; }
.hero-meta span { color: var(--muted); font-size: 11px; }

.hero-board { min-height: 520px; position: relative; border-radius: 240px 240px 24px 24px; background: #dce6de; }
.hero-board::before { content: ""; position: absolute; inset: 25px; border: 1px solid rgba(18, 61, 58, .14); border-radius: inherit; }
.board-orbit { position: absolute; border: 1px solid rgba(18, 61, 58, .16); border-radius: 50%; }
.orbit-one { width: 360px; height: 360px; right: -80px; top: 18px; }
.orbit-two { width: 180px; height: 180px; left: -42px; bottom: 24px; }
.board-card { position: absolute; background: var(--paper); box-shadow: var(--shadow); }
.board-main { left: 11%; right: 11%; top: 92px; min-height: 290px; padding: 42px; border-radius: 4px 52px 4px 4px; }
.card-kicker { display: block; color: var(--coral-text); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.board-main strong { display: block; margin: 27px 0 18px; font-size: 30px; line-height: 1.45; }
.board-main p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.board-main small { position: absolute; left: 42px; right: 42px; bottom: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: #7c8c87; font-size: 9px; line-height: 1.5; }
.board-mini { width: 118px; min-height: 76px; z-index: 3; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; padding: 14px; border-radius: 2px; }
.board-mini b { color: var(--coral); font: 700 10px Arial; }
.board-mini span { font-size: 12px; font-weight: 700; }
.mini-a { left: 3%; bottom: 34px; }
.mini-b { left: calc(50% - 59px); bottom: 0; }
.mini-c { right: 3%; bottom: 34px; }

.principles { background: var(--paper); border-bottom: 1px solid var(--line); }
.principles-grid { min-height: 112px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.principle-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff0e9; color: var(--coral); font: 700 23px serif; }
.principles strong { font-size: 15px; }
.principles p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.principles a { color: var(--teal); font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--teal); padding-bottom: 3px; }

.section { padding: 106px 0; }
.section-head { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.section-head h2, .method h2, .source-section h2, .about h2, .emergency h2 { margin: 0; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.2; letter-spacing: -.045em; }
.section-head > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic-card { min-height: 310px; position: relative; padding: 26px; border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.topic-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -92px; top: -92px; border-radius: 50%; background: var(--card-accent); opacity: .18; }
.topic-card > span { color: var(--muted); font: 700 10px Arial; }
.topic-card > i { width: 66px; height: 66px; display: grid; place-items: center; margin-top: 38px; border-radius: 50% 50% 15% 50%; background: var(--card-accent); color: var(--teal); font: normal 700 20px "STKaiti", serif; }
.topic-card h3 { margin: 28px 0 12px; font-size: 20px; }
.topic-card p { min-height: 66px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.topic-card a { position: absolute; left: 26px; bottom: 24px; color: var(--teal); font-size: 12px; font-weight: 700; }
.accent-coral { --card-accent: #efaa94; }
.accent-green { --card-accent: #b9cec2; }
.accent-blue { --card-accent: #b7d2d8; }
.accent-gold { --card-accent: #e5ca8e; }

.articles { background: #ece8dd; }
.article-heading { grid-template-columns: .72fr 1.28fr; }
.filters { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid #c9c5ba; background: transparent; color: var(--muted); padding: 9px 13px; cursor: pointer; font-size: 12px; }
.filters button.active, .filters button:hover { border-color: var(--teal); background: var(--teal); color: white; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card { min-height: 290px; display: grid; grid-template-columns: .78fr 1.22fr; background: var(--paper); border: 1px solid #ded9cc; }
.article-card[hidden] { display: none; }
.article-visual { min-height: 100%; position: relative; display: grid; place-items: center; overflow: hidden; background: #dce6de; }
.article-copy { padding: 28px; display: flex; flex-direction: column; }
.article-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.article-meta span { color: var(--coral-text); font-weight: 700; }
.article-copy h3 { margin: 28px 0 13px; font-size: 22px; line-height: 1.45; }
.article-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.read-button { margin-top: auto; padding: 18px 0 0; display: flex; justify-content: space-between; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--teal); cursor: pointer; font-size: 12px; font-weight: 700; text-align: left; }
.read-button span { color: var(--coral); font-size: 18px; }
.visual-reflux { background: #ead5c5; }
.visual-hp { background: #c8d9d1; }
.visual-prep { background: #cbdde1; }
.visual-sedation { background: #d9d7e5; }
.visual-polyp { background: #e2d9b9; }
.visual-bleeding { background: #eac6bd; }
.visual-reflux b, .visual-hp b, .visual-prep b, .visual-sedation b, .visual-polyp b, .visual-bleeding b { color: var(--teal); font-size: 34px; letter-spacing: .06em; }
.visual-reflux span, .visual-hp span, .visual-prep span, .visual-sedation span, .visual-polyp span, .visual-bleeding span { position: absolute; bottom: 58px; color: #4c625d; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.visual-motion { background: #e5d9b5; }
.motion-ring { width: 118px; height: 118px; position: absolute; border: 18px solid rgba(18, 61, 58, .12); border-top-color: var(--coral); border-radius: 50%; transform: rotate(-30deg); }
.visual-motion b { z-index: 1; color: var(--teal); font: 700 34px Arial; }
.visual-motion small { position: absolute; bottom: 55px; font-size: 10px; }
.visual-pressure { background: #c8d9d6; }
.gauge { width: 130px; height: 65px; position: absolute; top: 70px; overflow: hidden; }
.gauge::before { content: ""; position: absolute; inset: 0; border: 20px solid rgba(18, 61, 58, .18); border-bottom: 0; border-radius: 100px 100px 0 0; }
.gauge i { width: 3px; height: 52px; position: absolute; left: 64px; bottom: -3px; background: var(--coral); transform: rotate(28deg); transform-origin: bottom; }
.visual-pressure b { margin-top: 90px; font-size: 16px; }
.visual-label { background: #dfe1c9; }
.label-sheet { width: 125px; height: 160px; padding: 28px 18px; background: var(--paper); box-shadow: 8px 10px 0 rgba(18, 61, 58, .12); }
.label-sheet i { display: block; height: 3px; margin: 12px 0; background: var(--sage); }
.label-sheet strong { display: block; margin-top: 28px; text-align: center; color: var(--teal); font-size: 17px; }
.visual-emergency { background: #efd1c8; }
.visual-emergency b { color: var(--coral); font: 700 50px Arial; }
.visual-emergency span { position: absolute; bottom: 60px; font-size: 11px; letter-spacing: .1em; }
.article-empty { color: var(--muted); text-align: center; }

.method { position: relative; overflow: hidden; background: var(--teal); color: white; }
.method::after { content: "NOTE"; position: absolute; right: -30px; bottom: -70px; color: rgba(255, 255, 255, .03); font: 700 220px/1 Arial; }
.method-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.method-intro > p:not(.eyebrow) { color: #aec3ba; line-height: 1.85; }
.method-list { border-top: 1px solid rgba(255, 255, 255, .2); }
.method-list > div { display: grid; grid-template-columns: 45px 120px 1fr; gap: 16px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.method-list span { color: #ffad93; font: 700 10px Arial; }
.method-list strong { font-size: 16px; }
.method-list p { margin: 0; color: #aec3ba; font-size: 13px; line-height: 1.65; }

.source-section { background: var(--paper); }
.source-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; }
.source-list { border-top: 1px solid var(--line); }
.source-list a { display: grid; grid-template-columns: 150px 1fr auto; gap: 22px; align-items: center; min-height: 92px; border-bottom: 1px solid var(--line); }
.source-list span { color: var(--coral); font-size: 10px; font-weight: 700; }
.source-list strong { font-size: 14px; line-height: 1.5; }
.source-list b { font-size: 18px; }

.about { background: #e1e5d7; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-card { min-height: 420px; display: grid; align-content: center; justify-items: center; padding: 50px; background: var(--paper); text-align: center; box-shadow: var(--shadow); }
.about-monogram { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50% 50% 12% 50%; background: var(--teal); color: white; font: 700 48px "STKaiti", serif; }
.about-card p { max-width: 360px; margin: 35px 0 0; font: 700 20px/1.8 "STKaiti", "Microsoft YaHei", serif; }
.doctor-card { gap: 28px; }
.doctor-card > div { display: grid; gap: 8px; }
.doctor-card strong { font-size: 25px; }
.doctor-card span:not(.about-monogram) { color: var(--muted); font-size: 12px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.9; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.about-tags span { padding: 9px 12px; border: 1px solid #afbaad; font-size: 11px; }

.emergency { padding: 72px 0; background: var(--coral); color: #fffaf4; }
.emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.emergency span { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.emergency p { margin: 0; font-size: 15px; line-height: 1.9; }

footer { background: #0d2825; color: white; }
.footer-main { min-height: 125px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: center; border-bottom: 1px solid #31504c; }
.brand-footer small { color: #91aaa3; }
.footer-main p { color: #91aaa3; font-size: 13px; }
.footer-main > a:last-child { color: #ffad93; font-size: 12px; }
.footer-bottom { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #78918b; font-size: 11px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #ffad93; text-decoration: underline; text-underline-offset: 3px; }

.article-dialog { width: min(720px, calc(100% - 30px)); max-height: min(760px, calc(100vh - 40px)); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0, 0, 0, .3); }
.article-dialog::backdrop { background: rgba(6, 25, 23, .72); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; z-index: 2; top: 16px; float: right; width: 42px; height: 42px; margin: 16px 16px 0 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--teal); cursor: pointer; font-size: 26px; }
.dialog-body { padding: 58px 58px 48px; }
.dialog-category { color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.dialog-body h2 { margin: 16px 0 28px; font-size: 34px; line-height: 1.35; }
.dialog-content { color: #3f5450; line-height: 1.9; }
.dialog-content h3 { margin-top: 28px; color: var(--ink); font-size: 18px; }
.dialog-content ul { padding-left: 1.3em; }
.dialog-content a { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }
.dialog-note { margin-top: 30px; padding: 16px; border-left: 3px solid var(--coral); background: #fff1eb; color: #6c4b42; font-size: 12px; line-height: 1.7; }

@media (max-width: 980px) {
  .menu-toggle { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; padding: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 19px; height: 2px; display: block; background: var(--teal); }
  nav { position: absolute; left: 24px; right: 24px; top: calc(100% + 1px); display: none; padding: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
  nav.open { display: grid; }
  nav a { padding: 13px 12px; border-bottom: 1px solid #ebe7dc; }
  nav a:last-child { border-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 90px; padding-bottom: 80px; }
  .hero-board { min-height: 500px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head, .article-heading, .method-grid, .source-grid, .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .filters { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 30px, 1180px); }
  .notice-inner { justify-content: center; }
  .notice-inner span:first-child { display: none; }
  .nav-wrap { min-height: 68px; }
  .nav-action { display: none; }
  .brand strong { font-size: 16px; }
  .brand-seal { width: 34px; height: 34px; }
  .hero-grid { padding-top: 65px; gap: 50px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-meta { justify-content: space-between; margin-top: 38px; }
  .hero-meta div { min-width: 0; padding: 0 10px; }
  .hero-meta b { font-size: 13px; }
  .hero-meta span { font-size: 9px; }
  .hero-board { min-height: 430px; border-radius: 180px 180px 20px 20px; }
  .board-main { left: 7%; right: 7%; top: 68px; min-height: 280px; padding: 28px; }
  .board-main strong { font-size: 24px; }
  .board-main small { left: 28px; right: 28px; }
  .board-mini { width: 103px; grid-template-columns: 24px 1fr; padding: 11px; }
  .principles-grid { grid-template-columns: auto 1fr; padding: 22px 0; }
  .principles a { grid-column: 2; justify-self: start; }
  .section { padding: 76px 0; }
  .section-head { gap: 22px; margin-bottom: 34px; }
  .section-head h2, .method h2, .source-section h2, .about h2, .emergency h2 { font-size: 37px; }
  .topic-grid, .article-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 285px; }
  .article-card { grid-template-columns: 1fr; }
  .article-visual { min-height: 210px; }
  .article-copy { min-height: 280px; }
  .method-list > div { grid-template-columns: 28px 84px 1fr; gap: 8px; }
  .method-list p { font-size: 11px; }
  .source-list a { grid-template-columns: 1fr auto; gap: 8px; padding: 18px 0; }
  .source-list span { grid-column: 1 / -1; }
  .about-card { min-height: 340px; padding: 32px; }
  .emergency-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-main { grid-template-columns: 1fr; padding: 38px 0; gap: 18px; }
  .footer-bottom { min-height: 85px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .dialog-body { padding: 50px 24px 32px; }
  .dialog-body h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
