/* Longbase 隆本共創 — longbase.org
   每個「面」(surface) 都定義自己的 --bg；hairline 圖形的 --hairline-plate 讀最近的 --bg，所以底板永遠和段落同色。 */

:root {
  color-scheme: light dark;
  --sky-50: #f4faff;
  --sky-100: #dff1ff;
  --sky-200: #c4e4fb;
  --sky-300: #a9d8ff;
  --white: #ffffff;
  --ink: #0d2a4a;
  --muted: #33506e;
  --line: #9cc2e3;
  --accent: #e8673a;
  --accent-ink: #a63c0e;
  --accent-soft: #ffe3d4;
  --deep: #0d2a4a;
  --deep-ink: #eaf5ff;
  --deep-muted: #b9d3ec;
  --deep-accent: #ffa47a;
  --fig-hi: #0d2a4a;
  --fig-edge: #4f7192;
  --fig-mid: #86abcd;
  --fig-lo: #bcd6ee;
  --shadow: 0 18px 50px -24px #0d2a4a40;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky-50: #081a2e;
    --sky-100: #0b2440;
    --sky-200: #12355a;
    --sky-300: #1d4d7d;
    --white: #10304f;
    --ink: #e6f2ff;
    --muted: #b3cbe3;
    --line: #2f5b85;
    --accent: #ff8a5c;
    --accent-ink: #ffab85;
    --accent-soft: #3a1f14;
    --deep: #040f1d;
    --deep-ink: #eaf5ff;
    --deep-muted: #b3cbe3;
    --deep-accent: #ffab85;
    --fig-hi: #e6f2ff;
    --fig-edge: #8eb0d2;
    --fig-mid: #46709a;
    --fig-lo: #23466b;
    --shadow: 0 18px 50px -24px #000000a0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--font); font-size: 17px; line-height: 1.75;
  color: var(--ink); background: var(--sky-50);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--sky-50); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── surfaces ───────────────────────────────────────── */
.surface { --bg: var(--sky-100); background: var(--bg); position: relative; }
.surface--paper { --bg: var(--sky-50); }
.surface--card { --bg: var(--white); background: var(--bg); }
.surface--accent { --bg: var(--accent-soft); background: var(--bg); }
.surface--deep { --bg: var(--deep); --ink: var(--deep-ink); --muted: var(--deep-muted); --accent-ink: var(--deep-accent); color: var(--ink); }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--accent-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.18; letter-spacing: -.01em; margin-top: 10px; }
.h2-en, .en { color: var(--muted); font-size: .92em; line-height: 1.6; }
.h2-en { margin-top: 8px; font-size: 18px; }
.en { margin-top: 6px; }

