/* The live hero, shot at dawn instead of at night. The art (terrain, film and tiles) is the hero's own,
   relit in vibe/light/. This file sets the ground and ink, puts a backdrop blur behind each tile in its own
   silhouette, lights the nav and the second button, adds one breathing haze, grain, and the join to Services.
   Nothing else is drawn. */

/* 1. Ground and ink, inside the hero only */
html.hero-light .hero{--bg-a:#f3eee6;--bg-a-0:rgba(243,238,230,0);--ink:#191714;--ink-hi:#000;--ink-2:#4a443c;--quiet:#7a7268;background:#f3eee6;color:var(--ink)}
html.hero-light .hero-scroll{color:var(--ink)}
html.hero-light .hero-scroll::after{background:var(--ink)}

/* 3. Tiles: the relit render stays; behind it the terrain goes soft in the tile's own shape */
html.hero-light .hero-tile::before{content:"";position:absolute;inset:0;pointer-events:none;
  -webkit-backdrop-filter:blur(9px) saturate(1.25);backdrop-filter:blur(9px) saturate(1.25);
  -webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-image:var(--mask);mask-image:var(--mask)}
html.hero-light .hero-tile img{position:relative;z-index:1;filter:drop-shadow(0 14px 22px rgba(170,80,20,.22))}
html.hero-light .hero-tile[data-k=google]{--mask:url(/vibe/light/mask-google.png)}
html.hero-light .hero-tile[data-k=openai]{--mask:url(/vibe/light/mask-openai.png)}
html.hero-light .hero-tile[data-k=bing]{--mask:url(/vibe/light/mask-bing.png)}
html.hero-light .hero-tile[data-k=gemini]{--mask:url(/vibe/light/mask-gemini.png)}
html.hero-light .hero-tile[data-k=claude]{--mask:url(/vibe/light/mask-claude.png)}
html.hero-light .hero-tile[data-k=perplexity]{--mask:url(/vibe/light/mask-perplexity.png)}
html.hero-light .hero-tile[data-k=search]{--mask:url(/vibe/light/mask-search.png)}
html.hero-light .hero-tile[data-k=nodes]{--mask:url(/vibe/light/mask-nodes.png)}

/* 2 and 6. Shade: a very soft cream lift behind the words, grain, and the fade into Services (--vibe-p, set by light.js) */
html.hero-light .hero-shade{background:radial-gradient(46% 30% at 50% 36%,rgba(243,238,230,.55),rgba(243,238,230,0) 100%)}
html.hero-light .hero-shade::after{content:"";position:absolute;inset:0;opacity:.6;mix-blend-mode:overlay;pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
html.hero-light .hero-shade::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:var(--vibe-p,0);
  background:linear-gradient(180deg,rgba(242,241,237,0) 62%,#f2f1ed 82%)}

/* 5. One added motion: the warm light breathes (the plate's light sits 56% across, 60% down) */
html.hero-light .hero-media::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 34% 30% at 56% 60%,rgba(255,176,96,.42) 0%,rgba(255,176,96,.16) 55%,rgba(255,176,96,0) 100%);
  animation:lh-breathe 11s ease-in-out infinite}
@keyframes lh-breathe{0%,100%{opacity:.55}50%{opacity:1}}
html.hero-light.vibe-ready:not(.vibe-top) .hero-media::after{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){html.hero-light .hero-media::after{animation:none;opacity:.8}}

/* 4. The second button and the nav pills over the hero: light glass with blur and ink text */
html.hero-light .hero .frame{--c:rgba(25,23,20,.5);color:var(--ink);background-color:rgba(255,255,255,.34);
  -webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
html.hero-light .hero .frame:hover{background-color:rgba(255,255,255,.55);color:var(--ink)}
html.hero-light .hero .book:hover{background:#000;color:#f3eee6}
html.hero-light.vibe-top .nav{--ink:#191714;--ink-hi:#000;--quiet:#4a443c;--bg-a:#f3eee6}
html.hero-light.vibe-top :is(.mark,.nav-links,.nav-cta,.nav-menu){background:rgba(255,255,255,.38);
  -webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 10px 28px -16px rgba(120,60,20,.35)}
html.hero-light.vibe-top :is(.mark,.nav-links,.nav-cta,.nav-menu)::before{background:linear-gradient(122deg,rgba(255,255,255,.95) 0%,rgba(25,23,20,.12) 45%,rgba(25,23,20,.05) 80%)}
html.hero-light.vibe-top :is(.mark,.nav-links,.nav-cta,.nav-menu)::after{background:linear-gradient(122deg,rgba(255,255,255,.35) 0%,rgba(255,255,255,0) 44%)}
html.hero-light.vibe-top .nav-links a[aria-current]{background:rgba(25,23,20,.06)}
html.hero-light.vibe-top .nav-hl{background:rgba(25,23,20,.07)}
html.hero-light.vibe-top .nav .vx-roll-in .vx-b{color:#191714}
html.hero-light.vibe-top .nav .book{background:#191714;color:#f3eee6}
html.hero-light.vibe-top .nav .book:hover{background:#000;color:#f3eee6}
