.welcome-v3 { background: #050505; color: #fff; overflow-x: clip; }
.welcome-v3 .welcome-top { border-color: #ffffff27; }
.welcome-v3 .welcome-identity { color: #faf9f6; }
.welcome-v3 .monogram { color: #161a10; background: #d6ef83; }
.welcome-v3 .motion-control { color: #e4e4dc; background: #111112; border-color: #ffffff32; }
.welcome-v3 .motion-control:hover { border-color: #d6ef83; }
.welcome-v3 .welcome-position { display: inline-block; margin-bottom: 1.05rem; padding-left: .9rem; border-color: #d6ef83; color: #d6ef83; font-size: clamp(1.04rem, 1.6vw, 1.28rem); font-weight: 750; }
.welcome-v3 .welcome-copy h1 { max-width: unset; color: #fcfaf4; font-size: clamp(2.55rem, 5vw, 4.85rem); font-weight: 810; letter-spacing: -.071em; }
.welcome-v3 .welcome-copy h1 strong { color: #d6ef83; }
.welcome-v3 .welcome-text { max-width: 30rem; color: #d5d5ca; }
.welcome-v3 .enter-resume { color: #14190e; background: #d6ef83; border-color: #d6ef83; }
.welcome-v3 .enter-resume:hover { background: #e6f7ae; }
.welcome-v3 .view-simulation { color: #e2e7df; background: #101212; border-color: #ffffff35; }
.welcome-v3 .view-simulation:hover { color: #ecf6cc; background: #202619; border-color: #b6d56c; }
.emoji-stage { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1.05; display: grid; place-items: center; }
.emoji-stage > * { grid-area: 1 / 1; }
.emoji-axis { position: absolute; inset: 0; border-radius: 50%; background: repeating-linear-gradient(0deg, #d3ee9621 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, #d3ee9621 0 1px, transparent 1px 24px); mask-image: radial-gradient(ellipse closest-side, #000, #0008 68%, transparent 100%); }
.emoji-halo { position: absolute; width: 83%; height: 86%; border-radius: 50%; background: radial-gradient(ellipse, #d1ec7455 0%, #c4ea3e20 43%, #a6bc3310 61%, transparent 74%); filter: blur(11px); }
.emoji-orbit { position: absolute; width: 91%; height: 69%; border-radius: 50%; transform: rotate(-14deg); border: 1px solid #a8c66d54; box-shadow: inset 0 0 28px #c5ed2914, 0 0 36px #a8e04218; }
.emoji-orbit::after { content: ""; position: absolute; inset: -13% 11%; border: 1px solid #c7e38a32; border-radius: 50%; transform: rotate(37deg); }
.emoji-tilt { position: relative; z-index: 1; width: 116%; max-width: 116%; transform: translate(var(--scene-x, 0), var(--scene-y, 0)); transition: transform .2s ease-out; }
.greeting-emoji { width: 100%; max-width: 100%; height: auto; filter: drop-shadow(0 14px 31px #d2e74925); animation: emoji-float 5.1s ease-in-out infinite; transform-origin: 59% 56%; }
@keyframes emoji-float { 0%, 100% { transform: translateY(4px) rotate(-2.7deg); } 48% { transform: translateY(-21px) rotate(1.4deg); } }
.emoji-spark { position: absolute; z-index: 2; width: .5rem; aspect-ratio: 1; rotate: 45deg; border-radius: .12rem; background: #daef9f; box-shadow: 0 0 20px #d7f277a8; animation: emoji-sparkle 4.4s ease-in-out infinite; }
.spark-one { left: 12%; top: 12%; }
.spark-two { right: 15%; bottom: 10%; animation-delay: -.85s; }
.spark-three { right: 7%; top: 20%; width: .32rem; animation-delay: -1.53s; }
@keyframes emoji-sparkle { 0%, 100% { opacity: .55; transform: scale(.78); } 50% { opacity: 1; transform: scale(1.1); } }
[data-motion="off"] :is(.greeting-emoji,.emoji-spark) { animation: none; }
[data-motion="off"] .emoji-tilt { transition: none; }

.resume-panel .list-career > .item > .content { min-width: 0; }
.resume-panel .list-career .content-body .info { display: flex; flex-wrap: wrap; align-items: stretch; width: fit-content; max-width: 100%; margin-top: .6rem; gap: .22rem .65rem; padding: .39rem .62rem; border-radius: .54rem; border: 1px solid #d9e5dd; background: #f5f8f4; }
.resume-panel .list-career .info > .item { display: inline-flex; align-items: baseline; flex-wrap: wrap; max-width: 100%; min-width: 0; column-gap: .43rem; }
.resume-panel .list-career .info .label { flex: 0 0 auto; font-weight: 740; color: #40654b; }
.resume-panel .list-career .info .value { min-width: 0; white-space: normal; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; color: #293e31; }

.essay-demo { margin-block: .1rem 1.6rem; list-style: none; min-width: 0; scroll-margin-top: 4.85rem; }
.study-board { --accent: #167d70; --accent-light: #e0f5ed; --accent-line: #abd1c4; min-width: 0; padding: clamp(.9rem, 2.3vw, 1.65rem); border: 1px solid #d5e2db; border-radius: 1.16rem; background: linear-gradient(125deg, #f8fbf8, #edf5f0 86%); box-shadow: 0 8px 26px #153c2810; }
.board-intro { margin-bottom: 1rem; }
.board-intro h3 { color: #243c31; font-size: clamp(1.22rem, 2.25vw, 1.85rem); font-weight: 840; letter-spacing: -.05em; }
.board-intro p { max-width: 58rem; margin-top: .42rem; color: #4b6357; font-size: .96rem; line-height: 1.7; }
.study-layout { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); gap: clamp(.75rem, 2.3vw, 1.45rem); align-items: start; }
.study-panel { min-width: 0; display: grid; gap: .73rem; }
.technical-canvas { min-width: 0; overflow: hidden; border-radius: .87rem; border: 1px solid #c8dbd4; background: #e3efeb; }
.technical-canvas canvas { width: 100%; height: auto; display: block; }
.canvas-label { min-height: 2.5rem; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .25rem .8rem; padding: .45rem .69rem; background: #f5faf7; color: #3e6354; font-size: .88rem; font-weight: 740; border-bottom: 1px solid #c8dbd4; }
.canvas-label span:last-child { color: #246d5c; border-radius: 99px; padding: .15rem .44rem; background: #e0f1e9; font-weight: 800; }
.technical-canvas figcaption { padding: .38rem .68rem; color: #4f6355; background: #f5faf7; font-size: .87rem; border-top: 1px solid #c8dbd4; }
.study-options { display: grid; gap: .35rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.study-options button { min-height: 2.55rem; min-width: 0; padding: .4rem .4rem; border-radius: .51rem; border: 1px solid #cbded5; background: #fff; color: #345e50; line-height: 1.35; font-size: .9rem; font-weight: 730; word-break: keep-all; overflow-wrap: anywhere; }
.study-options button:hover { border-color: var(--accent); }
.study-options button[aria-pressed="true"] { color: #f7fcfa; background: var(--accent); border-color: var(--accent); }
.study-readout { padding: .76rem .88rem; border: 1px solid var(--accent-line); border-radius: .68rem; border-left: 3px solid var(--accent); background: #fff; }
.study-readout .readout-label { color: var(--accent); font-size: .88rem; font-weight: 800; }
.study-readout h4 { margin-top: .18rem; color: #294438; font-size: 1rem; font-weight: 840; line-height: 1.45; }
.study-readout p:not(.readout-label) { margin-top: .31rem; color: #52685d; font-size: .93rem; line-height: 1.68; }
.evidence-flow { display: grid; gap: .44rem; list-style: none; padding: 0; }
.evidence-flow li { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr); gap: .28rem .47rem; padding: .3rem 0 .33rem .54rem; border-left: 1px solid var(--accent-line); color: #4c675c; font-size: .86rem; line-height: 1.45; }
.evidence-flow strong { color: #345e4f; font-weight: 760; }

.signal-board { --accent: #365c81; --accent-line: #b9ccdc; --accent-light: #e5eef4; background: linear-gradient(130deg, #f7fafc, #e9f1f6); border-color: #cad8e3; }
.signal-board .canvas-label { background: #1d3040; color: #dbeaf1; border-color: #344b5b; }
.signal-board .canvas-label span:last-child { color: #e5f4ef; background: #31515e; }
.signal-board .technical-canvas { background: #1b2b3a; border-color: #465e73; }
.signal-board .technical-canvas figcaption { background: #eef5f8; color: #3c5364; border-color: #bdcfdc; }
.verify-list { padding: .45rem .73rem; border-radius: .61rem; color: #476575; background: #edf4f8; }
.verify-list p { font-weight: 800; font-size: .89rem; }
.verify-list ul { margin: .2rem 0 0; padding-left: 1.14rem; font-size: .89rem; }

.essay-demo .inventory-section { margin-top: 1.05rem; padding: clamp(.85rem, 2.6vw, 1.8rem); border: 1px solid #496553; border-radius: 1.14rem; background: linear-gradient(125deg, #142d27, #263f30); }
.essay-demo .inventory-section > .shell { width: 100%; }
.essay-demo .inventory-copy h2 { font-size: clamp(1.4rem, 2.67vw, 2.37rem); }
.essay-demo .inventory-layout { gap: 1rem clamp(.9rem, 3vw, 2rem); }
.essay-demo .inventory-board { border-radius: .92rem; }
.stock-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin-block: .72rem .4rem; }
.stock-totals > div { display: grid; gap: .11rem; padding: .4rem .48rem; border: 1px solid #d7e4d6; border-radius: .46rem; background: #edf4ea; }
.stock-totals dt { color: #486451; font-size: .83rem; font-weight: 660; line-height: 1.4; }
.stock-totals dd { color: #304b34; font-size: 1rem; font-variant-numeric: tabular-nums; font-weight: 800; }

.supply-board { --accent: #825937; --accent-line: #d8c8b5; --accent-light: #f6ead9; background: linear-gradient(130deg, #fcfbf8, #f5f0e7); border-color: #e4dacc; }
.stage-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.supply-lanes { display: grid; grid-template-columns: minmax(5.2rem, .18fr) minmax(0, 1fr); gap: .48rem .74rem; margin-block: .86rem; padding: .75rem; border: 1px solid #e1d8ca; border-radius: .68rem; background: #fffcf7; }
.lane-label { align-self: center; font-size: .92rem; color: #654a36; font-weight: 800; }
.lane-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .33rem; background: repeating-linear-gradient(90deg, #eee3d3 0 1px, transparent 1px 25%); padding-block: .15rem; }
.lane-track span { display: flex; align-items: center; justify-content: center; min-width: 0; padding: .42rem .28rem; border-radius: .41rem; border: 1px solid #e5d9c8; background: #f7f1e7; color: #6b5848; font-size: .85rem; line-height: 1.37; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
.lane-track [data-lane-stage="freeze"] { grid-column: 1; }
.lane-track [data-lane-stage="review"] { grid-column: 2; }
.lane-track [data-lane-stage="factory"] { grid-column: 3; }
.lane-track [data-lane-stage="close"] { grid-column: 4; }
.lane-track span.lane-current { background: #f2dfc8; border-color: #c4986b; color: #573c27; font-weight: 830; }
.safety-board { --accent: #386f7d; --accent-light: #e6f1f4; --accent-line: #bfd5dc; background: linear-gradient(125deg, #f5f9fa, #e7f1f4); border-color: #cbdfe5; }
.safety-board .technical-canvas { background: #e6f2f5; border-color: #bcd5dc; }
.safety-board .canvas-label span:last-child { color: #365e66; background: #e1edf0; }

.resume-panel .list-awards .content-header { align-items: center; }
.award-view { min-height: 2.3rem; padding: .34rem .58rem; color: #2b5844; border-color: #afcdbb; background: #f2f9f4; font-size: .86rem; }
.award-view:hover { color: #224738; background: #e3f2e8; }
.award-dialog { width: min(93vw, 57rem); max-width: none; max-height: 94vh; max-height: 94dvh; padding: 0; border: 1px solid #d0dfd5; border-radius: 1rem; color: #254438; background: #fcfdfb; box-shadow: 0 30px 85px #0b21188f; }
.award-dialog[open] { display: grid; grid-template-rows: auto minmax(3rem, 1fr) auto; }
.award-dialog::backdrop { background: #091916c9; backdrop-filter: blur(3px); }
.award-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .8rem 1rem; border-bottom: 1px solid #dce7df; }
.award-dialog-head p { color: #55745f; font-size: .9rem; font-weight: 740; }
.award-dialog-head h2 { font-size: clamp(1.14rem, 2.2vw, 1.65rem); font-weight: 820; }
.award-close, .award-zoom { min-height: 2.35rem; white-space: nowrap; color: #315a48; background: #edf5ef; border-color: #cadfcf; }
.award-close:hover, .award-zoom:hover { background: #dceee1; }
.award-media { padding: .45rem; overflow: auto; background: #e8eee9; }
.award-media img { display: block; width: auto; max-width: 100%; max-height: 68vh; max-height: 68dvh; object-fit: contain; margin-inline: auto; }
.award-media.media-zoomed img { max-height: none; max-width: none; width: max(100%, 1000px); }
.award-proof { display: grid; gap: .55rem; }
.award-proof figure { min-width: 0; margin: 0; padding: .5rem; background: #fff; }
.award-proof figcaption { margin-bottom: .36rem; color: #315a48; font-size: .88rem; }
.award-dialog-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; padding: .62rem .82rem; border-top: 1px solid #dce7df; }

.skill-portfolio { margin-top: 2rem; }
.skill-portfolio h2 { margin-bottom: .67rem; }
.skill-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.skill-card { padding: .78rem .88rem; border: 1px solid #d5e5db; border-radius: .7rem; background: linear-gradient(145deg, #f9fcfa, #ecf5ef); }
.skill-card h3 { color: #2a4a38; font-size: 1.06rem; font-weight: 820; }
.skill-card p { margin: .25rem 0 .35rem; line-height: 1.62; font-size: .93rem; color: #4c6659; }
.skill-card a { color: #2a624e; text-decoration: underline; text-underline-offset: .21em; font-size: .88rem; font-weight: 730; }

@media (max-width: 780px) {
  .emoji-stage { width: min(100%, 29rem); margin: 0 auto; aspect-ratio: 1.25; }
  .emoji-tilt { width: 100%; }
  .study-layout { grid-template-columns: minmax(0, 1fr); }
  .study-options button { min-height: 2.5rem; }
  .essay-demo { scroll-margin-top: 1rem; }
}
@media (max-width: 620px) {
  .stage-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supply-lanes { grid-template-columns: minmax(0, 1fr); gap: .28rem; padding: .56rem; }
  .supply-lanes .lane-label { margin-top: .38rem; }
  .lane-track { grid-template-columns: repeat(2, minmax(0, 1fr)); background: transparent; }
  .lane-track [data-lane-stage] { grid-column: auto; }
  .skill-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .greeting-emoji, .emoji-spark { animation: none; }
  .emoji-tilt { transition: none; }
}
@media print {
  .award-dialog, .essay-demo { display: none !important; }
  .skill-card { break-inside: avoid; }
}
