:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #08090b;
  --muted: #777b84;
  --line: #dfe1e6;
  --blue: #174cff;
  --blue-soft: #edf2ff;
  --coral: #ff6158;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; padding: 0 5vw; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 16px; width: max-content; font-size: 13px; letter-spacing: .08em; }
.brand span, .header-end span { width: 76px; height: 1px; background: var(--ink); }
.nav-links { display: flex; gap: 34px; font-size: 12px; }
.nav-links a { display: flex; gap: 9px; align-items: center; padding: 23px 0 19px; color: var(--muted); border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); border-color: var(--ink); }
.nav-links small { color: #a1a4ab; font-size: 9px; }
.header-end { display: flex; justify-content: flex-end; align-items: center; gap: 46px; }
.header-end p { margin: 0; font-size: 12px; letter-spacing: .14em; }

.hero { display: grid; grid-template-columns: minmax(600px,.92fr) minmax(680px,1.08fr); min-height: calc(100svh - 64px - 188px); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; padding: 38px 2.7vw 32px 4.1vw; }
.hero-intro { position: absolute; top: 38px; left: 4.1vw; color: var(--muted); font-size: 12px; letter-spacing: .34em; line-height: 1.9; }
.hero-intro i, .hero-signature i, .visual-label i { display: block; width: 22px; height: 1px; margin-top: 18px; background: var(--ink); }
.hero h1 { margin: 74px 0 0; font-family: var(--serif); font-size: clamp(84px,7.6vw,136px); line-height: .88; }
.hero h2 { margin: 28px 0 0; font-family: var(--serif); font-size: clamp(34px,3.3vw,58px); line-height: 1.13; white-space: nowrap; }
.hero-en { margin: 8px 0 0; color: #777b82; font-size: clamp(14px,1vw,18px); letter-spacing: .1em; white-space: nowrap; }
.hero-method { display: grid; gap: 4px; margin-top: 28px; }
.hero-method strong { font-size: 16px; letter-spacing: .08em; }
.hero-method span { color: #96999f; font-size: 15px; letter-spacing: .12em; }
.hero-actions { display: flex; gap: 20px; margin-top: 32px; }
.hero-actions a, .hero-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-width: 220px; min-height: 56px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 0; background: #fff; cursor: pointer; font-size: 16px; }
.hero-actions .primary-action { color: #fff; background: var(--ink); }
.hero-actions svg { width: 20px; }
.hero-actions a:hover, .hero-actions button:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.hero-signature { position: absolute; left: 4.1vw; bottom: 26px; display: flex; gap: 30px; align-items: flex-start; }
.hero-signature i { margin-top: 8px; }
.hero-signature p { margin: 0; color: #8b8e95; font-size: 8px; letter-spacing: .12em; line-height: 1.5; }

.hero-portrait { position: relative; min-width: 0; overflow: hidden; border-left: 1px solid var(--line); transform: translate3d(var(--mx,0),var(--my,0),0); transition: transform .35s ease-out; }
.hero-portrait::before { position: absolute; z-index: 4; top: 7%; left: 0; width: 68px; height: 132px; content: ""; background: #fff; box-shadow: 0 520px 0 #fff; }
.hero-portrait::after { position: absolute; z-index: 4; top: 37%; left: 0; width: 62px; height: 154px; content: ""; background: #fff; }
.portrait-bottom-mask { position: absolute; z-index: 4; left: 0; bottom: 0; width: 150px; height: 112px; background: #fff; }
.portrait-reference { position: absolute; z-index: 3; top: -9%; left: -84.7%; width: 185.4%; max-width: none; height: auto; pointer-events: none; user-select: none; }
.portrait-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-grid path { stroke: #d8dbe2; stroke-width: .8; }
.portrait-grid .dashed, .dashed-path { stroke-dasharray: 4 5; }
.hair-lines path, .face-lines path { stroke: #111318; stroke-width: 1.1; }
.hair-lines .blue-hair, .signal-paths .blue-path, .blue-path { stroke: var(--blue); }
.signal-paths path { stroke: #697080; stroke-width: .9; }
.signals rect, .signals circle { stroke: none; }
.soft-block, .pale-block { fill: #e8edff; opacity: .72; }
.blue-block { fill: var(--blue); opacity: .76; }
.dark-block, .dark-node { fill: #111318; }
.coral-block, .coral-dot { fill: var(--coral); stroke: none; }
.blue-node { fill: var(--blue); stroke: none; }
.signals circle { fill: #111318; }
.visual-label { position: absolute; z-index: 2; color: #7c8089; font-size: 8px; letter-spacing: .2em; line-height: 1.55; }
.label-knowledge { left: 7%; top: 16%; }
.label-reasoning { left: 54%; top: 4%; }
.label-judgment { right: 3%; top: 15%; }
.label-boundary { right: 3%; top: 35%; }
.label-impact { right: 4%; top: 57%; }
.label-world { left: 8%; bottom: 5%; }
.label-more { right: 4%; bottom: 5%; }

.portrait-art, .visual-label { visibility: hidden; }

.projects-band { display: grid; grid-template-columns: 218px repeat(3,1fr); min-height: 188px; border-bottom: 1px solid var(--line); }
.projects-rail { padding: 24px 34px; border-right: 1px solid var(--line); }
.projects-rail span, .projects-rail small { color: #93979f; font-size: 8px; letter-spacing: .17em; line-height: 1.45; }
.projects-rail p { margin: 20px 0 0; color: #a0a3aa; font-family: var(--serif); font-size: 13px; letter-spacing: .18em; }
.projects-rail i { display: block; width: 20px; height: 1px; margin: 18px 0 14px; background: #9da0a6; }
.project-tile { position: relative; min-width: 0; padding: 20px 42px 18px; overflow: hidden; border-right: 1px solid var(--line); }
.project-tile:last-child { border-right: 0; }
.project-no { font-size: 12px; }
.project-tile h2 { position: relative; z-index: 2; margin: 4px 0 0; font-family: var(--serif); font-size: 34px; line-height: 1; }
.project-tile.finmind h2 { font-family: var(--sans); font-size: 32px; }
.project-tile p { position: relative; z-index: 2; margin: 12px 0 0; font-family: var(--serif); font-size: 13px; letter-spacing: .16em; }
.tile-arrow { position: absolute; z-index: 2; left: 42px; bottom: 25px; width: 22px; }
.project-tile > small { position: absolute; z-index: 2; right: 26px; bottom: 12px; color: #848992; font-size: 7px; letter-spacing: .16em; }
.tile-line { position: absolute; right: 18px; bottom: 0; width: 70%; height: 76%; }
.tile-line path { stroke: #9aa0aa; stroke-width: 1; }
.tile-line circle { fill: var(--blue); stroke: none; }
.tile-line rect { fill: var(--blue); stroke: none; }
.project-tile:hover { background: #f7f8fb; }
.project-tile:hover h2 { color: var(--blue); }
.mini-bars { position: absolute; right: 8%; bottom: 22px; display: flex; align-items: end; gap: 12px; height: 94px; padding: 0 22px 8px; border-bottom: 1px solid var(--line); }
.mini-bars i { width: 18px; background: #dcdfe4; }
.mini-bars i:nth-child(1){height:28%}.mini-bars i:nth-child(2){height:48%}.mini-bars i:nth-child(3){height:76%}.mini-bars i:nth-child(4){height:92%;background:var(--blue)}

.page-section { display: grid; grid-template-columns: 188px 1fr; border-bottom: 1px solid var(--line); }
.section-rail { padding: 54px 28px; border-right: 1px solid var(--line); }
.section-rail > span { font-size: 17px; }
.section-rail > i { display: block; width: 22px; height: 1px; margin: 18px 0; background: var(--ink); }
.section-rail p { color: #747984; font-size: 9px; letter-spacing: .17em; line-height: 1.5; }
.section-rail small { display: block; margin-top: 62px; color: #858991; font-family: var(--serif); font-size: 13px; letter-spacing: .18em; }
.section-body { min-width: 0; padding: 72px 5vw; }
.section-heading > p, .about-copy > p:first-child, .contact-main > p { margin: 0 0 10px; color: #858a94; font-size: 9px; letter-spacing: .22em; }
.section-heading h2, .about-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(46px,5vw,78px); line-height: 1; }
.section-heading > span { display: block; margin-top: 12px; font-family: var(--serif); font-size: 20px; }

.experience-list { margin-top: 48px; border-top: 1px solid var(--line); }
.experience-list article { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(560px,1.28fr); border-bottom: 1px solid var(--line); }
.experience-org { padding: 30px 34px 34px 0; border-right: 1px solid var(--line); }
.experience-org span { color: #8c919b; font-size: 9px; letter-spacing: .17em; }
.experience-org h3 { margin: 18px 0 3px; font-family: var(--serif); font-size: 28px; }
.experience-org p { margin: 0; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); }
.metrics p { min-height: 140px; margin: 0; padding: 30px 22px; color: #5c616a; border-right: 1px solid var(--line); font-size: 12px; }
.metrics p:last-child { border-right: 0; }
.metrics strong { display: block; margin-top: 24px; color: var(--ink); font-size: clamp(22px,2vw,34px); font-weight: 500; white-space: nowrap; }
.metrics em { color: var(--blue); font-style: normal; }

.method-track { position: relative; display: grid; grid-template-columns: repeat(6,1fr); margin-top: 54px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-step { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 174px; padding: 18px 24px 22px; background: transparent; border: 0; border-right: 1px solid var(--line); cursor: pointer; text-align: left; transform: scale(1); transition: background-color .2s ease, color .2s ease, transform .22s ease, box-shadow .22s ease; }
.method-step::after { position: absolute; right: 24px; bottom: -1px; left: 24px; height: 2px; content: ""; background: transparent; transform: scaleX(.35); transform-origin: center; transition: background-color .2s ease, transform .24s ease; }
.method-step:last-child { border-right: 0; }
.method-step small { color: #858a94; font-size: 9px; }
.method-step strong { align-self: center; width: max-content; font-family: var(--serif); font-size: 42px; font-weight: 500; line-height: 1; }
.method-step span { align-self: end; font-size: 11px; }
.method-step:hover { background: #f7f7f8; }
@media (hover: hover) and (pointer: fine) {
  .method-step:hover { z-index: 2; transform: scale(1.025); box-shadow: 0 10px 28px rgb(18 22 31 / 8%); }
}
.method-step.active { background: #f5f5f7; }
.method-step.active::after { background: var(--ink); transform: scaleX(1); }
.method-step:focus { outline: none; }
.method-step:focus-visible { z-index: 1; box-shadow: inset 0 0 0 1px #c7c7cc; }
.method-detail { display: grid; grid-template-columns: .32fr .68fr; gap: 24px; min-height: 190px; padding: 34px 24px; opacity: 1; transform: translateY(0); transition: opacity .18s ease, transform .18s ease; }
.method-detail.is-updating { opacity: 0; transform: translateY(5px); }
.method-detail > span { color: #686c74; font-size: 10px; letter-spacing: .15em; }
.method-detail h3 { grid-column: 2; margin: 0; font-family: var(--serif); font-size: 31px; }
.method-detail p { grid-column: 2; max-width: 760px; margin: 0; color: var(--muted); }

.about-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; }
.about-copy h3 { margin: 38px 0 16px; font-family: var(--serif); font-size: 26px; line-height: 1.45; }
.about-copy > p:last-child { max-width: 580px; color: var(--muted); font-size: 16px; }
.about-links { border-top: 1px solid var(--line); }
.about-links a { display: grid; grid-template-columns: 42px 110px 1fr auto; align-items: center; gap: 18px; min-height: 94px; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.about-links span { color: #969aa2; font-size: 10px; }
.about-links strong { font-family: var(--serif); font-size: 26px; }
.about-links small { color: var(--muted); }
.about-links i { color: var(--blue); font-style: normal; font-size: 24px; }
.about-links .featured-about-link { grid-template-columns: 42px minmax(126px,.34fr) 1fr auto; min-height: 148px; background: linear-gradient(90deg, var(--blue-soft), #fff 68%); }
.about-links .featured-about-link strong { font-size: clamp(36px,3.3vw,54px); }
.about-links .featured-about-link small { font-family: var(--serif); font-size: 19px; color: #3f4652; }
.about-links a:hover { padding-left: 12px; background: var(--blue-soft); }

.contact-section { display: grid; grid-template-columns: 188px .95fr 1.05fr; min-height: 620px; border-bottom: 1px solid var(--line); }
.contact-main { align-self: center; padding: 80px 5vw; }
.contact-main h2 { margin: 0; font-family: var(--serif); font-size: clamp(48px,6vw,88px); line-height: 1.22; }
.contact-main > div { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.contact-main a { display: inline-flex; align-items: center; gap: 44px; padding: 15px 24px; color: #fff; background: var(--ink); }
.contact-main a svg { width: 20px; }
.contact-main span { color: var(--muted); }
.contact-system { align-self: center; padding: 70px 4vw; border-left: 1px solid var(--line); }
.contact-system svg { width: 100%; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; padding: 24px 4vw; font-size: 10px; }
.site-footer span { color: var(--muted); letter-spacing: .14em; }
.site-footer a { text-align: right; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1400px) {
  .hero-signature { display: none; }
}

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 24px; }
  .nav-links { display: none; }
  .header-end { gap: 18px; }
  .hero { grid-template-columns: 1fr; min-height: 940px; }
  .hero-copy { min-height: 720px; padding: 60px 40px 120px; }
  .hero-intro { left: 40px; }
  .hero-signature { display: none; }
  .hero-portrait { position: absolute; inset: 64px 0 auto 43%; height: 720px; border-left: 0; opacity: .82; }
  .hero h2 { white-space: normal; }
  .projects-band { grid-template-columns: 150px 1fr 1fr; }
  .projects-rail { grid-row: span 2; }
  .project-tile.finmind { grid-column: 2 / 4; border-top: 1px solid var(--line); }
  .experience-list article { grid-template-columns: 1fr; }
  .experience-org { border-right: 0; }
  .about-body { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 150px 1fr; }
  .contact-system { grid-column: 2; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 720px) {
  .site-header { min-height: 58px; }
  .brand span, .header-end span { width: 36px; }
  .header-end p { font-size: 10px; }
  .hero { min-height: 880px; }
  .hero-copy { min-height: 820px; padding: 50px 20px 240px; }
  .hero-intro { position: static; font-size: 9px; }
  .hero h1 { margin-top: 52px; font-size: 84px; }
  .hero h2 { margin-top: 20px; font-size: 35px; }
  .hero-en { font-size: 11px; }
  .hero-method strong { font-size: 13px; }
  .hero-method span { font-size: 10px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions a, .hero-actions button { width: 100%; min-width: 0; }
  .hero-signature { display: none; }
  .hero-portrait { inset: auto 0 0 0; height: 430px; opacity: .88; }
  .hero-portrait::before { display: none; }
  .hero-portrait::after { display: block; top: 30%; width: 58px; height: 112px; }
  .portrait-bottom-mask { display: none; }
  .portrait-reference { top: -9%; left: -118.5%; width: 265%; }
  .visual-label { display: none; }
  .projects-band { grid-template-columns: 1fr; }
  .projects-rail { grid-row: auto; min-height: 150px; }
  .project-tile { min-height: 210px; border-top: 1px solid var(--line); border-right: 0; }
  .project-tile.finmind { grid-column: auto; }
  .page-section, .contact-section { display: block; }
  .section-rail { display: none; }
  .section-body { padding: 68px 20px; }
  .section-heading h2, .about-copy h2 { font-size: 49px; }
  .section-heading > span { font-size: 17px; }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .metrics p { min-height: 130px; border-bottom: 1px solid var(--line); }
  .metrics strong { white-space: normal; }
  .method-track { grid-template-columns: repeat(3,1fr); }
  .method-step { min-height: 150px; border-bottom: 1px solid var(--line); }
  .method-detail { display: block; padding: 38px 8px; }
  .method-detail h3 { margin-top: 18px; font-size: 28px; }
  .method-detail p { margin-top: 14px; }
  .about-links a { grid-template-columns: 30px 86px 1fr auto; gap: 10px; }
  .about-links strong { font-size: 23px; }
  .about-links small { font-size: 11px; }
  .contact-main { padding: 84px 20px; }
  .contact-main h2 { font-size: 48px; }
  .contact-main > div { align-items: flex-start; flex-direction: column; }
  .contact-system { padding: 30px 20px; }
  .site-footer { grid-template-columns: 1fr auto; padding: 22px 20px; }
  .site-footer span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-portrait { transition: none; }
  .method-step, .method-step::after, .method-detail { transition: none; }
  .method-step:hover { transform: none; }
}

@media print {
  .site-header, .hero-actions, .projects-band, .contact-system { display: none; }
  .hero { min-height: auto; }
  .hero-portrait { opacity: .25; }
  .reveal { opacity: 1; transform: none; }
}
