/* Alcore — alcorehq.com
   Palette sampled off the logo file (see the alcore-own-brand record), not guessed.
   Emerald is never used as text on light: on this site there is no light. */

:root{
  --deep:#061a12;          /* page */
  --deep-2:#082117;        /* raised panel */
  --deep-3:#09261b;        /* hairline fills */
  --emerald:#4fd099;       /* accent */
  --hot:#c0f5de;           /* hot edge */
  --white:#ffffff;
  --text:#e8f3ed;
  --muted:#8fa89c;
  --line:rgba(79,208,153,.14);
  --maxw:1120px;
  --gut:clamp(22px,5vw,64px);
  --ease:cubic-bezier(.22,.61,.36,1);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html,body{margin:0;padding:0}
body{
  background:var(--deep);
  color:var(--text);
  font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight:300;
  line-height:1.65;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--emerald);color:var(--deep)}
a{color:inherit}

/* ---------------------------------------------------------------- background */
#bg{
  position:fixed; inset:0; width:100%; height:100%;
  z-index:0; display:block;
  /* the CSS fallback shows through if WebGL never starts */
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79,208,153,.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(63,190,135,.05), transparent 60%),
    var(--deep);
}
/* Sits over the canvas, under the content. Every background is busiest in the middle of the
   screen, which is exactly where the headline is — this holds the left side down without
   flattening the whole page. */
.veil{
  position:fixed; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(100deg, rgba(6,26,18,.90) 0%, rgba(6,26,18,.66) 34%, rgba(6,26,18,.12) 66%, transparent 82%),
    radial-gradient(ellipse 120% 70% at 50% 120%, rgba(6,26,18,.78), transparent 62%);
}
.grain{
  position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main,.nav,.foot{position:relative; z-index:2}

/* ---------------------------------------------------------------- nav */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:40;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px var(--gut);
  transition:background .5s var(--ease), backdrop-filter .5s var(--ease), padding .5s var(--ease);
}
.nav.solid{
  background:rgba(6,26,18,.72);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--line);
  padding:16px var(--gut);
}
.brand{display:flex; align-items:center; gap:11px; text-decoration:none}
/* The real mark. The glow and the dark-green field are part of the artwork, so it needs no box,
   no border and no shadow of its own. */
.brand .mark{
  display:block; width:34px; height:34px; border-radius:8px;
  object-fit:cover; flex:none;
}
.brand .word{font-size:15px; letter-spacing:.14em; text-transform:lowercase; color:var(--white); font-weight:400}
.nav-cta{
  font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  text-decoration:none; color:var(--text); padding:10px 18px; border:1px solid var(--line); border-radius:999px;
  transition:border-color .4s var(--ease), color .4s var(--ease), background .4s var(--ease);
}
.nav-cta:hover{border-color:rgba(79,208,153,.55); color:var(--hot); background:rgba(79,208,153,.07)}

/* ---------------------------------------------------------------- layout */
.wrap{width:100%; max-width:var(--maxw); margin:0 auto; padding:0 var(--gut)}
.wrap.narrow{max-width:800px}
section{position:relative}
.chapter{padding:clamp(120px,19vh,210px) 0}
.chapter.close{padding-bottom:clamp(150px,24vh,260px)}

/* ---------------------------------------------------------------- type */
h1,h2,h3{font-weight:400; line-height:1.08; letter-spacing:-.022em; margin:0; color:var(--white)}
h1{font-size:clamp(2.6rem,7.4vw,5.1rem); letter-spacing:-.034em}
h1 em{font-style:normal; color:var(--emerald)}
h2{font-size:clamp(1.9rem,4.4vw,3.2rem); margin-bottom:34px}
h3{font-size:1.12rem; letter-spacing:-.005em; margin-bottom:12px}
p{margin:0 0 20px}

.eyebrow,.label{
  font-family:"IBM Plex Mono",monospace; font-size:11px; font-weight:400;
  letter-spacing:.2em; text-transform:uppercase; color:var(--emerald); margin-bottom:26px;
}
.label{color:var(--muted); margin-bottom:22px}
.lede{font-size:clamp(1.02rem,1.65vw,1.22rem); color:var(--text); opacity:.84; max-width:50ch}
.aside{font-size:.94rem; color:var(--muted); max-width:52ch}
.cols{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:clamp(24px,4vw,56px); max-width:none}
.cols p{color:var(--text); opacity:.8; margin:0}
.pull{
  margin-top:52px; padding-left:24px; border-left:2px solid var(--emerald);
  font-size:clamp(1.15rem,2.2vw,1.5rem); line-height:1.4; color:var(--white); max-width:34ch;
}

