/* Shared landing optical accent: a chromatic light accent over the original
   glass silhouette. Each optical lobe is independent; no cumulative
   drop-shadow passes, opaque neon replacement, or new tile backdrop. */
body.public-home:not([data-studio-preview="project-example"]) .cta6-tile--icon img.cta6-icon,
body.public-home:not([data-studio-preview="project-example"]) .cta6-tile--icon .studio-icon-glow,
body.public-home:not([data-studio-preview="project-example"]) .cta6-tile--icon .studio-square-glow{grid-area:1/1}
body.public-home:not([data-studio-preview="project-example"]) .studio-icon-glow{
  position:relative;z-index:3;place-self:center;display:block;width:49%;height:49%;
  pointer-events:none;user-select:none;
  /* The tile supplies its own two-lobe, non-linear field. */
  opacity:calc(var(--studio-icon-glow,0) * var(--public-icon-spatial-alpha,1));
}
body.public-home:not([data-studio-preview="project-example"]) .studio-icon-glow>span{
  position:absolute;inset:0;display:block;pointer-events:none
}
body.public-home:not([data-studio-preview="project-example"]) .studio-icon-glow-mask{
  display:block;width:100%;height:100%;
  mask:var(--studio-icon-mask) center / contain no-repeat;
  -webkit-mask:var(--studio-icon-mask) center / contain no-repeat;
}
body.public-home:not([data-studio-preview="project-example"]) .studio-icon-glow-spill{
  filter:blur(calc(5.4 * var(--studio-glow-unit,1px)));
  opacity:calc(.44 + .30 * var(--studio-glow-inner,0));
}
body.public-home:not([data-studio-preview="project-example"]) .studio-icon-glow-rim{
  filter:blur(calc(1.55 * var(--studio-glow-unit,1px)));
  opacity:calc(.55 + .28 * var(--studio-glow-inner,0));
}
body.public-home:not([data-studio-preview="project-example"]) :is(.studio-icon-glow-spill,.studio-icon-glow-rim)>.studio-icon-glow-mask{
  background:var(--studio-glow-gradient,transparent);
}
body.public-home:not([data-studio-preview="project-example"]) .studio-icon-glow-shape{
  /* Preserve transmitted scene detail through a crisp colored face. */
  background:var(--studio-glow-gradient,transparent);
  opacity:calc(.64 + .24 * var(--studio-glow-inner,0));
}
body.public-home:not([data-studio-preview="project-example"]) .studio-icon-glow-specular{
  /* A small moving reflected light, not a solid white icon or tile tint. */
  background:radial-gradient(ellipse 58% 52% at var(--studio-glow-x,50%) var(--studio-glow-y,50%),
    color-mix(in srgb,var(--studio-icon-color,#fff) 30%,white) 0%,
    color-mix(in srgb,var(--studio-icon-color-secondary,#fff) 65%,white) 37%,transparent 82%);
  opacity:calc(.20 + .42 * var(--studio-glow-inner,0));
}

/* Clipped, translucent illumination over the actual glass material.
   The underlying refraction remains visible; no replacement background. */
body.public-home:not([data-studio-preview="project-example"]) .studio-square-glow{
  position:relative;z-index:1;display:block;place-self:stretch;
  width:100%;height:100%;min-width:0;min-height:0;border-radius:inherit;
  overflow:hidden;pointer-events:none;user-select:none;
  opacity:calc(var(--studio-icon-glow,0) * var(--public-icon-spatial-alpha,1));
}
body.public-home:not([data-studio-preview="project-example"]) .studio-square-glow>span{
  position:absolute;inset:0;display:block;border-radius:inherit;pointer-events:none
}
body.public-home:not([data-studio-preview="project-example"]) .studio-square-glow-transmission{
  background:var(--studio-glow-gradient,transparent);
  mask-image:radial-gradient(ellipse 57% 57% at 50% 50%,#000 0%,#000b 24%,#0004 60%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 57% 57% at 50% 50%,#000 0%,#000b 24%,#0004 60%,transparent 100%);
  opacity:calc(.19 + .15 * var(--studio-glow-inner,0));
}
body.public-home:not([data-studio-preview="project-example"]) .studio-square-glow-scatter{
  background:
    radial-gradient(ellipse 52% 47% at var(--studio-square-light-x,50%) var(--studio-square-light-y,50%),
      color-mix(in oklch,var(--studio-icon-color,#fff) 48%,transparent) 0%,
      color-mix(in oklch,var(--studio-icon-color-secondary,#fff) 20%,transparent) 36%,transparent 100%),
    radial-gradient(ellipse 63% 50% at 50% 50%,
      color-mix(in srgb,var(--studio-icon-color-secondary,#fff) 25%,transparent) 0%,transparent 100%);
  opacity:calc(.33 + .23 * var(--studio-glow-inner,0));
}
body.public-home:not([data-studio-preview="project-example"]) .studio-square-glow-reflection{
  box-shadow:
    inset 0 calc(.9 * var(--studio-glow-unit,1px)) calc(2.5 * var(--studio-glow-unit,1px))
      color-mix(in srgb,var(--studio-icon-color,#fff) 68%,white),
    inset 0 calc(-.8 * var(--studio-glow-unit,1px)) calc(3.4 * var(--studio-glow-unit,1px))
      var(--studio-icon-color-secondary,#fff),
    inset 0 0 calc(8.5 * var(--studio-glow-unit,1px))
      color-mix(in srgb,var(--studio-icon-color-secondary,#fff) 27%,transparent);
  mask-image:radial-gradient(ellipse 105% 88% at var(--studio-square-light-x,50%) var(--studio-square-light-y,50%),#000 0%,#000b 45%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 105% 88% at var(--studio-square-light-x,50%) var(--studio-square-light-y,50%),#000 0%,#000b 45%,transparent 100%);
  opacity:calc(.24 + .24 * var(--studio-glow-inner,0));
}

/* Preserve pinch zoom while enabling direct illumination on the landing scene. */
body.public-home:not([data-studio-preview="project-example"]) .dashboard-home{touch-action:pinch-zoom}
/* A long, continuous optical afterglow when a finger lifts or a pointer
   leaves a tile. Re-entry removes the transition so input remains direct. */
body.public-home:not([data-studio-preview="project-example"]) .studio-icon-glow[data-glow-release],
body.public-home:not([data-studio-preview="project-example"]) .studio-square-glow[data-glow-release]{
  transition:opacity 1500ms cubic-bezier(.25,.1,.3,1)
}
@media(prefers-reduced-motion:reduce){
  body.public-home:not([data-studio-preview="project-example"]) .studio-icon-glow[data-glow-release],
  body.public-home:not([data-studio-preview="project-example"]) .studio-square-glow[data-glow-release]{transition:none}
}

/* A native semantic link tracks the exact rounded 60% bright core. The
   geometry is derived from the tile's border box; no layout or optics change. */
body.public-home:not([data-studio-preview]) .public-home-project-link{
  position:absolute;z-index:4;display:block;pointer-events:auto;
  inset:calc(20% - .6px);border-radius:10.2px;cursor:pointer;
  background:transparent;outline:none;-webkit-tap-highlight-color:transparent;
  -webkit-user-drag:none;user-select:none;touch-action:pinch-zoom;
}
body.public-home:not([data-studio-preview]) .public-home-project-link:focus-visible{
  outline:1px solid rgba(255,255,255,.85);outline-offset:2px
}
body.public-home[data-public-route="leaving"] .public-home-project-link,
body.public-home:has(> #public-route-content:not([hidden])) .public-home-project-link,
body.public-home:not([data-gpu-scene="ready"]) #cta6-mosaic[data-glass-startup="pending"] .public-home-project-link{
  pointer-events:none;visibility:hidden
}


/* Studio lighting study: separate a neutral luminous source from its
   chromatic bloom. Screen compositing adds light rather than replacing
   the rendered glass with colored pigment. The original two nonlinear
   fields are retained as the chromatic penumbra. */
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow{mix-blend-mode:screen}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-spill{
  filter:blur(calc(6.8 * var(--studio-glow-unit,1px)));
  opacity:calc((.68 + .24 * var(--studio-glow-inner,0)) * var(--studio-glow-diffusion,0));
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-rim{
  filter:blur(calc(2.15 * var(--studio-glow-unit,1px)));
  opacity:calc((.72 + .20 * var(--studio-glow-inner,0)) * var(--studio-glow-diffusion,0));
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-shape{
  opacity:calc((.24 + .20 * var(--studio-glow-inner,0)) * var(--studio-glow-diffusion,0));
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-white-bloom{
  background:#fff;
  filter:blur(calc(.95 * var(--studio-glow-unit,1px)));
  opacity:calc((.48 + .30 * var(--studio-glow-inner,0)) * var(--studio-glow-diffusion,0));
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-white-core{
  /* A white emitting contour even at low power, with a concentrated
     neutral peak and a graduated shoulder. Exact SVG mask throughout. */
  background:radial-gradient(ellipse var(--studio-focus-core-x,90%) var(--studio-focus-core-y,85%) at var(--studio-glow-x,50%) var(--studio-glow-y,50%),
    #fff 0%,#fff 24%,rgba(255,255,255,.87) 49%,rgba(255,255,255,.52) 82%,rgba(255,255,255,.35) 100%);
  opacity:calc((.82 + .18 * var(--studio-glow-inner,0)) * var(--studio-glow-diffusion,0));
  mix-blend-mode:screen;
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-specular{
  background:radial-gradient(ellipse var(--studio-focus-spec-x,44%) var(--studio-focus-spec-y,39%) at var(--studio-glow-x,50%) var(--studio-glow-y,50%),
    #fff 0%,rgba(255,255,255,.96) 25%,rgba(255,255,255,.30) 62%,transparent 100%);
  opacity:calc((.24 + .66 * var(--studio-glow-inner,0)) * var(--studio-glow-diffusion,0));
  mix-blend-mode:screen;
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-square-glow{
  /* Low-power illumination should read as a local source, not a broad
     tile tint. Squaring the incident power strongly attenuates spill. */
  mix-blend-mode:screen;
  opacity:calc(var(--studio-icon-glow,0) * var(--studio-icon-glow,0) * var(--public-icon-spatial-alpha,1));
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-square-glow-transmission{
  opacity:calc(.055 + .11 * var(--studio-glow-inner,0));
  mask-image:radial-gradient(ellipse 48% 48% at 50% 50%,#000 0%,#0009 28%,#0003 55%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 48% 48% at 50% 50%,#000 0%,#0009 28%,#0003 55%,transparent 100%);
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-square-glow-scatter{
  background:
    radial-gradient(ellipse 36% 34% at 50% 50%,rgba(255,255,255,.26) 0%,rgba(255,255,255,.07) 36%,transparent 100%),
    radial-gradient(ellipse var(--studio-focus-scatter-x,48%) var(--studio-focus-scatter-y,43%) at var(--studio-square-light-x,50%) var(--studio-square-light-y,50%),
      color-mix(in srgb,var(--studio-icon-color,#fff) 32%,transparent) 0%,transparent 100%),
    radial-gradient(ellipse 53% 42% at 50% 50%,
      color-mix(in srgb,var(--studio-icon-color-secondary,#fff) 21%,transparent) 0%,transparent 100%);
  opacity:calc(.22 + .20 * var(--studio-glow-inner,0));
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-square-glow-reflection{
  box-shadow:
    inset 0 calc(.75 * var(--studio-glow-unit,1px)) calc(1.6 * var(--studio-glow-unit,1px)) rgba(255,255,255,.80),
    inset 0 calc(-.8 * var(--studio-glow-unit,1px)) calc(3.4 * var(--studio-glow-unit,1px)) var(--studio-icon-color-secondary,#fff),
    inset 0 0 calc(7 * var(--studio-glow-unit,1px)) color-mix(in srgb,var(--studio-icon-color,#fff) 20%,transparent);
  opacity:calc(.14 + .29 * var(--studio-glow-inner,0));
}

/* An independently drawn emitter, seated along the original stroke
   centerlines. The thin wire is resolved as vector geometry at any
   viewport scale, not as a shrunken icon or an eroded raster outline. */
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-filament-mask{
  position:absolute;inset:0;display:block;
  mask:var(--studio-filament-mask) center / contain no-repeat;
  -webkit-mask:var(--studio-filament-mask) center / contain no-repeat;
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-filament-halo{
  filter:blur(calc(1.15 * var(--studio-glow-unit,1px)));
  opacity:calc(.8 * (1 - var(--studio-glow-diffusion,0)));
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) :is(.studio-icon-glow-filament-halo,.studio-icon-glow-filament-color)>.studio-icon-filament-mask{
  background:var(--studio-glow-gradient,transparent);
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-filament-color{
  opacity:calc(1 - var(--studio-glow-diffusion,0));
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-filament-hotspot{
  opacity:calc(.9 * (1 - var(--studio-glow-diffusion,0)));
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-filament-hotspot>.studio-icon-filament-mask{
  background:radial-gradient(ellipse var(--studio-focus-hotspot-x,65%) var(--studio-focus-hotspot-y,60%) at var(--studio-glow-x,50%) var(--studio-glow-y,50%),
    #fff 0%,#fff 20%,rgba(255,255,255,.65) 48%,rgba(255,255,255,.14) 100%);
}
/* The real site's transparent shortcut cannot be faithfully lifted out
   of its WebGPU scene by iOS. Keep press lighting in the original scene.
   Do not affect unrelated anchors, sidebar links or project page links. */
body.public-home .cta6-tile--icon,
body.public-home .cta6-tile--icon img.cta6-icon,
body.public-home .public-home-project-link{
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  user-select:none;
}

/* Both landing pages use one elapsed-time intensity controller; do not
   compound linear decay with the legacy release-only CSS easing. */
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow,
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-square-glow{transition:none}

/* Localize emission on the real SVG centerlines and glass silhouette.
   Mask the light before convolution, preserving the out-of-shape bloom.
   At full power the focal field is uniformly opaque, and all coordinates
   and radii are canonical, independent of the last input position. */
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-glow-mask,
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-filament-mask{
  --studio-source-mask:var(--studio-icon-mask);
  -webkit-mask-image:var(--studio-source-mask),var(--studio-focus-field,radial-gradient(#000,#000));
  mask-image:var(--studio-source-mask),var(--studio-focus-field,radial-gradient(#000,#000));
  -webkit-mask-size:contain,100% 100%;mask-size:contain,100% 100%;
  -webkit-mask-position:center,center;mask-position:center,center;
  -webkit-mask-repeat:no-repeat,no-repeat;mask-repeat:no-repeat,no-repeat;
  -webkit-mask-composite:source-in;mask-composite:intersect;
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-icon-filament-mask{
  --studio-source-mask:var(--studio-filament-mask);
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .studio-square-glow-reflection{
  -webkit-mask-image:radial-gradient(ellipse var(--studio-focus-reflection-x,105%) var(--studio-focus-reflection-y,88%) at var(--studio-square-light-x,50%) var(--studio-square-light-y,50%),#000 0%,#000b 45%,transparent 100%);
  mask-image:radial-gradient(ellipse var(--studio-focus-reflection-x,105%) var(--studio-focus-reflection-y,88%) at var(--studio-square-light-x,50%) var(--studio-square-light-y,50%),#000 0%,#000b 45%,transparent 100%);
}

/* Shared landing material-space emission history replaces the independently
   animated opacity masks. Keep the old layers as a geometry/debug
   reference, never as a second visible emitter. The actual original
   WebGPU glass and its backdrop remain untouched. */
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .cta6-tile--icon .studio-icon-glow,
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .cta6-tile--icon .studio-square-glow{
  /* The legacy reference layers never contribute to Studio pixels.
     Remove their layout/paint work, retaining computed optical metadata. */
  display:none;visibility:hidden
}
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .cta6-tile--icon .studio-surface-light{
  grid-area:1/1;position:relative;z-index:3;place-self:center;
  display:block;width:130%;height:130%;min-width:0;min-height:0;
  pointer-events:none;user-select:none;mix-blend-mode:screen;
  opacity:var(--public-icon-spatial-alpha,1);transition:none;
}

/* A fully dark light contributes no pixels. Explicit tile grid tracks
   keep geometry unchanged when this transparent canvas is not laid out.
   Restore the original screen-blended geometry on the first lit frame. */
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"]) .cta6-tile--icon .studio-surface-light:not([data-surface-lit]){display:none}

/* The public landing GPU owns the same authored emission below the refracting logo.
   Visibility preserves the source canvas's geometry and pixels. The DOM
   fallback is still visible if the real swapchain is unavailable. */
body.public-home:is(:not([data-studio-preview]),[data-studio-preview="landing-page"])[data-gpu-scene="ready"] .studio-surface-light[data-studio-gpu-emission]{visibility:hidden}
