/* 字体：英文 Söhne，中文 MiSans，数字 Söhne Mono（按网站用到的字符子集化） */
@font-face { font-family: "SS Num"; src: url(fonts/sohne-mono-400.woff2) format("woff2"); font-weight: 100 450; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: "SS Num"; src: url(fonts/sohne-mono-500.woff2) format("woff2"); font-weight: 451 550; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: "SS Num"; src: url(fonts/sohne-mono-600.woff2) format("woff2"); font-weight: 551 900; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: "SS Latin"; src: url(fonts/sohne-400.woff2) format("woff2"); font-weight: 100 550; font-display: swap; unicode-range: U+0000-024F, U+2000-206F, U+2190-21FF, U+2212; }
@font-face { font-family: "SS Latin"; src: url(fonts/sohne-600.woff2) format("woff2"); font-weight: 551 900; font-display: swap; unicode-range: U+0000-024F, U+2000-206F, U+2190-21FF, U+2212; }
@font-face { font-family: "SS CJK"; src: url(fonts/misans-400.woff2) format("woff2"); font-weight: 100 450; font-display: swap; }
@font-face { font-family: "SS CJK"; src: url(fonts/misans-500.woff2) format("woff2"); font-weight: 451 550; font-display: swap; }
@font-face { font-family: "SS CJK"; src: url(fonts/misans-600.woff2) format("woff2"); font-weight: 551 900; font-display: swap; }

/* =========================================================
   SAME SEA —— 视觉系统 v5
   国际主义风格：网格、齐左、无衬线粗体、数字编号。
   只保留有信息的线（数据条、距离标尺），不用装饰线；不用大面积黑色。
   版式参考 The Ocean Agency 首页；首屏沿用 v4。
   ========================================================= */

