/* Motion sketches reflect actual project workflows, without measured-result claims. */
.reading-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg,#6fa4d2,#d9b17d); transform: scaleX(var(--reading-progress,0)); transform-origin: left; pointer-events: none; }
.signature-grid { grid-template-columns: 1fr 1.04fr; gap: 60px; padding-block: 22px 28px; }
.signature-hero:after { top: 30px; height: 680px; background: radial-gradient(ellipse,rgba(74,126,173,.2),transparent 67%); }
.signature-hero .system-scene { width: 100%; max-width: 525px; margin: 0; justify-self: end; }
.system-caption { display: flex; gap: 9px; align-items: center; justify-content: center; color: #b7cadd; font-size: .625rem; letter-spacing: .17em; font-weight: 600; }
.system-caption>span { color: #e0ba85; font-size: 1rem; }
.system-stage { position: relative; isolation: isolate; aspect-ratio: 1.2; width: 100%; max-width: 380px; margin: 8px auto 0; perspective: 900px; --scene-accent: #a2d4f6; }
.system-stage[data-scene=risk] { --scene-accent: #d6c0f0; }
.system-stage[data-scene=apps] { --scene-accent: #b6dfd6; }
.system-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; pointer-events: none; }
.system-depth { position: absolute; inset: 0; transform: translate3d(var(--stage-x,0px),var(--stage-y,0px),0) rotateX(var(--stage-rx,0deg)) rotateY(var(--stage-ry,0deg)); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.system-grid { position: absolute; inset: 5% -4% 0; background-image: linear-gradient(#a4c8df0a 1px,transparent 1px),linear-gradient(90deg,#a4c8df0a 1px,transparent 1px); background-size: 32px 32px; transform: rotateX(38deg) rotateZ(-18deg); mask-image: radial-gradient(ellipse,#000 16%,transparent 72%); }
.system-paths { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; stroke: url(#path-gradient); stroke-width: 1.2; }
.path-base { opacity: .4; }
.path-flow { stroke-dasharray: 13 95; stroke-width: 2; animation: signal-travel 9s linear infinite; animation-play-state: paused; }
.path-branch { stroke-dasharray: 3 7; opacity: .2; }
.system-paths circle { fill: var(--scene-accent); stroke: none; }
.system-node { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; width: 82px; aspect-ratio: 1; background: linear-gradient(150deg,#223d57df,#11283ede); border: 1px solid #a9d6f146; border-radius: 20px; box-shadow: 0 15px 40px #00000025,inset 0 1px 1px #ffffff12; color: #dce9f2; font-size: .625rem; backdrop-filter: blur(12px); animation: node-float 7s ease-in-out infinite; animation-play-state: paused; }
.system-node svg { width: 29px; height: 29px; color: var(--scene-accent); }
.node-source { left: 18%; top: 24%; translate: -50% -50%; rotate: -9deg; }
.node-output { left: 82%; top: 77%; translate: -50% -50%; rotate: 9deg; border-color: #d9b17d46; animation-delay: -3.5s; }
.node-output svg { color: #e4c28f; }
.system-core { position: absolute; width: 136px; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; rotate: -12deg; isolation: isolate; }
.system-core:before,.system-core:after { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid #93c1e43c; border-radius: 31px; background: #18354a60; transform: translate(-10px,11px); }
.system-core:before { transform: translate(-20px,22px); opacity: .55; }
.core-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; border: 1px solid #a6d6ed80; border-radius: 31px; background: linear-gradient(145deg,#456e8dc9,#1b3b53e0 62%,#10283b); box-shadow: inset 0 1px 12px #c3e4f21a,0 25px 55px #00000036,0 0 50px #73afd421; color: #e5eef5; backdrop-filter: blur(10px); animation: core-breathe 6s ease-in-out infinite; animation-play-state: paused; }
.core-inner svg { width: 46px; height: 46px; color: var(--scene-accent); rotate: 12deg; }
.core-inner>span { rotate: 12deg; font-size: .625rem; font-weight: 600; letter-spacing: .13em; }
.core-inner>i { position: absolute; inset: 8px; border: 1px solid #b4daec1c; border-radius: 24px; pointer-events: none; }
.system-detail { position: absolute; color: #8eaec5; font-size: .625rem; letter-spacing: .025em; }
.detail-top { right: 9%; top: 14%; }
.detail-bottom { left: 10%; bottom: 12%; }
.system-footnote { display: flex; justify-content: center; align-items: center; gap: 8px; position: absolute; bottom: -2px; left: 0; width: 100%; font-size: .5rem; letter-spacing: .13em; color: #9eb8cf; }
.system-indicator { width: 4px; height: 4px; border-radius: 50%; background: #dbb682; box-shadow: 0 0 12px #dbb68280; }
.project-explorer { position: relative; z-index: 1; padding: 18px 23px; border: 1px solid #a9c8e42a; background: linear-gradient(135deg,#152a41e8,#112239eb); border-radius: 20px; backdrop-filter: blur(18px); box-shadow: 0 22px 55px #0000001c; margin-top: 20px; }
.explorer-heading { display: flex; gap: 15px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.explorer-heading>p { font-size: .8125rem; color: #f0f3f7; font-weight: 550; }
.explorer-heading>span { font-size: .625rem; color: #aebfd2; }
.explorer-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 4px; gap: 3px; background: #0614236e; border: 1px solid #adc9e315; border-radius: 11px; }
.explorer-tabs button { padding: 8px 4px; border-radius: 7px; background: transparent; font-size: .75rem; color: #bbcadb; transition: background .25s,color .25s; min-width: 0; }
.explorer-tabs button[aria-selected=true] { background: #dce7f1; color: #18334f; box-shadow: 0 2px 6px #0002; }
.explorer-tabs button:hover:not([aria-selected=true]) { background: #ffffff0d; color: #fff; }
.explorer-panel { padding-top: 15px; min-height: 80px; }
.explorer-panel[hidden] { display: none; }
.explorer-panel>p { font-size: .8125rem; line-height: 1.7; color: #bfccda; }
.explorer-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: transparent; text-align: left; width: 100%; padding: 10px 0 0; font-size: .75rem; font-weight: 500; color: #e5c398; }
.explorer-link>span { font-size: 1.125rem; transition: translate .25s; }
.explorer-link:hover>span { translate: 2px -2px; }
.signature-hero .motion-toggle { position: relative; inset: auto; margin: 12px 0 0 auto; padding: 8px 10px; color: #bacbdd; min-height: 34px; }
.motion-toggle:disabled { cursor: default; opacity: .7; }
.featured-project { transition: border-color .3s,box-shadow .35s,opacity .7s,transform .7s; }
.featured-project:hover { border-color: #a7bdd2; box-shadow: 0 22px 55px #15385c0d; }
.featured-visual,.gallery-art { isolation: isolate; position: relative; }
.featured-visual:after,.gallery-art:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--light-x,50%) var(--light-y,50%),#ffffff50,transparent 54%); opacity: 0; transition: opacity .4s; }
.featured-visual:hover:after,.gallery-card:hover .gallery-art:after { opacity: 1; }
.featured-visual img,.gallery-art img { translate: var(--art-x,0px) var(--art-y,0px); transition: transform .65s,translate .65s cubic-bezier(.2,.7,.2,1); }
.visual-open { z-index: 2; transition: background .25s,rotate .35s; }
.featured-visual:hover .visual-open { rotate: 90deg; }
.experience-proof strong { transition: color .35s; }
.experience-story:hover .experience-proof strong { color: #416a94; }
.contact .button:hover { box-shadow: 0 12px 30px #25486820; }
.motion-ready.hero-in-view:not(.motion-paused):not(.motion-suspended) .system-node,
.motion-ready.hero-in-view:not(.motion-paused):not(.motion-suspended) .core-inner,
.motion-ready.hero-in-view:not(.motion-paused):not(.motion-suspended) .path-flow { animation-play-state: running; }
.motion-ready:not(.motion-paused) .explorer-panel:not([hidden]) { animation: explorer-in .35s ease both; }
.motion-ready:not(.motion-paused) .signature-copy h1 { animation: hero-arrive .85s cubic-bezier(.2,.7,.2,1) both; }
.motion-ready:not(.motion-paused) .signature-copy .hero-role { animation: hero-arrive .85s .08s cubic-bezier(.2,.7,.2,1) both; }
.motion-ready:not(.motion-paused) .signature-copy .hero-intro,.motion-ready:not(.motion-paused) .hero-focus { animation: hero-arrive .85s .15s cubic-bezier(.2,.7,.2,1) both; }
.motion-paused *,.motion-suspended * { animation-play-state: paused !important; }
.motion-paused { scroll-behavior: auto; }
.motion-paused * { transition: none !important; }
.motion-paused .reveal-pending { opacity: 1; transform: none; }
@keyframes node-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes core-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes signal-travel { to { stroke-dashoffset: -216; } }
@keyframes explorer-in { from { opacity: .4; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
@keyframes hero-arrive { from { opacity: .5; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media(max-width:1100px) {
  .signature-grid { grid-template-columns: 1fr 1.04fr; gap: 30px; }
  .project-explorer { padding: 19px; }
  .explorer-heading { gap: 10px; }
  .explorer-heading>span { font-size: .5625rem; }
  .system-core { width: 130px; }
  .system-node { width: 78px; }
}
@media(max-width:800px) {
  .signature-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .signature-copy h1 { font-size: 6rem; }
  .explorer-heading { align-items: flex-start; flex-direction: column; gap: 2px; margin-bottom: 11px; }
  .system-caption { font-size: .5625rem; letter-spacing: .11em; }
  .system-core { width: 100px; }
  .system-core:before,.system-core:after,.core-inner { border-radius: 22px; }
  .core-inner>i { border-radius: 16px; }
  .core-inner svg { width: 32px; height: 32px; }
  .system-node { width: 64px; border-radius: 14px; gap: 5px; }
  .system-node svg { width: 24px; height: 24px; }
  .system-detail { font-size: .5625rem; }
  .core-inner>span { font-size: .5rem; }
  .explorer-panel { min-height: 118px; }
  .system-footnote { font-size: .4375rem; letter-spacing: .08em; }
}
@media(max-width:620px) {
  .signature-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 34px 9px; }
  .signature-copy h1 { font-size: clamp(5.5rem,22vw,7rem); }
  .signature-hero .system-scene { max-width: 400px; justify-self: center; }
  .system-stage { aspect-ratio: 1.2; max-width: 360px; margin-inline: auto; }
  .system-caption { font-size: .625rem; }
  .system-core { width: 118px; }
  .core-inner>span { font-size: .5625rem; }
  .system-node { width: 72px; }
  .system-footnote { font-size: .4375rem; }
  .project-explorer { padding: 20px; }
  .explorer-heading { flex-direction: row; align-items: center; gap: 10px; margin-bottom: 14px; }
  .explorer-heading>span { font-size: .5625rem; max-width: 91px; line-height: 1.6; }
  .explorer-panel { min-height: 96px; }
  .hero-city { height: 640px; }
  .hero-city-shade { background: linear-gradient(180deg,#0c1829 0%,#0c1829 40%,rgba(12,24,41,.55) 76%,rgba(12,24,41,.85) 100%); }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .system-depth { transform: none; }
  .featured-visual img,.gallery-art img { translate: 0 0; transform: none; }
}
