/* Original mascot and restrained physical depth. Application controls stay flat. */
.home-page .home-hero {
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(2rem, 4vw, 4.2rem);
  padding-block: clamp(3rem,5vw,5rem);
}
.hero-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding: 0 38px 28px 0;
  background: radial-gradient(ellipse 50% 40% at 50% 40%, #34568080, transparent 100%);
}
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 82%;
  height: 56%;
  top: 5%;
  right: 0;
  border: 1px solid #7f9aca48;
  border-radius: 50%;
  transform: rotate(-24deg);
  pointer-events: none;
}
.hero-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 2% 0 1%;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #010713b3, transparent 68%);
  pointer-events: none;
}
.hero-stage .hero-art {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  border-radius: 20px;
  border: 1px solid #8da6cc5c;
  background: linear-gradient(135deg, #21324bf5, #111c30f5);
  box-shadow: inset 0 1px 0 #d6e8ff29, 0 18px 45px #02071166;
}
.hero-stage .hero-demo { padding: 1.15rem 1.15rem 0; }
.hero-stage .hero-demo-header { padding-bottom: .9rem; }
.hero-stage .hero-demo-header img { width: 46px; }
.hero-stage .hero-demo-header h2 { font-size: 1.95rem; }
.hero-stage .hero-demo-body { border-radius: 12px; padding: 1rem; }
.hero-stage .hero-art figcaption { padding: .65rem 1.2rem; }
.hero-mascot {
  position: absolute;
  width: 358px;
  max-width: 64%;
  height: auto;
  right: 0;
  top: 2px;
  pointer-events: none;
  filter: drop-shadow(-12px 20px 24px #03081766);
}
.depth-icon {
  display: inline-grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid #9bb9ff55;
  border-radius: 14px;
  color: #d9e5ff;
  background: linear-gradient(145deg, #344c77, #1b2b45);
  box-shadow: inset 0 1px 1px #ffffff40, 0 4px 0 #101b31, 0 8px 15px #050a1640;
}
.depth-icon::before { content: ""; position: absolute; inset: 4px; border: 1px solid #ffffff1a; border-radius: 11px; pointer-events: none; }
.depth-icon svg { display: block; width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.home-services .service-list a { display: grid; grid-template-columns: 52px minmax(0,1fr) 20px; gap: 1.15rem; padding-block: 1.35rem; }
.home-services .service-list a > .depth-icon { color: #d9e5ff; }
.home-product .product-photo { position: relative; }
.home-product { box-shadow: 0 10px 24px #0c21400d; }
.home-depth-industry { box-shadow: 0 12px 28px #050a1630; }
.milestone-mark { display: flex; align-items: center; gap: .8rem; margin-block: .4rem 1.45rem; }
.milestone-mark .depth-icon { box-shadow: inset 0 2px 2px #ffffff45, inset -2px -3px 4px #08162c88, 0 6px 0 #bdcae2, 0 10px 16px #1423411a; }
.milestone-mark .home-depth-stage { margin: 0; color: var(--gm-muted-light); background: transparent; font-size: .86rem; width: auto; }
[data-depth-card] { position: relative; }
[data-depth-card]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--depth-glow-x,50%) var(--depth-glow-y,50%), #b6ccff21, transparent 70%);
  pointer-events: none;
  opacity: 0;
}
@media (hover:hover) and (pointer:fine) and (min-width:781px) and (prefers-reduced-motion:no-preference) {
  [data-depth-card] { transform: perspective(1400px) rotateX(var(--depth-x,0deg)) rotateY(var(--depth-y,0deg)); transition: transform .18s ease-out, box-shadow .18s ease-out; }
  [data-depth-card][data-depth-active] { box-shadow: 0 18px 32px #0b163c26; }
  [data-depth-card][data-depth-active]::after { opacity: 1; }
  .service-list a .depth-icon { transition: transform .18s ease-out; }
  .service-list a:hover .depth-icon { transform: translateY(-3px) rotate(-5deg); }
}
@media (max-width:780px) {
  .home-page .home-hero { grid-template-columns: minmax(0,1fr); padding-block: 2.5rem 3rem; gap: 1.2rem; }
  .hero-stage { display: block; min-height: 0; padding: 136px 0 14px; width: 100%; max-width: 540px; margin-inline: auto; }
  .hero-mascot { width: 210px; max-width: 72%; top: 0; right: 4%; }
  .hero-stage::before { width: 75%; height: 190px; top: 2%; right: 10%; }
  .hero-stage .hero-demo { padding: .8rem .8rem 0; }
  .hero-stage .hero-demo-body { padding: .75rem; }
  .hero-stage .hero-demo-header { gap: .5rem; }
  .hero-stage .hero-demo-header h2 { font-size: 1.75rem; }
  .hero-stage .hero-demo-header img { width: 40px; }
  .hero-stage .hero-art figcaption { padding-inline: .85rem; font-size: .75rem; }
  .home-services .service-list a { grid-template-columns: 44px minmax(0,1fr) 14px; gap: .85rem; }
  .service-list .depth-icon { width: 44px; height: 44px; border-radius: 12px; }
  .service-list .depth-icon svg { width: 23px; height: 23px; }
}
@media (min-width:781px) and (max-width:1100px) {
  .hero-stage { min-height: 620px; padding-right: 0; }
  .hero-stage::before { width: 72%; height: 50%; right: 5%; }
  .hero-mascot { max-width: 78%; }
  .hero-stage .hero-demo { padding: .85rem .85rem 0; }
  .hero-stage .hero-demo-body { padding: .75rem; }
  .hero-stage .hero-demo-header { grid-template-columns: 1fr auto; }
  .hero-stage .hero-demo-header img { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  [data-depth-card] { transform: none; transition: none; }
  [data-depth-card]::after { display: none; }
  .service-list .depth-icon { transform: none; transition: none; }
}
