/* Peak Protocol Rx: the Minibeast landing page (/minibeast/) and the giveaway pages (/giveaway/, /giveaway/rules/).
   Approved by the owner from mock-up A, round 2 (November 22, 2026). Everything shared is in site.css. */

/* ---------- hero: 3 lines, in the order and sizes the owner set ---------- */
.mb-hero .hero{min-height:min(900px,94svh);align-content:end;gap:22px}
.mb-hero>.media img{animation:none;object-position:72% 30%;transform:translateX(9%)}
/* The film runs edge to edge: the section is the full width of the window, and the film covers it with no bars at any size. */
.mb-hero{width:100%}
.mb-hero>.media video{width:100%;height:100%;object-fit:cover;object-position:66% 50%;filter:saturate(.9) contrast(1.06)}
/* Dark only where the words are (left) and at the top and bottom edges; the right side of the film keeps its highlights. */
.mb-hero.film::after{background:linear-gradient(90deg,rgba(10,18,32,.88) 0%,rgba(10,18,32,.6) 32%,rgba(10,18,32,.06) 60%,rgba(10,18,32,0) 100%),linear-gradient(180deg,rgba(10,18,32,.55) 0%,rgba(10,18,32,0) 24%,rgba(10,18,32,.12) 62%,rgba(10,18,32,.92) 100%)}
/* 1 entrance, once, on load: the 3 lines and the buttons rise into place. Transform and opacity only. Reduced motion: site.css switches every animation off, so everything is simply in place. */
@keyframes mbrise{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:none}}
.mb-hero .mb-h>*,.mb-hero .hero-copy>.row,.mb-hero .mb-link,.mb-hero .mb-pair{animation:mbrise .7s cubic-bezier(.22,1,.36,1) both}
.mb-hero .mb-t{animation-delay:.08s}.mb-hero .mb-o{animation-delay:.16s}.mb-hero .hero-copy>.row{animation-delay:.26s}.mb-hero .mb-link{animation-delay:.32s}.mb-hero .mb-pair{animation-delay:.4s}
.mb-hero .hero-copy{max-width:900px}
.mb-h{display:grid;gap:clamp(8px,1.2vw,16px)}
/* The Minibeast logo sits in the second line of the welcome, sized to the capital letters beside it. */
.mb-partner{display:inline-block;height:.8em;width:auto;vertical-align:-.07em;margin-right:.3em}
.mb-w br+.mb-partner{margin-left:0}
.mb-w{margin:0;font-size:clamp(25px,3.5vw,50px);line-height:1.14;letter-spacing:-.03em;font-weight:500}
.mb-t{margin:0;font-size:clamp(42px,6.1vw,88px);line-height:.97;letter-spacing:-.045em;font-weight:400}
.mb-t .em{color:var(--citron)}
.mb-o{margin:0;font-size:clamp(30px,4.45vw,64px);line-height:1.04;letter-spacing:-.035em;font-weight:500}
.mb-o b{font-weight:600;color:var(--citron)}
.mb-link{justify-self:start;font-size:17px;font-weight:500;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1.5px;text-decoration-color:var(--citron);color:#fff}

/* the code and the giveaway, in a glass row under the buttons */
.mb-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:14px;margin-top:6px}
.mb-pair .hud{padding:18px 20px}
.mb-hud .k{font-size:13px}
a.mb-hud{display:block;transition:transform .25s}
a.mb-hud:hover{transform:translateY(-3px)}
.mb-coderow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.mb-codetxt{font-family:var(--fm);font-size:clamp(26px,2.5vw,34px);line-height:1.1;letter-spacing:.05em;font-weight:500;color:var(--citron)}
.mb-copy{min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--glass-line);background:rgba(255,255,255,.12);color:#fff;font:500 15px var(--fd);cursor:pointer}
.mb-copy:hover{background:rgba(255,255,255,.2)}
.mb-give2{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center}
.mb-give2 .v{margin:6px 0 0;font-size:40px}

/* countdown: 4 cells */
.mb-cd{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.mb-cd span{display:grid;gap:2px;justify-items:center;padding:10px 4px;border-radius:12px;background:rgba(255,255,255,.1);font-family:var(--fm);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--on-dark2)}
.mb-cd b{font-family:var(--fd);font-size:clamp(24px,2.4vw,32px);line-height:1;font-weight:400;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums}
.mb-over{margin:10px 0 0;font-size:16px;color:rgba(245,245,242,.9)}

/* ---------- section headings ---------- */
.mb-head{display:grid;gap:12px;margin-bottom:clamp(24px,3vw,40px)}
.mb-head p{margin:0;font-size:clamp(17px,1.5vw,20px);color:var(--ink2);max-width:60ch}
.mb-head.second{margin-top:clamp(36px,5vw,64px)}

