/* live.css: muellerco.ca home, the 10/30 overhaul (softened at his 3:21 PM: fashion first, "like Ralph Lauren", the navy
   folded silk, "soft-to-the-touch ... seamless, and intentional"; every gold effect half as strong; labels back in the
   house's own tracked capitals, no code typeface). Adam, Brain chat 1:36 PM Phoenix, looking at the preview on a computer:
   "it's pretty empty on the right side. We don't need to fill it. We just need it to be way more tech-forward, with a larger,
   full-screen sort of aesthetic ... take this to Silicon Valley level ... more interactive. Things should punch on screen. It
   should feel alive. This thing needs to feel like it was made in 2050."
   One layer over the page's own styles (loaded last): the hero full screen over a living field (live.js), the type at the
   scale of the screen, data set in mono, the film edge to edge, and motion that lands instead of drifting. The house stays
   (navy, gold, ivory, Playfair). Reduced motion gets the end state of every move; a phone keeps its tuned layout. */
:root{--mono:var(--sans);--snap:cubic-bezier(.16,1,.3,1);--deep:#050a18}   /* --mono = the house sans in tracked capitals (3:21 PM: not "web development") */

/* ---- ground: the field (live.js draws it into #bg), a light that follows the pointer, the read-through bar ---- */
#bg{background:radial-gradient(140% 90% at 70% 0%,#0d1b3d 0%,#0b1733 38%,var(--deep) 100%)}
#bg .silk{opacity:.15}
html.has-field #bg .silk{opacity:.1}   /* the field carries it; without WebGL (or live.js) the silk stays at r7's strength */
#bg canvas.field{position:absolute;inset:0;width:100%;height:100%;display:block}
#glow{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:0;transition:opacity .6s;
  background:radial-gradient(560px circle at var(--mx,50%) var(--my,50%),rgba(199,176,132,.042),transparent 62%)}
#glow.on{opacity:1}
#readbar{position:fixed;left:0;top:0;right:0;height:1px;z-index:60;pointer-events:none;transform-origin:0 50%;transform:scaleX(var(--rp,0));opacity:.5;
  background:linear-gradient(90deg,rgba(199,176,132,.1),var(--gold) 70%,#f3e2b8)}

/* ---- type: data and labels in mono ---- */
.eyebrow,.fw-kind,.fw-time,#factory .bf .k,#factory .tsc .k,#factory .chart .win,#factory .ct small,#factory .ct .gh span,
#factory .ct .h span,#factory .tsr span,#factory .tss small,.cn,.tl-label,.strip .k,.hcat .mk,.ph-cap,.who,footer h4,.att,.fig .up{
  font-family:var(--mono);font-weight:400}
.eyebrow{letter-spacing:.22em;font-size:11px}
.eyebrow .no{font-family:var(--display)}

/* ---- the reveal, made to land: rise + unblur on a snap curve; headings rise out of a mask; rules draw ---- */
.js .rv{opacity:0;transform:translate3d(0,42px,0);filter:blur(8px);
  transition:opacity .7s ease,transform 1.05s var(--snap),filter .8s ease;transition-delay:var(--d,0s)}
.rv.in{opacity:1;transform:none;filter:none}
/* headings land harder: further, faster, from a slight tilt back (never a clip on the watched element: Chrome's scroll
   watcher treats a fully clipped element as off screen, so it would never arrive) */
.js .h-display.rv,.js #ask .fw-sub.rv{transform:translate3d(0,.5em,0) scale(.97);transform-origin:0 100%;filter:blur(12px);
  transition:opacity .55s ease,transform 1.1s var(--snap),filter .7s ease;transition-delay:var(--d,0s)}
.js .h-display.rv.in,.js #ask .fw-sub.rv.in{transform:none;filter:none}
.draw{position:relative;border-top-color:transparent!important}   /* live.js adds .draw only where it will animate */
.draw::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;transform-origin:0 50%;transform:scaleX(0);
  background:linear-gradient(90deg,var(--gold),rgba(199,176,132,.38) 60%,rgba(199,176,132,.12));transition:transform 1.5s var(--snap) .15s}
.draw.in::before{transform:scaleX(1)}

/* ---- the hero: the whole screen ---- */
.hero h1.am .w{display:inline-block}
.js .hero h1.am.hload{opacity:1;transform:none;transition:none}
.js .hero h1.am .w{clip-path:inset(0 0 100% 0);transform:translate3d(0,.42em,0);
  transition:clip-path .95s var(--snap),transform .95s var(--snap),color .3s ease}