/* ---------------------------------------------------------------- paired chapters
   03 and 04 are halves of one argument, so they share a row instead of being two full-height
   scroll stops. The headline drops a size because a half-column can't carry the full h2, and the
   inner .cols collapses to one column — two 260px tracks inside a half-width column is a column
   of broken lines. Below 1080px the pair stacks and nothing else changes. */
.pair{display:grid; grid-template-columns:1fr; gap:clamp(54px,8vw,76px); align-items:start}
.pair-col h2{font-size:clamp(1.7rem,2.9vw,2.3rem); margin-bottom:26px; text-wrap:balance}
.pair-col .cols{grid-template-columns:1fr; gap:18px}
.pair-col .pull{margin-top:36px; max-width:none}
@media (min-width:1080px){
  /* Subgrid so the two halves share rows: the labels sit on one line, the headlines on another,
     and the body copy starts at the same height even though one headline wraps to four lines and
     the other to two. Without it the right column floats 80px high and the pair reads as two
     unrelated blocks. Browsers without subgrid fall back to independent rows — unaligned, but
     intact. */
  .pair{grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto auto auto auto;
    /* capped at 72px: the wrap maxes out at 1120px, so past ~1500px every extra pixel of gap is
       taken straight off the column and the left headline tips onto a third line. */
    column-gap:clamp(44px,5.4vw,72px); row-gap:0}
  .pair-col{display:grid; grid-row:span 4; grid-template-rows:subgrid; align-content:start}
  /* 1.9rem is the size at which both headlines break on their own <br> instead of wrapping a
     stray word onto a fourth line. Below 1080px the columns are too narrow to hold that, which
     is why the pair stacks there rather than at 900px. */
  .pair-col h2{font-size:1.9rem; align-self:start}
}

/* ---------------------------------------------------------------- hero
   The video is the point of the page, so it sits beside the headline rather than below the fold.
   Below 1000px the column collapses and the video follows the headline, still within the first
   screen and a half on a phone. */
.hero{min-height:100svh; display:flex; flex-direction:column; justify-content:center; padding:124px 0 90px}
/* Phone order: headline, video, then the rest — the video has to clear the fold, and on a 390px
   screen the sub-copy and the button do not fit above it. */
.hero-grid{display:grid; grid-template-columns:1fr; align-items:center;
  grid-template-areas:"head" "video" "tail" "cta"; row-gap:clamp(30px,5vw,44px)}
.hero-head{grid-area:head}
.hero-video{grid-area:video}
.hero-tail{grid-area:tail}
/* The button lives below the video, not beside it. On a phone that is the last row under the
   lede; on desktop it drops into the right-hand column so it reads as the video's own CTA. */