/* ---------- next steps: 3 tiles ---------- */
.mb-next{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mb-nx{display:flex;flex-direction:column;gap:12px;background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:26px;min-height:330px;overflow:hidden}
.mb-nx .who{font-family:var(--fm);font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink2)}
.mb-nx h3{margin:0;font-size:clamp(24px,2.2vw,30px);line-height:1.1;font-weight:500;letter-spacing:-.025em}
.mb-nx p{margin:0;font-size:16.5px;color:var(--ink2)}
.mb-nx .btn{margin-top:auto;align-self:flex-start}
.mb-nx.first{background:var(--navy);border-color:var(--navy);color:var(--on-dark)}
.mb-nx.first .who{color:var(--citron)}.mb-nx.first p{color:rgba(245,245,242,.86)}
.mb-nx .pic{margin:-26px -26px 6px;height:150px;position:relative}
.mb-nx .pic img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.mb-nx .pic span{position:absolute;right:10px;bottom:8px;font-size:12px;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.6)}

/* ---------- giveaway panel ---------- */
.mb-give{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);border-radius:28px;overflow:hidden;border:1px solid var(--line);background:var(--white)}
.mb-give .l{background:var(--navy);color:#fff;padding:clamp(26px,4vw,52px);display:grid;gap:14px;align-content:center;position:relative;overflow:hidden}
.mb-give .l::after{content:"";position:absolute;right:-90px;top:-90px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(200,241,105,.34),rgba(200,241,105,0) 68%)}
.mb-give .lab{margin:0;font-size:clamp(19px,1.9vw,26px);font-weight:500;letter-spacing:-.01em;color:var(--citron)}
.mb-give .amt{font-size:clamp(72px,9vw,132px);line-height:.9;letter-spacing:-.05em;font-weight:400;color:var(--citron)}
.mb-give .l p{margin:0;font-size:19px;color:rgba(245,245,242,.9)}
.mb-give .r{padding:clamp(24px,3.4vw,44px);display:grid;gap:18px;align-content:center}
.mb-give .r h3{margin:0;font-size:clamp(24px,2.4vw,32px);font-weight:500;letter-spacing:-.025em}
.mb-ways{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.mb-ways li{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:16px 18px;border-radius:16px;background:var(--paper);border:1px solid var(--line)}
.mb-ways .n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--citron);color:var(--ink);font-weight:600;font-size:16px}
.mb-ways b{display:block;font-size:18px;font-weight:500;letter-spacing:-.01em}
.mb-ways span{font-size:16px;color:var(--ink2)}
.mb-ways .go{display:inline-block;margin-top:6px;font-size:16px;font-weight:500;color:var(--navy);text-decoration:underline;text-underline-offset:4px}

/* ---------- treatment tiles: 4 large, then the rest smaller ---------- */
.mb-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mb-cat{position:relative;aspect-ratio:4/5;border-radius:var(--r-lg);overflow:hidden;padding:20px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate;transition:transform .3s}
.mb-cat:hover{transform:translateY(-4px)}
.mb-cat h3{margin:0;font-size:clamp(21px,2vw,28px);font-weight:500;letter-spacing:-.025em;line-height:1.05;white-space:nowrap}
.mb-cat h3 small{display:block;margin-top:6px;font-size:16px;font-weight:400;letter-spacing:-.005em;line-height:1.25;opacity:.9;white-space:normal}
.mb-cat .prod{position:absolute;left:50%;top:56%;width:60%;transform:translate(-50%,-50%);z-index:-1;filter:drop-shadow(0 24px 26px rgba(0,0,0,.24));animation:mbfloat 4s ease-in-out infinite}
.mb-cat.duo .prod{width:46%;left:36%}
.mb-cat.duo .prod+.prod{left:64%;top:60%;animation-delay:-2s}
.mb-cat:nth-child(2) .prod{animation-delay:-1s}.mb-cat:nth-child(3) .prod{animation-delay:-2s}.mb-cat:nth-child(4) .prod{animation-delay:-3s}
.mb-cat .see{font-size:16px;font-weight:500;display:inline-flex;gap:8px}
.mb-cats.more{grid-template-columns:repeat(5,minmax(0,1fr))}
.mb-cats.more .mb-cat{aspect-ratio:1/1.12;padding:16px}
.mb-cats.more .mb-cat h3{font-size:clamp(17px,1.45vw,21px);white-space:normal}
.mb-cats.more .mb-cat .prod{width:56%;top:58%}
.mb-cats.more .mb-cat .see{font-size:15px}
@keyframes mbfloat{0%,100%{transform:translate(-50%,calc(-50% - 6px))}50%{transform:translate(-50%,calc(-50% + 6px))}}

/* ---------- how it works ---------- */
.mb-how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;counter-reset:h;border-top:1px solid rgba(255,255,255,.2)}
.mb-how li{counter-increment:h;padding:26px 26px 6px 0;display:grid;gap:8px;align-content:start}
.mb-how li::before{content:"0" counter(h);font-family:var(--fm);font-size:14px;letter-spacing:.1em;color:var(--citron)}
.mb-how h3{margin:0;font-size:22px;font-weight:500;letter-spacing:-.02em}
.mb-how p{margin:0;font-size:16.5px;color:rgba(245,245,242,.82)}
.mb-info{font-size:13.5px;line-height:1.55;color:var(--ink2);max-width:86ch;margin:0}
.mb-info a{text-decoration:underline;text-underline-offset:3px}

