/* 钰海科技官网 V1 · 「Executive Tech」
   系统中文字体栈，无外部字体/外部资源。70% 明亮 / 30% 深色。 */
:root {
  --navy: #0b1f3a;
  --navy-2: #12294a;
  --navy-3: #1b3a63;
  --ink: #1b2430;      /* 石墨黑灰：正文 */
  --muted: #5b6573;
  --ivory: #faf8f3;    /* 暖白/象牙白 */
  --paper: #ffffff;
  --sand: #f2efe7;
  --line: #e4dfd2;
  --line-dark: rgba(160, 182, 205, .22);   /* 深色区描边：低饱和蓝灰 */
  --silver: #9db0c4;   /* 冷银（降饱和） */
  /* 色调专项优化 2026-10-13：深色区由“近黑”改为深海军蓝 */
  --dk-top: #142b4c; --dk-bot: #0f2340; --dk-glow: #24497a;
  --dk-card: #1b3558; --dk-card-2: #18345a;
  --tx-on-dark: #f4f6f8; --tx-lead: #c3cedb; --tx-body: #b9c4d1; --tx-sub: #a9b6c5;
  --cyan: #4f9bb8;     /* 极少量青蓝点缀 */
  --r: 14px;
  --w: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--ivory); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 243, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; color: var(--navy); letter-spacing: .04em; font-size: 19px; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { padding: 8px 14px; border-radius: 9px; font-size: 15px; color: #33404f; }
.nav a:hover { background: var(--sand); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; background: var(--sand); }
.nav .ghost { margin-left: 8px; border: 1px solid #c9c3b4; color: var(--navy); font-size: 14px; }
.nav .ghost:hover { border-color: var(--navy); background: transparent; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: var(--navy); content: ""; position: relative; margin: 0 auto; transition: transform .2s; }
.menu-btn span::before { position: absolute; top: -7px; left: 0; }
.menu-btn span::after { position: absolute; top: 7px; left: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 11px; font-size: 16px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { background: #eef3f7; }
.btn-line { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn-line:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-outline { border-color: #c9c3b4; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }
.arrow::after { content: "→"; font-weight: 400; }

/* ---------- hero (dark) ---------- */
.hero { background: radial-gradient(1100px 520px at 78% 18%, var(--dk-glow) 0%, rgba(36, 73, 122, 0) 62%), linear-gradient(180deg, var(--dk-top) 0%, var(--dk-bot) 100%); color: var(--tx-on-dark); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.eyebrow { font-size: 14px; letter-spacing: .22em; color: var(--silver); margin-bottom: 20px; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.18; font-weight: 700; letter-spacing: .01em; }
.hero .sub { margin-top: 24px; font-size: 18px; color: var(--tx-lead); max-width: 36em; }
.hero .meta { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero .meta span { font-size: 14px; color: var(--tx-lead); padding: 5px 13px; border: 1px solid var(--line-dark); border-radius: 999px; letter-spacing: .06em; }
.hero .actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.flow { width: 100%; max-width: 520px; justify-self: end; }
.flow .dash { stroke-dasharray: 5 7; animation: dash 14s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -240; } }

/* ---------- sections ---------- */
section { padding: 108px 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.kicker { font-size: 13px; letter-spacing: .24em; color: var(--cyan); font-weight: 600; margin-bottom: 14px; text-transform: none; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.3; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.lead { margin-top: 18px; color: var(--muted); font-size: 18px; }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px 32px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #b9b19c; transform: translateY(-2px); }
.card .ico { width: 44px; height: 44px; color: var(--navy); margin-bottom: 22px; }
.card h3 { font-size: 20px; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--muted); line-height: 1.8; }

/* capabilities */
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.cap { padding: 38px 36px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap:nth-child(2n) { border-right: 0; }
.cap:nth-last-child(-n+2) { border-bottom: 0; }
.cap .no { font-size: 13px; letter-spacing: .2em; color: var(--cyan); font-weight: 600; }
.cap h3 { margin: 10px 0 10px; font-size: 22px; color: var(--navy); }
.cap p { color: var(--muted); font-size: 16px; }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 12.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; color: var(--navy-3); background: #eef2f6; border: 1px solid #dbe3ec; border-radius: 7px; padding: 7px 10px; }
.chip.dark { color: #d3dce6; background: rgba(255, 255, 255, .05); border-color: var(--line-dark); }

/* case feature card (dark) */
.case-big { background: linear-gradient(160deg, var(--dk-top) 0%, var(--dk-card-2) 100%); color: var(--tx-on-dark); border-radius: 20px; display: grid; grid-template-columns: 1fr 1.08fr; overflow: hidden; }
.case-big .txt { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.case-big .tag { color: var(--silver); font-size: 13px; letter-spacing: .22em; }
.case-big h3 { font-size: clamp(25px, 2.8vw, 34px); line-height: 1.35; margin: 14px 0 6px; font-weight: 700; }
.case-big .strap { color: var(--tx-lead); font-size: 18px; margin-bottom: 18px; }
.case-big p.desc { color: var(--tx-body); font-size: 16px; }
.case-big .chips { margin: 24px 0 30px; }
.case-big .shot { padding: 40px 40px 0 0; display: flex; align-items: flex-end; }
.shot-frame { border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; border: 1px solid var(--line-dark); border-bottom: 0; box-shadow: 0 -10px 40px rgba(8, 20, 40, .22); width: 100%; }
.shot-frame .bar { height: 30px; background: #eef1f4; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #dfe3e8; }
.shot-frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd5dc; }
.shot-frame img { width: 100%; }

/* problem -> solution -> value */
.psv { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.psv .col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; }
.psv .col.mid { background: var(--dk-card); border-color: var(--dk-card); color: var(--tx-on-dark); }
.psv .col h3 { font-size: 13px; letter-spacing: .22em; color: var(--cyan); margin-bottom: 14px; font-weight: 600; }
.psv .col.mid h3 { color: var(--silver); }
.psv .col p { font-size: 17px; line-height: 1.85; }
.psv .col.mid p { color: var(--tx-lead); }
.psv .sep { align-self: center; color: #b9b19c; font-size: 26px; }
.thumbs { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.thumb { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.thumb img { width: 100%; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.thumb figcaption { padding: 14px 18px 16px; font-size: 14.5px; color: var(--muted); }
.thumb figcaption b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 2px; }
.thumbs figure { margin: 0; }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* collaboration */
.duo { display: grid; grid-template-columns: 1fr 168px 1fr; align-items: stretch; }
.site { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 38px 36px; }
.site .city { font-size: 13px; letter-spacing: .22em; color: var(--cyan); font-weight: 600; }
.site h3 { font-size: 26px; color: var(--navy); margin: 8px 0 18px; }
.site ul { list-style: none; margin: 0; padding: 0; }
.site li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.site li:first-child { border-top: 0; }
.link-mid { white-space: nowrap; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy-3); font-size: 13px; letter-spacing: .12em; text-align: center; }
.link-mid svg { width: 100%; max-width: 100px; }
.pullquote { margin-top: 44px; text-align: center; font-size: clamp(19px, 2.2vw, 24px); color: var(--navy); font-weight: 600; line-height: 1.6; }

/* closing + footer (dark) */
.close { background: linear-gradient(180deg, var(--dk-top), var(--dk-bot)); color: var(--tx-on-dark); padding: 96px 0 0; }
.close h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; font-weight: 700; }
.close .about { margin-top: 22px; color: var(--tx-body); max-width: 44em; font-size: 17px; line-height: 1.95; }
.facts { margin-top: 44px; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 0; border-top: 1px solid var(--line-dark); }
.facts div { padding: 22px 24px 22px 0; }
.facts dt { font-size: 13px; letter-spacing: .16em; color: var(--silver); }
.facts dd { margin: 6px 0 0; font-size: 17px; color: var(--tx-on-dark); }
.facts a { border-bottom: 1px solid rgba(244, 246, 248, .35); }
.foot { margin-top: 70px; border-top: 1px solid var(--line-dark); padding: 30px 0 38px; font-size: 14px; color: var(--tx-sub); }
.foot .row { display: flex; gap: 20px 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.foot .links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a:hover { color: var(--tx-on-dark); }
.beian { margin-top: 18px; display: flex; gap: 8px 26px; flex-wrap: wrap; align-items: center; }
.beian a { display: inline-flex; align-items: center; gap: 6px; }
.beian img { width: 18px; height: 20px; }
.foot .entity { margin-top: 14px; font-size: 13px; color: #8fa0b3; }

/* case page */
.crumb { font-size: 14px; color: var(--silver); margin-bottom: 22px; }
.crumb a:hover { color: #fff; }
.case-hero .wrap { grid-template-columns: 1fr; padding-top: 84px; padding-bottom: 88px; }
.case-hero h1 { font-size: clamp(32px, 4.4vw, 54px); max-width: 17em; }
.stack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: stretch; }
.stack .node { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px 16px; text-align: center; position: relative; }
.stack .node b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.stack .node span { font-size: 14px; color: var(--muted); line-height: 1.6; display: block; }
.stack .node:not(:last-child)::after { content: "›"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: #b9b19c; font-size: 22px; z-index: 2; background: var(--ivory); line-height: 1; }
.alt .stack .node:not(:last-child)::after { background: var(--paper); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ai-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.ai-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.ai-card .b { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.ai-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.ai-card p { font-size: 15.5px; color: var(--muted); }
.ai-card .btn { margin-top: auto; align-self: flex-start; }
.ai-card p + .btn { margin-top: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.phone { width: 270px; margin: 0 auto; background: var(--dk-card); padding: 10px; border-radius: 34px; box-shadow: 0 24px 60px rgba(20, 43, 76, .20); }
.phone img { border-radius: 25px; width: 100%; }
.list { list-style: none; margin: 22px 0 0; padding: 0; }
.list li { padding: 13px 0 13px 28px; border-top: 1px solid var(--line); position: relative; font-size: 16.5px; }
.list li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 9px; height: 9px; border-radius: 2px; background: var(--cyan); }
.disclaimer { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; font-size: 15px; color: #475262; line-height: 1.85; }
.exp { background: linear-gradient(180deg, var(--dk-top), var(--dk-bot)); color: var(--tx-on-dark); border-radius: 20px; padding: 56px 52px; }
.exp .h2 { color: var(--tx-on-dark); }
.exp .lead { color: var(--tx-body); }
.exp .three { margin-top: 36px; }
.exp .xcard { border: 1px solid var(--line-dark); border-radius: var(--r); padding: 26px 24px; background: var(--dk-card); display: flex; flex-direction: column; gap: 16px; }
.exp .xcard h3 { font-size: 19px; }
.exp .xcard p { font-size: 15px; color: var(--tx-body); }
.exp .xcard .btn { align-self: flex-start; margin-top: auto; }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .flow .dash { animation: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 70px; padding-bottom: 76px; }
  .flow { justify-self: start; max-width: 460px; }
  .case-big { grid-template-columns: 1fr; }
  .case-big .shot { padding: 0 32px; }
  .psv { grid-template-columns: 1fr; }
  .psv .sep { transform: rotate(90deg); justify-self: center; }
  .stack { grid-template-columns: 1fr 1fr; }
  .stack .node:not(:last-child)::after { display: none; }
  .three, .thumbs { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 2px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 16.5px; }
  .nav .ghost { margin: 8px 0 0; text-align: center; }
  .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .grid4 { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .cap { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 30px 24px; }
  .cap:last-child { border-bottom: 0 !important; }
  .case-big .txt { padding: 36px 26px; }
  .case-big .shot { padding: 0 18px; }
  .duo { grid-template-columns: 1fr; gap: 14px; }
  .link-mid { flex-direction: row; gap: 12px; padding: 4px 0; }
  .link-mid svg { width: 60px; transform: rotate(90deg); }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .stack { grid-template-columns: 1fr; }
  .exp { padding: 38px 24px; border-radius: 16px; }
  .hero .actions .btn { flex: 1 1 100%; justify-content: center; }
  .foot .row { flex-direction: column; align-items: flex-start; }
  .site { padding: 30px 26px; }
  .close { padding-top: 72px; }
}
.m-br { display: none; }
@media (max-width: 700px) { .m-br { display: inline; } }
/* typography polish */
.h2, .case-big h3, .hero h1, .close h2, .pullquote { text-wrap: balance; }
.sec-head { max-width: 880px; }
.chip.dark, .case-big .chip { font-family: var(--font); font-weight: 500; font-size: 13.5px; letter-spacing: .02em; }
.nb { white-space: nowrap; }

/* ===================================================================
   移动端专项优化（2026-10-13）— 同一套代码/内容/URL，仅 ≤860/≤700/≤430 生效；桌面不受影响
   =================================================================== */
picture { display: block; }
.swipe-hint { display: none; }
/* 注意：不再对 html/body 设置 overflow:hidden 做滚动锁——iOS Safari/WebKit 下它会让 sticky 头部回到文档顶部、滚动位置被重置，菜单落到视口外（2026-10-14 BUG）。滚动锁改由 JS 拦截 touchmove/wheel。 */

@media (hover: none) {
  .card:hover { transform: none; border-color: var(--line); }
  .btn:hover { transform: none; }
}

@media (max-width: 860px) {
  .hdr .wrap { height: 60px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .brand { min-height: 48px; }
  .menu-btn { width: 48px; height: 48px; margin-right: -8px; }
  .nav { top: 60px; max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 18px 30px rgba(11, 31, 58, .12); padding: 8px max(20px, env(safe-area-inset-left)) 20px; }
  .nav a { min-height: 52px; display: flex; align-items: center; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
  .nav a[aria-current="page"] { background: transparent; color: var(--navy); box-shadow: inset 3px 0 0 var(--cyan); padding-left: 12px; }
  .nav .ghost { margin: 14px 0 0; border: 1px solid #c9c3b4; border-radius: 12px; justify-content: center; min-height: 52px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; line-height: 1.75; }
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  section { padding: 56px 0; }
  .sec-head { margin-bottom: 26px; }
  .kicker { font-size: 12px; margin-bottom: 10px; }
  .h2 { font-size: clamp(25px, 7vw, 30px); line-height: 1.38; }
  .lead { font-size: 16px; margin-top: 12px; }
  .btn { min-height: 52px; padding: 14px 22px; justify-content: center; }

  /* Hero：首屏 = 标题 + 一句话 + 两个按钮，示意图放在其后 */
  .hero .wrap { padding-top: 40px; padding-bottom: 48px; gap: 30px; }
  .eyebrow { font-size: 12px; letter-spacing: .2em; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(31px, 8.4vw, 38px); line-height: 1.26; letter-spacing: 0; }
  .hero .sub { font-size: 16px; line-height: 1.8; margin-top: 16px; }
  .hero .meta { margin-top: 18px; gap: 8px; }
  .hero .meta span { font-size: 13px; padding: 4px 11px; }
  .hero .actions { margin-top: 26px; flex-direction: column; gap: 12px; }
  .hero .actions .btn { width: 100%; flex: none; }
  .flow { max-width: 360px; width: 100%; justify-self: center; }

  /* 能力卡：单列紧凑（图标在左） */
  .grid4 { gap: 12px; }
  .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start; padding: 20px 18px; }
  .card .ico { grid-row: 1 / span 2; width: 36px; height: 36px; margin: 2px 0 0; }
  .card h3 { font-size: 18.5px; margin: 0 0 4px; }
  .card p { font-size: 15px; line-height: 1.75; }
  .cap { padding: 24px 20px 26px; }
  .cap h3 { font-size: 20px; margin: 6px 0 8px; }
  .cap p { font-size: 15px; }
  .chips { margin-top: 14px; }
  .chip { font-size: 13px; padding: 7px 10px; }

  /* RenewHK 案例大卡：文字在前，真实手机界面在后（不再缩小桌面截图） */
  .case-big { border-radius: 18px; }
  .case-big .txt { padding: 28px 22px 24px; }
  .case-big h3 { font-size: 23px; line-height: 1.4; margin-top: 10px; }
  .case-big .strap { font-size: 16px; margin-bottom: 12px; }
  .case-big p.desc { font-size: 15px; }
  .case-big .chips { margin: 18px 0 22px; }
  .case-big .btn { width: 100%; }
  .case-big .shot { padding: 0 22px; justify-content: center; }
  .shot-frame { max-width: 300px; margin: 0 auto; border-radius: 22px 22px 0 0; border: 6px solid #0f2340; border-bottom: 0; background: #fff; }
  .shot-frame .bar { display: none; }
  .shot-frame img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top center; height: auto; }

  /* 问题→方案→价值 */
  .psv { gap: 10px; }
  .psv .col { padding: 22px 20px; }
  .psv .col p { font-size: 16px; line-height: 1.8; }
  .psv .sep { font-size: 20px; line-height: 1; }
  .thumbs { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 26px calc(-1 * max(20px, env(safe-area-inset-left))) 0; padding: 2px max(20px, env(safe-area-inset-left)) 8px; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 76%; max-width: 300px; scroll-snap-align: start; }
  .thumb img { aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top center; }
  .swipe-hint { display: block; margin-top: 4px; text-align: center; font-size: 13px; color: var(--muted); }
  .note { font-size: 13px; }

  /* 从技术能力到真实业务场景：上下结构，顺序 钰海科技 → 关系 → RenewHK */
  .duo { gap: 10px; }
  .site { padding: 24px 22px; }
  .site h3 { font-size: 22px; margin: 6px 0 12px; }
  .site li { font-size: 16px; padding: 9px 0; }
  .link-mid { flex-direction: row; justify-content: center; gap: 12px; padding: 6px 0; }
  .link-mid svg { width: 48px; max-width: 48px; transform: rotate(90deg); }
  .pullquote { margin-top: 28px; font-size: 18px; line-height: 1.75; text-align: left; }
  .pullquote .m-br { display: none; }

  /* 关于钰海 + Footer */
  .close { padding-top: 56px; }
  .close h2 { font-size: clamp(26px, 7.4vw, 31px); line-height: 1.38; }
  .close .about { margin-top: 18px; max-width: none; font-size: 16px; line-height: 1.95; }
  .close .about .ps { display: block; margin-top: 14px; }
  .close .about .ps:first-child { margin-top: 0; color: var(--tx-lead); }
  .facts { margin-top: 32px; }
  .facts div { padding: 16px 0; }
  .facts dd { font-size: 16px; line-height: 1.6; }
  .facts a { display: inline-block; padding: 8px 0 6px; }
  .foot { margin-top: 28px; padding: 20px 0 max(28px, env(safe-area-inset-bottom)); }
  .foot .links { gap: 0 18px; }
  .foot .links a, .beian a { min-height: 44px; display: inline-flex; align-items: center; }
  .beian { margin-top: 4px; flex-direction: column; align-items: flex-start; gap: 0; }
  .beian a { font-size: 14px; }
  .foot .row > span { order: 2; margin-top: 4px; }

  /* 案例页 */
  .case-hero .wrap { padding-top: 40px; padding-bottom: 48px; }
  .case-hero h1 { font-size: clamp(28px, 7.6vw, 34px); }
  .crumb { margin-bottom: 14px; }
  .crumb a { display: inline-block; padding: 10px 2px; }
  .split { gap: 28px; }
  .list li { font-size: 16px; padding: 12px 0 12px 26px; }
  .list li::before { top: 22px; }
  .stack { gap: 10px; }
  .stack .node { padding: 16px 16px; text-align: left; }
  .three { gap: 14px; }
  .ai-card img { aspect-ratio: 4 / 3; object-position: top center; }
  .ai-card .b { padding: 18px 18px 22px; }
  .ai-card h3 { font-size: 18.5px; }
  .phone { width: 230px; }
  .assess-img { width: 100%; max-width: 360px; margin: 0 auto; }
  .exp { padding: 30px 20px; }
  .exp .three { margin-top: 24px; }
  .exp .xcard { padding: 20px 18px; }
  .exp .xcard .btn { width: 100%; align-self: stretch; }
  .disclaimer { font-size: 14px; padding: 18px 18px; }
}

@media (max-width: 380px) {
  .brand span { font-size: 18px; }
  .hero h1 { font-size: 30px; }
  .card { grid-template-columns: 34px 1fr; column-gap: 14px; }
  .thumb { flex-basis: 82%; }
}
@media (max-width: 860px) {
}
@media (max-width: 700px) {
  .pullquote { text-wrap: pretty; }
}
/* 平板/大屏手机横屏（701–860）：页脚/面包屑触控区也要够大 */
@media (max-width: 860px) {
  .foot .links a, .beian a { min-height: 44px; display: inline-flex; align-items: center; }
  .foot .links { gap: 0 20px; }
  .facts a { display: inline-block; padding: 8px 0 6px; }
  .crumb a { display: inline-block; padding: 10px 2px; }
}
@media (max-width: 700px) {
  /* 横滑行中的卡片不依赖滚动进入动画，否则屏外卡片会保持隐藏 */
  .thumb.rv { opacity: 1; transform: none; }
}

/* ===== 修复：滚动后汉堡菜单卡死（iOS Safari / WebKit）— 2026-10-14 =====
   头部在手机宽度改为 fixed（不依赖 sticky 与滚动容器），菜单面板为视口 fixed，
   且头部不再使用 backdrop-filter（它会让后代 fixed 以头部为包含块）。 */
@media (max-width: 860px) {
  html { scroll-padding-top: 68px; }
  body { padding-top: 60px; }
  .hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { position: fixed; top: 60px; left: 0; right: 0; bottom: auto; max-height: calc(100% - 60px); }
  html.nav-open .hdr::after { content: ""; position: fixed; left: 0; right: 0; top: 60px; bottom: 0; background: rgba(11, 31, 58, .42); z-index: -1; }
}