.hero-grid > .cta-row{grid-area:cta; margin-top:0; justify-content:center}
@media (min-width:1000px){
  .hero{padding:150px 0 110px}
  .hero-grid{grid-template-columns:minmax(0,1.02fr) minmax(0,1.1fr);
    grid-template-areas:"head video" "tail video" ".    cta"; column-gap:clamp(48px,5.4vw,86px); row-gap:30px}
  /* The video spans the head and tail rows, so any slack goes ABOVE it — that keeps the
     button tight under the video instead of floating away from it. */
  .hero-video{align-self:end}
  .hero-grid > .cta-row{align-self:start; margin-top:4px}
  .hero h1{font-size:clamp(2.3rem,3.5vw,3.35rem)}
  .hero .lede{font-size:1.04rem; max-width:42ch}
}
.hero .lede{margin-top:0}
@media (max-width:999px){
  .hero h1{font-size:clamp(2.3rem,8.2vw,3rem)}
  .hero .lede{font-size:1rem}
  .cta-row{margin-top:30px}
}
.hero-video{position:relative}
.video-note{
  font-family:"IBM Plex Mono",monospace; font-size:10.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); margin:18px 0 0; text-align:center;
}
.cta-row{display:flex; flex-wrap:wrap; gap:14px; margin-top:44px}
.btn{
  display:inline-block; text-decoration:none; font-size:.92rem; letter-spacing:.01em;
  padding:16px 30px; border-radius:999px; transition:transform .45s var(--ease), box-shadow .45s var(--ease),
  background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.btn.primary{background:var(--emerald); color:#042016; font-weight:500; box-shadow:0 10px 40px -12px rgba(79,208,153,.6)}
.btn.primary:hover{transform:translateY(-2px); box-shadow:0 18px 52px -12px rgba(79,208,153,.75); background:var(--hot)}
.btn.ghost{border:1px solid var(--line); color:var(--text)}
.btn.ghost:hover{border-color:rgba(79,208,153,.5); color:var(--white); background:rgba(79,208,153,.06)}
.btn.big{padding:19px 40px; font-size:1rem; margin-top:14px}

.scroll-hint{
  position:absolute; bottom:38px; left:var(--gut);
  font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--muted); display:flex; align-items:center; gap:12px;
}
.scroll-hint span{display:block; width:40px; height:1px; background:linear-gradient(90deg,var(--emerald),transparent); animation:slide 2.6s var(--ease) infinite}
@keyframes slide{0%{transform:translateX(-10px); opacity:0}30%{opacity:1}100%{transform:translateX(14px); opacity:0}}

/* ---------------------------------------------------------------- statements */
.statements{padding:clamp(80px,14vh,150px) 0}
.statement{
  font-size:clamp(1.5rem,3.8vw,2.7rem); line-height:1.24; letter-spacing:-.02em; color:var(--white);
  font-weight:300; max-width:20ch; margin:0 0 clamp(90px,16vh,190px);
}
.statement:nth-child(2){margin-left:auto; margin-right:0; text-align:right}
.statement:nth-child(3){margin-left:auto; margin-right:auto; text-align:center}
.statement:last-child{margin-bottom:0}

/* ---------------------------------------------------------------- done list */
.done-list{list-style:none; margin:0 0 30px; padding:0; max-width:54ch}
.done-list li{
  display:flex; align-items:baseline; gap:16px; padding:17px 0; border-bottom:1px solid rgba(255,255,255,.05);
  color:var(--muted); font-size:clamp(1rem,1.9vw,1.2rem); text-decoration:line-through;
  text-decoration-color:rgba(143,168,156,.35);
}
.tick{
  font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--emerald); border:1px solid var(--line); border-radius:4px; padding:3px 8px; text-decoration:none; flex:none;
}

/* ---------------------------------------------------------------- systems */
/* Four cards, so two by two. auto-fit gave three across and left a lit hole where the fourth
   cell would have been. */
.systems{display:grid; grid-template-columns:1fr; gap:1px; margin-top:70px;
  background:var(--line); border:1px solid var(--line); border-radius:16px; overflow:hidden}
@media (min-width:760px){
  .systems{grid-template-columns:repeat(2,1fr)}
  /* .systems is one panel, not four boxes: a 1px-gap grid over a background colour, rounded and
     clipped. With five cards the fifth sits alone on its row and the background shows through as a
     hole. Spanning it is also the right read - feedback is the loop that closes over the other four. */
  .sys:last-child{grid-column:1 / -1}
}
.sys{
  background:linear-gradient(180deg,rgba(9,38,27,.82),rgba(6,26,18,.82));
  padding:clamp(30px,3.6vw,46px); transition:background .6s var(--ease);
}
.sys:hover{background:linear-gradient(180deg,rgba(13,52,38,.92),rgba(8,33,23,.92))}
.sys .num{
  font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.18em; color:var(--emerald);
  display:block; margin-bottom:26px;
}
.sys p{font-size:.95rem; color:var(--text); opacity:.74; margin:0}

/* ---------------------------------------------------------------- clock */
.clock{list-style:none; margin:54px 0 0; padding:0; counter-reset:c}
.clock li{display:flex; gap:clamp(18px,4vw,48px); align-items:baseline; padding:20px 0; border-top:1px solid rgba(255,255,255,.055)}
.clock li:last-child{border-bottom:1px solid rgba(255,255,255,.055)}
.day{
  font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.1em; color:var(--emerald);
  flex:none; width:72px;
}
.clock li span:last-child{color:var(--text); opacity:.82; font-size:1.02rem}

