/* EZVO site: the three How it works versions for Shadi to pick from (Nov 14 2026).
   He picked C on Nov 15: it is now how.html (the "C: try it yourself" rules below). A and B live on in _how-options/ and
   still use the other rules here.
   Rules from Shadi that shape all three: calm, one small thing moves at a time, a title and its text sit in the same column,
   no editor timeline, and the brand's cut lives in the headlines only (never a line drawn across the screen).
   When he is sure, delete _how-options/, js/how.js, js/how2.js and every rule here above the C block. */

/* ---------- shared: two note boxes that take turns in one spot, and a send row ---------- */
.p-notes{display:grid;width:min(100%,390px)}
.p-notes>*{grid-area:1/1}
.hs[data-u] .p-send,.chg .p-send{flex-direction:row;align-items:center;flex-wrap:wrap}

/* =====================================================================================================================
   A, part 1: your part next to EZVO's part. One connected sheet. The rule between the two columns is a plain hairline.
   ===================================================================================================================== */
.yp{background:var(--ink);color:var(--snow);padding:clamp(56px,8vw,120px) var(--gut)}
.yp-h,.yp-head,.yp-r{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
.yp-h{font-size:clamp(30px,4.4vw,68px)}
.yp-h>span:last-child,.yp-head p+p,.yp-c.ez{padding-left:clamp(18px,3vw,48px)}
.yp-sheet{margin-top:clamp(22px,2.6vw,40px);border-bottom:1px solid var(--line-d)}
.yp-head p{display:flex;align-items:baseline;gap:12px;padding-bottom:14px;font:500 12px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#77777d}
.yp-head b{font-weight:500;color:#fff}
.yp-head p+p b{color:var(--lime)}
.yp-head p+p,.yp-c.ez{border-left:1px solid var(--line-d)}
.yp-r{border-top:1px solid var(--line-d)}
.yp-c{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:clamp(12px,1.2vw,18px);align-content:center;min-height:clamp(60px,5vw,76px);padding:10px 0}
.yp-k{grid-row:1/3;align-self:center;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #3a3a40;background:center/100% no-repeat;transition:background-color .3s,box-shadow .3s,transform .5s var(--ease)}
.yp-c b{font:800 clamp(16px,1.62vw,26px)/1.1 var(--display);font-stretch:125%;letter-spacing:-.015em;transition:color .35s}
.yp-c span{margin-top:4px;font-size:15px;line-height:1.35;color:#9a9aa0;transition:color .35s}
.yp-that{grid-column:1/-1;font:500 12px/1.3 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--lime);transition:opacity .5s}
/* each line lights up in turn (js/how2.js). Without the script every line is simply lit. */
.js .yp-c b{color:#5d5d63}
.js .yp-c span{color:#46464b}
.js .yp-that{opacity:0}
.js .yp-c.on b{color:#fff}
.js .yp-c.on span{color:#9a9aa0}
.js .yp-that.on{opacity:1}
.yp-c.on .yp-k,html:not(.js) .yp-k{box-shadow:none;background-color:var(--lime);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.7 5.2l1.6 1.6 3.1-3.5' fill='none' stroke='%230B0B0C' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* =====================================================================================================================
   A, part 2: what EZVO does after you press the button. A list of five jobs on the left; on the right one video and one
   small card. Only the job being shown moves.
   ===================================================================================================================== */
.jobs{background:var(--bg);padding:clamp(56px,8vw,120px) var(--gut);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,90px);align-items:center}
.jobs .h-sec{font-size:clamp(30px,4.2vw,66px)}
.jb-list{margin-top:clamp(22px,3vw,44px);border-top:1px solid var(--line)}
.jb{border-bottom:1px solid var(--line)}
.jb button{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:baseline;width:100%;padding:14px 0 15px;border:0;background:none;text-align:left;cursor:pointer}
.jb b{font:500 12px/1 var(--mono);letter-spacing:.14em;color:#A3A3A8;transition:color .3s}
.jb strong{display:block;font:600 clamp(18px,1.55vw,23px)/1.2 var(--body);letter-spacing:-.01em;color:#A3A3A8;transition:color .3s}
.jb small{display:block;margin-top:3px;font-size:15px;line-height:1.4;color:#B9B9BD;transition:color .3s}
.jb.on b,.jb.on strong,.jb button:hover strong{color:var(--ink)}
.jb.on small{color:var(--slate)}
.jb-bar{position:absolute;left:0;right:0;bottom:-1px;height:2px;pointer-events:none}
.jb-bar i{position:absolute;inset:0;background:var(--ink);transform-origin:0 50%;transform:scaleX(0)}
.jb-stage{--ph:min(66vh,640px);position:relative;height:var(--ph);transition:opacity .35s}
.jb-stage.fade{opacity:0}
.jb-vid{position:absolute;right:0;top:0;height:100%;--r:22px;box-shadow:0 0 0 1px var(--line),0 50px 90px -50px rgba(11,11,12,.55)}
#jbtag{transition:background-color .3s,color .3s}
.jb-card{position:absolute;z-index:2;right:calc(var(--ph)*.5625 - 30px);top:50%;width:min(290px,calc(100% - var(--ph)*.5625 + 30px));padding:16px 18px 18px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:0 30px 60px -34px rgba(11,11,12,.45);opacity:0;transform:translateY(-46%);transition:opacity .35s,transform .5s var(--ease)}
.jb-card.on{opacity:1;transform:translateY(-50%)}
.jb-cl{margin-bottom:11px;font:500 11px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--slate)}
/* 01: what you said, with the mistakes struck out */
.jb-said li{position:relative;width:max-content;max-width:100%;padding:4px 0;font:500 15.5px/1.35 var(--body);transition:color .4s}
.jb-said li.x::after{content:"";position:absolute;left:-2px;right:-2px;top:52%;height:2px;border-radius:1px;background:var(--ink);transform:scaleX(0);transform-origin:0 50%;transition:transform .5s var(--ease)}
.jb-said li.cut{color:#A3A3A8}
.jb-said li.cut::after{transform:none}
.jb-cf{display:inline-flex;margin-top:11px;padding:7px 11px;border-radius:999px;background:var(--lime);font:600 13px/1 var(--body);opacity:0;transform:scale(.9);transition:opacity .3s,transform .45s var(--ease)}
.jb-cf.on{opacity:1;transform:none}
/* 02: the words, lit as they are said */
.jb-words{font:600 19px/1.4 var(--body);letter-spacing:-.01em;color:#B9B9BD}
.jb-words span{transition:color .2s}
.jb-words span.lit{color:var(--ink)}
/* 03: the line the board is made from */
.jb-quote{font:500 16px/1.45 var(--body);color:#3C3C40}
.jb-quote b{font-weight:600;color:var(--ink);background:linear-gradient(var(--lime),var(--lime)) 0 88%/100% 38% no-repeat}
/* 04: music and sound */
.jb-snd li{display:grid;grid-template-columns:40px auto minmax(0,1fr);align-items:center;gap:10px;padding:8px 0}
.jb-snd b{font:600 15.5px/1 var(--body)}
.jb-snd small{font-size:14px;color:var(--slate)}
.jb-dots{display:flex;gap:5px}
.jb-dots i{width:9px;height:9px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #C4C4C0;transition:background-color .2s,box-shadow .2s}
.jb-dots i.on{background:var(--ink);box-shadow:none}
/* 05: its own checks */
.jb-ck li{position:relative;padding:7px 0 7px 31px;font:500 15.5px/1.3 var(--body);color:#A3A3A8;transition:color .3s}
.jb-ck li::before{content:"";position:absolute;left:0;top:50%;width:20px;height:20px;margin-top:-10px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #C4C4C0;background:center/100% no-repeat;transition:background-color .3s,box-shadow .3s}
.jb-ck li.on{color:var(--ink)}
.jb-ck li.on::before{box-shadow:none;background-color:var(--lime);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.7 5.2l1.6 1.6 3.1-3.5' fill='none' stroke='%230B0B0C' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* =====================================================================================================================
   A, part 3: asking for a change, on one screen. js/how.js plays the last part of the walk here by itself.
   ===================================================================================================================== */
.chg{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);column-gap:clamp(24px,5vw,90px);align-items:center;padding-bottom:clamp(56px,8vw,120px)}
.chg .h-sec{font-size:clamp(30px,4.2vw,66px)}
.chg .lede{margin-top:clamp(16px,2vw,26px)}
.chg-props{min-height:252px;transition:opacity .4s}
.chg-side{display:grid;place-items:center;transition:opacity .4s}
.chg .vid-big{height:min(74vh,700px)}
.chg.fade .chg-props,.chg.fade .chg-side{opacity:0}

/* =====================================================================================================================
   C: try it yourself. Four things to press on the left, the video on the right. js/try.js runs it.
   ===================================================================================================================== */
.try{background:var(--ink);color:var(--snow);padding:clamp(56px,8vw,120px) var(--gut);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);column-gap:clamp(24px,5vw,90px);align-items:start;min-height:100vh}
.try-side{position:sticky;top:88px;display:grid;justify-items:center;gap:14px}
.try .vid-big{height:min(72vh,690px)}
.ty-steps{margin-top:18px;border-top:1px solid var(--line-d)}
.ty{border-bottom:1px solid var(--line-d)}
.ty-h{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:58px}
.ty-h b{font:500 12px/1 var(--mono);letter-spacing:.14em;color:#5d5d63;transition:color .3s}
.ty-h h3{font:800 clamp(17px,1.6vw,25px)/1.1 var(--display);font-stretch:125%;letter-spacing:-.015em;color:#5d5d63;transition:color .3s}
.ty-sum{display:inline-flex;align-items:center;gap:9px;font:500 13.5px/1.2 var(--body);color:#9a9aa0;white-space:nowrap;opacity:0;transition:opacity .3s}
.ty-sum::after{content:"";width:20px;height:20px;border-radius:50%;background:var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.7 5.2l1.6 1.6 3.1-3.5' fill='none' stroke='%230B0B0C' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
.ty.now .ty-h b,.ty.done .ty-h b{color:var(--lime)}
.ty.now .ty-h h3,.ty.done .ty-h h3{color:#fff}
.ty.done .ty-sum{opacity:1}
.ty-b{display:none;padding:2px 0 22px 40px}
.ty.now .ty-b{display:block;animation:tyin .45s var(--ease)}
@keyframes tyin{from{opacity:0;transform:translateY(8px)}}
.ty-hint{margin-top:12px;font-size:15px;line-height:1.4;color:#9a9aa0}
#tynhint{margin-top:0}
.ty-b button{font-family:inherit}
/* 01 the clip */
.ty-chip{border:0;color:#fff;text-align:left;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
.ty-chip.held{cursor:grabbing}
.ty-chip.fly{transition:transform .5s var(--ease),opacity .25s .28s;opacity:0;pointer-events:none}
.ty-chip.back{transition:transform .4s var(--ease)}
/* 02 the looks: two captions, three graphics, in one row */
.ty-looks{display:flex;flex-wrap:wrap;gap:14px 28px}
.ty-tiles{display:flex;gap:9px}
.ty-looks .lp-lbl{max-width:none;margin-bottom:9px}
.ty-looks .lp-tile{width:clamp(56px,4.7vw,68px);padding:0;border:0;background:none;color:inherit;cursor:pointer}
.ty-looks .lp-tile b{margin-top:7px;font-size:12px;white-space:nowrap}
/* 03 the button */
.try .mk-btn{border:0;cursor:pointer}
.try .mk-btn:disabled{cursor:default}
.try .mk-btn.busy,.try .mk-btn.done{cursor:default}
/* the list of jobs only shows while EZVO is doing them */
#tyjobs{display:none}
.mk-btn.busy+#tyjobs{display:grid}
/* 04 the note */
.ty-note{display:none}
.ty-note.on{display:block;animation:tyin .45s var(--ease)}
.ty-sug{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 14px}
.ty-sug button{height:38px;padding:0 14px;border:0;border-radius:999px;background:transparent;box-shadow:inset 0 0 0 1.5px #3a3a40;color:#fff;font:500 14px/1 var(--body);cursor:pointer;transition:box-shadow .2s,background-color .2s,color .2s}
.ty-sug button:hover{box-shadow:inset 0 0 0 1.5px var(--lime)}
.ty-sug button.on{background:var(--lime);color:var(--ink);box-shadow:none}
.ty-sug button:disabled{cursor:default}
#tysend:disabled{opacity:.35}
/* when it plays by itself, the thing it is about to press is ringed for a moment */
.try .auto{box-shadow:0 0 0 3px var(--ink),0 0 0 5.5px var(--lime)!important;transform:scale(.96);transition:transform .2s,box-shadow .2s}
.try .lp-tile.auto{box-shadow:none!important}
/* the video */
.ty-vid.can{cursor:pointer}
.ty-tap{position:absolute;right:5%;top:3%;z-index:6;white-space:nowrap;padding:9px 13px;border-radius:999px;background:#fff;color:var(--ink);font:600 12.5px/1 var(--body);opacity:0;pointer-events:none;transition:opacity .3s}
.ty-vid.can .ty-tap{opacity:1;animation:tynudge 1.8s ease-in-out infinite}
@keyframes tynudge{50%{transform:translateY(4px)}}
.ty-auto{font:500 11px/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#77777d;transition:opacity .3s}
.ty-auto.off{opacity:0}
/* the end */
.ty-end{display:none;margin-top:24px;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px}
.ty-end.on{display:flex;animation:tyin .45s var(--ease)}
.ty-end p{font:600 clamp(17px,1.4vw,21px)/1.3 var(--body);color:#fff}
.ty-end div{display:flex;align-items:center;gap:20px}
.ty-end .btn-lime{height:48px;padding:0 24px;font-size:16px}
.ty-end .btn-lime:hover{background:#fff;color:var(--ink)}
button.txtlink{border:0;background-color:transparent;cursor:pointer}
.try.fade .try-side,.try.fade .ty-steps,.try.fade .ty-end{opacity:0}
.try-side,.ty-steps{transition:opacity .4s}

/* ---------- the demo on a white ground (Shadi, Nov 15: the hero is black, so the section after it is always white).
   The things you handle (the clip, the look pictures, the phone, the busy button) stay dark objects; the words turn dark. ---------- */
.try[data-ground="light"]{background:var(--bg);color:var(--ink)}
.try[data-ground="light"] .ty-steps{border-top-color:var(--line)}
.try[data-ground="light"] .ty{border-bottom-color:var(--line)}
.try[data-ground="light"] .ty-h b,.try[data-ground="light"] .ty-h h3{color:#A9A9AE}
.try[data-ground="light"] .ty.now .ty-h b,.try[data-ground="light"] .ty.done .ty-h b,.try[data-ground="light"] .ty.now .ty-h h3,.try[data-ground="light"] .ty.done .ty-h h3{color:var(--ink)}
.try[data-ground="light"] .ty-sum,.try[data-ground="light"] .ty-hint,.try[data-ground="light"] .ty-auto{color:var(--slate)}
.try[data-ground="light"] .chip{box-shadow:0 14px 30px -16px rgba(11,11,12,.5)}
.try[data-ground="light"] .chip.held{box-shadow:0 0 0 2px var(--lime),0 22px 44px -10px rgba(11,11,12,.55)}
.try[data-ground="light"] .lp-lbl{color:var(--ink)}
.try[data-ground="light"] .lp-lbl .r{color:var(--slate)}
.try[data-ground="light"] .lp-tile .im{box-shadow:0 0 0 1px var(--line)}
.try[data-ground="light"] .lp-tile.on .im{box-shadow:0 0 0 2.5px var(--lime),0 0 0 4.5px var(--ink)}
.try[data-ground="light"] .lp-tile b{color:var(--slate)}
.try[data-ground="light"] .lp-tile.on b{color:var(--ink)}
.try[data-ground="light"] .mk-btn.busy{box-shadow:none}
.try[data-ground="light"] .mk-btn.done{background:var(--ink);color:var(--lime);box-shadow:none}
.try[data-ground="light"] .mk-steps{color:#A9A9AE}
.try[data-ground="light"] .mk-steps li.now{color:var(--ink)}
.try[data-ground="light"] .mk-steps li.ok{color:var(--slate)}
.try[data-ground="light"] .mk-steps li.ok::before{background:var(--ink)}
.try[data-ground="light"] .p-note{background:#fff;box-shadow:0 0 0 1px var(--line)}
.try[data-ground="light"] .p-note.focus{box-shadow:0 0 0 2.5px var(--lime),0 0 0 4px var(--ink)}
.try[data-ground="light"] .ty-sug button{box-shadow:inset 0 0 0 1.5px #C9C9C4;color:var(--ink)}
.try[data-ground="light"] .ty-sug button:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.try[data-ground="light"] .ty-sug button.on{background:var(--lime);box-shadow:inset 0 0 0 1.5px var(--ink)}
.try[data-ground="light"] .auto{box-shadow:0 0 0 3px var(--bg),0 0 0 5.5px var(--ink)!important}
.try[data-ground="light"] .lp-tile.auto{box-shadow:none!important}
.try[data-ground="light"] .vid-big{box-shadow:0 0 0 1px var(--line),0 50px 90px -50px rgba(11,11,12,.6)}
.try[data-ground="light"] .ty-end p{color:var(--ink)}
.try[data-ground="light"] .ty-end .btn-lime:hover{background:var(--ink);color:var(--lime)}
/* two white sections in a row are parted by a hairline, as on Home */
.hairline{height:1px;background:linear-gradient(var(--line),var(--line)) var(--gut) 0/calc(100% - 2*var(--gut)) 1px no-repeat var(--bg)}

/* a short laptop screen: it tightens up so the button you need next is on screen without scrolling */
@media (min-width:900px) and (max-height:800px){
  .try{padding-top:clamp(36px,5vw,64px)}
  .ty-h{min-height:48px}
  .ty-b{padding-bottom:16px}
  .try-side{top:78px}
}

/* ---------- smaller screens (phones get their own pass later) ---------- */
@media (max-width:899px){
  .yp-h{display:block}
  .yp-h>span:last-child{padding-left:0}
  .yp-sheet{display:flex;flex-direction:column}
  .yp-head,.yp-r{display:contents}
  .yp-head p{order:1;padding:18px 0 12px}
  .yp-head p+p{order:3;padding-left:0;border-left:0;margin-top:22px}
  .yp-c{border-top:1px solid var(--line-d)}
  .yp-c.you{order:2}
  .yp-c.ez{order:4;padding-left:0;border-left:0}
  .yp-c.you:empty{display:none}
  .jobs,.chg,.try{grid-template-columns:minmax(0,1fr)}
  .jb-stage{--ph:min(56vh,480px);height:auto;margin-top:8px}
  .jb-vid{position:relative;right:auto;height:var(--ph);margin:0 auto}
  .jb-card{position:absolute;left:0;right:auto;top:auto;bottom:16px;width:min(270px,78%)}
  .jb-card,.jb-card.on{transform:none}
  .chg{row-gap:28px}
  .chg .vid-big{height:56vh;height:56svh;--r:18px}
  .try-left{display:contents}
  .try-side{position:sticky;top:64px;z-index:3;order:1;margin:14px calc(var(--gut)*-1) 0;padding:10px 0;background:var(--ink)}
  .try[data-ground="light"] .try-side{background:var(--bg)}
  .try .vid-big{height:36vh;height:36svh;--r:14px}
  .ty-steps{order:2;margin-top:0}
  .ty-end{order:3}
  .ty-b{padding-left:0}
  .ty-h{grid-template-columns:24px minmax(0,1fr) auto;gap:10px}
  .ty-sum{font-size:0;gap:0}
}
@media (prefers-reduced-motion:reduce){
  .ty.now .ty-b,.ty-note.on,.ty-end.on,.ty-vid.can .ty-tap{animation:none}
}
