/* Personal creator refinement. Web glass approximation, loaded after mobile.css.
   Keep layout and spring transitions in their existing styles/controllers. */
:root {
  --bg: #f3f6fa;
  --text: #182536;
  --text-2: #475970;
  --text-3: #607189;
  --text-4: #748298;
  --ink: var(--text);
  --ink-dim: var(--text-2);
  --accent: #3565cf;
  --surface: rgba(255,255,255,.76);
  --surface-strong: #fcfdff;
  --glass: rgba(255,255,255,.76);
  --glass-border: rgba(255,255,255,.9);
  --glass-shadow: 0 8px 26px rgba(38,66,107,.07);
  --glass-shadow-hover: 0 14px 32px rgba(38,66,107,.12);
  --liquid-stroke: rgba(255,255,255,.9);
  --liquid-shadow: 0 14px 40px rgba(57,86,139,.12);
  --bubble-blue: rgba(133,193,244,.36);
  --bubble-lilac: rgba(184,178,227,.2);
}

/* Energy sphere in the site's ice-blue / silver palette; decorative only.
   All moving layers use transform/opacity, with static gradients and shadows. */
.site-nav .nav-energy {
  position: relative;
  display: block;
  flex: 0 0 76px;
  width: 76px;
  height: 56px;
  margin: 0 8px;
  isolation: isolate;
  pointer-events: none;
}
.nav-energy > span,.nav-energy .energy-shell > span { position: absolute; border-radius: 50%; }
.nav-energy.energy-live > span { display: none; }
.nav-energy .energy-canvas { display: block; width: 76px; height: 56px; pointer-events: none; }
.nav-energy .energy-aura {
  inset: -5px;
  background: radial-gradient(ellipse,rgba(129,197,247,.3),rgba(182,215,244,.15) 48%,transparent 72%);
  animation: energyBreathe 3.8s ease-in-out infinite;
}
.nav-energy .energy-shell {
  inset: 4px 7px;
  overflow: hidden;
  background: radial-gradient(circle at 36% 29%,#f5fcff,#b5ddf5 38%,#7ebce5 69%,#649dcb 100%);
  border: 1px solid rgba(230,249,255,.95);
  box-shadow: inset 2px 3px 5px rgba(235,250,255,.8),inset -4px -5px 9px rgba(73,138,184,.32),0 3px 7px rgba(32,69,104,.12),0 0 14px rgba(117,185,237,.28);
}
.nav-energy .energy-plasma {
  inset: -3px;
  background: radial-gradient(ellipse at 30% 45%,rgba(153,227,255,.85),transparent 38%),
    radial-gradient(ellipse at 72% 65%,rgba(105,189,251,.8),transparent 37%);
  animation: energySpin 8s linear infinite;
  opacity: .9;
}
.nav-energy .energy-plasma::before,
.nav-energy .energy-plasma::after {
  content: "";
  position: absolute;
  inset: 8px 3px;
  border: 2px solid rgba(184,232,255,.12);
  border-top-color: rgba(232,251,255,.96);
  border-right-color: rgba(124,215,255,.82);
  border-radius: 38% 62% 54% 46%;
  box-shadow: 0 0 5px rgba(142,221,255,.55),inset 0 0 4px rgba(124,203,250,.3);
  animation: energyFilament 3.7s ease-in-out infinite;
}
.nav-energy .energy-plasma::after {
  inset: 3px 10px;
  border-radius: 59% 41% 35% 65%;
  animation-duration: 4.9s;
  animation-direction: reverse;
}
.nav-energy .energy-core {
  inset: 12px;
  background: radial-gradient(circle,#f6fdff,rgba(187,234,255,.95) 20%,rgba(125,201,248,.58) 45%,transparent 73%);
  box-shadow: 0 0 10px rgba(170,221,253,.65);
  animation: energyBreathe 2.6s ease-in-out infinite reverse;
}
.nav-energy .energy-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 26% 14%,rgba(255,255,255,.9),transparent 24%),
    radial-gradient(circle at 43% 36%,transparent 43%,rgba(8,27,48,.25) 78%,rgba(189,230,254,.3) 96%);
}
.nav-energy .energy-ring {
  inset: 1px 4px;
  border: 1px solid rgba(144,183,220,.46);
  border-top-color: #d4efff;
  border-bottom-color: rgba(111,156,201,.8);
  box-shadow: 0 0 3px rgba(148,215,254,.3);
  animation: energyOrbit 7s linear infinite;
}
.nav-energy .energy-ring--two {
  inset: -2px 1px;
  border-color: rgba(163,192,217,.3);
  border-left-color: rgba(184,222,250,.8);
  animation: energyOrbitCross 9s linear infinite;
}
@keyframes energySpin { to { transform: rotate(360deg); } }
@keyframes energyFilament {
  0%,100% { transform: rotate(-25deg) scale(.85); opacity: .65; }
  50% { transform: rotate(155deg) scale(1.12); opacity: 1; }
}
@keyframes energyBreathe {
  0%,100% { transform: scale(.88); opacity: .6; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes energyOrbit {
  from { transform: perspective(100px) rotateX(52deg) rotateY(18deg) rotateZ(0deg); }
  50% { transform: perspective(100px) rotateX(70deg) rotateY(-15deg) rotateZ(180deg); }
  to { transform: perspective(100px) rotateX(52deg) rotateY(18deg) rotateZ(360deg); }
}
@keyframes energyOrbitCross {
  from { transform: perspective(100px) rotateX(-35deg) rotateY(58deg) rotateZ(30deg); }
  50% { transform: perspective(100px) rotateX(15deg) rotateY(70deg) rotateZ(-150deg); }
  to { transform: perspective(100px) rotateX(-35deg) rotateY(58deg) rotateZ(-330deg); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-energy span,.energy-plasma::before,.energy-plasma::after { animation: none !important; }
  .nav-energy .energy-ring--one { transform: perspective(100px) rotateX(52deg) rotateY(18deg); }
  .nav-energy .energy-ring--two { transform: perspective(100px) rotateX(-35deg) rotateY(58deg); }
}

body[data-page] {
  color: var(--text);
  background: linear-gradient(145deg,#eef4fb 0%,#f6f7fb 48%,#eef4f7 100%);
  background-attachment: scroll;
}
body[data-page]::before {
  background: radial-gradient(ellipse at 12% 8%,rgba(126,180,237,.17),transparent 43%),
    radial-gradient(ellipse at 90% 26%,rgba(168,166,213,.12),transparent 42%);
  opacity: 1;
  filter: none;
  animation: none;
}
body[data-page]::after { opacity: .014; }
/* Replace the six continuously blurred color blobs with the static light field. */
body[data-page] .bg-fluid { display: none; }

body[data-page] .site-nav.liquid-nav {
  background: linear-gradient(115deg,rgba(255,255,255,.94),rgba(241,247,255,.91) 65%,rgba(250,249,255,.94));
  border-color: rgba(255,255,255,.96);
  box-shadow: inset 0 1px 0 #fff,0 5px 24px rgba(38,66,107,.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-page] .site-nav.liquid-nav::before {
  background: linear-gradient(125deg,rgba(255,255,255,.8),rgba(164,204,245,.14),rgba(205,197,238,.1));
  filter: none;
}
.site-nav .nav-pills {
  background: rgba(228,237,248,.55);
  border-color: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 3px rgba(50,78,120,.03);
}
.site-nav .nav-pills a { color: var(--text-3); }
.site-nav .nav-pills a.active,
.site-nav .nav-pills a:hover { color: var(--text); }
.site-nav .nav-pills .nav-indicator {
  background: linear-gradient(135deg,#fff,#f5faff);
  box-shadow: inset 0 1px 0 #fff,0 3px 10px rgba(51,83,127,.08);
}
.site-nav .nav-pills .nav-indicator:not(.nav-ready){transition:none!important}
.site-nav .nav-pills .nav-indicator.nav-ready{transition:transform 260ms cubic-bezier(.2,.78,.2,1),width 260ms cubic-bezier(.2,.78,.2,1),opacity 130ms ease!important}
.site-nav .nav-pills .nav-indicator.nav-jump{visibility:hidden;opacity:0;transition:none!important}
.site-nav .logo-mark,
.site-nav .nav-cta {
  background: linear-gradient(135deg,#273c57,#172535);
  color: #fff;
}

body[data-page="home"] .hero-top::before {
  background: radial-gradient(ellipse at 68% 32%,rgba(145,196,243,.23),transparent 56%),
    radial-gradient(ellipse at 95% 68%,rgba(180,173,229,.12),transparent 42%);
  filter: none;
  opacity: 1;
}
body[data-page="home"] .hero-top::after {
  background: linear-gradient(108deg,transparent 16%,rgba(191,226,253,.1) 32%,rgba(255,255,255,.82) 44%,rgba(132,190,237,.23) 51%,rgba(196,184,233,.13) 59%,transparent 77%);
  filter: none;
  opacity: .62;
}
.hero-title, .page-title, .section-title { color: var(--text); }
.hero-slogan { color: var(--text-2); }
.hero-subtitle, .hero-location { color: var(--text-3); }
.eyebrow { color: var(--accent); }
body[data-page] .chamfer-btn {
  background: linear-gradient(125deg,#263c58,#182638);
  color: #fff;
  box-shadow: none;
}
body[data-page] .chamfer-btn--glass {
  background: linear-gradient(135deg,rgba(255,255,255,.96),rgba(231,240,253,.83));
  color: var(--text);
}
body[data-page] .center-screen {
  background: linear-gradient(145deg,#fcfdff,rgba(217,232,249,.88) 65%,rgba(229,225,247,.72));
  box-shadow: inset 0 1px 0 #fff,0 16px 44px rgba(45,75,124,.15);
}
body[data-page] .hero .video-zone::before {
  background: radial-gradient(ellipse,rgba(140,189,239,.19),transparent 70%);
  filter: none;
}

/* Let the existing artwork carry color; keep surrounding surfaces quiet. */
body[data-page] :is(.service-card,.software-card,.filter-chip) {
  background: rgba(255,255,255,.72);
  border-color: rgba(255,255,255,.94);
  box-shadow: inset 0 1px 0 #fff,0 7px 22px rgba(38,66,107,.055);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (hover:hover) and (pointer:fine){body[data-page] .service-card:hover {
  background: linear-gradient(135deg,rgba(242,248,255,.96),rgba(221,235,252,.76));
  border-color: rgba(118,159,218,.35);
}}
.service-icon { color: var(--accent); }
body[data-page] .filter-chip.active {
  background: #263c58;
  border-color: #263c58;
  color: #fff;
  box-shadow: 0 3px 10px rgba(38,60,88,.12);
}
body[data-page] .cta-card {
  background: radial-gradient(ellipse at 10% 10%,rgba(159,202,242,.2),transparent 55%),
    linear-gradient(125deg,rgba(255,255,255,.9),rgba(235,242,251,.9));
  border-color: rgba(255,255,255,.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 #fff,0 12px 38px rgba(38,66,107,.07);
}
body[data-page] .gallery-card {
  background: linear-gradient(145deg,#fff,#f2f6fc) !important;
  border-color: rgba(255,255,255,.96);
  box-shadow: inset 0 1px 0 #fff,0 7px 24px rgba(38,66,107,.075);
}
body[data-page] .video-card {
  background: linear-gradient(145deg,#fff,#f2f6fc);
  border-color: rgba(255,255,255,.96);
  box-shadow: 0 7px 24px rgba(38,66,107,.075);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-page] .mobile-work-card {
  background: #f5f9ff;
  box-shadow: 0 6px 18px rgba(40,78,128,.12);
}

body[data-page="home"] .category-timeline .cat-ico {
  background: radial-gradient(circle at 28% 20%,rgba(255,255,255,.92),transparent 20%),
    radial-gradient(circle at 72% 78%,rgba(127,190,243,.22),transparent 42%),
    linear-gradient(145deg,rgba(255,255,255,.53),rgba(219,235,252,.18) 58%,rgba(218,212,240,.22));
  box-shadow: 0 12px 28px rgba(57,89,139,.12),inset 2px 2px 4px rgba(255,255,255,.95),inset -4px -6px 13px rgba(118,176,228,.17);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-page="home"] .category-timeline .cat-ico-img {
  filter: drop-shadow(0 6px 9px rgba(45,75,121,.17));
}
body[data-page="home"] .category-timeline .cat-role-img {
  filter: drop-shadow(0 16px 24px rgba(45,64,94,.15));
}
body[data-page="home"] .category-timeline .cat-role-glow {
  opacity: .38;
  animation: none;
}
body[data-page="home"] .category-timeline .cat-fore { opacity: .2; }
body[data-page="home"] .category-timeline .cat-screen-scan { display: none; }
footer { border-top-color: rgba(62,88,128,.1); }

/* Feedback remains lightweight. Never override the spring controller's transform. */
a:focus-visible,button:focus-visible,[tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
@media (hover: hover) and (pointer: fine) {
  body[data-page] :is(.service-card,.video-card,.gallery-card):hover {
    border-color: rgba(153,186,228,.6);
    box-shadow: inset 0 1px 0 #fff,0 14px 34px rgba(38,66,107,.13);
  }
}
@media (max-width: 640px) {
  body[data-page]::before { opacity: .65; }
  body[data-page="home"] .hero-top::after { opacity: .28; }
  body[data-page] .hero-slogan { color: #354b67; }
  body[data-page="home"] .category-timeline .cat-ico {
    box-shadow: 0 7px 18px rgba(57,89,139,.1),inset 1px 1px 3px #fff,inset -3px -4px 9px rgba(118,176,228,.15);
  }
}
@media (prefers-reduced-transparency: reduce) {
  body[data-page] :is(.site-nav.liquid-nav,.service-card,.software-card,.cta-card,.filter-chip) { background: #f9fbfe; }
  body[data-page] .filter-chip.active { background: #263c58; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .category-timeline .cat-role-glow { animation: none; }
}

/* Seven floating objects balanced around the central workstation. Space for object + label,
   not just its image. Motion uses transform/opacity and pauses offscreen. */
body[data-page="home"] .category-timeline {
  background: none;
  isolation: isolate;
}
/* Fade only the light field into the shared page background, not the artwork. */
body[data-page="home"] .category-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 51% 38%,rgba(255,255,255,.94),transparent 37%),
    radial-gradient(ellipse at 14% 50%,rgba(191,219,248,.24),transparent 48%),
    radial-gradient(ellipse at 88% 30%,rgba(180,222,252,.28),transparent 45%),
    radial-gradient(ellipse at 52% 90%,rgba(230,236,251,.26),transparent 49%);
  -webkit-mask-image: linear-gradient(to bottom,transparent,#000 90px,#000 calc(100% - 180px),transparent);
  mask-image: linear-gradient(to bottom,transparent,#000 90px,#000 calc(100% - 180px),transparent);
}
body[data-page="home"] .category-timeline .cat-role::after { content: none; }
/* Desktop tools are placed in the gaps around the workstation below.
   Keep the compact mobile composition focused on the person and categories. */
body[data-page="home"] .category-timeline .cat-prop { display: none; }
body[data-page="home"] .category-timeline .cat-ring-svg { display: none; }
body[data-page="home"] .category-timeline .cat-role-glow {
  opacity: .9;
  background: radial-gradient(ellipse at 50% 42%,rgba(213,235,255,.5),transparent 63%);
}
@media (min-width: 1025px) {
  body[data-page="home"] .category-timeline .cat-stage {
    height: clamp(680px,calc(100dvh - 140px),760px);
  }
  body[data-page="home"] .category-timeline .cat-role {
    left: 29%;
    width: clamp(410px,36vw,520px);
  }
  body[data-page="home"] .category-timeline .cat-role-img {
    filter: brightness(1.07) contrast(1.01) saturate(1.04) drop-shadow(0 18px 26px rgba(77,105,145,.14));
  }
  body[data-page="home"] .category-timeline .cat-stage::before {
    left: 24%;
    top: 50%;
    width: 65%;
    height: 90%;
    background: radial-gradient(ellipse at 40% 35%,rgba(202,231,255,.35),transparent 61%),
      radial-gradient(ellipse at 70% 65%,rgba(235,229,251,.2),transparent 53%);
    filter: none;
    animation: studioLightDrift 7s ease-in-out infinite;
  }
  body[data-page="home"] .category-timeline .cat-grid { z-index: 4; }
  body[data-page="home"] .category-timeline .cat-item {
    width: var(--sz,96px);
    overflow: visible;
    opacity: 1;
    animation: studioCapabilityEmerge .95s cubic-bezier(.16,1,.3,1) both,
      studioObjectFloat var(--floatDur,6s) ease-in-out infinite;
    animation-delay: calc(var(--i,0) * .07s),calc(.95s + var(--i,0) * .07s);
  }
  body[data-page="home"] .category-timeline .cat-ico {
    animation: none;
    translate: none;
    rotate: none;
    background: radial-gradient(circle at 27% 18%,#fff,transparent 18%),
      linear-gradient(145deg,rgba(255,255,255,.72),rgba(191,220,249,.25) 52%,rgba(172,188,223,.34));
    box-shadow: 0 12px 24px rgba(87,124,170,.14),inset 2px 2px 5px #fff,inset -4px -6px 13px rgba(142,191,235,.2);
  }
  body[data-page="home"] .category-timeline .cat-ico-img {
    filter: contrast(1.1) saturate(1.16) drop-shadow(0 7px 10px rgba(45,75,121,.2));
  }
  body[data-page="home"] .category-timeline .cat-name {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    z-index: 5;
    margin: 0;
    padding: 3px 10px;
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 999px;
    background: rgba(247,251,255,.95);
    box-shadow: 0 3px 8px rgba(49,79,122,.06);
    color: #223d60;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
    text-shadow: none;
  }
  body[data-page="home"] .category-timeline .cat-ico::before {
    background: radial-gradient(ellipse at 29% 18%,#fff 0 6%,rgba(255,255,255,.3) 13%,transparent 34%);
    animation: studioWaterGlint 4.6s ease-in-out infinite;
    animation-delay: calc(var(--i,0) * -.7s);
  }
  body[data-page="home"] .category-timeline :is(.cat-connect,.cat-bands,.cat-orbit-dots,.cat-screen,.cat-core,.cat-sweep,.cat-fore,.cat-tool-links) { display: none; }
  body[data-page="home"] .category-timeline :is(.cat-connect,.cat-bands) { display: block; }
  body[data-page="home"] .category-timeline :is(.cat-rail,.cat-particles) { display: none; }
  body[data-page="home"] .category-timeline .cat-bands { opacity: .7; }
  body[data-page="home"] .category-timeline .cat-band {
    stroke: rgba(113,174,237,.8);
    stroke-width: 2;
    stroke-dasharray: 9 111;
    opacity: .8;
    animation: studioCapabilityPulse 4.5s linear infinite;
  }
  body[data-page="home"] .category-timeline .cat-band--halo {
    stroke: rgba(159,197,244,.22);
    stroke-width: 5;
    stroke-dasharray: none;
    animation: none;
  }
  body[data-page="home"] .category-timeline .cat-prop { display: none; }
  body[data-page="home"] .category-timeline :is(.cat-prop--camera,.cat-prop--clap,.cat-prop--swatch,.cat-prop--notebook,.cat-prop--drive,.cat-prop--lens,.cat-prop--stylus) {
    display: block;
    animation: studioToolFloat 7s ease-in-out infinite;
    animation-delay: var(--pdl,0s);
    --px: 126;
  }
  body[data-page="home"] .category-timeline .cat-prop--camera { --px: 112; --py: 30; --pw: 20; opacity: .96; }
  body[data-page="home"] .category-timeline .cat-prop--clap { --px: 114; --py: 57; --pw: 20; opacity: .93; }
  body[data-page="home"] .category-timeline .cat-prop--swatch { --px: 112; --py: 100; --pw: 19; opacity: .9; }
  body[data-page="home"] .category-timeline .cat-prop--notebook { --px: 62; --py: 0; --pw: 13; opacity: .75; }
  body[data-page="home"] .category-timeline .cat-prop--drive { --px: 126; --py: 44; --pw: 11; opacity: .85; }
  body[data-page="home"] .category-timeline .cat-prop--lens { --px: 108; --py: 84; --pw: 13; opacity: .9; }
  body[data-page="home"] .category-timeline .cat-prop--stylus { --px: 86; --py: 103; --pw: 18; opacity: .9; }
  body[data-page="home"] .category-timeline .cat-prop img { filter: drop-shadow(0 10px 15px rgba(61,93,142,.18)); }
  body[data-page="home"] .category-timeline:not(.cat-live) .cat-item,
  body[data-page="home"] .category-timeline:not(.cat-live) .cat-stage::before { animation-play-state: paused; }
  body.zoom-motion-running .category-timeline .cat-item,
  body.zoom-motion-running .category-timeline .cat-stage::before { animation-play-state: paused; }

  /* Light ribbons sit behind the scene; no moving blur or full-screen filter. */
  body[data-page="home"] .category-timeline .cat-fx { z-index: 0; }
  body[data-page="home"] .category-timeline .cat-fx::before,
  body[data-page="home"] .category-timeline .cat-fx::after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: 6%;
    top: 55%;
    width: 86%;
    height: 12%;
    border-radius: 50%;
    border-top: 1px solid rgba(255,255,255,.8);
    border-bottom: 2px solid rgba(151,204,252,.5);
    background: linear-gradient(175deg,transparent 48%,rgba(185,218,249,.13) 62%,rgba(255,255,255,.48) 86%,rgba(155,205,246,.2));
    box-shadow: 0 8px 20px rgba(133,189,243,.11),inset 0 -4px 12px rgba(255,255,255,.6);
    animation: studioRibbonFlow 8s ease-in-out infinite;
  }
  body[data-page="home"] .category-timeline .cat-fx::after {
    content: none;
  }
  body[data-page="home"] .category-timeline:not(.cat-live) .cat-fx::before,
  body[data-page="home"] .category-timeline:not(.cat-live) .cat-fx::after,
  body.zoom-motion-running .category-timeline .cat-fx::before,
  body.zoom-motion-running .category-timeline .cat-fx::after { animation-play-state: paused; }
}
@keyframes studioCapabilityEmerge {
  from { opacity: 0; translate: calc(-50% + var(--ox,0px)) var(--oy,0px); scale: .18; }
  65% { opacity: .9; }
  to { opacity: 1; translate: -50% 0; scale: 1; }
}
@keyframes studioCapabilityPulse {
  0% { stroke-dashoffset: 9; opacity: 0; }
  15%,80% { opacity: .8; }
  100% { stroke-dashoffset: -120; opacity: 0; }
}
@keyframes studioRibbonFlow {
  0%,100% { transform: translate3d(-10px,8px,0) rotate(-17deg); opacity: .45; }
  50% { transform: translate3d(12px,-10px,0) rotate(-12deg); opacity: .9; }
}
@keyframes studioObjectFloat {
  0%,100% { transform: translate3d(0,4px,0); }
  50% { transform: translate3d(0,-5px,0); }
}
@keyframes studioToolFloat {
  0%,100% { transform: translate3d(0,8px,0) rotate(-2deg); }
  50% { transform: translate3d(0,-8px,0) rotate(2deg); }
}
@keyframes studioWaterGlint {
  0%,100% { opacity: .55; transform: translate3d(0,0,0); }
  50% { opacity: 1; transform: translate3d(5px,3px,0); }
}
@keyframes studioLightDrift {
  0%,100% { opacity: .5; transform: translate3d(-15px,-50%,0) scale(.97); }
  50% { opacity: 1; transform: translate3d(15px,-48%,0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .category-timeline .cat-item,
  body[data-page="home"] .category-timeline .cat-stage::before,
  body[data-page="home"] .category-timeline .cat-fx::before,
  body[data-page="home"] .category-timeline .cat-fx::after,
  body[data-page="home"] .category-timeline .cat-ico::before,
  body[data-page="home"] .category-timeline .cat-prop,
  body[data-page="home"] .category-timeline .cat-band { animation: none; }
}
/* Contact card: keep the QR itself flat and high contrast; depth stays on its frame. */
.contact-modal { padding: 104px 20px 20px; }
.contact-modal-backdrop {
  background: rgba(230, 237, 248, .48);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body[data-page] .contact-modal-card {
  box-sizing: border-box;
  width: min(384px, 100%);
  max-height: calc(100dvh - 124px);
  overflow-y: auto;
  padding: 21px 23px 19px;
  gap: 0;
  align-items: stretch;
  text-align: left;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 28px;
  background: linear-gradient(150deg,rgba(255,255,255,.97),rgba(237,245,253,.95) 63%,rgba(231,239,251,.96));
  box-shadow: 0 26px 70px rgba(40,68,113,.19),0 6px 16px rgba(67,105,160,.11),inset 0 2px 2px #fff,inset 0 -1px 2px rgba(116,156,204,.2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body[data-page] .contact-modal-card::after { background: none; border: 1px solid rgba(255,255,255,.8); inset: 5px; border-radius: 23px; }
.contact-card-heading { display: flex; align-items: center; gap: 11px; min-height: 50px; padding-right: 34px; }
.contact-brand-mark { position: relative; display: block; flex: 0 0 40px; width: 40px; height: 46px; overflow: hidden; border-radius: 11px; background: #fff; box-shadow: 0 5px 14px rgba(47,78,116,.1),inset 0 1px 0 #fff; }
.contact-brand-mark img { position: absolute; display: block; width: 98px; height: 98px; max-width: none; left: -30px; top: -14px; }
.contact-card-kicker { display: block; margin-bottom: 2px; color: #6280a1; font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.contact-modal-label { color: #1b2b3e; font-family: "Songti SC","Noto Serif CJK SC",SimSun,serif; font-size: 22px; font-weight: 600; letter-spacing: .04em; line-height: 1.25; }
.contact-card-intro { margin: 8px 0 11px; color: #60758f; font-size: 12px; line-height: 1.5; }
.contact-qr-frame { box-sizing: border-box; width: 100%; padding: 13px 13px 10px; border: 1px solid rgba(255,255,255,.95); border-radius: 21px; background: linear-gradient(145deg,#f6fbff,#e4effb 58%,#ecf1fc); box-shadow: 0 10px 23px rgba(64,102,146,.13),inset 0 2px 2px #fff,inset 0 -2px 5px rgba(108,151,205,.13); text-align: center; }
.contact-qr-surface { position: relative; box-sizing: border-box; width: 208px; height: 208px; max-width: 100%; margin: 0 auto; overflow: hidden; border: 6px solid #fff; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(166,192,216,.35),0 7px 16px rgba(49,82,116,.13),inset 0 0 0 1px #fff; }
.contact-qr { position: absolute; display: block; width: 270px; height: 270px; max-width: none; left: 50%; top: 50%; transform: translate(-50%,-50%); image-rendering: auto; }
.contact-qr-frame p { margin: 8px 0 0; color: #4d6682; font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.contact-email-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 11px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.9); border-radius: 15px; background: linear-gradient(130deg,rgba(255,255,255,.8),rgba(229,239,251,.72)); box-shadow: inset 0 1px 1px #fff,0 5px 12px rgba(55,87,128,.06); }
.contact-email-panel > span { color: #758ca5; font-size: 11px; letter-spacing: .08em; }
.contact-email { color: #213a55; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.contact-modal-note { color: #758ca5; font-size: 11px; line-height: 1.4; }
.contact-resume-link { align-self: flex-end; margin-top: 11px; color: #496d99; font-size: 11px; text-decoration: none; }
.contact-resume-link:hover { text-decoration: underline; }
.contact-resume-link[hidden] { display: none !important; }
@media(max-width:480px) {
  .contact-modal { padding: 80px 12px 12px; }
  body[data-page] .contact-modal-card { max-height: calc(100dvh - 92px); padding: 19px 18px 17px; border-radius: 24px; }
  .contact-qr-frame { padding: 12px 11px 10px; }
  .contact-qr-surface { width: 200px; height: 200px; border-width: 6px; }
  .contact-qr { width: 260px; height: 260px; }
  .contact-email { font-size: 15px; }
}