:root {
  --black: #000;
  --white: #FFF;
  --cyan: #00B2DB;      /* 强调色：只用于大字、色块与数据，不用于小字 */
  --grey: #BFBFBF;
  --fog: #ECF0F4;
  --muted: #6E6E6E;
  --pad: clamp(20px, 5.5vw, 80px);
  --gap: clamp(24px, 4vw, 64px);
  --font: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sea: linear-gradient(100deg, #00B2DB 0%, #0A6E8A 38%, #04394A 70%, #001820 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-snap-type: y proximity; }
.screen, .hero { scroll-snap-align: start; }
body {
  margin: 0; background: var(--white); color: var(--black);
  font-family: var(--font); font-size: 18px; line-height: 1.7; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }
ol, ul { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.huge { font-size: clamp(52px, 11vw, 176px); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.right { text-align: right; }
.grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: start; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); max-width: 1100px; }

.cite { font-size: .68em; vertical-align: super; line-height: 0; color: var(--muted); text-decoration: none; margin-left: 1px; }
.cite:hover { color: var(--black); text-decoration: underline; }
figcaption, .credit { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.55; max-width: 48em; }
.note, .small { font-size: 14px; color: var(--muted); line-height: 1.6; }

.ph { position: relative; aspect-ratio: var(--r, 16 / 9); background: var(--fog); overflow: hidden; }
.ph.photo img { width: 100%; height: 100%; object-fit: cover; }

/* 按钮：方形 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 220px;
  padding: 15px 36px; border: 2px solid var(--black); background: transparent; color: var(--black);
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--black); color: var(--white); }
.btn.solid { background: var(--black); color: var(--white); }
.btn.solid:hover { background: var(--cyan); border-color: var(--cyan); }
.btn:disabled { opacity: .3; cursor: not-allowed; }
.btn:disabled:hover { background: var(--black); border-color: var(--black); }

/* 渐显 */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 导航 ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 28px var(--pad);
}
.nav a, .nav button { pointer-events: auto; }
.brand, .foot-brand {
  display: flex; flex-direction: column; text-decoration: none; color: var(--black);
  font-size: 22px; font-weight: 700; line-height: .92; letter-spacing: .02em; text-transform: uppercase;
  transition: opacity .3s;
}
.brand span, .foot-brand span { font-size: 13px; letter-spacing: .3em; margin-top: 6px; font-weight: 600; }
.nav-list {
  text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 1px;
  transition: opacity .3s, transform .4s var(--ease);
}
.nav-list a {
  position: relative; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .06em; line-height: 17px;
  padding-right: 14px; display: inline-block;
}
.nav-list a::after {
  content: ""; position: absolute; right: 0; top: 1.5px; width: 7px; height: 14px;
  background: var(--cyan); border-radius: 0 14px 14px 0; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-list a:hover::after, .nav-list a.active::after { transform: none; }
.nav-list .cta { margin-top: 10px; }
.nav-list .cta a { background: var(--black); color: var(--white); padding: 6px 12px; }
.nav-list .cta a::after { display: none; }

.menu-btn {
  position: fixed; top: 22px; right: var(--pad); width: 64px; height: 64px; border-radius: 50%;
  border: 0; background: var(--black); cursor: pointer; display: grid; place-items: center; z-index: 60;
  opacity: 0; transform: scale(.4); pointer-events: none !important; transition: opacity .3s, transform .4s var(--ease), background .3s;
}
.menu-btn svg { width: 32px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; }
.nav.min .nav-list { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.nav.min .nav-list a { pointer-events: none; }
.nav.min .menu-btn { opacity: 1; transform: none; pointer-events: auto !important; }
.nav.min:not(.open) .brand { opacity: 0; pointer-events: none; }  /* 滚动后标志隐去，避免压在正文上 */
.nav.open .menu-btn { background: var(--cyan); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--fog); color: var(--black);
  display: flex; align-items: center; padding: 120px var(--pad) 60px;
  clip-path: circle(0 at calc(100% - var(--pad) - 32px) 54px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu.open { clip-path: circle(150% at calc(100% - var(--pad) - 32px) 54px); visibility: visible; }
.menu ol { margin-left: auto; text-align: right; }
.menu a { display: inline-flex; align-items: baseline; gap: .4em; text-decoration: none; font-size: clamp(36px, 6vw, 84px); font-weight: 700; line-height: 1.2; }
.menu a small { font-size: .28em; color: var(--muted); letter-spacing: .1em; }
.menu a:hover { color: var(--cyan); }

/* ---------------- 开篇（沿用 v4） ---------------- */
.hero { padding-top: clamp(130px, 15vw, 210px); }
.hero-top { display: grid; grid-template-columns: auto minmax(0, 440px); gap: 6vw; align-items: start; }
.hero .huge { white-space: nowrap; font-size: clamp(48px, 10vw, 168px); }
.hero-intro { font-size: clamp(18px, 1.9vw, 25px); line-height: 1.45; margin-top: .6em; }
.band { --bh: clamp(150px, 19vw, 320px); position: relative; height: var(--bh); margin: clamp(32px, 5vw, 72px) 0 0; overflow: hidden; }
.band i {
  position: absolute; display: block; background-repeat: no-repeat; top: 0; height: 100%; transform: scaleX(0);
  transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s);
}
.band i.L { border-radius: 999px 0 0 999px; transform-origin: right center; }
.band i.R { border-radius: 0 999px 999px 0; transform-origin: left center; }
.band.in i { transform: none; }
.need-line { font-size: 13px; color: var(--muted); margin: 10px auto 0; }
.hero .huge.right { margin-top: clamp(20px, 3vw, 44px); }

/* ---------------- 网格与字号系统 ----------------
   12 栏网格；字号只用以下几级：
   display-1（章节名）> mega（关键数字）> display-2（版块大标题）> title（小标题）> lede（导语）> 正文 18 > small 14 > caption 13
*/
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.c-1-1 { grid-column: 1 / 2; }
.c-1-2 { grid-column: 1 / 3; }
.c-1-3 { grid-column: 1 / 4; }
.c-1-4 { grid-column: 1 / 5; }
.c-1-5 { grid-column: 1 / 6; }
.c-1-6 { grid-column: 1 / 7; }
.c-1-7 { grid-column: 1 / 8; }
.c-1-8 { grid-column: 1 / 9; }
.c-1-9 { grid-column: 1 / 10; }
.c-1-10 { grid-column: 1 / 11; }
.c-1-11 { grid-column: 1 / 12; }
.c-1-12 { grid-column: 1 / 13; }
.c-2-2 { grid-column: 2 / 3; }
.c-2-3 { grid-column: 2 / 4; }
.c-2-4 { grid-column: 2 / 5; }
.c-2-5 { grid-column: 2 / 6; }
.c-2-6 { grid-column: 2 / 7; }
.c-2-7 { grid-column: 2 / 8; }
.c-2-8 { grid-column: 2 / 9; }
.c-2-9 { grid-column: 2 / 10; }
.c-2-10 { grid-column: 2 / 11; }
.c-2-11 { grid-column: 2 / 12; }
.c-2-12 { grid-column: 2 / 13; }
.c-3-3 { grid-column: 3 / 4; }
.c-3-4 { grid-column: 3 / 5; }
.c-3-5 { grid-column: 3 / 6; }
.c-3-6 { grid-column: 3 / 7; }
.c-3-7 { grid-column: 3 / 8; }
.c-3-8 { grid-column: 3 / 9; }
.c-3-9 { grid-column: 3 / 10; }
.c-3-10 { grid-column: 3 / 11; }
.c-3-11 { grid-column: 3 / 12; }
.c-3-12 { grid-column: 3 / 13; }
.c-4-4 { grid-column: 4 / 5; }
.c-4-5 { grid-column: 4 / 6; }
.c-4-6 { grid-column: 4 / 7; }
.c-4-7 { grid-column: 4 / 8; }
.c-4-8 { grid-column: 4 / 9; }
.c-4-9 { grid-column: 4 / 10; }
.c-4-10 { grid-column: 4 / 11; }
.c-4-11 { grid-column: 4 / 12; }
.c-4-12 { grid-column: 4 / 13; }
.c-5-5 { grid-column: 5 / 6; }
.c-5-6 { grid-column: 5 / 7; }
.c-5-7 { grid-column: 5 / 8; }
.c-5-8 { grid-column: 5 / 9; }
.c-5-9 { grid-column: 5 / 10; }
.c-5-10 { grid-column: 5 / 11; }
.c-5-11 { grid-column: 5 / 12; }
.c-5-12 { grid-column: 5 / 13; }
.c-6-6 { grid-column: 6 / 7; }
.c-6-7 { grid-column: 6 / 8; }
.c-6-8 { grid-column: 6 / 9; }
.c-6-9 { grid-column: 6 / 10; }
.c-6-10 { grid-column: 6 / 11; }
.c-6-11 { grid-column: 6 / 12; }
.c-6-12 { grid-column: 6 / 13; }
.c-7-7 { grid-column: 7 / 8; }
.c-7-8 { grid-column: 7 / 9; }
.c-7-9 { grid-column: 7 / 10; }
.c-7-10 { grid-column: 7 / 11; }
.c-7-11 { grid-column: 7 / 12; }
.c-7-12 { grid-column: 7 / 13; }
.c-8-8 { grid-column: 8 / 9; }
.c-8-9 { grid-column: 8 / 10; }
.c-8-10 { grid-column: 8 / 11; }
.c-8-11 { grid-column: 8 / 12; }
.c-8-12 { grid-column: 8 / 13; }
.c-9-9 { grid-column: 9 / 10; }
.c-9-10 { grid-column: 9 / 11; }
.c-9-11 { grid-column: 9 / 12; }
.c-9-12 { grid-column: 9 / 13; }
.c-10-10 { grid-column: 10 / 11; }
.c-10-11 { grid-column: 10 / 12; }
.c-10-12 { grid-column: 10 / 13; }
.c-11-11 { grid-column: 11 / 12; }
.c-11-12 { grid-column: 11 / 13; }
.c-12-12 { grid-column: 12 / 13; }

.display-1 { font-size: clamp(64px, 8.4vw, 136px); font-weight: 700; line-height: 1; letter-spacing: -.015em; }
.display-2 { font-size: clamp(40px, 4.6vw, 76px); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin-bottom: .45em; }
.mega { font-size: clamp(88px, 11vw, 184px); font-weight: 700; line-height: .92; letter-spacing: -.03em; color: var(--cyan); margin: 0 0 .2em; white-space: nowrap; }
.mega em { font-style: normal; font-size: .2em; letter-spacing: 0; color: var(--black); margin-left: .25em; }
.mega.accent { white-space: normal; }
.title { font-size: clamp(28px, 2.6vw, 42px); font-weight: 700; line-height: 1.2; margin-bottom: .8em; max-width: 16em; }
.lede { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.5; max-width: 26em; }
.lede.accent, .accent { color: var(--cyan); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin-bottom: 20px; }
.label { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; margin: 24px 0 10px; padding: 0; }
p { max-width: 34em; }
.align-end { align-self: end; }

/* ---------------- 一屏一件事 ---------------- */
.screen { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 72px; }
.screen > .wrap { width: 100%; }
.chapter.tint { background: var(--fog); }
.opener .ch-no { font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; padding-top: .7em; }
.opener .display-1 { margin-bottom: .35em; }
.opener .lede { grid-row: 2; }
.opener-pic { grid-row: 1 / span 2; align-self: center; }
.scar-pic { margin-top: 32px; max-width: 30em; }

/* 满屏照片 */
.screen.bleed { padding: 0; display: block; }
.bleed-pic { position: relative; height: 100vh; height: 100svh; }
.bleed-pic img { width: 100%; height: 100%; object-fit: cover; }
.bleed-pic figcaption { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; margin: 0; padding-top: 14px; padding-bottom: 16px; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.45)); }
.bleed-pic figcaption .cite { color: rgba(255,255,255,.8); }

/* 立场 */
.index ol { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; line-height: 1.9; }
.index a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; transition: color .2s; }
.index b { font-size: 14px; letter-spacing: .1em; color: var(--muted); width: 2em; flex: none; }
.index a:hover { color: var(--cyan); }
.index { align-self: end; }

/* 数字组 */
.stats { row-gap: 40px; margin: 56px 0; }
.stats b { display: block; font-size: clamp(48px, 5vw, 80px); line-height: 1; letter-spacing: -.01em; margin-bottom: 14px; color: var(--cyan); }
.stats b em { font-style: normal; font-size: .3em; margin-left: 6px; color: var(--black); letter-spacing: 0; }
.stats span { display: block; font-size: 15px; line-height: 1.55; max-width: 17em; }
.stats.stack { display: grid; gap: 48px; margin: 0; }
.stats.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 0; }
.stats.three b { font-size: clamp(34px, 3vw, 48px); color: var(--black); }
.stats .dim b { color: var(--grey); }
.after-stats { margin-top: 48px; }
.ridge-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: center; font-size: 15px; font-weight: 700; align-self: end; }
.ridge-compare svg { width: 100%; max-width: 120px; height: auto; margin: 0 auto 10px; display: block; }
.ridge-compare figcaption { grid-column: 1 / -1; text-align: left; font-weight: 400; }

/* 数据条 */
.bars-t { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.bar { display: grid; grid-template-columns: 9.5em 1fr 4.5em; gap: 14px; align-items: center; margin-bottom: 12px; font-size: 15px; }
.bar b { text-align: right; font-size: 20px; }
.track { height: 24px; background: var(--white); }
.fill { height: 100%; width: 0; background: var(--grey); transition: width 1.4s var(--ease) .2s; }
.bar.near .fill { background: var(--cyan); }
.bars .small { margin-top: 12px; }

/* 故事 */
.stories { row-gap: 48px; margin-top: 48px; }
.stories .no { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--cyan); margin-bottom: 14px; }
.stories h4 { font-size: clamp(28px, 2.4vw, 38px); margin-bottom: 4px; }
.stories .small { margin-bottom: 16px; }
.stories p { font-size: 16px; }

