:root {
  color-scheme: light;
  --bg: #f4f3ef;
  --ink: #101113;
  --muted: #66676d;
  --surface: #fff;
  --surface-2: #eae9e4;
  --line: rgba(16, 17, 19, .14);
  --accent: #645cff;
  --cyan: #25bcd5;
  --max: 1320px;
  --pad: clamp(22px, 4vw, 68px);
  --radius: 22px;
  --shadow: 0 34px 90px rgba(28, 28, 34, .14);
}

:root.dark {
  color-scheme: dark;
  --bg: #090a0c;
  --ink: #f5f4f0;
  --muted: #a7a7ad;
  --surface: #121317;
  --surface-2: #1b1c21;
  --line: rgba(255, 255, 255, .14);
  --accent: #9a94ff;
  --cyan: #54d4e6;
  --shadow: 0 34px 100px rgba(0, 0, 0, .52);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  transition: background .45s ease, color .45s ease;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.site-shell { min-height: 100vh; }
.main { overflow: clip; }
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(22px) saturate(140%);
}
.nav {
  width: min(100%, calc(var(--max) + var(--pad) * 2));
  height: 76px;
  margin: auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 245px; }
.mark { width: 31px; height: 31px; display: grid; grid-template-columns: 10px 3px 1fr; gap: 3px; overflow: hidden; border-radius: 0 18px 18px 0; }
.mark span { background: linear-gradient(180deg, var(--cyan), var(--accent)); }
.brand-text { display: flex; flex-direction: column; font-size: .83rem; font-weight: 850; line-height: 1.1; letter-spacing: .04em; }
.brand-text small { margin-top: 5px; color: var(--muted); font-size: .62rem; font-weight: 650; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2vw, 34px); color: var(--muted); font-size: .82rem; font-weight: 700; }
.nav-links a { position: relative; padding: 9px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--ink); transition: right .25s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.locale-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 76%, transparent); }
.locale-switch button { min-width: 30px; height: 30px; padding: 0 7px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .68rem; font-weight: 800; }
.locale-switch button.is-active { background: var(--ink); color: var(--bg); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
.icon-btn .sun, .icon-btn .moon { width: 15px; height: 15px; border-radius: 50%; }
.icon-btn .sun { background: var(--ink); box-shadow: 0 -7px 0 -6px var(--ink), 0 7px 0 -6px var(--ink), 7px 0 0 -6px var(--ink), -7px 0 0 -6px var(--ink); }
.icon-btn .moon { display: none; background: var(--ink); box-shadow: inset -5px 0 0 var(--surface); }
:root.dark .icon-btn .sun { display: none; }
:root.dark .icon-btn .moon { display: block; }
.scroll-progress { position: fixed; z-index: 80; top: 75px; left: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--accent), var(--cyan)); }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 112px var(--pad) 36px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 84px 84px; opacity: .18; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.hero-aura { position: absolute; width: 58vw; height: 58vw; right: -12vw; top: -22vw; z-index: -1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 67%); filter: blur(18px); }
.hero-inner { position: relative; width: min(100%, var(--max)); min-height: calc(100svh - 148px); margin: auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; }
.hero-copy { position: relative; z-index: 4; width: min(78vw, 1020px); padding: 30px 0 70px; }
.hero-role { margin: 0 0 32px; color: var(--accent); font-size: clamp(.76rem, 1vw, .92rem); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-copy h1 { margin: 0; max-width: 950px; font-size: clamp(4rem, 7.4vw, 8.3rem); font-weight: 770; letter-spacing: -.075em; line-height: .93; }
.hero-copy h1 span { display: block; }
.hero-copy h1 span:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero-lead { max-width: 620px; margin: 36px 0 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.22rem); }
.hero-cta { margin-top: 36px; display: flex; align-items: center; gap: 24px; }
.solid-btn { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; gap: 32px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .9rem; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease; }
.solid-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.text-link { padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: .9rem; font-weight: 750; }
.hero-visual { --pointer-x: 0px; --pointer-y: 0px; --scroll-shift: 0px; position: absolute; z-index: 2; width: min(76vw, 980px); right: -16%; top: 50%; transform: translate(var(--pointer-x), calc(-50% + var(--pointer-y) + var(--scroll-shift))); transition: transform .18s linear; }
.hero-art { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 38px 45px rgba(41, 44, 82, .15)); animation: breathe 6s ease-in-out infinite; }
.hero-art-dark { display: none; }
:root.dark .hero-art-light { display: none; }
:root.dark .hero-art-dark { display: block; }
:root.dark .hero-art { filter: drop-shadow(0 45px 70px rgba(124, 92, 255, .24)); }
.orbit { position: absolute; z-index: 1; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 50%; }
.orbit-a { inset: 4% 11%; animation: spin 20s linear infinite; }
.orbit-b { inset: 17% 22%; border-style: dashed; animation: spin 28s linear infinite reverse; }
.hero-index { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@keyframes breathe { 50% { transform: scale(1.025) rotate(.7deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.stats-band { width: min(calc(100% - var(--pad) * 2), var(--max)); margin: 0 auto; padding: 34px 0 72px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats-band div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 0 34px; border-right: 1px solid var(--line); }
.stats-band div:first-child { padding-left: 0; }
.stats-band div:last-child { border: 0; }
.stats-band strong { font-size: clamp(2.4rem, 4vw, 4.5rem); font-weight: 500; letter-spacing: -.06em; }
.stats-band span { max-width: 180px; color: var(--muted); font-size: .82rem; }

.section { width: min(100%, calc(var(--max) + var(--pad) * 2)); margin: auto; padding: 130px var(--pad); }
.section-head { display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; align-items: end; margin-bottom: 70px; }
.eyebrow { display: inline-block; margin-bottom: 20px; color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.display-title, .archive-head h2, .about-intro h2 { margin: 0; font-size: clamp(3rem, 6vw, 7.2rem); font-weight: 680; letter-spacing: -.065em; line-height: .97; }
.section-copy { margin: 0; color: var(--muted); font-size: 1.05rem; }
.featured-list { display: grid; gap: 110px; }
.featured-card { display: grid; gap: 26px; }
.featured-media { position: relative; height: min(67vw, 730px); overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.featured-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 55%, rgba(0,0,0,.22)); pointer-events: none; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.75,.2,1); }
.featured-card:hover .featured-media img { transform: scale(1.035); }
.featured-number { position: absolute; z-index: 2; top: 26px; left: 28px; color: #fff; font-size: .85rem; font-weight: 800; mix-blend-mode: difference; }
.view-pill { position: absolute; z-index: 3; right: 24px; bottom: 24px; padding: 13px 18px; border-radius: 999px; background: rgba(255,255,255,.86); color: #121212; backdrop-filter: blur(14px); font-size: .78rem; font-weight: 800; transform: translateY(10px); opacity: 0; transition: .3s ease; }
.featured-card:hover .view-pill { transform: none; opacity: 1; }
.featured-copy { display: flex; align-items: end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
.featured-copy span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.featured-copy h3 { margin: 7px 0 0; font-size: clamp(2rem, 4vw, 4.7rem); font-weight: 680; letter-spacing: -.055em; line-height: 1; }
.featured-copy p { margin: 0; color: var(--muted); font-size: 1rem; text-align: right; }

.archive-section { padding: 130px var(--pad); background: var(--surface-2); }
.archive-head, .category-block { width: min(100%, var(--max)); margin-left: auto; margin-right: auto; }
.archive-head { display: grid; grid-template-columns: .62fr 1.38fr; gap: 50px; align-items: start; margin-bottom: 94px; }
.category-block { margin-top: 70px; }
.category-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.category-title h3 { margin: 0; font-size: 1.25rem; }
.category-title span { color: var(--muted); font-size: .72rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card { min-width: 0; overflow: hidden; border-radius: 16px; background: var(--surface); transition: transform .3s ease, box-shadow .3s ease; }
.work-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.work-media { position: relative; height: 260px; overflow: hidden; background: #ddd; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-media > span { position: absolute; right: 15px; bottom: 15px; padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.88); color: #111; font-size: .7rem; font-weight: 800; opacity: 0; transform: translateY(5px); transition: .25s ease; }
.work-card:hover .work-media > span { opacity: 1; transform: none; }
.work-body { padding: 21px; }
.work-index { color: var(--accent); font-size: .68rem; font-weight: 850; }
.work-body h4 { margin: 10px 0 6px; font-size: 1.25rem; line-height: 1.1; }
.work-body p { margin: 0; color: var(--muted); font-size: .82rem; }

.ai-section { position: relative; padding: 150px var(--pad) 100px; overflow: hidden; background: #07080b; color: #f8f7f3; }
.ai-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 80% 20%, #000, transparent 65%); }
.ai-glow { position: absolute; width: 820px; height: 820px; right: -300px; top: -340px; border-radius: 50%; background: conic-gradient(from 120deg, #4b3cff, #1fc6d5, #ef72bc, #4b3cff); filter: blur(110px); opacity: .28; animation: spin 18s linear infinite; }
.ai-heading, .ai-flow, .tool-rail { position: relative; z-index: 2; width: min(100%, var(--max)); margin-left: auto; margin-right: auto; }
.ai-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.ai-heading .eyebrow { grid-column: 1 / -1; color: #8d86ff; margin-bottom: 0; }
.ai-heading h2 { margin: 0; font-size: clamp(3.2rem, 6.5vw, 7.6rem); font-weight: 650; letter-spacing: -.065em; line-height: .92; }
.ai-heading p { margin: 0; color: #aaaab2; font-size: 1.08rem; }
.ai-flow { margin-top: 100px; border-top: 1px solid rgba(255,255,255,.18); }
.ai-step { display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.ai-step > span { color: #8d86ff; font-size: .82rem; font-weight: 800; }
.ai-step div { display: grid; grid-template-columns: .65fr 1.35fr; gap: 44px; }
.ai-step h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 2.4rem); font-weight: 550; }
.ai-step p { margin: 0; color: #aaaab2; }
.tool-rail { margin-top: 80px; display: flex; gap: 10px; flex-wrap: wrap; }
.tool-rail span { padding: 11px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #cac9cf; font-size: .72rem; }

.about-section { padding-top: 150px; }
.about-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.about-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.about-intro p { margin: 0; color: var(--muted); font-size: 1.08rem; white-space: pre-line; }
.about-grid { margin-top: 100px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: stretch; }
.portrait-panel { margin: 0; min-height: 620px; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.portrait-panel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.about-details { display: flex; flex-direction: column; justify-content: space-between; gap: 38px; padding: 24px 0; }
.detail-block { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.detail-block > span { display: block; margin-bottom: 16px; color: var(--accent); font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.detail-block h3 { margin: 8px 0; font-size: clamp(1.25rem, 2vw, 2.1rem); font-weight: 570; letter-spacing: -.03em; }
.detail-block p { margin: 0; color: var(--muted); }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.skill-cloud i, .tag { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .72rem; font-style: normal; font-weight: 720; }
.timeline { margin-top: 110px; }
.timeline-item { display: grid; grid-template-columns: 150px 1fr; gap: 45px; padding: 32px 0; border-top: 1px solid var(--line); }
.timeline-date { font-size: 1.05rem; font-weight: 750; }
.timeline-main { display: grid; gap: 16px; }
.timeline-title { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; font-size: .88rem; font-weight: 800; }
.timeline-title span:first-child { color: var(--accent); }
.timeline-main ul { margin: 0; padding: 0; display: grid; gap: 7px; list-style: none; color: var(--muted); font-size: .82rem; }
.timeline-main li::before { content: "— "; }

.contact-section { min-height: 78svh; padding: 130px var(--pad); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: linear-gradient(145deg, #6f66ff, #5149c6 48%, #1b8fa9); color: #fff; }
.contact-section > span { font-size: .72rem; font-weight: 850; letter-spacing: .18em; }
.contact-section h2 { margin: 30px 0; font-size: clamp(3.2rem, 7vw, 8.4rem); font-weight: 680; letter-spacing: -.07em; line-height: .9; }
.contact-section p { max-width: 650px; margin: 0; color: rgba(255,255,255,.76); }
.contact-section a { margin-top: 40px; padding: 16px 22px; border: 1px solid rgba(255,255,255,.48); border-radius: 999px; font-size: .9rem; font-weight: 800; }
.contact-section a b { margin-left: 30px; }
.footer { min-height: 110px; padding: 34px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .74rem; }

.project-page main { padding-top: 76px; }
.project-hero, .project-body { width: min(100%, calc(var(--max) + var(--pad) * 2)); margin: auto; padding-left: var(--pad); padding-right: var(--pad); }
.project-hero { padding-top: 62px; padding-bottom: 80px; }
.back-link { color: var(--muted); font-size: .78rem; font-weight: 750; }
.project-title-grid { margin: 80px 0 50px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.project-title-grid h1 { margin: 0; font-size: clamp(3.5rem, 6vw, 7.4rem); font-weight: 680; letter-spacing: -.07em; line-height: .9; }
.project-title-grid h1 em { color: var(--muted); font-size: .45em; font-style: normal; letter-spacing: -.04em; }
.project-title-grid p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.project-meta { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.project-meta div { padding: 22px; border-right: 1px solid var(--line); background: var(--surface); }
.project-meta div:last-child { border: 0; }
.project-meta span { display: block; margin-bottom: 6px; color: var(--accent); font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.project-meta strong { font-size: .88rem; }
.project-cover { margin: 28px 0 0; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.project-cover img { width: 100%; max-height: 78svh; object-fit: contain; }
.project-body { padding-bottom: 130px; }
.project-intro { padding: 90px 0; display: grid; grid-template-columns: .6fr 1.4fr; gap: 70px; border-top: 1px solid var(--line); }
.project-intro h2, .gallery-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 4.3rem); font-weight: 620; letter-spacing: -.05em; }
.project-intro p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.project-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-head { padding-top: 70px; display: flex; justify-content: space-between; align-items: end; gap: 30px; border-top: 1px solid var(--line); }
.gallery-head p { max-width: 520px; margin: 0; color: var(--muted); }
.gallery-group { margin-top: 66px; }
.gallery-label { margin-bottom: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.gallery-label h3 { margin: 0; font-size: 1rem; }
.gallery-label span { color: var(--muted); font-size: .72rem; }
.media-grid { display: grid; gap: 18px; }
.media-grid.landscape { grid-template-columns: repeat(2, 1fr); }
.media-grid.square, .media-grid.portrait { grid-template-columns: repeat(3, 1fr); align-items: start; }
.media-grid:empty::before { content: "—"; color: var(--muted); }
.media-figure { margin: 0; }
.media-button { width: 100%; padding: 0; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: zoom-in; transition: box-shadow .3s ease, transform .3s ease; }
.media-button:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.media-button img { width: 100%; height: auto; object-fit: contain; }
.media-figure figcaption { margin-top: 8px; overflow-wrap: anywhere; color: var(--muted); font-size: .66rem; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 35px; background: rgba(0,0,0,.88); backdrop-filter: blur(12px); }
.lightbox.is-open { display: flex; }
.lightbox-inner { width: min(100%, 1400px); max-height: 92vh; display: grid; gap: 12px; }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox-caption { margin: 0; color: #bbb; text-align: center; font-size: .72rem; }
.lightbox-close { position: fixed; top: 20px; right: 20px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.4rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.75,.2,1), transform .75s cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { align-self: start; padding-top: 14vh; }
  .hero-visual { width: 94vw; right: -38%; top: 55%; opacity: .72; }
  .hero-lead { max-width: 540px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head, .ai-heading, .about-intro, .project-title-grid { grid-template-columns: 1fr; gap: 30px; }
  .ai-heading .eyebrow, .about-intro .eyebrow { grid-column: auto; }
  .archive-head { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; --radius: 16px; }
  .nav { height: 66px; }
  .brand { min-width: 0; }
  .brand-text small { display: none; }
  .locale-switch button { min-width: 27px; padding: 0 5px; }
  .icon-btn { width: 35px; height: 35px; }
  .scroll-progress { top: 65px; }
  .hero { padding-top: 92px; }
  .hero-inner { min-height: calc(100svh - 125px); }
  .hero-copy { padding-top: 8vh; }
  .hero-copy { width: auto; }
  .hero-role { max-width: 260px; line-height: 1.6; }
  .hero-copy h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
  .hero-visual { width: 125vw; right: -66%; top: 62%; }
  .hero-index { font-size: .6rem; }
  .stats-band { grid-template-columns: 1fr; padding-bottom: 40px; }
  .stats-band div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section, .archive-section, .ai-section, .contact-section { padding-top: 90px; padding-bottom: 90px; }
  .section-head { margin-bottom: 42px; }
  .featured-list { gap: 62px; }
  .featured-media { height: 74vw; border-radius: 14px; }
  .featured-copy { align-items: start; flex-direction: column; gap: 12px; }
  .featured-copy p { text-align: left; }
  .view-pill { opacity: 1; transform: none; }
  .archive-head { margin-bottom: 55px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-media { height: 64vw; }
  .ai-flow { margin-top: 62px; }
  .ai-step { grid-template-columns: 44px 1fr; gap: 12px; }
  .ai-step div { grid-template-columns: 1fr; gap: 10px; }
  .about-grid { margin-top: 60px; grid-template-columns: 1fr; gap: 35px; }
  .portrait-panel { min-height: 520px; }
  .timeline { margin-top: 70px; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; }
  .timeline-title { grid-template-columns: 1fr; gap: 7px; }
  .contact-section { min-height: 70svh; }
  .footer { align-items: flex-start; flex-direction: column; }
  .project-page main { padding-top: 66px; }
  .project-title-grid { margin-top: 54px; }
  .project-meta { grid-template-columns: 1fr; }
  .project-meta div { border-right: 0; border-bottom: 1px solid var(--line); }
  .project-intro { grid-template-columns: 1fr; gap: 28px; }
  .gallery-head { align-items: flex-start; flex-direction: column; }
  .media-grid.landscape, .media-grid.square, .media-grid.portrait { grid-template-columns: 1fr; }
}

/* 2026 refinement: layered bloom and Apple-style case narrative */
.hero { background: var(--bg); }
.hero-aura { display: none; }
.hero-visual { width: min(72vw, 920px); right: -8%; }
.hero-flower-stack { position: relative; width: 100%; aspect-ratio: 1; transform-origin: 54% 55%; animation: flowerFloat 9s 3s ease-in-out infinite; }
.flower-layer { position: absolute; inset: 0; background: url("assets/revision-2026/hero-flower-bloom-v2-alpha.png") center/contain no-repeat; opacity: 0; transform-origin: 54% 56%; filter: saturate(.9) brightness(1.05); will-change: transform, opacity, filter; }
.flower-back { clip-path: polygon(0 0,100% 0,100% 58%,0 58%); animation: petalOpenBack 2.8s .15s cubic-bezier(.16,.8,.16,1) forwards; }
.flower-left { clip-path: polygon(0 15%,58% 18%,60% 100%,0 100%); animation: petalOpenLeft 2.65s .45s cubic-bezier(.16,.8,.16,1) forwards; }
.flower-right { clip-path: polygon(45% 12%,100% 8%,100% 100%,43% 100%); animation: petalOpenRight 2.7s .7s cubic-bezier(.16,.8,.16,1) forwards; }
.flower-front { clip-path: polygon(12% 44%,92% 38%,100% 100%,0 100%); animation: petalOpenFront 2.4s .95s cubic-bezier(.16,.8,.16,1) forwards; }
.flower-core { clip-path: circle(31% at 55% 53%); animation: petalCore 2.05s 1.25s cubic-bezier(.16,.8,.16,1) forwards; filter: saturate(.92) brightness(1.14); }
:root:not(.dark) .flower-layer { opacity: 0; filter: saturate(.76) brightness(1.28) contrast(.9); }
@keyframes petalOpenBack { from { opacity:0; transform:scale(.35,.18) rotate(-12deg); filter:blur(13px) brightness(.65); } to { opacity:.88; transform:scale(1) rotate(0); } }
@keyframes petalOpenLeft { from { opacity:0; transform:scale(.26) rotate(24deg) translate(16%,16%); filter:blur(12px); } to { opacity:.9; transform:scale(1) rotate(0) translate(0); } }
@keyframes petalOpenRight { from { opacity:0; transform:scale(.28) rotate(-24deg) translate(-14%,17%); filter:blur(12px); } to { opacity:.9; transform:scale(1) rotate(0) translate(0); } }
@keyframes petalOpenFront { from { opacity:0; transform:scale(.38,.2) rotate(10deg) translateY(14%); filter:blur(10px); } to { opacity:.92; transform:scale(1) rotate(0) translateY(0); } }
@keyframes petalCore { from { opacity:0; transform:scale(.16) rotate(-28deg); filter:blur(14px) brightness(.7); } to { opacity:1; transform:scale(1) rotate(0); } }
@keyframes flowerFloat { 50% { transform:translate3d(0,-9px,0) rotate(.7deg) scale(1.012); } }

.hero-copy h1 span:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; letter-spacing:.035em; }
.about-intro h2 { line-height:.98; }
.ai-heading h2 { line-height:1.03; }
.contact-section h2 { line-height:1.04; }
.display-title, .archive-head h2, .story-copy h2, .project-title-grid h1 { line-height:1.01; }

.work-card[href="#/project/vpurse"] .work-media { background:#fff; }
.work-card[href="#/project/vpurse"] .work-media img { width:100%; height:100%; object-fit:cover; padding:0; transform:scale(1.035); }
.work-card[href="#/project/system-illustration"] .work-media { background:#fff; }
.work-card[href="#/project/system-illustration"] .work-media img { width:100%; height:100%; object-fit:contain; background:#fff; }
.project-title-grid .eyebrow { font-size:.86rem; letter-spacing:.12em; }
.project-hero-video { width:100%; height:min(68vw,720px); display:block; object-fit:cover; background:#050507; }

.case-background, .case-design, .case-effects, .case-summary { width:min(100%, calc(var(--max) + var(--pad) * 2)); margin:auto; padding:120px var(--pad); }
.case-section-head { display:grid; grid-template-columns:80px 1fr; gap:30px; align-items:end; margin-bottom:52px; }
.case-section-head > span { color:var(--accent); font-size:.78rem; font-weight:900; letter-spacing:.14em; }
.case-section-head h2 { margin:0; font-size:clamp(3.4rem,6vw,7rem); line-height:.9; letter-spacing:-.065em; }
.brief-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.brief-grid article { min-height:180px; padding:28px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--surface); }
.brief-grid article:nth-child(2), .brief-grid article:nth-child(4), .brief-grid article:nth-child(5) { grid-column:span 2; }
.brief-grid article span { display:block; margin-bottom:22px; color:var(--accent); font-size:.7rem; font-weight:850; letter-spacing:.12em; }
.brief-grid article strong, .brief-grid article p { margin:0; font-size:clamp(1rem,1.4vw,1.3rem); line-height:1.55; }
.corporate-story { padding-left:0; padding-right:0; padding-bottom:0; }
.corporate-story .story-chapter:first-child { border-top:0; }
.corporate-story .story-copy > span { font-size:.84rem; }
.effect-story { padding-top:0; }
.story-media figure.is-phone-cutout { width:min(44%,360px); margin-inline:auto; background:#fff; }
.story-media figure.is-phone-cutout img { width:100%; height:min(64svh,680px); object-fit:contain; background:#fff; }
.story-media.is-layered figure.is-phone-cutout:last-child { width:min(42%,340px); right:2%; bottom:3%; }
.product-subnav { position:sticky; top:92px; z-index:18; display:flex; justify-content:center; gap:10px; width:max-content; max-width:calc(100% - 40px); margin:80px auto 0; padding:8px; border:1px solid var(--line); border-radius:999px; background:color-mix(in srgb,var(--surface) 88%,transparent); backdrop-filter:blur(18px); scroll-margin-top:132px; }
.product-subnav a { padding:10px 18px; border-radius:999px; font-size:.75rem; font-weight:800; }
.product-subnav a:hover { background:var(--ink); color:var(--bg); }
.live-wallpaper { width:min(100%,var(--max)); margin:0 auto 36px; position:relative; overflow:hidden; border-radius:24px; background:#000; }
.live-wallpaper video { width:100%; max-height:72svh; display:block; object-fit:contain; }
.live-wallpaper span { position:absolute; left:20px; bottom:18px; padding:9px 14px; border-radius:999px; background:rgba(0,0,0,.62); color:#fff; backdrop-filter:blur(12px); font-size:.72rem; font-weight:800; }
.case-summary { padding-top:140px; padding-bottom:160px; border-top:1px solid var(--line); }
.case-summary > span { color:var(--accent); font-size:.78rem; font-weight:900; letter-spacing:.12em; }
.case-summary h2 { max-width:1050px; margin:24px 0 0; font-size:clamp(2.4rem,4.8vw,5.5rem); line-height:1.08; letter-spacing:-.055em; text-wrap:balance; }
.personal-story .story-media.is-layered figure:nth-child(n+3) { display:none; }

@media (max-width:1080px) {
  .hero-visual { width:88vw; right:-28%; }
  .brief-grid { grid-template-columns:1fr 1fr; }
  .brief-grid article:nth-child(n) { grid-column:auto; }
}

@media (max-width:760px) {
  .hero-visual { width:108vw; right:-52%; top:58%; }
  .flower-layer { background-size:contain; }
  .hero-copy h1 span:last-child { -webkit-text-stroke-width:1px; }
  .case-background, .case-design, .case-effects, .case-summary { padding-top:85px; padding-bottom:85px; }
  .case-section-head { grid-template-columns:1fr; gap:12px; }
  .brief-grid { grid-template-columns:1fr; }
  .brief-grid article:nth-child(n) { grid-column:auto; min-height:auto; }
  .product-subnav { top:82px; justify-content:flex-start; overflow-x:auto; scroll-margin-top:112px; }
  .product-subnav a { white-space:nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-visual { transform: translateY(-50%); }
}

/* 2026 narrative portfolio revision */
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-moon { display: none; }
:root.dark .theme-sun { display: none; }
:root.dark .theme-moon { display: block; fill: currentColor; stroke: none; }
.icon-btn .sun, .icon-btn .moon { display: none !important; }

.hero::before { display: none; }
.hero { background: radial-gradient(circle at 78% 48%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%), var(--bg); }
.hero-particles { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero-aura { opacity: .54; filter: blur(60px); }
.hero-copy { width: min(70vw, 920px); }
.hero-copy h1 { font-size: clamp(3.8rem, 7vw, 7.8rem); line-height: .9; }
.hero-copy h1 span:first-child { white-space: nowrap; }
.hero-copy h1 span:last-child { margin-top: 12px; font-size: .56em; letter-spacing: .04em; color: var(--ink); -webkit-text-stroke: 0; }
.hero-tagline { margin: 26px 0 0; color: var(--ink); font-size: clamp(1rem, 1.6vw, 1.45rem); font-weight: 720; letter-spacing: -.02em; }
.hero-lead { margin-top: 14px; max-width: 570px; font-size: .98rem; }
.hero-visual { width: min(88vw, 1120px); right: -21%; z-index: 3; }
.hero-art { aspect-ratio: 1; object-fit: contain; animation: flowerBloom 1.65s cubic-bezier(.16,.8,.2,1) both, flowerBreathe 7s 1.7s ease-in-out infinite; transform-origin: 55% 58%; }
.hero-art-light { border-radius: 50%; mix-blend-mode: multiply; }
.hero-art-dark { border-radius: 50%; }
@keyframes flowerBloom { 0% { opacity:0; transform:scale(.42) rotate(-16deg); filter:blur(18px) brightness(.7); } 62% { opacity:1; } 100% { opacity:1; transform:scale(1) rotate(0); filter:blur(0) brightness(1); } }
@keyframes flowerBreathe { 50% { transform:scale(1.035) rotate(1.2deg); } }

.display-title, .archive-head h2, .about-intro h2 { text-wrap: balance; }
.selected-work .display-title { max-width: 760px; font-size: clamp(3rem, 5.2vw, 6rem); white-space: nowrap; }
.about-section { padding-top: 110px; padding-bottom: 120px; }
.about-intro h2 { max-width: 920px; font-size: clamp(2.7rem, 5.2vw, 6.2rem); }
.about-grid { margin-top: 72px; }
.portrait-panel { min-height: 560px; }
.capability-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.capability-groups section { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.capability-groups h4 { margin: 0 0 13px; color: var(--accent); font-size: .78rem; }

.ai-section { background: var(--surface-2); color: var(--ink); transition: background .45s ease, color .45s ease; }
.ai-section::before { background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1px); opacity: .55; }
.ai-heading p, .ai-step p { color: var(--muted); }
.ai-flow, .ai-step { border-color: var(--line); }
.tool-rail span { color: var(--muted); border-color: var(--line); background: var(--surface); }
:root.dark .ai-section { background: #07080b; color: #f8f7f3; }
:root.dark .ai-heading p, :root.dark .ai-step p { color: #aaaab2; }
:root.dark .ai-flow, :root.dark .ai-step { border-color: rgba(255,255,255,.18); }
:root.dark .tool-rail span { color:#cac9cf; border-color:rgba(255,255,255,.2); background:transparent; }

.contact-section { position: relative; overflow: hidden; background: #dfe8ff; color: #101113; isolation: isolate; }
.contact-art { position: absolute; inset: -14%; z-index: -2; background: url("assets/revision-2026/contact-light.jpg") center/cover no-repeat; animation: contactTurn 18s ease-in-out infinite alternate; }
.contact-section::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, rgba(244,247,255,.94), rgba(244,247,255,.5) 55%, rgba(244,247,255,.1)); }
.contact-copy { display:flex; flex-direction:column; align-items:center; position:relative; z-index:2; }
.contact-copy p { color:rgba(16,17,19,.68); }
:root.dark .contact-section { color:#fff; background:#05050e; }
:root.dark .contact-art { background-image:url("assets/revision-2026/contact-dark.jpg"); }
:root.dark .contact-section::after { background:linear-gradient(90deg, rgba(5,5,14,.9), rgba(5,5,14,.55) 55%, rgba(5,5,14,.15)); }
:root.dark .contact-copy p { color:rgba(255,255,255,.72); }
@keyframes contactTurn { from { transform:scale(1.08) rotate(-2deg); } to { transform:scale(1.14) rotate(3deg); } }

.footer div { display:flex; gap:24px; flex-wrap:wrap; }
.footer a:hover { color:var(--ink); }

.interactive-cover { position:relative; perspective:1200px; transform:rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg)); transition:transform .18s ease; }
.interactive-cover > span { position:absolute; right:22px; bottom:18px; padding:9px 13px; border-radius:999px; background:color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter:blur(12px); color:var(--ink); font-size:.68rem; font-weight:800; }
.project-cover img { min-height: min(68vw,720px); object-fit:cover; }
.story-body { width:min(100%, calc(var(--max) + var(--pad) * 2)); margin:auto; padding:20px var(--pad) 130px; }
.story-chapter { min-height:92svh; display:grid; grid-template-columns:.76fr 1.24fr; gap:clamp(42px,7vw,110px); align-items:center; padding:100px 0; border-top:1px solid var(--line); }
.story-chapter.is-reverse { grid-template-columns:1.24fr .76fr; }
.story-chapter.is-reverse .story-copy { order:2; }
.story-copy > span { color:var(--accent); font-size:.72rem; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.story-copy h2 { margin:18px 0 24px; font-size:clamp(2.7rem,5vw,6rem); font-weight:640; letter-spacing:-.065em; line-height:.95; text-wrap:balance; }
.story-copy p { margin:0; color:var(--muted); font-size:1.05rem; }
.story-facts { margin-top:30px; display:flex; flex-wrap:wrap; gap:8px; }
.story-facts i { padding:9px 12px; border:1px solid var(--line); border-radius:999px; font-size:.68rem; font-style:normal; font-weight:760; }
.story-media { --tilt-x:0deg; --tilt-y:0deg; --move-x:0px; --move-y:0px; position:relative; min-height:min(66vw,720px); display:grid; place-items:center; perspective:1200px; transform:rotateX(var(--tilt-y)) rotateY(var(--tilt-x)); transition:transform .2s ease; }
.story-media::before { content:""; position:absolute; width:72%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle, color-mix(in srgb,var(--accent) 22%,transparent), transparent 68%); filter:blur(25px); }
.story-media figure { position:relative; z-index:2; width:100%; margin:0; overflow:hidden; border-radius:24px; box-shadow:var(--shadow); transform:translate(calc(var(--move-x) * (var(--depth) * .35)), calc(var(--move-y) * (var(--depth) * .35))); transition:transform .2s ease; }
.story-media figure img { width:100%; max-height:720px; object-fit:contain; background:var(--surface); }
.story-media.is-layered figure:first-child { width:82%; margin-right:auto; }
.story-media.is-layered figure:last-child { position:absolute; width:48%; right:-2%; bottom:2%; z-index:3; }
.asset-rail { padding:110px var(--pad) 140px; overflow:hidden; background:var(--surface-2); }
.asset-rail > div:first-child { width:min(100%,var(--max)); margin:0 auto 44px; }
.asset-rail > div:first-child span { color:var(--accent); font-size:.72rem; font-weight:850; letter-spacing:.14em; }
.asset-rail h2 { margin:8px 0 0; font-size:clamp(2.8rem,5vw,5.5rem); letter-spacing:-.06em; }
.asset-track { width:min(100%,var(--max)); margin:auto; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(280px,42vw); gap:18px; overflow-x:auto; padding-bottom:18px; scroll-snap-type:x mandatory; scrollbar-width:thin; }
.asset-card { height:460px; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:var(--surface); cursor:zoom-in; scroll-snap-align:start; }
.asset-card img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.asset-card:hover img { transform:scale(1.04); }

@media (max-width: 1080px) {
  .hero-copy { width:min(80vw,820px); }
  .hero-visual { width:100vw; right:-45%; opacity:.78; }
  .selected-work .display-title { white-space:normal; }
  .story-chapter, .story-chapter.is-reverse { grid-template-columns:1fr; min-height:auto; }
  .story-chapter.is-reverse .story-copy { order:0; }
}

@media (max-width: 760px) {
  .hero-copy { width:auto; }
  .hero-copy h1 { font-size:clamp(3rem,13.5vw,4.8rem); }
  .hero-copy h1 span:first-child { white-space:normal; }
  .hero-copy h1 span:last-child { font-size:.48em; }
  .hero-tagline { max-width:270px; }
  .hero-visual { width:142vw; right:-76%; top:61%; }
  .about-section { padding-top:80px; }
  .capability-groups { grid-template-columns:1fr; }
  .story-chapter { padding:75px 0; gap:35px; }
  .story-media { min-height:78vw; }
  .story-media.is-layered figure:first-child { width:90%; }
  .story-media.is-layered figure:last-child { width:52%; }
  .asset-track { grid-auto-columns:82vw; }
  .asset-card { height:360px; }
  .contact-section { text-align:left; align-items:flex-start; }
  .contact-copy { align-items:flex-start; }
  .contact-section::after { background:rgba(244,247,255,.68); }
  :root.dark .contact-section::after { background:rgba(5,5,14,.66); }
}

/* Final cascade overrides for the refinement layer. */
.hero { background:var(--bg); }
.hero-aura { display:none; }
.hero-visual { width:min(72vw,920px); right:-8%; opacity:1; }
.hero-copy h1 span:last-child { color:transparent; -webkit-text-stroke:1.5px var(--ink); paint-order:stroke fill; }
.about-intro h2 { line-height:.98; }
.ai-heading h2, .contact-section h2 { line-height:1.04; }
.display-title, .archive-head h2, .story-copy h2, .project-title-grid h1 { line-height:1.01; }
.corporate-story { padding:0; }
.corporate-story .story-chapter:first-child { border-top:0; }
.corporate-story .story-copy > span { font-size:.84rem; }
.project-cover video { width:100%; }
.story-media figure.is-phone-cutout { width:min(44%,360px); margin-inline:auto; background:#fff; }
.story-media figure.is-phone-cutout img { width:100%; height:min(64svh,680px); object-fit:contain; background:#fff; }
.story-media.is-layered figure.is-phone-cutout:last-child { width:min(42%,340px); right:2%; bottom:3%; }

@media (max-width:1080px) {
  .hero-visual { width:88vw; right:-28%; opacity:1; }
}

@media (max-width:760px) {
  .hero-visual { width:108vw; right:-52%; top:58%; opacity:.9; }
  .hero-copy h1 span:last-child { -webkit-text-stroke-width:1px; }
}

/* Homepage flower: original light/dark artwork with restrained petal motion. */
.hero-flower-stack {
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  animation:flowerDrift 9s 2.2s ease-in-out infinite;
  transform-origin:54% 62%;
}
.flower-layer {
  position:absolute;
  inset:0;
  opacity:1;
  background-image:url("一级界面/首页/PNG图-亮色.png");
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
  filter:saturate(1.08) brightness(.78) contrast(1.14) drop-shadow(0 30px 38px rgba(70,38,82,.13));
  will-change:transform, opacity;
}
:root.dark .flower-layer {
  background-image:url("一级界面/首页/PNG图.png");
  filter:drop-shadow(0 38px 54px rgba(151,78,255,.2));
}
:root.dark .hero-flower-stack {
  mix-blend-mode:screen;
  isolation:isolate;
  -webkit-mask-image:linear-gradient(to bottom,#000 0 70%,rgba(0,0,0,.92) 79%,transparent 97%);
  mask-image:linear-gradient(to bottom,#000 0 70%,rgba(0,0,0,.92) 79%,transparent 97%);
}
.flower-base {
  animation:flowerArrive 1.25s cubic-bezier(.16,.78,.22,1) both;
}
:root:not(.dark) .hero-flower-stack { mix-blend-mode:multiply; }
.flower-petal { opacity:0; transform-origin:52% 78%; }
.flower-petal-left {
  clip-path:polygon(17% 7%,49% 7%,52% 94%,16% 94%);
  animation:petalEaseLeft 1.65s .28s cubic-bezier(.16,.78,.22,1) forwards;
}
.flower-petal-center {
  clip-path:polygon(38% 4%,69% 5%,70% 96%,40% 96%);
  animation:petalEaseCenter 1.7s .42s cubic-bezier(.16,.78,.22,1) forwards;
}
.flower-petal-right {
  clip-path:polygon(57% 11%,96% 24%,96% 96%,58% 96%);
  animation:petalEaseRight 1.75s .56s cubic-bezier(.16,.78,.22,1) forwards;
}
@keyframes flowerArrive {
  from { opacity:0; transform:scale(.94) translateY(8px); }
  to { opacity:1; transform:scale(1) translateY(0); }
}
@keyframes petalEaseLeft {
  from { opacity:.18; transform:translate(1.5%,2.5%) rotate(4deg) scale(.975); }
  to { opacity:1; transform:translate(0) rotate(0) scale(1); }
}
@keyframes petalEaseCenter {
  from { opacity:.16; transform:translateY(2.5%) rotate(-3deg) scale(.97); }
  to { opacity:1; transform:translateY(0) rotate(0) scale(1); }
}
@keyframes petalEaseRight {
  from { opacity:.16; transform:translate(-1.5%,3%) rotate(-4deg) scale(.975); }
  to { opacity:1; transform:translate(0) rotate(0) scale(1); }
}
@keyframes flowerDrift {
  50% { transform:translate3d(0,-6px,0) rotate(.35deg); }
}

/* SVG keeps the year outline rounded and consistently anti-aliased. */
.hero-copy h1 span.hero-year {
  width:min(7.25em,100%);
  height:1.08em;
  margin-top:.08em;
  color:var(--ink);
  -webkit-text-stroke:0;
  paint-order:normal;
}
.hero-year svg { display:block; width:100%; height:100%; overflow:visible; }
.hero-year text {
  fill:transparent;
  stroke:currentColor;
  stroke-width:1.15;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
  font-family:inherit;
  font-size:118px;
  font-weight:520;
  letter-spacing:9px;
  text-rendering:geometricPrecision;
  paint-order:stroke;
}

.ai-section, :root.dark .ai-section { background:var(--bg); color:var(--ink); }
.ai-section::before { opacity:.16; }
.ai-heading p, .ai-step p, :root.dark .ai-heading p, :root.dark .ai-step p { color:var(--muted); }
.ai-flow, .ai-step, :root.dark .ai-flow, :root.dark .ai-step { border-color:var(--line); }
.tool-rail span, :root.dark .tool-rail span { color:var(--muted); border-color:var(--line); background:var(--surface); }

.case-section-head > span { font-size:clamp(2.4rem,3.92vw,3.125rem); line-height:.9; letter-spacing:.06em; }
.corporate-story .story-copy > span { font-size:clamp(1.65rem,3.13vw,2.5rem); line-height:1; letter-spacing:-.035em; }
.case-summary > span { font-size:clamp(1.65rem,3.13vw,2.5rem); line-height:1; letter-spacing:-.035em; }
.case-summary h2 { font-size:clamp(2.7rem,5vw,6rem); }

@media (max-width:1080px) {
  .hero-visual { width:82vw; right:-22%; }
}

@media (max-width:760px) {
  .hero-visual { width:116vw; right:-60%; top:59%; }
  .hero-copy h1 span.hero-year { width:7em; -webkit-text-stroke:0; }
  .hero-year text { stroke-width:1.25; }
}

@media (prefers-reduced-motion:reduce) {
  .hero-flower-stack, .flower-layer { animation:none !important; }
  .flower-petal { opacity:1; transform:none; }
}

/* 2026-07-12 annotated visual pass */
.hero-visual { width:min(82vw,1080px); right:-11%; }
:root:not(.dark) .hero-flower-stack { mix-blend-mode:normal; }
:root:not(.dark) .flower-layer {
  background-image:url("一级界面/首页/PNG图-亮色.png");
  filter:none;
}
.archive-head .eyebrow { font-size:20px; line-height:1.25; }
.featured-card[href="#/project/china-x"] .featured-media img { transform:scale(1.09); }
.featured-card[href="#/project/china-x"]:hover .featured-media img { transform:scale(1.13); }

.brief-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.brief-grid article:nth-child(n) { grid-column:auto; }
.brief-grid article:nth-child(2) { grid-column:span 1; }

.product-subnav button {
  appearance:none; border:0; padding:10px 18px; border-radius:999px;
  background:transparent; color:var(--ink); font:inherit; font-size:.75rem;
  font-weight:800; white-space:nowrap; cursor:pointer;
}
.product-subnav button:hover,
.product-subnav button.is-active { background:var(--ink); color:var(--bg); }

.story-facts i { display:grid; gap:3px; min-width:110px; border-radius:14px; }
.story-facts i b { color:var(--accent); font-size:.56rem; letter-spacing:.08em; }
.story-facts i span { font-size:.7rem; }
.project-porsche .brief-grid article p { font-weight:700; }
.story-facts i b { display:none; }
.project-porsche .story-facts i { color:var(--ink); font-weight:760; }
.project-porsche .case-design .story-media figure img { width:100%; height:100%; max-height:none; object-fit:cover; }
.story-media figure.is-landscape-media { width:86%; aspect-ratio:16/9; background:var(--surface); }
.story-media figure.is-landscape-media img { width:100%; height:100%; max-height:none; object-fit:cover; }
.story-media:has(figure:nth-child(3)) {
  min-height:auto; grid-template-columns:1.25fr .75fr; grid-template-rows:repeat(2,minmax(220px,1fr));
  gap:16px; place-items:stretch;
}
.story-media.is-layered:has(figure:nth-child(3)) figure:nth-child(n) {
  position:relative; inset:auto; width:100%; height:100%; margin:0;
}
.story-media.is-layered:has(figure:nth-child(3)) figure:first-child { grid-row:1 / -1; }
.story-media.is-layered:has(figure:nth-child(3)) figure img { width:100%; height:100%; max-height:none; object-fit:cover; }
.story-media:has(figure:nth-child(4)) { grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(2,minmax(220px,1fr)); }
.story-media.is-layered:has(figure:nth-child(4)) figure:first-child { grid-row:auto; }
.project-overseas-x #x9c .story-media:has(figure:nth-child(4)) { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; align-items:start; }
.project-overseas-x #x9c .story-media:has(figure:nth-child(4)) figure:nth-child(n+3) { grid-column:1 / -1; width:86%; justify-self:center; aspect-ratio:16/9; }

.asset-card.asset-video { position:relative; cursor:default; }
.asset-card.asset-video video { width:100%; height:100%; object-fit:cover; }
.asset-card.asset-video span { position:absolute; left:16px; bottom:16px; padding:7px 10px; border-radius:999px; background:rgba(0,0,0,.62); color:#fff; font-size:.7rem; }
.grouped-assets { overflow:visible; }
.asset-group { width:min(100%,var(--max)); margin:64px auto 0; }
.asset-group-head { display:flex; justify-content:space-between; align-items:end; margin-bottom:18px; border-bottom:1px solid var(--line); padding-bottom:14px; }
.asset-group-head h3 { margin:0; font-size:clamp(1.35rem,2.2vw,2.2rem); }
.asset-group-head span { color:var(--muted); font-size:.72rem; }
.asset-group-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.asset-group-grid .asset-card { width:100%; height:auto; aspect-ratio:1; }

.project-system-illustration .project-cover { background:#f0f1f2; }
.project-system-illustration .project-cover img { object-fit:contain; background:#f0f1f2; }
.project-memory-water #memory-story-structure .story-media figure { cursor:zoom-in; }
.project-memory-water #memory-story-structure .story-media figure:focus-visible { outline:3px solid var(--accent); outline-offset:5px; }
.project-memory-water .story-media:not(.is-layered) figure { width:fit-content; max-width:100%; }
.project-memory-water .story-media:not(.is-layered) figure img { width:auto; max-width:100%; height:auto; display:block; }
.project-system-illustration .asset-card { background:#fff; }
.project-system-illustration .asset-card img { object-fit:contain; padding:clamp(16px,2vw,28px); }
:root[lang="ja"] .project-porsche .brief-grid article:nth-child(6) strong { font-size:18.8px; line-height:1.35; }
:root[lang="ja"] .project-porsche .effect-story .story-copy h2 { max-width:9.8em; font-size:clamp(2.35rem,4vw,4.65rem); line-height:1.08; letter-spacing:-.055em; word-break:normal; overflow-wrap:anywhere; text-wrap:balance; }
:root[lang="ja"] .project-porsche .case-summary h2 { max-width:1120px; font-size:clamp(2.2rem,3.8vw,4.45rem); line-height:1.16; letter-spacing:-.045em; word-break:normal; overflow-wrap:anywhere; text-wrap:pretty; }
:root[lang="ja"] .about-intro h2 { font-size:clamp(3rem,6vw,6.2rem); line-height:1.04; }
:root[lang="ja"] .about-details .detail-block:first-child h3 { white-space:nowrap; font-size:clamp(1rem,1.55vw,1.55rem); letter-spacing:-.045em; }
:root[lang="ja"] .archive-head h2 { white-space:nowrap; font-size:clamp(2rem,4.2vw,4.8rem); }
:root[lang="ja"] .contact-copy h2 { font-size:clamp(3rem,6.4vw,6.8rem); line-height:1.04; }
.project-magic-v3 .project-cover { background:#07192f; }
.project-china-x #x60 .story-media figure.is-phone-cutout { background:transparent; box-shadow:none; }
.project-china-x #x60 .story-media figure.is-phone-cutout img { background:transparent; }
.project-overseas-x #magic5-lite .story-media { min-height:min(54vw,620px); }
.project-overseas-x #magic5-lite .story-media figure { width:min(76%,760px); aspect-ratio:1.28; margin-inline:auto; }
.project-overseas-x #magic5-lite .story-media figure img { width:100%; height:100%; max-width:none; object-fit:cover; object-position:left center; }
.project-overseas-x #magic6-lite .story-media figure { width:94%; margin-inline:auto; }
.project-overseas-x #magic6-lite .story-media figure img { width:100%; }
.project-changwan .story-body > article:nth-child(2) .story-media figure:first-child { width:62%; aspect-ratio:3 / 4; margin-inline:auto; }
.project-changwan .story-body > article:nth-child(2) .story-media figure:first-child img { width:100%; height:100%; object-fit:cover; }
.project-hero-motion-image { position:relative; width:100%; height:min(72svh,780px); overflow:hidden; }
.project-hero-motion-image img { width:100%; height:100%; min-height:0; object-fit:cover; animation:magicV3Hero 11s ease-in-out infinite alternate; }
.project-hero-motion-image span { position:absolute; inset:-20%; background:linear-gradient(112deg,transparent 34%,rgba(255,214,131,.2) 49%,transparent 64%); transform:translateX(-55%); animation:magicV3Sheen 7s ease-in-out infinite; mix-blend-mode:screen; }
@keyframes magicV3Hero { from { transform:scale(1.02) translate3d(-.6%,.4%,0); } to { transform:scale(1.1) translate3d(1.2%,-1%,0); } }
@keyframes magicV3Sheen { 55%,100% { transform:translateX(58%); } }

@media (max-width:1080px) {
  .hero-visual { width:92vw; right:-25%; }
  .asset-group-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .hero-visual { width:125vw; right:-64%; }
  .archive-head .eyebrow { font-size:17px; }
  .brief-grid { grid-template-columns:1fr; }
  .story-media:has(figure:nth-child(3)), .story-media:has(figure:nth-child(4)) { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto; }
  .story-media.is-layered:has(figure:nth-child(3)) figure:first-child { grid-column:1 / -1; grid-row:auto; }
  .asset-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
