/* Login.jp × CKB: partnership framework deck.
   The rules this file must keep are in CLAUDE.md: three solid colors, square corners, the Helvetica stack,
   no capitals as a style, no letter-spacing above 0, nothing smaller than a heading above it, nothing under 12px,
   and text never straight on a photograph: it sits on a solid panel. `node tools/check.mjs` tests them. */

/* Japanese glyphs only (the unicode-range), and only on devices without Hiragino: a subset of Noto Sans JP
   holding the characters this page uses. `py tools/subset.py` rebuilds it after any change to the Japanese. */
@font-face{
  font-family:"Noto Sans JP";
  src:url("fonts/NotoSansJP-subset.woff2") format("woff2");
  font-weight:100 900;font-style:normal;font-display:swap;
  unicode-range:U+3000-30FF,U+31F0-31FF,U+3400-4DBF,U+4E00-9FFF,U+FF00-FFEF;
}

:root{
  --ink:#16181d;
  --paper:#f0f3fa;
  --pink:#ff009c;
  --latin:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --jp:"Helvetica Neue",Helvetica,Arial,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  --strip:32px;    /* the strip at the foot: the language switch and the slide counter */
  --edge:20px;
  --ease:cubic-bezier(.2,.75,.15,1);
}

*,*::before,*::after{box-sizing:border-box}
html{background:var(--ink);scroll-behavior:auto;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{height:100%;margin:0;overflow:hidden;overscroll-behavior:none}
body{
  display:grid;grid-template-rows:minmax(0,1fr) var(--strip);
  height:100vh;height:100dvh;
  background:var(--ink);color:var(--paper);
  font-family:var(--latin);font-size:16px;line-height:1.5;font-weight:400;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
:lang(en){font-family:var(--latin)}
:lang(ja){font-family:var(--jp);line-break:strict}
h1,h2,h3,h4,p,ol,ul,dl,dt,dd,address{margin:0;padding:0;font-weight:400;font-size:inherit}
ol,ul{list-style:none}
img,picture{display:block}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;border-radius:0;padding:0;margin:0;cursor:pointer}
:focus-visible{outline:2px solid var(--pink);outline-offset:3px}

/* one language at a time */
html[lang="en"] .ja,html[lang="ja"] .en{display:none}
/* a group of words that moves to the next line whole (a sentence of a headline), and a word that never splits */
.nb{display:inline-block}
.nw{white-space:nowrap}

/* ---------------------------------------------------------------- what stays on screen: the strip and the dots
   No bar across the top and no section list behind a button (Cameron, 2026-11-24): the slides fill the screen, as
   on CKB's other decks.
   - The strip at the foot is solid and takes the tone of the slide touching it (the script sets data-tone). It
     holds the language switch and the slide counter.
   - The dots at the right edge, on a desktop, are the section links: one square a slide, the current one pink.
     Each has a rim in the other tone, so it shows on any photograph. */
.strip{grid-row:2;position:relative;z-index:4;display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:0 var(--edge);
  background:var(--ink);color:var(--paper)}
.strip[data-tone="light"]{background:var(--paper);color:var(--ink)}
.count{font-size:14px;line-height:1}
.lang{display:flex;gap:2px;font-size:14px;line-height:1;flex:none}
.lang button{padding:8px 7px}
.lang button:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.lang button[aria-pressed="true"]{font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px;text-decoration-color:var(--pink)}
html:not(.js) .lang{display:none}

.dots{display:none;position:fixed;z-index:5;right:clamp(4px,1vw,14px);top:calc((100% - var(--strip)) / 2);transform:translateY(-50%);
  flex-direction:column;--dot:var(--paper);--rim:var(--ink)}
.dots[data-tone="light"]{--dot:var(--ink);--rim:var(--paper)}
.dots a{display:block;padding:5px}
.dots a::before{content:"";display:block;width:11px;height:11px;background:var(--dot);border:2px solid var(--rim);transition:transform .25s var(--ease)}
.dots a:hover::before{transform:scale(1.3)}
.dots a[aria-current="true"]::before{background:var(--pink);transform:scale(1.3)}

.lockup{display:flex;align-items:center;gap:14px;flex:none}
.lockup__rule{flex:none;width:1px;align-self:stretch;background:currentColor}
.logo{display:block;width:auto;flex:none}

/* ---------------------------------------------------------------- the six ways: panels over 03
   Cameron, 2026-11-25: "a hub that is clickable ... the only way to access the 6 slides ... by clicking the actual box
   ... a panel that comes in from the right side ... add a back arrow to each of the slides". The script moves the six
   slides out of the deck into this layer, which lies over the deck. A tile on 03 slides its panel in from the right;
   the arrow that starts the panel's title line (or Escape, or the browser's back) sends it back. The deck behind
   cannot be paged while a panel is open, and the dots step aside. Without the script the six stay in the deck after
   03 and the arrows are hidden. */
.sheets{grid-row:1;grid-column:1;position:relative;z-index:3;min-height:0;overflow:hidden;container:deck / size;pointer-events:none}
html:not(.js) .sheets{display:none}
.sheet-open .sheets{pointer-events:auto}
.sheets>.slide{position:absolute;inset:0;overflow:hidden auto;overscroll-behavior:contain;justify-content:flex-start;outline:0;
  transform:translateX(100%);visibility:hidden}
.sheets>.slide.is-open{transform:none;visibility:visible}
.sheets>.slide:not(.plug)>.frame{margin-block:auto}
.sheet-open .dots{visibility:hidden}
@media (prefers-reduced-motion: no-preference){
  .sheets>.slide{transition:transform .65s var(--ease),visibility 0s linear .65s}
  .sheets>.slide.is-open{transition:transform .65s var(--ease),visibility 0s}
}
/* the back arrow starts the title line: a solid square in the slide's other tone, the arrow in the slide's own */
.titlerow{display:flex;align-items:flex-start;gap:14px}
.titlerow>.h{flex:1 1 auto;min-width:0}
.back{--bk:44px;flex:none;width:var(--bk);height:var(--bk);margin-top:max(0px,calc((1.04 * var(--h-en) - var(--bk)) / 2));
  display:flex;align-items:center;justify-content:center;background:var(--ink);color:var(--paper)}
html[lang="ja"] .back{margin-top:max(0px,calc((1.28 * var(--h-ja) - var(--bk)) / 2))}
.dark .back{background:var(--paper);color:var(--ink)}
.back svg{display:block;width:55%;height:55%}
.back:hover{background:var(--pink);color:var(--paper)}
html:not(.js) .back{display:none}

/* ---------------------------------------------------------------- the deck
   The page itself never scrolls: #deck does. Touch pages it with the browser's own snap; a mouse or trackpad is
   paged by the script, one slide a gesture (the same pager as the Enterprise deck). */
#deck{grid-row:1;grid-column:1;position:relative;min-height:0;overflow:hidden auto;scroll-snap-type:y mandatory;overscroll-behavior:none;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;container:deck / size;outline:0}
#deck::-webkit-scrollbar{display:none}
@media (hover:hover) and (pointer:fine){#deck{scroll-snap-type:none}}

.slide{
  position:relative;overflow:hidden;
  min-height:100%;min-height:100cqh;
  scroll-snap-align:start;scroll-snap-stop:always;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  /* headline sizes, phone: 36-44px, Japanese one step under English */
  --h-en:clamp(40px,10.5vw,44px);
  --h-ja:clamp(36px,9.5vw,40px);
  --g:16px;
}
.dark{background:var(--ink);color:var(--paper)}
.light{background:var(--paper);color:var(--ink)}
.frame{position:relative;z-index:1;width:100%;max-width:720px;padding:32px var(--edge) 40px;display:flex;flex-direction:column;gap:24px}
.head{display:flex;flex-direction:column;gap:12px}
.body{min-width:0}

/* a photograph behind the slide: on a phone it is a block above the text, on a desktop it fills the slide and
   the text stands on a solid panel in front of it */
.bg{position:relative;flex:none;width:100%;height:44cqh;min-height:200px;overflow:hidden}
.bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.panel{position:relative;padding:24px 20px}
.panel--dark{background:var(--ink);color:var(--paper)}
.panel--light{background:var(--paper);color:var(--ink)}

/* ---------------------------------------------------------------- type */
.h{font-size:var(--h-en);font-weight:700;line-height:1.04;letter-spacing:-.02em;text-wrap:balance;
  overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}
.h .w{display:block}
.idx{color:var(--pink)}
html[lang="ja"] .h:not([lang="en"]){font-size:var(--h-ja);line-height:1.28;letter-spacing:0;font-feature-settings:"palt";text-spacing-trim:space-all}
.sub{font-size:16px;line-height:1.45}
.t20{font-size:20px;font-weight:700;line-height:1.25}
.t24{font-size:24px;font-weight:700;line-height:1.2}
.t32{font-size:32px;font-weight:700;line-height:1.15;letter-spacing:-.01em}
.p14{font-size:14px;line-height:1.5}
.p16{font-size:16px;line-height:1.5}
.p18{font-size:18px;line-height:1.5}
.pf{font-size:16px;line-height:1.5}      /* text the brief sizes only as 16 to 18px: it follows the frame on a desktop */
/* Japanese: more leading, and the short lines break between phrases, never inside a word (the <wbr> marks in the
   page are the phrase ends; keep-all forbids every other break, and anywhere is the way out for a phrase longer
   than its line). Running text keeps the ordinary Japanese line breaking. */
html[lang="ja"] .sub{line-height:1.6}
html[lang="ja"] :is(.t20,.t24,.t32){line-height:1.35;letter-spacing:0}
html[lang="ja"] :is(.p14,.p16,.p18,.pf,.bullets){line-height:1.7}
html[lang="ja"] :is(.h,.sub,.t20,.t24,.t32,.scale__end) .ja{word-break:keep-all;overflow-wrap:anywhere}
/* running text: phrase by phrase where the browser can (Chrome, Edge); elsewhere the ordinary Japanese breaking,
   set flush on both edges as Japanese text is */
html[lang="ja"] :is(.p14,.p16,.p18,.pf,.bullets li){word-break:auto-phrase}
@supports not (word-break:auto-phrase){html[lang="ja"] :is(.p14,.p16,.p18,.pf,.bullets li){text-align:justify}}
.sub,.p14,.p16,.p18,.pf{text-wrap:pretty}

/* ---------------------------------------------------------------- 01 cover */
.cover{justify-content:flex-start}
.cover .bg{height:48cqh}
.cover .bg img{object-position:72% 40%}
.frame--cover{padding-top:0;flex:1 1 auto;justify-content:center}
.cover__panel{display:flex;flex-direction:column;gap:16px;margin:0 calc(var(--edge) * -1)}
.lockup--cover{gap:16px;margin-bottom:4px}
.lockup--cover .logo--ckb{height:32px}
.lockup--cover .logo--loginjp{height:38px}
.h--cover{font-size:clamp(40px,10.5vw,44px)}

/* the equalizer: a row of pink bars that moves like a level meter */
.eq{display:flex;align-items:flex-end;gap:5px;height:26px}
.eq i{display:block;width:7px;height:100%;background:var(--pink);transform-origin:bottom;transform:scaleY(.4)}
.eq i:nth-child(2n){transform:scaleY(.75)}
.eq i:nth-child(3n){transform:scaleY(.55)}

/* ---------------------------------------------------------------- 02 about Clutch Kickback (slide 06 of the hill climb deck)
   The League's film plays behind; the mark, the title, the paragraph and the link stand on a solid panel. */
.about{justify-content:flex-start}
.bg video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.about .bg video{object-position:50% 50%}
.frame--about{padding-top:0}
.about__panel{display:flex;flex-direction:column;gap:16px;margin:0 calc(var(--edge) * -1)}
.logo--mark{height:64px;align-self:flex-start;margin-bottom:6px}
.about__more a{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:700;line-height:1.2;text-decoration:none;
  border-bottom:2px solid var(--pink);padding:6px 0}
.about__more svg{width:15px;height:10px;flex:none}
.about__more svg{transition:transform .25s var(--ease)}
.about__more a:hover svg{transform:translateX(4px)}

/* ---------------------------------------------------------------- 03 six ways: a photo index of the six buckets */
.tiles{display:grid;grid-template-columns:1fr;gap:12px}
.tile a{display:grid;grid-template-columns:38% minmax(0,1fr);text-decoration:none;border:1px solid currentColor;min-height:108px;height:100%}
.tile--own a{border-top:4px solid var(--pink)}
.tile__ph{position:relative;overflow:hidden;display:block}
.tile__ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.tile a:hover .tile__ph img{transform:scale(1.07)}
.tile__ph--sticker{background:var(--paper);color:var(--ink);display:flex;align-items:center;justify-content:center;padding:8px}
.tile__sticker{font-size:16px;font-weight:700;line-height:1.1;text-align:center}
.tile__txt{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:12px 14px}
.tile a:hover .t24{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;text-decoration-color:var(--pink)}
.ph-img--video{object-position:40% 35%}
.ph-img--events{object-position:50% 40%}
.ph-img--series{object-position:50% 60%}
.ph-img--plug-ckb{object-position:40% 50%}
.ph-img--plug-loginjp{object-position:50% 55%}

/* ---------------------------------------------------------------- 04, 05 concepts: the scale and three cards */
.ideas{display:flex;flex-direction:column;gap:20px}
/* the scale from Kinetic to Static, highlighted (Cameron, 2026-11-24): a pink line that draws itself, an arrowhead,
   and a square that runs along it fast and slows to a stop, from the most motion to the least */
.scale{display:flex;align-items:center;gap:14px}
.scale__end{font-size:24px;font-weight:700;line-height:1}
.scale__track{position:relative;flex:1 1 auto;height:4px}
.scale__line{position:absolute;inset:0;background:var(--pink);transform-origin:left}
.scale__track::after{content:"";position:absolute;right:1px;top:50%;width:14px;height:14px;
  border-top:4px solid var(--pink);border-right:4px solid var(--pink);transform:translateY(-50%) rotate(45deg)}
.scale__run{position:absolute;left:0;top:50%;width:calc(100% - 26px);height:0}
.scale__run i{position:absolute;left:0;top:-7px;width:14px;height:14px;background:currentColor}

.cards{display:grid;grid-template-columns:1fr;gap:var(--g)}
.card{border:1px solid currentColor;display:flex;flex-direction:column;min-width:0}
.card--own{border-top:4px solid var(--pink)}
.card>:is(h3,p){padding:0 20px}
.card>h3{padding-top:16px}
.card>p{padding-top:8px}
.card>:last-child{padding-bottom:20px}
.ph{position:relative;aspect-ratio:16 / 9;overflow:hidden}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ph--convoy img{object-position:55% 62%}
.ph--mountain-road img{object-position:50% 58%}
.ph--meat-greet img{object-position:40% 45%}
.ph--cruise-la img{object-position:42% 60%}
.ph--party img{object-position:50% 55%}
.ph--stadium-meet img{object-position:50% 40%}
.ph--workshop img{object-position:60% 55%}
.ph--track-set-up img{object-position:50% 45%}

/* ---------------------------------------------------------------- 07, 08 the plug-ins */
.plug{justify-content:flex-start}
#ckb-plug-in .bg img{object-position:60% 40%}
#loginjp-plug-in .bg img{object-position:60% 62%}
.frame--plug{padding-top:0}
.plug__panel{display:flex;flex-direction:column;gap:14px;margin:0 calc(var(--edge) * -1)}
/* the deal in bullet points (Cameron, 2026-11-25: "Make these bullet points instead of different lines"), each with a
   pink square; on 4 a note at the foot of the card holds what the short points leave out */
.bullets{font-size:18px;line-height:1.45;display:flex;flex-direction:column;gap:10px;margin-top:6px}
.bullets li{position:relative;padding-left:26px}
.bullets li::before{content:"";position:absolute;left:0;top:calc(.725em - 5px);width:10px;height:10px;background:var(--pink)}
.note{border-top:1px solid currentColor;padding-top:12px;margin-top:4px}
/* Cameron, 2026-11-25: "Please make the note italicized", and the same note on 5. In English only: Japanese has no
   italic, and a browser would slant the glyphs itself */
.note .en{font-style:italic}

/* ---------------------------------------------------------------- 09 merch */
.rows{display:flex;flex-direction:column}
.n32{font-size:32px;font-weight:700;line-height:1;min-width:.9em}
.rows--merch{gap:24px}
.rows--merch li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:18px;align-items:start}
.merch{display:flex;flex-direction:column;gap:28px}
/* Cameron's sticker mock-up (2026-11-25): cut out, so the stickers stand straight on the panel's dark, no box */
.sticker{width:min(320px,100%);flex:none}
.sticker img{display:block;width:100%;height:auto}

/* ---------------------------------------------------------------- 10 terms: a photo band, then two steps on a line */
.frame--terms{gap:20px}
.band{position:relative;height:22cqh;min-height:120px;overflow:hidden}
.band img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 55%}
.rail{position:relative;padding-left:26px}
.rail__line{position:absolute;left:5px;top:6px;bottom:6px;width:4px;background:var(--pink);transform-origin:top}
.rail__steps{display:flex;flex-direction:column;gap:22px}
.step{position:relative;display:flex;flex-direction:column;gap:8px}
.step::before{content:"";position:absolute;left:-27px;top:4px;width:16px;height:16px;background:var(--pink);border:3px solid var(--paper)}
.light .step::before{border-color:var(--paper)}
.dark .step::before{border-color:var(--ink)}

