/* ==========================================================================
   two-suns-home.css - the homepage's own rules.

   Lifted out of three inline <style> blocks in the design-tool export on
   2026-09-02. Tokens live in tokens.css and the footer lives in two-suns-footer.css;
   nothing here redefines either.
   ========================================================================== */

/* The homepage footer runs full bleed. The notes index caps its footer at
   --shell and centres it. See the note at the top of two-suns-footer.css: this
   difference is real and unsettled, and it deletes once it is settled. */
.foot-bar{margin:0 clamp(12px,1.6vw,24px);padding:22px 0 30px}

*{box-sizing:border-box;}
  html,body{margin:0;padding:0;overscroll-behavior:none;background:var(--bg-a);}
  body{font-family:'Schibsted Grotesk',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;}
  ::selection{background:var(--ink);color:var(--bg-a);}
  a{color:inherit;text-decoration:none;}
  a:hover{color:inherit;}
  [data-carousel]{scrollbar-width:none;}
  [data-carousel]::-webkit-scrollbar{display:none;}
  @keyframes sweepX{0%{background-position:130% 0;}30%{background-position:-30% 0;}100%{background-position:-30% 0;}}
  @keyframes sweepYUp{0%{background-position:0 -30%;}30%{background-position:0 130%;}100%{background-position:0 130%;}}
  @keyframes spin{to{transform:rotate(360deg);}}
  @keyframes fadeUp{from{opacity:0;transform:translateY(14px);}}
  @keyframes deviceIn{from{opacity:0;transform:translateY(26px) scale(.965);}}
  @keyframes deviceInSm{from{opacity:0;transform:translateY(20px) scale(.94);}}
  @keyframes fadeIn{from{opacity:0;}}
  @keyframes drawX{from{transform:scaleX(0);}}
  @keyframes drawY{from{transform:scaleY(0);}}
  [data-revealed] [data-draw]{animation-play-state:running !important;}
  [data-noanim] [data-draw]{animation:none !important;}

    /* Verum-bar layer: rolling nav, exclusion cursor, spotlight fallbacks */
    /* rolling nav labels moved to assets/nav.css */
    #vx-cursor{position:fixed;top:0;left:0;width:10px;height:10px;border-radius:50%;z-index:998;pointer-events:none;
      translate:-50% -50%;transition:width var(--dur-2) cubic-bezier(.19,1,.22,1),height var(--dur-2) cubic-bezier(.19,1,.22,1);
      mix-blend-mode:exclusion;background:var(--ink-hi)}
    #vx-cursor.grow{width:64px;height:64px}
    #vx-cursor.off{opacity:0}
    @media(pointer:coarse){#vx-cursor{display:none}}

    /* The mark: a bone blob punched over the wordmark, with a material take of
       the same mark showing through a slightly smaller blob inside it. The two
       boxes hang far past the wordmark so the blob is never clipped flat when
       the cursor sits near an edge. */
    [data-mark66]{position:relative;width:100%;user-select:none;cursor:crosshair;
      --mk-a:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath fill='black' d='M100 5c25-11 56 3 69 24 13 21 9 41 20 60 11 20 2 49-18 60-19 11-41 4-61 15-21 11-50 7-64-10-14-18-10-40-19-61-9-21 0-46 18-58 18-13 34-17 55-30z'/%3E%3C/svg%3E");
      --mk-b:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath fill='black' d='M100 15c21-9 51 5 63 25 12 20 7 40 17 58 10 19-2 45-21 55-18 10-40 2-60 11-21 9-45 0-58-17-12-17-6-37-14-57-8-20 3-43 21-55 17-11 36-12 52-20z'/%3E%3C/svg%3E")}
    [data-mark66] .mk-flat{width:100%;height:auto;display:block}
    [data-mark66] .mk-blot,[data-mark66] .mk-mat{position:absolute;top:-130%;bottom:-130%;left:-12%;right:-12%;
      opacity:0;pointer-events:none;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
    [data-mark66] .mk-blot{background:var(--ink);
      -webkit-mask-image:var(--mk-a);mask-image:var(--mk-a);
      -webkit-mask-size:calc(var(--mks,440px)*1.34);mask-size:calc(var(--mks,440px)*1.34);
      -webkit-mask-position:calc(var(--mkx,-9999px) - var(--mks,440px)*.17) calc(var(--mky,-9999px) - var(--mks,440px)*.17);
      mask-position:calc(var(--mkx,-9999px) - var(--mks,440px)*.17) calc(var(--mky,-9999px) - var(--mks,440px)*.17)}
    [data-mark66] .mk-mat{background-position:center;background-repeat:no-repeat;
      background-size:calc(100% * 100 / 124) auto;
      -webkit-mask-image:var(--mk-b);mask-image:var(--mk-b);
      -webkit-mask-size:var(--mks,440px);mask-size:var(--mks,440px);
      -webkit-mask-position:var(--mtx,-9999px) var(--mty,-9999px);
      mask-position:var(--mtx,-9999px) var(--mty,-9999px)}
    [data-mark66] .mk-on{opacity:1}
    [data-mark66-now]{transition:opacity var(--dur-1) cubic-bezier(.19,1,.22,1)}
    @media(prefers-reduced-motion:reduce){[data-mark66-now]{transition:none}}
    /* the mark's own band. It clips, and the blob is held inside it, so nothing
       below ever gets covered. */
    .mark-band{position:relative;overflow:hidden;padding:clamp(140px,19vh,215px) clamp(12px,1.6vw,24px)}
    @media(max-width:700px){
      .mark-band{padding:clamp(90px,13vh,140px) clamp(12px,1.6vw,24px)}
    }
    @media(max-width:860px){
      [data-spot]{height:auto !important}
      [data-spot] [data-spot-pin]{position:relative !important;height:auto !important;padding:80px 0 !important;overflow:visible !important}
      [data-spot] [data-spot-grid]{grid-template-columns:1fr !important;gap:30px !important;height:auto !important;align-items:start !important}
      [data-spot] [data-spot-slot]{display:none !important}
      [data-spot] [data-spot-media]{position:relative !important;transform:none !important;width:100% !important;height:auto !important;aspect-ratio:16/10;object-fit:cover;display:block}
      [data-spot] [data-spot-text]{opacity:1 !important;transform:none !important}
    }
    /* On a wide screen the reel needs no heading: 340vh of camera pulling back
       through the room is the introduction. Both blocks below take that move
       away, and until 2026-09-04 they left the section with no words on it at
       all, a 188px picture in a black band. The heading is for exactly those
       two cases. */
    [data-room-title]{display:none}

    @media(max-width:860px){
      /* no camera move on a phone: the film just plays in place */
      [data-room] [data-room-title]{display:block !important}
      [data-room]{height:auto !important}
      [data-room] [data-room-pin]{position:relative !important;height:auto !important;overflow:visible !important;padding:80px var(--gutter) !important}
      [data-room] [data-room-stage]{position:relative !important;inset:auto !important;transform:none !important}
      [data-room] [data-room-shell]{display:none !important}
      [data-room] [data-room-screen]{position:relative !important;left:auto !important;top:auto !important;width:100% !important;transform:none !important}
      [data-room] [data-room-bezel]{opacity:1 !important}
      [data-room] [data-room-ui]{display:none !important}
    }
    @media(prefers-reduced-motion:reduce){
      [data-room] [data-room-title]{display:block !important}
      [data-room]{height:auto !important}
      [data-room] [data-room-pin]{position:relative !important;height:auto !important;overflow:visible !important;padding:80px var(--gutter) !important}
      [data-room] [data-room-stage]{position:relative !important;inset:auto !important;transform:none !important}
      [data-room] [data-room-shell]{display:none !important}
      [data-room] [data-room-screen]{position:relative !important;left:auto !important;top:auto !important;width:100% !important;transform:none !important}
      [data-room] [data-room-bezel]{opacity:1 !important}
      [data-room] [data-room-ui]{display:none !important}
      [data-spot]{height:auto !important}
      [data-spot] [data-spot-pin]{position:relative !important;height:auto !important;padding:80px 0 !important;overflow:visible !important}
      [data-spot] [data-spot-grid]{height:auto !important;align-items:start !important}
      [data-spot] [data-spot-slot]{display:none !important}
      [data-spot] [data-spot-media]{position:relative !important;transform:none !important;width:100% !important;height:auto !important;aspect-ratio:16/10;object-fit:cover;display:block}
      [data-spot] [data-spot-text]{opacity:1 !important;transform:none !important}
      #vx-cursor{display:none}
    }
    /* nav mobile rules moved to assets/nav.css */
  

    [data-final]{position:relative;z-index:2;background:var(--bg-a);border-top:1px solid var(--line);overflow:hidden;}
    [data-final] .wrap{width:100%;max-width:var(--shell);margin:0 auto;padding:0 var(--gutter);}
    [data-final] .serif{font-family:var(--font-display);font-weight:200;letter-spacing:-.035em;color:var(--ink);}
    [data-final] .meta{font-family:'Geist Mono',monospace;font-size:var(--t-label);font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--quiet);}

    /* the line-up, at a much smaller surface */
    .castx{padding:var(--bay) 0;}
    .castx .grid{display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);gap:clamp(28px,4.4vw,64px);align-items:start;margin-top:var(--stack);}
    .castx .divide{background:var(--line);align-self:stretch;}
    /* every quote sits in the SAME grid cell, so the block is always as tall as the longest one */
    .castx .say{display:grid;position:relative;}
    .castx .say .q{grid-area:1/1;margin:0;opacity:0;transform:translateY(7px);pointer-events:none;
      transition:opacity var(--dur-1) ease-out,transform 0s linear .2s;}
    .castx .say .q.on{opacity:1;transform:none;pointer-events:auto;
      transition:opacity var(--dur-2) cubic-bezier(.4,0,.2,1) .15s,transform var(--dur-3) cubic-bezier(.19,1,.22,1) .1s;}
    .castx .say p{margin:0;font-size:var(--t-5);line-height:1.46;}
    .castx .say .by{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:22px;}
    .castx .say .dash{width:26px;height:1px;background:var(--line);margin:2px 0;}
    .castx .say::before{content:"\201C";position:absolute;left:-.62em;top:-.42em;font-family:var(--font-display);
      font-size:clamp(62px,5.8vw,94px);line-height:1;color:var(--ink);opacity:.09;pointer-events:none;}
    .castx .line{display:flex;align-items:flex-end;justify-content:center;gap:clamp(12px,1.8vw,28px);}
    .castx button{background:none;border:0;padding:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;}
    .castx button img{display:block;width:clamp(66px,6.2vw,88px);opacity:.42;
      transition:opacity var(--dur-2) cubic-bezier(.4,0,.2,1),transform var(--dur-3) cubic-bezier(.19,1,.22,1);}
    .castx button .nm{font-family:'Geist Mono',monospace;font-size:var(--t-micro);letter-spacing:.2em;text-transform:uppercase;color:var(--quiet);margin-top:9px;transition:color var(--dur-2) ease;}
    .castx button:hover img{opacity:.5;}
    .castx button.on img{opacity:1;transform:translateY(-8px);}
    .castx button.on .nm{color:var(--ink);}
    @media(prefers-reduced-motion:reduce){.castx .say .q,.castx button img{transition-duration: var(--dur-1);}}

    @media(max-width:900px){
      .castx .grid{grid-template-columns:1fr !important;gap:34px !important;}
      .castx .divide{display:none;}
      .castx .say{max-width:none;}
      .castx .line{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;
        padding:12px 0 4px;margin:-12px 0 -4px;}
    }


/* ==========================================================================
   WHAT'S INCLUDED (#overview). One anchor card carrying the ranked list at
   full size, three short horizontal cards beside it.

   Replaced four equal boxes on 2026-09-05 (Liam picked direction B from three
   built mockups). What the old shape got wrong, measured against the two
   service cards directly above it on the same page: the body copy sat on the
   11px label step instead of the 16px reading step, three of the four drawings
   hung 38 to 46px past the card's right edge and were sliced by it, the veil
   started at 48 percent so half of every drawing dissolved into the card face,
   the four drawings began at four different heights, and the fourth card grew
   to the full 1320px shell around a 230px graphic.
   ========================================================================== */
.ovw{display:grid;grid-template-columns:minmax(0,800fr) minmax(0,506fr);
     grid-template-rows:repeat(3,190px);gap:14px;}

.ovw-card{position:relative;display:flex;overflow:hidden;border-radius:var(--r-card);
  border:1px solid var(--line);
  background:radial-gradient(130% 96% at 76% 6%,rgba(237,233,225,.10) 0%,rgba(237,233,225,.02) 44%,rgba(237,233,225,0) 68%),var(--bg-c);
  transition:border-color var(--dur-2) var(--ease);}
.ovw-card:hover{border-color:rgba(237,233,225,.3);}

.ovw-grain{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.08;background-size:180px 180px;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23n)'/%3E%3C/svg%3E");}

/* The light that travels a card's border: the four What's included cards and the two
   service cards. One conic gradient, centred on the card and turning, seen only where it
   crosses the card's 1px edge. [data-revealed] [data-draw] starts it.
   It used to be drawn at 150% of the card and masked down to the ring, so every frame
   painted two and a quarter cards of gradient to show one pixel of it, six cards at once;
   Firefox held 58fps on What's included with it and 85 without (October 14, 2026). Now
   four 1px strips each clip their own copy of the same turning gradient, sized from the
   card through container units, so a frame paints the ring and nothing else. The vertical
   strips stop 1px short at each end so no corner is lit twice. */
.edge-ring{position:absolute;inset:0;z-index:5;pointer-events:none;container-type:size;}
.edge-ring > b{position:absolute;display:block;overflow:hidden;}
.edge-ring > b:nth-child(1){left:0;right:0;top:0;height:1px;}
.edge-ring > b:nth-child(2){right:0;top:1px;bottom:1px;width:1px;}
.edge-ring > b:nth-child(3){left:0;right:0;bottom:0;height:1px;}
.edge-ring > b:nth-child(4){left:0;top:1px;bottom:1px;width:1px;}
.edge-ring i{position:absolute;width:150cqw;height:150cqh;
  background:conic-gradient(from var(--edge-from,0deg),transparent 0deg,transparent 285deg,rgba(237,233,225,.01) 300deg,rgba(237,233,225,.26) 334deg,transparent 348deg);
  animation:spin 4.5s linear var(--edge-delay,0s) infinite;animation-play-state:paused;}
.edge-ring > b:nth-child(1) i{left:-25cqw;top:-25cqh;}
.edge-ring > b:nth-child(2) i{left:calc(1px - 125cqw);top:calc(-25cqh - 1px);}
.edge-ring > b:nth-child(3) i{left:-25cqw;top:calc(1px - 125cqh);}
.edge-ring > b:nth-child(4) i{left:-25cqw;top:calc(-25cqh - 1px);}

/* the drawing sits inside the card on every card, never past its edge */
.ovw-stage{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;pointer-events:none;}
.ovw-copy{position:relative;z-index:3;display:flex;flex-direction:column;gap:10px;}
.ovw-copy h3{margin:0;font-size:var(--t-5);line-height:1.1;font-weight:500;letter-spacing:-.03em;color:var(--ink);}
.ovw-copy p{margin:0;max-width:44ch;font-size:var(--t-7);line-height:1.62;color:var(--quiet);text-wrap:pretty;}

/* THE ANCHOR. Its drawing is centred in the space ABOVE the copy, so the card
   is as tall as its contents rather than holding a hole in the middle. */
.ovw-anchor{grid-row:1 / span 3;flex-direction:column;justify-content:flex-end;padding:clamp(24px,2.2vw,34px);}
.ovw-anchor .ovw-stage{position:relative;inset:auto;flex:1 1 auto;min-height:0;
  padding:var(--s-3) clamp(24px,3vw,48px) var(--s-6);}
.ovw-veil{position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(to top,var(--bg-c) 0%,var(--bg-c) 14%,rgba(21,20,19,.92) 24%,rgba(21,20,19,0) 38%);}

/* THE THREE SUPPORTS. Words left, drawing right, both inside the padding box. */
.ovw-sup{align-items:center;gap:20px;padding:0 24px;}
.ovw-sup .ovw-copy{flex:1 1 auto;min-width:0;}
.ovw-sup .ovw-copy h3{font-size:var(--t-6);letter-spacing:-.026em;text-wrap:balance;}
.ovw-sup .ovw-copy p{max-width:28ch;}
.ovw-sup .ovw-art{flex:0 0 190px;min-width:0;height:100%;position:relative;z-index:1;
  display:flex;align-items:center;justify-content:center;}

/* the ranked list, the one artifact big enough to read */
.ovw-panel{width:100%;background:var(--bg-a);border:1px solid rgba(237,233,225,.18);border-radius:var(--r-inner);
  overflow:hidden;box-shadow:0 24px 60px -28px rgba(0,0,0,.9);}
.ovw-panel .hd{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;
  border-bottom:1px solid rgba(237,233,225,.12);font-family:'Geist Mono',monospace;font-size:var(--t-micro);
  font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--quiet);}