body.loaded .hero h1.am .w{clip-path:inset(-12% -6% -22% -6%);transform:none}
body.loaded .hero h1.am .w:nth-child(1),body.loaded .hero h1.am .l1 .w:nth-child(1){transition-delay:.12s,.12s,0s}
body.loaded .hero h1.am .l1 .w:nth-child(2){transition-delay:.22s,.22s,0s}
body.loaded .hero h1.am .it .w:nth-child(1){transition-delay:.34s,.34s,0s}
body.loaded .hero h1.am .it .w:nth-child(2){transition-delay:.42s,.42s,0s}
/* the roles come online one by one, then a light runs along them (live.js .on) */
.js .hero .nine.hload{transform:none}
.js .hero .nine .nr > span{opacity:0;transform:translate3d(0,6px,0);filter:blur(4px);transition:opacity .5s ease,transform .7s var(--snap),filter .5s ease,color .5s ease}
body.loaded .hero .nine .nr > span{opacity:1;transform:none;filter:none}
body.loaded .hero .nine .nr > span:nth-of-type(1){transition-delay:.55s}body.loaded .hero .nine .nr > span:nth-of-type(2){transition-delay:.6s}
body.loaded .hero .nine .nr > span:nth-of-type(3){transition-delay:.65s}body.loaded .hero .nine .nr > span:nth-of-type(4){transition-delay:.7s}
body.loaded .hero .nine .nr > span:nth-of-type(5){transition-delay:.75s}body.loaded .hero .nine .nr > span:nth-of-type(6){transition-delay:.8s}
body.loaded .hero .nine .nr > span:nth-of-type(7){transition-delay:.85s}body.loaded .hero .nine .nr > span:nth-of-type(8){transition-delay:.9s}
body.loaded .hero .nine .nr > span:nth-of-type(9){transition-delay:.95s}body.loaded .hero .nine .nr > span:nth-of-type(10){transition-delay:1s}
body.loaded .hero .nine .nr > span.on{transition-delay:0s}
.hero .nine .nr > span.on{color:var(--ivory)}
.hero .nine .nr > span::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:1px;background:rgba(199,176,132,.5);transform:scaleX(0);transform-origin:0 50%;transition:transform .9s var(--snap)}
.hero .nine .nr > span.on::after{transform:scaleX(1)}
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(90% 70% at 18% 82%,rgba(5,10,24,.72),rgba(5,10,24,.25) 55%,transparent 80%)}
.hero .in{position:relative;z-index:1}

@media (min-width:1024px){
  :root{--gx:clamp(40px,4.6vw,96px)}
  html #nav{height:74px;padding:0 var(--gx)}
  #nav .links{font-family:var(--mono);font-size:clamp(11px,.55vw,13px);letter-spacing:.16em;gap:34px}
  #nav.scrolled{background:rgba(6,11,26,.6);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);border-bottom-color:rgba(199,176,132,.16)}
  #nav .links .btn{transition:background .3s,color .3s,border-color .3s}
  #nav .links .btn:hover{background:var(--gold);color:var(--navy);border-color:var(--gold)}

  .hero{min-height:100svh;padding:0 var(--gx)}
  /* overhaul critic r1 MUST 1: the third column always holds the corner card (a third of the window, to 600 px, Adam 10/24)
     and the ten clear its top on 16:9 and 16:10 screens */
  .hero .in{width:100%;max-width:1840px;min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;
    padding:clamp(104px,14vh,150px) 0 clamp(64px,11vh,132px)}
  .hero .copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr) minmax(min(34vw,620px),.86fr);column-gap:clamp(28px,3vw,56px);
    grid-template-areas:"eb eb eb" "h h h" "n n n" "loop own ." "loop cta ." "sub sub .";align-items:start}
  .hero .copy > .eyebrow{grid-area:eb;margin:0 0 clamp(18px,3vh,30px)}
  .hero .copy > h1{grid-area:h}
  .hero .copy > .nine{grid-area:n}
  .hero .copy > .loop{grid-area:loop}
  .hero .copy > .own{grid-area:own}
  .hero .copy > .cta{grid-area:cta}
  .hero .copy > .sub2{grid-area:sub}
  .hero h1.hl.desk.out.am{font-size:clamp(64px,7.5vw,160px);line-height:.95;letter-spacing:-.028em;margin:0 0 clamp(22px,3.6vh,40px)}
  .hero h1.hl.desk.out.am .it{padding-left:.04em}
  .hero .nine{font-family:var(--mono);font-size:clamp(10.5px,.86vw,14px);letter-spacing:.12em;text-transform:uppercase;line-height:2;
    color:rgba(250,248,244,.62);max-width:none;margin:0 0 clamp(26px,5vh,54px);padding:clamp(14px,2.2vh,20px) 0 0;border-top:1px solid rgba(199,176,132,.22)}
  .hero .nine .nr{column-gap:1.5em}
  .hero .nine .nr > span ~ span::before{left:-.75em}
  .hero .what.loop{margin:0;max-width:none;padding-left:22px;border-left:1px solid var(--gold)}
  .hero .what.loop .s{font-family:var(--display);font-size:clamp(24px,2vw,36px);line-height:1.18;color:var(--ivory)}
  .hero .own{margin:4px 0 22px;font-family:var(--serif);font-size:clamp(20px,1.45vw,25px);color:rgba(250,248,244,.86)}
  .hero .cta{gap:14px 24px}
  .hero .sub2.after{margin:clamp(22px,3.4vh,36px) 0 0;font-size:13.5px;color:rgba(250,248,244,.56);max-width:640px}
}
@media (min-width:1024px) and (max-height:760px){
  .hero h1.hl.desk.out.am{font-size:clamp(56px,min(7.5vw,13.5vh),160px)}
}