/* ---------------------------------------------------------------- fit */
.fit{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:clamp(28px,5vw,80px); margin-top:20px}
.fit-col h3{color:var(--emerald); font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.2em;
  text-transform:uppercase; margin-bottom:28px}
.fit-col.muted h3{color:var(--muted)}
.fit-col ul{list-style:none; margin:0; padding:0}
.fit-col li{padding:15px 0; border-bottom:1px solid rgba(255,255,255,.05); font-size:1.02rem; color:var(--text); opacity:.85}
.fit-col.muted li{opacity:.5}

/* ---------------------------------------------------------------- proof */
.proof{display:grid; grid-template-columns:repeat(auto-fit,minmax(275px,1fr)); gap:clamp(20px,2.6vw,34px); margin:0 0 42px}
.case{
  display:flex; flex-direction:column;
  border:1px solid var(--line); border-radius:16px; padding:clamp(28px,3.4vw,40px);
  background:linear-gradient(180deg,rgba(9,38,27,.55),rgba(6,26,18,.3));
  transition:transform .6s var(--ease), border-color .6s var(--ease);
}
.case:hover{transform:translateY(-4px); border-color:rgba(79,208,153,.34)}
.case .fig{font-size:clamp(2.1rem,4.2vw,2.9rem); color:var(--white); line-height:1; margin:0 0 20px;
  letter-spacing:-.03em; opacity:1}
.case .fig span{display:block; font-size:.74rem; font-family:"IBM Plex Mono",monospace; letter-spacing:.16em;
  text-transform:uppercase; color:var(--emerald); margin-top:12px}
.case h3{font-size:.95rem; color:var(--text); opacity:.9}
.case p{font-size:.93rem; color:var(--text); opacity:.7; margin-bottom:22px}
.see{
  margin-top:auto; align-self:flex-start;
  font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--emerald); text-decoration:none; border-bottom:1px solid var(--line); padding-bottom:4px;
  transition:border-color .4s var(--ease)
}
.see:hover{border-color:var(--emerald)}

/* a client's own clip, inside a case card. Reuses the hero's .video-frame/.video-ph/.play, but the
   hero's glow and 62px play button are sized for a full-width frame and drown a card this narrow. */
/* pushed to the foot of the card so the two clips line up with each other: Muheez's card carries an
   extra paragraph, so without this his video sits ~110px below Amar's and the row reads as scattered.
   .see keeps its own margin-top:auto and simply follows. */
.case-video{margin:auto 0 26px}
/* .see also carries margin-top:auto (it pins the link to the foot of a card with no video). Two auto
   margins in one flex column SPLIT the spare space between them, which left the two clips 56px apart.
   In a card that has a clip, the clip takes the space and the link just follows it. */
.case:has(.case-video) .see{margin-top:0}
.case-video .video-frame{border-radius:12px; box-shadow:0 18px 40px -22px rgba(0,0,0,.9)}
.case-video .video-frame:hover{box-shadow:0 18px 44px -20px rgba(0,0,0,.9), 0 0 36px -22px rgba(79,208,153,.5)}
.case-video .play{width:40px; height:40px; box-shadow:0 0 22px rgba(79,208,153,.18)}
.case-video .play::after{border-left-width:10px; border-top-width:6.5px; border-bottom-width:6.5px; margin-left:3px}
.case-video .video-ph{gap:12px}
.case-video .video-ph p{font-size:9.5px; letter-spacing:.14em}

/* ---------------------------------------------------------------- ways */
.ways{display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:clamp(20px,2.6vw,34px); margin-bottom:40px}
.way{border:1px solid var(--line); border-radius:16px; padding:clamp(30px,3.6vw,46px);
  background:linear-gradient(180deg,rgba(9,38,27,.5),rgba(6,26,18,.25))}
.way h3{font-size:1.45rem; color:var(--white)}
.way-sub{font-size:.95rem; color:var(--emerald); opacity:.9; margin-bottom:26px}
.way ul{list-style:none; margin:0; padding:0}
.way li{padding:13px 0; border-top:1px solid rgba(255,255,255,.05); font-size:.95rem; color:var(--text); opacity:.78}