/* 距离标尺 */
.alert { display: flex; gap: 20px; align-items: baseline; }
.alert b { flex: none; font-size: 15px; background: var(--black); color: var(--white); padding: 4px 12px; }

/* 规矩 */
.rules { row-gap: 40px; margin: 40px 0 32px; counter-reset: r; }
.rules li { counter-increment: r; font-size: 17px; max-width: 20em; }
.rules li::before { content: "0" counter(r); display: block; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--cyan); margin-bottom: 12px; }
.rules b { display: block; font-size: clamp(24px, 2vw, 30px); margin-bottom: 10px; }

/* 清单 */
.checklist { margin: 40px 0 32px; }
.checklist h4 { font-size: clamp(26px, 2.2vw, 34px); margin-bottom: 18px; display: flex; align-items: baseline; gap: 12px; }
.checklist h4 span { font-size: 14px; letter-spacing: .1em; color: var(--muted); }
.checklist li { font-size: 16px; line-height: 1.55; padding: 7px 0 7px 22px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 12px; width: 7px; height: 14px; background: var(--cyan); border-radius: 0 14px 14px 0; }
.notice { background: var(--fog); padding: 20px 24px; font-size: 15px; margin-top: 32px; }
.notice b { display: block; margin-bottom: 6px; }

/* 引语 */
.quote { margin: 0 0 64px; }
.quote p { font-size: clamp(64px, 8.4vw, 136px); font-weight: 700; line-height: 1.04; letter-spacing: -.01em; margin: 0 0 20px; max-width: none; }
.quote footer { font-size: 14px; color: var(--muted); }

/* 承诺卡 */
.opts label { display: flex; gap: 14px; align-items: flex-start; padding: 4px 0; cursor: pointer; font-size: 17px; line-height: 1.5; }
.opts input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--cyan); flex: none; }
.opts input:checked + span { font-weight: 700; }
#p-name { width: 100%; max-width: 420px; border: 0; background: var(--white); padding: 14px 16px; font: inherit; font-size: 18px; outline: none; }
#p-name:focus { box-shadow: inset 0 0 0 2px var(--cyan); }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
#p-hint { margin-top: 12px; }
.preview { position: sticky; top: 120px; }
.preview canvas { display: block; width: 100%; max-width: 460px; height: auto; margin-left: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, .08); }

/* 页脚（浅色） */
footer.site { background: var(--white); padding: 120px 0 48px; }
.foot-line { font-size: clamp(26px, 2.4vw, 38px); font-weight: 700; line-height: 1.25; margin: 0; }
.foot-links { line-height: 2; font-size: 15px; font-weight: 700; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--cyan); }
.foot-legal { font-size: 13px; color: var(--muted); margin: 80px 0 0; max-width: none; }

/* 当前章节提示：滚动后显示在左上角，替代标志 */
.where { position: absolute; left: var(--pad); top: 40px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-decoration: none; opacity: 0; transition: opacity .3s; pointer-events: none; }
.nav.min:not(.open) .where.on { opacity: 1; pointer-events: auto; }


/* ---------------- 交互组件 ---------------- */
/* 可放大的图片 */
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.zoom:hover img { transform: scale(1.03); }
.zoom:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* 图集：横向翻页，可拖动、可滑动 */
.gallery { margin-top: 40px; outline: none; }
.g-track { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-right: 30vw; }
.g-track::-webkit-scrollbar { display: none; }
.g-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.g-track.dragging .zoom { pointer-events: none; }
.slide { flex: 0 0 clamp(320px, min(40vw, 68vh), 760px); scroll-snap-align: start; }
.slide .zoom { aspect-ratio: 3 / 2; overflow: hidden; background: var(--fog); }
.slide-cap { font-size: 15px; margin-top: 14px; max-width: 40em; }
.slide-cap b { font-size: 13px; letter-spacing: .06em; color: var(--muted); margin-right: 10px; }
.slide.wz .slide-cap b { background: var(--cyan); color: var(--black); }
.slide-cap span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.g-bar { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.g-count { font-size: 15px; font-weight: 700; letter-spacing: .06em; min-width: 5.5em; font-variant-numeric: tabular-nums; }
.g-dots { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.g-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.g-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grey); transition: background .2s, transform .2s; }
.g-dots button[aria-selected="true"]::after { background: var(--cyan); transform: scale(1.4); }
.g-dots button:hover::after { background: var(--black); }
.g-arrows { display: flex; gap: 8px; }
.arrow { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--black); cursor: pointer; display: grid; place-items: center; transition: background .2s, opacity .2s; }
.arrow svg { width: 12px; height: 20px; fill: none; stroke: var(--white); stroke-width: 3; }
.arrow:hover { background: var(--cyan); }
.arrow:disabled { opacity: .2; cursor: default; background: var(--black); }


/* 清单分页签 */
.tabs { display: flex; gap: 8px; margin-top: 36px; }
.tabs button { border: 0; background: var(--fog); padding: 12px 22px; font-size: 18px; font-weight: 700; cursor: pointer; display: flex; gap: 10px; align-items: baseline; transition: background .2s, color .2s; }
.tabs button span { font-size: 13px; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--black); color: var(--white); }
.tabs button[aria-selected="true"] span { color: var(--cyan); }
.tabs button:hover:not([aria-selected="true"]) { background: var(--grey); }
.checklist.tabbed > div { display: block; }
.checklist.tabbed > div:not(.on) { display: none; }
.checklist.tabbed h4 { display: none; }
.checklist.tabbed li { font-size: 20px; padding: 10px 0 10px 26px; }
.checklist.tabbed li::before { top: 18px; }

/* 右侧翻页点 */
.pager { position: fixed; right: calc(var(--pad) / 2 - 8px); top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 2px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.pager.on { opacity: 1; pointer-events: auto; }
.pager button { position: relative; width: 22px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.pager button::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grey); transition: transform .2s, background .2s; }
.pager button.ch::after { width: 10px; height: 10px; }
.pager button.on::after { background: var(--cyan); transform: scale(1.5); }
.pager button:hover::after { background: var(--black); }
.pager button span { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 13px; font-weight: 700; background: var(--white); padding: 2px 8px; opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.pager button:hover span, .pager button:focus-visible span { opacity: 1; }

/* 大图浏览 */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(236, 240, 244, .97); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 40px 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); margin: 0 auto; object-fit: contain; }
.lightbox figcaption { margin: 14px auto 0; color: var(--black); }
.lb-close { position: absolute; top: 20px; right: 24px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--black); color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: var(--cyan); }
.lb-prev, .lb-next { justify-self: center; }