.ovw-panel .hd em{font-style:normal;color:var(--ink);}
.ovw-panel .rw{display:flex;align-items:center;gap:11px;padding:10px 14px;border-bottom:1px solid rgba(237,233,225,.08);}
.ovw-panel .rw:last-child{border-bottom:0;}
.ovw-panel .rw.on{background:rgba(237,233,225,.055);}
.ovw-panel .rw q{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;quotes:none;
  font-size:var(--t-7);color:var(--quiet);}
.ovw-panel .rw.on q{color:var(--ink);}
.ovw-panel .rw i{font-family:'Geist Mono',monospace;font-size:var(--t-micro);font-style:normal;font-weight:500;color:var(--quiet);}
.ovw-panel .rw.on i{color:var(--ink);}
.ovw-anchor .ovw-panel .hd,.ovw-anchor .ovw-panel .rw{padding:16px 20px;}
.ovw-box{flex:none;width:14px;height:14px;border:1px solid rgba(237,233,225,.32);border-radius:3px;
  display:grid;place-items:center;font-size:var(--t-micro);line-height:1;color:var(--ink);}
.ovw-sup .ovw-box{width:12px;height:12px;}

/* the audit pages: three sheets, the front one carrying fixed items ticked off */
.ovw-pages{position:relative;width:330px;height:212px;flex:none;transform:scale(.55);
  /* scale does not shrink the layout box, so pull it back to the drawn size
     (330x212 at .55 is 182x117) or the card holds dead space around it */
  margin:-47px -74px;}