/* ---------------------------------------------------------------- video */
.video-frame{border-radius:18px; overflow:hidden; border:1px solid rgba(79,208,153,.22);
  box-shadow:0 50px 120px -40px rgba(0,0,0,.95), 0 0 70px -30px rgba(79,208,153,.45);
  transition:border-color .6s var(--ease), box-shadow .6s var(--ease)}
.video-frame:hover{border-color:rgba(79,208,153,.42);
  box-shadow:0 50px 120px -40px rgba(0,0,0,.95), 0 0 90px -26px rgba(79,208,153,.6)}
.video-frame iframe{display:block; width:100%; aspect-ratio:16/9; border:0}
.video-ph{aspect-ratio:16/9; display:grid; place-content:center; justify-items:center; gap:20px;
  background:linear-gradient(140deg,rgba(13,52,38,.7),rgba(6,26,18,.9))}
.video-ph p{font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.18em;
  text-transform:uppercase; color:var(--muted); margin:0}
.play{width:62px; height:62px; border-radius:50%; border:1px solid rgba(79,208,153,.45); display:grid; place-items:center;
  box-shadow:0 0 40px rgba(79,208,153,.2)}
.play::after{content:""; width:0; height:0; border-left:14px solid var(--emerald);
  border-top:9px solid transparent; border-bottom:9px solid transparent; margin-left:4px}

/* ---------------------------------------------------------------- close */
.close h2{font-size:clamp(2rem,5vw,3.4rem)}
.promise{font-size:1.05rem; color:var(--emerald); margin-top:26px}

/* ---------------------------------------------------------------- footer */
.foot{padding:40px 0 54px; border-top:1px solid rgba(255,255,255,.055)}
.foot .wrap{display:flex; flex-wrap:wrap; gap:12px; align-items:center;
  font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted)}
.foot a{color:var(--muted); text-decoration:none; transition:color .4s var(--ease)}
.foot a:hover{color:var(--emerald)}
.foot .dot{opacity:.4}

/* ---------------------------------------------------------------- reveal */
.rv{opacity:0; transform:translateY(26px); transition:opacity 1s var(--ease), transform 1s var(--ease)}
.rv.in{opacity:1; transform:none}
.rv.d1{transition-delay:.09s}
.rv.d2{transition-delay:.18s}
.rv.d3{transition-delay:.27s}
.rv.d4{transition-delay:.36s}

@media (max-width:640px){
  .statement:nth-child(2),.statement:nth-child(3){text-align:left; margin-left:0}
  .scroll-hint{display:none}
}

/* Anybody who has asked their machine to stop moving things gets a still page. */
@media (prefers-reduced-motion:reduce){
  .rv{opacity:1; transform:none; transition:none}
  .scroll-hint span{animation:none}
  *{scroll-behavior:auto !important}
}

/* ---------------------------------------------------------------- background switcher
   Only rendered with ?preview=1 or ?bg=… — a visitor never sees it. */
.bgpick{
  position:fixed; z-index:90; left:50%; bottom:22px; transform:translateX(-50%);
  display:flex; gap:4px; padding:5px; border-radius:999px;
  background:rgba(6,26,18,.82); border:1px solid var(--line);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
.bgpick button{
  font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); background:none; border:0; padding:9px 15px; border-radius:999px; cursor:pointer;
  transition:color .3s var(--ease), background .3s var(--ease);
}
.bgpick button:hover{color:var(--text)}
.bgpick button.on{color:#042016; background:var(--emerald)}

/* the second number on a case card — the one that came after we handed it back */
.then{font-size:.9rem; color:var(--text); opacity:.62; padding-top:14px;
  border-top:1px solid rgba(255,255,255,.06)}
.then strong{color:var(--emerald); font-weight:400}

/* a client's own words, dropped in under the story */
.quote{margin:0 0 22px; padding:18px 0 0; border-top:1px solid rgba(255,255,255,.06)}
.quote p{font-size:.95rem; color:var(--text); opacity:.88; line-height:1.55; margin:0 0 10px}
.quote cite{font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--muted); font-style:normal}

/* ---------------------------------------------------------------- phone rhythm
   The desktop spacing is built on viewport height, which on a phone turns into screen after
   screen of nothing between one idea and the next. Same proportions, shorter interval. */