/* ---------------- 距离示意：船、鲸、刻度 ---------------- */
.ruler { --water: 78px; --tick: 30px; display: flex; margin: 40px 0 0; user-select: none; }
.r-track { position: relative; flex: 1; height: 230px; touch-action: none; }
.r-track::before, .r-end::before { content: ""; position: absolute; left: 0; right: 0; bottom: var(--tick); height: var(--water); background: #EAF2F6; box-shadow: inset 0 2px 0 #9FC6D6; }
.r-zone { position: absolute; bottom: var(--tick); height: var(--water); }
.r-zone.slow { background: #BFE6F1; box-shadow: inset 0 2px 0 #7FCBE0; }
.r-zone.stop { background: var(--cyan); box-shadow: inset 0 2px 0 #0090B3; }
.r-mark { position: absolute; top: 0; bottom: var(--tick); border-left: 2px solid var(--black); padding-left: 12px; pointer-events: none; }
.r-mark b { display: block; font-size: clamp(26px, 2.4vw, 40px); line-height: 1; margin-bottom: 8px; }
.r-mark span { display: block; font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.r-gap { position: absolute; bottom: calc(var(--tick) + var(--water) / 2); height: 0; border-top: 2px dashed rgba(0, 0, 0, .55); right: -8px; pointer-events: none; transition: left .2s var(--ease); }
.r-boat { position: absolute; bottom: calc(var(--tick) + var(--water) - 12px); width: 92px; margin-left: -46px; cursor: grab; outline: none; transition: left .2s var(--ease); z-index: 2; }
.r-boat svg { display: block; width: 100%; height: auto; fill: var(--black); }
.r-boat:focus-visible svg { filter: drop-shadow(0 0 0 var(--cyan)) drop-shadow(0 0 3px var(--cyan)); }
.r-tag { position: absolute; left: 50%; bottom: 100%; margin-bottom: 10px; transform: translateX(-50%); background: var(--black); color: var(--white); font-size: 15px; font-weight: 700; padding: 3px 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-tag::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--black); }
.r-track.dragging .r-boat, .r-track.dragging .r-gap { transition: none; }
.r-track.dragging .r-boat { cursor: grabbing; }
.r-ticks { position: absolute; left: 0; right: 0; bottom: 0; height: var(--tick); border-top: 1px solid var(--black); }
.r-ticks li { position: absolute; top: 7px; transform: translateX(-50%); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.r-ticks li:first-child { transform: none; }
.r-ticks li::before { content: ""; position: absolute; left: 50%; top: -7px; width: 1px; height: 7px; background: var(--black); }
.r-ticks li:first-child::before { left: 0; }
.r-end { position: relative; flex: none; width: 190px; }
.r-whale { fill: #0A3442 !important; position: absolute; left: 0; bottom: calc(var(--tick) + var(--water) - 44px); width: 180px; height: auto; fill: var(--black); }
.r-boat.near svg { fill: #C8102E; }
.r-boat.near .r-tag { background: #C8102E; }
.r-boat.near .r-tag::after { border-top-color: #C8102E; }
.r-hint { font-size: 14px; color: var(--muted); margin: 14px 0 28px; max-width: none; }
.dist-out { display: grid; gap: 6px; margin-bottom: 36px; min-height: 64px; }
.dist-out span:first-child { font-size: clamp(20px, 1.7vw, 26px); font-weight: 700; }

/* ---------------- 章节封面变体与配图 ---------------- */
.opener-pic.wide { grid-row: 1 / span 2; }
.opener-wide .one-line { white-space: nowrap; margin-bottom: 0; }
.ow-pic { margin: clamp(28px, 4vh, 48px) 0 clamp(24px, 3vh, 36px); }
.ow-pic .ph { aspect-ratio: auto; height: 58vh; }
.ow-cap h2 { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.6; margin: 0; letter-spacing: .01em; }
.ow-cap p { margin: 0; }
.opener-wide .ch-no { padding-top: 0; }
.story-pic { margin-bottom: 18px; }
.stories { margin-top: 32px; }
.boat-pic { margin-top: 32px; }
.check-pic { align-self: center; position: relative; }
.check-pic .ph { display: none; }
.check-pic .ph.on { display: block; }
.check-pic figcaption { font-size: 14px; color: var(--black); font-weight: 700; }

/* ---------------- 关于页 ---------------- */
.narrow { max-width: 980px; }
.page-head { padding: clamp(150px, 16vw, 220px) 0 clamp(40px, 5vw, 72px); }
.page-head h1 { font-size: clamp(48px, 8vw, 120px); line-height: 1.02; margin-bottom: 20px; }
.block { padding: 32px 0 44px; }
.block h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 18px; }
.block h3 small { display: block; font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; font-size: 13px; margin-top: 20px; }
.swatches i { display: block; aspect-ratio: 1; border-radius: 50%; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.refs { padding-left: 1.6em; font-size: 14px; list-style: decimal; }
.refs li { margin-bottom: 10px; }
.refs li:target { background: var(--fog); }
.about-foot { padding: 40px var(--pad); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }

/* ---------------- 响应式（论文展示以桌面为主，窄屏只保证可读） ---------------- */
@media (max-width: 1000px) {
  .nav-list { display: none; }
  .menu-btn { opacity: 1; transform: none; pointer-events: auto !important; }
  .nav.min:not(.open) .brand { opacity: 0; pointer-events: none; }
  .hero-top { grid-template-columns: 1fr; gap: 20px; }
  .row > [class*="c-"] { grid-column: 1 / -1; }
  .row { row-gap: 32px; }
  .stats.three { grid-template-columns: 1fr 1fr 1fr; }
  .screen { min-height: 0; padding: 110px 0 80px; }
  .bleed-pic { height: 70vh; }
  .preview { position: static; }
  .preview canvas { margin: 0; }
  .mega { white-space: normal; }
  .pager { display: none; }
  .slide { flex-basis: 82vw; }
  .g-dots { display: none; }
  .checklist.tabbed > div { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .band i { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fill { transition: none; }
}

/* ---------------- v9：封面大图、规矩、靠近方式、标尺配色 ---------------- */
.display-lite { font-size: clamp(44px, 4.6vw, 76px); font-weight: 500; line-height: 1.08; letter-spacing: -.005em; margin: 18px 0 28px; }
.opener-photo .op-text { align-self: center; }
.opener-photo .op-text .ch-no { padding-top: 0; }
.opener-photo .op-pic { grid-row: 1; }
.opener-photo .op-pic .ph { max-height: 74vh; }

.rules2 { counter-reset: none; margin: 24px 0 20px; }
.rules2 li { display: grid; grid-template-columns: 7rem 14rem 1fr; align-items: baseline; gap: 24px; padding: 10px 0; }
.rules2 li + li { box-shadow: 0 -1px 0 var(--fog); }
.rules2 .n { font-size: clamp(36px, 3.4vw, 56px); font-weight: 700; color: var(--cyan); line-height: 1; letter-spacing: -.02em; }
.rules2 b { font-size: clamp(22px, 1.9vw, 30px); }
.rules2 p { margin: 0; font-size: 17px; max-width: 32em; }

.approach2 { margin-top: 28px; row-gap: 24px; }
.ap svg { display: block; width: 100%; height: auto; max-height: 30vh; }
.ap .sea { fill: #EEF4F7; }
.ap .whale path { fill: #0A3442; }
.ap .boat path { fill: var(--black); }
.ap .boat .deck { fill: #fff; }
.ap .boat .wake { fill: none; stroke: #9FB9C6; stroke-width: 1.5; }
.ap .course { fill: none; stroke: #0A3442; stroke-width: 1.5; stroke-dasharray: 2 6; opacity: .45; }
.ap .escape { fill: none; stroke: #0A3442; stroke-width: 2; stroke-dasharray: 6 5; }
.ap .good-path { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 9 7; }
.ap .bad-path { fill: none; stroke: #C8102E; stroke-width: 3; stroke-dasharray: 9 7; }
.ap .bracket { fill: none; stroke: var(--black); stroke-width: 1.5; }
.ap text { font-size: 13px; font-family: var(--font); fill: var(--muted); }
.ap text.lbl { font-weight: 700; fill: var(--black); }
.ap figcaption { display: flex; gap: 20px; align-items: baseline; margin-top: 16px; color: var(--black); max-width: none; }
.ap .pct { font-size: clamp(40px, 3.8vw, 64px); line-height: 1; letter-spacing: -.02em; flex: none; }
.ap.good .pct { color: var(--cyan); }
.ap.bad .pct { color: #C8102E; }
.ap .pct em { font-style: normal; font-size: .36em; margin-left: 4px; color: var(--black); }
.ap figcaption span { font-size: 15px; line-height: 1.5; }
.ap figcaption strong { display: block; font-size: 18px; }
.also { margin: 28px 0 8px; }
.also p { font-size: 15px; }
.also b { display: block; font-size: 18px; margin-bottom: 6px; }
.r-boat.slow .r-tag { background: #0090B3; }
.r-boat.slow .r-tag::after { border-top-color: #0090B3; }
.r-mark { border-left-color: #0A3442; }
.r-mark b { color: #0A3442; }
.r-gap { border-top-color: #0A3442; opacity: .6; }

/* ---------------- v10：层级整理 ---------------- */
/* 1. 立场屏：目录缩小，和大标题拉开对比 */
.index ol { font-size: 17px; line-height: 2.1; font-weight: 700; }
.index b { font-size: 12px; }
.index .eyebrow { margin-bottom: 10px; }

/* 2. 观鲸热：结论一句话 + 三个数字同一基线 */
.boom { margin: 48px 0 40px; align-items: end; }
.boom b { display: block; font-size: clamp(56px, 5.6vw, 92px); line-height: 1; letter-spacing: -.02em; color: var(--black); }
.boom .main b { font-size: clamp(96px, 11vw, 180px); color: var(--cyan); }
.boom b em { font-style: normal; font-size: 18px; letter-spacing: 0; margin-left: 8px; color: var(--black); font-weight: 700; }
.boom span { display: block; font-size: 15px; margin-top: 12px; }

/* 3. 伤痕：左边结论与原因，右边两个数字 */
.causes { display: flex; gap: 10px; margin-top: 8px; }
.causes li { background: var(--black); color: var(--white); font-weight: 700; font-size: 16px; padding: 6px 14px; }
.injury { align-self: center; }
.range2 { display: flex; align-items: flex-start; gap: 28px; margin-top: 16px; }
.range2 b { display: block; font-size: clamp(80px, 8vw, 136px); line-height: .95; letter-spacing: -.03em; color: var(--cyan); }
.range2 b em { font-style: normal; font-size: .3em; margin-left: 4px; color: var(--black); }
.range2 span { display: block; font-size: 15px; margin-top: 12px; }
.range2 i { font-style: normal; font-size: clamp(48px, 5vw, 80px); line-height: 1.3; color: var(--grey); }

/* 4. 怎样靠近：数字在图上方，补充三点降级 */
.ap figcaption { margin: 0 0 14px; }
.ap svg { max-height: 28vh; }
.approach2 { margin-top: 32px; }
.also { margin: 28px 0 0; row-gap: 4px; }
.also-h { margin-bottom: 6px; }
.also p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.also b { font-size: 16px; color: var(--black); margin-bottom: 2px; }

/* =========================================================
   v11 首屏：参考 The Ocean Agency 首页——大字分行、行间嵌图、logo 融入、滚动时黑色圆弧升起
   ========================================================= */
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: auto; fill: currentColor; flex: none; }
.brand-txt { display: flex; flex-direction: column; font-size: 20px; line-height: .92; }
.foot-brand { flex-direction: row; align-items: center; gap: 12px; }
.foot-brand .brand-mark { width: 48px; }
.nav.on-dark .brand, .nav.on-dark .nav-list a, .nav.on-dark .where { color: var(--white); }
.nav.on-dark .nav-list .cta a { background: var(--white); color: var(--black); }
.nav.on-dark .menu-btn { background: var(--white); }
.nav.on-dark .menu-btn svg { stroke: var(--black); }

.hero2 { --H: min(15.5vw, 18vh); --T: max(150px, 17vh); --pad: clamp(20px, 4vw, 64px); position: relative; height: 190vh; }
.h2-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--white); }
.h2-rows { margin: 0; font-weight: 700; }
.h2-row { position: absolute; left: var(--pad); right: 0; height: var(--H); display: block; box-shadow: inset 0 -1px 0 #E6E6E6; }
.h2-row.r1 { top: var(--T); }
.h2-row.r2 { top: calc(var(--T) + var(--H)); }
.h2-row.r3 { top: calc(var(--T) + var(--H) * 2); }
.h2-row.r4 { top: calc(var(--T) + var(--H) * 3); box-shadow: none; }
.h2-row .w { position: absolute; bottom: 0; display: block; overflow: hidden; padding-bottom: .08em; font-size: calc(var(--H) * .84); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.h2-row .w span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.h2-row.r1 .w { left: 0; }
.h2-row.r2 .w { left: calc(var(--H) + 4vw); }
.h2-row.r3 .w { left: 7vw; }
.h2-row.r4 .w { right: var(--pad); }
.h2-row.r2 .w span { transition-delay: .12s; }
.h2-row.r3 .w span { transition-delay: .24s; }
.h2-row.r4 .w span { transition-delay: .36s; }
.hero2.ready .h2-row .w span { transform: none; }

.hp { position: absolute; margin: 0; overflow: hidden; will-change: transform; }
.hp img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease) .35s; }
.hero2.ready .hp img { clip-path: inset(0 0 0 0); }
.hp1 { left: 57vw; top: 0; width: calc(var(--H) * 1.05); height: calc(var(--T) + var(--H)); }
.hp2 { left: var(--pad); top: calc(var(--T) + var(--H)); width: var(--H); height: var(--H); }
.hp2 img { transition-delay: .5s; }
.hp3 { right: calc(var(--H) * -.2); top: calc(var(--T) + var(--H)); width: var(--H); height: calc(var(--H) * 2); border-radius: 0 999px 999px 0; }
.hp3 img { transition-delay: .65s; }
.hp-logo { left: 36vw; top: calc(var(--T) + var(--H) * 2 + var(--H) * .06); height: calc(var(--H) * .88); aspect-ratio: 640 / 620; overflow: visible; }
.ripple { display: block; width: 100%; height: 100%; fill: var(--black); }
.ripple path { transform-box: fill-box; transform-origin: center; transform: scaleX(0); transition: transform .9s var(--ease); transition-delay: calc(.55s + var(--i) * .07s); }
.hero2.ready .ripple path { transform: none; }

.h2-sub { position: absolute; left: var(--pad); top: calc(var(--T) + var(--H) * 3 + var(--H) * .22); margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; max-width: 20em; opacity: 0; transition: opacity .8s .9s; }
.h2-sub span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.h2-scroll { position: absolute; left: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-decoration: none; opacity: 0; transition: opacity .8s 1.1s; }
.h2-scroll .wave { width: 64px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.hero2.ready .h2-sub, .hero2.ready .h2-scroll { opacity: 1; }
.h2-scroll .wave path { stroke-dasharray: 80; animation: wave-run 2.4s linear infinite; }
@keyframes wave-run { to { stroke-dashoffset: -160; } }

/* 滚动时从底部升起的黑色圆弧，盖住首屏后接上黑色的下一屏 */
.h2-dome { position: absolute; left: 50%; top: 100%; width: 170vw; height: 170vw; margin-left: -85vw; border-radius: 50%; background: var(--black); will-change: transform; }

/* 立场屏改为黑底 */
.screen.dark { background: var(--black); color: var(--white); }
.screen.dark .eyebrow { color: #8A8A8A; }
.screen.dark .index b { color: #8A8A8A; }
.screen.dark .index a:hover { color: var(--cyan); }

@media (max-width: 800px) {
  .hero2 { --H: 19vw; --T: 130px; }
  .hp1 { left: 62vw; }
  .h2-sub { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .h2-row .w span, .hp img, .ripple path { transform: none !important; clip-path: none !important; transition: none !important; }
  .h2-sub, .h2-scroll { opacity: 1 !important; }
}

/* =========================================================
   v12 首屏：按 The Ocean Agency 首页的版式与交互重做，窗口形状取自 logo 的波纹带
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.h3-locked, html.h3-locked body { overflow: hidden; }
.hero3 { --i: 80px; --g: 320px; position: relative; height: 100vh; min-height: calc(var(--g) + var(--i) * 6 + 40px); overflow: hidden; background: var(--white); }
.h3-shade { position: absolute; inset: 0; z-index: 1; background: var(--black); clip-path: inset(0 0 0 100%); }
.h3-win { position: absolute; inset: 0; z-index: 2; clip-path: path('M0,0Z'); }
.h3-win img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.h3-win img.on { opacity: 1; }
.h3-lines { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.h3-lines i { position: absolute; left: 0; height: 1px; width: 0; background: rgba(128, 128, 128, .38); transition: width 1.6s var(--ease); }
.h3-lines i:nth-child(1) { top: var(--g); transition-delay: .35s; }
.h3-lines i:nth-child(2) { top: calc(var(--g) + var(--i) * 2); transition-delay: .5s; }
.h3-lines i:nth-child(3) { top: calc(var(--g) + var(--i) * 4); transition-delay: .65s; }
.hero3.ready .h3-lines i { width: 100%; }
.h3-title { position: absolute; inset: 0; z-index: 3; color: var(--black); pointer-events: none; }
.h3-copy { z-index: 4; color: var(--white); clip-path: inset(0 0 0 100%); }
.h3-row { position: absolute; left: 0; right: 0; height: calc(var(--i) * 2); display: block; will-change: transform; }
.h3-row.r1 { top: 0; height: var(--g); }
.h3-row.r2 { top: var(--g); }
.h3-row.r3 { top: calc(var(--g) + var(--i) * 2); }
.h3-row.r4 { top: calc(var(--g) + var(--i) * 4); }
.h3-row .w { position: absolute; bottom: calc(var(--i) * -.06); display: block; overflow: hidden; font-size: calc(var(--i) * 2); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.h3-row .w > span { display: block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero3.ready .h3-row .w > span { transform: none; }
.h3-row.r1 .w { left: calc(var(--i) * .55); }
.h3-row.r2 .w { left: calc(var(--i) * 4.7); }
.h3-row.r3 .w { left: calc(var(--i) * 1.6); }
.h3-row.r4 .w { right: calc(var(--i) * .6); }
.h3-row.r1 .w > span { transition-delay: .3s; }
.h3-row.r2 .w > span { transition-delay: .38s; }
.h3-row.r3 .w > span { transition-delay: .46s; }
.h3-row.r4 .w > span { transition-delay: .54s; }
.h3-meta { position: absolute; left: calc(var(--i) * .55); margin: 0; opacity: 0; transition: opacity .8s 1.2s; }
.hero3.ready .h3-meta { opacity: 1; }
.h3-sub { top: calc(var(--g) + var(--i) * 4.35); font-size: 17px; font-weight: 700; line-height: 1.5; max-width: 22em; }
.h3-sub span { display: block; font-size: 13px; font-weight: 400; opacity: .6; }
.h3-scroll { bottom: 26px; display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: inherit; pointer-events: auto; }
.h3-scroll .wave { width: 64px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.h3-scroll .wave path { stroke-dasharray: 80; animation: wave-run 2.4s linear infinite; }
/* 首屏锁定期间导航与反色混合，和参考网站一样在黑白两种底上都清晰 */
.nav.blend { mix-blend-mode: difference; }
.nav.blend .brand, .nav.blend .nav-list a { color: var(--white); }
.nav.blend .nav-list .cta a { background: var(--white); color: var(--black); }
@media (max-width: 899px) {
  .h3-copy, .h3-shade { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .h3-row .w > span, .h3-lines i { transform: none !important; width: 100% !important; transition: none !important; }
  .h3-meta { opacity: 1 !important; }
}

/* v13 首屏细节 */
.h3-lines i { background: rgba(140, 140, 140, .3); }
.h3-row .w { letter-spacing: -.022em; }
.h3-sub { top: auto; bottom: calc(100vh - var(--g) - var(--i) * 6 - var(--i) * .1); }
.hero3 .h3-sub { top: calc(var(--g) + var(--i) * 4.42); bottom: auto; font-size: 16px; }
.h3-scroll { bottom: max(22px, calc(100vh - var(--g) - var(--i) * 6 - 46px)); }

/* v14：logo 的使用——标题里的字形 + 照片窗口；推进黑幕时七层波纹拉开 */
.h3-wins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.h3-wins .h3-win { position: absolute; inset: auto; overflow: hidden; clip-path: path('M0,0Z'); }
.h3-wins .h3-win img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.h3-wins .h3-win img.on { opacity: 1; }
.h3-glyph { position: absolute; left: calc(var(--i) * 7.7); top: calc(var(--i) * .07); height: calc(var(--i) * 1.86); aspect-ratio: 640 / 620; }
.h3-glyph svg { display: block; width: 100%; height: 100%; overflow: visible; fill: currentColor; }
.h3-glyph path { transform-box: fill-box; transform-origin: center; scale: 0 1; translate: 0 calc((var(--b) - 3) * var(--sp, 0px)); transition: scale 1s var(--ease); transition-delay: calc(.7s + var(--b) * .06s); }
.hero3.ready .h3-glyph path { scale: 1 1; animation: h3-ripple 5s ease-in-out calc(2.4s + var(--b) * .12s) infinite; }
@keyframes h3-ripple { 0%, 72%, 100% { scale: 1 1; } 84% { scale: 1.08 1; } }
@media (prefers-reduced-motion: reduce) { .h3-glyph path { scale: 1 1 !important; animation: none !important; } }
.hero3.ready .h3-sub { opacity: var(--fade, 1); transition: opacity .3s; }

/* v15：版式对齐参考网站——文字起点、细线起点 */
.h3-row.r1 .w { left: calc(var(--i) * .5); }
.h3-row.r2 .w { left: calc(var(--i) * 4.6); }
.h3-row.r3 .w { left: calc(var(--i) * 1.5); }
.h3-row.r4 .w { right: calc(var(--i) * .68); }
.h3-lines i { left: calc(var(--i) * .5); }
.hero3.ready .h3-lines i { width: calc(100% - var(--i) * .5); }
.hero3 .h3-sub { top: calc(var(--g) + var(--i) * 4.3); }

/* v16：首屏改为滚动驱动——外层留出滚动距离，内层粘在屏幕上 */
.hero3 { height: 190vh; min-height: 0; overflow: visible; background: var(--white); }
.h3-stage { position: sticky; top: 0; height: 100vh; min-height: calc(var(--g) + var(--i) * 6 + 40px); overflow: hidden; }

/* v17：首屏加长，留出"淡出回白色"的滚动距离 */
.hero3 { height: 300vh; }
.h3-stage { transition: none; }

/* v18：首屏结尾的淡出分两步——先内容、后黑底；内容同时轻轻上移 */
.h3-wins, .h3-lines, .h3-title { opacity: var(--co, 1); translate: 0 var(--lift, 0px); }
.h3-shade { opacity: var(--bo, 1); }

/* v18：收紧略超一屏的两屏 */
.stories { margin-top: 20px; }
.stories .story-pic { margin-bottom: 14px; }
#pledge .display-2 { font-size: clamp(36px, 3.6vw, 60px); margin-bottom: .35em; }
#pledge .label { margin: 18px 0 8px; }

/* v20：首屏擦满后直接进入下一屏，不做额外过渡 */
.hero3 { height: 190vh; }
.h3-wins, .h3-lines, .h3-title { opacity: 1; translate: none; }
.h3-shade { opacity: 1; }

/* v21：距离标尺——当前区段高亮、船的动态与航迹、鲸的喷气与回避 */
.ruler { --water: 72px; padding-left: 96px; }
.r-track::before { left: -96px; background: #EEF4F7; box-shadow: none; }
.r-end::before { background: #EEF4F7; box-shadow: none; }
.r-zone { box-shadow: none !important; transition: background .5s ease; }
.r-zone.slow { background: #DCF0F6; }
.r-zone.stop { background: #B5E4EF; }
.ruler.is-slow .r-zone.slow { background: #A8DDEB; }
.ruler.is-stop .r-zone.stop, .ruler.is-near .r-zone.stop { background: var(--cyan); }
.r-mark { border-left: 1px solid #0A3442; opacity: .32; transition: opacity .4s ease; }
.ruler.is-far .r-mark.m300, .ruler.is-slow .r-mark.m300, .ruler.is-stop .r-mark.m100, .ruler.is-near .r-mark.m100 { opacity: 1; }
.r-gap { border-top: 1px dashed #0A3442; opacity: .5; right: 0; }
.r-boat { width: 88px; margin-left: -86px; bottom: calc(var(--tick) + var(--water) - 15px); transition: left .3s var(--ease); }
.r-boat svg:not(.r-wake) { transition: fill .3s; }
.r-hull { position: relative; display: block; transform-origin: 60% 90%; animation: r-bob 2.8s ease-in-out infinite; }
@keyframes r-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(2px) rotate(-1.2deg); } }
.r-boat .r-tag { transition: background .3s; }
.r-wake { position: absolute; right: 96%; bottom: 1px; width: 130px; height: 14px; fill: none !important; stroke: #0A3442; stroke-width: 1.4; stroke-dasharray: 9 7; opacity: .4; transform-origin: right center; transition: transform .6s var(--ease), opacity .4s; animation: r-wake .5s linear infinite; }
@keyframes r-wake { to { stroke-dashoffset: -16; } }
.ruler.is-slow .r-wake { transform: scaleX(.38); animation-duration: 1.4s; }
.ruler.is-stop .r-wake { transform: scaleX(0); opacity: 0; }
.ruler.is-near .r-wake { transform: scaleX(.3); animation-duration: 1.4s; }
.ruler.is-stop .r-hull { animation-duration: 4s; }
.r-track.dragging .r-boat, .r-track.dragging .r-gap, .ruler.demo .r-boat, .ruler.demo .r-gap { transition: none; }
.r-end { width: 200px; }
.r-whalebox { position: absolute; left: 4px; bottom: calc(var(--tick) + var(--water) - 44px); width: 184px; transition: transform 1.4s var(--ease), opacity 1.4s ease; }
.r-whalebox .r-whale { position: static; display: block; width: 100%; animation: r-swim 4.2s ease-in-out infinite; transform-origin: 50% 60%; }
.r-whale .gr { fill: none; stroke: #fff; stroke-width: 1; opacity: .35; }
@keyframes r-swim { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(.8deg); } }
.r-spout { position: absolute; left: 34px; bottom: 36px; width: 2px; height: 36px; pointer-events: none; }
.r-spout b { position: absolute; left: 0; bottom: 0; width: 2px; height: 100%; border-radius: 2px; background: linear-gradient(transparent, #9FC6D6); transform-origin: 50% 100%; opacity: 0; animation: r-blow 5.5s ease-out infinite; }
@keyframes r-blow { 0%, 62% { opacity: 0; transform: rotate(var(--a)) scaleY(.1); } 68% { opacity: 1; } 84% { opacity: 0; transform: rotate(var(--a)) scaleY(1); } 100% { opacity: 0; transform: rotate(var(--a)) scaleY(1); } }
/* 船进入 100 米内：鲸下潜回避 */
.ruler.is-near .r-whalebox { transform: translate(34px, 30px) rotate(9deg); opacity: .22; }
.ruler.is-near .r-spout b { animation: none; opacity: 0; }

/* v21：靠近方式示意——动态演示 */
.ap .good-path { stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; opacity: .9; }
.ap .bad-path { stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; opacity: .55; }
.ap .escape { stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .55; }
.ap .course { stroke-linecap: round; }
.ap .boat .wake { stroke-dasharray: 4 3; animation: ap-wake .6s linear infinite; }
@keyframes ap-wake { to { stroke-dashoffset: 7; } }
.ap .ring { fill: none; stroke: #C8102E; stroke-width: 1.5; }
.ap text.esc { font-weight: 700; fill: #0A3442; }
@media (prefers-reduced-motion: reduce) {
  .r-hull, .r-wake, .r-whalebox .r-whale, .r-spout b, .ap .boat .wake { animation: none !important; }
}
.ruler { overflow: hidden; }
.r-track { height: 262px; }
.r-wake { width: 110px; }

/* v22：全站动效——子元素依次进入、照片揭开、数字滚动、示意图描线 */
.reveal { opacity: 1; transform: none; transition: none; }
.reveal > * { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--k, 0) * 90ms); }
.reveal.in > * { opacity: 1; transform: none; }
/* 照片：从下往上揭开，同时轻微缩回 */
.reveal .ph { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: calc(var(--k, 0) * 90ms + .1s); }
.reveal.in .ph { clip-path: inset(0 0 0 0); }
.reveal .ph img { scale: 1.14; transition: scale 1.8s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--k, 0) * 90ms + .1s), 0s; }
.reveal.in .ph img { scale: 1; }
.op-pic .ph img, .ow-pic .ph img { scale: 1.2; }
.reveal.in .op-pic .ph img, .reveal.in .ow-pic .ph img { scale: 1.1; }
/* 清单配图：切换分页签时从右往左揭开 */
.check-pic .ph.on { animation: pic-wipe .8s var(--ease); }
@keyframes pic-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
/* 数字 */
.num { font-variant-numeric: tabular-nums; }
/* 头部俯视示意：三条脊依次描出，喷气孔呼吸 */
.ridge-compare svg path[stroke] { stroke-dasharray: 170; stroke-dashoffset: 170; transition: stroke-dashoffset 1.2s var(--ease) .5s; }
.ridge-compare svg path[stroke]:nth-of-type(3) { transition-delay: .75s; }
.ridge-compare svg path[stroke]:nth-of-type(4) { transition-delay: 1s; }
.ridge-compare.in svg path[stroke] { stroke-dashoffset: 0; }
.ridge-compare div:first-child ellipse { transform-box: fill-box; transform-origin: center; animation: blowhole 3s ease-in-out 2s infinite; }
@keyframes blowhole { 0%, 100% { scale: 1; } 50% { scale: 1.5 1.25; } }
/* 数据条 */
.bar .fill { transition: width 1.8s var(--ease) .5s; }
/* 区间的连线 */
.range2 i { display: inline-block; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) 1.2s; }
.injury.in .range2 i { transform: scaleX(1); }

/* v22：距离标尺循环演示 */
.ruler { padding-left: 150px; }
.r-track::before { left: -150px; }
.r-wake { width: 100px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.r-boat { transition: left .3s var(--ease), opacity .5s ease; }
.ruler.demo .r-boat { transition: opacity .5s ease; }
.ruler.resetting .r-boat, .ruler.resetting .r-gap { opacity: 0; }
.r-gap { transition: opacity .5s ease; }
.ruler.demo .r-gap { transition: opacity .5s ease; }

@media (prefers-reduced-motion: reduce) {
  .reveal > *, .reveal .ph, .reveal .ph img { opacity: 1 !important; transform: none !important; clip-path: none !important; scale: 1 !important; transition: none !important; }
  .ridge-compare svg path[stroke] { stroke-dashoffset: 0 !important; transition: none !important; }
  .range2 i { transform: none !important; }
  .check-pic .ph.on, .ridge-compare ellipse { animation: none !important; }
}


/* v24：菜单按钮浅灰；菜单页 = 左侧章节照片 + 右侧目录 */
.menu-btn { background: #E1E6EA; }
.menu-btn svg { stroke: var(--black); }
.menu-btn:hover { background: #D3DADF; }
.menu-btn:focus { outline: none; }
.menu-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.nav.open .menu-btn { background: #E1E6EA; }
.nav.on-dark .menu-btn { background: rgba(255, 255, 255, .88); }
.nav.open .brand, .nav.open .where { opacity: 0 !important; pointer-events: none !important; }

.menu { display: grid; grid-template-columns: 5fr 7fr; padding: 0; align-items: stretch; background: var(--white);
  clip-path: none; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s; }
.menu.open { clip-path: none; visibility: visible; opacity: 1; transition: opacity .35s ease; }
/* 左：照片 */
.m-pic { position: relative; overflow: hidden; background: #0A3442; clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease) .05s; }
.menu.open .m-pic { clip-path: inset(0 0 0 0); }
.m-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.06; transition: opacity .6s ease, scale 1.2s var(--ease); }
.m-pic img.on { opacity: 1; scale: 1; }
.m-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.38), transparent 30%, transparent 62%, rgba(0,0,0,.5)); pointer-events: none; }
.m-brand { position: absolute; z-index: 1; left: var(--pad); top: 34px; display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
.m-mark { width: 44px; height: auto; fill: var(--white); flex: none; }
.m-brand span { display: grid; font-size: 13px; letter-spacing: .04em; line-height: 1.45; opacity: .85; }
.m-brand b { font-size: 17px; letter-spacing: .1em; opacity: 1; }
.m-motto { position: absolute; z-index: 1; left: var(--pad); bottom: 44px; margin: 0; color: var(--white); font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.3; max-width: none; }
/* 右：目录 */
.m-main { display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad) 56px clamp(40px, 6vw, 112px); }
.m-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.menu ol.m-list { margin: 0; padding: 0; list-style: none; text-align: left; margin-left: 0; }
.menu .m-list a { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; padding: 16px 0; font-size: 18px; line-height: 1; text-decoration: none; transition: opacity .3s; }
.menu .m-list small { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--muted); transition: color .3s; }
.m-list span { font-size: clamp(32px, 3.4vw, 54px); font-weight: 600; letter-spacing: -.01em; transition: transform .45s var(--ease); }
.m-list em { font-style: normal; font-size: 14px; color: var(--muted); text-align: right; padding-left: 24px; white-space: nowrap; }
.menu .m-list a:hover { color: var(--black); }
.m-list:hover a { opacity: .3; }
.m-list:hover a:hover { opacity: 1; }
.m-list a:hover span { transform: translateX(12px); }
.menu .m-list a:hover small, .menu .m-list a[aria-current] small { color: var(--cyan); }
.m-list a[aria-current] em::before { content: "正在阅读 · "; color: var(--cyan); font-weight: 700; }
.m-more { display: flex; align-items: center; gap: 32px; margin-top: 48px; padding-left: 56px; }
.menu .m-more a { font-size: 14px; line-height: 1; }
.menu .m-more .btn { padding: 16px 24px; }
.menu .m-more .btn:hover { color: var(--white); }
.m-about { font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.menu .m-about:hover { color: var(--cyan); }
/* 打开时依次进入 */
.m-eyebrow, .m-list li, .m-more { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .7s var(--ease); }
.m-list li, .m-more { transition-delay: calc(.25s + var(--k, 0) * 60ms); }
.m-eyebrow { transition-delay: .2s; }
.menu.open .m-eyebrow, .menu.open .m-list li, .menu.open .m-more { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .menu { grid-template-columns: 1fr; }
  .m-pic { display: none; }
  .m-list em { display: none; }
}
@media (prefers-reduced-motion: reduce) { .m-pic, .m-pic img, .m-eyebrow, .m-list li, .m-more, .m-list span { transition: none; } }
/* 菜单左上角品牌：标志与文字垂直居中对齐 */
.menu .m-brand { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 400; line-height: 1; }
.menu .m-brand:hover { color: var(--white); }
.menu .m-brand span { line-height: 1.45; }

/* v25：网站标志换成新横版（定制字形） */
.brand-lockup { display: block; height: 30px; width: auto; fill: currentColor; flex: none; }
.foot-brand .brand-lockup { height: 40px; }
.menu .m-brand .brand-lockup { height: 34px; color: var(--white); }

/* v26：全站字体 */
:root { --font: "SS Num", "SS Latin", "SS CJK", "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }

/* v27：「爱是克制」引语改细——常规字重、悬挂引号、关键句加重一级 */
.quote { margin: 0 0 72px; }
.quote p { position: relative; font-size: clamp(60px, 7.4vw, 124px); font-weight: 400; line-height: 1.14; letter-spacing: .02em; margin: 0 0 28px; }
.q-mark { color: var(--cyan); font-weight: 400; }
.quote p > .q-mark:first-child { position: absolute; right: 100%; top: 0; margin-right: .04em; }
.q-end { margin-left: -.1em; }
.quote footer { font-size: 15px; color: var(--muted); letter-spacing: .02em; }
.q-key { font-size: clamp(24px, 2vw, 32px); font-weight: 500; line-height: 1.45; margin: 0; }

/* v27：最后一屏（页脚）用品牌青色 */
footer.site { background: var(--cyan); color: var(--black); }
footer.site .foot-legal { color: rgba(0, 0, 0, .68); }
footer.site .foot-links a:hover { color: var(--white); }

/* v28：手机端（≤640px）修正 */
@media (max-width: 640px) {
  /* 首屏：构图在竖屏里垂直居中，导航不做反色混合，菜单按钮保持浅灰 */
  .hero3 { --oy: max(0px, calc((100vh - var(--i) * 10.6) / 2 - var(--i) * .4)); }
  .h3-wins, .h3-lines, .h3-title { translate: 0 var(--oy); }
  .nav.blend { mix-blend-mode: normal; }
  .nav.blend .brand, .nav.blend .nav-list a { color: var(--black); }

  /* 距离标尺：收紧尺寸，只保留距离数字，说明文字放在标尺下方的读数里 */
  .ruler { padding-left: 40px; --water: 56px; --tick: 28px; }
  .r-track { height: 200px; }
  .r-track::before { left: -40px; }
  .r-end { width: 84px; }
  .r-whalebox { width: 80px; bottom: calc(var(--tick) + var(--water) - 20px); }
  .r-spout { left: 14px; bottom: 16px; height: 20px; }
  .r-boat { width: 54px; margin-left: -52px; bottom: calc(var(--tick) + var(--water) - 10px); }
  .r-wake { width: 56px; }
  .r-tag { font-size: 13px; padding: 2px 8px; }
  .r-mark { padding-left: 8px; }
  .r-mark b { font-size: 18px; margin-bottom: 0; white-space: nowrap; }
  .r-mark span { display: none; }
  .r-ticks li:nth-child(2), .r-ticks li:nth-child(4) { display: none; }
  .r-ticks li { font-size: 12px; }

  /* 清单分页签：不折行 */
  .tabs button { white-space: nowrap; padding: 12px 12px; font-size: 16px; gap: 6px; flex: 1; justify-content: center; }

  /* 「退到 300 m 外」提示：上下排列 */
  .alert { flex-direction: column; gap: 12px; }

  /* 引语：引号不再悬挂，避免贴边被裁 */
  .quote p > .q-mark:first-child { position: static; margin-right: 0; }

  /* 菜单 */
  .menu .m-list a { grid-template-columns: 44px 1fr; }
  .m-more { padding-left: 44px; flex-wrap: wrap; gap: 20px; }
  .m-about { white-space: nowrap; }
}
