:root {
  --ink: #111822;
  --ink-soft: #1c2634;
  --paper: #eef1f3;
  --panel: #f9fafb;
  --line: #ced6dd;
  --blue: #285cff;
  --blue-pale: #e5ebff;
  --olive: #66735c;
  --muted: #63707d;
  --radius: 18px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--font-sans); }
body::before { position: fixed; inset: 0; z-index: -2; content: ""; opacity: .55; background-image: linear-gradient(rgba(17, 24, 34, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 34, .04) 1px, transparent 1px); background-size: 42px 42px; pointer-events: none; }
body::after { position: fixed; inset: 0; z-index: -1; content: ""; background: radial-gradient(circle at 82% 8%, rgba(40, 92, 255, .13), transparent 22rem), radial-gradient(circle at 8% 75%, rgba(102, 115, 92, .09), transparent 22rem); pointer-events: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.scanline { position: fixed; top: 0; left: 0; z-index: 30; width: 100%; height: 3px; background: var(--blue); transform-origin: left; animation: scan 1.2s ease-out both; }
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 18px clamp(22px, 5vw, 88px); border-bottom: 1px solid rgba(17, 24, 34, .14); background: rgba(238, 241, 243, .83); backdrop-filter: blur(16px); }
.wordmark { font: 800 .75rem/1 var(--font-mono); letter-spacing: .09em; }.wordmark span { color: var(--blue); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #55a86b; box-shadow: 0 0 0 3px rgba(85, 168, 107, .13); }

main { max-width: 1280px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 88px) 70px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr); align-items: center; gap: clamp(36px, 7vw, 100px); min-height: 690px; padding: 72px 0; }
.eyebrow, .section-kicker, .card-label, .product-number { margin: 0 0 12px; color: var(--blue); font: 800 .72rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
h1, h2, h3, p { margin-top: 0; } h1 { max-width: 800px; margin-bottom: 28px; font-size: clamp(3.6rem, 7vw, 7.2rem); font-weight: 850; letter-spacing: -.082em; line-height: .91; } h1 em { color: var(--blue); font-style: normal; } h2 { margin-bottom: 34px; font-size: clamp(2.25rem, 4vw, 4.1rem); letter-spacing: -.065em; line-height: .96; } h3 { margin-bottom: 8px; font-size: 1.22rem; letter-spacing: -.035em; line-height: 1.15; }
.hero-copy, .section-heading > p { max-width: 500px; color: var(--muted); }.button { display: inline-flex; align-items: center; gap: 26px; margin-top: 12px; padding: 13px 17px 13px 20px; color: #fff; background: var(--blue); border-radius: 4px; font-weight: 800; transition: transform .2s ease, background .2s ease; }.button:hover { background: #1749e9; transform: translate(2px, -2px); }.button span { font-size: 1.2rem; }

.hero-console { position: relative; overflow: hidden; min-height: 455px; padding: 16px; color: #eaf0f9; border: 1px solid #304258; background: linear-gradient(150deg, #162433, #111a25 60%, #1a2631); box-shadow: 18px 18px 0 rgba(17, 24, 34, .1); }.hero-console::after { position: absolute; inset: 0; content: ""; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }.console-top { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #a9bdce; font: 700 .66rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }.console-top span:last-child { color: #88d69a; }.console-core { position: relative; z-index: 1; display: grid; place-items: center; min-height: 295px; text-align: center; }.console-core p { position: absolute; top: 54px; color: #a9bdce; font-size: .83rem; }.console-core strong { z-index: 1; font-size: clamp(3rem, 5vw, 5.5rem); letter-spacing: -.09em; line-height: .76; }.console-core b { color: var(--blue); font-weight: 500; }.console-orbit { position: absolute; border: 1px solid rgba(119, 157, 195, .45); border-radius: 50%; transform: rotate(-24deg); }.orbit-a { width: 300px; height: 145px; }.orbit-b { width: 220px; height: 290px; transform: rotate(54deg); }.console-dot { position: absolute; top: 87px; right: 27%; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 7px rgba(40,92,255,.12); }.highlight-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(169,189,206,.25); }.highlight-grid div { padding: 15px 10px 0; border-right: 1px solid rgba(169,189,206,.2); }.highlight-grid div:last-child { border-right: 0; }.highlight-grid strong { display: block; color: #fff; font-size: 1.3rem; letter-spacing: -.05em; }.highlight-grid span { color: #a9bdce; font-size: .72rem; }

.section { padding: 88px 0; border-top: 1px solid var(--line); }.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; }.section-heading > p { margin-bottom: 34px; }.now-grid, .product-grid, .lab-grid, .skill-grid, .prompt-grid, .thought-grid, .life-grid { display: grid; gap: 14px; }.now-grid { grid-template-columns: 1.05fr .95fr; }.product-grid, .prompt-grid, .thought-grid { grid-template-columns: repeat(3, 1fr); }.lab-grid, .skill-grid { grid-template-columns: repeat(4, 1fr); }.life-grid { grid-template-columns: 1.6fr 1fr 1fr; }
.card { position: relative; min-width: 0; padding: 24px; border: 1px solid var(--line); background: rgba(249,250,251,.8); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }.card:hover { border-color: #9aa8b5; box-shadow: 8px 8px 0 rgba(17,24,34,.08); transform: translate(-2px, -2px); }
.now-card { min-height: 240px; }.now-card-primary { overflow: hidden; color: white; border-color: var(--ink); background: var(--ink); }.now-card-primary p:not(.card-label) { max-width: 390px; color: #b8c5d2; }.now-card h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }.now-card ul { margin: 19px 0 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }.marker-line { position: absolute; right: 28px; bottom: 27px; width: 88px; height: 1px; background: var(--blue); }.marker-line::after { position: absolute; right: 0; top: -4px; width: 9px; height: 9px; content: ""; border-radius: 50%; background: var(--blue); }

.product-card { display: flex; flex-direction: column; min-height: 475px; }.product-visual { position: relative; overflow: hidden; min-height: 168px; margin: -7px -7px 22px; border: 1px solid #ced8e4; background: #e3eaf1; }.product-visual::before, .product-visual::after, .product-visual span { position: absolute; display: block; content: ""; }.visual-browser::before { inset: 18px; border-radius: 4px; background: linear-gradient(#233241 0 16px, #f8f9fa 16px); box-shadow: inset 0 0 0 1px rgba(17,24,34,.12); }.visual-browser::after { top: 48px; right: 33px; bottom: 32px; left: 33px; background: repeating-linear-gradient(to bottom, #d8dee4 0 7px, transparent 7px 17px); }.visual-browser span { top: 22px; left: 26px; width: 70px; height: 5px; border-radius: 5px; background: var(--blue); }.visual-mobile::before { width: 96px; height: 157px; top: 15px; left: calc(50% - 48px); border: 7px solid #263342; border-radius: 14px; background: linear-gradient(155deg, #f7f8fa 0 31%, #c5d4fc 31% 48%, #f7f8fa 48%); }.visual-mobile::after { top: 62px; left: calc(50% - 25px); width: 50px; height: 6px; background: #285cff; box-shadow: 0 16px #c8d1da, 0 32px #c8d1da, 0 48px #c8d1da; }.visual-workspace::before { inset: 22px; border: 1px solid #c7d0d9; background: linear-gradient(90deg, #233241 0 29%, #fbfcfd 29%); }.visual-workspace::after { top: 47px; left: 47%; width: 35%; height: 6px; background: #285cff; box-shadow: 0 21px #d7dde3, 0 42px #d7dde3, 0 63px #d7dde3; }.visual-workspace span { left: 12%; bottom: 33px; width: 13%; height: 50px; background: #5877d9; box-shadow: 23px 11px #8da4f3, 46px -15px #3652ac; }
.product-meta { display: flex; align-items: center; justify-content: space-between; }.status { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: .73rem; }.product-problem { color: var(--muted); }.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }.tags span { padding: 4px 8px; color: var(--muted); border: 1px solid #dce1e6; background: #f0f3f5; font-size: .71rem; }.detail-toggle { display: flex; justify-content: space-between; width: 100%; margin-top: 18px; padding: 13px 0 0; color: var(--blue); border: 0; border-top: 1px solid var(--line); background: transparent; font: 800 .85rem/1.2 inherit; text-align: left; cursor: pointer; }.detail-toggle span { font-size: 1rem; }.product-details { margin-top: 15px; color: var(--muted); font-size: .88rem; }.product-details p { display: grid; gap: 4px; }.product-details strong { color: var(--ink); }.product-details[hidden] { display: none; }

.lab-section { background: rgba(17,24,34,.035); }.lab-card { min-height: 210px; border-style: dashed; border-color: #98a78e; }.lab-symbol { display: block; margin-bottom: 29px; color: var(--olive); font: 400 2rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }.lab-card p:last-child { color: var(--muted); font-size: .9rem; }.skill-card { min-height: 200px; }.skill-icon { display: block; margin-bottom: 35px; color: var(--blue); font: 400 2rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }.skill-card p { color: var(--muted); font-size: .88rem; }.prompt-card { min-height: 230px; border-top: 4px solid var(--blue); }.prompt-card p:not(.product-number) { color: var(--muted); }.thought-card { display: flex; flex-direction: column; justify-content: end; min-height: 245px; background: linear-gradient(140deg, #f8fafb 0%, #e2e8ed 100%); }.thought-card:nth-child(2) { background: linear-gradient(140deg, #f2f4ed, #dae2d6); }.thought-card:nth-child(3) { background: linear-gradient(140deg, #e7ecff, #d4dffb); }.thought-card p:not(.card-label) { max-width: 270px; margin-bottom: 0; color: var(--muted); }.arrow { position: absolute; top: 22px; right: 22px; color: var(--blue); font-size: 1.25rem; }.life-card { display: flex; flex-direction: column; justify-content: end; min-height: 260px; color: white; border: 0; background: linear-gradient(145deg, #192737, #5c718c); }.life-card::before { position: absolute; inset: 14px; content: ""; border: 1px solid rgba(255,255,255,.38); }.life-card .card-label { color: #b7d1ff; }.life-card h3 { position: relative; z-index: 1; max-width: 160px; font-size: 1.45rem; }.life-card > span { position: absolute; top: 22px; right: 22px; font-size: 1.55rem; }.life-olive { background: linear-gradient(145deg, #566350, #9aa892); }.life-cobalt { background: linear-gradient(145deg, #193e70, #5489c3); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 29px clamp(22px, 5vw, 88px); border-top: 1px solid var(--line); color: var(--muted); font: 700 .72rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .07em; }.site-footer strong { color: var(--ink); font-family: inherit; }

@keyframes scan { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; min-height: auto; gap: 42px; padding: 70px 0; }.hero-console { min-height: 390px; }.section-heading { display: block; }.section-heading > p { margin-top: -14px; }.product-grid, .prompt-grid, .thought-grid, .life-grid, .lab-grid { grid-template-columns: 1fr 1fr; }.skill-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .site-header { padding-block: 15px; }.wordmark { font-size: .67rem; }.hero { padding-top: 55px; } h1 { font-size: clamp(2.7rem, 14vw, 4.25rem); }.hero-console { min-height: 395px; }.console-core { min-height: 230px; }.console-core p { top: 28px; }.highlight-grid { grid-template-columns: repeat(2, 1fr); }.highlight-grid div { padding-block: 12px; }.highlight-grid strong { font-size: 1rem; }.highlight-grid span { font-size: .61rem; }.section { padding: 64px 0; }.now-grid, .product-grid, .prompt-grid, .thought-grid, .life-grid, .lab-grid, .skill-grid { grid-template-columns: 1fr; }.card { padding: 20px; }.product-card { min-height: auto; }.site-footer { flex-wrap: wrap; } }
.life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prompt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-visual img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.visual-browser img { object-position: 82% 50%; }
.visual-mobile img { object-position: center 28%; }
.visual-workspace img { object-position: 74% 50%; }
.detail-image { display: block; width: 100%; margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.detail-gallery img { width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.prompt-card { min-height: 290px; }
.prompt-recipe { margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); }
.prompt-recipe summary { display: flex; justify-content: space-between; color: var(--blue); font-size: .85rem; font-weight: 800; cursor: pointer; }
.prompt-recipe pre { overflow: auto; max-height: 370px; margin: 14px 0 0; padding: 14px; color: #dce8f4; background: var(--ink); font: .74rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.prompt-recipe[open] summary span { transform: rotate(180deg); }
.prompt-note { margin: 12px 0 0; padding-left: 10px; border-left: 2px solid var(--blue); font-size: .8rem; }
.thought-summary { margin-bottom: 0; }
.thought-article { width: 100%; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(17, 24, 34, .14); }
.thought-article summary { display: flex; justify-content: space-between; color: var(--blue); font-size: .82rem; font-weight: 800; cursor: pointer; }
.thought-article div { margin-top: 13px; }
.thought-article p { max-width: none !important; margin-bottom: 12px !important; color: var(--muted); font-size: .84rem; }
.thought-article p:last-child { margin-bottom: 0 !important; }
.thought-article[open] summary span { transform: rotate(180deg); }
.life-card { min-height: 300px; overflow: hidden; }
.life-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.68) saturate(.82); }
.life-card::before { z-index: 1; }
.life-copy { position: relative; z-index: 2; }
.life-card h3 { max-width: 240px; margin-bottom: 0; }
.life-card > span { z-index: 2; }

@media (max-width: 900px) { .life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .life-grid, .prompt-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.scanline { animation: none; }.card, .button { transition: none; } }

/* Reader controls: inspired by a presentation's wayfinding, but kept inside the existing field-guide system. */
.scanline { animation: none; transform: scaleX(var(--reading-progress, 0)); }
.section { scroll-margin-top: 150px; }
.chapter-dock { position: fixed; top: 50%; left: calc(50% + 648px); z-index: 15; width: 172px; padding: 14px; border: 1px solid rgba(17, 24, 34, .18); background: rgba(249, 250, 251, .88); box-shadow: 8px 8px 0 rgba(17,24,34,.08); transform: translateY(-50%); backdrop-filter: blur(14px); }
.chapter-dock-label { margin: 0 0 14px; color: var(--muted); font: 800 .6rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .09em; }
.chapter-dock-current { display: flex; align-items: end; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chapter-dock-current span { color: var(--blue); font: 800 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.chapter-dock-current strong { font-size: 1rem; letter-spacing: -.04em; }
.chapter-list { display: grid; gap: 1px; margin: 11px 0; }
.chapter-list a { display: flex; align-items: center; gap: 9px; min-height: 28px; color: var(--muted); font-size: .76rem; transition: color .2s ease, background .2s ease; }
.chapter-list a span { color: #9aa8b5; font: 700 .61rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.chapter-list a:hover, .chapter-list a[aria-current] { color: var(--blue); }
.chapter-list a[aria-current] { background: linear-gradient(90deg, var(--blue-pale), transparent); font-weight: 800; }
.chapter-list a[aria-current] span { color: var(--blue); }
.chapter-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.chapter-controls button { min-height: 32px; padding: 0 6px; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; background: transparent; font: 800 .66rem/1 inherit; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.chapter-controls button:not(:disabled):hover { color: #fff; border-color: var(--blue); background: var(--blue); }
.chapter-controls button:disabled { color: #aab3bb; cursor: not-allowed; }

.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card-featured { grid-column: 1 / -1; min-height: 0; }
.product-card-featured .product-visual { min-height: 255px; }
.product-card-featured .product-problem { max-width: 680px; }
.case-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 19px 0 4px; padding: 0; list-style: none; border: 1px solid var(--line); background: rgba(229, 235, 255, .26); }
.case-path li { display: grid; gap: 3px; min-height: 62px; padding: 10px; border-right: 1px solid var(--line); color: var(--ink-soft); font-size: .76rem; font-weight: 750; line-height: 1.35; }
.case-path li:last-child { border-right: 0; }
.case-path li span { color: var(--blue); font: 800 .6rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .07em; }
.detail-toggle { align-items: center; min-height: 47px; padding: 13px 2px 0; }
.detail-toggle span { transition: transform .2s ease; }
.detail-toggle[aria-expanded="true"] span { transform: translateY(-2px); }
.case-study-list .detail-toggle { display: grid; grid-template-columns: minmax(112px, .72fr) minmax(0, 1.45fr) auto; gap: 14px; min-height: 72px; margin-top: auto; padding: 14px 2px 0; color: var(--ink); }
.case-study-list .detail-toggle-copy { display: grid; gap: 3px; color: var(--blue); text-align: left; }
.case-study-list .detail-toggle-copy strong { font-size: .86rem; }
.case-study-list .detail-toggle-copy small { color: var(--muted); font-size: .68rem; font-weight: 650; }
.case-study-list .case-guide { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; color: var(--muted); }
.case-study-list .case-guide b { display: grid; gap: 2px; min-width: 0; color: var(--ink-soft); font-size: .7rem; font-weight: 750; line-height: 1.2; text-align: center; white-space: nowrap; }
.case-study-list .case-guide i { color: var(--blue); font: 800 .55rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; font-style: normal; letter-spacing: .06em; }
.case-study-list .case-guide em { color: #a8b4c0; font-size: .78rem; font-style: normal; }
.case-study-list .detail-toggle-arrow { color: var(--blue); font-size: 1rem; transition: transform .2s ease; }
.case-study-list .detail-toggle[aria-expanded="true"] span { transform: none; }
.case-study-list .detail-toggle[aria-expanded="true"] .detail-toggle-arrow { transform: translateY(-2px); }
.product-card.is-expanded { border-color: #9daef5; box-shadow: 8px 8px 0 rgba(40,92,255,.11); }
.product-card.is-expanded .product-details { animation: detail-in .24s ease-out both; }

.prompt-recipe summary, .thought-article summary { min-height: 37px; align-items: center; padding: 0 2px; }
.prompt-recipe summary > span:last-child, .thought-article summary > span:last-child { display: inline-block; transition: transform .2s ease; }
.prompt-recipe[open] summary > span:first-child, .thought-article[open] summary > span:first-child { transform: none; }
.prompt-recipe[open] summary > span:last-child, .thought-article[open] summary > span:last-child { transform: rotate(180deg); }
.thought-card { justify-content: flex-start; }
.thought-card .thought-article { margin-top: auto; }
.skill-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.skill-card { min-height: 166px; padding: 20px; }
.skill-icon { margin-bottom: 25px; font-size: 1.42rem; }
.skill-card h3 { font-size: 1.02rem; }
.skill-card p { margin-bottom: 0; font-size: .78rem; line-height: 1.55; }

@keyframes detail-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1699px) {
  .chapter-dock { position: sticky; top: 78px; left: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; width: auto; max-width: 1280px; margin: 0 auto; padding: 10px clamp(22px, 5vw, 88px); border-width: 0 0 1px; box-shadow: none; transform: none; }
  .chapter-dock-label { display: none; }
  .chapter-dock-current { min-width: 105px; padding: 0; border: 0; }
  .chapter-list { display: flex; gap: 12px; margin: 0; overflow: auto; }
  .chapter-list a { flex: 0 0 auto; min-height: 32px; padding: 0 3px; }
  .chapter-controls { display: flex; gap: 5px; padding: 0; border: 0; }
  .chapter-controls button { min-width: 44px; min-height: 36px; font-size: .64rem; }
}

@media (max-width: 900px) {
  .chapter-dock { top: 104px; grid-template-columns: auto 1fr; gap: 12px; }
  .chapter-list { display: none; }
  .chapter-controls { justify-self: end; }
  .product-card-featured .product-visual { min-height: 220px; }
  .skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .case-study-list .detail-toggle { grid-template-columns: 1fr auto; min-height: 64px; }
  .case-study-list .case-guide { display: none; }
  .chapter-dock { top: 99px; display: flex; width: 100%; max-width: none; padding: 8px 22px; }
  .chapter-dock-current { width: 100%; justify-content: flex-start; gap: 14px; min-width: 95px; }
  .chapter-dock-current { flex: 1 1 auto; }
  .chapter-controls { display: none; }
  .chapter-dock-current strong { font-size: .9rem; }
  .chapter-controls button { min-width: 42px; min-height: 34px; padding: 0 5px; font-size: .6rem; }
  .section { scroll-margin-top: 146px; }
  .product-card-featured .product-visual { min-height: 178px; }
  .case-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-path li:nth-child(2) { border-right: 0; }
  .case-path li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-card { min-height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .scanline { animation: none; }
  .chapter-list a, .chapter-controls button, .detail-toggle span, .prompt-recipe summary > span:last-child, .thought-article summary > span:last-child { transition: none; }
  .product-card.is-expanded .product-details { animation: none; }
}

/* Recruiter-first hero and vertical case studies. */
.hero { display: block; min-height: 0; padding: 104px 0 72px; }
.hero-copy-wrap { max-width: 900px; }
.hero h1 { max-width: 860px; margin-bottom: 22px; font-size: clamp(3.85rem, 7vw, 6.65rem); letter-spacing: -.07em; line-height: .94; }
.hero-copy { max-width: 610px; margin-bottom: 18px; }
.intro-summary { display: grid; grid-template-columns: minmax(220px, .63fr) minmax(0, 1.37fr); gap: clamp(28px, 6vw, 92px); margin-top: 78px; padding: 30px 0 0; border-top: 1px solid var(--ink); }
.intro-summary h2 { margin: 0; font-size: clamp(1.65rem, 2.7vw, 2.65rem); letter-spacing: -.06em; line-height: 1; }
.intro-body > p { max-width: 760px; margin-bottom: 24px; overflow-wrap: anywhere; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.85; }
.intro-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.intro-metrics div { min-height: 76px; padding: 12px 14px 0 0; border-right: 1px solid var(--line); }
.intro-metrics div:not(:first-child) { padding-left: 14px; }
.intro-metrics div:last-child { border-right: 0; }
.intro-metrics strong { display: block; color: var(--blue); font-size: 1.12rem; letter-spacing: -.04em; line-height: 1.1; }
.intro-metrics span { display: block; margin-top: 7px; color: var(--muted); font-size: .75rem; }

.case-study-list { grid-template-columns: minmax(0, 1fr); }
.case-study-list .product-card { display: grid; grid-template-areas: "copy evidence" "details details"; grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr); gap: 26px 38px; min-height: 0; padding: 28px; }
.case-study-list .product-copy { grid-area: copy; display: flex; flex-direction: column; min-width: 0; }
.case-study-list .product-evidence { grid-area: evidence; min-width: 0; }
.case-study-list .product-visual { min-height: 315px; height: 100%; margin: 0; }
.case-study-list .product-card-featured .product-visual { min-height: 356px; }
.case-study-list .product-details { grid-area: details; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.case-study-list .product-details p { max-width: 960px; }
.case-study-list .product-problem { max-width: none; }
.case-study-list .case-path { margin-bottom: 18px; }
.case-study-list .tags { margin-top: 0; }
.image-preview { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #dce4ec; cursor: zoom-in; }
.image-preview img { position: static; inset: auto; z-index: auto; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .28s ease, filter .28s ease; }
.image-preview:hover img { filter: brightness(.76); transform: scale(1.018); }
.image-preview > span { position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 7px 9px; color: #fff; background: rgba(17, 24, 34, .82); font: 800 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .03em; opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }
.image-preview:hover > span, .image-preview:focus-visible > span { opacity: 1; transform: translateY(0); }
.detail-preview { height: auto; max-height: 520px; margin-top: 15px; border: 1px solid var(--line); }
.detail-preview img { height: auto; max-height: 520px; object-fit: contain; background: #f3f6f8; }
.detail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-gallery .detail-preview { height: 240px; margin-top: 0; }
.detail-gallery .detail-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-lightbox { width: min(94vw, 1360px); max-width: none; max-height: 92vh; padding: 0; overflow: hidden; border: 1px solid #455261; background: var(--ink); box-shadow: 16px 16px 0 rgba(17,24,34,.18); }
.image-lightbox::backdrop { background: rgba(10, 16, 25, .76); backdrop-filter: blur(5px); }
.lightbox-frame { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; max-height: 92vh; padding: 54px 18px 16px; }
.lightbox-frame img { display: block; max-width: 100%; max-height: calc(92vh - 108px); margin: 0 auto; object-fit: contain; }
.lightbox-frame p { margin: 12px 0 0; color: #b8c5d2; font-size: .8rem; text-align: center; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 1; min-height: 34px; padding: 0 10px; color: #fff; border: 1px solid #708097; background: rgba(17,24,34,.88); font: 800 .7rem/1 inherit; cursor: pointer; }

/* Contact stays lightweight in the reading flow and expands only on request. */
.contact-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 34px; padding: 0 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; background: rgba(249,250,251,.72); font: 800 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.contact-trigger:hover { color: #fff; border-color: var(--blue); background: var(--blue); }
.header-contact { justify-self: end; }
.footer-contact { color: var(--blue); }
.wechat-contact { width: min(92vw, 400px); padding: 0; overflow: visible; border: 1px solid #455261; background: #f8fafb; box-shadow: 14px 14px 0 rgba(17,24,34,.18); }
.wechat-contact::backdrop { background: rgba(10,16,25,.7); backdrop-filter: blur(5px); }
.wechat-contact-frame { position: relative; display: grid; justify-items: center; padding: 40px 34px 30px; text-align: center; }
.wechat-contact-close { position: absolute; top: 11px; right: 11px; min-height: 32px; padding: 0 9px; color: var(--ink); border: 1px solid var(--line); background: #fff; font: 800 .68rem/1 inherit; cursor: pointer; }
.contact-kicker { margin-bottom: 10px; color: var(--blue); font: 800 .66rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .11em; }
.wechat-contact h2 { margin-bottom: 10px; font-size: clamp(2rem, 6vw, 2.75rem); }
.wechat-contact p:not(.contact-kicker) { margin-bottom: 22px; color: var(--muted); font-size: .88rem; }
.wechat-contact img { display: block; width: min(100%, 278px); aspect-ratio: 1; object-fit: contain; background: #fff; }
.wechat-contact small { margin-top: 16px; color: var(--muted); font-size: .76rem; }

@media (max-width: 900px) {
  .intro-summary { grid-template-columns: 1fr; gap: 22px; margin-top: 56px; }
  .case-study-list .product-card { grid-template-columns: 1fr; grid-template-areas: "copy" "evidence" "details"; gap: 22px; }
  .case-study-list .product-visual, .case-study-list .product-card-featured .product-visual { min-height: 260px; }
}

@media (max-width: 620px) {
  .hero { padding: 66px 0 52px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.45rem); letter-spacing: -.075em; }
  .hero h1 em { display: block; }
  .intro-summary { margin-top: 48px; padding-top: 24px; }
  .intro-body > p { font-size: .94rem; }
  .intro-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-metrics div:nth-child(2) { border-right: 0; }
  .intro-metrics div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .case-study-list .product-card { padding: 20px; }
  .case-study-list .product-visual, .case-study-list .product-card-featured .product-visual { min-height: 205px; }
  .image-preview > span { opacity: 1; transform: none; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery .detail-preview { height: 205px; }
  .image-lightbox { width: 96vw; }
  .lightbox-frame { padding: 48px 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .image-preview img, .image-preview > span { transition: none; }
}

/* Life is a small photo journal rather than another fixed card grid. */
.life-carousel { display: block; position: relative; }
.life-track { display: flex; gap: 14px; overflow-x: auto; padding: 0 0 12px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.life-track::-webkit-scrollbar { display: none; }
.life-track .life-card { flex: 0 0 calc((100% - 14px) / 2); min-height: 330px; scroll-snap-align: start; }
.life-carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.life-carousel-control { display: grid; place-items: center; width: 42px; height: 38px; color: var(--ink); border: 1px solid var(--line); background: rgba(249,250,251,.8); font: 800 1.1rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.life-carousel-control:hover { color: #fff; border-color: var(--blue); background: var(--blue); }

@media (max-width: 620px) {
  .life-track { gap: 12px; margin-right: -22px; padding-right: 22px; }
  .life-track .life-card { flex-basis: 84%; min-height: 300px; }
}

/* Real product screenshots replace the early placeholder drawings completely. */
.case-study-list .product-visual::before,
.case-study-list .product-visual::after { display: none; }
.case-study-list .product-visual .image-preview img { object-position: center; }
.case-study-list .product-visual-stack { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); grid-template-rows: minmax(0, 1fr); justify-content: end; min-height: 228px; height: 228px; gap: 10px; padding: 10px; background: #edf1f4; }
.product-visual-stack .image-preview { min-height: 0; border: 1px solid var(--line); background: #f8fafb; }
.product-visual-stack .image-preview img { object-fit: contain; }

@media (max-width: 620px) {
  .case-study-list .product-visual-stack { min-height: 168px !important; height: 168px; }
}

/* Human-in-the-loop workflows are displayed as operational systems, not inflated results. */
.workflow-section { background: linear-gradient(118deg, rgba(40, 92, 255, .055), transparent 48%, rgba(102, 115, 92, .055)); }
.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.workflow-grid { align-items: start; }
.workflow-card { display: flex; flex-direction: column; min-height: 520px; border-top: 3px solid var(--blue); background: rgba(249, 250, 251, .9); }
.workflow-meta { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.workflow-summary { max-width: 460px; color: var(--muted); }
.workflow-path { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 24px 0; padding: 1px; list-style: none; background: var(--line); }
.workflow-path li { display: grid; gap: 11px; min-height: 88px; padding: 14px; background: #f7f9fb; }
.workflow-path span { color: var(--blue); font: 800 .67rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.workflow-path strong { font-size: .91rem; line-height: 1.3; }
.workflow-details { margin-top: 15px; color: var(--muted); font-size: .88rem; }
.workflow-details p { display: grid; gap: 4px; }
.workflow-details strong { color: var(--ink); }
.workflow-details[hidden] { display: none; }
.workflow-card .detail-toggle { display: grid; grid-template-columns: minmax(116px, .78fr) minmax(0, 1.32fr) auto; align-items: center; gap: 12px; min-height: 72px; margin-top: auto; padding: 14px 2px 0; color: var(--ink); }
.workflow-card .detail-toggle-copy { display: grid; gap: 3px; color: var(--blue); text-align: left; }
.workflow-card .detail-toggle-copy strong { font-size: .86rem; }
.workflow-card .detail-toggle-copy small { color: var(--muted); font-size: .66rem; font-weight: 650; }
.workflow-card .workflow-guide { display: flex; align-items: center; justify-content: flex-end; gap: 5px; min-width: 0; color: var(--muted); }
.workflow-card .workflow-guide b { display: grid; gap: 2px; min-width: 0; color: var(--ink-soft); font-size: .68rem; font-weight: 750; line-height: 1.2; text-align: center; white-space: nowrap; }
.workflow-card .workflow-guide i { color: var(--blue); font: 800 .55rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; font-style: normal; letter-spacing: .06em; }
.workflow-card .workflow-guide em { color: #a8b4c0; font-size: .74rem; font-style: normal; }
.workflow-card .detail-toggle-arrow { color: var(--blue); font-size: 1rem; transition: transform .2s ease; }
.workflow-card .detail-toggle[aria-expanded="true"] span { transform: none; }
.workflow-card .detail-toggle[aria-expanded="true"] .detail-toggle-arrow { transform: translateY(-2px); }

@media (max-width: 620px) {
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card { min-height: 0; }
  .workflow-path li { min-height: 74px; padding: 12px; }
  .workflow-card .detail-toggle { grid-template-columns: 1fr auto; min-height: 64px; }
  .workflow-card .workflow-guide { display: none; }
}

/* The homepage introduces Xiaopeng before leading visitors into the handbook. */
.hero { position: relative; isolation: isolate; }
.hero-copy-wrap, .intro-summary { position: relative; z-index: 1; }
.hero-portrait { position: absolute; top: 54px; right: clamp(-8px, -1vw, 0px); z-index: 0; width: clamp(290px, 26vw, 385px); height: clamp(370px, 31vw, 455px); margin: 0; pointer-events: none; }
.hero-portrait::before { position: absolute; top: 16%; right: 5%; z-index: -1; width: 78%; aspect-ratio: 1; content: ""; border: 1px solid rgba(40, 92, 255, .2); border-radius: 50%; background: radial-gradient(circle, rgba(40, 92, 255, .12), rgba(40, 92, 255, .025) 58%, transparent 59%); }
.hero-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(14px 16px 0 rgba(17, 24, 34, .08)); }
.wordmark { white-space: nowrap; }
.hero h1 { max-width: 1120px; margin-bottom: 18px; font-size: clamp(3.1rem, 5vw, 5rem); letter-spacing: -.055em; line-height: 1.06; }
.hero h1 span { color: var(--blue); font-weight: 500; }
.hero-tagline { max-width: 670px; margin-bottom: 24px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.45vw, 1.3rem); font-weight: 720; line-height: 1.55; }
.hero-copy { max-width: 790px; color: var(--ink-soft); font-size: 1rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.hero-actions .button { margin-top: 0; }
.hero-secondary-action { display: inline-flex; align-items: center; gap: 10px; padding: 12px 4px; color: var(--ink-soft); border-bottom: 1px solid var(--ink); font-weight: 750; font-size: .9rem; }
.hero-secondary-action:hover { color: var(--blue); border-color: var(--blue); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 620px; margin-top: 36px; border-top: 1px solid var(--line); }
.hero-proof > div { display: grid; gap: 4px; min-height: 70px; padding: 13px 16px 0 0; border-right: 1px solid var(--line); }
.hero-proof > div:not(:first-child) { padding-left: 16px; }
.hero-proof > div:last-child { border-right: 0; }
.hero-proof strong { font: 800 1.2rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.05em; }
.hero-proof span { color: var(--muted); font-size: .75rem; }

@media (min-width: 901px) {
  .hero-copy-wrap { max-width: min(720px, 64%); }
  body:not(.is-past-hero) .chapter-dock { pointer-events: none; opacity: 0; transform: translateX(22px); }
  .chapter-dock { transition: opacity .25s ease, transform .25s ease; }
}

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

@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.7rem, 10.4vw, 3.55rem); line-height: 1.08; }
  .hero-tagline { margin-bottom: 18px; font-size: 1rem; }
  .hero-copy { font-size: .93rem; }
  .hero-proof { margin-top: 30px; }
  .hero-proof > div { min-height: 62px; padding-right: 10px; }
  .hero-proof > div:not(:first-child) { padding-left: 10px; }
  .hero-proof strong { font-size: 1rem; }
}

/* Final reading polish: copy stays whole; chapter controls stay subordinate to the site navigation. */
.hero-copy { max-width: 845px; }

@media (min-width: 901px) {
  .hero-copy-wrap { max-width: min(820px, 70%); }
  .chapter-dock { min-height: 56px; gap: 12px; padding-block: 7px; }
  .chapter-list { gap: 9px; }
  .chapter-list a { min-height: 28px; font-size: .73rem; }
  .chapter-controls button { min-height: 30px; font-size: .61rem; }
}

@media (min-width: 621px) {
  .hero-copy-wrap { position: static; z-index: auto; }
  .hero-copy-wrap > :not(.hero-portrait) { position: relative; z-index: 1; }
}

@media (max-width: 900px) {
  body:not(.is-past-hero) .chapter-dock { pointer-events: none; opacity: 0; transform: translateY(-8px); }
  .chapter-dock { transition: opacity .25s ease, transform .25s ease; }
}

/* Phone edition: people and project evidence lead; long explanations follow on demand. */
@media (max-width: 620px) {
  .hero { padding: 30px 0 46px; }
  .hero-copy-wrap { max-width: none; }
  .hero h1 { margin-bottom: 12px; font-size: clamp(2.9rem, 13.2vw, 3.75rem); }
  .hero-tagline { max-width: 310px; margin-bottom: 0; font-size: .95rem; line-height: 1.5; }
  .hero-portrait { display: block; position: static; width: min(79vw, 296px); height: 258px; margin: 4px auto -2px; }
  .hero-portrait::before { display: none; }
  .hero-portrait img { filter: drop-shadow(10px 13px 0 rgba(17, 24, 34, .08)); }
  .hero-copy { display: none; }
  .hero-actions { gap: 10px; margin-top: 12px; }
  .hero-actions .button { min-height: 51px; padding-inline: 18px; }
  .hero-secondary-action { padding-block: 10px; font-size: .82rem; }
  .hero-proof { max-width: none; margin-top: 22px; }
  .hero-proof > div { min-height: 56px; }
  .intro-summary { margin-top: 34px; }

  .case-study-list .product-card { display: flex; flex-direction: column; gap: 18px; padding: 16px; }
  .case-study-list .product-evidence { order: -1; }
  .case-study-list .product-visual,
  .case-study-list .product-card-featured .product-visual { min-height: 216px; height: 216px; }
  .case-study-list .product-visual-stack { min-height: 190px !important; height: 190px; }
  .case-study-list .product-copy { width: 100%; }
  .case-study-list .product-problem { margin-bottom: 12px; }
  .case-study-list .case-path { margin-top: 0; }

  .workflow-grid, .skill-grid, .prompt-grid { display: flex; gap: 12px; overflow-x: auto; margin-right: -22px; padding: 0 22px 12px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .workflow-grid::-webkit-scrollbar, .skill-grid::-webkit-scrollbar, .prompt-grid::-webkit-scrollbar { display: none; }
  .workflow-card, .skill-card, .prompt-card { flex: 0 0 84%; min-height: 0; scroll-snap-align: start; }
  .workflow-card { padding: 20px; }
  .workflow-summary { margin-bottom: 14px; }
  .workflow-path { margin: 16px 0; }
  .skill-card { min-height: 168px; }
  .prompt-card { min-height: 212px; }
}
