@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #111614;
  --surface: #191f1c;
  --surface-raised: #202824;
  --text: #f0f3ee;
  --muted: #a4b0a8;
  --subtle: #829087;
  --line: #333e36;
  --accent: #b7f6cb;
  --accent-ink: #15231a;
  --blog-bg: #c6f3d4;
  --blog-text: #173524;
  --blog-muted: #3e6550;
  --fund-bg: #202934;
  --fund-text: #eff4fb;
  --fund-muted: #a7b7cc;
  --mini-bg: #2c2423;
  --mini-text: #f8eee7;
  --mini-muted: #c7b3aa;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7f5;
  --surface: #eaf0eb;
  --surface-raised: #fff;
  --text: #172c20;
  --muted: #526657;
  --subtle: #627567;
  --line: #cbd7ce;
  --accent: #237d47;
  --accent-ink: #fff;
  --blog-bg: #c6f3d4;
  --blog-text: #173524;
  --blog-muted: #3e6550;
  --fund-bg: #e1eaf6;
  --fund-text: #1c334f;
  --fund-muted: #4b6482;
  --mini-bg: #f5e8e3;
  --mini-text: #4e2922;
  --mini-muted: #75564c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
body, .site-header { transition: background-color .25s, color .25s; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
.eyebrow { color: var(--muted); font: 500 .8125rem/1.6 var(--mono); letter-spacing: .1em; }
.skip-link { position: fixed; left: 1rem; top: -10rem; z-index: 50; padding: .7rem 1rem; background: var(--accent); color: var(--accent-ink); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent); backdrop-filter: blur(16px); }
.header-inner { height: 88px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.125rem; letter-spacing: .01em; white-space: nowrap; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--accent); color: var(--accent-ink); font: 700 1.05rem var(--mono); border-radius: 9px; }
.brand-dot { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.site-header nav a { color: var(--muted); font-size: .9375rem; transition: color .2s; }
.site-header nav a:hover { color: var(--text); }
.theme-toggle { display: grid; place-items: center; height: 40px; width: 40px; background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.moon-icon, [data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 70px; padding-top: 83px; position: relative; }
.hero-copy { padding-top: 24px; }
.hero .eyebrow { letter-spacing: .07em; }
.tiny-cross { margin-right: 10px; color: var(--accent); font-size: 1.2rem; }
h1 { margin-top: 26px; font-size: clamp(3.5rem, 5.6vw, 5rem); line-height: 1.22; font-weight: 750; letter-spacing: -.06em; }
.accent-word { position: relative; color: var(--accent); }
.word-period { margin-left: -.03em; }
.hero-description { margin-top: 28px; color: var(--muted); font-size: 1.0625rem; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid transparent; border-radius: 8px; padding: 11px 23px; font-weight: 600; font-size: .9375rem; transition: background .2s, transform .2s, border-color .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: color-mix(in srgb, var(--accent) 88%, white); }
.button-secondary { background: transparent; border-color: var(--line); color: var(--text); }
.button-secondary:hover { background: var(--surface); border-color: var(--muted); }
.hero-footnote { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 31px; color: var(--subtle); font-size: .8125rem; }
.hero-footnote .mono { font-size: .75rem; letter-spacing: .04em; }
.footnote-divider { width: 1px; height: 13px; background: var(--line); }
.portrait-composition { position: relative; padding: 0 16px 0 0; min-width: 0; }
.portrait-topline, .portrait-bottomline { display: flex; justify-content: space-between; align-items: center; color: var(--subtle); font-size: .75rem; }
.portrait-topline { margin: 0 0 12px; letter-spacing: .025em; }
.portrait-frame { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; transform-style: preserve-3d; transition: transform .35s ease; box-shadow: 16px 16px 0 -1px var(--bg), 16px 16px 0 0 var(--line); }
.portrait { width: 100%; height: 100%; object-fit: cover; }
.portrait-caption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 26px 22px 16px; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #f5f8f6; font-size: .75rem; }
.portrait-caption .mono { color: #b7f6cb; letter-spacing: .02em; }
.portrait-sticker { position: absolute; top: -13px; right: -17px; display: flex; gap: 11px; align-items: center; transform: rotate(7deg); background: var(--accent); color: var(--accent-ink); padding: 13px 17px; font: 700 .75rem/1.3 var(--mono); border-radius: 3px; box-shadow: 0 8px 20px #0002; }
.sticker-symbol { font: 400 3rem/1 var(--mono); }
.portrait-bottomline { margin-top: 32px; gap: 8px; }
.coordinate-mark { color: var(--accent); font-size: 1.2rem; }
.portrait-signature { margin-left: auto; font-size: .75rem; }
.hero-bottom { grid-column: 1/-1; display: flex; align-items: center; gap: 14px; margin-top: 74px; padding-bottom: 32px; color: var(--subtle); border-bottom: 1px solid var(--line); font-size: .8125rem; }
.hero-bottom .mono { font-size: .75rem; letter-spacing: .08em; }
.scroll-line { flex: 1; height: 1px; background: var(--line); max-width: 66px; }
.hero-bottom > :last-child { margin-left: auto; }

.about-section { display: grid; grid-template-columns: 1.08fr 1fr; gap: 80px; padding-top: 126px; padding-bottom: 112px; }
.about-copy h2 { margin-top: 15px; font-size: clamp(2rem, 2.8vw, 2.5rem); }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.9; margin-top: 23px; }
.about-copy > p + p:not(.eyebrow) { margin-top: 12px; }
.life-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .8125rem; color: var(--muted); margin-top: 26px; }
.life-tags > :last-child { color: var(--subtle); }
.developer-note { align-self: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transform: rotate(-2deg); overflow: hidden; }
.note-header { display: flex; justify-content: space-between; gap: 10px; padding: 14px 21px; border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.note-header > :last-child { opacity: .7; }
.note-body { padding: 24px 23px 25px; }
.note-comment { display: block; color: var(--subtle); font-size: .8125rem; margin-bottom: 19px; }
.note-body > p { display: flex; gap: 19px; font-size: .875rem; line-height: 2.45; }
.line-number { color: var(--subtle); font-size: .75rem; flex-shrink: 0; }
.note-key { color: var(--muted); margin-right: 12px; }
.note-value { color: var(--text); }
.note-lastline { margin-top: 25px; font-size: .875rem; }
.terminal-prompt { color: var(--accent); margin-right: 10px; }
.cursor { animation: blink 1.4s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }
.closing-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 57px; }
.closing-inner h2 { margin-top: 13px; font-size: 2.125rem; }
.closing-copy { min-width: 0; }
.closing-description { color: var(--muted); margin-top: 13px; font-size: .9375rem; }
.closing-inner .button { flex-shrink: 0; }
.contact-channels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.contact-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: .8125rem; line-height: 1.5; transition: color .2s, border-color .2s, background-color .2s, transform .2s; }
.contact-link svg { flex-shrink: 0; }
a.contact-link:hover { color: var(--accent); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); transform: translateY(-3px); }
.contact-placeholder { color: var(--subtle); border-style: dashed; }
.contact-placeholder small { padding: 2px 5px; border-radius: 4px; background: var(--line); color: var(--muted); font-size: .625rem; }
.contact-dialog { width: min(380px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; margin: auto; overflow-y: auto; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 100px #0006; }
.contact-dialog::backdrop { background: #050b08b3; backdrop-filter: blur(6px); }
.contact-dialog[open] { animation: contactIn .2s ease both; }
.contact-dialog-inner { padding: 26px; }
.contact-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.contact-dialog-header .eyebrow { font-size: .6875rem; }
.contact-dialog-header h2 { margin-top: 6px; font-size: 1.375rem; font-weight: 600; }
.contact-dialog-close { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; line-height: 1; transition: color .2s, border-color .2s; }
.contact-dialog-close:hover { color: var(--accent); border-color: var(--accent); }
.contact-dialog-description { margin-top: 14px; color: var(--muted); font-size: .875rem; }
.contact-qr-frame { display: grid; place-items: center; width: min(100%, 248px); aspect-ratio: 1; margin: 24px auto 18px; padding: 10px; background: #fff; border-radius: 12px; }
.contact-qr { width: 100%; height: auto; }
.contact-qr-error { padding: 14px; color: #526657; font-size: .875rem; text-align: center; }
.contact-dialog-tip { color: var(--subtle); font-size: .75rem; text-align: center; }
.contact-original { display: block; width: fit-content; margin: 12px auto 0; color: var(--accent); font-size: .8125rem; }
.contact-original:hover { text-decoration: underline; text-underline-offset: 4px; }
body:has(.contact-dialog[open]) { overflow: hidden; }
@keyframes contactIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-break { display: none; }
.footer-inner { padding-block: 29px; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--subtle); font-size: .8125rem; }
.footer-inner a { font-size: .75rem; letter-spacing: .05em; }
.footer-inner a:hover { color: var(--accent); }
.footer-message { font-size: .75rem; }

[hidden] { display: none !important; }

.reading-progress { position: absolute; inset: auto 0 -1px; height: 3px; overflow: hidden; }
.reading-progress > span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(var(--reading-progress, 0)); transform-origin: left; }
.projects-nav { position: fixed; right: 18px; top: 50%; z-index: 25; display: grid; gap: 3px; padding: 10px; background: #101916de; border: 1px solid #ffffff20; border-radius: 30px; backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translate(12px, -50%); transition: opacity .35s, transform .35s, visibility .35s; }
.projects-nav.is-active { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.projects-nav a { display: flex; align-items: center; gap: 8px; padding: 8px 5px; min-height: 36px; color: #a9b8b0; font-size: .75rem; }
.projects-nav a:hover, .projects-nav a[aria-current] { color: #d5ffe2; }
.nav-dot { width: 5px; height: 5px; background: currentColor; border-radius: 50%; transition: box-shadow .3s, transform .3s; }
.projects-nav a[aria-current] .nav-dot { transform: scale(1.25); box-shadow: 0 0 0 4px #b7f6cb18; }
.showcase-anchor { height: 0; }
.showcase { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 88px); padding-block: 38px; --tilt-x: 0deg; --tilt-y: 0deg; --pointer-x: 70%; --pointer-y: 50%; }
.showcase::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(450px circle at var(--pointer-x) var(--pointer-y), var(--spotlight, #fff0), transparent 80%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.showcase:hover::before { opacity: 1; }
.showcase-shell { position: relative; z-index: 2; min-height: max(640px, calc(100svh - 164px)); display: grid; grid-template-columns: 47% 46%; grid-template-rows: auto 1fr auto; column-gap: 7%; }
.showcase-topline, .showcase-bottom { grid-column: 1 / -1; }
.showcase-topline, .showcase-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; color: var(--showcase-muted); font-size: .875rem; }
.showcase-topline > .mono { font-size: .8125rem; letter-spacing: .06em; }
.showcase-bottom { padding-top: 34px; font-size: .8125rem; }
.showcase-bottom > .mono { font-size: .75rem; }
.showcase-bottom a { padding-bottom: 2px; border-bottom: 1px solid currentColor; transition: color .25s, transform .25s; }
.showcase-bottom a:hover { color: var(--showcase-text); transform: translateX(4px); }
.showcase-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%; min-width: 0; padding-block: 54px; color: var(--showcase-text); }
.product-name { font-size: 1.125rem; font-weight: 550; margin-bottom: 23px; color: var(--showcase-muted); }
.showcase h2 { font-size: clamp(2.5rem, 3.6vw, 3.5rem); line-height: 1.35; letter-spacing: -.055em; font-weight: 650; }
.showcase-description { margin-top: 23px; color: var(--showcase-muted); font-size: 1.0625rem; line-height: 1.85; }
.showcase-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; color: var(--showcase-muted); font-size: .875rem; }
.showcase-tags > span + span::before { content: '·'; margin-right: 10px; opacity: .6; }
.showcase-button { margin-top: 30px; background: var(--showcase-accent); color: var(--showcase-ink); border: none; }
.showcase-button:hover { background: color-mix(in srgb, var(--showcase-accent) 88%, white); }
.button[data-link]::after { content: '↗'; margin-left: 13px; transition: transform .25s; }
.button[data-link]:hover::after { transform: translate(3px, -3px); }
.showcase a:focus-visible, .showcase button:focus-visible { outline-color: var(--showcase-accent); }
.product-visual { position: relative; grid-column: 2; grid-row: 2; width: 100%; min-width: 0; align-self: center; margin-block: 24px; --entry-y: 0px; --entry-scale: 1; }
.showcase-blog { --showcase-bg: #eeece5; --showcase-text: #233c31; --showcase-muted: #687369; --showcase-accent: #284b39; --showcase-ink: #fff; --spotlight: #d3e3c9c0; background: var(--showcase-bg); }
.blog-watermark { position: absolute; left: 2%; bottom: 4%; z-index: -1; color: #d7dcd1; font: 800 clamp(5rem, 13vw, 12rem)/1 var(--sans); letter-spacing: -.07em; pointer-events: none; }
.browser-preview { overflow: hidden; border: 1px solid #bbc8b9; border-radius: 17px; background: #f9faf7; box-shadow: 0 30px 80px #19372120, 0 4px 10px #1937210b; transform: perspective(1100px) translateY(var(--entry-y)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotate(-3deg) scale(var(--entry-scale)); transition: transform .85s cubic-bezier(.2,.75,.25,1), opacity .8s; }
.browser-chrome { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding-inline: 18px; background: #e9eee6; border-bottom: 1px solid #d9e0d6; color: #657062; font-size: .75rem; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #b4c3ae; }
.window-dots i:first-child { background: #dfac98; }
.window-dots i:nth-child(2) { background: #dfce9a; }
.blog-preview-body { padding: 22px; color: #293e31; }
.preview-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.preview-brand > img { width: 44px; height: 44px; border-radius: 50%; }
.preview-brand strong { font-size: .9375rem; display: block; }
.preview-brand div > span { display: block; margin-top: 2px; font-size: .75rem; color: #748070; }
.preview-mark { margin-left: auto; font-size: 2rem; color: #6f8569; }
.preview-kicker { color: #84927d; font-size: .75rem; }
.columns-heading { padding-top: 4px; }
.columns-heading h3 { margin-top: 6px; font-size: 1.375rem; font-weight: 650; letter-spacing: -.02em; }
.columns-heading p { color: #71816b; font-size: .8125rem; margin-top: 5px; }
.column-list { display: grid; gap: 10px; margin-top: 20px; }
.column-card { display: flex; align-items: center; gap: 13px; min-height: 88px; padding: 11px; background: #fff9; border: 1px solid #e0e6db; border-radius: 11px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.column-card:hover, .column-card:focus-visible { transform: translateX(4px); border-color: #9eaf94; box-shadow: 0 4px 18px #2f4f2410; }
.column-thumb { width: 108px; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; flex-shrink: 0; border-radius: 5px; background: #eff5fc; }
.column-summary { min-width: 0; }
.column-summary strong { display: block; font-size: .9375rem; font-weight: 650; }
.column-summary > span { display: block; font-size: .75rem; line-height: 1.6; color: #7b8774; margin-top: 5px; }
.column-arrow { margin-left: auto; font-size: 1rem; color: #809775; transition: transform .3s; }
.column-card:hover .column-arrow { transform: translate(2px, -2px); }
.preview-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #e2e8de; margin-top: 17px; padding-top: 13px; color: #879580; font-size: .75rem; }
.preview-footer a { color: #526c48; }
.preview-footer a:hover { color: #284b39; }
.showcase-fund { --showcase-bg: #101827; --showcase-text: #f0f5ff; --showcase-muted: #9fb0c9; --showcase-accent: #aecbff; --showcase-ink: #152442; --spotlight: #426da628; background: radial-gradient(ellipse at 77% 48%, #233450, #101827 65%); }
.fund-orbit { position: absolute; right: -8%; top: 50%; width: 60%; aspect-ratio: 1; transform: translateY(-50%); z-index: -1; pointer-events: none; }
.fund-orbit span { position: absolute; inset: 8%; border: 1px solid #8daede15; border-radius: 50%; }
.fund-orbit span:last-child { inset: 21%; border-color: #8daede1c; }
.fund-visual { height: 425px; width: 94%; justify-self: center; display: grid; place-items: center; }
.fund-icon-wrap { width: 78%; max-width: 350px; filter: drop-shadow(0 24px 38px #070d1ac0); }
.fund-icon { overflow: hidden; aspect-ratio: 1; border-radius: 28%; transform: perspective(1000px) translateY(var(--entry-y)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--entry-scale)); transition: transform .8s cubic-bezier(.2,.75,.25,1), opacity .8s; }
.fund-product-logo { max-width: none; width: 106%; height: 106%; margin: -3%; object-fit: cover; }
.floating-label { position: absolute; display: flex; align-items: center; gap: 9px; padding: 11px 17px; border: 1px solid #8fb8fd26; border-radius: 12px; color: #b8c9e3; font-size: .8125rem; background: #1b2a3ee8; backdrop-filter: blur(12px); box-shadow: 0 10px 35px #02061038; transition: color .35s, border-color .35s, background .35s; }
.floating-label > span { font-size: 1.15rem; color: #90b4ed; }
.floating-label.is-selected { color: #fff; border-color: #9dc5ff8c; background: #2b476c; }
.label-holdings { top: 15px; left: -2%; }
.label-watchlist { top: 45%; right: -4%; }
.label-import { bottom: 1px; left: 18%; }
.feature-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.feature-switch button { padding: 8px 13px; border-radius: 30px; border: 1px solid #526c933d; background: transparent; color: #a6b9d4; font-size: .8125rem; transition: background .25s, color .25s, border-color .25s; }
.feature-switch button:hover { background: #8aafff16; }
.feature-switch button[aria-pressed="true"] { background: #a6c6ff; color: #192c4c; border-color: #a6c6ff; }
.feature-detail { color: #8fa5c4; font-size: .875rem; margin-top: 14px; min-height: 50px; max-width: 360px; }
.showcase-fund .showcase-button { margin-top: 12px; }
.showcase-status { margin-top: 20px; font-size: .8125rem; color: var(--showcase-muted); line-height: 1.8; }
.showcase-status > span { margin-right: 7px; color: #dfc191; }
.showcase-mini { --showcase-bg: #281f1c; --showcase-text: #fff6ec; --showcase-muted: #cbb6a7; --showcase-accent: #f4cda8; --showcase-ink: #38251e; --spotlight: #e1ad7830; padding-block: 28px; background: radial-gradient(ellipse at 75% 48%, #483329, #281f1c 65%); }
.showcase-mini .showcase-bottom { padding-top: 24px; }
.mini-visual { display: flex; justify-content: center; margin-block: 12px; }
/* 竖图放大时按窗口高度控制宽度，保留完整画面和上下导航空间。 */
.mini-preview { width: min(100%, clamp(312px, calc((100svh - 300px) * .5628), 360px)); border: 1px solid #d2ab8442; border-radius: 20px; background: #3b2b22; overflow: hidden; box-shadow: 0 28px 75px #120c0980; transform: translateY(var(--entry-y)); transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .8s; }
.mini-preview-header { display: flex; align-items: center; gap: 9px; padding: 8px 13px; color: #f0ddcc; font-size: .8125rem; }
.mini-preview-header img { width: 26px; height: 26px; border-radius: 6px; }
.mini-preview-label { color: #b59b87; font-size: .75rem; margin-left: auto; }
.mini-scene { background: #e8c6a4; }
.mini-opening-image { display: block; width: 100%; height: auto; }
.mini-preview-footer { display: flex; justify-content: space-between; gap: 10px; padding: 8px 14px; color: #c6ae9b; font-size: .75rem; }
.showcase-mini .showcase-tags { gap: 8px; }
.showcase-mini .showcase-tags span { padding: 5px 13px; border: 1px solid #f5d9c63d; border-radius: 30px; background: #39271d4d; backdrop-filter: blur(5px); font-size: .8125rem; }
.showcase-mini .showcase-tags > span + span::before { content: none; }
.asset-error .product-visual img { visibility: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .portrait-composition, .hero-bottom { animation: heroIn .9s cubic-bezier(.16,1,.3,1) both; }
  .hero-copy .eyebrow { animation-delay: .05s; }
  .hero-copy h1 { animation-delay: .15s; }
  .hero-description { animation-delay: .25s; }
  .hero-actions { animation-delay: .35s; }
  .hero-footnote { animation-delay: .45s; }
  .portrait-composition { animation-delay: .3s; }
  .hero-bottom { animation-delay: .6s; }
  .portrait-sticker { animation: stickerFloat 5s ease-in-out 1.5s infinite; }
  .scroll-line { position: relative; overflow: hidden; }
  .scroll-line::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); animation: scrollHint 2.8s ease-in-out infinite; }
  .motion-ready .showcase-copy > * { opacity: 0; transform: translateY(45px); filter: blur(6px); transition: opacity .8s, transform .9s cubic-bezier(.16,1,.3,1), filter .8s; transition-delay: var(--enter-delay, 0ms); }
  .showcase-copy > :nth-child(2) { --enter-delay: 90ms; }
  .showcase-copy > :nth-child(3) { --enter-delay: 180ms; }
  .showcase-copy > :nth-child(4) { --enter-delay: 260ms; }
  .showcase-copy > :nth-child(5) { --enter-delay: 330ms; }
  .showcase-copy > :nth-child(6), .showcase-copy > :nth-child(7) { --enter-delay: 390ms; }
  .motion-ready .is-inview .showcase-copy > *, .motion-ready .showcase-copy:focus-within > * { opacity: 1; transform: translateY(0); filter: blur(0); }
  .motion-ready .showcase:not(.is-inview) .product-visual { --entry-y: 55px; --entry-scale: .88; }
  .motion-ready .showcase:not(.is-inview) .browser-preview, .motion-ready .showcase:not(.is-inview) .fund-icon, .motion-ready .showcase:not(.is-inview) .mini-preview { opacity: 0; }
  .blog-visual { animation: productFloat 6s ease-in-out infinite; }
  .fund-icon-wrap { animation: iconFloat 5.4s ease-in-out infinite; }
  .floating-label { animation: iconFloat 6s ease-in-out infinite; }
  .label-watchlist { animation-delay: -2s; }
  .label-import { animation-delay: -4s; }
  .motion-ready .showcase:not(.is-inview) .blog-visual, .motion-ready .showcase:not(.is-inview) .fund-icon-wrap, .motion-ready .showcase:not(.is-inview) .floating-label { animation-play-state: paused; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stickerFloat { 0%, 100% { transform: rotate(7deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-8px); } }
@keyframes scrollHint { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
@keyframes productFloat { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }
@keyframes iconFloat { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

@media (max-width: 1100px) {
  .projects-nav { right: 8px; padding: 8px; }
  .projects-nav a { width: 14px; padding-inline: 4px; }
  .projects-nav a > span:last-child { display: none; }
  .showcase-copy { width: 100%; }
  .showcase h2 { font-size: 2.6rem; }
  .product-visual { width: 100%; }
  .blog-preview-body { padding: 17px; }
  .browser-chrome { padding-inline: 13px; }
  .browser-chrome > .mono { font-size: .75rem; }
  .column-thumb { width: 84px; }
  .column-card { padding: 10px; gap: 10px; }
  .column-summary strong { font-size: .875rem; }
  .preview-footer > :last-child { display: none; }
  .fund-visual { width: 94%; height: 370px; }
  .floating-label { padding: 9px 12px; }
  .label-watchlist { right: -1%; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .projects-nav { display: none; }
  .showcase { min-height: calc(100svh - 72px); padding-block: 26px; }
  .showcase-shell { min-height: max(640px, calc(100svh - 124px)); display: flex; flex-direction: column; }
  .showcase-copy { width: 100%; flex: 0; padding: 40px 0 32px; justify-content: flex-start; }
  .showcase-topline { font-size: .75rem; gap: 10px; }
  .showcase-topline > .mono { font-size: .75rem; }
  .product-name { font-size: 1rem; margin-bottom: 16px; }
  .showcase h2 { font-size: clamp(2rem, 8.7vw, 2.7rem); line-height: 1.35; }
  .showcase-description { font-size: 1rem; margin-top: 19px; }
  .showcase-tags { margin-top: 17px; font-size: .8125rem; }
  .showcase-button { margin-top: 24px; }
  .product-visual { position: relative; inset: auto; width: min(100%, 440px); align-self: center; margin: 6px 0 20px; transform: none; animation: none; }
  .browser-preview { transform: perspective(1100px) translateY(var(--entry-y)) scale(var(--entry-scale)); }
  .preview-brand > img { width: 36px; height: 36px; }
  .preview-brand { margin-bottom: 14px; }
  .columns-heading h3 { font-size: 1.25rem; }
  .column-thumb { width: 84px; }
  .column-card { min-height: 81px; }
  .mini-preview { width: min(100%, 320px); }
  .fund-visual { height: 265px; width: min(100%, 390px); margin: 10px 0 15px; }
  .fund-icon-wrap { width: 54%; max-width: 190px; }
  .floating-label { font-size: .75rem; }
  .label-holdings { top: 4px; left: 0; }
  .label-watchlist { right: 0; top: 43%; }
  .label-import { left: 20%; bottom: 0; }
  .feature-switch { gap: 6px; }
  .feature-switch button { padding: 7px 11px; font-size: .75rem; }
  .feature-detail { min-height: 0; font-size: .8125rem; }
  .showcase-fund .showcase-button { margin-top: 22px; }
  .showcase-status { font-size: .75rem; margin-top: 17px; }
  .fund-orbit { width: 120%; right: -40%; top: 75%; }
  .showcase-mini .showcase-tags { gap: 7px; }
  .showcase-mini .showcase-tags span { padding-inline: 10px; font-size: .75rem; }
  .showcase-bottom { font-size: .75rem; gap: 8px 16px; padding-top: 22px; }
  .showcase-bottom > .mono { font-size: .75rem; }
}
@media (max-width: 360px) {
  .showcase h2 { font-size: 2rem; }
  .browser-chrome > .mono { letter-spacing: -.05em; }
  .browser-chrome { gap: 8px; padding-inline: 10px; }
  .blog-preview-body { padding: 15px; }
  .preview-brand div > span { font-size: .75rem; }
  .preview-mark { display: none; }
  .fund-visual { height: 235px; }
  .column-thumb { width: 66px; }
  .column-card { gap: 9px; padding: 9px; }
  .mini-preview { width: min(100%, 288px); }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s, transform .65s; }
  .motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
  .motion-ready .developer-note.is-visible { transform: rotate(-2deg); }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 36px; padding-top: 64px; }
  .hero-copy { padding-top: 13px; }
  h1 { font-size: clamp(3rem, 5.6vw, 4.5rem); }
  .hero .eyebrow { font-size: .75rem; }
  .hero-footnote { gap: 10px; }
  .hero-footnote .footnote-divider { display: none; }
  .hero-bottom { margin-top: 45px; }
  .portrait-sticker { right: -8px; font-size: .75rem; padding: 10px 12px; }
  .portrait-caption { padding-inline: 15px; font-size: .75rem; }
  .portrait-signature { display: none; }
  .portrait-bottomline { justify-content: flex-start; }
  .about-section { gap: 40px; }
  .note-body { padding-inline: 17px; }
  .note-body > p { gap: 12px; }
  .note-key { margin-right: 8px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { height: 72px; gap: 19px; }
  .brand { font-size: .9375rem; gap: 9px; }
  .brand-mark { width: 32px; height: 32px; font-size: .9375rem; border-radius: 7px; }
  .site-header nav { gap: 21px; }
  .site-header nav a { font-size: .875rem; }
  .nav-blog { display: none; }
  .theme-toggle { width: 36px; height: 36px; }
  .hero { grid-template-columns: 1fr; padding-top: 38px; gap: 0; }
  .hero-copy { padding-top: 0; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .04em; }
  h1 { font-size: clamp(3.2rem, 11.5vw, 4.5rem); margin-top: 22px; line-height: 1.25; }
  .hero-description { font-size: 1rem; margin-top: 23px; }
  .hero-actions { margin-top: 26px; gap: 11px; }
  .button { font-size: .875rem; padding-inline: 18px; min-height: 48px; }
  .hero-footnote { margin-top: 24px; font-size: .75rem; gap: 10px 14px; }
  .portrait-composition { width: min(430px, 100%); margin: 42px auto 0; padding-right: 12px; }
  .portrait-topline { font-size: .75rem; }
  .portrait-frame { box-shadow: 12px 12px 0 -1px var(--bg), 12px 12px 0 0 var(--line); }
  .portrait-caption { font-size: .75rem; padding: 24px 14px 14px; }
  .portrait-sticker { top: -9px; right: -1px; }
  .portrait-bottomline { margin-top: 24px; font-size: .75rem; }
  .portrait-signature { display: block; font-size: .75rem; }
  .hero-bottom { margin-top: 38px; padding-bottom: 23px; font-size: .75rem; gap: 12px; }
  .hero-bottom .mono { font-size: .75rem; }
  .scroll-line { max-width: 20px; }
  h2 { font-size: 1.875rem; }
  .about-section { grid-template-columns: 1fr; gap: 36px; padding-top: 80px; padding-bottom: 74px; }
  .about-copy h2 { font-size: 1.875rem; }
  .about-copy > p:not(.eyebrow) { font-size: 1rem; margin-top: 20px; }
  .developer-note { transform: none; }
  .motion-ready .developer-note.is-visible { transform: none; }
  .note-body { padding-inline: 18px; }
  .note-body > p { gap: 14px; font-size: .8125rem; line-height: 2.6; }
  .note-key { margin-right: 8px; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 27px; padding-block: 38px; }
  .closing-inner h2 { font-size: 1.875rem; }
  .closing-description { font-size: .875rem; }
  .contact-channels { gap: 7px; margin-top: 21px; }
  .contact-link { padding-inline: 10px; }
  .contact-dialog-inner { padding: 22px; }
  .footer-inner { flex-wrap: wrap; gap: 14px 25px; padding-block: 23px; font-size: .75rem; }
  .footer-message { display: none; }
  .footer-inner > a { margin-left: auto; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .brand { font-size: .875rem; }
  .site-header nav { gap: 15px; }
  .brand-mark { width: 28px; }
  .portrait-caption { flex-wrap: wrap; gap: 3px; }
  .portrait-signature { display: none; }
  .hero-bottom > :last-child { max-width: 115px; }
  .note-body { padding-inline: 14px; }
  .note-body > p { gap: 10px; }
  .note-key { margin-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .browser-preview, .fund-icon, .mini-preview { transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
