@font-face { font-family:"Fraunces Heading"; src:url("assets/fonts/fraunces-heading.ttf") format("truetype"); font-style:normal; font-weight:600; font-display:swap; }
@font-face { font-family:"Noto Serif SC Heading"; src:url("assets/fonts/noto-serif-sc-heading.ttf") format("truetype"); font-style:normal; font-weight:600; font-display:swap; }
@font-face { font-family:"ZCOOL XiaoWei Heading"; src:url("assets/fonts/zcool-xiaowei-heading.ttf") format("truetype"); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:"ZCOOL KuaiLe Heading"; src:url("assets/fonts/zcool-kuaile-heading.ttf") format("truetype"); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:"ZCOOL KuaiLe Content"; src:url("assets/fonts/zcool-kuaile-content.ttf") format("truetype"); font-style:normal; font-weight:400; font-display:swap; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.honey-ember { position: relative; isolation: isolate; overflow: clip; background: #fffdf7; min-height: 100vh; min-height: 100svh; width: 100%; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.honey-ember__wash { position: absolute; inset: -4rem; z-index: -1; pointer-events: none; filter: blur(24px); transform: translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0); transition: transform 2s cubic-bezier(.2,.7,.2,1); }
.honey-ember__base { position: absolute; inset: 0; background: #fffdf7; }
.honey-ember__glow { position: absolute; border-radius: 50%; filter: blur(64px); }
.honey-ember__glow--one { top: -14%; left: -6%; height: 70%; width: 70%; background: #fbbf24; opacity: .78; animation: honey-drift-one 4s ease-in-out -1s infinite alternate; }
.honey-ember__glow--two { top: 8%; right: -8%; height: 62%; width: 62%; background: #f59e0b; opacity: .70; animation: honey-drift-two 4s ease-in-out -2.3s infinite alternate; }
.honey-ember__glow--three { bottom: -22%; left: 12%; height: 66%; width: 66%; background: #fb923c; opacity: .58; animation: honey-drift-three 4s ease-in-out -3.2s infinite alternate; }
.honey-ember__glow--four { right: 20%; bottom: -10%; height: 56%; width: 56%; background: #fecaca; opacity: .68; animation: honey-drift-four 4s ease-in-out -4.7s infinite alternate; }
@keyframes honey-drift-one {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18%, 16%, 0) scale(1.14); }
  100% { transform: translate3d(32%, 4%, 0) scale(.9); }
}
@keyframes honey-drift-two {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-20%, 14%, 0) scale(1.1); }
  100% { transform: translate3d(-32%, -10%, 0) scale(1.2); }
}
@keyframes honey-drift-three {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20%, -20%, 0) scale(1.18); }
  100% { transform: translate3d(-15%, -27%, 0) scale(.95); }
}
@keyframes honey-drift-four {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-22%, -16%, 0) scale(1.2); }
  100% { transform: translate3d(15%, -26%, 0) scale(.9); }
}
.honey-ember__grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(circle at center, #78350f 1px, transparent 1px); background-size: 4px 4px; opacity: .034; }
.cover-title { margin:0; color:#78350f; font-family:"Fraunces Heading", Georgia, serif; font-weight:600; font-size:clamp(1.8rem,5.2vw,4.5rem); line-height:1.16; letter-spacing:-.045em; text-align:center; }
html[lang="zh-CN"] .cover-title { font-family:"ZCOOL KuaiLe Heading", "ZCOOL XiaoWei Heading", "Noto Serif SC Heading", "Songti SC", serif; font-weight:400; font-size:clamp(1.5rem,4vw,3.4rem); letter-spacing:0; }
.cover-title__greeting { display:flex; align-items:center; justify-content:center; height:clamp(4rem, 10vw, 8rem); font-size:clamp(4rem, 10vw, 8rem); line-height:1; letter-spacing:-.04em; }
.cover-title__greeting-text { position:relative; }
html[lang="zh-CN"] .cover-title__greeting-text::after { content:"，"; position:absolute; left:100%; top:0; }
.cover-title__intro { display:flex; justify-content:center; align-items:baseline; align-content:center; flex-wrap:wrap; min-height:clamp(2.2rem, 5vw, 4.4rem); gap:clamp(.5rem,1vw,.8rem); margin-top:.3em; line-height:1.15; }
.cover-title__lead { font-size:clamp(1.6rem, 3.6vw, 3rem); letter-spacing:-.025em; }
.cover-title__name { font-size:clamp(1.8rem, 4.5vw, 4rem); line-height:1.1; letter-spacing:-.035em; white-space:nowrap; }
html[lang="zh-CN"] .cover-title__greeting { font-size:clamp(1.8rem, 5vw, 4rem); letter-spacing:0; line-height:1.2; }
html[lang="zh-CN"] .cover-title__lead { font-size:clamp(1.1rem, 2.8vw, 2rem); letter-spacing:0; }
html[lang="zh-CN"] .cover-title__name { letter-spacing:.02em; }
.cover-role { margin:1rem 0 0; text-align:center; color:#63300d; font-size:clamp(.8rem,1.2vw,.95rem); font-weight:500; letter-spacing:.025em; }
html { scroll-behavior: smooth; }
.cover-content { width: min(1120px, 100%); padding: 3rem 0 1rem; }
.folder-grid { display:grid; grid-template-columns:repeat(3,minmax(0,260px)); justify-content:center; width:min(900px,100%); gap:clamp(20px,4.5vw,60px); align-items:end; margin:clamp(4rem,9vh,6rem) auto 0; }
.folder { position: relative; width: 100%; min-width:0; aspect-ratio: 340 / 280; perspective: 900px; color: #593320; --art: linear-gradient(130deg,#f9e4cc,#d78d70 44%,#a85440 70%,#efc5a6); }
.folder.is-open { z-index:4; }
.folder--about { --art: linear-gradient(125deg,#f5e8d6,#d7b299 45%,#e8cdb6 70%,#fbefe3); }
.folder--experience { --art: linear-gradient(135deg,#633c31,#a45235 37%,#d28a54 66%,#efc692); }
.folder__shadow { position:absolute; bottom:0; left:7%; right:7%; height:17%; background:#63351f55; filter:blur(18px); border-radius:50%; }
.folder__back { position:absolute; inset:7% 0 3%; border-radius:18px; background:var(--art); box-shadow:inset 0 1px 1px #fff9, 0 8px 25px #723f292b; }
.folder__back::before { content:""; position:absolute; width:45%; height:18%; right:0; top:-6%; background:inherit; border-radius:16px 16px 0 0; }
.folder__files { position:absolute; z-index:2; inset:0; pointer-events:none; }
.folder__file { position:absolute; left:10%; right:10%; top:27%; height:65%; padding:13px 15px; border-radius:14px; background:linear-gradient(150deg,#fffdf9,#f1e2d4); box-shadow:0 8px 25px #61352235, inset 0 1px #fff; color:#593320; text-decoration:none; transform-origin:50% 100%; transition:transform .7s cubic-bezier(.2,.8,.2,1),box-shadow .25s; display:block; }
.folder__file span { font-size:13px; font-weight:600; }
.folder__file small { float:right; font-size:10px; letter-spacing:.04em; color:#80543b; padding-top:3px; }
.folder__file i { display:block; width:75%; height:5px; background:#c8ae9c55; border-radius:4px; margin-top:12px; }
.folder__file i:nth-of-type(2) { width:85%; }.folder__file i:nth-of-type(3) { width:52%; }
.folder__front { appearance:none; position:absolute; z-index:3; inset:30% 0 3%; width:100%; border:1px solid #fff9; border-radius:18px; padding:0; background:linear-gradient(180deg,#ffffff60,#fff8e8b8 60%,#fff5e8ef); -webkit-backdrop-filter:blur(14px) saturate(1.3); backdrop-filter:blur(14px) saturate(1.3); box-shadow:inset 0 1px 2px #fff,0 12px 22px #6f3b2629; color:#593320; text-align:left; cursor:pointer; transform-origin:50% 100%; transition:transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.folder__front::before { content:""; position:absolute; left:-1px; top:-15%; width:43%; height:20%; border-radius:17px 17px 0 0; background:#fff9ecb8; border-top:1px solid #fff9; }
.folder__label { position:absolute; left:8%; bottom:15%; display:grid; gap:5px; }.folder__label strong { font-size:clamp(15px,1.5vw,19px); font-weight:600; }.folder__label small { font-size:12px; color:#78513a; }.folder__arrow { position:absolute; right:8%; bottom:15%; display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background:#fff9; font-size:20px; box-shadow:0 5px 15px #70442e1f; }
.folder:hover .folder__front,.folder:focus-within .folder__front { transform:rotateX(-13deg); }.folder:hover .folder__file,.folder:focus-within .folder__file { transform:translateY(-10%); }
.folder.is-open .folder__front { transform:rotateX(-30deg); }.folder.is-open .folder__file { transform:translateY(-47%); pointer-events:auto; }.folder.is-open .folder__file:hover,.folder.is-open .folder__file:focus-visible { transform:translateY(-54%); box-shadow:0 16px 28px #61352240; }
.folder__front:focus-visible,.folder__file:focus-visible,.destination a:focus-visible { outline:3px solid #78350f; outline-offset:4px; }
.folder-instruction { text-align:center; margin:32px 0 0; color:#75432b; font-size:11px; letter-spacing:.1em; }
.folder-instruction__touch { display:none; }
@media(hover:none) { .folder-instruction__pointer { display:none; }.folder-instruction__touch { display:inline; } }
.destination { min-height:60vh; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:5rem 2rem; text-align:center; background:linear-gradient(180deg,#fff7eb,#fff2e3); color:#78350f; }
.destination:last-of-type { background:linear-gradient(180deg,#fff2e3,#fff8ed); }.destination span { font-size:11px; letter-spacing:.14em; color:#805137; }.destination h2 { font-size:clamp(2.5rem,6vw,5rem); letter-spacing:-.05em; margin:1rem 0 .5rem; }.destination p { color:#80543b; margin:0 0 2rem; }.destination a { color:#78350f; text-underline-offset:5px; }
@media(max-width:700px) { .honey-ember { padding:5rem 1rem 3rem; }.cover-content { padding:1rem 0; }.folder-grid { width:min(540px,100%); gap:clamp(12px,3vw,22px); margin-top:3.75rem; }.folder__label strong { font-size:clamp(10px,2.8vw,15px); }.folder__label small { font-size:9px; }.folder__arrow { width:28px; height:28px; border-radius:9px; font-size:15px; }.folder__file { padding:8px; }.folder__file span { font-size:clamp(9px,2.4vw,12px); }.folder__file small { display:none; }.folder__file i { margin-top:7px; height:3px; }.folder-instruction { line-height:1.6; margin-top:26px; }.destination { min-height:55vh; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.folder__front,.folder__file { transition:none; }.honey-ember__glow { animation:none; }.honey-ember__wash { transform:none; transition:none; } }
:root {
  --portfolio-edge: clamp(18px, 3vw, 36px);
  --portfolio-control-top: calc(var(--portfolio-edge) + env(safe-area-inset-top));
  --portfolio-control-bottom: calc(var(--portfolio-edge) + env(safe-area-inset-bottom));
  --portfolio-control-height: 36px;
  --portfolio-toolbar-height: calc(var(--portfolio-control-top) + var(--portfolio-control-height) + 12px);
}
@media (max-width: 700px) {
  :root { --portfolio-control-height: 44px; }
}
.language-toggle {
  --language-toggle-ink: #18191d;
  --language-toggle-background: #ffffffed;
  --language-toggle-hover: #f0f4fa;
  position: fixed;
  z-index: 20;
  top: var(--portfolio-control-top);
  right: var(--portfolio-edge);
  width: 64px;
  height: var(--portfolio-control-height);
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  justify-items: center;
  gap: 3px;
  padding: 7px;
  border: 1px solid #e1e6ee;
  border-radius: 999px;
  background: var(--language-toggle-background);
  color: #5c626d;
  box-shadow: 0 2px 4px #15203505;
  backdrop-filter: blur(12px);
  cursor: pointer;
  font: 600 11px/1 ui-sans-serif, system-ui, sans-serif;
  transition: background .2s, transform .2s;
}
html[data-layout-theme="dark"] .language-toggle {
  --language-toggle-ink: #f2f4f8;
  --language-toggle-background: #1b2028f0;
  --language-toggle-hover: #252d39;
  border-color: #303947;
  color: #b4bdcb;
  box-shadow: 0 2px 6px #00000020;
}
.language-toggle:hover { background:var(--language-toggle-hover); transform:translateY(-2px); }
.language-toggle:focus-visible { outline:3px solid #2862d2; outline-offset:3px; }
.language-toggle__divider { width:1px; height:14px; background:#d5dce6; }
html[data-layout-theme="dark"] .language-toggle__divider { background:#3a4554; }
.language-toggle__en,.language-toggle__zh { opacity:.52; }
html[lang="en"] .language-toggle__en,html[lang="zh-CN"] .language-toggle__zh { opacity:1; color:var(--language-toggle-ink); }
@media(prefers-reduced-motion:reduce) { .language-toggle { transition:none; } }
/* Resume: the Figma content, adapted to the portfolio's warm palette. */
.resume-section { background:linear-gradient(180deg,#fff8ed 0%,#fff9f1 35%,#fff7eb 100%); color:#50321f; padding:clamp(3rem,7vw,6rem) 1.5rem; }
.resume-wrap { width:min(960px,100%); margin:auto; }
.resume-back { display:inline-flex; color:#85563c; font-size:13px; text-decoration:none; margin-bottom:1.5rem; }
.resume-back:hover { color:#78350f; text-decoration:underline; text-underline-offset:4px; }
.resume-paper { background:#fffdf9; border:1px solid #eedfcc; border-radius:18px; padding:clamp(1.5rem,5vw,4rem); box-shadow:0 22px 65px #9a633019; }
.resume-header { display:flex; justify-content:space-between; align-items:end; gap:2rem; padding-bottom:1.6rem; }
.resume-header > div,.resume-company > div,.recognition-entry { min-width:0; }
.resume-kicker { color:#86502e; font-size:11px; letter-spacing:.16em; margin:0 0 1rem; }
.resume-header h2 { font-size:clamp(2.15rem,5vw,3.3rem); line-height:1.05; letter-spacing:-.055em; margin:0; color:#59331f; }
.resume-header h2 span { display:inline-block; font-size:.52em; letter-spacing:.02em; font-weight:500; margin-left:.25em; }
.resume-role { display:inline-block; color:#9a4e23; background:#f9e9d5; font-size:13px; font-weight:600; padding:6px 10px; border-radius:6px; margin:14px 0 0; }
.resume-contact { display:grid; gap:4px; text-align:right; font-style:normal; font-size:13px; overflow-wrap:anywhere; }
.resume-contact a { color:#8a634b; text-decoration:none; }.resume-contact a:hover { text-decoration:underline; }
.resume-introduction { margin-top:1rem; }.resume-introduction h3 { color:#a85525; font-size:13px; text-transform:uppercase; letter-spacing:.1em; margin:0 0 1rem; }
.resume-summary { font-size:15px; line-height:1.85; color:#6b503d; margin:0 0 2.8rem; }
.resume-block { padding-top:0; margin-top:2.8rem; }.resume-block h3 { color:#a85525; font-size:13px; text-transform:uppercase; letter-spacing:.1em; margin:0 0 1.8rem; }
.resume-job + .resume-job { margin-top:2.6rem; }.resume-company { display:flex; align-items:center; gap:22px; }.resume-logo { width:76px; height:auto; flex:none; }.resume-logo--intel { position:relative; display:block; width:76px; height:50px; flex:none; overflow:hidden; }.resume-logo--intel img { position:absolute; width:139.14%; height:158.33%; max-width:none; left:-19.57%; top:-29.17%; }
.resume-company h4,.resume-recognition h4 { font-size:16px; line-height:1.4; margin:0; color:#51321f; }.resume-company h4 span { font-weight:500; color:#775945; }.resume-company p,.resume-recognition p { margin:5px 0 0; color:#765845; font-size:13px; line-height:1.6; }
.resume-company h4,.resume-recognition h4 { overflow-wrap:anywhere; }
.resume-job ul { margin:1.25rem 0 0; padding-left:1.2rem; color:#6b503d; font-size:14px; line-height:1.85; }.resume-job li { padding-left:.25rem; margin:.5rem 0; }.resume-job li::marker { color:#c98c5f; }
.webex-customers { margin:1.8rem 0 0; padding:clamp(1.25rem,3vw,2rem); border:1px solid #ecd8c3; border-radius:14px; background:#faf2e7; }
.webex-customers__heading { display:flex; justify-content:space-between; align-items:end; gap:1.5rem; }
.webex-customers .webex-customers__eyebrow { margin:0 0 .6rem; color:#a36a46; font-size:10px; font-weight:700; letter-spacing:.14em; }
.webex-customers h5 { margin:0; color:#51321f; font-size:clamp(1rem,2vw,1.2rem); line-height:1.35; }
.webex-customers p { margin:.45rem 0 0; color:#80634f; font-size:12px; line-height:1.5; }
.webex-customers__stat { flex:none; display:grid; gap:.2rem; color:#744127; text-decoration:none; text-align:right; }
.webex-customers__stat strong { font-size:1.5rem; line-height:1; letter-spacing:-.04em; }.webex-customers__stat span { font-size:11px; line-height:1.4; }
.webex-customers__logos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; margin-top:1.4rem; }
.webex-customers__logos a { min-height:70px; display:flex; align-items:center; justify-content:center; padding:1rem; background:#fffdf9; border:1px solid #efdfcd; border-radius:9px; transition:transform .2s,box-shadow .2s; }
.webex-customers__logos a:hover { transform:translateY(-2px); box-shadow:0 6px 18px #9a63301c; }.webex-customers a:focus-visible { outline:3px solid #a85525; outline-offset:3px; }
.webex-customers__logos img { display:block; width:100%; max-width:120px; max-height:32px; object-fit:contain; filter:brightness(0) saturate(100%) invert(20%) sepia(21%) saturate(1242%) hue-rotate(338deg) brightness(91%); }
@media(max-width:600px) { .webex-customers__heading { align-items:start; flex-direction:column; gap:1rem; }.webex-customers__stat { text-align:left; }.webex-customers__logos { gap:.45rem; }.webex-customers__logos a { min-height:58px; padding:.6rem; } }
@media(prefers-reduced-motion:reduce) { .webex-customers__logos a { transition:none; } }
.resume-recognition-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.75rem; }.resume-recognition h4 { font-size:14px; }
.resume-recognition { border-top:0; padding-top:0; margin-top:3.5rem; }
@media(max-width:600px) { .resume-section { padding:3rem 1rem; }.resume-header { display:block; }.resume-contact { text-align:left; margin-top:1.2rem; }.resume-company { gap:14px; }.resume-logo,.resume-logo--intel { width:58px; }.resume-logo--intel { height:39px; }.resume-recognition-grid { grid-template-columns:1fr; }.resume-summary { margin-bottom:2rem; }.resume-job ul { font-size:13px; } }
.recognition-image { display:block; margin-top:1rem; border:1px solid #ead9c7; border-radius:10px; background:#fbf5ed; overflow:hidden; color:#8b4b27; text-decoration:none; transition:box-shadow .2s,transform .2s; }
.recognition-image:hover { transform:translateY(-2px); box-shadow:0 8px 20px #9a63301c; }
.recognition-image:focus-visible { outline:3px solid #78350f; outline-offset:4px; }
.recognition-image img { display:block; width:100%; height:180px; object-fit:contain; background:#f7eee4; }
.recognition-image span { display:block; padding:10px 12px; font-size:12px; font-weight:600; }
@media(prefers-reduced-motion:reduce) { .recognition-image { transition:none; } }
.image-dialog { position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:clamp(58px,7vh,76px) clamp(16px,4vw,64px) clamp(16px,4vh,40px); border:0; background:transparent; overflow:hidden; }
.image-dialog[open] { display:flex; align-items:center; justify-content:center; }
.image-dialog::backdrop { background:rgba(13,10,8,.9); }
.image-dialog__image { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; box-shadow:0 16px 60px #0006; }
.image-dialog__close { position:fixed; right:clamp(16px,3vw,32px); top:clamp(16px,3vw,28px); width:44px; height:44px; border:1px solid #ffffff78; border-radius:50%; background:#ffffff1a; color:#fff; display:grid; place-items:center; cursor:pointer; transition:background .25s ease,border-color .25s ease,transform .25s ease; }
.image-dialog__close-icon { position:relative; display:block; width:18px; height:18px; transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.image-dialog__close-icon::before,.image-dialog__close-icon::after { content:""; position:absolute; left:50%; top:50%; width:18px; height:1.5px; border-radius:2px; background:currentColor; }
.image-dialog__close-icon::before { transform:translate(-50%,-50%) rotate(45deg); }
.image-dialog__close-icon::after { transform:translate(-50%,-50%) rotate(-45deg); }
.image-dialog__close:hover { background:#ffffff35; border-color:#ffffffc9; }
.image-dialog__close:hover .image-dialog__close-icon { transform:rotate(90deg); }
.image-dialog__close:active { transform:scale(.9); }
.image-dialog__close:focus-visible { outline:2px solid #fff; outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { .image-dialog__close,.image-dialog__close-icon { transition:none; }.image-dialog__close:hover .image-dialog__close-icon { transform:none; } }
/* A small folder-shaped return to the cover, available throughout the content. */
.home-return { position:fixed; z-index:18; right:clamp(16px,3vw,32px); bottom:max(18px,env(safe-area-inset-bottom)); display:flex; align-items:center; gap:10px; min-height:58px; padding:9px 15px 9px 10px; border:1px solid #fff9; border-radius:18px; color:#713c22; background:#fff8eced; box-shadow:0 10px 30px #79462630,inset 0 1px 2px #fff; -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); text-decoration:none; transition:opacity .25s,visibility .25s,transform .25s,box-shadow .25s; }
.has-home-return .home-return { opacity:0; visibility:hidden; pointer-events:none; transform:translateY(8px); }
.has-home-return .home-return.is-visible { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
.home-return__folder { position:relative; width:38px; height:29px; display:grid; place-items:center; flex:none; border-radius:6px 7px 7px 7px; background:linear-gradient(180deg,#ffffff70,#fff8e8a8 60%,#fff5e8d9); border:1px solid #fff9; box-shadow:inset 0 1px 2px #fff,0 3px 8px #a76c3a30; -webkit-backdrop-filter:blur(10px) saturate(1.3); backdrop-filter:blur(10px) saturate(1.3); }
.home-return__folder::before { content:""; position:absolute; left:2px; top:-5px; width:16px; height:7px; border:1px solid #fff9; border-bottom:0; border-radius:4px 4px 0 0; background:#fff9ecb8; }
.home-return__folder span { position:relative; font-size:19px; line-height:1; font-weight:700; color:#8b4421; transition:transform .25s; }
.home-return__label { font-size:12px; font-weight:600; white-space:nowrap; }
.has-home-return .home-return.is-visible:hover { transform:translateY(-3px); box-shadow:0 14px 32px #79462640,inset 0 1px 2px #fff; }
.home-return:hover .home-return__folder span { transform:translateY(-3px); }
.home-return:focus-visible { outline:3px solid #78350f; outline-offset:4px; }
@media(prefers-reduced-motion:reduce) { .home-return,.home-return__folder span { transition:none; }.has-home-return .home-return.is-visible:hover,.home-return:hover .home-return__folder span { transform:none; } }
/* Responsive refinements */
@media(max-width:800px) {
  .resume-header { flex-wrap:wrap; align-items:start; gap:1.25rem 2rem; }
  .resume-contact { text-align:left; }
  .resume-paper { padding:clamp(1.4rem,4vw,2.5rem); }
}
@media(max-width:700px) {
  .cover-title__intro { padding-inline:.25rem; }
  .folder__front { min-height:44px; }
  .folder__label { left:9%; right:8%; bottom:12%; }
  .folder__label strong { font-size:clamp(11px,2.8vw,15px); overflow-wrap:anywhere; line-height:1.2; }
  .folder__arrow { top:12%; bottom:auto; right:8%; }
  .resume-section { padding-inline:clamp(1rem,4vw,1.75rem); }
  .home-return { right:12px; bottom:max(12px,env(safe-area-inset-bottom)); min-height:52px; padding:7px 12px 7px 8px; }
}
@media(max-width:380px) {
  .honey-ember { padding-inline:12px; }
  .folder-grid { gap:10px; }
  .folder__label small { font-size:8px; }
  .folder__arrow { width:24px; height:24px; font-size:14px; }
  .folder__file { left:7%; right:7%; }
  .resume-paper { border-radius:14px; padding:1.2rem; }
  .resume-company { align-items:flex-start; }
  .resume-header h2 { font-size:2rem; }
  .recognition-image img { height:150px; }
}
/* Keep the small-screen entry points and résumé comfortable to read. */
@media(max-width:700px) {
  .folder__label strong { font-size:clamp(12px,2.8vw,15px); }
  .folder__label small { display:none; }
  .folder__file span { font-size:clamp(11px,2.5vw,13px); }
  .resume-contact { gap:0; }
  .resume-contact a { display:flex; align-items:center; min-height:44px; }
  .resume-job ul { font-size:15px; }
}
@media(max-width:600px) {
  .resume-paper { padding-right:clamp(3.75rem,14vw,4.25rem); }
  .home-return { width:52px; min-height:52px; justify-content:center; padding:7px; }
  .home-return__label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
}

/* Portfolio index and case-study pages */
.portfolio-section { padding:clamp(4rem,8vw,7rem) 1.5rem; background:linear-gradient(180deg,#fff7eb,#fff2e3); color:#59331f; }
.portfolio-wrap,.case-wrap { width:min(960px,100%); margin:auto; }
.portfolio-kicker,.case-label { color:#9b603e; font-size:11px; font-weight:700; letter-spacing:.14em; margin:0 0 1rem; }
.portfolio-section h2,.case-hero h1 { font-family:"Fraunces Heading",Georgia,serif; font-size:clamp(2.6rem,6vw,4.8rem); line-height:1.08; letter-spacing:-.045em; margin:0; }
.portfolio-intro { color:#80543b; margin:.9rem 0 2.5rem; line-height:1.6; }
.project-list { border-top:1px solid #e6cdb6; }
.project-link { display:grid; grid-template-columns:48px 1fr 40px; align-items:center; gap:1rem; min-height:106px; padding:1.3rem .4rem; border-bottom:1px solid #e6cdb6; text-decoration:none; color:#59331f; transition:padding .2s,background .2s; }
.project-link:hover { padding-left:1rem; background:#ffffff4f; }.project-link__number { color:#a57252; font-size:12px; }.project-link strong,.project-link small { display:block; }.project-link strong { font-size:clamp(1.05rem,2vw,1.35rem); }.project-link small { color:#87634c; margin-top:.45rem; font-size:13px; }.project-link__arrow { font-size:22px; text-align:center; }
.project-link:focus-visible,.case-back:focus-visible,.case-navigation a:focus-visible { outline:3px solid #a85525; outline-offset:3px; }
.case-body { background:#fff8ed; color:#59331f; }.case-page { min-height:100vh; padding:clamp(5rem,9vw,7rem) 1.5rem 8rem; background:linear-gradient(155deg,#fff8ed,#fff4e6 60%,#fff9f1); }
.case-back { display:inline-flex; align-items:center; min-height:44px; color:#875738; font-size:13px; text-decoration:none; }.case-back:hover { text-decoration:underline; text-underline-offset:4px; }

portfolio-case-toolbar { display: block; }
portfolio-theme-toggle { display: contents; }
html[data-layout-theme="light"] { color-scheme: light; }
html[data-layout-theme="dark"] { color-scheme: dark; }
html[data-case-returning-top][data-layout-theme]:not(.folder-preview) { scroll-snap-type: none; }
html[data-layout-theme] #case-top:focus { outline: none; }

.layout-toolbar {
  --case-control-border: #e1e6ee;
  --case-control-background: #ffffffed;
  --case-control-hover: #f0f4fa;
  --case-control-shadow: 0 2px 4px #15203505;
  --case-control-ink: #18191d;
  --case-control-copy: #5c626d;
}
html[data-layout-theme="dark"] .layout-toolbar {
  --case-control-border: #303947;
  --case-control-background: #1b2028f0;
  --case-control-hover: #252d39;
  --case-control-shadow: 0 2px 6px #00000020;
  --case-control-ink: #f2f4f8;
  --case-control-copy: #b4bdcb;
}
.layout-toolbar > .case-back,
.layout-toolbar .theme-toggle {
  border: 1px solid var(--case-control-border);
  border-radius: 999px;
  background: var(--case-control-background);
  box-shadow: var(--case-control-shadow);
  backdrop-filter: blur(12px);
  transition: background-color .18s ease, color .18s ease;
}
.layout-toolbar :is(.case-back, .theme-toggle):hover { background: var(--case-control-hover); }
.layout-toolbar :is(.case-back, .theme-toggle):focus-visible { outline: 3px solid #2862d2; outline-offset: 3px; }
.layout-toolbar > .case-back,
.layout-toolbar__controls {
  position: fixed;
  z-index: 20;
  top: var(--portfolio-control-top);
}
.layout-toolbar > .case-back {
  left: max(var(--portfolio-edge), env(safe-area-inset-left));
  min-height: var(--portfolio-control-height);
  padding-inline: 12px;
  color: var(--case-control-copy);
  font: 500 13px/1 ui-sans-serif, system-ui, sans-serif;
  white-space: nowrap;
  text-decoration: none;
}
.layout-toolbar > .case-back--top {
  inset: auto max(var(--portfolio-edge), env(safe-area-inset-right)) var(--portfolio-control-bottom) auto;
  justify-content: center;
  inline-size: var(--portfolio-control-height);
  padding: 0;
}
.layout-toolbar > .case-back--top[hidden],
.folder-preview .layout-toolbar > .case-back--top { display: none; }
.layout-toolbar__controls {
  right: max(var(--portfolio-edge), env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.layout-toolbar__controls button { pointer-events: auto; }
.layout-toolbar__controls .language-toggle { position: static; }
.layout-toolbar .theme-toggle {
  display: grid;
  place-items: center;
  width: var(--portfolio-control-height);
  height: var(--portfolio-control-height);
  padding: 0;
  color: var(--case-control-ink);
  cursor: pointer;
}
.layout-toolbar .theme-toggle:active { scale: .95; }
.layout-toolbar .theme-toggle svg { display: block; }
.layout-toolbar .theme-toggle [hidden] { display: none; }
@media (max-width: 700px) {
  .layout-toolbar > .case-back { max-width: calc(100% - 136px); font-size:12px; }
}
@media (prefers-reduced-motion: reduce) {
  .layout-toolbar :is(.case-back, .theme-toggle) { transition: none; }
}

.case-hero { padding:clamp(3rem,7vw,6rem) 0 clamp(2.5rem,5vw,4rem); border-bottom:1px solid #e6cdb6; }.case-hero h1 { max-width:850px; }.case-lead { max-width:650px; color:#79583f; font-size:clamp(1.05rem,2vw,1.3rem); line-height:1.65; margin:1.5rem 0 0; }
.case-copy { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(2rem,5vw,5rem); margin:clamp(3rem,6vw,5rem) 0; }.case-copy h2 { color:#59331f; font-size:clamp(1.35rem,2.3vw,1.7rem); line-height:1.25; margin:0 0 1rem; }.case-copy section > p:not(.case-label) { color:#6b503d; font-size:15px; line-height:1.85; }
.case-navigation { display:flex; justify-content:space-between; gap:1rem; margin-top:4rem; padding-top:1.5rem; border-top:1px solid #e6cdb6; }.case-navigation a { min-height:44px; display:inline-flex; align-items:center; gap:.4rem; color:#875738; font-size:13px; text-decoration:none; }.case-navigation a:hover { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:600px) { .portfolio-section,.case-page { padding-left:1rem; padding-right:1rem; }.project-link { grid-template-columns:28px 1fr 28px; gap:.6rem; }.case-copy { grid-template-columns:1fr; gap:2rem; }.case-navigation { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { .project-link { transition:none; } }

/* A layered stack: sheets peek out on hover, then fan when opened. */
.folder__files--projects { inset:0; display:block; width:auto; transform:none; --sheet-lift:15%; --sheet-stack:5px; --sheet-spread:0px; --sheet-fan:0deg; }
.folder__files--projects .folder__file--project { position:absolute; left:10%; right:10%; top:29%; height:65%; min-width:0; padding:11px 12px; opacity:1; transform:translate(calc(var(--slot) * var(--sheet-spread)),calc(var(--sheet-lift) - var(--depth) * var(--sheet-stack))) rotate(calc(var(--slot) * var(--sheet-fan))); transform-origin:50% 100%; transition:transform .75s cubic-bezier(.34,1.36,.5,1),box-shadow .3s; pointer-events:none; }
.folder__files--projects .folder__file--project:nth-child(1) { --slot:-1; --depth:2; z-index:1; }
.folder__files--projects .folder__file--project:nth-child(2) { --slot:0; --depth:1; z-index:2; }
.folder__files--projects .folder__file--project:nth-child(3) { --slot:1; --depth:0; z-index:3; }
.folder__files--projects .folder__file--project span { display:block; padding:0; line-height:1.35; font-size:clamp(10px,1vw,13px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding-right:22px; }
.folder__files--projects .folder__file--project small { display:block; float:none; position:absolute; top:12px; right:12px; left:auto; padding:0; font-size:10px; }
.folder__files--projects .folder__file--project i { margin-top:10px; }
.folder:hover .folder__files--projects,.folder:focus-within .folder__files--projects { --sheet-lift:-16%; --sheet-stack:10px; --sheet-spread:5px; --sheet-fan:1.4deg; }
.folder.is-open .folder__files--projects { --sheet-lift:-42%; --sheet-stack:30px; --sheet-spread:27px; --sheet-fan:5deg; }
.folder.is-open .folder__files--projects .folder__file--project { transform:translate(calc(var(--slot) * var(--sheet-spread)),calc(var(--sheet-lift) - var(--depth) * var(--sheet-stack))) rotate(calc(var(--slot) * var(--sheet-fan))); pointer-events:auto; }
.folder.is-open .folder__files--projects .folder__file--project:hover,.folder.is-open .folder__files--projects .folder__file--project:focus-visible { transform:translate(calc(var(--slot) * var(--sheet-spread)),calc(var(--sheet-lift) - var(--depth) * var(--sheet-stack) - 12px)) rotate(calc(var(--slot) * var(--sheet-fan) * .6)); }
@media(max-width:700px) { .folder__files--projects .folder__file--project { left:50%; right:auto; width:max(170px,80%); margin-left:calc(-1 * max(85px,40%)); height:max(110px,65%); padding:8px 10px; }.folder__files--projects .folder__file--project span { font-size:11px; }.folder__files--projects .folder__file--project small { display:block; top:9px; right:10px; }.folder.is-open .folder__files--projects { --sheet-lift:-30%; --sheet-stack:25px; --sheet-spread:13px; } }
@media(prefers-reduced-motion:reduce) { .folder__files--projects .folder__file--project { transition:none; } }
/* The original Glass Folder component is scaled as a whole for each column. */
#glass-folder-mount { grid-template-columns:repeat(3,minmax(0,340px)); width:min(1120px,100%); gap:clamp(18px,4vw,56px); }
.glass-folder-slot { width:100%; min-width:0; aspect-ratio:340 / 326; }
html:has(#open-portfolio:target) { scroll-behavior:auto; }
@media(max-width:700px) { #glass-folder-mount { gap:clamp(10px,3vw,22px); } }
@media(max-width:700px) { #glass-folder-mount { grid-template-columns:minmax(0,340px); width:min(340px,100%); gap:24px; } }
.resume-folder-preview .gf-sheet--art::after { background:none; }
.resume-folder-preview .gf-sheet-head { display:none; }
.resume-folder-preview .gf-sheet-art { object-position:top center; }

/* Video Layout case study */
.video-story { color:#50321f; background:#fff9f1; }
.story-main { background:linear-gradient(180deg,#fff6e8 0,#fffaf3 25%,#fff7ed 100%); padding:clamp(4.5rem,7vw,6rem) 1.5rem 7rem; overflow:hidden; }
.story-wrap { width:min(1120px,100%); margin:auto; }
.story-hero { padding:clamp(4.5rem,9vw,8.5rem) 0 clamp(5rem,10vw,9rem); }
.story-kicker { margin:0 0 1.25rem; font-size:11px; font-weight:700; letter-spacing:.15em; color:#a45e31; }
.story-hero h1 { margin:0; color:#60351e; font:600 clamp(3.4rem,9vw,7.5rem)/.98 "Fraunces Heading",Georgia,serif; letter-spacing:-.06em; }
.story-hero h1 span { color:#e7a34f; }
.story-hero__lead { max-width:670px; margin:1.8rem 0 2rem; font-size:clamp(1.15rem,2.4vw,1.65rem); line-height:1.5; color:#76543e; }
.story-meta { display:flex; gap:.6rem; flex-wrap:wrap; }.story-meta span { border:1px solid #e7c8a5; border-radius:999px; padding:.55rem .8rem; color:#8d5b39; font-size:10px; font-weight:700; letter-spacing:.09em; }
.story-section { padding:clamp(3.7rem,8vw,7rem) 0; border-top:1px solid #ead8c5; }
.story-section h2 { margin:0; color:#60351e; font:600 clamp(2rem,4.7vw,4rem)/1.12 "Fraunces Heading",Georgia,serif; letter-spacing:-.045em; }
html[lang="zh-CN"] .story-section h2 { font-family:ui-sans-serif,system-ui,-apple-system,sans-serif; font-weight:650; font-size:clamp(1.8rem,3.6vw,3.3rem); letter-spacing:-.025em; line-height:1.24; }
.story-section p:not(.story-kicker) { color:#745743; line-height:1.85; font-size:clamp(.95rem,1.2vw,1.05rem); }
.story-intro,.story-decision,.story-outcome { display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,7vw,7rem); align-items:start; }
.story-intro p.story-large { color:#9d5229; font-family:"Fraunces Heading",Georgia,serif; font-size:clamp(1.4rem,2.4vw,2rem); line-height:1.4; margin:0 0 1.3rem; }
.story-intro p:not(.story-kicker):last-child,.story-decision p:not(.story-kicker):first-child,.story-outcome p:not(.story-kicker):first-child { margin-top:0; }
.story-section__heading { display:grid; grid-template-columns:1fr .72fr; align-items:end; gap:2rem; margin-bottom:2.6rem; }.story-section__heading > p { margin:0; max-width:410px; }
.story-comparison { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }.story-comparison figure { margin:0; min-width:0; }.story-image { background:#241c17; border-radius:12px; overflow:hidden; aspect-ratio:16/9.2; }.story-image img { width:100%; height:100%; object-fit:contain; display:block; }.story-comparison figcaption { color:#997050; font-size:10px; font-weight:700; letter-spacing:.1em; margin-top:.85rem; }
.story-question { max-width:100%; }.story-question h2 { max-width:860px; }.story-question > p:not(.story-kicker) { max-width:700px; margin:1.5rem 0 3rem; }
.story-path { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid #e6cdb6; }.story-path > div { position:relative; padding:1.35rem 1rem 0 0; min-width:0; }.story-path > div:before { content:""; position:absolute; top:-4px; left:0; width:7px; height:7px; border-radius:50%; background:#c9a68b; }.story-path > div.story-path__active:before { background:#c66a2f; box-shadow:0 0 0 5px #f8debd; }.story-path span,.story-path strong,.story-path small { display:block; }.story-path span { color:#ae8061; font-size:11px; margin-bottom:1rem; }.story-path strong { color:#633b24; font-size:14px; line-height:1.3; }.story-path small { margin-top:.5rem; font-size:9px; letter-spacing:.08em; color:#9a775d; line-height:1.4; }
.story-feature { display:grid; grid-template-columns:.82fr 1.18fr; gap:clamp(2.5rem,6vw,6rem); align-items:center; }.story-feature__copy p:not(.story-kicker) { margin-top:1.4rem; }.story-section p.story-note { font-size:13px; color:#a16c4c; }
.layout-illustration { min-height:355px; display:flex; justify-content:center; align-items:center; gap:1rem; padding:2rem; background:linear-gradient(145deg,#f8dfbb,#f1c9aa); border:1px solid #ecd3b8; border-radius:18px; }
.layout-illustration__wide,.layout-illustration__narrow { background:#5c392b; border:8px solid #5c392b; border-radius:10px; display:flex; gap:5px; box-shadow:0 14px 25px #74432b22; }.layout-illustration__wide { width:67%; aspect-ratio:1.75; }.layout-illustration__narrow { width:28%; aspect-ratio:.82; flex-direction:column; }.layout-illustration__content { background:#fff7e9; border-radius:4px; flex:1; color:#ac704e; font-size:clamp(8px,.8vw,11px); display:grid; place-items:center; text-align:center; padding:3px; }.layout-illustration__side { width:25%; display:grid; grid-template-columns:1fr 1fr; gap:4px; }.layout-illustration__top { height:24%; display:flex; gap:4px; }.layout-illustration i { background:#d89971; border-radius:3px; flex:1; }
.story-model { border-radius:14px; overflow:hidden; background:#2a201c; }.story-model > img { display:block; width:100%; height:auto; }.story-model__legend { padding:1.2rem 1.5rem; display:flex; gap:1.4rem; align-items:center; flex-wrap:wrap; background:#f5eadc; }.story-model__legend span { display:flex; gap:.6rem; align-items:center; color:#624733; font-size:12px; }.story-model__legend i { width:12px; height:12px; border-radius:3px; background:#102c4b; }.story-section .story-model__legend p { margin:0; font-size:13px; flex:1; min-width:200px; }
.story-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,5rem); padding-top:2.2rem; }.story-detail-grid strong { color:#9c552e; font-size:1.4rem; }.story-detail-grid p { margin:.7rem 0 0; }
.story-next { background:#f6e7d4; padding:clamp(2rem,5vw,4.5rem); border:0; border-radius:18px; margin-top:2rem; }.story-next h2 { max-width:850px; }.story-next > p:not(.story-kicker) { max-width:720px; }
.video-story .webex-customers { margin-top:4rem; }.video-story .webex-customers h3 { margin:0; font-size:1.05rem; }.video-story .case-navigation { margin-top:4rem; }
@media(max-width:700px) { .story-main { padding:4.5rem 1rem 6rem; }.story-hero { padding:4rem 0 5rem; }.story-intro,.story-decision,.story-outcome,.story-feature,.story-section__heading { grid-template-columns:1fr; gap:1.5rem; }.story-comparison { grid-template-columns:1fr; gap:1.5rem; }.story-path { grid-template-columns:1fr 1fr; row-gap:1.7rem; }.story-path > div:nth-child(n+3):before { top:-4px; }.story-detail-grid { grid-template-columns:1fr; gap:1.5rem; }.layout-illustration { min-height:250px; padding:1rem; }.story-next { padding:2rem 1.4rem; }.story-hero__lead { margin:1.3rem 0 1.5rem; } }

/* Case study overview and navigation */
.story-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.5rem,4vw,4rem); padding:2rem 0; border-top:1px solid #ead8c5; }
.story-overview .story-kicker { margin-bottom:.7rem; }.story-overview p:not(.story-kicker) { color:#745743; font-size:14px; line-height:1.7; margin:0; }
.story-contents { display:flex; flex-wrap:wrap; gap:.45rem 1.8rem; padding:1.1rem 0; border-top:1px solid #ead8c5; }.story-contents a { display:inline-flex; min-height:44px; align-items:center; color:#875738; text-decoration:none; font-size:13px; }.story-contents a:hover { text-decoration:underline; text-underline-offset:5px; }.story-contents a:focus-visible { outline:3px solid #a85525; outline-offset:3px; }
.story-model-comparison { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }.story-model-comparison figure { min-width:0; margin:0; }.story-model-comparison img { display:block; width:100%; height:auto; background:#2a201c; border-radius:10px; }.story-model-label { color:#a16c4c; font-size:10px; font-weight:700; letter-spacing:.1em; margin:0 0 .65rem; }.story-model { margin-top:1rem; }
@media(max-width:700px) { .story-overview { grid-template-columns:1fr; gap:1.4rem; }.story-contents { gap:0 1.2rem; }.story-model-comparison { grid-template-columns:1fr; gap:1.2rem; } }

/* A quieter, step-by-step case study. */
.video-story .story-hero { padding:clamp(3rem,7vw,6rem) 0 clamp(3rem,6vw,5rem); }
.video-story .story-hero h1 { font-size:clamp(2.8rem,6vw,5rem); letter-spacing:-.045em; line-height:1.08; }
.video-story .story-hero__lead { font-size:clamp(1rem,1.6vw,1.2rem); }
.video-story .story-section { padding:clamp(3rem,6vw,5rem) 0; }
.video-story .story-section h2 { font:600 clamp(1.7rem,2.8vw,2.45rem)/1.22 "Fraunces Heading",Georgia,serif; letter-spacing:-.025em; }
html[lang="zh-CN"] .video-story .story-section h2 { font-family:ui-sans-serif,system-ui,-apple-system,sans-serif; font-weight:650; font-size:clamp(1.5rem,2.5vw,2.2rem); letter-spacing:0; line-height:1.3; }
.video-story .story-kicker { font-size:12px; letter-spacing:.04em; }
.video-story .story-section p:not(.story-kicker) { font-size:16px; line-height:1.8; }
.video-story .story-note,.video-story .story-section p.story-note { font-size:14px; }
.video-story .story-intro--photo { grid-template-columns:.85fr 1.15fr; align-items:center; }
.video-story .story-intro__copy p:not(.story-kicker) { margin:1.3rem 0 0; }
.story-context-photo { display:block; width:100%; aspect-ratio:1.55; object-fit:cover; border-radius:14px; }
.story-photo-credit { color:#98775f; font-size:12px; margin:3rem 0 0; }.story-photo-credit a { color:inherit; text-underline-offset:3px; }
.video-story .story-next { padding:clamp(2rem,5vw,4.5rem); }
@media(max-width:700px) { .video-story .story-intro--photo { grid-template-columns:1fr; }.story-context-photo { aspect-ratio:1.4; }.video-story .story-hero { padding:3rem 0 4rem; }.video-story .story-section { padding:3rem 0; }.video-story .story-next { padding:2rem 1.4rem; } }
.decision-visual { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:clamp(1rem,3vw,2rem); margin-top:.5rem; }
.decision-visual__screen { display:grid; gap:4px; padding:8px; background:#634333; border-radius:10px; aspect-ratio:1.8; }
.decision-visual__screen--explore { grid-template-columns:1fr 25%; grid-template-rows:1fr 23%; }.decision-visual__screen--final { grid-template-columns:1fr 25%; }
.decision-visual__content { display:grid; place-items:center; color:#9c6848; font-size:14px; background:#fff9ef; border-radius:4px; }
.decision-visual__side { display:flex; flex-direction:column; gap:4px; }.decision-visual__bottom { display:flex; gap:4px; grid-column:1 / -1; }
.decision-visual i { flex:1; background:#dca686; border-radius:3px; }.decision-visual__screen--final .decision-visual__side { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; }
.video-story .decision-visual p { font-size:14px; margin:.6rem 0 0; }
@media(max-width:700px) { .decision-visual { grid-template-columns:1fr; gap:1.3rem; }.decision-visual__content { font-size:12px; } }

/* One continuous thread connects the layout story. */
.story-journey { position:relative; padding-left:54px; }
.story-journey::before { content:""; position:absolute; left:17px; top:0; bottom:0; width:1px; background:#e4c9af; }
.story-journey > .story-section { position:relative; }
.story-journey > .story-section::before { content:attr(data-step); position:absolute; left:-49px; top:clamp(3rem,6vw,5rem); width:25px; height:25px; display:grid; place-items:center; border-radius:50%; color:#925633; background:#fff8ee; border:1px solid #d7b292; font:600 10px/1 ui-sans-serif,system-ui,sans-serif; }
.story-journey > .story-next::before { top:clamp(2rem,5vw,4.5rem); }
.layout-feature-cards { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.layout-feature-cards > div { min-width:0; border:1px solid #ead8c5; background:#fffdf9; border-radius:12px; padding:1.1rem; }
.layout-feature-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:#f8e8d3; color:#a85e31; font:600 19px/1 ui-sans-serif,system-ui,sans-serif; margin-bottom:1.1rem; }
.layout-feature-cards strong { color:#623b28; font-size:14px; line-height:1.4; display:block; }
.video-story .layout-feature-cards p { font-size:13px!important; line-height:1.6!important; margin:.45rem 0 0; }
@media(max-width:800px) { .layout-feature-cards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) { .story-journey { padding-left:38px; }.story-journey > .story-section::before { left:-33px; top:3rem; }.story-journey > .story-next::before { top:2rem; }.layout-feature-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.layout-feature-cards > div { padding:.95rem; } }

/* Four chapters share a line that follows the reading position. */
.story-progress { position:absolute; z-index:0; left:17px; top:0; width:2px; height:var(--timeline-progress,0px); background:#bd713d; pointer-events:none; transition:height .1s ease-out; }
.story-milestone { position:relative; }
.story-milestone__heading { position:relative; padding:clamp(2rem,4vw,3.5rem) 0 .5rem; }
.story-milestone__number { position:absolute; z-index:1; left:-49px; top:clamp(2rem,4vw,3.5rem); width:25px; height:25px; display:grid; place-items:center; border:2px solid #d8b99f; border-radius:50%; color:#96745d; background:#fff8ee; font:600 10px/1 ui-sans-serif,system-ui,sans-serif; transition:background .35s,border-color .35s,color .35s,transform .35s; }
.story-milestone.is-reached .story-milestone__number { color:#fff; background:#ad6337; border-color:#ad6337; transform:scale(1.12); }
.story-milestone__heading h2 { margin:0; color:#60351e; font:600 clamp(1.6rem,2.7vw,2.25rem)/1.2 "Fraunces Heading",Georgia,serif; letter-spacing:-.025em; }
html[lang="zh-CN"] .story-milestone__heading h2 { font-family:ui-sans-serif,system-ui,-apple-system,sans-serif; font-weight:650; letter-spacing:0; }
.story-milestone__heading p { color:#80604a; font-size:15px; line-height:1.7; margin:.7rem 0 0; }
@media(max-width:700px) { .story-milestone__number { left:-33px; } }
@media(prefers-reduced-motion:reduce) { .story-progress { height:100%!important; transition:none; }.story-milestone__number { transition:none; } }

/* Layout case: a short introduction before the four milestones. */
.story-basic { display:flex; align-items:center; gap:2rem; }
.story-basic__views { display:flex; flex-wrap:wrap; gap:.55rem; flex:1; }
.story-basic__views span { border:1px solid #e2c5ab; border-radius:999px; padding:.65rem 1rem; color:#794a30; background:#fffaf3; font-size:14px; }
.video-story .story-basic > p { flex:1; margin:0; }
.story-ai-examples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; margin:2rem 0; }
.story-ai-examples > div { border-top:1px solid #d9bda1; padding-top:1rem; }
.story-ai-examples strong { color:#683c25; font-size:15px; }
.video-story .story-ai-examples p { font-size:14px; line-height:1.7; margin:.6rem 0 0; }
@media(max-width:700px) { .story-basic { flex-direction:column; align-items:stretch; gap:1rem; }.story-ai-examples { grid-template-columns:1fr; gap:1rem; } }

/* Keep the journey milestones visually above the supporting section titles. */
.video-story .story-section h2 { font-size:clamp(1.25rem,1.8vw,1.55rem); line-height:1.3; }
html[lang="zh-CN"] .video-story .story-section h2 { font-size:clamp(1.2rem,1.7vw,1.5rem); line-height:1.4; }
.video-story .story-section #vl-evolution { font-size:clamp(1.7rem,2.8vw,2.45rem); line-height:1.22; }
html[lang="zh-CN"] .video-story .story-section #vl-evolution { font-size:clamp(1.5rem,2.5vw,2.2rem); line-height:1.3; }

.video-story .story-intro__copy .story-intro__answer { color:#9d5229; font:600 clamp(1.35rem,2.1vw,1.85rem)/1.35 "Fraunces Heading",Georgia,serif; letter-spacing:-.02em; margin:1rem 0 0; }
html[lang="zh-CN"] .video-story .story-intro__copy .story-intro__answer { font-family:ui-sans-serif,system-ui,-apple-system,sans-serif; font-size:clamp(1.3rem,2vw,1.75rem); letter-spacing:0; }
.video-story .story-intro__copy .story-intro__detail { margin:.85rem 0 0; font-size:15px; line-height:1.7; }
.video-story .story-question > p.story-insight { margin:-1.5rem 0 0; padding-left:1rem; border-left:2px solid #c78350; color:#89502e; }
.story-outcome__trial { display:flex; align-items:center; gap:1.1rem; padding:1.15rem 0; margin:1.35rem 0; border-top:1px solid #ead8c5; border-bottom:1px solid #ead8c5; }
.story-outcome__trial strong { color:#a65b30; font:600 clamp(2rem,3vw,2.6rem)/1 "Fraunces Heading",Georgia,serif; letter-spacing:-.04em; }
.story-outcome__trial span { max-width:310px; color:#80604a; font-size:13px; line-height:1.6; }
.video-story .story-outcome p.story-outcome__reflection { color:#89502e; font-size:15px; line-height:1.7; margin:0; }

/* Real Webex views supplied in the Figma design. */
.story-basic { display:flex; flex-direction:column; align-items:stretch; gap:1.5rem; }
.video-story .story-basic > p { max-width:650px; }
.story-basic__views { width:100%; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.basic-view { margin:0; min-width:0; }
.basic-view img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; border-radius:9px; background:#111; }
.basic-view figcaption { margin-top:.65rem; color:#79543c; font-size:13px; font-weight:650; }
@media(max-width:700px) { .story-basic__views { grid-template-columns:1fr; gap:1.3rem; }.basic-view figcaption { margin-top:.45rem; } }

/* The historical comparison is a visual interlude, not a separate chapter. */
.story-comparison--intro { padding:0 0 clamp(3.5rem,7vw,6rem); }
.story-comparison--intro figcaption { font-size:10px; letter-spacing:.06em; }
.story-basic { align-items:center; }
.story-basic__views { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; flex:1.45; }
.basic-view { min-width:0; }
.story-basic__views .basic-view > span { display:block; padding:.55rem 0 0; background:none; border:0; color:#875b3d; font-size:12px; }
.basic-view__screen,.ai-sketch { display:grid; gap:4px; padding:7px; border-radius:8px; background:#4c342b; aspect-ratio:16/10; }
.basic-view__screen i,.ai-sketch i { display:block; min-width:0; min-height:0; border-radius:3px; background:#d39b72; }
.basic-view__grid { grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(2,1fr); }
.basic-view__stack { grid-template-columns:repeat(3,1fr); grid-template-rows:1fr 2fr; }
.basic-view__stack i:first-child { grid-column:1/-1; grid-row:2; background:#e4b18a; }
.basic-view__side { grid-template-columns:2fr 1fr; grid-template-rows:repeat(3,1fr); }
.basic-view__side i:first-child { grid-row:1/-1; background:#f7e6cd; }
.story-ai-examples > div { border:0; padding-top:0; }
.ai-sketch { margin-bottom:1rem; aspect-ratio:16/9; grid-template-columns:repeat(3,1fr); grid-template-rows:repeat(2,1fr); }
.ai-sketch--speakers i:first-child { grid-column:span 2; grid-row:span 2; background:#e7b28d; }
.ai-sketch--speakers i:last-child { display:none; }
.ai-sketch--content { grid-template-columns:2fr 1fr; grid-template-rows:repeat(3,1fr); }
.ai-sketch--content i:first-child { grid-row:span 3; background:#fae9cf; }
.ai-sketch--access i:first-child { grid-column:span 2; grid-row:span 2; background:#e7b28d; }
.ai-sketch--access i:nth-child(2) { grid-row:span 2; background:#f0c49e; }
.ai-sketch--access i:nth-child(n+3) { display:none; }
@media(max-width:700px) { .story-comparison--intro { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; padding-bottom:3.5rem; }.story-comparison--intro figcaption { font-size:9px; line-height:1.4; }.story-basic__views { width:100%; }.story-ai-examples { grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; }.story-ai-examples strong { font-size:13px; }.video-story .story-ai-examples p { font-size:12px; line-height:1.6; }.ai-sketch { padding:5px; gap:3px; } }

/* Resume study: editorial, monochrome and warm yellow, inspired by the reference. */
.resume-section { background:linear-gradient(180deg,#fff8ed 0%,#e5e8e2 6%,#e5e8e2 94%,#fff2e3 100%); color:#242522; padding-block:clamp(4rem,8vw,7rem); }
.resume-wrap { width:min(1050px,100%); }
.resume-paper { background:#e5e8e2; border:0; border-radius:0; padding:clamp(1.5rem,5vw,4rem); box-shadow:none; }
.resume-header { display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,33%); align-items:end; gap:clamp(2rem,5vw,4rem); padding:1.8rem 0 3rem; border-top:1px solid #777c72; }
.resume-header__copy { position:relative; align-self:center; }
.resume-kicker { color:#3e423b; font-size:11px; font-weight:700; letter-spacing:.12em; margin:0 0 2rem; }
.resume-header h2 { position:relative; z-index:0; width:fit-content; color:#252623; font-family:ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif; font-size:clamp(3rem,7vw,5.4rem); font-weight:850; line-height:.96; letter-spacing:-.065em; overflow-wrap:anywhere; }
.resume-header h2::before { content:""; position:absolute; z-index:-1; left:-.05em; right:-.08em; bottom:.06em; height:.32em; border-radius:999px; background:#f5ad17; }
html[lang="zh-CN"] .resume-header h2 { font-family:"ZCOOL KuaiLe Heading",system-ui,sans-serif; font-weight:400; letter-spacing:0; }
.resume-role { color:#252623; background:#f5ad17; border-radius:999px; font-size:12px; font-weight:750; margin:1.15rem 0 0; padding:.45rem .8rem; }
.resume-contact { text-align:left; margin:2.1rem 0 0; font-size:13px; gap:.4rem; }
.resume-contact a { color:#454841; width:fit-content; }
.resume-portrait { position:relative; isolation:isolate; width:100%; max-width:290px; justify-self:end; padding:0 1rem 1rem 0; }
.resume-portrait::before { content:""; position:absolute; z-index:-1; inset:20% 0 0 18%; background:#f5ad17; border-radius:36px 36px 0 0; }
.resume-portrait img { display:block; width:100%; aspect-ratio:3/4; object-fit:cover; object-position:center; border-radius:140px 140px 0 0; }
.resume-introduction { margin-top:0; padding:clamp(2rem,5vw,3.5rem) 0 0; border-top:1px solid #777c72; display:grid; grid-template-columns:1fr; gap:1.5rem; }
.resume-introduction h3,.resume-block h3 { color:#252623; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:800; letter-spacing:-.035em; text-transform:none; margin:0; }
.resume-introduction h3::after,.resume-block h3::after { content:"."; color:#e5a00e; }
.resume-summary { color:#3e423b; font-size:15px; line-height:1.85; margin:0; }
.resume-block { margin-top:clamp(3.5rem,6vw,5rem); }
.resume-block h3 { margin-bottom:2rem; }
.resume-job { padding-left:1.2rem; border-left:3px solid #f5ad17; }
.resume-job + .resume-job { margin-top:2.6rem; }
.resume-company h4,.resume-recognition h4 { color:#252623; }
.resume-company h4 span,.resume-company p,.resume-recognition p,.resume-job ul { color:#484c46; }
.resume-job li::marker { color:#c88a00; }
.resume-recognition-grid { gap:1.3rem; }
.recognition-entry { padding:1.25rem; background:#f2f3ee; border-radius:14px; }
.recognition-image { border-color:#d3d7cd; color:#3d4039; background:#e8eae4; }
.recognition-image img { background:#e8eae4; }
@media(max-width:700px) { .resume-section { padding-inline:1rem; }.resume-paper { padding:1.5rem 1.25rem; }.resume-header { grid-template-columns:minmax(0,1fr) minmax(100px,36%); gap:1rem; padding-bottom:2rem; }.resume-kicker { margin-bottom:1.2rem; }.resume-header h2 { font-size:clamp(2.15rem,8vw,3.5rem); }.resume-role { font-size:10px; }.resume-contact { margin-top:1rem; font-size:12px; }.resume-contact a { min-height:32px; }.resume-portrait { padding:0 .45rem .45rem 0; }.resume-portrait::before { border-radius:20px 20px 0 0; }.resume-introduction { grid-template-columns:1fr; gap:.8rem; padding-top:2rem; }.resume-block { margin-top:3.5rem; }.resume-recognition-grid { grid-template-columns:1fr; } }
@media(max-width:400px) { .resume-header { grid-template-columns:1fr; }.resume-portrait { justify-self:start; width:48%; max-width:160px; }.resume-header h2 { font-size:2.65rem; } }

@media(max-width:700px) { .story-basic__views { grid-template-columns:1fr; gap:1.3rem; } }

@media(max-width:700px) { #glass-folder-mount .gf-root[data-open] { --gf-spread:20px; --gf-fan:2deg; } }

/* Each folder opens a separate page in the same tab. */
.resume-page { background:#e5e8e2; }
.resume-page .resume-section { min-height:100vh; background:#e5e8e2; padding-top:clamp(4.5rem,7vw,6rem); }

.resume-page, .resume-page .resume-section { background:#e5e8e2; }
.resume-page .resume-paper { background:#fff; border-radius:16px; box-shadow:0 18px 55px rgba(42,45,39,.12); }

/* Layout case: product-led introduction with two meeting scenarios. */
.video-story .story-hero--product { padding:clamp(3rem,6vw,5rem) 0 clamp(4rem,7vw,6rem); }
.video-story .story-hero--product .story-hero__lead { color:#60351e; font:600 clamp(1.5rem,3vw,2.65rem)/1.2 "Fraunces Heading",Georgia,serif; letter-spacing:-.035em; margin:1rem 0 .6rem; }
html[lang="zh-CN"] .video-story .story-hero--product .story-hero__lead { font-family:ui-sans-serif,system-ui,-apple-system,sans-serif; letter-spacing:0; font-weight:650; }
.story-hero__intro { max-width:570px; color:#795c47; font-size:16px; line-height:1.7; margin:0; }
.layout-product-visual { position:relative; margin-top:clamp(2rem,4vw,3.5rem); padding:clamp(1.25rem,4vw,3rem) clamp(1.25rem,4vw,3rem) clamp(4.5rem,9vw,8rem) clamp(4rem,11vw,9rem); background:#f2e9dd; border:1px solid #eadbcb; border-radius:16px; }
.layout-product-visual figure { margin:0; position:relative; }
.layout-product-visual img { display:block; width:100%; height:auto; border-radius:9px; box-shadow:0 18px 35px #5133222b; }
.layout-product-visual figcaption { display:inline-block; margin-top:.6rem; color:#8c6a51; font-size:10px; font-weight:700; letter-spacing:.07em; }
.layout-product-visual__main { width:100%; }
.layout-product-visual__main figcaption { position:absolute; top:.65rem; right:.65rem; margin:0; padding:.35rem .55rem; border-radius:5px; background:rgba(20,20,20,.82); color:#fff; }
.layout-product-visual__inset { position:absolute!important; left:clamp(1rem,3vw,2.5rem); bottom:clamp(1rem,3vw,2.5rem); width:42%; }
.layout-product-visual__inset img { border:3px solid #fffaf2; }
@media(max-width:700px) { .video-story .story-hero--product { padding:3rem 0 3.5rem; }.layout-product-visual { padding:1rem 1rem 3.8rem 2.5rem; margin-top:2rem; border-radius:12px; }.layout-product-visual__inset { left:.7rem; bottom:.7rem; width:48%; }.layout-product-visual figcaption { font-size:8px; letter-spacing:.02em; line-height:1.3; }.story-hero__intro { font-size:15px; } }

/* Align the return link with the language control and bring the product visual higher. */
.video-story .story-main { padding-top:clamp(18px,3vw,36px); }
.video-story .story-wrap > .case-back { min-height:48px; }
.video-story .story-hero--product { padding-top:clamp(1.5rem,3vw,2.5rem); }
.video-story .layout-product-visual { width:min(100%,clamp(600px,calc((100vh - 360px)*2),1120px)); margin-top:clamp(1.5rem,3vw,2.5rem); padding-bottom:clamp(3.8rem,6vw,5.5rem); }
@media(max-width:700px) { .video-story .story-hero--product { padding-top:1.5rem; }.video-story .layout-product-visual { width:100%; margin-top:1.5rem; padding-bottom:3.8rem; } }

/* Show the meeting windows without their exported black surrounds. */
.video-story .layout-product-visual { background:none; border:0; border-radius:0; padding:0 0 7% 0; }
.layout-product-visual .layout-product-visual__main { width:87%; margin-left:13%; }
.layout-product-visual .layout-product-visual__main,
.layout-product-visual .layout-product-visual__inset { overflow:hidden; border-radius:9px; box-shadow:0 12px 30px rgba(57,36,25,.2); }
.layout-product-visual .layout-product-visual__main { aspect-ratio:1426/593; }
.layout-product-visual .layout-product-visual__inset { width:45%; aspect-ratio:1282/766; left:0; bottom:0; }
.layout-product-visual .layout-product-visual__main img,
.layout-product-visual .layout-product-visual__inset img { position:absolute; max-width:none; height:auto; border:0; border-radius:0; box-shadow:none; }
.layout-product-visual .layout-product-visual__main img { width:105.19%; left:-2.59%; top:-3.2%; }
.layout-product-visual .layout-product-visual__inset img { width:107.49%; left:-3.74%; top:-3.13%; }
@media(max-width:700px) { .video-story .layout-product-visual { padding:0 0 9%; }.layout-product-visual .layout-product-visual__main { width:90%; margin-left:10%; }.layout-product-visual .layout-product-visual__inset { width:49%; } }

/* Restore the shared backdrop while keeping the meeting windows cropped. */
.video-story .layout-product-visual { background:#f2e9dd; border:1px solid #eadbcb; border-radius:16px; padding:clamp(1rem,2.5vw,2rem) clamp(1rem,2.5vw,2rem) calc(7% + clamp(1rem,2.5vw,2rem)); }
.layout-product-visual .layout-product-visual__inset { left:clamp(1rem,2.5vw,2rem); bottom:clamp(1rem,2.5vw,2rem); }
@media(max-width:700px) { .video-story .layout-product-visual { border-radius:12px; padding:1rem 1rem calc(9% + 1rem); }.layout-product-visual .layout-product-visual__inset { left:1rem; bottom:1rem; } }
