/* HOME HERO — the approved "+ Create | Brand Films" light (2026-11-23). Owner: lead. */
:root{--fs:clamp(25px,2.85vw,43px)}   /* size of the "+ Create" line; the whole scene scales from it */
.hero .h1 .l2{color:var(--text);text-shadow:0 0 48px rgb(var(--L) / .28)}

/* who you work with: black-and-white cutout that stands OUT of the card (his ask 11-23), lit from behind */
.me{position:relative;display:grid;grid-template-columns:164px minmax(0,1fr) auto;align-items:center;gap:10px;max-width:470px;min-height:96px;margin-top:104px;padding:16px 22px 16px 0;border-radius:24px;
  background:linear-gradient(180deg,oklch(1 0 0 / .075),oklch(1 0 0 / .025));
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .18),inset 0 0 0 1px oklch(1 0 0 / .06),0 30px 60px -30px #000;
  transition:box-shadow .5s var(--ease-out),translate .6s var(--ease-out)}
.me::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .6s var(--ease-out);
  background:radial-gradient(16em circle at var(--mx,30%) var(--my,0%),rgb(var(--L) / .13),transparent 60%)}
.me:hover{translate:0 -2px;box-shadow:inset 0 1px 0 oklch(1 0 0 / .34),inset 0 0 0 1px oklch(1 0 0 / .1),0 36px 70px -30px #000}
.me:hover::before{opacity:1}
.me:active{scale:.985;transition-duration:.12s}
.me-pic{position:relative;align-self:stretch;clip-path:inset(-90px -20px 0 0 round 0 0 0 24px)}
.me-pic::before{content:"";position:absolute;left:50%;bottom:34%;width:150px;height:150px;translate:-50% 0;border-radius:50%;
  background:radial-gradient(closest-side,rgb(var(--L) / .2),rgb(var(--L) / .06) 55%,transparent);transition:opacity .6s var(--ease-out);opacity:.75}
.me:hover .me-pic::before{opacity:1}
.me-pic img{position:absolute;left:8px;bottom:0;height:150px;width:auto;max-width:none;transform-origin:50% 100%;
  filter:contrast(1.08) brightness(1.06) drop-shadow(0 0 18px rgb(0 0 0 / .6));
  mask-image:linear-gradient(to bottom,#000 74%,transparent 100%);transition:scale .9s var(--ease-out)}
.me:hover .me-pic img{scale:1.04}
.me-txt{display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:20px;color:var(--dim)}
.me-txt strong{font-size:16px;line-height:22px;font-weight:500;color:var(--text)}
.me-go{color:var(--dim);transition:translate .5s var(--ease-out),color .3s var(--ease-out)}
.me:hover .me-go{translate:4px 0;color:var(--text)}

/* a little more light in the room (his ask 11-23): faint lines behind, one neon flame leak */
.hero::before{content:"";position:absolute;z-index:0;pointer-events:none;inset:-88px -40px 0 30%;
  background-image:linear-gradient(90deg,oklch(1 0 0 / .075) 1px,transparent 1px),linear-gradient(180deg,oklch(1 0 0 / .075) 1px,transparent 1px);
  background-size:calc(var(--fs) * 4.25) calc(var(--fs) * 4.25);
  mask-image:radial-gradient(ellipse 70% 75% at 62% 48%,#000 0%,rgb(0 0 0 / .5) 45%,transparent 85%)}
.clients::before{content:"";position:absolute;left:0;top:-1px;width:min(34vw,420px);height:1px;background:linear-gradient(90deg,var(--flame),rgb(var(--F) / .35) 40%,transparent);box-shadow:0 0 10px rgb(var(--F) / .9),0 0 28px rgb(var(--F) / .45)}

/* first light: the page is unlit until the beam ignites */
.js .hero:not(.lit) .h1 .l2{color:var(--unlit);text-shadow:none}
.h1 .l2{transition:color 1.4s var(--ease-out),text-shadow 1.8s var(--ease-out)}

/* ── the scene ── */
.scene{position:relative;z-index:1;align-self:stretch;display:flex;align-items:center;min-height:420px;font-size:var(--fs)}
.prompt{position:relative;display:flex;align-items:center;height:3.25em;white-space:nowrap;translate:0 -6%}

/* pill: dark glass, lit from the top-left, dissolving toward the light */
.pill{position:relative;display:flex;align-items:center;gap:.62em;height:100%;padding:0 1.75em 0 1.3em;font-weight:500;letter-spacing:-.02em;color:var(--text)}
.skin{position:absolute;inset:0;border-radius:99em 0 0 99em;
  mask-image:linear-gradient(90deg,#000 0,#000 52%,transparent 96%);
  background:linear-gradient(180deg,oklch(1 0 0 / .13) 0%,oklch(1 0 0 / .05) 55%,oklch(1 0 0 / .03) 100%);
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .2),inset 1px 0 0 oklch(1 0 0 / .1),inset 0 -1px 0 oklch(1 0 0 / .04),inset 0 -24px 40px -24px rgb(0 0 0 / .6)}
.plus{position:relative;width:.95em;height:.95em;flex:none}
.plus::before,.plus::after{content:"";position:absolute;left:50%;top:50%;translate:-50% -50%;background:currentColor;border-radius:2px}
.plus::before{width:100%;height:.055em;min-height:1.5px}
.plus::after{height:100%;width:.055em;min-width:1.5px}
.verb{position:relative;text-shadow:0 0 28px rgb(var(--L) / .25)}

/* the light source */
.src{position:relative;width:0;height:100%;margin-left:-.72em;flex:none}
.caret{position:absolute;left:0;top:50%;translate:-50% -50%;width:max(3px,.085em);height:2.3em;border-radius:3px;background:#fff;
  box-shadow:0 0 .2em rgb(var(--L)),0 0 .9em rgb(var(--L) / .85),0 0 2.6em rgb(var(--L) / .5)}
.caret.blink{animation:blink 1.1s steps(1) infinite}
@keyframes blink{50%{opacity:.18}}

.beam{position:absolute;left:0;top:50%;width:19.5em;height:14.5em;translate:0 -46.5%;transform-origin:0 46.5%;pointer-events:none;opacity:0;will-change:opacity,transform}
.cone{position:absolute;inset:0}
.cone b{position:absolute;inset:0}
.cone.a{filter:blur(1.5em)}
.cone.a b{clip-path:polygon(0 39%,100% 2%,100% 100%,0 54.5%);background:linear-gradient(90deg,rgb(var(--L) / .5) 0%,rgb(var(--L) / .33) 26%,rgb(var(--L) / .15) 58%,transparent 97%)}
.cone.b{filter:blur(.8em)}
.cone.b b{clip-path:polygon(0 40.5%,100% 15%,100% 86%,0 53%);background:linear-gradient(90deg,rgb(var(--L) / .46) 0%,rgb(var(--L) / .27) 28%,rgb(var(--L) / .09) 60%,transparent 88%)}
.cone.c{filter:blur(.22em)}
.cone.c b{clip-path:polygon(0 41.5%,56% 29%,56% 70%,0 51.5%);background:linear-gradient(90deg,rgb(var(--L) / .5) 0%,rgb(var(--L) / .14) 34%,transparent 60%)}
.hot{position:absolute;left:-.4em;top:46.5%;width:3.4em;height:3.4em;translate:0 -50%;border-radius:50%;background:radial-gradient(closest-side,rgb(var(--L) / .7),rgb(var(--L) / .16) 55%,transparent);filter:blur(.12em)}
#dust{position:absolute;inset:0;width:100%;height:100%}

/* 11-24 his note: a box cut the words. The fade mask clipped the shadow to the text box; mask removed, shadow softer */
.typed{position:relative;z-index:2;margin-left:.2em;font-weight:500;letter-spacing:-.02em;color:#fff;
  text-shadow:0 0 .04em rgb(0 0 0 / .4),0 .04em .45em rgb(0 0 0 / .22)}

/* the floor the light falls on */
.floor{position:absolute;left:0;top:calc(50% + 1.42em);width:26em;height:10.4em;opacity:0;
  background-image:linear-gradient(90deg,oklch(1 0 0 / .46) 1px,transparent 1px),linear-gradient(180deg,oklch(1 0 0 / .46) 1px,transparent 1px);
  background-size:4.25em 4.25em;background-position:0 -1px;
  mask-image:radial-gradient(ellipse 62% 108% at 48% 0%,#000 0%,rgb(0 0 0 / .5) 44%,transparent 86%)}

/* ── clients ── */
.clients{position:relative;z-index:4;display:flex;align-items:center;gap:32px;height:92px;border-top:1px solid var(--hair)}
.lbl{font-size:13px;color:var(--dim);white-space:nowrap}
.ticker{flex:1;min-width:0;overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}
.track{display:flex;align-items:center;gap:72px;width:max-content;height:40px;animation:tick 60s linear infinite}
.ticker:hover .track{animation-play-state:paused}
.track b{white-space:nowrap;color:oklch(0.62 0.005 75);font-size:20px;letter-spacing:-.03em}
.track .w{font-weight:600}.track .z{font-weight:500}
.track .f{font-size:11.5px;letter-spacing:.08em;font-weight:600;text-transform:uppercase;border:1.5px solid currentColor;border-radius:6px;padding:6px 10px;line-height:12px}
@keyframes tick{to{translate:-50% 0}}


@media (max-width:960px){
  :root{--fs:clamp(20px,5.5vw,34px)}
  .me{margin-top:84px;grid-template-columns:150px minmax(0,1fr) auto}
  .hero::before{inset:auto -20px 0 -20px;height:16em}
  .scene{min-height:0;height:11em;margin-top:.6em}
  .prompt{translate:0 0}
  .clients{gap:20px;height:76px}
  .track{gap:48px}.track b{font-size:17px}
}
@media (prefers-reduced-motion:reduce){.track,.caret.blink{animation:none}}

/* 11-24: no lone last word in the card lines */
.me-txt span{text-wrap:pretty}

/* 11-24 his notes: on phones "Get a free storyboard" sits under the button, centred; on desktop it stays beside it */
@media (max-width:600px){.hero .ctas{display:inline-flex;flex-direction:column;align-items:center;gap:18px}}

/* 11-24 his note: real client logos in the strip (his list; "Fortune 500" chip out). One grey, drawn as masks from media/logos/ */
.track .lg{display:block;flex:none;height:calc(var(--h) * var(--s,1));aspect-ratio:var(--r);background:oklch(0.62 0.005 75);
  -webkit-mask:var(--m) center / contain no-repeat;mask:var(--m) center / contain no-repeat}
@media (max-width:960px){.track{--s:.82}}
.lg-walmart{--h:26px;--r:407/96;--m:url(../media/logos/walmart.png)}
.lg-toronto-zoo{--h:32px;--r:281/96;--m:url(../media/logos/toronto-zoo.png)}
.lg-ford{--h:30px;--r:267/96;--m:url(../media/logos/ford.png)}
.lg-kpmg{--h:27px;--r:241/96;--m:url(../media/logos/kpmg.png)}
.lg-elevate{--h:21px;--r:484/96;--m:url(../media/logos/elevate.png)}
.lg-compass{--h:34px;--r:266/96;--m:url(../media/logos/compass.png)}
/* 11-24 his yes: Microsoft + CBC added; 8 logos, so the strip runs longer: slower loop keeps the same speed */
.track:has(.lg){animation-duration:80s}
.lg-microsoft{--h:24px;--r:433/96;--m:url(../media/logos/microsoft.png)}
.lg-cbc{--h:30px;--r:187/96;--m:url(../media/logos/cbc.png)}
.me-txt span{text-wrap:balance}

/* ── 12-02: glass "Watch the film" button in the hero CTAs (The Notes, opens the site's film player). Secondary to the white .btn. ── */
.watch-hero{display:inline-flex;align-items:center;gap:12px;height:52px;padding:0 22px 0 7px;border:0;border-radius:99px;cursor:pointer;
  font:inherit;font-size:16px;font-weight:500;letter-spacing:-.01em;color:var(--text);white-space:nowrap;-webkit-tap-highlight-color:transparent;
  background:linear-gradient(180deg,oklch(1 0 0 / .09),oklch(1 0 0 / .035));
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .16),inset 0 0 0 1px oklch(1 0 0 / .1),0 14px 40px -14px rgb(0 0 0 / .7);
  backdrop-filter:blur(12px) saturate(1.3);-webkit-backdrop-filter:blur(12px) saturate(1.3);
  transition:translate .5s var(--ease-out),background .5s var(--ease-out),box-shadow .5s var(--ease-out)}
.watch-hero i{position:relative;display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;
  background:radial-gradient(120% 120% at 50% 0%,oklch(1 0 0 / .3),oklch(1 0 0 / .08) 55%,oklch(1 0 0 / .12));
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .55),inset 0 0 0 1px oklch(1 0 0 / .22),0 0 24px -6px rgb(var(--L) / .35);
  transition:scale .5s var(--ease-out),box-shadow .5s var(--ease-out)}
.watch-hero i::before{content:"";margin-left:3px;border-left:11px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent;filter:drop-shadow(0 1px 3px rgb(0 0 0 / .35))}
.watch-hero i::after{content:"";position:absolute;inset:0;border-radius:50%;animation:wh-pulse 2.8s var(--ease-out) infinite}
@keyframes wh-pulse{0%{box-shadow:0 0 0 0 rgb(var(--L) / .3)}70%,100%{box-shadow:0 0 0 12px rgb(var(--L) / 0)}}
.watch-hero small{font-size:14px;font-weight:500;color:var(--dim)}
@media (hover:hover){
  .watch-hero:hover{translate:0 -2px;background:linear-gradient(180deg,oklch(1 0 0 / .13),oklch(1 0 0 / .055))}
  .watch-hero:hover i{scale:1.08;box-shadow:inset 0 1px 0 oklch(1 0 0 / .7),inset 0 0 0 1px oklch(1 0 0 / .3),0 0 34px -4px rgb(var(--L) / .55),0 0 0 6px oklch(1 0 0 / .05)}
}
.watch-hero:active{translate:0 0;scale:.98;transition-duration:.12s}
.watch-hero:focus-visible{outline:none;box-shadow:inset 0 1px 0 oklch(1 0 0 / .16),0 0 0 3px #050505,0 0 0 5px var(--text)}
@media (prefers-reduced-motion:reduce){.watch-hero i::after{animation:none}}