@media (max-width:760px){
  .hero{padding:104px 0 72px; min-height:auto}
  .sys{padding:26px 24px}
  .case,.way{padding:26px 24px}
  .chapter{padding:70px 0}
  .chapter.close{padding-bottom:96px}
  .statements{padding:56px 0}
  .statement{font-size:clamp(1.35rem,6.4vw,1.8rem); max-width:none; margin-bottom:62px}
  h2{margin-bottom:26px}
  .pull{margin-top:34px}
  .systems{margin-top:44px}
  .clock{margin-top:34px}
  .clock li{padding:15px 0}
  .fit{margin-top:8px}
  .fit-col h3{margin-bottom:18px}
  .fit-col li{padding:12px 0}
  .proof{margin-bottom:28px}
  .cols{gap:20px}
  .done-list li{padding:14px 0}
  .foot{padding:30px 0 40px}
}

/* ---------------------------------------------------------------- payments rail
   The wall of payment notifications, directly under the VSL. Screenshots arrive at whatever size
   and shape the client's phone took them, so a card sets a HEIGHT and lets the width fall out of
   the image — a width-based grid would crop a tall screenshot or letterbox a wide one, and these
   are the proof, so nothing in them can be cut off.

   TWO rows, running opposite ways, and that is not decoration. These are Discord notifications, so
   they are wide: at a height big enough to read, one row fits barely two cards on a laptop and
   reads as two enormous panels rather than a wall. Splitting the twenty across two rows halves the
   height each needs, puts five or six on screen at once, and the opposing drift is what makes the
   count legible as a count — which is the whole argument the section is making.

   main.js clones each track and adds .is-looped; until it does there is no animation and a rail is
   an ordinary sideways scroller, so the section still works with JS off. */