/* ---------------------------------------------------------------- 11 thank you */
.thanks{justify-content:flex-start}
.thanks .bg{height:52cqh}
.thanks .bg img{object-position:50% 40%}
.frame--thanks{padding-top:0;flex:1 1 auto;justify-content:center}
.thanks__panel{display:flex;flex-direction:column;gap:22px;margin:0 calc(var(--edge) * -1)}
.h--thanks{font-size:clamp(40px,10.5vw,44px)}
.lockup--thanks{gap:16px}
.lockup--thanks .logo--ckb{height:30px}
.lockup--thanks .logo--loginjp{height:36px}

/* ---------------------------------------------------------------- motion
   Each slide plays its entrance the first time it is reached (the script marks it .is-on), and its loops only while
   it is on screen (.is-active). Nothing fades: things slide and are unmasked, always fully opaque (the brand rule
   allows no transparency). prefers-reduced-motion, and a page without its script, show everything at rest. */
@media (prefers-reduced-motion: no-preference){
  .js .slide [data-r]{transition:transform .9s var(--ease),clip-path .9s var(--ease)}
  .js .slide:not(.is-on) [data-r="rise"]{transform:translateY(34px);clip-path:inset(0 0 100% 0)}
  .js .slide:not(.is-on) [data-r="side"]{transform:translateX(-40px);clip-path:inset(0 100% 0 0)}
  .js .slide:not(.is-on) [data-r="side-r"]{transform:translateX(40px);clip-path:inset(0 0 0 100%)}
  .js .slide:not(.is-on) [data-r="wipe"]{clip-path:inset(0 100% 0 0)}
  .js .slide.is-on [data-r]{clip-path:inset(-2rem)}
  .js .slide.is-on [data-r="wipe"]{clip-path:inset(0)}
  .js .h .w{transition:transform 1s var(--ease) .05s}
  .js .slide:not(.is-on) .h .w{transform:translateY(110%)}
  .js .slide .head [data-r]{transition-delay:.2s}
  .js .slide .d1{transition-delay:.3s}
  .js .slide .d2{transition-delay:.42s}
  .js .slide .d3{transition-delay:.54s}
  .js .slide .d4{transition-delay:.66s}
  .js .slide .d5{transition-delay:.78s}
  .js .slide :is(.plug__panel,.about__panel) .d1{transition-delay:.55s}
  .js .slide :is(.plug__panel,.about__panel) .d2{transition-delay:.67s}
  .js .slide .plug__panel .d3{transition-delay:.79s}
  .js .slide .plug__panel .d4{transition-delay:.91s}
  .js .slide .plug__panel .d5{transition-delay:1.03s}

  /* the scale draws itself, then its square starts to run */
  .js .scale__line{transition:transform 1.1s var(--ease) .35s}
  .js .slide:not(.is-on) .scale__line{transform:scaleX(0)}
  .js .slide.is-active .scale__run{animation:run 3.6s cubic-bezier(.1,.85,.2,1) 1.2s infinite}
  @keyframes run{0%{transform:translateX(0)} 65%,100%{transform:translateX(100%)}}

  /* the terms line draws down (a phone) or across (a desktop) */
  .js .rail__line{transition:transform 1.4s var(--ease) .3s}
  .js .slide:not(.is-on) .rail__line{transform:scaleY(0)}

  /* slow push-in on the photographs behind the slides */
  .slide.is-active .bg.kb img{animation:kb 20s ease-in-out infinite alternate}
  @keyframes kb{from{transform:scale(1)} to{transform:scale(1.08)}}

  /* the photos on the scale move with it: the kinetic end pans, the middle drifts, the static end holds still */
  .move-fast img,.move-slow img{transform:scale(1.16)}
  .slide.is-active .move-fast img{animation:pan 6s ease-in-out infinite alternate}
  .slide.is-active .move-slow img{animation:pan 16s ease-in-out infinite alternate}
  @keyframes pan{from{transform:scale(1.16) translateX(-5%)} to{transform:scale(1.16) translateX(5%)}}

  /* the level meter */
  .slide.is-active .eq i{animation:eq .9s ease-in-out infinite alternate}
  .slide.is-active .eq i:nth-child(2){animation-duration:.6s}
  .slide.is-active .eq i:nth-child(3){animation-duration:1.1s}
  .slide.is-active .eq i:nth-child(4){animation-duration:.7s}
  .slide.is-active .eq i:nth-child(5){animation-duration:1.3s}
  .slide.is-active .eq i:nth-child(6){animation-duration:.8s}
  .slide.is-active .eq i:nth-child(7){animation-duration:1s}
  .slide.is-active .eq i:nth-child(8){animation-duration:.65s}
  .slide.is-active .eq i:nth-child(9){animation-duration:1.2s}
  @keyframes eq{from{transform:scaleY(.15)} to{transform:scaleY(1)}}

  /* the stickers float */
  .slide.is-active .sticker img{animation:float 6s ease-in-out infinite}
  @keyframes float{0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-10px) rotate(-1.5deg)}}
}