.ovw-pg{position:absolute;top:26px;width:132px;height:168px;padding:14px 13px;display:flex;flex-direction:column;gap:8px;
  background:linear-gradient(158deg,var(--edge-3) 0%,var(--bg-d) 58%);border:1px solid rgba(237,233,225,.24);
  border-radius:var(--r-sm);box-shadow:0 22px 44px -20px rgba(0,0,0,.95);}
.ovw-pg:nth-child(1){left:8px;transform:rotate(-12deg) translateY(12px);opacity:.72;}
.ovw-pg:nth-child(2){left:99px;transform:rotate(11deg) translateY(-8px);opacity:.82;}
.ovw-pg:nth-child(3){left:52px;top:18px;z-index:2;box-shadow:0 34px 60px -22px rgba(0,0,0,.98);}
.ovw-pg b{display:block;width:38px;height:4px;border-radius:2px;background:rgba(237,233,225,.72);}
.ovw-pg u{display:block;height:2px;border-radius:1px;background:rgba(237,233,225,.30);text-decoration:none;}
.ovw-pg .fix{position:relative;display:flex;align-items:center;gap:6px;}
.ovw-pg .fix u{flex:1;}
.ovw-pg .fix.done u{background:rgba(237,233,225,.14);}
.ovw-pg .fix.done::after{content:'';position:absolute;left:0;right:14px;top:50%;height:1px;background:rgba(237,233,225,.3);}
.ovw-pg .tick{flex:none;width:10px;height:10px;border:1px solid rgba(237,233,225,.46);display:grid;place-items:center;
  overflow:hidden;font-size:var(--t-micro);line-height:1;color:var(--ink);}