.payments{padding:clamp(54px,9vh,96px) 0 clamp(60px,10vh,110px)}
.payments .label{margin-bottom:26px}
.rail{
  position:relative; overflow:hidden;
  /* deliberately NOT inside .wrap: the row has to leave the screen, not stop neatly at the content
     column, or the marquee reads as a carousel that failed to centre. */
  /* fades both ends so a card dissolves instead of being chopped off by the viewport edge.
     mask-repeat/size are spelled out: without them Safari tiles the gradient and the fade lands
     in the middle of the row instead of at its edges. */
  mask-image:linear-gradient(90deg,transparent 0,#000 13%,#000 87%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 13%,#000 87%,transparent 100%);
  mask-repeat:no-repeat; -webkit-mask-repeat:no-repeat;
  mask-size:100% 100%; -webkit-mask-size:100% 100%;
}
.rail + .rail{margin-top:clamp(12px,1.4vw,20px)}
.payments .aside{margin-top:clamp(26px,3vw,40px)}
.rail-row{display:flex; width:max-content}
/* The duration here is only a fallback: main.js overwrites it per row from the row's real width,
   so both rows drift at the same measured px/s. See RAIL_SPEED there. */
.rail.is-looped .rail-row{animation:rail 112s linear infinite}
.rail.rev.is-looped .rail-row{animation-name:rail-rev}
/* a reader who stops to actually look at one gets the row to stop with them */
.rail.is-looped:hover .rail-row,
.rail.is-looped:focus-within .rail-row{animation-play-state:paused}
@keyframes rail{from{transform:translate3d(0,0,0)} to{transform:translate3d(-50%,0,0)}}
@keyframes rail-rev{from{transform:translate3d(-50%,0,0)} to{transform:translate3d(0,0,0)}}

.rail-track{display:flex; align-items:center; gap:clamp(11px,1.1vw,16px); margin:0;
  padding:0 clamp(5px,.55vw,8px); list-style:none}
.shot{margin:0; flex:none}
.shot img{
  display:block; height:clamp(118px,13vw,166px); width:auto; max-width:none;
  border-radius:13px; border:1px solid rgba(79,208,153,.16);
  background:var(--deep-2);
  box-shadow:0 18px 44px -26px rgba(0,0,0,.95);
}

/* No JS, or a machine told to stop moving things: a plain sideways scroller. */
.rail:not(.is-looped){overflow-x:auto; scrollbar-width:none}
.rail:not(.is-looped)::-webkit-scrollbar{display:none}
@media (prefers-reduced-motion:reduce){
  .rail.is-looped .rail-row{animation:none}
  .rail.is-looped{overflow-x:auto}
}
@media (max-width:760px){
  .payments{padding:40px 0 48px}
  /* no height override: the clamp's 118px floor already applies here, and dropping to 104 shrank
     the amount — the one thing on the card that has to stay readable — to about 10px. */
  .shot img{border-radius:10px}
}

/* ---------------------------------------------------------------- client clips
   Muheez and Amar both filmed on a phone, so these are 9:16 and not 16:9 like the VSL frame they
   sit next to. A portrait clip at the card's full width would stand ~380px tall and push the case
   row to roughly twice the height of Jose's card, which has no clip — so it is capped and centred
   instead. It reads as filmed-on-a-phone, which for a testimonial is the honest look anyway.

   preload="none" matters here: two clips at 13.5MB and 2.9MB would otherwise start downloading on
   page load, for a section most visitors scroll straight past. The poster is 55KB and stands in
   until somebody actually presses play. */
.video-frame.portrait{max-width:196px; margin:0 auto; border-radius:14px}
/* height:auto is load-bearing. The <video> carries width="720" height="1280" so the browser knows
   the clip's shape before it loads, but those attributes also map to the height property, which
   beats aspect-ratio — without this the element renders 194px wide and 1280px tall. */
/* img as well as video: Jose's slot holds a story screenshot, not a clip, and without this it
   rendered at its natural 1170x2080 and took the whole case row to 2807px tall. The story is
   1170x2080, which is exactly 9:16, so the ratio crops nothing. */
.video-frame.portrait video,
.video-frame.portrait img{display:block; width:100%; height:auto; aspect-ratio:9/16;
  object-fit:cover; background:#000}
@media (max-width:760px){
  .video-frame.portrait{max-width:220px}
}

/* ---------------------------------------------------------------- Jose's proof block
   Jose has no clip, so his card carries screenshots where the other two carry video: the story he
   posted, and the three screenshots behind it. The story is a collage that already holds the
   $5,000 notification and the 1k close inside it — but at story scale neither can be read, so they
   repeat at full size. That repetition is the point, not an oversight.

   It moves sideways rather than stacking because stacked the four ran ~700px down the card, and a
   grid row is as tall as its tallest card, so Jose's extra proof pushed dead space into Muheez's
   and Amar's. Sideways, all four take the height of ONE clip and the three cards still read as a
   row.

   TWO slides, not four, and the three Discord shots travel as one stacked group. Sized
   individually they are only ~110px tall, so each spent its turn floating in the middle of a 348px
   band with air above and below it. Grouped, both slides fill the height.

   It carries the plain .rail class on purpose: main.js clones and paces every .rail on the page,
   so this loops with no extra code. data-speed slows it — the receipts wall is 20-odd cards and
   can afford 72px/s, but this is two, and at that rate the same pair came round every 7 seconds. */
.case-shots{margin:auto 0 26px}
.case-rail{
  height:348px;
  /* a much narrower fade than the receipts wall: 13% of the full viewport is a soft edge, but 13%
     of a 290px column eats most of the slide. */
  mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);
}
.case-rail .rail-row{align-items:center}
.case-rail .rail-track{align-items:stretch; gap:14px; padding:0 4px}
.case-rail .shot{display:flex; flex-direction:column; justify-content:center}
/* the receipts wall sizes a card by HEIGHT; in here the width is what is fixed, because these sit
   in a ~290px column rather than across the viewport */
.case-rail .shot.stack{gap:9px; width:292px}
.case-rail .shot.stack img{
  display:block; width:100%; height:auto; border-radius:9px;
  border:1px solid rgba(79,208,153,.14); box-shadow:0 12px 30px -20px rgba(0,0,0,.9);
}
/* the story is 9:16 — the one item that is sized by height, so it matches the clips exactly */
.case-rail .shot.tall img{display:block; height:344px; width:auto; border-radius:12px;
  border:1px solid rgba(79,208,153,.2); box-shadow:0 18px 40px -22px rgba(0,0,0,.9)}
.case:has(.case-shots) .see{margin-top:0}
