:root {
  --bg: #f7f7f4;
  --surface: #fff;
  --surface-soft: #efefea;
  --ink: #191a1d;
  --muted: #6e7280;
  --border: #e4e4e0;
  --accent: #1658a2;
  --accent-soft: #dbe9f7;
  --terminal: #211f2d;
  --gold: #d4af37;
  --cube-dark: #28282d;
  --container: 1180px;
  --radius: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "Geist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(22,88,162,.32); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 120; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 128px 0 140px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.section-heading { max-width: 720px; }
.section-heading h2, .contact-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
.section-heading > p:last-child { max-width: 62ch; margin: 22px 0 0; color: var(--muted); font-size: 16px; text-wrap: pretty; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 40; height: 64px; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(247,247,244,.82); border-bottom: 1px solid rgba(228,228,224,.72); box-shadow: 0 5px 26px rgba(43,38,50,.04); backdrop-filter: blur(22px); }
.nav-shell { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(var(--container), calc(100% - 48px)); height: 64px; margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 17px; font-weight: 600; }
.brand img { height: 34px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 34px; color: var(--muted); font-size: 13px; }
.nav-links a { position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-contact { justify-self: end; }

/* 3D flip pill (Mike11jr / uiverse) — scoped to .scene so it won't touch the gold .bg cube */
.scene { width: 10em; justify-content: center; align-items: center; }
.scene .cube { color: #ccc; cursor: pointer; font-family: "JetBrains Mono", "PingFang SC", monospace; transition: all .85s; transform-style: preserve-3d; perspective: 600px; transform-origin: 100% 50%; width: 10em; height: 3em; }
.scene .cube:hover { transform: rotateX(-90deg); }
.scene .side { box-sizing: border-box; position: absolute; display: inline-block; height: 3em; width: 10em; text-align: center; text-transform: uppercase; padding-top: .9em; font-weight: bold; }
.scene .side.top { background: wheat; color: #222229; transform: rotateX(90deg) translate3d(0, 0, 1.5em); box-shadow: inset 0 0 0 5px #fff; }
.scene .side.front { background: #222229; color: #fff; box-shadow: inset 0 0 0 5px #fff; transform: translate3d(0, 0, 1.5em); }

.button, .see-more, .button-dark, .button-light {
  display: block;
  padding: .7em 1em;
  background: transparent;
  outline: none;
  border: 0;
  color: var(--gold);
  letter-spacing: .1em;
  font-family: "JetBrains Mono", "PingFang SC", monospace;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  z-index: 1;
  position: relative;
}
.button-dark, .button-light, .see-more { color: var(--gold); }
.button .bg-top, .see-more .bg-top { position: absolute; height: 10px; background: var(--gold); bottom: 100%; left: 5px; right: -5px; transform: skew(-45deg, 0); transition: all .4s; }
.button .bg-top .bg-inner, .see-more .bg-top .bg-inner { bottom: 0; }
.button .bg, .see-more .bg { position: absolute; left: 0; bottom: 0; top: 0; right: 0; background: var(--gold); transition: all .4s; }
.button .bg-right, .see-more .bg-right { position: absolute; background: var(--gold); top: -5px; bottom: 5px; width: 10px; left: 100%; transform: skew(0, -45deg); transition: all .4s; }
.button .bg-right .bg-inner, .see-more .bg-right .bg-inner { left: 0; }
.button .bg-inner, .see-more .bg-inner { background: var(--cube-dark); position: absolute; left: 2px; right: 2px; top: 2px; bottom: 2px; }
.button .text, .see-more .text { position: relative; }
.button:hover .bg-inner, .see-more:hover .bg-inner { background: var(--gold); transition: all .4s; }
.button:hover .text, .see-more:hover .text { color: var(--cube-dark); transition: all .4s; }
.button:hover .bg-right, .button:hover .bg, .button:hover .bg-top,
.see-more:hover .bg-right, .see-more:hover .bg, .see-more:hover .bg-top { background: var(--cube-dark); }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; overflow: hidden; padding: 150px 0 108px; border-bottom: 1px solid rgba(228,228,224,.8); background: linear-gradient(180deg,#fafafa 0%,#eef5fc 52%,#fafafa 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 72px; align-items: center; width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.hero-copy { text-align: left; }
.hero-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 14px; color: #164a86; background: rgba(255,255,255,.55); border: 1px solid rgba(22,88,162,.18); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); font-size: 12px; letter-spacing: .02em; }
.hero-title { margin: 22px 0 0; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; text-wrap: balance; }
.hero-line-one, .hero-line-two { display: block; }
.hero-line-one { font-size: clamp(46px, 5vw, 64px); }
.hero-line-two { margin-top: 10px; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.03em; }
.focus-word { color: var(--accent); font-weight: 600; }
.hero-subtitle { max-width: 560px; margin: 26px 0 0; color: #555966; font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 38px; }
.ghost-link { display: inline-flex; align-items: center; gap: 6px; padding: 12px 4px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .25s; }
.ghost-link:hover { color: var(--ink); }
.hero-avatar-card { flex: none; width: clamp(220px, 20vw, 300px); margin: 0; }
.hero-avatar-card img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(48,39,70,.16)); }

.journey-section { background: var(--bg); }
.journey-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; align-items: start; }
.section-intro { position: sticky; top: 120px; }
.section-intro > p:last-child { max-width: 42ch; margin: 22px 0 0; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.timeline li { position: relative; display: grid; grid-template-columns: 138px 1fr; gap: 25px; padding: 0 0 48px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--accent); border-radius: 50%; transition: background .3s, transform .3s var(--ease); }
.timeline li:hover::before { background: var(--accent); transform: scale(1.3); }
.timeline time { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 10px; line-height: 2.2; font-variant-numeric: tabular-nums; }
.timeline h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.timeline p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.skill-tags, .product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.skill-tags span, .product-tags span { padding: 5px 9px; color: #17529b; background: rgba(219,233,247,.8); border: 1px solid rgba(22,88,162,.12); border-radius: 7px; font-size: 11px; line-height: 1.4; transition: transform .25s var(--ease), background .25s; }
.timeline li:hover .skill-tags span { background: var(--accent-soft); transform: translateY(-2px); }
.product-section { position: relative; overflow: hidden; background-color: white; background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0px; border-block: 1px solid rgba(22,88,162,.12); }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; margin-top: 76px; perspective: 1000px; }
.product-card { position: relative; width: 100%; padding-top: 50px; border: 3px solid #141414; transform-style: preserve-3d; background:
  linear-gradient(135deg, #0000 18.75%, #f3f3f3 0 31.25%, #0000 0),
  repeating-linear-gradient(45deg, #f3f3f3 -6.25% 6.25%, #141414 0 18.75%);
  background-size: 60px 60px; background-position: 0 0, 0 0; background-color: #141414;
  box-shadow: rgba(142,142,142,.3) 0 30px 30px -10px; transition: all .5s ease-in-out; }
.product-card:hover, .product-card:focus-within { background-position: -100px 100px, -100px 100px; transform: rotate3d(.5,1,0,30deg); }
.product-card-head { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; align-items: center; gap: 12px; height: auto; padding: 0; border: 0; background: transparent; }
.mac-dots { display: inline-flex; gap: 6px; }
.mac-dots i { width: 10px; height: 10px; border-radius: 50%; background: #f3f3f3; }
.mac-dots i:first-child { background: #e19aa2; }
.mac-dots i:nth-child(2) { background: #e2c384; }
.mac-dots i:last-child { background: #9cc9a4; }
.product-url { color: #fff; font: 10px/1 "JetBrains Mono", monospace; }
.product-card-body { position: relative; background: #1658a2; color: #fff; transition: all .5s ease-in-out; padding: 60px 25px 25px; transform-style: preserve-3d; }
.product-card-body h3 { margin: 0; color: #fff; font-size: 25px; font-weight: 900; letter-spacing: -.03em; transition: transform .5s ease-in-out; }
.product-card-body h3:hover { transform: translate3d(0px,0px,60px); }
.product-desc { max-width: 46ch; margin: 10px 0 0; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.7; text-wrap: pretty; transition: transform .5s ease-in-out; }
.product-desc:hover { transform: translate3d(0px,0px,30px); }
.product-features { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 18px 0 22px; padding: 0; list-style: none; }
.product-features li { position: relative; padding-left: 17px; color: #fff; font-size: 12px; font-weight: 700; }
.product-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; font-family: "JetBrains Mono", monospace; font-size: 11px; }
.see-more { cursor: pointer; display: inline-block; margin-top: 1rem; padding: .5rem .7rem; color: var(--gold); background: transparent; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .5s ease-in-out; }
.see-more:hover, .see-more:focus-visible { transform: translate3d(0px,0px,10px); }
.date-box { position: absolute; top: 30px; right: 30px; height: 60px; width: 60px; padding: 10px; background: #141414; border: 1px solid #1658a2; color: #fff; transform: translate3d(0px,0px,80px); box-shadow: rgba(100,100,111,.2) 0 17px 10px -10px; }
.date-box span { display: block; text-align: center; }
.date-box .month { color: #fff; font-size: 9px; font-weight: 700; }
.date-box .date { font-size: 20px; font-weight: 900; color: #fff; }

.content-section { background: var(--bg); }
.video-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 26px; }
.video-card { --X: 0deg; --Y: 0deg; --Z: 0deg; --angleX: 15deg; --angleY: 20deg; cursor: pointer; position: relative; display: block; text-decoration: none; }
.card-hover { position: absolute; z-index: 10; top: 0; left: 0; display: flex; flex-wrap: wrap; width: 100%; height: 100%; }
.card-hover .part { width: 20%; height: calc(100% / 3); background-color: transparent; }
.video-card:has(.part-1:hover) { --X: var(--angleX); --Y: calc(var(--angleY) * -1); }
.video-card:has(.part-2:hover) { --X: var(--angleX); --Y: calc((var(--angleY) / 2) * -1); }
.video-card:has(.part-3:hover) { --X: var(--angleX); }
.video-card:has(.part-4:hover) { --X: var(--angleX); --Y: calc(var(--angleY) / 2); }
.video-card:has(.part-5:hover) { --X: var(--angleX); --Y: var(--angleY); }
.video-card:has(.part-6:hover) { --Y: calc(var(--angleY) * -1); }
.video-card:has(.part-7:hover) { --Y: calc((var(--angleY) / 2) * -1); }
.video-card:has(.part-9:hover) { --Y: calc(var(--angleY) / 2); }
.video-card:has(.part-10:hover) { --Y: var(--angleY); }
.video-card:has(.part-11:hover) { --X: calc(var(--angleX) * -1); --Y: calc(var(--angleY) * -1); }
.video-card:has(.part-12:hover) { --X: calc(var(--angleX) * -1); --Y: calc((var(--angleY) / 2) * -1); }
.video-card:has(.part-13:hover) { --X: calc(var(--angleX) * -1); }
.video-card:has(.part-14:hover) { --X: calc(var(--angleX) * -1); --Y: calc(var(--angleY) / 2); }
.video-card:has(.part-15:hover) { --X: calc(var(--angleX) * -1); --Y: var(--angleY); }
.video-inner { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; background-color: #fff; background-image: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%); border: 1px solid var(--border); border-radius: .5rem; transform-origin: center; transform: rotateX(var(--X)) rotateY(var(--Y)) rotateZ(var(--Z)); transition: transform .3s ease-in-out; min-height: 100%; }
.video-cover { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #eee; border-radius: .35rem; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.video-card:hover .video-cover img { transform: scale(1.035); }
.video-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 10px 26px rgba(22,88,162,.25); transform: translate(-50%,-50%) scale(1); transition: transform .35s var(--ease); display: grid; place-items: center; }
.video-play::after { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--accent); }
.video-card:hover .video-play { transform: translate(-50%,-50%) scale(1.12); }
.video-body { position: relative; }
.say-hi { position: relative; width: 100%; height: 2rem; background-color: transparent; }
.icon-say-hi { position: absolute; bottom: 0; left: -.5rem; width: 2.5rem; opacity: 0; transform-origin: 60% 90%; transform: rotate(-15deg); filter: drop-shadow(0 0 .5rem #2b2b2b); transition: all .2s ease-in-out; }
.video-card:hover .icon-say-hi { width: 3rem; opacity: 1; animation: say-hi .35s linear infinite alternate; }
@keyframes say-hi { to { transform: rotate(25deg); } }
.card-kicker { color: #1f1f1f; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: capitalize; }
.video-body h3 { margin: 7px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; color: #1f1f1f; transition: color .3s; }
.video-card:hover h3 { color: #1f1f1f; }

.life-section { position: relative; background: #fff; border-block: 1px solid rgba(70,70,67,.1); overflow: hidden; }
.life-section .container { position: relative; z-index: 1; }
.circuit-wrapper { position: absolute; z-index: 0; inset: 0; pointer-events: none; background-color: #fff; }
.circuit-background { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; pointer-events: none; background-image: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(75,85,99,.08) 19px, rgba(75,85,99,.08) 20px, transparent 20px, transparent 39px, rgba(75,85,99,.08) 39px, rgba(75,85,99,.08) 40px), repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(75,85,99,.08) 19px, rgba(75,85,99,.08) 20px, transparent 20px, transparent 39px, rgba(75,85,99,.08) 39px, rgba(75,85,99,.08) 40px), radial-gradient(circle at 20px 20px, rgba(55,65,81,.12) 2px, transparent 2px), radial-gradient(circle at 40px 40px, rgba(55,65,81,.12) 2px, transparent 2px); background-size: 40px 40px, 40px 40px, 40px 40px, 40px 40px; }

.life-sticker-field { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.life-ambient-sticker { --tilt: 0deg; --float-y: -16px; --float-duration: 3.8s; --float-delay: 0s; position: absolute; display: block; width: 118px; will-change: transform; }
.life-sticker-motion { position: relative; display: block; filter: drop-shadow(0 15px 13px rgba(57,50,67,.18)) drop-shadow(0 3px 2px rgba(57,50,67,.1)); transform-origin: 50% 65%; will-change: transform; animation: life-sticker-drift var(--float-duration) ease-in-out var(--float-delay) infinite; }
.life-sticker-motion img { display: block; height: 150px; width: auto; }
.life-sticker-emo1 { --tilt: -4deg; --float-y: -17px; --float-duration: 3.5s; --float-delay: -.8s; left: 49%; top: 122px; height: 150px; }
.life-sticker-emo2 { --tilt: 5deg; --float-y: -16px; --float-duration: 3.9s; --float-delay: -2.1s; right: 3%; top: 138px; height: 150px; }
.life-sticker-emo3 { --tilt: 3deg; --float-y: -15px; --float-duration: 3.3s; --float-delay: -1.4s; left: 66%; top: 288px; height: 150px; }
.life-sticker-emo4 { --tilt: 7deg; --float-y: -17px; --float-duration: 3.7s; --float-delay: -.3s; right: -1%; top: 350px; height: 150px; }
.life-sticker-emo5 { --tilt: -6deg; --float-y: -15px; --float-duration: 4.1s; --float-delay: -2.7s; right: 5%; top: 640px; height: 150px; }
.life-sticker-emo6 { --tilt: -7deg; --float-y: -18px; --float-duration: 3.6s; --float-delay: -1.9s; left: 1%; bottom: 40px; height: 150px; }
.life-sticker-emo7 { --tilt: 2deg; --float-y: -16px; --float-duration: 3.8s; --float-delay: -1.1s; left: 3%; top: 310px; height: 150px; }
@keyframes life-sticker-drift { 0%,100% { transform: translate3d(0,0,0) rotate(var(--tilt)); } 50% { transform: translate3d(0,var(--float-y),0) rotate(var(--tilt)); } }
@media (max-width: 1023px) {
  .life-sticker-emo1 { left: 48%; top: 130px; }
  .life-sticker-emo2 { right: 0; top: 160px; }
  .life-sticker-emo3 { left: 68%; top: 400px; }
  .life-sticker-emo4 { display: none; }
  .life-sticker-emo5 { right: 3%; top: 680px; bottom: auto; }
  .life-sticker-emo6 { left: 0; bottom: 120px; }
  .life-sticker-emo7 { left: 2%; top: 340px; }
}
@media (max-width: 767px) {
  .life-sticker-field { position: relative; inset: auto; height: 126px; margin: 26px 0 -8px; }
  .life-ambient-sticker { width: 84px; }
  .life-sticker-motion img { height: 78px; }
  .life-sticker-emo1 { left: 3%; top: 6px; width: 78px; }
  .life-sticker-emo2 { right: 4%; top: 18px; width: 90px; }
  .life-sticker-emo6 { left: 41%; top: 25px; bottom: auto; width: 88px; }
  .life-sticker-emo3, .life-sticker-emo4, .life-sticker-emo5, .life-sticker-emo7 { display: none; }
  .lightbox-stage { padding: 38px 52px 26px; }
  .lightbox-window { width: calc(100vw - 24px); height: 74vh; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .lightbox-arrow { width: 40px; height: 40px; font-size: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
.folder-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 0; align-items: start; min-height: 540px; margin-top: 56px; }
.folder-card { display: block; width: 100%; padding: 0; text-align: left; background: none; border: 0; cursor: pointer; transform-origin: center bottom; transition: transform .55s var(--ease); }
.folder-card:nth-child(1) { grid-column: 1 / 6; transform: translate(-20px,54px) rotate(-2.4deg); }
.folder-card:nth-child(2) { grid-column: 5 / 9; transform: translate(12px,112px) rotate(1.6deg); }
.folder-card:nth-child(3) { grid-column: 9 / 13; transform: translate(18px,12px) rotate(-1.1deg); }
.folder-card:hover, .folder-card[aria-expanded="true"] { z-index: 4; }
.folder-scene { position: relative; display: block; height: 430px; perspective: 900px; }
.folder-back, .folder-front { position: absolute; left: 7%; right: 7%; bottom: 20px; display: block; border-radius: 18px; }
.folder-back { z-index: 2; height: 190px; background: #d97706; border: 1px solid rgba(120,53,15,.25); box-shadow: 0 20px 38px rgba(120,53,15,.22); transition: transform .58s var(--ease); }
.folder-back::before { content: ""; position: absolute; left: 0; top: -34px; width: 42%; height: 58px; background: inherit; border-radius: 16px 22px 0 0; }
.folder-back::after { content: ""; position: absolute; left: 10%; top: -18px; width: 16px; height: 16px; background: #b45309; clip-path: polygon(0 0, 100% 0, 100% 100%, 55% 60%, 0% 100%); }
.folder-front { z-index: 8; height: 165px; padding: 54px 25px 22px; color: #78350f; background: linear-gradient(155deg,#fbbf24,#f59e0b); border: 1px solid rgba(180,83,9,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 20px 38px rgba(120,53,15,.2); transform-origin: center bottom; transition: transform .58s var(--ease); }
.folder-front b { position: absolute; right: 22px; top: 20px; color: rgba(120,53,15,.62); font: 10px/1 "JetBrains Mono", monospace; }
.folder-front strong, .folder-front small { display: block; }
.folder-front strong { font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.folder-front small { margin-top: 4px; color: rgba(120,53,15,.7); font-size: 11px; }
.folder-photo { position: absolute; z-index: 5; left: 50%; bottom: 120px; width: 60%; padding: 7px; overflow: hidden; background: #fff; border: 1px solid rgba(70,56,82,.1); border-radius: 12px; box-shadow: 0 18px 32px rgba(22,88,162,.14); transform: translate(-50%,58px) rotate(0) scale(.82); transform-origin: center bottom; transition: transform .68s var(--ease), opacity .38s; }
.folder-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 7px; }
.folder-photo.photo-two { transform: translate(-50%,66px) rotate(2deg) scale(.8); }
.folder-photo.photo-three { transform: translate(-50%,72px) rotate(-2deg) scale(.78); }
.folder-photo.photo-four { transform: translate(-50%,78px) rotate(0) scale(.76); opacity: .88; }
.folder-card:hover .folder-back, .folder-card[aria-expanded="true"] .folder-back { transform: translateY(-6px) rotateX(4deg); }
.folder-card:hover .folder-front, .folder-card[aria-expanded="true"] .folder-front { transform: translateY(12px) rotateX(-12deg); }
.folder-card:hover .photo-one, .folder-card[aria-expanded="true"] .photo-one { transform: translate(-108%,-96px) rotate(-10deg) scale(1); }
.folder-card:hover .photo-two, .folder-card[aria-expanded="true"] .photo-two { transform: translate(-50%,-150px) rotate(2deg) scale(1.03); }
.folder-card:hover .photo-three, .folder-card[aria-expanded="true"] .photo-three { transform: translate(6%,-100px) rotate(10deg) scale(1); }
.folder-card:hover .photo-four, .folder-card[aria-expanded="true"] .photo-four { transform: translate(-6%,-60px) rotate(-6deg) scale(.9); opacity: 1; }
.folder-sticker { position: absolute; z-index: 9; display: inline-flex; align-items: center; justify-content: center; }
.sticker-round { top: 8%; right: 4%; width: 58px; height: 58px; color: white; background: var(--accent); border-radius: 50%; box-shadow: 0 10px 22px rgba(22,88,162,.34); transform: rotate(10deg); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.folder-card:hover .sticker-round, .folder-card[aria-expanded="true"] .sticker-round { transform: rotate(18deg) scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(18,17,22,.72); backdrop-filter: blur(8px); }
.lightbox-window { position: relative; z-index: 1; width: min(1120px, calc(100vw - 56px)); height: min(80vh, 820px); margin: auto; user-select: none; }
.lightbox-titlebar { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 26px; display: grid; place-items: center; color: #fff; font: 10px/1 "JetBrains Mono", monospace; cursor: move; }
.lightbox-stage { position: absolute; inset: 0; margin: 0; padding: 34px 88px 30px; overflow: hidden; touch-action: none; display: flex; align-items: center; justify-content: center; }
.lightbox-stage img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 44px; height: 44px; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 50%; font-size: 24px; cursor: pointer; transition: background .25s; }
.lightbox-close:hover { background: rgba(255,255,255,.26); }
.lightbox-arrow { position: absolute; z-index: 2; top: 50%; width: 50px; height: 50px; color: #fff; background: rgba(255,255,255,.1); border: 0; border-radius: 50%; font-size: 20px; cursor: pointer; transform: translateY(-50%); transition: background .25s; }
.lightbox-arrow:hover { background: rgba(255,255,255,.24); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-resizer { position: absolute; z-index: 3; background: transparent; }
.lightbox-resizer-nw { top: -4px; left: -4px; width: 16px; height: 16px; cursor: nwse-resize; }
.lightbox-resizer-n { top: -4px; left: 20px; right: 20px; height: 9px; cursor: ns-resize; }
.lightbox-resizer-ne { top: -4px; right: -4px; width: 16px; height: 16px; cursor: nesw-resize; }
.lightbox-resizer-e { top: 20px; right: -4px; bottom: 20px; width: 9px; cursor: ew-resize; }
.lightbox-resizer-se { right: -4px; bottom: -4px; width: 16px; height: 16px; cursor: nwse-resize; }
.lightbox-resizer-s { left: 20px; right: 20px; bottom: -4px; height: 9px; cursor: ns-resize; }
.lightbox-resizer-sw { left: -4px; bottom: -4px; width: 16px; height: 16px; cursor: nesw-resize; }
.lightbox-resizer-w { top: 20px; bottom: 20px; left: -4px; width: 9px; cursor: ew-resize; }

.contact-section { background: var(--surface); }
.contact-heading { max-width: 520px; }
.contact-routes { display: grid; grid-template-columns: 1.3fr .7fr; gap: 0; margin-top: 56px; border-block: 1px solid var(--border); }
.contact-route { min-height: 310px; padding: 32px; }
.contact-route + .contact-route { border-left: 1px solid var(--border); }
.route-index { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 10px; }
.contact-route h3 { margin: 42px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.contact-route p { margin: 10px 0 26px; color: var(--muted); font-size: 13px; }
.route-actions { display: flex; flex-wrap: wrap; gap: 30px; }

.site-footer { padding: 62px 0 26px; color: rgba(255,255,255,.78); background: #1c1d20; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 62px; }
.brand-light { color: white; }
.footer-brand p { max-width: 34ch; margin: 24px 0 0; color: rgba(255,255,255,.55); font-size: 13px; }
.footer-grid h2 { margin: 4px 0 18px; color: rgba(255,255,255,.45); font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.footer-grid > div:not(.footer-brand) a, .footer-grid > div:not(.footer-brand) button { display: block; width: max-content; margin: 9px 0; padding: 0; color: rgba(255,255,255,.72); background: none; border: 0; font-size: 12px; cursor: pointer; transition: color .2s; }
.footer-grid a:hover, .footer-grid button:hover { color: white !important; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 52px; padding-top: 22px; color: rgba(255,255,255,.38); border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; }
.footer-meta { display: flex; align-items: center; gap: 12px; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; padding: 10px 15px; color: white; background: rgba(25,26,29,.92); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%,12px); transition: opacity .3s, transform .3s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.wechat-popover { position: fixed; z-index: 60; top: 74px; right: 20px; width: 236px; padding: 16px; background: rgba(255,255,255,.94); border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 18px 46px rgba(38,34,44,.12), inset 0 1px 0 white; backdrop-filter: blur(18px); }
.wechat-popover[hidden] { display: none; }
.wechat-popover > strong { display: block; padding-right: 24px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.wechat-popover-close { position: absolute; right: 7px; top: 6px; width: 28px; height: 28px; color: var(--muted); background: none; border: 0; cursor: pointer; }
.wechat-copy { margin-top: 11px; padding: 6px 10px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(22,88,162,.14); border-radius: 7px; font-size: 11px; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.wechat-copy:hover { background: #d3e5f8; transform: translateY(-1px); }
.wechat-copy:active { transform: translateY(0) scale(.97); }
.floating-avatar { position: fixed; z-index: 38; right: 22px; bottom: 22px; display: grid; width: 58px; height: 58px; place-items: center; padding: 0; overflow: visible; background: none; border: 0; cursor: pointer; transition: transform .3s var(--ease); }
.floating-avatar img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(48,39,70,.22)); }
.floating-avatar:hover { transform: translateY(-4px) rotate(-2deg); }
.floating-avatar:active { transform: translateY(-1px) scale(.96); }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,18,24,.78); backdrop-filter: blur(6px); }
.modal-card { position: relative; z-index: 1; width: min(920px, calc(100vw - 40px)); max-height: 88svh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 40px 90px rgba(0,0,0,.4); padding: 34px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; color: var(--muted); background: var(--surface-soft); }
.modal-close:hover { color: var(--accent); }
.modal-head h2 { font-size: 26px; letter-spacing: -.03em; margin: 8px 0 6px; }
.modal-desc { color: var(--muted); font-size: 14px; max-width: 60ch; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.modal-meta span { font-size: 11px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(22,88,162,.22); padding: 5px 9px; border-radius: 7px; }
.modal-viewer { position: relative; margin-top: 22px; }
.modal-figure img { width: 100%; max-height: 58svh; object-fit: contain; border-radius: 12px; background: var(--bg); }
.modal-figure figcaption { text-align: center; color: var(--muted); font-size: 12px; margin-top: 10px; font-family: "Inter", sans-serif; }
.modal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: var(--surface-soft); border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(0,0,0,.16); font-size: 18px; }
.modal-arrow:hover { color: var(--accent); }
.modal-prev { left: -14px; } .modal-next { right: -14px; }

.js .reveal, .js .reveal-stagger > * { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible, .js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }

@media (max-width: 1365px) {
  .hero-inner { gap: 48px; }
}

@media (max-width: 1023px) {
  .section { padding: 100px 0 112px; }
  .journey-layout, .product-grid { grid-template-columns: 1fr; gap: 56px; }
  .section-intro { position: static; }
  .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { padding: 120px 0 76px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-copy { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-avatar-card { width: clamp(200px, 44vw, 260px); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  .section { padding: 76px 0 84px; }
  .container { width: min(100% - 40px, var(--container)); }
  .site-header { box-shadow: 0 5px 26px rgba(43,38,50,.04); }
  .nav-shell { grid-template-columns: auto auto; }
  .nav-links, .nav-contact { display: none; }
  .menu-toggle { display: grid; width: 40px; height: 40px; place-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 10px; background: rgba(240,233,221,.06); }
  .menu-toggle span { display: block; width: 17px; height: 1.5px; background: var(--ink); }
  .mobile-menu { position: absolute; top: 60px; right: 0; display: grid; gap: 2px; width: 180px; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.16); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 10px 12px; border-radius: 8px; font-size: 14px; }
  .hero { padding: 118px 0 56px; }
  .hero-title .hero-line-one { font-size: 40px; }
  .hero-title .hero-line-two { font-size: clamp(24px, 6.4vw, 30px); }
  .hero-avatar-card { display: none; }
  .product-grid { gap: 24px; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-routes { grid-template-columns: 1fr; }
  .contact-route + .contact-route { border-left: 0; border-top: 1px solid var(--border); }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .life-sticker-motion { animation: none !important; }
  .product-card:hover, .product-card:focus-within { transform: none; background-position: 0 0, 0 0; }
  .product-card * { transform: none !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}
/* From Uiverse.io by doniaskima */
.btn-31,
.btn-31 *,
.btn-31 :after,
.btn-31 :before,
.btn-31:after,
.btn-31:before {
  border: 0 solid;
  box-sizing: border-box;
}

.btn-31 {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: #000;
  background-image: none;
  color: #fff;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 100%;
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
}

.btn-31:disabled {
  cursor: default;
}

.btn-31:-moz-focusring {
  outline: auto;
}

.btn-31 svg {
  display: block;
  vertical-align: middle;
}

.btn-31 [hidden] {
  display: none;
}

.btn-31 {
  border-width: 1px;
  padding: 1rem 2rem;
  position: relative;
  text-transform: uppercase;
}

.btn-31:before {
  --progress: 100%;
  background: #fff;
  -webkit-clip-path: polygon(
    100% 0,
    var(--progress) var(--progress),
    0 100%,
    100% 100%
  );
  clip-path: polygon(
    100% 0,
    var(--progress) var(--progress),
    0 100%,
    100% 100%
  );
  content: "";
  inset: 0;
  position: absolute;
  transition: -webkit-clip-path 0.2s ease;
  transition: clip-path 0.2s ease;
  transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease;
}

.btn-31:hover:before {
  --progress: 0%;
}

.btn-31 .text-container {
  display: block;
  overflow: hidden;
  position: relative;
}

.btn-31 .text {
  display: block;
  font-weight: 900;
  mix-blend-mode: difference;
  position: relative;
}

.btn-31:hover .text {
  -webkit-animation: move-up-alternate 0.3s ease forwards;
  animation: move-up-alternate 0.3s ease forwards;
}

@-webkit-keyframes move-up-alternate {
  0% { transform: translateY(0); }
  50% { transform: translateY(80%); }
  51% { transform: translateY(-80%); }
  to { transform: translateY(0); }
}

@keyframes move-up-alternate {
  0% { transform: translateY(0); }
  50% { transform: translateY(80%); }
  51% { transform: translateY(-80%); }
  to { transform: translateY(0); }
}

/* From Uiverse.io by Web-Potato — pressed-ledge buttons (scoped to .btn-33) */
.btn-33 {
  background-color: #212121;
  border: 0.08em solid #fff;
  border-radius: 0.3em;
  cursor: pointer;
  font-size: 12px;
  height: 4.2em;
  padding: 0.1em 0.25em;
  width: 13em;
}

.btn-33 > span {
  align-items: center;
  background-color: #212121;
  border: 0.08em solid #fff;
  border-radius: 0.2em;
  bottom: 0.4em;
  box-shadow: 0 0.4em 0.1em 0.019em #fff;
  color: #fff;
  display: flex;
  font-size: 1.5em;
  height: 2.5em;
  justify-content: center;
  position: relative;
  width: 8.25em;
}

.btn-33:hover > span {
  box-shadow: 0 0 0 0 #fff;
  transform: translate(0, 0.4em);
  transition: all 0.5s;
}

.btn-33:not(:hover) > span {
  transition: all 1s;
}

@media (prefers-reduced-motion: reduce) {
  .btn-33 > span {
    transition: none;
  }
}

/* From Uiverse.io by Awadhesh684827 - scoped (flat CSS) */
.btn-glitch-fill{display:inline-block;font-family:"VT323",monospace;border:1px solid #000;color:#000;padding:.875em 1.3em;min-width:175px;line-height:1.5em;white-space:nowrap;text-transform:uppercase;cursor:pointer;border-radius:15px;}
.btn-glitch-fill .text,.btn-glitch-fill .decoration{display:inline-block;}
.btn-glitch-fill .decoration{float:right;}
.btn-glitch-fill:hover,.btn-glitch-fill:focus{background-color:#ff0;color:#000;border:1px solid #ff0;animation:glitch .2s;}
.btn-glitch-fill:hover .text-decoration,.btn-glitch-fill:hover .decoration{animation:blink .1s infinite;}
.btn-glitch-fill:active{background:none;color:#ff0;}
.btn-glitch-fill:active .text-decoration,.btn-glitch-fill:active .decoration{animation:none;}
@keyframes glitch{25%{background-color:#f00;color:#000;transform:translateX(-10px);letter-spacing:10px;}35%{background-color:#0f0;transform:translateX(10px);}59%{opacity:0;}60%{background-color:#00f;transform:translateX(-10px);filter:blur(5px);opacity:1;}100%{background-color:#ff0;}}
@keyframes blink{50%{opacity:0;}}
@media (prefers-reduced-motion: reduce){.btn-glitch-fill:hover,.btn-glitch-fill:focus{animation:none;}.btn-glitch-fill:hover .text-decoration,.btn-glitch-fill:hover .decoration{animation:none;}}
/* FROM Uiverse.io by petrgolduch - Brutalist UUID input (model: edit me not) */
.uuid-brutal-box{display:grid;gap:.96em;width:100%;max-width:30em;aspect-ratio:16/9;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-align:left;--u-ink:#e8e8e8;}
.uuid-input{display:block;width:100%;box-sizing:border-box;background:transparent;color:var(--text-color);border:none;padding:.9em 1em;font-family:inherit;font-size:.95em;letter-spacing:.03em;}
.uuid-input:focus{outline:none;background:#141414;}
@keyframes uuid-blink{50%{opacity:0;}}
@media (prefers-reduced-motion: reduce){.uuid-field::after{animation:none;}}

/* From Uiverse.io by gagan-gv — Retro mailto card, scoped */
.retro-mail-card{display:inline-flex;flex-direction:column;gap:.15em;align-items:flex-start;width:17em;aspect-ratio:16/9;padding:1em 1.2em;background:#fff;border:.16em solid #000;border-radius:0;box-shadow:.75em .75em 0 -0.12em #fff,.75em .75em 0 0 #000;text-align:left;text-decoration:none;color:#000;transition:transform .12s ease,box-shadow .12s ease;box-sizing:border-box;justify-content:center;}
.retro-mail-card:hover{transform:translate(-0.35em,-0.35em);box-shadow:1.1em 1.1em 0 -0.9em #fff,1.1em 1.1em 0 0 #000;}
.retro-mail-card:active{transform:translate(0.3em,0.3em);box-shadow:0.3em 0.3em 0 -0.9em #fff,0.3em 0.3em 0 0 #000;}
.retro-mail-card-title{font-size:.72em;font-weight:900;letter-spacing:.18em;text-transform:uppercase;}
.retro-mail-card-address{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;font-size:.9em;word-break:break-all;}
@media (prefers-reduced-motion: reduce){.retro-mail-card,.retro-mail-card:hover,.retro-mail-card:active{transition:none;transform:none;}}

/* 邮箱卡提示行(点击复制) */
.retro-mail-card-hint{font-size:.62em;font-weight:900;letter-spacing:.14em;text-transform:uppercase;}
.wechat-popover-qr{display:block;max-width:180px;margin:14px auto 6px}@media (prefers-reduced-motion: reduce){.wechat-popover-qr{width:150px}}