.ovw-pg .cap{margin-top:auto;font-family:'Geist Mono',monospace;font-size:var(--t-micro);letter-spacing:.16em;
  text-transform:uppercase;color:var(--quiet);}

/* the climb */
.ovw-climb{width:190px;display:flex;flex-direction:column;gap:8px;}
.ovw-climb .num{display:flex;align-items:flex-end;gap:12px;}
.ovw-climb .num b{font-size:var(--t-4);line-height:.82;font-weight:600;letter-spacing:-.055em;
  background:linear-gradient(var(--ink-lift) 12%,var(--quiet-deep) 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
.ovw-climb .num span{padding-bottom:4px;font-family:'Geist Mono',monospace;font-size:var(--t-micro);
  letter-spacing:.16em;text-transform:uppercase;color:var(--quiet);white-space:nowrap;line-height:1.35;}
.ovw-climb svg{display:block;width:100%;height:auto;}

/* the profile: an average rating and the listings that carry it */
.ovw-trust{display:flex;flex-direction:column;}
.ovw-trust .top{display:flex;align-items:center;gap:8px;padding:9px 11px;border-bottom:1px solid rgba(237,233,225,.12);}
.ovw-trust .top img{width:18px;height:18px;display:block;}
.ovw-trust .top b{font-size:var(--t-6);font-weight:500;letter-spacing:-.03em;color:var(--ink);line-height:1;}
.ovw-trust .top .st{display:flex;gap:3px;color:var(--ink);font-size:var(--t-micro);line-height:1;}
.ovw-trust .rw{display:flex;align-items:center;gap:11px;padding:7px 11px;border-bottom:1px solid rgba(237,233,225,.08);}
.ovw-trust .rw:last-child{border-bottom:0;}
.ovw-trust .rw span:not(.ovw-box){flex:1;font-size:var(--t-label);color:var(--quiet);white-space:nowrap;}

@media(max-width:900px){
  .ovw{grid-template-columns:1fr;grid-template-rows:none;}
  .ovw-anchor{grid-row:auto;min-height:clamp(430px,54vh,520px);}
  .ovw-anchor .ovw-stage{padding:var(--s-3) var(--s-2) var(--s-4);}
  .ovw-sup{min-height:190px;}
}
@media(max-width:640px){
  .ovw-sup{flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:24px;}
  .ovw-sup .ovw-art{flex:none;width:100%;height:auto;justify-content:flex-start;}
  .ovw-sup .ovw-copy p{max-width:none;}
}
@media(prefers-reduced-motion:reduce){.edge-ring i{animation:none;}}

/* ==========================================================================
   PHONE. Read screen by screen at a real 375px on 2026-09-04; these are the
   four things that read wrong there and nowhere else.
   ========================================================================== */
@media(max-width:720px){

  /* The proof section is min-height:100svh and centres its children, which on a
     wide screen holds the case card in the middle of the frame. On a phone the
     card is already taller than the screen, so the only thing the rule added
     was about 600px of empty ground under the last card. */
  .proof{min-height:0 !important;justify-content:flex-start !important}

  /* The cases, one card per screen and no edge of the next one showing, so the
     row read as a single case and the arrows that move it sit a screen higher,
     beside the heading. Leaving 44px of the next card visible is what says the
     row moves. The track was always swipeable; nothing said so. */
  [data-proof-cases] > .case-card{width:calc(100vw - var(--gutter) - 44px)}

}

/* ==========================================================================
   CASE CARD: the opening of a case study, at card size (Liam 2026-10-04:
   the card should read like the actual case study). Top row: the client's
   logo, then who they are at the logo's height (the AI video client's credentials and
   San Francisco, Collabstr's 1.2M+ creators). Then the result's number set
   as display type with its sentence under it (Analogue Agency's results
   numerals: number first, sentence second, a big jump in size between), the
   client's scene beside it, and the case page's own figures on a rule along
   the bottom with the link to the case.
   The logo badge is 54px, the section button's height (Liam 2026-10-02:
   "make the client logo a bit more prominent so its clear"). The scene is
   drawn by assets/case-screens.js into the stage: beside the type on a wide
   card, between the top row and the number on a phone.
   ========================================================================== */
.case-card{position:relative;flex:0 0 auto;width:var(--card);min-height:min(640px,72vh);scroll-snap-align:center;overflow:hidden;
  border-radius:var(--r-card);display:flex;border:1px solid var(--line);transition:border-color var(--dur-2) ease;
  background:radial-gradient(130% 96% at 76% 6%,rgba(237,233,225,0.10) 0%,rgba(237,233,225,0.02) 44%,rgba(237,233,225,0) 68%),var(--bg-d);}
.case-card:hover{border-color:rgba(237,233,225,0.3);}
.case-shade{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(96deg,var(--bg-a) 0%,rgba(18,17,16,.9) 34%,rgba(18,17,16,.3) 62%,rgba(18,17,16,.1) 100%);}
.case-grain{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.08;background-size:180px 180px;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22180%22%20height=%22180%22%3E%3Cfilter%20id=%22n%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%220.85%22%20numOctaves=%222%22%20stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect%20width=%22100%25%22%20height=%22100%25%22%20filter=%22url(%23n)%22/%3E%3C/svg%3E");}
.case-in{position:relative;z-index:2;display:flex;flex:1;flex-direction:column;min-width:0;padding:clamp(28px,3.4vw,52px);}

.case-top{display:flex;align-items:center;gap:var(--s-4);}
.case-logo{flex:none;display:flex;align-items:center;gap:var(--s-3);}
.case-badge{flex:none;display:flex;align-items:center;justify-content:center;height:54px;min-width:54px;padding:0 13px;
  border:1px solid var(--edge-3);border-radius:var(--r-sm);background:var(--wash-row);}
.case-badge > div{height:28px;width:28px;background-size:contain;background-repeat:no-repeat;background-position:center;
  filter:brightness(0) invert(1);opacity:.96;}
.case-badge.wm{padding:0 20px;}
.case-badge.wm > div{height:21px;width:auto;aspect-ratio:var(--ar);background-position:left center;}
.case-name{font-size:var(--t-4);font-weight:500;letter-spacing:-.03em;line-height:1;color:var(--ink);white-space:nowrap;}
/* the credentials: set in the reading face at --t-5, ink, after a hairline, never as pills */
.case-creds{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 0;padding-left:var(--s-4);border-left:1px solid var(--edge-3);
  min-height:34px;font-size:var(--t-5);font-weight:500;letter-spacing:-.01em;line-height:1.2;color:var(--ink);}
.case-creds > span{white-space:nowrap;}
.case-creds > span + span::before{content:"";display:inline-block;width:4px;height:4px;margin:0 14px;border-radius:50%;
  background:var(--quiet);vertical-align:middle;transform:translateY(-2px);}
.case-num{margin-left:auto;flex:none;font-family:var(--font-mono);font-size:var(--t-label);font-weight:500;letter-spacing:.24em;
  text-transform:uppercase;color:var(--quiet);white-space:nowrap;}

.case-stage{position:absolute;z-index:0;pointer-events:none;
  top:calc(clamp(28px,3.4vw,52px) + 70px);bottom:calc(clamp(28px,3.4vw,52px) + 96px);right:clamp(8px,1.6vw,24px);width:56%;}
.case-stage canvas{display:block;width:100%;height:100%;}

.case-lead{margin:auto 0;padding:var(--s-4) 0;max-width:44%;}
.case-big{margin:0;font-family:var(--font-display);font-weight:200;font-size:var(--t-figure);line-height:.9;
  letter-spacing:-.04em;color:var(--ink);white-space:nowrap;font-variant-numeric:lining-nums;}
.case-line{margin:var(--s-3) 0 0;max-width:20ch;font-size:var(--t-5);font-weight:500;line-height:1.16;letter-spacing:-.02em;
  color:var(--ink);text-wrap:balance;}

.case-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s-5);padding-top:var(--s-4);border-top:1px solid var(--line);}
.case-figs{display:flex;gap:clamp(26px,4vw,64px);min-width:0;}
.case-fig{margin:0;display:flex;flex-direction:column;gap:6px;}
.case-fig-n{font-size:var(--t-4);font-weight:500;line-height:1;letter-spacing:-.03em;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums;}
.case-fig-l{font-size:var(--t-7);line-height:1.35;color:var(--quiet);max-width:28ch;}
/* Read the case is the site's .frame (assets/nav.css, Brackets, October 24, 2026); .case-read is only its hook */

@media(max-width:1100px){.case-stage{width:52%;}.case-lead{max-width:48%;}}
@media(max-width:900px){
  .case-top{flex-wrap:wrap;row-gap:var(--s-3);}
  .case-creds{order:3;flex-basis:100%;padding-left:0;border-left:0;}
}
@media(max-width:720px){
  .case-badge{height:46px;min-width:46px;padding:0 11px;}
  .case-badge > div{height:24px;width:24px;}
  .case-badge.wm{padding:0 15px;}
  .case-badge.wm > div{height:17px;}
  .case-name{font-size:var(--t-5);}
  .case-creds{font-size:var(--t-6);}
  .case-creds > span + span::before{margin:0 10px;}
  .case-stage{position:relative;top:auto;bottom:auto;right:auto;width:auto;margin:var(--s-3) -10px 0;aspect-ratio:16/11;}
  .case-lead{max-width:none;margin:0;padding:var(--s-3) 0 var(--s-4);}
  .case-foot{flex-direction:column;align-items:stretch;gap:var(--s-4);}
  .case-figs{flex-direction:column;gap:var(--s-2);}
  .case-fig{flex-direction:row;align-items:baseline;gap:var(--s-3);}
  .case-fig-n{flex:none;min-width:4em;font-size:var(--t-5);}
  .case-read{align-self:flex-start;}
}
/* the counter beside the logo needs about 70px; a 375px phone has room for it,
   a 320px one does not, so there the counter goes */
@media(max-width:360px){.case-num{display:none;}}
