/* Homepage variant A: real-world photography layer. Loaded after home-neo-v1.css.
   Photos are Unsplash (free licence, no attribution required), stored in /img/photos/.
   Cached immutable: rename the file (home-photo-v2.css) when editing. */

/* Hero: a late-evening cafe behind the network, dimmed so the headline stays readable */
.hero-photo{position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 100%;opacity:.8;filter:saturate(1.05) brightness(1.25) contrast(1.05);transform:scale(1.04)}
.hero-photo::after{content:'';position:absolute;inset:0;background:
  radial-gradient(46% 42% at 50% 40%,rgba(6,8,11,.86),rgba(6,8,11,.42) 72%,rgba(6,8,11,.08)),
  linear-gradient(180deg,rgba(6,8,11,.5),transparent 22%,transparent 60%,var(--bg))}
.hero.try-on .hero-photo img{opacity:.4}

/* Hero side cards: two moments from the same night, shown only where the sides are free */
.hero-float{position:absolute;top:21%;width:236px;display:none;margin:0;z-index:1;border-radius:18px;overflow:hidden;background:var(--surface);border:1px solid var(--edge-2);box-shadow:0 30px 70px -28px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.03) inset}
.hero-float img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;filter:saturate(.95)}
.hero-float figcaption{padding:11px 14px 13px;font:400 12px/1.45 var(--font-mono);color:var(--text-2);background:linear-gradient(180deg,rgba(16,21,28,.4),var(--surface))}
.hero-float figcaption b{display:block;color:var(--teal-light);font-weight:500;letter-spacing:.08em;margin-bottom:3px}
.hero-float-l{left:calc(50% - 610px);transform:rotate(-3deg)}
.hero-float-r{right:calc(50% - 610px);top:30%;transform:rotate(2.5deg)}
@media (min-width:1280px){.hero-float{display:block;animation:hfIn .9s .3s both cubic-bezier(.2,.7,.2,1)}.hero-float-r{animation-delay:.5s}}
.hero.try-on .hero-float{display:none}
@keyframes hfIn{from{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}

/* Roles: a photo heads every card */
.role-photo{margin:-26px -26px 20px;aspect-ratio:16/10;overflow:hidden;position:relative;border-bottom:1px solid var(--edge)}
.role-photo img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1),filter .4s;filter:saturate(.9) brightness(.92)}
.role-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(13,18,24,.85))}
.role:hover .role-photo img{transform:scale(1.05);filter:saturate(1.05) brightness(1)}

/* Day: each phase of the day has its own place behind the sky */
.sky i img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.34;filter:saturate(.8) brightness(.85)}
.sky i.sky-morn img{opacity:.55;object-position:50% 22%;filter:saturate(.95) brightness(1.05)}
.sky i.sky-eve img{opacity:.45;object-position:50% 40%}
.sky i.sky-night img{opacity:.62;filter:saturate(.9) brightness(1.05)}
.sky i:not(.sky-stars)::after{content:'';position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(6,8,11,.82) 0,rgba(6,8,11,.5) 45%,rgba(6,8,11,.74)),
  linear-gradient(180deg,rgba(6,8,11,.55),transparent 30%,transparent 70%,rgba(6,8,11,.7))}

/* Final call: a person who just got their evenings back */
.final-photo{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.final-photo img{width:100%;height:100%;object-fit:cover;opacity:.32;filter:saturate(.85)}
.final-photo::after{content:'';position:absolute;inset:0;background:
  radial-gradient(55% 60% at 50% 55%,rgba(6,8,11,.72),rgba(6,8,11,.35) 80%),
  linear-gradient(180deg,var(--bg),transparent 28%,transparent 72%,var(--bg))}
.final-sec{position:relative}
.final{z-index:1}

@media (max-width:640px){
  .role-photo{margin:-22px -22px 18px}
  .hero-photo img{opacity:.42}
}
@media (prefers-reduced-motion:reduce){
  .hero-float{animation:none!important}
  .role-photo img{transition:none}
  .role:hover .role-photo img{transform:none}
}
