/* The glass hero (9 Nov 2026, look C from hero-lab/glass). Home page only; glass.js draws the shape. */

/* the frame (page colour outside the glass) and the glass itself, both on the sticky hero stage */
.gx-frame, .gx-glass { position: absolute; inset: 0; pointer-events: none; }
.gx-glass { z-index: 2; }
.gx-frame { z-index: 3; }
.gx-ink { fill: var(--ink-0); }
.gx-glass > i { position: absolute; inset: 0; }
.gx-tint { background: linear-gradient(160deg, oklch(0.3 0.04 358 / .16), oklch(0.2 0.02 300 / .06) 60%, oklch(0.6 0.244 358.6 / .07)); }
/* frosted edges: clear in the middle, bending the light near the rim */
.gx-frost { -webkit-backdrop-filter: blur(16px) saturate(1.5) brightness(1.1); backdrop-filter: blur(16px) saturate(1.5) brightness(1.1);
  -webkit-mask: radial-gradient(120% 115% at 50% 46%, transparent 64%, #000 98%); mask: radial-gradient(120% 115% at 50% 46%, transparent 64%, #000 98%); }
.gx-sheen { background: linear-gradient(115deg, oklch(1 0 0 / .11), oklch(1 0 0 / 0) 26%, oklch(1 0 0 / 0) 58%, oklch(1 0 0 / .035) 74%, oklch(1 0 0 / 0) 86%); }
.gx-spec { background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), oklch(1 0 0 / .075), transparent 62%); }
.gx-grain { opacity: .035;   /* 9 Nov: no blend mode (it re-blended the whole hero every frame while scrolling); half the opacity reads the same */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* the hero buttons sit lower, in their notch, in the same HUD style as the menu button */
.hero-intro { padding-bottom: 34px; }
@property --gx-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.hero-foot .btn { position: relative; isolation: isolate; gap: 14px; background: oklch(0.165 0.008 358); border-radius: 12px;
  font: 400 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.hero-foot .btn::before { content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: 13.5px; padding: 1.5px;
  background: conic-gradient(from var(--gx-ang), oklch(0.6 0.244 358.6), oklch(0.6 0.244 358.6 / .1) 30%, oklch(1 0 0 / .5) 50%, oklch(0.6 0.244 358.6 / .1) 70%, oklch(0.6 0.244 358.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: gx-spin 4s linear infinite; }
.hero-foot .btn::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .4s var(--ease); }
.hero-foot .btn:hover { background: oklch(0.6 0.244 358.6 / .16); }
.hero-foot .btn:hover::after { transform: translateX(3px) rotate(45deg); }
@keyframes gx-spin { to { --gx-ang: 360deg; } }
@media (prefers-reduced-motion: reduce) { .hero-foot .btn::before { animation: none; } }