/* ── capsule nav（pin 10 膠囊） ───────────────────── */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) var(--gutter) 12px;
  transition: background .3s, box-shadow .3s;
}
html:not(.js) .top, .top.is-scrolled { background: color-mix(in srgb, var(--sky-50) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand__mark { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.brand__mark .brand__root { stroke: var(--accent); }
.brand__name { font-weight: 800; font-size: 18px; letter-spacing: -.01em; line-height: 1.1; display: flex; flex-direction: column; }
.brand__zh { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.capsule {
  position: relative; display: flex; gap: 2px; padding: 4px;
  border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--white) 78%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.capsule a { position: relative; z-index: 1; padding: 7px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; transition: color .25s; }
.capsule a[aria-current="true"] { color: var(--sky-50); }
.capsule__glow { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); opacity: 0; transition: transform .45s var(--spring), width .45s var(--spring), opacity .25s; }
.capsule__glow.is-on { opacity: 1; }
@media (hover: hover) { .capsule a:not([aria-current="true"]):hover { background: var(--sky-200); } }

/* ── pills & buttons ───────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.pill--status { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.pill--soft { background: var(--accent-soft); color: var(--accent-ink); padding: 3px 10px; font-size: 13px; letter-spacing: 0; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); }
html.js .pill__dot { animation: beacon 2.4s ease-out infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 9px transparent; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; text-align: center; transition: transform .3s var(--spring), background .25s, color .25s, box-shadow .25s; }
.btn--solid { background: var(--ink); color: var(--sky-50); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--mail { background: var(--deep-accent); color: #10233a; font-size: clamp(17px, 3.4vw, 24px); padding: 16px 30px; margin-top: 28px; overflow-wrap: anywhere; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .btn--line:hover { background: var(--ink); color: var(--sky-50); }
}

/* ── hairline host ─────────────────────────────────── */
.hl {
  position: relative; aspect-ratio: 5 / 4; width: 100%;
  --hairline-plate: var(--bg);
  --hairline-hi: var(--fig-hi);
  --hairline-edge: var(--fig-edge);
  --hairline-mid: var(--fig-mid);
  --hairline-lo: var(--fig-lo);
  --hairline-stroke: 1;
}
.hl > noscript img, .hl > img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── hero：大字模糊（pin 05）＋等角場景（pin 06） ───── */
.hero { overflow: clip; padding: calc(92px + env(safe-area-inset-top)) 0 clamp(48px, 7vw, 96px); min-height: min(100svh, 980px); display: flex; align-items: center; }
.hero__ghost {
  position: absolute; inset: auto 0 -3.2vw; z-index: 0; pointer-events: none;
  display: flex; justify-content: center; gap: 0;
  font-size: clamp(64px, 16.5vw, 300px); font-weight: 900; line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.2px var(--line);
}
.hero__inner { position: relative; z-index: 1; width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy { min-width: 0; }
.hero__title { margin-top: 22px; font-size: clamp(38px, 6.1vw, 92px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.hero__title .line { display: block; }
.hero__title .line + .line { color: var(--accent-ink); }
.hero__brand { margin-top: 14px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; }
.hero__lead { margin-top: 14px; max-width: 34em; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); }
.hero__en { margin-top: 10px; color: var(--muted); font-size: 16px; }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.scene { position: relative; min-width: 0; padding: 6% 4%; }
.scene .hl { z-index: 1; }
.scene__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.scene__rings i { grid-area: 1 / 1; border-radius: 50%; border: 1px solid var(--line); aspect-ratio: 1; opacity: .7; }
.scene__rings i:nth-child(1) { width: 104%; opacity: .35; }
.scene__rings i:nth-child(2) { width: 78%; opacity: .55; }
.scene__rings i:nth-child(3) { width: 52%; opacity: .8; }
.scene__tag { position: absolute; z-index: 2; font-size: clamp(15px, 1.7vw, 22px); font-weight: 700; color: var(--ink); background: var(--bg); padding: 2px 8px; border-radius: 8px; }
.scene__tag--a { left: 2%; top: 8%; }
.scene__tag--b { right: 2%; bottom: 14%; }
.toast {
  position: absolute; z-index: 3; left: 0; bottom: -2%;
  display: grid; gap: 0 10px; grid-template-columns: auto auto; align-items: baseline;
  padding: 12px 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.toast__k { font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.toast__v { font-size: 18px; font-weight: 800; }
.toast__en { grid-column: 1 / -1; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ── 共同理念：逐句模糊→清楚（pin 05）＋膠囊（pin 10） ── */
.idea { padding: clamp(80px, 12vw, 160px) 0; }
.idea__big { margin-top: 18px; font-size: clamp(36px, 6.4vw, 96px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; max-width: 14em; }
.idea__big span { display: inline; }
.idea__big span:nth-child(4) { color: var(--accent-ink); }
.idea__en { margin-top: 20px; font-size: clamp(18px, 2vw, 24px); color: var(--muted); font-weight: 600; }
.idea__note { margin-top: 14px; max-width: 40em; color: var(--muted); }
.chips { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid var(--ink); background: var(--bg); }
.chips li:nth-child(3n+2) { background: var(--sky-200); border-color: transparent; }
.chips li:nth-child(3n) { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
html.js .chips li { animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.8s); }
@keyframes bob { 50% { transform: translateY(-5px); } }

/* ── 主線：數字＋線條流程（pin 21） ───────────────── */
.path { padding: clamp(80px, 11vw, 150px) 0; }
.flow { position: relative; margin-top: clamp(40px, 6vw, 72px); display: grid; gap: clamp(40px, 6vw, 80px); --no: 92px; }
.flow__line { position: absolute; left: calc(var(--no) / 2 - 1px); top: 10px; bottom: 60px; width: 2px; background: var(--line); border-radius: 2px; }
.flow__line span { position: absolute; inset: 0; background: var(--accent); border-radius: 2px; transform-origin: top; transform: scaleY(var(--flow, 1)); }
html.js .flow__line span { transform: scaleY(var(--flow, 0)); }
.step { position: relative; display: grid; grid-template-columns: var(--no) minmax(0, 1fr) minmax(0, 1.05fr); gap: 0 clamp(20px, 3.4vw, 48px); align-items: center; }
.step__no { align-self: start; display: flex; justify-content: center; }
.step__no span {
  display: grid; place-items: center; width: 64px; height: 108px; border-radius: 999px;
  border: 1.5px solid var(--accent); background: var(--bg); color: var(--accent-ink);
  font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.step__title { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; }
.step__body p:not(.en) { margin-top: 10px; color: var(--muted); }
.step__fig { min-width: 0; }
.step__cap { margin-top: 4px; font-size: 14px; color: var(--muted); text-align: center; }
.step__fig--fork { display: grid; place-items: center; }
.fork { width: min(320px, 100%); fill: none; stroke-width: 2; stroke-linecap: round; }
.fork__main { stroke: var(--line); }
.fork__branch { stroke: var(--accent); stroke-dasharray: 260; stroke-dashoffset: 0; }
.fork circle { fill: var(--bg); stroke: var(--accent); }
.fork text { fill: var(--muted); stroke: none; font: 700 13px var(--font); }
.fork .fork__lab { fill: var(--accent-ink); }
html.js .step--fork .fork__branch { stroke-dashoffset: 260; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
html.js .step--fork.is-in .fork__branch { stroke-dashoffset: 0; }
.goal { margin-top: clamp(48px, 7vw, 96px); padding: 22px 28px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); font-size: clamp(22px, 3vw, 36px); font-weight: 800; line-height: 1.35; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.goal__k { font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--sky-50); background: var(--accent-ink); padding: 4px 12px; border-radius: 999px; align-self: center; }
.goal .en { flex-basis: 100%; margin: 0; font-size: 16px; font-weight: 600; }
.goal { --bg: var(--white); }

/* 外框膠囊逐一出現（pin 21）：數字膠囊由下往上長出、內容模糊進場 */
html.js .step .step__no span { transform: scaleY(.2); opacity: 0; transition: transform .7s var(--spring), opacity .4s; transform-origin: top; }
html.js .step .step__body, html.js .step .step__fig { opacity: 0; filter: blur(10px); transform: translateY(18px); transition: opacity .7s var(--ease) .15s, filter .7s var(--ease) .15s, transform .7s var(--ease) .15s; }
html.js .step .step__fig { transition-delay: .3s; }
html.js .step.is-in .step__no span { transform: none; opacity: 1; }
html.js .step.is-in .step__body, html.js .step.is-in .step__fig { opacity: 1; filter: none; transform: none; }

/* ── 基隆：bento（pin 22 下半部資訊格） ───────────── */
.keelung { padding: clamp(80px, 11vw, 150px) 0; }
.bento { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "settle settle num" "settle settle now" "team team team"; }
.cell { min-width: 0; border-radius: 28px; padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); }
.cell h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; }
.cell p:not(.en):not(.num):not(.pill) { margin-top: 8px; color: var(--muted); }
.cell--settle { grid-area: settle; }
.cell--settle .hl { max-width: 560px; margin: -4% auto 4px; }
.cell--num { grid-area: num; display: flex; flex-direction: column; justify-content: flex-end; border-color: transparent; }
.num { font-size: clamp(64px, 8vw, 116px); font-weight: 900; line-height: .95; letter-spacing: -.04em; color: var(--accent-ink); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.cell--now { grid-area: now; }
.cell--now h3 { margin-top: 14px; }
.cell--team { grid-area: team; }
.team { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.team li { border-radius: 20px; padding: 18px 20px; background: var(--sky-50); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.team__name { font-size: 24px; font-weight: 800; line-height: 1.3; }
.team__en { font-size: 16px; font-weight: 600; color: var(--muted); }
.team__role { margin-top: 8px; font-size: 14px; color: var(--muted); }
.team__edu { margin-top: 10px; display: flex; flex-direction: column; font-size: 14px; line-height: 1.5; color: var(--muted); }
.team__edu > span:first-child { font-size: 15px; font-weight: 700; color: var(--ink); }
/* 窄的三欄（641–960px）時只在空格或括號前換行，不把「D-School」「碩士班」「Co-founder」「SF Bay Area」拆開 */
.team__edu > span:first-child { word-break: keep-all; }
.team__edu .nw, .team__role [lang="en"], .team__city [lang="en"] { white-space: nowrap; }
.team__city { padding: 3px 12px; border-radius: 16px; line-height: 1.5; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 700; }
/* 城市膠囊＋LinkedIn 貼齊卡片底部：沒有學歷的那格，空白落在中間，三格的底邊仍對齊 */
.team__foot { margin-top: auto; margin-bottom: -8px; padding-top: 14px; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
/* LinkedIn：頂端一條 hairline，強調色短線在滑過／聚焦時延伸到右端，箭頭往右上推一點（只動 transform） */
.team__in {
  position: relative; align-self: stretch; min-height: 46px; padding-top: 2px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em; text-decoration: none; color: var(--ink);
  transition: color .25s;
}
.team__in::before, .team__in::after { content: ""; position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
.team__in::before { height: 1px; background: var(--line); }
.team__in::after { height: 2px; top: -.5px; background: var(--accent); transform-origin: left; transform: scaleX(.12); transition: transform .6s var(--ease); }
.team__arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--spring); }
.team__in:focus-visible { outline-offset: 4px; border-radius: 4px; }
.team__in:focus-visible, .team__in:active { color: var(--accent-ink); }
.team__in:focus-visible::after, .team__in:active::after { transform: none; }
.team__in:focus-visible .team__arrow, .team__in:active .team__arrow { transform: translate(2px, -2px); }
@media (hover: hover) {
  .team__in:hover { color: var(--accent-ink); }
  .team__in:hover::after { transform: none; }
  .team__in:hover .team__arrow { transform: translate(2px, -2px); }
}

html.js [data-rise] { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(8px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * .09s); }
html.js [data-rise].is-in { opacity: 1; transform: none; filter: none; }

/* ── 灣區 ───────────────────────────────────────── */
.bay { padding: clamp(80px, 11vw, 150px) 0; }
.bay__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bay__lead { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 30em; }
.mini { margin: 26px 0 30px; display: grid; gap: 10px; }
.mini li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.mini span { font-weight: 800; color: var(--accent-ink); min-width: 5.5em; }
.bay__fig { min-width: 0; }
.bay__fig figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ── 聯絡／頁尾 ─────────────────────────────────── */
.contact { padding: clamp(96px, 13vw, 180px) 0 clamp(64px, 8vw, 110px); }
.contact__big { font-size: clamp(44px, 9vw, 140px); line-height: 1.05; letter-spacing: -.03em; font-weight: 900; }
.contact__lead { margin-top: 22px; font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); }
.foot { padding: 0 0 calc(32px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid #ffffff2a; color: var(--muted); }
.foot a { color: var(--ink); }

/* ── 進場：模糊 → 清楚（pin 05） ─────────────────── */
html.js [data-blur] { opacity: 0; filter: blur(16px); transform: translateY(14px); transition: opacity .9s var(--ease), filter 1.1s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
html.js [data-blur].is-in { opacity: 1; filter: none; transform: none; }
html.js .hero__ghost span { filter: blur(24px); opacity: 0; transition: filter 1.6s var(--ease), opacity 1.6s var(--ease); }
html.js .hero__ghost span + span { transition-delay: .25s; }
html.js.is-ready .hero__ghost span { filter: none; opacity: 1; }
html.js .scene { opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease) .35s, transform 1.2s var(--spring) .35s; }
html.js.is-ready .scene { opacity: 1; transform: none; }
html.js .toast { opacity: 0; transform: translateY(18px) scale(.9); transition: opacity .5s var(--ease) 1.5s, transform .7s var(--spring) 1.5s; }
html.js.is-ready .toast { opacity: 1; transform: none; }
html.js [data-scrub-part] { --p: 0; opacity: calc(.16 + var(--p) * .84); filter: blur(calc((1 - var(--p)) * 10px)); transition: opacity .2s linear, filter .2s linear; }

/* ── responsive ─────────────────────────────────── */
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .scene { max-width: 560px; width: 100%; margin-inline: auto; }
  .step { grid-template-columns: var(--no) minmax(0, 1fr); }
  .step__fig { grid-column: 2; margin-top: 12px; max-width: 460px; }
  .bay__grid { grid-template-columns: minmax(0, 1fr); }
  .bay__fig { max-width: 520px; width: 100%; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "settle settle" "num now" "team team"; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .flow { --no: 56px; }
  .step__no span { width: 46px; height: 80px; font-size: 20px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "settle" "num" "now" "team"; }
  .team { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .team li { padding: 14px 18px; }
  .team__name { font-size: 22px; }
  .scene__tag { font-size: 14px; }
  /* 手機首屏：標題下面先看到場景，說明文字放在場景後面 */
  .hero { padding-top: calc(80px + env(safe-area-inset-top)); }
  .hero__inner { gap: 0; }
  .hero__copy { display: contents; }
  .hero__copy > .pill { order: 1; justify-self: start; }
  .hero__title { order: 2; margin-top: 16px; }
  .hero__brand { order: 3; }
  .scene { order: 4; margin-top: 8px; padding: 2% 2% 17%; }
  .hero__lead { order: 5; margin-top: 16px; }
  .hero__en { order: 6; }
  .hero__cta { order: 7; }
  .toast { padding: 10px 14px; bottom: 0; }
  .scene__tag--b { bottom: 22%; }
  .goal { padding: 18px 20px; border-radius: 22px; }
}
@media (max-width: 520px) {
  .brand__name { display: none; }
  .capsule a { padding: 7px 10px; font-size: 14px; }
}
@media (max-width: 359px) {
  .capsule a[data-nav="idea"] { display: none; }
  .capsule a { padding: 7px 9px; }
}

/* ── reduced motion：全部直接到位，hairline 不自動播放（site.js 也不傳 play） ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-blur], html.js [data-rise], html.js .scene, html.js .toast,
  html.js .step .step__no span, html.js .step .step__body, html.js .step .step__fig,
  html.js .hero__ghost span { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  html.js [data-scrub-part] { opacity: 1; filter: none; }
  html.js .flow__line span { transform: scaleY(1); }
  html.js .step--fork .fork__branch { stroke-dashoffset: 0; transition: none; }
  html.js .chips li, html.js .pill__dot { animation: none; }
  .btn, .capsule__glow { transition: none; }
  /* LinkedIn 線條直接畫滿、箭頭不位移；滑過／聚焦只換顏色 */
  .team__in, .team__in::after, .team__arrow { transition: none; }
  .team__in::after { transform: none; }
  .team__in:hover .team__arrow, .team__in:focus-visible .team__arrow, .team__in:active .team__arrow { transform: none; }
}
