/* Scribbless page, prototype A: "The one line".
   Everything Scribbless lives under .scribbless. GIVEN's header and footer stay achromatic.
   The one deliberate edge: the flourish under the Scribbless nav link. */

@font-face{
  font-family:'Bricolage Grotesque';
  src:url('/assets/scribbless/fonts/BricolageGrotesque-ExtraBold.woff2') format('woff2');
  font-weight:800; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Shantell Sans';
  src:url('/assets/scribbless/fonts/ShantellSans-Variable.woff2') format('woff2');
  font-weight:300 800; font-style:normal; font-display:swap;
}

/* ============ NAV LINK (GIVEN header; the word stays white, only the flourish is purple) ============ */
.site-header nav a.nav-link.nav-scrib{ display:inline-flex; align-items:center; gap:8px; }
/* this page only: a solid header (no purple showing through), and the menu button takes over below 1100px,
   where the full nav plus Scribbless no longer fits on one line */
header.site-header{ background:#000; -webkit-backdrop-filter:none; backdrop-filter:none; }
@media (max-width:1099px){
  .site-header nav a.nav-link, .site-header nav a.nav-link.nav-scrib{ display:none; }
  .mnav-toggle{ display:inline-flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; border:1px solid var(--edge); border-radius:var(--radius-sm); color:var(--steel); transition:color var(--dur-fast) var(--ease-tech), border-color var(--dur-fast) var(--ease-tech); }
  .mnav-toggle:hover, body.mnav-open .mnav-toggle{ color:var(--white); border-color:var(--steel); }
}
@media (min-width:681px) and (max-width:1099px){ body .mnav:not([hidden]){ display:flex !important; } }
.site-header nav a.nav-link.nav-scrib::after{ content:none; }
.nav-scrib img{ width:20px; height:20px; border-radius:22.5%; display:block; flex:none; }
.nav-scrib-word{ position:relative; display:inline-block; }
.nav-scrib-fl{ position:absolute; left:0; width:100%; height:auto; aspect-ratio:230/30; max-width:none; top:calc(100% - 2px); overflow:visible; pointer-events:none; }
.nav-scrib-fl path{ fill:none; stroke-width:5; stroke-linecap:round; stroke-dasharray:1; }
.nav-scrib-fl .fl-rest{ stroke:var(--steel); stroke-dashoffset:0; transition:opacity .25s var(--ease-tech); }
.nav-scrib-fl .fl-ink{ stroke:#B26AF9; stroke-dashoffset:1; transition:stroke-dashoffset .3s var(--ease-mech); }
.nav-scrib:hover .fl-rest, .nav-scrib:focus-visible .fl-rest{ opacity:0; }
.nav-scrib:hover .fl-ink, .nav-scrib:focus-visible .fl-ink{ stroke-dashoffset:0; transition:stroke-dashoffset .6s var(--ease-tech); }
.site-header nav a.nav-link.nav-scrib:not([aria-current]) .fl-rest{ opacity:0; }
.mnav-scrib img{ width:30px; height:30px; border-radius:22.5%; align-self:center; margin-left:auto; }
@media (prefers-reduced-motion: reduce){ .nav-scrib-fl path{ transition:none !important; } }

/* ============ THE SCRIBBLESS WORLD ============ */
.scribbless{
  --sb-bg:#0B0A11; --sb-surface:#16141F; --sb-raised:#1E1B2A;
  --sb-hairline:rgb(200 160 255 / .14);
  --sb-text:#F2EFFA; --sb-text-2:#A79FC0; --sb-faint:#6E6787;
  --sb-accent:#B26AF9; --sb-bright:#D4B8FF; --sb-deep:#7A3FE4;
  --sb-gradient:linear-gradient(135deg,#D4B8FF,#B26AF9 52%,#7A3FE4);
  --sb-display:'Bricolage Grotesque','SF Pro Rounded',ui-rounded,'Sora',sans-serif;
  --sb-hand:'Shantell Sans','Bradley Hand',cursive;
  --sb-pad:max(24px,5vw);
  --shot-w:250px;
  position:relative;
  background:var(--sb-bg);
  color:var(--sb-text);
  overflow:hidden; overflow:clip;
  padding-top:64px;            /* GIVEN header height */
  isolation:isolate;
}
/* the ground hands back to GIVEN black before the footer */
.scribbless::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:220px; z-index:0; pointer-events:none;
  background:linear-gradient(to bottom, rgb(11 10 17 / 0), #000);
}
footer.site-footer{ margin-top:0; background:#000; }

.sb-ink{ position:absolute; left:0; top:0; width:100%; height:100%; max-width:none; z-index:1; pointer-events:none; overflow:visible; }
.scribbless{ --ink:5px; }
.sb-ink .core{ stroke-width:var(--ink); }
.sb-ink .g1{ stroke-width:15px; opacity:.24; }
.sb-ink .g2{ stroke-width:32px; opacity:.13; }
#sbTip{ opacity:0; transition:opacity .5s ease; will-change:transform; }
#sbTip.on{ opacity:1; }
@media (max-width:1099px){
  .scribbless{ --ink:3.5px; } .sb-ink .g1{ stroke-width:10px; opacity:.2; } .sb-ink .g2{ stroke-width:21px; opacity:.1; }
}

.sb-sec{ position:relative; padding:clamp(64px,9vh,96px) 0; }
.sb-wrap{ position:relative; z-index:2; max-width:1180px; margin:0 auto; padding:0 88px; }

.scribbless h1, .scribbless h2{ font-family:var(--sb-display); font-weight:800; letter-spacing:-0.022em; line-height:1.02; margin:0; color:var(--sb-text); text-wrap:balance; }
.scribbless h2{ font-size:clamp(40px,5.2vw,68px); }
.scribbless p{ margin:0; }
.sb-copy p:not(.sb-step), .sb-glass p:not(.sb-step):not(.sb-link), .sb-price-block p:not(.sb-step):not(.sb-never){
  font-size:clamp(17px,1.5vw,20px); line-height:1.55; color:var(--sb-text-2); margin-top:20px; max-width:30em; text-wrap:pretty;
}
.sb-step{ font:600 12px/1 var(--font-body); letter-spacing:.2em; text-transform:uppercase; color:var(--sb-accent); margin-bottom:18px !important; }
.scribbless a:focus-visible{ outline:2px solid var(--sb-bright); outline-offset:4px; border-radius:6px; }

/* ---- wordmark, per BRAND_KIT: gradient fill, flourish under the word, electric glow ---- */
.sb-wordmark{ position:relative; display:inline-block; font-family:var(--sb-display); font-weight:800; letter-spacing:0; line-height:1; margin:0; font-size:clamp(64px,7.6vw,112px); }
.sb-wordmark .wm-text{
  display:inline-block; padding-bottom:.06em;
  background:var(--sb-gradient); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 0 .32em rgb(178 106 249 / .35));
}
.wm-fl{ position:absolute; left:0; top:0; width:100%; height:100%; max-width:none; overflow:visible; pointer-events:none; }
.wm-fl path{ fill:none; stroke:#B26AF9; stroke-width:var(--ink); stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:0; }   /* one pen: the line's own weight */
.sb-wordmark-end{ font-size:clamp(72px,10.5vw,150px); }
/* the moment it is signed, the word takes the light */
.sb-wordmark-end::before{ content:""; position:absolute; inset:-60% -30%; z-index:-1; border-radius:50%; pointer-events:none; opacity:0; transition:opacity 1.4s var(--ease-tech);
  background:radial-gradient(closest-side, rgb(178 106 249 / .30), rgb(122 63 228 / .09) 55%, rgb(122 63 228 / 0)); }
.sb-wordmark-end.signed::before, html:not(.sb-anim) .sb-wordmark-end::before{ opacity:1; }

/* ---- hero ---- */
.sb-hero{ min-height:calc(100svh - 64px); display:flex; align-items:center; padding-top:30px; padding-bottom:40px; }
.sb-hero-grid{ display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:40px; align-items:center; width:100%; }
.sb-eyebrow{ font:600 14px/1.4 var(--font-body); letter-spacing:.03em; color:var(--sb-text-2); margin-bottom:24px !important; }   /* no caps: "iPhone" keeps its lowercase i */
.sb-sub{ font-family:var(--sb-display); font-weight:800; font-size:clamp(24px,2.5vw,34px); line-height:1.15; letter-spacing:-0.01em; color:var(--sb-text); margin-top:44px !important; }
.sb-lede{ font-size:clamp(17px,1.45vw,20px); line-height:1.55; color:var(--sb-text-2); margin-top:16px !important; max-width:29em; text-wrap:pretty; }
.sb-get{ margin-top:34px; display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.sb-badge{ display:inline-block; padding:13px; margin:-13px; line-height:0; }   /* clear space: a quarter of the badge height */
.sb-badge img{ height:50px; width:auto; display:block; }
.sb-fine{ font-size:14px; line-height:1.5; color:var(--sb-text-2); }
.sb-scrib-stage{ position:relative; display:flex; justify-content:center; padding-bottom:170px; }
.sb-scrib{ position:relative; width:clamp(220px,23vw,310px); aspect-ratio:1; z-index:3; }
.scrib-breathe, .scrib-svg{ width:100%; height:100%; display:block; position:relative; }
.scrib-svg{ overflow:visible; transform-origin:50% 100%; }
.scrib-wig{ transform-box:fill-box; transform-origin:50% 100%; }
.scrib-eye{ transform-box:fill-box; transform-origin:50% 50%; }
/* light comes FROM Scrib: one halo that hugs him */
.sb-scrib::before{
  content:""; position:absolute; inset:-75%; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, rgb(178 106 249 / .44) 0, rgb(178 106 249 / .17) 30%, rgb(122 63 228 / .06) 50%, rgb(122 63 228 / 0) 68%);
}
/* Scrib alive, timed from ScribblessMascot.swift: breathe 3.2s each way (face to 1.03, halo .97 to 1.07),
   the hop (.08 squash, .16 stretch, .45 settle, from his feet), the dance lean, the blink (.08 shut, .11 held, .12 open) */
html.sb-anim.sb-go .sb-scrib::before{ animation:sbHalo 3.2s ease-in-out 1.7s infinite alternate; }
@keyframes sbHalo{ from{ opacity:.82; transform:scale(.97); } to{ opacity:1; transform:scale(1.07); } }
html.sb-anim.sb-go .scrib-breathe{ animation:sbBreathe 3.2s ease-in-out 1.7s infinite alternate; }
@keyframes sbBreathe{ from{ transform:scale(1); } to{ transform:scale(1.03); } }
html.sb-anim .scrib-svg{ opacity:0; }
html.sb-anim.sb-go .scrib-svg{ opacity:1; animation:sbHello 1.05s linear both; }
@keyframes sbHello{
  0%{ opacity:0; transform:scale(.6); animation-timing-function:cubic-bezier(0.16,1,0.3,1); }
  34%{ opacity:1; transform:scale(1); animation-timing-function:ease-in; }
  42%{ transform:scale(1.06,.92); animation-timing-function:ease-out; }
  57%{ transform:translateY(-6%) scale(.97,1.06); animation-timing-function:cubic-bezier(.3,1.4,.5,1); }
  100%{ opacity:1; transform:none; }
}
html.sb-anim .scrib-svg.wig .scrib-wig{ animation:sbWiggle .6s linear both; }
@keyframes sbWiggle{ 0%{ transform:none; } 15%{ transform:rotate(-8deg); } 37%{ transform:rotate(6.8deg); } 57%{ transform:rotate(-4deg); } 75%{ transform:rotate(2deg); } 100%{ transform:none; } }
html.sb-anim .scrib-svg.blink .scrib-eye{ animation:sbBlink .31s linear both; }
@keyframes sbBlink{ 0%{ transform:none; animation-timing-function:ease-in; } 26%{ transform:scaleY(.08); } 61%{ transform:scaleY(.08); animation-timing-function:ease-out; } 100%{ transform:none; } }

/* ---- screens: bare rounded screenshots, hairline glass edge, violet light behind, never tilted ---- */
.sb-shot{ position:relative; margin:0; width:var(--shot-w); flex:none; z-index:2; }
.sb-shot img{
  display:block; width:100%; height:auto; aspect-ratio:1206/2622; position:relative;
  border-radius:calc(var(--shot-w) * .13);
  box-shadow:0 0 0 1px rgb(212 184 255 / .22), 0 40px 70px -34px rgb(0 0 0 / .9);
  background:var(--sb-surface);
}
.sb-shot::before{
  content:""; position:absolute; inset:-22% -42%; z-index:-1; pointer-events:none; border-radius:50%;
  background:radial-gradient(closest-side, rgb(178 106 249 / .26), rgb(122 63 228 / .08) 55%, rgb(122 63 228 / 0));
}
.sb-cap{
  position:absolute; left:50%; top:calc(100% + 16px); transform:translateX(-50%); white-space:nowrap;
  font:600 13px/1 var(--font-body); letter-spacing:.02em; color:var(--sb-text);
  padding:9px 14px; border-radius:999px; border:1px solid var(--sb-hairline);
  background:rgb(30 27 42 / .72); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
}
.sb-hand{ font-family:var(--sb-hand); font-weight:500; font-size:22px; line-height:1.2; color:var(--sb-bright); position:absolute; right:calc(100% + 30px); top:9%; width:7.2em; text-align:right; transform:rotate(-4deg); }

/* ---- two-column story blocks ---- */
.sb-two-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:60px; }
.sb-two .sb-shot{ --shot-w:280px; justify-self:center; }
.sb-two .sb-copy{ max-width:440px; }
.sb-flip .sb-copy{ justify-self:start; display:flex; flex-direction:column; align-items:flex-start; }
.sb-flip .sb-shot{ justify-self:center; }
#mkAsk{ position:relative; margin:80px 0 0 170px; --s:66px; }

/* ---- write-ups: three screens stepping down, the line weaves them ---- */
.sb-three .sb-copy{ max-width:520px; }
.sb-row{ position:relative; display:flex; align-items:flex-start; --gap:84px; gap:var(--gap); margin-top:132px; padding-bottom:100px; --shot-w:228px; }
@media (max-width:1279px){ .sb-row{ --shot-w:206px; --gap:68px; } }
/* the Journal: a fourth screen, up beside the copy, right of where the line comes down */
.sb-d{ --shot-w:228px; position:absolute; top:0; left:864px; }
@media (max-width:1279px){ .sb-d{ --shot-w:206px; left:822px; top:-36px; } }
.sb-b{ margin-top:112px; } .sb-c{ margin-top:224px; }
#mkCards{ position:absolute; left:calc(var(--shot-w) * 3 + var(--gap) * 2 + 58px); top:calc(var(--shot-w) * 2.17 + 110px); --s:64px; }

/* ---- on your phone: one glass card ---- */
.sb-glass{
  max-width:640px; margin:0 auto; padding:clamp(30px,4vw,52px);
  border-radius:28px; border:1px solid var(--sb-hairline);
  background:linear-gradient(160deg, rgb(40 34 60 / .62), rgb(22 20 31 / .62));
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  box-shadow:0 0 90px -20px rgb(178 106 249 / .28), inset 0 1px 0 rgb(255 255 255 / .05);
}
.sb-glass h2{ font-size:clamp(36px,4.4vw,56px); }
.sb-link{ margin-top:14px !important; font-size:16px; }
.sb-link a, .sb-made a{ display:inline-flex; align-items:center; min-height:44px; padding:0 2px; }
.sb-link a, .sb-made a{ color:var(--sb-bright); text-decoration:underline; text-decoration-color:rgb(212 184 255 / .4); text-underline-offset:4px; transition:text-decoration-color .2s; }
.sb-link a:hover, .sb-made a:hover{ text-decoration-color:currentColor; }

/* ---- the price, plain ---- */
.sb-price-block{ max-width:900px; position:relative; }
/* ---- arrivals with presence: chips, Scrib's line, the price card (glass, no new art) ---- */
.sb-chips{ list-style:none; margin:26px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.sb-chips li, .sb-bubble span{
  font:600 14px/1 var(--font-body); color:var(--sb-text); padding:11px 16px; border-radius:999px; border:1px solid var(--sb-hairline);
  background:rgb(30 27 42 / .72); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
}
.sb-bubble{ margin-top:28px !important; }
.sb-bubble span{ display:inline-block; font-family:var(--sb-hand); font-weight:500; font-size:19px; color:var(--sb-bright); padding:13px 20px 14px; border-radius:22px 22px 22px 6px; box-shadow:0 0 50px -14px rgb(178 106 249 / .4); }
.sb-pricecard{
  position:absolute; right:0; top:4px; width:264px; padding:24px 26px 26px; border-radius:22px; border:1px solid var(--sb-hairline);
  background:linear-gradient(160deg, rgb(40 34 60 / .66), rgb(22 20 31 / .66)); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  box-shadow:0 0 80px -18px rgb(178 106 249 / .34), inset 0 1px 0 rgb(255 255 255 / .05);
}
.sb-pricecard .sb-step{ margin-bottom:14px !important; }
.sb-pricecard .sb-amount{ font-family:var(--sb-display); font-weight:800; font-size:54px !important; line-height:1; letter-spacing:-0.02em; color:var(--sb-text) !important; margin:0 !important; }
.sb-pricecard .sb-once{ font-size:15px !important; line-height:1.45; color:var(--sb-text-2); margin-top:10px !important; }
.sb-glass{ position:relative; }
.mk-corner{ right:-30px; top:-36px; --s:70px; --r:10deg; }
.mk-signed{ left:calc(100% + 18px); top:-.12em; --s:.44em; --r:8deg; opacity:0; transition:opacity .9s var(--ease-tech) .2s, clip-path .9s var(--ease-tech) .2s; clip-path:inset(-8% 108% -8% -8%); }
.sb-wordmark-end.signed .mk-signed, html:not(.sb-anim) .mk-signed{ opacity:1; clip-path:inset(-8%); }
/* screen recordings (assets/clips/<name>.mp4, when they exist): laid over the still, same shape, no shift */
.sb-shot .sb-clip{ position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; border-radius:calc(var(--shot-w) * .13); opacity:0; transition:opacity .4s ease; pointer-events:none; }
.sb-shot .sb-clip.on{ opacity:1; }
.sb-shot.has-clip .sb-flip-img{ display:none; }
/* the flashcard turns over once it has arrived: question, then answer */
.sb-shot .sb-flip-img{ position:absolute; left:0; top:0; opacity:0; transition:opacity .7s ease; }
html.sb-anim .sb-b.in .sb-flip-img{ animation:sbFlip 7s ease-in-out 1.8s infinite; }
@keyframes sbFlip{ 0%,8%{ opacity:0; } 16%,58%{ opacity:1; } 66%,100%{ opacity:0; } }
.sb-never{ margin-top:54px !important; font-family:var(--sb-display); font-weight:800; font-size:clamp(44px,5.9vw,84px); line-height:1; white-space:nowrap; letter-spacing:-0.025em; color:var(--sb-text); }
.sb-never span{ display:inline-block; }
.sb-slot{ height:64px; width:10px; }   /* the pen underlines here; JS sizes it to the words above */

/* ---- get it ---- */
.sb-end{ text-align:center; padding-top:150px; padding-bottom:150px; }
.sb-end .sb-wrap{ display:flex; flex-direction:column; align-items:center; }
.sb-end-get{ margin-top:clamp(70px,9vw,110px); display:flex; flex-direction:column; align-items:center; gap:22px; }
.sb-end-get .sb-sub{ margin-top:0 !important; }
.sb-made{ margin-top:6px !important; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:0 6px; font-size:15px; color:var(--sb-text-2); }
.sb-made span{ margin:0 8px; color:var(--sb-faint); }

/* ---- Emma's marks: her shapes, muted in the ground, a few bright. They arrive by a wipe. ---- */
.mk{
  position:absolute; z-index:0; width:var(--s,60px); height:var(--s,60px); display:block; pointer-events:none;
  background:rgb(200 170 255 / .13);
  -webkit-mask:var(--m) center / contain no-repeat; mask:var(--m) center / contain no-repeat;
  transform:rotate(var(--r,0deg));
}
.mk-bright{ background:#B26AF9; z-index:2; }
.mk-anchor{ z-index:2; }
.mk[data-m="pencil"]{ --m:url(/assets/scribbless/marks/pencil.svg); }
.mk[data-m="cup"]{ --m:url(/assets/scribbless/marks/cup.svg); }
.mk[data-m="books"]{ --m:url(/assets/scribbless/marks/books.svg); }
.mk[data-m="heartSmall"]{ --m:url(/assets/scribbless/marks/heartSmall.svg); }
.mk[data-m="sparkles"]{ --m:url(/assets/scribbless/marks/sparkles.svg); }
.mk[data-m="bulb"]{ --m:url(/assets/scribbless/marks/bulb.svg); }
.mk[data-m="cap"]{ --m:url(/assets/scribbless/marks/cap.svg); }
.mk[data-m="flowerSmall"]{ --m:url(/assets/scribbless/marks/flowerSmall.svg); }
.mk[data-m="notePencil"]{ --m:url(/assets/scribbless/marks/notePencil.svg); }
.mk[data-m="checklist"]{ --m:url(/assets/scribbless/marks/checklist.svg); }
.mk[data-m="cards"]{ --m:url(/assets/scribbless/marks/cards.svg); }
.mk[data-m="question"]{ --m:url(/assets/scribbless/marks/question.svg); }
.mk[data-m="balloons"]{ --m:url(/assets/scribbless/marks/balloons.svg); }
.mk[data-m="squiggleSparkle"]{ --m:url(/assets/scribbless/marks/squiggleSparkle.svg); }
.mk[data-m="phone"]{ --m:url(/assets/scribbless/marks/phone.svg); }
.mk[data-m="house"]{ --m:url(/assets/scribbless/marks/house.svg); }
.mk[data-m="dollar"]{ --m:url(/assets/scribbless/marks/dollar.svg); }
.mk[data-m="smile"]{ --m:url(/assets/scribbless/marks/smile.svg); }
.mk[data-m="star"]{ --m:url(/assets/scribbless/marks/star.svg); }
.mk[data-m="heart"]{ --m:url(/assets/scribbless/marks/heart.svg); }

@media (min-width:1100px) and (max-width:1279px){ .sb-sec > .mk[data-m="notePencil"], .sb-sec > .mk[data-m="sparkles"], .sb-sec > .mk[data-m="cap"], .sb-sec > .mk[data-m="house"], .sb-sec > .mk[data-m="dollar"], .sb-sec > .mk[data-m="smile"]{ display:none; } }

/* ============ MOTION: pieces arrive when the pen reaches them (page.js adds .in) ============ */
/* every piece rises in the same way: 40px up, opacity in, .7s on the site's ease; secondary pieces follow a beat behind */
html.sb-anim [data-pop]{ transition:opacity .7s var(--ease-tech) var(--d,0s), transform .7s var(--ease-tech) var(--d,0s), clip-path .8s var(--ease-tech) var(--d,0s); }
html.sb-anim [data-pop="rise"], html.sb-anim [data-pop="shot"]{ opacity:0; transform:translate3d(0,40px,0); }
html.sb-anim [data-pop="chips"], html.sb-anim .sb-pricecard{ --d:.09s; }
html.sb-anim [data-pop="note"]{ --d:.25s; }
html.sb-anim [data-pop="fade"]{ opacity:0; }
html.sb-anim [data-pop="chips"]{ opacity:0; transform:translate3d(0,40px,0); }
html.sb-anim [data-pop="note"]{ opacity:0; transform:rotate(-4deg) translate3d(0,40px,0); }
html.sb-anim [data-pop="wipe"]{ clip-path:inset(-8% 108% -8% -8%); }
html.sb-anim [data-pop].in{ opacity:1; transform:none; }
html.sb-anim [data-pop="note"].in{ transform:rotate(-4deg); }
html.sb-anim [data-pop="wipe"].in{ clip-path:inset(-8% -8% -8% -8%); transform:rotate(var(--r,0deg)); }
html.sb-anim .mk[data-pop="wipe"]{ transform:rotate(var(--r,0deg)); }
html.sb-anim .sb-measure [data-pop="chips"], html.sb-anim .sb-measure [data-pop="rise"], html.sb-anim .sb-measure [data-pop="shot"], html.sb-anim .sb-measure .hi{ transform:none !important; transition:none !important; }
/* hero: timed on load (it is already on screen) */
html.sb-anim .hi, html.sb-anim .hi-fade{ opacity:0; }
html.sb-anim .hi{ transform:translate3d(0,24px,0); }
html.sb-anim.sb-go .hi, html.sb-anim.sb-go .hi-fade{ opacity:1; transform:none; transition:opacity .9s var(--ease-tech), transform 1s var(--ease-tech); transition-delay:calc(.12s + var(--i) * .09s); }
html.sb-anim .wm-fl path{ stroke-dashoffset:1; }
html.sb-anim.sb-go .wm-fl path{ stroke-dashoffset:0; transition:stroke-dashoffset 1s var(--ease-mech) .75s; }
html.sb-anim .sb-hero .mk{ opacity:0; }
html.sb-anim.sb-go .sb-hero .mk{ opacity:1; transition:opacity 1.6s ease .5s; }

/* ============ SMALLER SCREENS: one column, the line runs a left rail and weaves the screens ============ */
@media (max-width:1099px){
  .scribbless{ --shot-w:210px; --sb-pad:20px; padding-top:72px; }
  .sb-wrap{ max-width:560px; padding:0 20px 0 52px; }
  .sb-sec{ padding:64px 0; }
  .scribbless h2{ font-size:clamp(38px,10.5vw,56px); }
  .sb-hero{ min-height:0; display:block; padding-top:26px; padding-bottom:70px; }
  .sb-hero-grid{ display:flex; flex-direction:column-reverse; gap:0; align-items:stretch; }
  .sb-scrib-stage{ justify-content:flex-end; padding:0 4px 44px 0; }
  .sb-scrib{ width:128px; }
  .sb-eyebrow{ font-size:13px; margin-bottom:16px !important; }
  .sb-wordmark{ font-size:clamp(52px,15.6vw,84px); }
  .sb-sub{ margin-top:34px !important; font-size:25px; }
  .sb-get{ flex-direction:column; align-items:flex-start; gap:14px; }
  .sb-hero .mk{ display:none; }
  .mk:not(.mk-anchor){ --s:44px !important; opacity:.8; }
  .sb-two-grid{ display:block; }
  .sb-two .sb-shot{ --shot-w:210px; margin-top:56px; justify-self:start; }
  .sb-sec > .mk-bright{ display:none; }
  .sb-flip .sb-two-grid{ display:flex; flex-direction:column-reverse; }
  .sb-flip .sb-shot{ align-self:flex-end; margin-top:60px; }
  .sb-flip .sb-copy{ display:block; align-self:stretch; }
  .sb-hand{ right:auto; left:calc(100% + 12px); top:7%; width:4.6em; text-align:left; font-size:18px; transform:rotate(3deg); }
  html.sb-anim [data-pop="note"]{ transform:rotate(3deg) translate3d(0,40px,0); }
  html.sb-anim [data-pop="note"].in{ transform:rotate(3deg); }
  #mkAsk{ position:absolute; margin:0; left:84px; bottom:150px; --s:50px; }   /* left is from the page edge: the column starts at 52px */
  .sb-flip .sb-two-grid{ position:relative; }
  .sb-row{ flex-direction:column; gap:120px; margin-top:76px; padding-bottom:110px; --shot-w:210px; }
  .sb-b{ margin-top:0; align-self:flex-end; } .sb-c{ margin-top:0; }
  .sb-cap{ left:0; transform:none; }
  .sb-b .sb-cap, .sb-d .sb-cap{ left:auto; right:0; }
  .sb-d{ --shot-w:210px; position:relative; top:auto; left:auto; margin:20px 0 100px auto; }
  #mkCards{ left:auto; right:34px; top:auto; bottom:300px; --s:46px; }
  .sb-glass{ border-radius:24px; padding:28px 24px 30px; }
  .sb-never{ margin-top:40px !important; font-size:clamp(40px,12.4vw,64px); white-space:normal; }
  .sb-slot{ height:56px; }
  .sb-end{ padding-top:96px; padding-bottom:110px; }
  .sb-pricecard{ position:static; width:auto; max-width:300px; margin-top:28px; }
  .mk-corner{ right:-8px; top:-30px; --s:50px; }
  .mk-signed{ display:none; }
  .sb-bubble span{ font-size:17px; }
  .sb-end .sb-wrap{ padding:0 20px; }
  .sb-wordmark-end{ font-size:clamp(46px,13vw,88px); }
  .sb-end-get{ margin-top:74px; }
  .sb-made span{ margin:0 5px; }
  .sb-sec > .mk:not([data-m="notePencil"]):not([data-m="question"]){ display:none; }   /* a phone has no spare ground: keep the two that sit clear of words */
}

@media (prefers-reduced-motion: reduce){
  #sbTip{ display:none; }
}
