/* Homepage v0 · kinetic editorial structure with paper-collage materials. */
:root { --home-cream: #f9fcf4; --home-paper: #f3eee6; --home-navy: #202840; --home-dark: #2b2b2b; --home-pink: #ff9ab6; }
html { scroll-behavior: auto; }
body { color: var(--home-cream); background: var(--home-navy); }
.site-shell { overflow: clip; }
a, button { -webkit-tap-highlight-color: transparent; }
/* After the .46 hand-off, 304svh leaves the same 110svh peel distance as the
   210svh standalone lab, so both versions share one scroll-to-curl rhythm. */
.story-hero { height: 304svh; }
.under-page { display: none !important; }
.loading-screen { display: block; }
html.return-visit .loading-screen { display: none; }
.hero-grid { opacity: .012; }
.hero-header { gap: clamp(1rem, 2.5vw, 3rem); align-items: center; padding: clamp(1.1rem, 2.2vw, 2.4rem) clamp(1.3rem, 3vw, 3.7rem); }
.header-index { display: grid; width: 3.15rem; height: 3.15rem; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--home-navy); background: var(--home-cream); cursor: pointer; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.header-index__icon { display: grid; justify-items: center; align-content: center; width: 1.15rem; gap: .34rem; }
.header-index .header-index__icon { margin-left: 0; color: inherit; font-size: inherit; }
.header-index__icon i { display: block; width: 1.15rem; height: 2px; border-radius: 999px; background: var(--home-pink); }
.header-index:hover { color: var(--home-navy); background: var(--home-pink); transform: scale(1.04); }
.header-index:hover .header-index__icon i { background: var(--home-navy); }
.header-index:active { transform: scale(.97); }
.header-resume[hidden] { display: none; }
.hero-title, .hero-title--interactive {
  top: clamp(2rem, 5.2svh, 4.4rem); left: 50%; right: auto; width: max-content; max-width: calc(100vw - 2rem);
  color: var(--home-cream); font-size: clamp(4rem, 11.6vw, 14.5rem); line-height: 1.02; letter-spacing: -.045em;
  opacity: 0; transform: translate3d(-50%, .48em, 0); transform-origin: center; clip-path: inset(-.7em 100% -.72em -.14em);
}
.hero-title span { margin-left: .035em; letter-spacing: -.05em; }
.hero-title--interactive { gap: .125em; }
.hero-title--interactive span { margin-left: 0; }
.hero-title--interactive { left: calc(50% - clamp(1rem, 3vw, 3.25rem)); }
@media (max-width: 1199px) { .hero-title--interactive { left: 50%; } }
.story-hero[data-title-visible="true"] .hero-title,
.story-hero[data-title-visible="true"] .hero-title--interactive { opacity: var(--title-opacity, 1); transform: translate3d(-50%, 0, 0); clip-path: inset(-.7em -.25em -.72em -.14em); }
.story-hero[data-title-visible="true"] .hero-title--interactive { clip-path: inset(-.7em -.52em -.72em -.14em); }
.portrait-rig { left: 50%; right: auto; bottom: -43svh; height: min(124svh, 1400px); transform: translate3d(calc(-50% + var(--portrait-shift-x, 0px)), var(--portrait-rise, 0px), 0) rotate(var(--portrait-turn, 0deg)); }
.icon-tray { opacity: 0; transform: translateY(27%) scale(.82); transition: transform 950ms cubic-bezier(0.23,1,0.32,1), opacity 420ms cubic-bezier(0.23,1,0.32,1); }
.story-hero[data-icons-visible="true"] .icon-tray { transform: translateY(var(--icon-peel-rise, 0px)) scale(1); }
.icon-link { pointer-events: auto; padding: .3rem; border-radius: 1.2rem; transition: transform 170ms ease, filter 170ms ease; }
.icon-link:hover { filter: brightness(1.08); transform: translateY(-4px) rotate(0); }
.icon-link:active { transform: translateY(2px) scale(.97); }
.icon-link:focus-visible { outline: 3px solid var(--home-cream); outline-offset: 2px; }
.icon-link:disabled, .icon-link[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.icon-tooltip { background: var(--home-cream); color: var(--home-navy); border-radius: .15rem; }
.chapters { position: relative; z-index: 2; color: var(--home-cream); background: transparent; }
.home-intro { display: grid; align-content: center; min-height: 110svh; margin-top: -96svh; padding: clamp(5rem, 12vh, 10rem) max(6vw, calc((100vw - 1550px) / 2)); }
.home-intro__marker, .home-chapter__overline, .contact-index__eyebrow { margin: 0 0 1.2rem; color: var(--home-pink); font-size: .78rem; font-weight: 800; letter-spacing: .19em; }
.home-intro__line { max-width: 25ch; margin: 0; font-size: clamp(2.8rem, 5.35vw, 6.6rem); font-weight: 760; line-height: 1.08; letter-spacing: -.072em; text-wrap: balance; }
.home-intro__line > span { display: block; }
.home-intro__accent { color: var(--home-pink); }
.home-intro__aside { margin-top: .3em; color: var(--home-pink); font-size: .44em; font-weight: 720; letter-spacing: -.035em; }
.home-intro__next { display: inline-flex; width: fit-content; min-height: 2.75rem; align-items: center; gap: 1.5rem; margin-top: 2rem; color: var(--home-cream); font-size: .9rem; font-weight: 750; text-decoration: none; }
.home-intro__next:hover { color: var(--home-pink); gap: 2rem; }
.home-intro__next:active { transform: translateY(1px); }
.home-chapter { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: 1vw; min-height: 108svh; margin-inline: auto; padding: clamp(5rem, 8vh, 8rem) max(6vw, calc((100vw - 1680px) / 2)); isolation: isolate; }
.home-chapter__copy { position: relative; z-index: 2; align-self: center; }
.home-chapter__copy h2 { margin: 0; color: var(--home-cream); font-size: clamp(6rem, 11.2vw, 13.5rem); line-height: .98; font-weight: 850; letter-spacing: -.09em; white-space: nowrap; }
.home-chapter__copy h2 span { color: var(--home-pink); }
.home-chapter__description { max-width: 27ch; margin: clamp(1.5rem, 3vw, 3.2rem) 0 0; color: rgba(255,244,223,.84); font-size: clamp(1.1rem, 1.55vw, 1.55rem); line-height: 1.65; text-wrap: pretty; }
.home-chapter__entry { display: inline-flex; min-height: 3.75rem; align-items: center; justify-content: center; margin-top: clamp(1.8rem, 4vw, 4rem); padding: .8rem 1.6rem; color: var(--home-navy); background: var(--home-pink); font-size: clamp(1.1rem, 1.35vw, 1.4rem); font-weight: 800; text-decoration: none; box-shadow: .35rem .45rem 0 rgba(249,252,244,.18); transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.home-chapter__entry:hover { color: var(--home-navy); background: var(--home-cream); box-shadow: .5rem .6rem 0 rgba(255,154,182,.25); transform: translateY(-2px); }
.home-chapter__entry:active { transform: translateY(2px); }
.home-chapter__entry:disabled, .home-chapter__entry[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.collage { position: relative; height: min(72vh, 680px); min-height: 460px; width: 100%; }
.collage--about { height: min(78vh, 740px); }
.collage-about__paper { position: absolute; top: 3%; left: 23%; width: 61%; height: 91%; padding: 1.2rem 1.2rem 0; overflow: hidden; color: var(--home-navy); background: var(--home-cream); box-shadow: 1.2rem 1.5rem 0 rgba(255,154,182,.13); transform: rotate(4deg); }
.collage-about__paper span { position: relative; z-index: 2; display:inline-block; padding:.35rem .55rem; background:var(--home-cream); font-size: .75rem; font-weight: 850; letter-spacing: .16em; }
.collage-about__paper img { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transform:scale(1.1); transform-origin:center bottom; }
.collage-about__camera { position: absolute; z-index: 3; top: 43%; left: -10%; width: 34%; filter: drop-shadow(1rem 1rem .7rem rgba(0,0,0,.24)); transform: rotate(-12deg); }
.collage-about__caption { position: absolute; z-index: 4; right: -1%; bottom: 10%; padding: .9rem 1.3rem; color: var(--home-navy); background: var(--home-pink); font-size: clamp(.95rem, 1.25vw, 1.3rem); font-weight: 850; transform: rotate(-6deg); }
.home-chapter--campus { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 3vw; }
.home-chapter--campus .home-chapter__copy { order: 2; padding-left: clamp(3rem, 8vw, 10rem); }
.home-chapter--campus .collage { order: 1; }
.campus-paper { position: absolute; display: flex; flex-direction: column; width: 46%; height: 62%; padding: clamp(1rem, 2vw, 2rem); color: var(--home-navy); background: var(--home-cream); box-shadow: 1rem 1rem 0 rgba(0,0,0,.12); }
.campus-paper::before { content: ''; position: absolute; top: 0; left: 13%; width: 1px; height: 100%; background: rgba(32,40,64,.15); }
.campus-paper span { font-size: .72rem; font-weight: 850; letter-spacing: .13em; }
.campus-paper strong { margin: auto 0; font-size: clamp(2rem, 4vw, 4.7rem); letter-spacing: -.08em; }
.campus-paper small { font-size: .9rem; line-height: 1.5; }
.campus-paper--undergrad { top: 8%; left: 4%; transform: rotate(-11deg); }
.campus-paper--graduate { top: 18%; right: 3%; transform: rotate(10deg); }
.collage-campus__notebook { position: absolute; z-index: 3; left: 21%; bottom: -1%; width: 58%; max-height: 76%; object-fit: contain; filter: drop-shadow(1.1rem 1.5rem 1rem rgba(0,0,0,.27)); transform: rotate(-6deg); }
.collage--internship { min-height: 520px; isolation: isolate; }
.intern-badge { --badge-accent: #ff6900; position: absolute; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; width: 43%; height: 38%; min-height: 10rem; padding: clamp(.9rem, 1.5vw, 1.35rem); color: var(--home-navy); background: var(--home-cream); }
.intern-badge::before { content: ''; position: absolute; inset: 0 0 auto; height: .38rem; background: var(--badge-accent); }
.intern-badge__top { display: flex; justify-content: space-between; gap: .5rem; color: #654c5b; font-size: .62rem; font-weight: 800; letter-spacing: .11em; white-space: nowrap; }
.intern-badge__identity { display: flex; align-items: center; gap: clamp(.45rem, 1vw, .8rem); align-self: center; min-width: 0; }
.intern-badge__identity img { display: block; flex: none; width: clamp(2.5rem, 4.2vw, 4rem); height: clamp(2.5rem, 4.2vw, 4rem); object-fit: contain; }
.intern-badge__identity strong { font-size: clamp(1.6rem, 2.45vw, 2.8rem); line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; }
.intern-badge p { margin: 0; padding-top: .55rem; border-top: 1px solid rgba(32,40,64,.15); font-size: clamp(.68rem, .95vw, .85rem); line-height: 1.4; text-wrap: balance; }
.intern-badge--xiaomi { top: 1%; left: 5%; transform: rotate(-7deg); }
.intern-badge--baidu { --badge-accent: #2932e1; top: 7%; right: 2%; transform: rotate(6deg); background: var(--home-cream); }
.intern-badge--kuaishou { --badge-accent: #ff4c00; bottom: 7%; left: 0; transform: rotate(5deg); }
.intern-badge--xiaohongshu { --badge-accent: #ff1744; bottom: 1%; right: 3%; transform: rotate(-5deg); background: var(--home-cream); }
.collage-internship__bag { position: absolute; z-index: 1; top: 25%; left: 27%; width: 46%; filter: drop-shadow(1.1rem 1.4rem 1rem rgba(0,0,0,.27)); transform: rotate(-5deg); pointer-events: none; }
.home-chapter--about, .home-chapter--campus { background: var(--home-dark); }
.campus-ledger { position: relative; align-self: center; display:grid; gap:1.2rem; padding-top:5rem; }
.campus-ledger__icon { position: absolute; z-index: 2; top: -5%; right: 1%; width: min(24%, 175px); filter: drop-shadow(.9rem 1.1rem .7rem rgba(0,0,0,.22)); transform: rotate(7deg); }
.campus-ledger__row { display: grid; grid-template-columns:clamp(4.5rem,7vw,7rem) 1fr; gap: clamp(1rem,2vw,2rem); align-items:center; min-height:15rem; padding:clamp(1.2rem,2vw,2rem); background:#403235; }
.campus-ledger__row:nth-of-type(2) { background:#283f59; }
.campus-ledger__seal-frame { display:grid; place-items:center; width:100%; aspect-ratio:1; padding:.35rem; background:#fff; }
.campus-ledger__seal { display:block; width:100%; height:100%; object-fit:contain; }
.campus-ledger__row span { display:block; margin-bottom:.6rem; color:var(--home-pink); font-size:.78rem; font-weight:850; letter-spacing:.12em; }
.campus-ledger__row strong { display:block; font-size:clamp(1.5rem,2.1vw,2.35rem); line-height:1.15; letter-spacing:-.04em; }
.campus-ledger__row small { display:block; margin:.35rem 0 .75rem; color:var(--home-cream); font-size:clamp(.9rem,1.1vw,1.05rem); font-weight:700; }
.campus-ledger__row p { max-width:34em; margin:0; color:rgba(249,252,244,.8); font-size:clamp(.9rem,1.1vw,1.08rem); line-height:1.65; text-wrap:pretty; }
.paper-transition { --tear-progress: 0; position: relative; height: clamp(28rem, 72svh, 48rem); overflow: hidden; isolation: isolate; }
.paper-transition--compact { height:clamp(12rem,26svh,23rem); }
.paper-transition::before, .paper-transition::after { content: ''; position: absolute; inset: -2px; pointer-events: none; }
.paper-transition--to-dark { background: var(--home-dark); }
.paper-transition--to-dark::before { z-index: 2; background: var(--home-navy); clip-path: polygon(0 0,100% 0,100% 9%,92% 14%,83% 18%,74% 25%,64% 29%,55% 37%,45% 42%,36% 50%,26% 57%,17% 65%,8% 71%,0 78%); }
.paper-transition--to-dark::after { z-index: 1; background: var(--home-paper); clip-path: polygon(0 76%,8% 69%,17% 63%,26% 55%,36% 48%,45% 40%,55% 35%,64% 27%,74% 23%,83% 16%,92% 12%,100% 7%,100% 14%,92% 19%,83% 23%,74% 30%,64% 34%,55% 42%,45% 47%,36% 55%,26% 62%,17% 70%,8% 76%,0 83%); }
.paper-transition--to-navy { background: var(--home-navy); }
.paper-transition--to-navy::before { z-index: 2; background: var(--home-dark); clip-path: polygon(0 0,100% 0,100% 78%,92% 72%,83% 66%,74% 59%,64% 52%,55% 45%,45% 39%,36% 33%,26% 27%,17% 21%,8% 15%,0 10%); }
.paper-transition--to-navy::after { z-index: 1; background: var(--home-paper); clip-path: polygon(0 8%,8% 13%,17% 19%,26% 25%,36% 31%,45% 37%,55% 43%,64% 50%,74% 57%,83% 64%,92% 70%,100% 76%,100% 83%,92% 77%,83% 71%,74% 64%,64% 57%,55% 50%,45% 44%,36% 38%,26% 32%,17% 26%,8% 20%,0 15%); }
.paper-transition::before, .paper-transition::after { transform: translate3d(0, calc(var(--tear-progress) * -72%), 0); will-change: transform; }
.home-motion-ready .home-motion-item { opacity: 0; transform: translate3d(0, 42px, 0); transition: opacity 600ms cubic-bezier(0.77,0,0.175,1), transform 600ms cubic-bezier(0.77,0,0.175,1); }
.home-motion-ready .home-motion-item[data-visible="true"] { opacity: 1; transform: translate3d(0, 0, 0); }
.home-quote { position: relative; display: grid; align-content: center; min-height: 96svh; padding: clamp(5rem,10vh,8rem) max(7vw,calc((100vw - 1560px)/2)); background: var(--home-navy); text-align: center; }
.home-quote__mark { color: var(--home-pink); font-size: clamp(7rem,12vw,14rem); font-weight: 900; line-height: .48; }
.home-quote blockquote { max-width: 22ch; margin: clamp(2rem,4vw,4rem) auto; color: var(--home-cream); font-size: clamp(2.7rem,4.7vw,5.8rem); font-weight: 780; line-height: 1.1; letter-spacing: -.068em; text-wrap: balance; }
.home-quote blockquote span { color: var(--home-pink); }
.home-quote p { margin: 0; color: rgba(249,252,244,.65); font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
.home-chapter--works { background: var(--home-navy); }
.collage--works { height: min(82vh,760px); min-height: 650px; }
.work-preview { position: absolute; overflow: hidden; color: var(--home-navy); background: var(--home-cream); box-shadow: 1rem 1.2rem 0 rgba(0,0,0,.18); }
.work-preview__label { position:absolute; z-index:8; left:.4rem; bottom:-.75rem; display:block; width:max-content; max-width:calc(100% - .8rem); padding:.48rem .72rem; color:var(--home-navy); background:var(--home-pink); font-size:.9rem; font-weight:850; white-space:nowrap; }
.work-preview--pet { z-index: 3; top: 0; left: 0; width: 46%; height: auto; overflow: visible; background: transparent; box-shadow: none; transform: rotate(-5deg); }
.work-preview--pet img { display: block; width: 100%; height: auto; object-fit: contain; }
.work-preview--picwords { z-index: 4; top: 0; right: 0; width: 33%; height: auto; padding: 0; overflow: visible; background: transparent; box-shadow: none; transform: rotate(6deg); }
.work-preview--picwords img { display: block; width: 100%; height: auto; object-fit: contain; }
.work-preview--picwords .work-preview__label { top: -.85rem; right: -.35rem; bottom: auto; left: auto; }
.work-preview--site { z-index: 5; bottom: 3%; right: 1%; width: 67%; height:auto; overflow:visible; transform: rotate(-3deg); }
.work-preview--site .work-preview__label { left: auto; right: .4rem; bottom: -.8rem; }
.work-preview__browser { display: flex; align-items: center; gap: .35rem; height: 1.7rem; padding-left: .8rem; background: #f4d2d9; }
.work-preview__browser span { width: .35rem; height: .35rem; border-radius: 50%; background: #987583; }
.work-preview__site-image { display:block; width:100%; height:auto; aspect-ratio:1816 / 901; object-fit:contain; }
.work-preview__screen { position: relative; height: calc(100% - 1.7rem); overflow: hidden; color: var(--home-cream); background: var(--home-navy); }
.work-preview__screen strong { position: absolute; z-index: 1; top: 9%; left: 7%; font-size: clamp(1.7rem, 2.6vw, 3rem); line-height: 1; }
.work-preview__screen img { position: absolute; right: -5%; bottom: -32%; width: 78%; height: 110%; object-fit: contain; }
.contact-index { display: grid; grid-template-columns: minmax(0,.45fr) minmax(0,.55fr); gap: clamp(2rem, 5vw, 7rem); align-items: stretch; max-width: 1920px; min-height: 100svh; margin-inline: auto; padding: 4rem clamp(2rem, 6vw, 8rem) 0; }
.contact-index__figure { position: relative; align-self: end; height: min(88svh, 860px); overflow: visible; }
.contact-index__figure img { position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform: translateX(-50%); }
.contact-index__bubble { position: absolute; z-index: 2; top: 7%; right: -4%; padding: 1.05rem 1.35rem; color: var(--home-navy); background: var(--home-cream); font-size: clamp(1rem, 1.4vw, 1.4rem); font-weight: 850; line-height: 1.25; transform: rotate(5deg); clip-path: polygon(0 0, 95% 0, 100% 8%, 97% 86%, 35% 87%, 18% 100%, 20% 87%, 0 89%); }
.contact-index__body { align-self: center; padding: 2rem 0 4rem; }
.contact-index__body h2 { margin: 0 0 2rem; font-size: clamp(2.8rem, 4.3vw, 5.8rem); line-height: 1.12; letter-spacing: -.075em; }
.contact-index__body h2 span { color: var(--home-pink); }
.contact-index__nav { display: block; }
.contact-index__nav a { display: grid; grid-template-columns: 4.3rem 1fr; gap: .8rem; align-items: center; min-height: clamp(4.7rem, 9vh, 7.8rem); color: var(--home-cream); text-decoration: none; transition: color 170ms ease, padding-left 170ms ease, background 170ms ease; }
.contact-index__nav a span { color: var(--home-pink); font-size: 1.5rem; font-weight: 800; letter-spacing: .08em; }
.contact-index__nav a strong { font-size: clamp(2rem, 3.35vw, 4.1rem); font-weight: 780; letter-spacing: -.065em; }
.contact-index__nav a i { font-style: normal; font-size: 1.6rem; }
.contact-index__nav a:hover { padding-left: .7rem; color: var(--home-pink); background: rgba(255,154,182,.055); }
.contact-index__nav a:active { padding-left: 1rem; }
.contact-index__nav a:disabled, .contact-index__nav a[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.contact-index__contact { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; align-items: center; margin-top: 2rem; }
.contact-index__contact > span { color: rgba(255,244,223,.8); font-size: 1rem; }
.email-copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; min-width: 0; }
.email-copy-line [role="status"] { margin: 0; min-height: 0; color: var(--home-pink); font-size: .82rem; }
.email-copy-line [role="status"]:empty { display: none; }
.contact-index__contact a { width: fit-content; overflow-wrap: anywhere; text-underline-offset: .25em; font-size: 1.4rem; cursor: copy; }
.contact-index__contact a:hover { color: var(--home-pink); }
.contact-index__contact a:active { transform: translateY(1px); }
.contact-index__contact button { min-height: 2.75rem; padding: .55rem .8rem; border: 0; color: var(--home-navy); background: var(--home-pink); font: inherit; font-size: .85rem; font-weight: 800; cursor: pointer; }
.contact-index__contact button:hover { background: var(--home-cream); }
.contact-index__contact button:active { transform: translateY(2px); }
.contact-index__contact button:disabled { opacity: .45; cursor: not-allowed; }
.contact-index__contact .email-copy { display: inline-flex; align-items: center; gap: .4rem; min-height: 2rem; padding: .3rem .6rem; color: var(--home-pink); background: transparent; border: 1px solid currentColor; border-radius: 999px; font: inherit; font-size: .82rem; font-weight: 750; white-space: nowrap; cursor: pointer; }
.email-copy svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-index__contact .email-copy:hover { color: var(--home-navy); background: var(--home-pink); }
.contact-index__contact .status-message { grid-column: 1/-1; margin: 0; min-height: 1.4em; }
.contact-index__contact .email-copy-line [role="status"] { min-height: 0; }
.home-intro__next:focus-visible, .home-chapter__entry:focus-visible, .contact-index__nav a:focus-visible, .contact-index__contact a:focus-visible, .contact-index__contact button:focus-visible, .header-index:focus-visible { outline: 3px solid var(--home-pink); outline-offset: 5px; }
.skip-link:hover { background: var(--home-pink); }
.skip-link:active { transform: translateY(1px); }
.skip-link:focus-visible { outline: 3px solid var(--home-pink); outline-offset: 3px; }
a[aria-disabled="true"], button:disabled { opacity: .45; pointer-events: none; cursor: not-allowed; }
@media (max-width: 900px) {
  .hero-title, .story-hero[data-title-visible="true"] .hero-title, .hero-title--interactive, .story-hero[data-title-visible="true"] .hero-title--interactive { font-size: 10.6vw; }
  .portrait-rig { height: 100svh; bottom: -22svh; }
  .home-chapter { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); padding-inline: 4vw; }
  .home-chapter__copy h2 { font-size: clamp(5rem, 10vw, 8rem); }
  .collage { min-height: 400px; height: 55vh; }
  .contact-index { padding-inline: 4vw; }
}
@media (max-width: 700px) {
  .story-hero { height: 304svh; }
  .hero-title--interactive { left: 50%; }
  .hero-title, .story-hero[data-title-visible="true"] .hero-title, .hero-title--interactive, .story-hero[data-title-visible="true"] .hero-title--interactive { top: 12svh; font-size: 11.6vw; max-width: calc(100vw - 1.2rem); }
  .portrait-rig { width: 137vw; height: auto; bottom: -11svh; }
  .icon-tray { top: 7%; }
  .hero-header { padding: 1rem 1.2rem; }
  .home-intro { min-height: 100svh; padding: 5rem 1.4rem; }
  .home-intro__line { font-size: clamp(2.45rem, 10vw, 4.3rem); }
  .home-chapter { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; min-height: auto; padding: 5rem 1.4rem 4rem; }
  .home-chapter__copy, .home-chapter--campus .home-chapter__copy { order: 0; padding: 0; }
  .home-chapter .collage, .home-chapter--campus .collage { order: 1; width: min(100%, 520px); align-self: center; height: 400px; min-height: 0; margin-top: 1rem; }
  .work-preview--pet { left: 0; width: 51%; }
  .work-preview--picwords { width: 38%; }
  .work-preview--site { width: 70%; height:auto; bottom:3%; }
  .work-preview__label { padding: .5rem .6rem; font-size: .78rem; }
  .home-chapter__copy h2 { font-size: clamp(5.5rem, 17vw, 8rem); }
  .home-chapter__description { max-width: 29ch; margin-top: 1.25rem; font-size: 1.08rem; }
  .home-chapter__entry { margin-top: 1.3rem; }
  .collage-about__paper { left: 27%; width: 55%; }
  .collage-about__camera { top: 52%; left: -3%; width: 33%; }
  .collage-about__caption { right: 0; }
  .collage--internship { height: 440px !important; }
  .intern-badge { width: 44%; height: 39%; padding: .8rem; }
  .intern-badge__top { font-size: .54rem; letter-spacing: .04em; }
  .intern-badge__identity { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .intern-badge__identity img { width: 2.7rem; height: 2.7rem; }
  .intern-badge__identity strong { font-size: clamp(1.5rem, 5vw, 2rem); }
  .intern-badge p { font-size: .68rem; }
  .intern-badge--xiaomi { left: 2%; transform: rotate(-2deg); }
  .intern-badge--baidu { right: 2%; transform: rotate(2deg); }
  .intern-badge--kuaishou { left: 2%; transform: rotate(2deg); }
  .intern-badge--xiaohongshu { right: 2%; transform: rotate(-2deg); }
  .campus-ledger { width: 100%; padding-top: 5rem; }
  .campus-ledger__icon { width: 7rem; right: 3%; }
  .campus-ledger__row { grid-template-columns: 4rem 1fr; min-height:0; }
  .paper-transition { height: 58svh; min-height: 20rem; }
  .home-quote { min-height: 82svh; padding-inline: 1.4rem; }
  .home-quote blockquote { max-width: 100%; font-size: clamp(2rem,8.4vw,3.4rem); }
  .contact-index { display: flex; flex-direction: column-reverse; min-height: 0; padding: 4rem 1.4rem 0; gap: 1rem; }
  .contact-index__body { padding: 0; }
  .contact-index__body h2 { font-size: clamp(2.8rem, 9vw, 4rem); }
  .contact-index__nav a { min-height: 4.7rem; }
  .contact-index__nav a strong { font-size: clamp(2rem, 7vw, 3rem); }
  .contact-index__figure { align-self: center; width: min(90%, 420px); height: 360px; }
  .contact-index__figure img { width: 100%; height: 100%; }
  .contact-index__bubble { top: 0; right: -5%; }
}
@media (max-width: 390px) {
  .hero-title, .story-hero[data-title-visible="true"] .hero-title, .hero-title--interactive, .story-hero[data-title-visible="true"] .hero-title--interactive { top: 14svh; font-size: 11.4vw; }
  .portrait-rig { width: 145vw; bottom: -6svh; }
  .home-chapter .collage { height: 345px; }
  .collage--internship { height: 380px !important; }
  .contact-index__contact { grid-template-columns: 1fr auto; }
  .contact-index__contact > span { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story-hero { height: 100svh; }
  .home-intro { margin-top: 0; }
  .portrait-rig { transform: translateX(-50%) !important; }
  .hero-title, .hero-title--interactive, .story-hero[data-title-visible="true"] .hero-title--interactive { transform: translateX(-50%) !important; }
  .icon-tray { transform: none !important; }
  .hero-peel-canvas { display: none; }
  .icon-link, .home-chapter__entry, .home-intro__next, .contact-index__nav a { transition: none; }
  .loading-screen { display: none; }
  .paper-transition { --tear-progress: .45 !important; height: 34svh; }
  .home-motion-ready .home-motion-item, .home-motion-ready .home-motion-item[data-visible="true"] { opacity: 1; transform: none; transition: opacity 150ms cubic-bezier(0.23,1,0.32,1); }
}
@media (max-width:700px) {
  .contact-index__contact { grid-template-columns:1fr; }
  .contact-index__contact a { font-size:1.2rem; }
  .paper-transition--compact { height:22svh; min-height:10rem; }
  .collage-about__paper img { transform:none; }
}