/* the buttons: gold, magnetic (live.js), a sheen on hover */
.btn.solid,.btn.lg{position:relative;overflow:hidden;transition:background .3s,transform .5s var(--snap),box-shadow .4s}
.btn.solid::after,.btn.lg::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.26) 50%,transparent 70%);transform:translateX(-120%);transition:transform 1.2s var(--snap)}
.btn.solid:hover::after,.btn.lg:hover::after{transform:translateX(120%)}
.btn.solid:hover,.btn.lg:hover{box-shadow:0 14px 40px -12px rgba(199,176,132,.28)}

/* ---- sections: the full width of the screen ---- */
@media (min-width:1024px){
  section{padding-top:clamp(88px,15vh,184px);padding-bottom:clamp(88px,15vh,184px)}
  section + section{padding-top:clamp(64px,10vh,120px)}
  .wrap.wide{width:min(1480px,100%)}
  .wrap{width:min(860px,100%)}
  .h-display{font-size:clamp(48px,5.6vw,108px);line-height:.98;letter-spacing:-.024em;margin-bottom:clamp(30px,4vh,48px)}
  .lead{font-size:clamp(23px,1.75vw,31px)}
  #creds .creds{padding:56px 0}
  #creds .fig{font-size:clamp(44px,4.4vw,80px)}
  body>footer .top,body>footer .bottom{width:min(1480px,100%)}
}

/* ---- How it works: the film, edge to edge, with its own controls (work.js) ---- */
#ask .fw-film{box-shadow:0 50px 140px -60px rgba(199,176,132,.16),0 40px 120px -40px rgba(0,0,0,.85)}
@media (min-width:1024px){
  #ask .wrap.wide{width:min(1840px,100%)}
  #ask .fw-head{max-width:none}
  #ask .fw-head .h-display{margin:0}
  #ask .fw-film{width:min(100%,calc((100svh - 120px) * 16 / 9));margin-left:auto;margin-right:auto;border-color:rgba(199,176,132,.3)}
  #ask .fw-work{max-width:1480px;margin-left:auto;margin-right:auto}
}
#ask .fw-ctl{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;align-items:center;gap:14px;padding:28px 18px 14px;
  background:linear-gradient(0deg,rgba(5,10,24,.86),rgba(5,10,24,.45) 55%,transparent);font-family:var(--mono);font-size:12px;letter-spacing:.06em;
  color:rgba(250,248,244,.86);opacity:.92;transition:opacity .35s}
#ask .fw-ctl button{flex:0 0 auto;display:grid;place-items:center;width:40px;height:40px;margin:-4px 0;padding:0;border:1px solid rgba(199,176,132,.45);
  background:rgba(7,14,31,.55);color:var(--gold);cursor:pointer;transition:background .25s,color .25s}