/* ---------- giveaway pages ---------- */
.gv-top{padding-top:150px}
.gv-top .g{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,5vw,72px);align-items:end}
.gv-amt{font-size:clamp(88px,13vw,190px);line-height:.86;letter-spacing:-.055em;font-weight:400;color:var(--citron);margin:0}
.gv-top .mb-cd{max-width:460px}
.gv-facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}
.gv-facts li{padding:24px 24px 24px 0;display:grid;gap:6px;align-content:start}
.gv-facts .k{font-family:var(--fm);font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink2)}
.gv-facts b{font-size:clamp(20px,1.9vw,25px);font-weight:500;letter-spacing:-.02em;line-height:1.2}
.gv-facts span{font-size:16px;color:var(--ink2)}
.gv-ways{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gv-ways li{display:flex;flex-direction:column;gap:12px;background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:26px}
.gv-ways .n{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--citron);color:var(--ink);font-weight:600;font-size:18px}
.gv-ways h3{margin:0;font-size:clamp(22px,2vw,27px);font-weight:500;letter-spacing:-.025em;line-height:1.12}
.gv-ways p{margin:0;font-size:16.5px;color:var(--ink2)}
.gv-ways .btn{margin-top:auto;align-self:flex-start}
.gv-rules{max-width:78ch;display:grid;gap:14px}
.gv-rules h2{margin:22px 0 0;font-size:22px;font-weight:500;letter-spacing:-.02em}
.gv-rules p,.gv-rules li{margin:0;font-size:16.5px;line-height:1.6;color:var(--ink2)}
.gv-rules ul{margin:0;padding-left:20px;display:grid;gap:8px}
.gv-rules a{text-decoration:underline;text-underline-offset:3px}

/* ---------- the phone bar: the code stays on screen (replaces the site's own bar on this page) ---------- */
.mb-bar{display:none}

@media (prefers-reduced-motion:reduce){.mb-cat .prod{animation:none}.mb-cat,a.mb-hud{transition:none}}

@media (max-width:1100px){.mb-cats.more{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:960px){
  .mb-pair,.mb-give,.gv-top .g{grid-template-columns:1fr}
  .mb-next,.gv-ways{grid-template-columns:1fr}.mb-nx{min-height:0}
  .mb-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mb-how,.gv-facts{grid-template-columns:1fr}
  .gv-facts li{border-bottom:1px solid var(--line);padding:18px 0}
}
@media (max-width:640px){
  .mb-hero .hero{padding-top:118px}
  .gv-top{padding-top:118px}
  .mb-hero .row .btn,.gv-top .row .btn{flex:1 1 100%}
  .mb-hero>.media img{object-position:74% 20%;transform:none}
  .mb-hero>.media video{object-position:72% 50%}
  .mb-hero.film::after{background:linear-gradient(180deg,rgba(15,26,46,.72) 0%,rgba(15,26,46,.5) 40%,rgba(15,26,46,.92) 100%)}
  .mb-give2{grid-template-columns:1fr;gap:6px}
  .mb-cat h3{white-space:normal}
  .mb-cats.more{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:has(.mb-bar){padding-bottom:76px}
  body:has(.mb-bar) .mcta{display:none!important}
  .mb-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:10px max(14px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));background:rgba(15,26,46,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#fff}
  .mb-bar span{font-size:14.5px;line-height:1.25;color:rgba(245,245,242,.86)}
  .mb-bar b{display:block;font-family:var(--fm);font-size:17px;letter-spacing:.04em;color:var(--citron);font-weight:500}
  .mb-bar .btn{min-height:46px;padding:0 20px;font-size:16px}
}

/* Reduced motion: no film is fetched (see mb_film() in web/pages/minibeast.php). The visitor gets 1 strong still from the film instead. Raise the number after "v=" whenever that picture is replaced, or browsers keep the old one. */
@media (prefers-reduced-motion:reduce){
  .mb-hero>.media video{display:none}
  .mb-hero>.media{background:#0A1220 url(/video/minibeast-hero-still.jpg?v=3) 66% 50%/cover no-repeat}
}

/* Narrow phones (375 and 360 wide): the logo and "customers" stay on 1 line, as the owner asked. Found on the live page on
   November 23, 2026: at 375 the word "customers" had dropped to a third line. */
@media (max-width:389px){.mb-partner{height:.72em}}
@media (max-width:374px){.mb-t{font-size:37px}.mb-w{font-size:23px}}

/* The giveaway card in the hero: its label became longer ("Giveaway entries close Cyber Monday, 6 PM ET", November 23, 2026),
   so the label may wrap inside a column of at most 250 px and the countdown always keeps at least 210 px. */
.mb-give2{grid-template-columns:minmax(0,250px) minmax(210px,1fr)}
.mb-give2 .k{display:block;line-height:1.4}
@media (max-width:640px){.mb-give2{grid-template-columns:1fr}}
