.hero {
position: relative;
min-height: 100svh;
overflow: hidden;
isolation: isolate;
background:
radial-gradient(60% 55% at 50% 72%, rgba(255, 156, 117, .30), transparent 70%),
radial-gradient(40% 40% at 85% 10%, rgba(25, 118, 118, .45), transparent 70%),
var(--night);
}
.hero__kicker {
position: absolute;
top: clamp(96px, 13vh, 130px);
inset-inline: 0;
margin: 0;
text-align: center;
font-weight: 700;
font-size: clamp(18px, 1.7vw, 24px);
letter-spacing: .01em;
color: var(--cream);
z-index: 3;
}
.hero__giant {
position: absolute;
top: clamp(130px, 18vh, 180px);
inset-inline: 0;
margin: 0;
z-index: 1;
text-align: center;
font-family: var(--f-display);
font-weight: 700;
font-size: clamp(120px, 21vw, 340px);
line-height: .8;
color: var(--peach);
white-space: nowrap;
will-change: transform;
}
.hero__giant-inner { display: inline-block; }
.hero__person {
position: absolute;
bottom: 0;
left: 50%;
z-index: 2;
height: min(78svh, 900px);
aspect-ratio: 880 / 1100;
translate: -50% 0;
filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
will-change: transform;
}
.hero__person-img {
width: 100%;
height: 100%;
max-width: none;
-webkit-mask: url(../assets/img/ayelet-mask.svg) center / 100% 100% no-repeat;
mask: url(../assets/img/ayelet-mask.svg) center / 100% 100% no-repeat;
}
.hero::after {
content: '';
position: absolute;
inset-inline: 0;
bottom: 0;
height: 22%;
z-index: 3;
background: linear-gradient(to top, var(--night) 8%, transparent);
pointer-events: none;
}
.hero__foot {
position: absolute;
inset-inline: var(--gutter);
bottom: clamp(28px, 6vh, 56px);
z-index: 4;
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 24px;
}
.hero__lead { max-width: 30ch; margin: 0 0 18px; font-size: clamp(17px, 1.3vw, 20px); color: var(--cream); }
.hero__lead strong { color: var(--peach); font-weight: 700; }
.hero__cta-note { display: block; margin-top: 10px; font-size: 14px; color: var(--cream-dim); }
.hero__creds { text-align: end; font-size: 15px; color: var(--cream-dim); line-height: 1.45; }
.hero__creds b { display: block; color: var(--cream); font-size: 17px; }
.hero__play {
position: absolute;
z-index: 5;
top: 52%;
left: calc(50% + min(17svh, 190px));
width: 132px;
height: 132px;
display: grid;
place-items: center;
color: var(--text-dark);
text-decoration: none;
}
.hero__play-ring { position: absolute; inset: 0; direction: ltr; overflow: visible; animation: spin 14s linear infinite; }
.hero__play-ring text { font-family: var(--f-body); font-weight: 800; font-size: 11.5px; letter-spacing: .14em; fill: var(--cream); }
.hero__play-dot {
width: 64px; height: 64px;
border-radius: 50%;
background: var(--peach);
display: grid; place-items: center;
transition: transform .3s var(--ease-out);
}
.hero__play:hover .hero__play-dot { transform: scale(1.12); }
.hero__play-dot svg { width: 22px; height: 22px; margin-inline-start: -3px; }
@keyframes spin { to { rotate: 360deg; } }
.js .hero__giant-inner { clip-path: inset(100% 0 0 0); translate: 0 18%; }
.js .hero__person { opacity: 0; translate: -50% 40px; filter: blur(8px) drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.js .hero__kicker, .js .hero__foot, .js .hero__play { opacity: 0; }
.is-ready .hero__giant-inner { clip-path: inset(0 0 0 0); translate: 0 0; transition: clip-path 1.2s var(--ease-out), translate 1.2s var(--ease-out); }
.is-ready .hero__person { opacity: 1; translate: -50% 0; filter: blur(0) drop-shadow(0 30px 60px rgba(0,0,0,.45)); transition: opacity 1s ease .35s, translate 1.2s var(--ease-out) .35s, filter 1s ease .35s; }
.is-ready .hero__kicker { opacity: 1; transition: opacity .8s ease .9s; }
.is-ready .hero__foot, .is-ready .hero__play { opacity: 1; transition: opacity .8s ease 1.15s; }
@media (max-width: 760px) {
.hero { min-height: 100svh; }
.hero__giant { font-size: 36vw; line-height: .78; white-space: normal; top: 120px; }
.hero__giant-line { display: block; }
.hero__kicker { top: 84px; font-size: 17px; }
.hero__person { height: 62svh; }
.hero__creds { display: none; }
.hero__foot { flex-direction: column; align-items: stretch; }
.hero__lead { max-width: none; font-size: 16px; margin-bottom: 14px; }
.hero__foot .btn { justify-content: center; }
.hero__play { width: 104px; height: 104px; top: auto; bottom: calc(46svh); left: auto; inset-inline-start: 8px; }
.hero__play-dot { width: 50px; height: 50px; }
.hero::after { height: 40%; background: linear-gradient(to top, var(--night) 22%, rgba(12, 39, 38, .55) 62%, transparent); }
}