#ask .fw-ctl button:hover{background:var(--gold);color:var(--navy)}
#ask .fw-ctl button svg{width:15px;height:15px}
#ask .fw-ctl .fw-tm{flex:0 0 auto;min-width:4.6em;text-align:center;font-variant-numeric:tabular-nums}
#ask .fw-scrub{flex:1 1 auto;min-width:60px;-webkit-appearance:none;appearance:none;height:28px;margin:0;background:transparent;cursor:pointer;--p:0%;--b:0%}
#ask .fw-scrub::-webkit-slider-runnable-track{height:3px;background:linear-gradient(90deg,var(--gold) var(--p),rgba(250,248,244,.42) var(--p),rgba(250,248,244,.42) var(--b),rgba(250,248,244,.18) var(--b))}
#ask .fw-scrub::-moz-range-track{height:3px;background:linear-gradient(90deg,var(--gold) var(--p),rgba(250,248,244,.42) var(--p),rgba(250,248,244,.42) var(--b),rgba(250,248,244,.18) var(--b))}
#ask .fw-scrub::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-5.5px;border-radius:50%;background:var(--ivory);border:2px solid var(--gold);box-shadow:0 0 0 6px rgba(199,176,132,.18)}
#ask .fw-scrub::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--ivory);border:2px solid var(--gold)}
#ask .fw-scrub:focus-visible{outline:1px solid var(--gold);outline-offset:4px}
#ask .fw-snd{z-index:4}
@media (max-width:640px){   /* overhaul critic r1 MUST 2: under the picture on a phone, never over the burned-in subtitles */
  #ask .fw-film{aspect-ratio:auto;display:flex;flex-direction:column}
  #ask .fw-film video{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
  #ask .fw-ctl{position:relative;inset:auto;gap:8px;padding:6px 8px;font-size:11px;opacity:1;background:rgba(5,10,24,.96);border-top:1px solid rgba(199,176,132,.22)}
  #ask .fw-ctl button{width:44px;height:44px;margin:0}
  #ask .fw-ctl .fw-tm{min-width:3.6em}
  #ask .fw-snd,#ask .ad-snd{min-height:36px;padding:10px 12px}
}
/* a computer: the bar shows while the pointer moves over the film and whenever it is paused (critic r1 SHOULD 2) */
@media (hover:hover) and (pointer:fine) and (min-width:641px){
  #ask .fw-ctl{opacity:0;transition:opacity .35s}
  #ask .fw-film.show .fw-ctl,#ask .fw-film.held .fw-ctl,#ask .fw-ctl:focus-within{opacity:1}
}
/* the preview's own mark: which cut is playing (stage only, never in prod) */
#ask .fw-cut{position:absolute;left:14px;top:14px;z-index:4;max-width:calc(100% - 190px);margin:0;font:500 10.5px/1.35 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#0b1733;background:var(--gold);padding:7px 10px}
@media (max-width:640px){#ask .fw-cut{left:8px;top:8px;max-width:calc(100% - 150px);font-size:8.5px;padding:5px 7px}}

/* ---- the winning ads: bigger, and they answer the pointer ---- */
#ask .fw-cell{perspective:1400px}
#ask .ad-t{--n:2}   /* Adam 3:21 PM: "only show two lines and then '...', similar to how Meta would" */
@media (min-width:821px){   /* at 85% the four statics are ~194 px: one line for each name and each time, so every card is the same height */
  #ask .ad-dots{display:none}   /* both rows alike (critic r1 SHOULD 3) */
  #ask .ad-id b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #ask .fw-time{font-size:10.5px;letter-spacing:.1em;white-space:nowrap}
  #ask .ad-hl{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.5em}   /* every card the same height */
}
/* "about 85% of the current size": from 1440 up, the desktop he was looking at; below it the cells keep the row's width (r9's
   1440 size), or the names and times no longer fit (fashion critic r1, MUST 1) */
@media (min-width:821px) and (max-width:1439px){
  #ask .fw-cell{flex:0 0 calc((100% - (var(--c,3) - 1) * 20px) / var(--c,3))}
  #ask .fw-time{font-size:10px;letter-spacing:.08em}
}
@media (min-width:1200px) and (max-width:1439px){#ask .fw-cell{flex:0 0 calc((100% - (var(--c,3) - 1) * 24px) / var(--c,3))}}
@media (min-width:1440px){#ask .fw-cell{flex:0 0 calc((100% - (var(--c,3) - 1) * 24px) / var(--c,3) * .85)}}
#ask .ad{transition:transform .6s var(--snap),box-shadow .6s;will-change:transform}
@media (hover:hover) and (pointer:fine){
  #ask .ad:hover{box-shadow:0 30px 70px -30px rgba(0,0,0,.7),0 0 0 1px rgba(199,176,132,.28),0 0 60px -10px rgba(199,176,132,.17)}
}
@media (min-width:1200px){
  #ask .fw-work{display:grid;grid-template-columns:minmax(260px,.82fr) 3fr;column-gap:clamp(40px,4vw,80px);align-items:start}
  #ask .fw-work > .fw-sub,#ask .fw-work > .fw-note{grid-column:1}
  #ask .fw-work > .fw-kind,#ask .fw-work > .fw-row,#ask .fw-work > .fw-dots{grid-column:2}
  #ask .fw-work > .fw-sub{grid-row:1;align-self:end;font-size:clamp(34px,3vw,54px)}
  #ask .fw-work > .fw-note{grid-row:2 / span 4;align-self:start;position:sticky;top:120px}
  #ask .fw-work > .fw-kind{align-self:end}
  #ask .fw-row{gap:32px 24px;justify-content:flex-start}
}

/* ---- the numbers: they count, the rules draw, the bars race ---- */
@media (min-width:1024px){
  #factory .bfc{margin-top:64px}
  #factory .bf{padding:40px 40px 10px 0}
  #factory .bf + .bf{padding-left:40px}
  #factory .bf .c{font-size:clamp(24px,1.9vw,34px)}
  #factory .bf .c .big{font-size:clamp(64px,6vw,120px);letter-spacing:-.02em}
  #factory .saved b{font-size:clamp(72px,7vw,132px);letter-spacing:-.02em}
  #factory .ts{grid-template-columns:minmax(260px,360px) 1fr}
  #factory .tsg{max-width:360px}
  #factory .tss b{font-size:clamp(44px,4vw,76px)}
}
#factory .bfc,#factory .ts,#factory .saved{position:relative}
#factory .ct > div.r{transition:background .3s}
@media (hover:hover){#factory .ct > div.r:hover span{background:rgba(199,176,132,.06)}}
#factory .race{margin:26px 0 0;display:grid;grid-template-columns:max-content 1fr;gap:12px 18px;align-items:center;max-width:820px}
#factory .race p{display:contents}
#factory .race p span{font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:rgba(250,248,244,.7)}
@media (max-width:640px){#factory .race{grid-template-columns:1fr;gap:6px}#factory .race p span{margin-top:8px}}
#factory .race i{display:block;height:10px;background:linear-gradient(90deg,rgba(250,248,244,.5),rgba(250,248,244,.22));transform-origin:0 50%;transform:scaleX(var(--w));transition:transform 1.8s var(--snap) .2s}
#factory .race .us i{background:linear-gradient(90deg,var(--gold),#f3e2b8);box-shadow:0 0 18px rgba(199,176,132,.25)}
#factory .race.arm:not(.in) i{transform:scaleX(0)}   /* live.js arms it only where it will run */

/* ---- get started + enterprise: glass and gold ---- */
#start .sf{background:linear-gradient(160deg,rgba(255,255,255,.045),rgba(255,255,255,.012));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 40px 100px -50px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.05)}
#start .sf input:focus,#start .sf select:focus,#start .sf textarea:focus{box-shadow:0 1px 0 0 var(--gold),0 12px 24px -18px rgba(199,176,132,.6)}
@media (min-width:1024px){
  #start .door{gap:clamp(48px,6vw,120px)}
  #partners .wrap{width:min(1100px,100%)}
  #partners .enth{font-size:clamp(34px,3.4vw,60px);max-width:900px}
  #process .wrap{width:min(1100px,100%)}
}

/* ---- reduced motion: every move at its end ---- */
@media (prefers-reduced-motion:reduce){
  .js .rv,.js .h-display.rv,.js #ask .fw-sub.rv,.js .hero h1.am .w,.js .hero .nine .nr > span{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important;transition:none!important}
  .draw::before{transform:scaleX(1)!important;transition:none!important}
  #factory .race i{transform:scaleX(var(--w))!important;transition:none!important}
  #glow,#readbar{display:none}
  .btn.solid::after,.btn.lg::after{display:none}
}

/* keyboard: the house's gold ring everywhere (critic r1 NIT 1); the closed phone menu is out of the Tab order (NIT 2) */
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
#mm{visibility:hidden;transition:opacity .35s,visibility 0s .35s}
#mm.open{visibility:visible;transition:opacity .35s,visibility 0s 0s}
