[hidden] { display: none !important; }
:root {
  --ink: #18202e;
  --ink-2: #485164;
  --ink-3: #7d8596;
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --card: #fffdf9;
  --line: #e3dbcd;
  --accent: #b5522b;
  --accent-2: #d98a5f;
  --accent-soft: #f5e3d6;
  --navy: #141b29;
  --navy-2: #1e2738;
  --navy-line: #2c3649;
  --gold: #e0b072;
  --radius: 18px;
  --sans: "Noto Sans SC", "Noto Sans JP", system-ui, -apple-system, "PingFang SC", "Hiragino Sans", sans-serif;
  --serif: "Noto Serif SC", "Noto Serif JP", "Songti SC", "Hiragino Mincho ProN", serif;
  --latin: "Playfair Display", Georgia, serif;
}
html[lang="ja"] { --sans: "Noto Sans JP", "Noto Sans SC", system-ui, -apple-system, "Hiragino Sans", sans-serif; --serif: "Noto Serif JP", "Noto Serif SC", "Hiragino Mincho ProN", serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-variant-numeric: lining-nums; margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* 进场动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 17px/1 var(--serif); text-decoration: none; letter-spacing: .04em; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 14px; }
.links { display: flex; gap: 26px; font-size: 14px; }
.links a { text-decoration: none; color: var(--ink-2); position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--accent); transition: right .25s; }
.links a:hover::after { right: 0; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.lang button { border: 0; background: transparent; font: 500 13px/1 var(--sans); width: 32px; height: 28px; border-radius: 999px; color: var(--ink-3); cursor: pointer; }
.lang button.on { background: var(--ink); color: var(--paper); }
.nav-cta { font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: #fff; }
@media (max-width: 860px) { .links { display: none; } }
@media (max-width: 480px) { .nav-cta { display: none; } .nav-in { gap: 12px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 55% at 78% 30%, #f3dccb 0%, transparent 70%), radial-gradient(40% 40% at 8% 90%, #ece3d3 0%, transparent 70%); }
.constellation { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); box-shadow: 0 6px 20px -14px rgba(24, 32, 46, .4); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #3fa66b; box-shadow: 0 0 0 0 rgba(63, 166, 107, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(63, 166, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 166, 107, 0); } }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-weight: 500; letter-spacing: .14em; font-size: 14px; }
.name { margin: 0; font: 900 clamp(48px, 8.4vw, 104px)/1.02 var(--serif); letter-spacing: .01em; }
.tagline { margin: 26px 0 0; font: 500 clamp(19px, 2.3vw, 24px)/1.65 var(--serif); color: var(--ink-2); max-width: 26em; }
.rotator { margin: 18px 0 0; font-size: 15px; color: var(--ink-3); min-height: 1.8em; }
.rot-word { display: inline-block; color: var(--ink); font-weight: 700; margin: 0 .3em; padding: 0 .35em; background: linear-gradient(transparent 62%, var(--accent-soft) 62%); transition: opacity .35s, transform .35s; }
.rot-word.out { opacity: 0; transform: translateY(-8px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid var(--ink); transition: transform .2s, box-shadow .2s, background .2s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn.primary { background: var(--ink); color: var(--paper); box-shadow: 0 14px 30px -16px rgba(24, 32, 46, .7); }
.btn.ghost { background: color-mix(in srgb, var(--card) 70%, transparent); }

.hero-visual { position: relative; justify-self: center; width: min(400px, 100%); }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; overflow: hidden; background: linear-gradient(165deg, #f1d2bd, #e9dccb 60%, #e2d6c6); box-shadow: 0 40px 80px -40px rgba(24, 32, 46, .55); }
.portrait::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.float { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: 0 18px 40px -22px rgba(24, 32, 46, .55); font-size: 13px; color: var(--ink-2); line-height: 1.4; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font: 600 26px/1.1 var(--latin); color: var(--ink); }
.float.f1 { left: -42px; bottom: 18%; }
.float.f2 { right: -30px; top: 14%; animation-delay: -3s; display: flex; align-items: center; gap: 10px; }
.float.f2 .dots { display: flex; }
.float.f2 .dots span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--card); margin-left: -8px; display: grid; place-items: center; font-size: 11px; color: #fff; }
.float.f2 .dots span:first-child { margin-left: 0; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 88px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 26px 0 30px; position: relative; }
.stats div + div { padding-left: 28px; }
.stats div + div::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 34px; width: 1px; background: var(--line); }
.stats dt { font: 600 clamp(40px, 5vw, 56px)/1 var(--latin); color: var(--ink); }
.stats dd { margin: 10px 0 0; color: var(--ink-3); font-size: 14px; }

@media (max-width: 860px) {
  .hero { padding-top: 100px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; width: min(280px, 72%); }
  .float.f1 { left: -28%; }
  .float.f2 { right: -24%; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stats div + div { padding-left: 0; }
  .stats div:nth-child(even) { padding-left: 20px; }
  .stats div + div::before { display: none; }
  .stats div:nth-child(even)::before { display: block; content: ""; position: absolute; left: 0; top: 30px; bottom: 34px; width: 1px; background: var(--line); }
}
@media (max-width: 480px) { .float { padding: 9px 12px; font-size: 12px; } .float b { font-size: 21px; } .float.f2 .dots span { width: 22px; height: 22px; } }

/* ticker */
.ticker { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker-track span { font: 500 clamp(18px, 2vw, 22px)/1 var(--serif); color: var(--ink-2); padding: 0 28px; display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; color: var(--accent-2); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px 0; position: relative; }
@media (max-width: 860px) { .section { padding: 76px 0; } }
.kicker { display: inline-block; font: 600 15px/1 var(--latin); letter-spacing: .2em; color: var(--accent); margin-bottom: 14px; }
.kicker::before { content: "— "; }
.kicker.light { color: var(--gold); }
.sec-head h2, .ai-text h2, .contact h2 { margin: 0; font: 700 clamp(32px, 4.4vw, 50px)/1.2 var(--serif); letter-spacing: .01em; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.sec-lead { margin: 14px 0 0; color: var(--ink-2); max-width: 30em; }
.sec-head.row .sec-lead { margin: 0; text-align: right; }
.sec-lead.light { color: #aeb5c2; }
@media (max-width: 760px) { .sec-head.row { flex-direction: column; align-items: flex-start; gap: 12px; } .sec-head.row .sec-lead { text-align: left; } }

/* about */
.about { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; }
.about .sec-head { position: sticky; top: 110px; align-self: start; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; }
.tags li { font-size: 13px; padding: 5px 14px; border-radius: 999px; background: var(--card); color: var(--ink-2); border: 1px solid var(--line); }
.bio { position: relative; isolation: isolate; }
.bio p { margin: 0 0 1.2em; font-size: 17px; color: var(--ink-2); }
.bio p.lead-p { position: relative; font: 500 clamp(22px, 2.6vw, 28px)/1.7 var(--serif); color: var(--ink); padding-top: 34px; }
.bio p.lead-p::before { content: "“"; position: absolute; top: -26px; left: -6px; font: 600 110px/1 var(--latin); color: var(--accent-soft); z-index: -1; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } .about .sec-head { position: static; } }

/* network bento */
.network { background: var(--paper-2); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.tile h4 { margin: 0 0 16px; font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--ink-3); }
.tile.graph { grid-column: span 7; grid-row: span 2; padding: 0; min-height: 420px; background: var(--navy); border-color: var(--navy); color: #e9e5dd; }
.tile.graph h4 { position: absolute; left: 26px; top: 24px; color: #8f97a8; }
.tile.graph svg { width: 100%; height: 100%; min-height: 420px; }
.tile.total { grid-column: span 5; display: flex; flex-direction: column; justify-content: space-between; background: var(--accent); border-color: var(--accent); color: #fff; }
.tile.total h4 { color: rgba(255, 255, 255, .75); }
.tile.total .num { font: 600 clamp(64px, 8vw, 96px)/.9 var(--latin); }
.tile.total p { margin: 8px 0 0; font-size: 15px; color: rgba(255, 255, 255, .88); padding-right: 56px; }
.tile.total a { position: absolute; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; transition: transform .2s; }
.tile.total a:hover { transform: rotate(-45deg); }
.tile.total a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile.regions { grid-column: span 5; }
.tile.regions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tile.regions li { padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
.tile.regions li b { font-weight: 600; color: var(--accent); margin-left: 6px; font-family: var(--latin); font-size: 16px; }
.tile.bars { grid-column: span 12; }
.bar-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 36px; margin: 0; padding: 0; list-style: none; }
.bar-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; }
.bar-list li b { font: 600 17px/1 var(--latin); color: var(--ink); }
.bar-list li i { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar-list li i::after { content: ""; display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.in .bar-list li i::after { transform: scaleX(1); }
.tile.empty-net { grid-column: span 12; text-align: center; color: var(--ink-3); padding: 48px 26px; }
@media (max-width: 860px) { .tile.graph, .tile.total, .tile.regions, .tile.bars { grid-column: span 12; } .tile.graph, .tile.graph svg { min-height: 320px; } }

/* projects */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(24, 32, 46, .5); }
.card .img { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--accent-soft); }
.card .img img, .card .img svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .img img, .card:hover .img svg { transform: scale(1.04); }
.card .img .badge { position: absolute; left: 16px; top: 16px; }
.card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-3); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--accent); background: var(--card); padding: 4px 12px; border-radius: 999px; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .3); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3fa66b; }
.card h4 { margin: 0; font: 700 22px/1.4 var(--serif); }
.card .role { font-size: 13px; color: var(--accent); font-weight: 500; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; white-space: pre-line; }
.card .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .more:hover { color: var(--accent); }
.h3 { margin: 80px 0 20px; font: 700 22px/1.4 var(--serif); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 18px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 175px; top: 30px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.timeline .when { color: var(--ink-3); font: 600 17px/1.6 var(--latin); padding-top: 6px; letter-spacing: .04em; }
.timeline .body { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.timeline h4 { margin: 0; font: 700 18px/1.5 var(--serif); }
.timeline h4 a { text-decoration: none; }
.timeline h4 a:hover { color: var(--accent); }
.timeline .role { font-size: 13px; color: var(--accent); margin: 2px 0 6px; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 15px; white-space: pre-line; }
.grid.single { grid-template-columns: 1fr; }
.grid.single .card { flex-direction: row; }
.grid.single .card .img { flex: 0 0 52%; aspect-ratio: auto; min-height: 320px; }
.grid.single .card .body { padding: 40px; justify-content: center; }
.grid.single .card h4 { font-size: 28px; }
@media (max-width: 760px) { .grid.single .card { flex-direction: column; } .grid.single .card .img { aspect-ratio: 16 / 10; min-height: 0; } .grid.single .card .body { padding: 24px; } }
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; }
  .timeline li::before { left: 0; top: 24px; }
}
.empty { color: var(--ink-3); font-size: 14px; }

/* ---------- AI ---------- */
.ai { background: var(--navy); color: #e9e5dd; overflow: hidden; isolation: isolate; }
.ai-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 85% 20%, rgba(217, 138, 95, .28), transparent 70%), radial-gradient(35% 45% at 10% 90%, rgba(224, 176, 114, .14), transparent 70%); }
.ai-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.ai-text h2 { color: #fff; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: center; color: #cfd3db; }
.steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--navy-line); display: grid; place-items: center; font: 600 16px/1 var(--latin); color: var(--gold); }
.privacy { display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; padding: 16px 18px; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 14px; font-size: 14px; color: #b9bfcb; }
.privacy svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; margin-top: 1px; }
.chat { background: var(--card); color: var(--ink); border-radius: 24px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); display: flex; flex-direction: column; height: min(580px, 78vh); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-ava { width: 40px; height: 40px; flex: none; border-radius: 50%; background: linear-gradient(140deg, var(--accent-2), var(--accent)); color: #fff; display: grid; place-items: center; font: 700 16px/1 var(--serif); overflow: hidden; }
.chat-ava img { width: 100%; height: 100%; object-fit: cover; }
.chat-head strong { display: block; font-size: 15px; line-height: 1.3; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12px; }
.chat-head small i { width: 7px; height: 7px; border-radius: 50%; background: #3fa66b; }
.chat-log { flex: 1; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(var(--card), var(--paper)); }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.75; word-break: break-word; animation: pop .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.msg.bot { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; white-space: pre-wrap; }
.msg.err { background: #fbe9e7; border-color: #f3c9c1; color: #8a2c17; }
.msg p { margin: 0 0 .5em; } .msg p:last-child { margin: 0; }
.msg ul { margin: .3em 0 .6em; padding-left: 1.3em; }
.msg .act { display: inline-flex; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none; border: 1px solid currentColor; border-radius: 999px; padding: 3px 12px; }
.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite both; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; background: var(--paper); }
.chips button { border: 1px solid var(--line); background: var(--card); color: var(--ink-2); border-radius: 999px; padding: 8px 14px; font: 13px/1.4 var(--sans); cursor: pointer; text-align: left; transition: border-color .2s, color .2s; }
.chips button:hover { border-color: var(--accent); color: var(--accent); }
.chat-form { display: flex; gap: 10px; align-items: flex-end; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--card); }
.chat-form textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 16px; padding: 11px 14px; font: 15px/1.5 var(--sans); max-height: 140px; background: var(--paper); color: var(--ink); }
.chat-form textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
.send { width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.send:hover:not(:disabled) { transform: scale(1.06); }
.send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.send:disabled { opacity: .45; cursor: default; }
@media (max-width: 960px) { .ai-in { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- contact ---------- */
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact h2.big { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.15; }
.contact-body { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 40px 80px -50px rgba(24, 32, 46, .5); }
.wechat { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.qr { width: 200px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.qr img { width: 100%; }
.wechat h4 { margin: 0 0 6px; font: 700 22px/1.4 var(--serif); display: flex; align-items: center; gap: 8px; }
.wechat h4 svg { width: 26px; height: 26px; }
.wechat p { margin: 0; color: var(--ink-2); font-size: 14px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li + li { border-top: 1px solid var(--line); }
.contact-list a, .contact-list .row { display: flex; align-items: center; gap: 16px; padding: 18px 4px; text-decoration: none; }
.contact-list .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list .k { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: .08em; }
.contact-list .v { display: block; font: 600 17px/1.4 var(--sans); word-break: break-all; }
.contact-list a:hover .v { color: var(--accent); }
.contact-list .go { margin-left: auto; color: var(--ink-3); }
.contact-empty { color: var(--ink-3); font-size: 14px; margin: 0; }
@media (max-width: 860px) { .contact-in { grid-template-columns: 1fr; gap: 32px; } .contact-body { padding: 22px; } }

.foot { border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; padding: 26px 0 34px; }
.foot-in { display: flex; justify-content: space-between; }
.foot a { text-decoration: none; }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 14px; padding: 13px 20px; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s; }
.fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.fab.show { opacity: 1; pointer-events: auto; transform: none; }