/* ---------------------------------------------------------------- desktop: the 16:9 frame
   --fw is the frame's width: as wide as the deck, as wide as its height allows at 16:9, and 1600px at most.
   The slide's color fills whatever is left around it, and a photograph behind a slide fills all of it. Spacing
   follows the frame, so a small window keeps the same proportions. A window too short for a slide lets that
   slide grow, and the pager stops down it. */
@media (min-width:900px) and (min-aspect-ratio:5/4){
  :root{--strip:34px;--edge:24px}
  .dots{display:flex}
  .slide{
    --fw:min(100cqw,177.778cqh,1600px);
    --px:calc(var(--fw) * .05);
    --py:calc(var(--fw) * .03);
    --g:calc(var(--fw) * .0167);
    /* headline sizes, desktop: 56-72px, Japanese one step under English */
    --h-en:clamp(64px,calc(var(--fw) * .05),72px);
    --h-ja:clamp(56px,calc(var(--fw) * .05 - 8px),64px);
  }
  .frame{width:var(--fw);max-width:none;min-height:calc(var(--fw) * .5625);padding:var(--py) var(--px);gap:calc(var(--g) * 1.3)}
  .head{gap:calc(var(--g) * .7)}
  .body{flex:1 1 auto}
  .sub{font-size:20px;max-width:47em}
  html[lang="ja"] .sub{max-width:38em}
  .pf{font-size:clamp(16px,calc(var(--fw) * .0125),18px)}
  .panel{padding:calc(var(--g) * 1.5) calc(var(--g) * 1.7)}
  .titlerow{gap:var(--g)}
  .back{--bk:clamp(48px,calc(var(--fw) * .04),60px)}

  /* a photograph behind the slide fills it, edge to edge */
  .bg{position:absolute;inset:0;height:auto;min-height:0;z-index:0}
  .cover .bg,.thanks .bg{height:auto}

  /* 01: the photo fills the screen; the title stands on a solid block at the bottom left */
  .frame--cover{justify-content:flex-end;padding-top:var(--py)}
  .cover__panel{width:min(46%,600px);margin:0;gap:calc(var(--g) * 1.1)}
  .lockup--cover{gap:22px;margin-bottom:calc(var(--g) * .8)}
  .lockup--cover .logo--ckb{height:clamp(34px,calc(var(--fw) * .03),46px)}
  .lockup--cover .logo--loginjp{height:clamp(41px,calc(var(--fw) * .036),55px)}
  .h--cover{font-size:clamp(56px,calc(var(--fw) * .05),72px)}
  .eq{height:34px;gap:6px}
  .eq i{width:9px}

  /* 02: the film fills the slide; the panel stands on the left, like the hill climb deck's slide 06 */
  .frame--about{flex-direction:row;align-items:center;padding-top:var(--py)}
  .about__panel{width:min(58%,660px);margin:0;gap:calc(var(--g) * 1.1)}
  .logo--mark{height:clamp(64px,calc(var(--fw) * .07),104px);margin-bottom:calc(var(--g) * .4)}

  /* 03: the six buckets as photo tiles, three by two; a tile goes to its slide */
  .tiles{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:var(--g)}
  .tile a{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;min-height:0}
  .tile__ph{min-height:calc(var(--fw) * .06)}
  .tile__txt{padding:calc(var(--g) * .7) calc(var(--g) * .95)}
  .tile__sticker{font-size:20px}

  /* 04, 05, 06: the photo slots share one row, so they are the same height whatever the text below them */
  .ideas{gap:var(--g)}
  .scale{gap:calc(var(--g) * 1.2)}
  .cards{flex:1 1 auto;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr) auto auto;column-gap:var(--g);row-gap:0}
  .cards--two{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr) auto auto auto}
  .card{display:grid;grid-row:span 3;grid-template-rows:minmax(0,1fr) auto auto;grid-template-rows:subgrid}
  .cards--two .card{grid-row:span 4;grid-template-rows:minmax(0,1fr) auto auto auto;grid-template-rows:subgrid}
  .card>:is(h3,p){padding-left:calc(var(--g) * 1.1);padding-right:calc(var(--g) * 1.1)}
  .card>h3{padding-top:calc(var(--g) * .8)}
  .ph{aspect-ratio:auto;min-height:calc(var(--fw) * .07)}

  /* 07, 08: the photo fills the slide; the deal stands on a solid panel on the left */
  .frame--plug{flex-direction:row;align-items:stretch;padding-top:var(--py)}
  .plug__panel{width:min(48%,640px);margin:0;justify-content:center;gap:calc(var(--g) * .9)}
  #ckb-plug-in .bg img{object-position:50% 40%}
  #loginjp-plug-in .bg img{object-position:50% 62%}

  /* 09 */
  .merch{flex-direction:row;align-items:center;gap:calc(var(--g) * 4)}
  .sticker{width:calc(var(--fw) * .36)}
  .rows--merch{flex:1 1 auto;gap:calc(var(--g) * 1.8)}
  .rows--merch li{column-gap:calc(var(--g) * 1.2);align-items:center}

  /* 10: the band, then the steps along one pink line. One step since 2026-11-25 (Cameron removed the season): it keeps
     the width it had as the first of two, so its lines stay short */
  .frame--terms{gap:var(--g)}
  .band{height:auto;flex:1 1 auto;min-height:calc(var(--fw) * .1)}
  .rail{padding-left:0;padding-top:calc(var(--g) * 1.6);flex:none}
  .rail__line{left:0;right:0;top:6px;bottom:auto;width:auto;height:4px;transform-origin:left}
  @media (prefers-reduced-motion: no-preference){.js .slide:not(.is-on) .rail__line{transform:scaleX(0)}}
  .rail__steps{flex-direction:row;gap:calc(var(--g) * 2)}
  .step{flex:1 1 0;min-width:0;max-width:calc(50% - var(--g))}
  .step::before{left:0;top:calc(var(--g) * -1.6 - 1px);width:16px;height:16px}

  /* 11: the crowd fills the screen; thank you on a solid block */
  .frame--thanks{justify-content:flex-end;padding-top:var(--py)}
  .thanks__panel{width:min(52%,720px);margin:0;gap:calc(var(--g) * 1.2)}
  .h--thanks{font-size:72px}
  html[lang="ja"] .h--thanks:not([lang="en"]){font-size:64px}
  .lockup--thanks{gap:22px}
  .lockup--thanks .logo--ckb{height:40px}
  .lockup--thanks .logo--loginjp{height:48px}
}
