/*
 * front.css: the front page's stylesheet. The three faces first, then the page.
 *
 * Everything is scoped under .wf and sized with container units, so the page
 * can sit inside any box. The breakpoints are container queries on .wf.
 *
 * The page is built to pass a blur test (CLAUDE.md, "The front page is
 * calm"). Squint at any screen of it and what is left should be the thing to
 * press and the next thing to look at. So two fills are spoken for: white is
 * the free browser edition and yellow is Steam, and they are spent on the two
 * buttons, on the two edition cards and on the two columns of the table that
 * compares them, and on nothing else. A headline is type and not a plate, a
 * paragraph has no box, the grounds are ink or paper, and only a picture gets
 * a border and a hard shadow. A caption on a picture is ink, so it goes away
 * in a squint and the picture stays.
 *
 * Anton, Barlow and Barlow Condensed are served from front/fonts/ (no
 * outside font host), Latin subset, under the SIL Open Font License 1.1:
 * see front/fonts/OFL.txt and NOTICE.
 *
 * This file is part of the WebFPVSimulator landing page.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or (at
 * your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY, without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 */
@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/anton-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/barlow-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/barlow-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/barlow-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-condensed-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/barlow-condensed-latin-700-normal.woff2) format('woff2')}
body{margin:0}
/* .wf is a column of flex items for one reason: a phone puts the first screen
   above the bar (order, in the phone block below), and an element cannot be
   reordered by a query on itself, so the column is here at every width. */
.wf{
  --paper:#f1ead6; --ink:#111318; --yel:#ffc21a; --pink:#f09ab3; --white:#fffdf5; --soft:#ece6d6; --mut:#cfc8b6; --line:rgba(255,253,245,.22);
  --pad:clamp(16px,4.6cqw,64px); --sl:38px; --cut:max(28px,3cqw); --fo:#ffc21a;
  container-type:inline-size; position:relative; color:var(--white);
  display:flex; flex-direction:column;
  background-color:var(--ink);
  background-image:radial-gradient(rgba(255,253,245,.05) 1.1px,transparent 1.35px);
  background-size:8px 8px;
  font-family:'Barlow',system-ui,sans-serif; font-weight:500; font-size:18px; line-height:1.5;
  overflow-x:clip; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
.wf *,.wf *::before,.wf *::after{box-sizing:border-box}
.wf img,.wf video{display:block;max-width:100%}
.wf h1,.wf h2,.wf h3,.wf h4,.wf p,.wf ul,.wf dl,.wf dd,.wf dt,.wf figure{margin:0;padding:0}
.wf ul{list-style:none}
.wf a{color:inherit}
.wf em{font-style:normal}
.wf button{font:inherit;color:inherit;cursor:pointer}
.wf a:focus-visible,.wf button:focus-visible{outline:3px solid var(--fo);outline-offset:3px}
.wf .on-light{--fo:#1746d1}
.wf .play:focus-visible{outline-offset:-8px}
.wf .w{max-width:1368px;margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.wf .lab{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.09em;font-size:15px;line-height:1.2}
.wf .nc{text-transform:none}

/* the publisher's mark, in the footer, as on the publisher's own site */
.wf .mark{display:inline-flex;align-items:center;gap:9px;text-decoration:none;min-height:44px;color:var(--white)}
.wf .mark b{font-family:'Anton',Impact,sans-serif;font-weight:400;font-size:34px;line-height:1;letter-spacing:.01em;display:inline-flex;align-items:center}
.wf .mark b i{font-style:normal;background:var(--yel);color:var(--ink);padding:.1em .13em .02em;margin-left:.06em;transform:rotate(-2deg)}
.wf .mark span{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:13px;letter-spacing:.26em;text-transform:uppercase;padding-top:9px;margin-left:4px}

/* the top strip and the bar */
.wf .ts{background:var(--ink);color:var(--mut)}
.wf .ts-in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;min-height:44px}
.wf .ts-in>:last-child{justify-self:end}
.wf .ts .lab{font-size:14px}
.wf a.ts-l{display:inline-flex;align-items:center;gap:.34em;min-height:44px;text-decoration:none;justify-self:start}
.wf a.ts-l:hover .nc{text-decoration:underline;text-underline-offset:3px}
.wf .mo{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:0 2px;background:none;border:0;color:inherit}
.wf .mo:hover{color:var(--white)}
.wf .mo svg{width:15px;height:15px;flex:none}
.wf .bar{position:sticky;top:0;z-index:40;background-color:var(--paper);background-image:radial-gradient(rgba(17,19,24,.12) 1.1px,transparent 1.35px);background-size:8px 8px;color:var(--ink);border-bottom:4px solid var(--ink);--fo:#1746d1}
.wf .bar-in{display:flex;align-items:center;gap:8px 16px;min-height:74px}
.wf .bar-wf{display:inline-flex;align-items:center;margin-right:auto;text-decoration:none;min-height:44px}
.wf .bar-wf img{height:40px;width:auto;background:var(--ink);padding:8px 13px 7px 9px;transform:rotate(-1.5deg)}
.wf .bar-l{display:flex;gap:2px}
.wf .bar-l a{display:inline-flex;align-items:center;min-height:44px;padding:0 11px;text-decoration:none;color:var(--ink);font-size:17px;letter-spacing:.07em}
.wf .bar-l a:hover{background:var(--ink);color:var(--white)}
.wf .bar .btn .ph{display:none}

/* Buttons. Yellow is the Steam button and .wh, white, is Play now: the pair.
   .gh is every other button on the page, an outline with no fill and no
   shadow, so it never reads as a third one of the pair. */
.wf .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:2px 24px 0;border:4px solid var(--ink);background:var(--yel);color:var(--ink);font-family:'Anton',Impact,sans-serif;font-size:21px;line-height:1;letter-spacing:.03em;text-transform:uppercase;text-decoration:none;box-shadow:5px 5px 0 var(--pink);transition:transform .12s ease,box-shadow .12s ease}
.wf .btn:hover{transform:translate(-2px,-2px);box-shadow:8px 8px 0 var(--pink)}
.wf .btn:active{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--pink)}
.wf .btn.wh{background:var(--white)}
.wf .btn.sm{min-height:46px;font-size:17px;padding:2px 16px 0;box-shadow:4px 4px 0 var(--pink)}
.wf .btns{display:flex;flex-wrap:wrap;gap:14px 18px}
/* Wherever the pair stands together its two buttons are the same width,
   whatever the two labels say (the first screen's .hbt does the same). */
.wf .btns[data-pair]{display:inline-grid;grid-template-columns:1fr 1fr}
.wf .on-light .btn,.wf .bar .btn{box-shadow:5px 5px 0 var(--ink)}
.wf .bar .btn.sm{box-shadow:4px 4px 0 var(--ink)}
.wf .on-light .btn:hover,.wf .bar .btn:hover{box-shadow:8px 8px 0 var(--ink)}
/* One filled pair on a screen. The bar repeats the pair, so while one of the
   page's own pairs is in the window (front.js says so on the root) the bar's
   two go to sleep: an outline, no fill, no shadow. They are still there to
   press, and a pointer or the keyboard wakes the one it lands on. */
.wf .bar .btn{transition:transform .12s ease,box-shadow .18s ease,background-color .18s ease}
.wf.pair-on .bar .btn:not(:hover):not(:focus-visible){background-color:transparent;box-shadow:none}
.wf .btn.gh,.wf .btn.gh:hover,.wf .btn.gh:active{background:none;border-color:currentColor;color:var(--white);box-shadow:none;transform:none}
.wf .btn.gh:hover{background:rgba(255,253,245,.12)}
.wf .on-light .btn.gh,.wf .thanks-card .btn.gh{color:var(--ink)}
.wf .on-light .btn.gh:hover,.wf .thanks-card .btn.gh:hover{background:rgba(17,19,24,.08)}
.wf .btn .pi{width:.76em;height:.76em;flex:none;margin-top:-2px}
.wf .btn .si{width:1.08em;height:1.08em;flex:none;margin-top:-3px;color:#000}
.wf .btn.xl{min-height:84px;padding:8px 28px 5px 22px;gap:16px;font-size:31px;text-align:left;justify-content:flex-start;box-shadow:7px 7px 0 var(--pink)}
.wf .btn.xl:hover{box-shadow:10px 10px 0 var(--pink)}
.wf .btn.xl .pi{width:30px;height:30px;margin-top:-4px}
.wf .btn.xl .si{width:40px;height:40px;margin-top:-4px}
.wf .btn.xl .b2{display:flex;flex-direction:column;gap:6px}
.wf .btn.xl .b2 b{font-weight:400}
.wf .btn.xl .b2 small{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:700;font-size:16px;letter-spacing:.09em;line-height:1}

/* The first screen. The picture runs edge to edge; the wordmark, the
   headline and one line are type on it; the pair is the only two filled
   blocks; the partners and the Steam date are a quiet row along the foot.
   It fills the window under the strip and the bar (122 px) and no more, so
   the trailer's bright top edge is not a third bar along the bottom. */
.wf .hero{position:relative;min-height:660px;min-height:clamp(540px,calc(100svh - 122px),860px);display:flex;align-items:flex-end;overflow:hidden;background:#2f6f2c}
.wf .hero-v{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:100% 100%;transform-origin:100% 100%;transform:scale(1.07) translate(3%,0);animation:wfhero 26s ease-in-out infinite alternate}
@keyframes wfhero{
  from{transform:scale(1.06) translate(3%,0)}
  to{transform:scale(1.1) translate(3.3%,0)}
}
.wf .hero-sh{position:absolute;inset:0;background:linear-gradient(0deg,#111318 0%,rgba(17,19,24,.9) 11%,rgba(17,19,24,.5) 24%,rgba(17,19,24,0) 44%),linear-gradient(90deg,rgba(17,19,24,.84) 0%,rgba(17,19,24,.62) 30%,rgba(17,19,24,.16) 52%,rgba(17,19,24,0) 64%)}
.wf .hero-sh::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(17,19,24,.55) 1.5px,transparent 1.9px);background-size:7px 7px;-webkit-mask-image:linear-gradient(90deg,#000 0,rgba(0,0,0,.6) 24%,transparent 46%);mask-image:linear-gradient(90deg,#000 0,rgba(0,0,0,.6) 24%,transparent 46%)}
.wf .hero-in{position:relative;width:100%;display:flex;flex-direction:column;gap:40px;padding-top:48px;padding-bottom:22px}
.wf .hero-t{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}
.wf .hero-logo{width:min(440px,38cqw);height:auto;margin:0 0 4px -10px;filter:drop-shadow(7px 7px 0 rgba(17,19,24,.55))}
.wf .hero h1{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(34px,5.4cqw,80px);line-height:.98;letter-spacing:.006em;text-shadow:0 3px 0 rgba(17,19,24,.55),0 0 28px rgba(17,19,24,.45)}
.wf .hero h1 span,.wf .hero h1 em{display:block;white-space:nowrap}
.wf .hero h1 em{color:var(--pink)}
.wf .hero-k{font-size:22px;font-weight:600;line-height:1.35;color:var(--soft);max-width:min(30em,48cqw);text-wrap:balance;text-shadow:0 0 18px rgba(17,19,24,.7)}
/* The pair, the same width whatever the two labels say. */
.wf .hbt{display:inline-grid;grid-template-columns:1fr 1fr;gap:16px 22px;margin-top:10px}
.wf .hero-f{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 44px;border-top:1px solid var(--line);padding-top:12px}
/* The partners' marks: one colour, one height, a label, and no box. A mark is
   counted as seen only when it is drawn at half strength or more, so this
   opacity stays above .5 (src/support-boot.js). */
.wf .hp{display:flex;align-items:center;gap:4px 20px;min-width:0}
.wf .hp>.lab{font-size:12.5px;letter-spacing:.14em;line-height:1.25;color:var(--mut);width:min-content}
.wf .hp-r{display:flex;align-items:center;flex-wrap:wrap;gap:0 24px}
.wf .hp-r a{display:inline-flex;align-items:center;min-height:44px;opacity:.82;transition:opacity .15s ease}
.wf .hp-r a:hover{opacity:1}
.wf .hp-r img{height:28px;width:auto;max-width:none}
.wf .hp-r img.wide{height:16px}
/* The Steam date and the countdown, as a line of type. */
.wf .cdc{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;align-items:baseline;gap:3px 16px}
.wf .cdc .lab{grid-column:1/-1;font-size:12.5px;letter-spacing:.14em;color:var(--mut)}
.wf .cdc b.d{font-family:'Anton',Impact,sans-serif;font-weight:400;font-size:24px;line-height:1.1;text-transform:uppercase;letter-spacing:.02em}
.wf .cdc .pr{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:20px;line-height:1.1;text-transform:uppercase;letter-spacing:.05em;color:var(--mut)}
.wf .cd{display:flex;align-items:baseline;gap:14px}
.wf .cd-b{display:inline-flex;align-items:baseline;gap:5px}
.wf .cd-b b{font-family:'Anton',Impact,sans-serif;font-weight:400;font-size:24px;line-height:1.1}
.wf .cd-b i{font-style:normal;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--mut)}

/* Pictures. A frame is the one thing on the page with a border and a hard
   shadow; a caption on it is ink. */
.wf .frame{position:relative;border:4px solid var(--white);background:#1a2330;box-shadow:10px 10px 0 var(--pink)}
.wf .fig{aspect-ratio:16/9;overflow:hidden}
.wf .fig>img,.wf .fig>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wf .cap{position:absolute;left:14px;top:14px;z-index:2;max-width:calc(100% - 36px);background:var(--ink);color:var(--white);padding:7px 11px 4px}
.wf .cap b{display:block;font-family:'Anton',Impact,sans-serif;font-weight:400;font-size:21px;line-height:1.08;text-transform:uppercase;letter-spacing:.02em}
.wf .ht::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background-image:radial-gradient(rgba(17,19,24,.62) 2.3px,transparent 2.7px);background-size:10px 10px;-webkit-mask-image:linear-gradient(225deg,#000 0,rgba(0,0,0,.5) 14%,transparent 33%);mask-image:linear-gradient(225deg,#000 0,rgba(0,0,0,.5) 14%,transparent 33%)}

/* The trailer: the next thing to look at. Its control is a dark disc in the
   middle of the picture, which says "watch" and is not a third button. */
.wf .tr{position:relative;padding:30px 0 100px;scroll-margin-top:96px}
.wf .tr>.w{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:24px 52px;align-items:center}
.wf .tr-p video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000}
.wf .play{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;border:0;padding:0;background:radial-gradient(closest-side,rgba(17,19,24,.36),rgba(17,19,24,0) 72%)}
.wf .play-d{display:grid;place-items:center;width:104px;height:104px;border-radius:50%;border:4px solid var(--white);background:rgba(17,19,24,.86);color:var(--white);transition:transform .14s ease,background-color .14s ease}
.wf .play-d svg{width:40px;height:40px;margin-left:7px}
.wf .play-t{background:var(--ink);color:var(--white);font-family:'Anton',Impact,sans-serif;font-size:23px;line-height:1;letter-spacing:.04em;text-transform:uppercase;padding:9px 14px 6px}
.wf .play:hover .play-d{transform:scale(1.07);background:var(--ink)}
.wf .tr-n{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.wf .tr-t{font-size:23px;line-height:1.42;color:var(--soft);text-wrap:pretty}
.wf .tr-n .lab{color:var(--mut);text-wrap:balance}

/* Slanted bands of paper: the two places the ground changes. */
.wf .band{position:relative;color:var(--ink);--fo:#1746d1;clip-path:polygon(0 0,100% var(--cut),100% 100%,0 calc(100% - var(--cut)));padding:calc(84px + var(--cut)) 0 calc(92px + var(--cut));scroll-margin-top:40px}
.wf .band.rv{clip-path:polygon(0 var(--cut),100% 0,100% calc(100% - var(--cut)),0 100%)}
.wf .band.pp{background-color:var(--paper);background-image:radial-gradient(rgba(17,19,24,.12) 1.1px,transparent 1.35px);background-size:8px 8px}
/* A headline on paper. Pink type has no contrast on paper, so the accent is a
   stroke of pink highlighter under the words, the way a reader marks a page. */
.wf .bh{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(42px,6.6cqw,96px);line-height:.96;letter-spacing:.004em}
.wf .bh em{white-space:nowrap;padding:0 .1em;margin:0 -.1em;background:linear-gradient(0deg,transparent 7%,var(--pink) 7%,var(--pink) 45%,transparent 45%)}

/* firmware */
.wf .exh{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,3fr) minmax(0,4fr);gap:38px 30px;align-items:end;margin-top:40px}
.wf .exh .lead{grid-column:1/3;grid-row:1;align-self:start;font-size:28px;font-weight:600;line-height:1.34;max-width:25em;text-wrap:balance}
.wf .exh .lead small{display:block;font-size:21px;font-weight:500;line-height:1.42;margin-top:10px;text-wrap:pretty}
.wf .xp{grid-row:2}
.wf .xt{grid-column:3;grid-row:1/3}
.wf .xp,.wf .xt{margin:0;border:4px solid var(--ink);background:var(--white);box-shadow:8px 8px 0 var(--ink)}
.wf .xp{transform:rotate(-1.6deg)}
.wf .xp+.xp{transform:rotate(1.3deg) translateY(-14px)}
.wf .xp img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.wf .xt{background:#0e1310;transform:rotate(-.7deg)}
.wf .xt video{display:block;width:100%;aspect-ratio:592/464;object-fit:cover}
.wf .exh figcaption{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:18.5px;line-height:1.2;padding:8px 11px 6px;border-top:4px solid var(--ink);background:var(--white);color:var(--ink)}
.wf .nums{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 30px;margin-top:64px}
.wf .nums>div{border-top:4px solid var(--ink);padding-top:16px;display:flex;flex-direction:column;gap:6px}
.wf .nums b{font-family:'Anton',Impact,sans-serif;font-weight:400;font-size:clamp(46px,5.8cqw,84px);line-height:1;white-space:nowrap;letter-spacing:.004em}
.wf .nums span{font-size:19px;font-weight:600;line-height:1.3;text-wrap:balance}
.wf .nums-n{font-size:19px;font-weight:600;line-height:1.45;margin-top:30px;max-width:46em;text-wrap:pretty}

/* Sections on ink, and their headlines: white type with one pink word. */
.wf .sec{padding:104px 0 108px;position:relative;scroll-margin-top:60px}
.wf .sec.sec-m{padding-top:76px;padding-bottom:84px}
.wf h2.t{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(42px,6.6cqw,96px);line-height:.96;letter-spacing:.004em}
.wf h2.t em{color:var(--pink);white-space:nowrap}
.wf .deck{font-size:23px;font-weight:600;line-height:1.4;color:var(--soft);margin-top:16px;max-width:34em;text-wrap:pretty}

/* Modes. Four of them, all on ink, each a picture and a few lines: a name
   with its number, one line in the condensed face, and a paragraph or two.
   Learn and Freestyle sit beside their picture; Race and Build sit under a
   wide one, name on the left and words on the right. */
.wf .modes{display:flex;flex-direction:column;gap:116px;margin-top:68px}
.wf .md{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:30px 56px;align-items:start;position:relative;scroll-margin-top:96px}
.wf .md-m{grid-column:1/8;grid-row:1;position:relative;min-width:0}
.wf .md-t{grid-column:8/13;grid-row:1;display:flex;flex-direction:column;gap:16px;align-items:flex-start;min-width:0}
.wf .md.rev .md-m{grid-column:6/13}
.wf .md.rev .md-t{grid-column:1/6;align-self:center}
.wf .md h3{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(54px,6cqw,86px);line-height:.9;color:var(--pink);display:flex;flex-direction:column;align-items:flex-start;gap:12px;letter-spacing:.004em}
.wf .md h3 i{font-style:normal;font-size:20px;line-height:1;color:var(--pink);border:3px solid var(--pink);padding:6px 9px 3px;letter-spacing:.06em}
.wf .md .sub{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:29px;line-height:1.12;letter-spacing:.01em;color:var(--white);text-wrap:balance}
.wf .md-t p,.wf .md-pl p{font-size:19.5px;line-height:1.5;color:var(--soft)}
.wf .ed dd,.wf .md-t p,.wf .md-pl p{text-wrap:pretty}
/* an inset: a second, smaller picture pinned to the first */
.wf .ins{position:absolute;right:-26px;bottom:-78px;width:38%;border:4px solid var(--white);box-shadow:8px 8px 0 var(--ink);transform:rotate(2.5deg);z-index:3;background:#1a2330}
.wf .ins img,.wf .ins video{width:100%;aspect-ratio:16/9;object-fit:cover}
.wf .ins figcaption{background:var(--white);color:var(--ink);font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:17px;line-height:1.2;padding:7px 10px 5px}
.wf #build video{filter:contrast(1.14) saturate(1.22)}
.wf #build .frame:last-child video{filter:contrast(1.3) saturate(1.5) brightness(.92)}
.wf .sm-only{display:none}
/* Learn: the flight leads. The lesson's title card hangs off the frame's lower left corner */
.wf #learn{margin-bottom:44px}
.wf #learn .fig{aspect-ratio:700/470}
.wf #learn .fig>video{transform:scale(1.18);transform-origin:50% 64%}
.wf #learn .ins{left:-24px;right:auto;bottom:-92px;width:50%;transform:rotate(-2deg)}
.wf #learn .ins img{aspect-ratio:630/288}
/* Race: the footage runs the full width, with a screen of dots across the
   whole frame, and the whoop is a picture in its corner */
.wf .md.wide{display:block}
.wf .md.wide .fig{aspect-ratio:1280/548}
.wf .md.wide .fig>video{object-position:50% 88%}
.wf .md.wide .ins{right:28px;bottom:28px;width:24%;transform:rotate(1.5deg)}
.wf .ht.full::after{background-image:radial-gradient(rgba(17,19,24,.27) 1.3px,transparent 1.75px);background-size:6px 6px;-webkit-mask-image:linear-gradient(225deg,#000 0,rgba(0,0,0,.7) 26%,rgba(0,0,0,.34) 62%,rgba(0,0,0,.2) 100%);mask-image:linear-gradient(225deg,#000 0,rgba(0,0,0,.7) 26%,rgba(0,0,0,.34) 62%,rgba(0,0,0,.2) 100%)}
.wf .md-pl{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px 56px;align-items:start;margin-top:36px}
.wf .md-pl h3{grid-column:1/5;grid-row:1/span 2}
.wf .md-pl p{grid-column:5/13;max-width:34em}
/* Freestyle: two panels with a slanted gutter */
.wf .tw-g{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:16px;--sl:54px;--shd:var(--pink)}
.wf .tw-g .pan{height:452px}
.wf .tw-g .pan-c{background:var(--white)}
.wf .tw-g .pan-m>img{object-position:72% 50%}
.wf .tw-g .pan>.pan-c>.cap{left:18px;top:auto;bottom:18px}
/* Build: two pictures, build it and fly it, with an arrow from one to the other */
.wf .md.two{row-gap:36px}
.wf .md.two .md-m{grid-column:1/-1}
.wf .md.two .md-t{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:56px;align-items:start}
.wf .md.two .md-t h3{grid-column:1/5}
.wf .two-t{grid-column:5/13;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 44px}
.wf .two-t .sub{grid-column:1/-1}
.wf .two-g{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.wf .two-g::after{content:"";position:absolute;left:50%;top:50%;z-index:3;width:0;height:0;border:28px solid transparent;border-left:38px solid var(--white);transform:translate(-8px,-50%);filter:drop-shadow(5px 5px 0 var(--ink))}
.wf .two-g .frame:first-child{transform:rotate(-1deg)}
.wf .two-g .frame:first-child .cap{left:auto;right:14px}
.wf .two-g .frame:last-child{transform:rotate(.8deg)}
/* the pair again, under the modes */
.wf .cta{display:flex;align-items:center;justify-content:space-between;gap:20px 36px;flex-wrap:wrap;margin-top:84px;padding-top:36px;border-top:1px solid var(--line)}
.wf .cta p{font-family:'Anton',Impact,sans-serif;font-size:clamp(28px,3.3cqw,46px);line-height:1;text-transform:uppercase;letter-spacing:.01em}
.wf .cta p em{color:var(--yel);white-space:nowrap}

/* comic panels with slanted gutters, as on the publisher's cover */
.wf .pan{position:relative;display:block;min-width:0}
.wf .pan::before{content:"";position:absolute;inset:0;background:var(--shd,var(--ink));clip-path:var(--clip,none);transform:translate(8px,8px)}
.wf .pan-c,.wf .pan-m{display:block}
.wf .pan-c{position:relative;height:100%;padding:4px;background:var(--ink);clip-path:var(--clip,none)}
.wf .pan-m{position:relative;height:100%;overflow:hidden;background:#20242c;clip-path:var(--clip,none)}
.wf .pan-m>img,.wf .pan-m>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wf .cut-r{--clip:polygon(0 0,100% 0,calc(100% - var(--sl)) 100%,0 100%)}
.wf .cut-l{--clip:polygon(var(--sl) 0,100% 0,100% 100%,0 100%);margin-left:calc(var(--sl) * -1)}
.wf .cut-r2{--clip:polygon(0 0,calc(100% - var(--sl)) 0,100% 100%,0 100%)}
.wf .cut-l2{--clip:polygon(0 0,100% 0,100% 100%,var(--sl) 100%);margin-left:calc(var(--sl) * -1)}
.wf .cut-lr2{--clip:polygon(0 0,calc(100% - var(--sl)) 0,100% 100%,var(--sl) 100%);margin-left:calc(var(--sl) * -1)}
.wf .cut-lr{--clip:polygon(var(--sl) 0,100% 0,calc(100% - var(--sl)) 100%,0 100%);margin-left:calc(var(--sl) * -1)}
.wf .cut-l>.pan-c>.cap,.wf .cut-lr>.pan-c>.cap{left:calc(var(--sl) + 12px)}
.wf .cut-lr2>.pan-c>.cap,.wf .cut-l2>.pan-c>.cap{left:calc(var(--sl) * .4 + 14px)}

/* mini games: six panels on ink, under a headline like the modes' */
.wf .mgs{padding-top:20px;scroll-margin-top:96px}
.wf .mg-g{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;margin-top:48px;--shd:var(--pink)}
.wf .mg-g .pan-c{background:var(--white)}
.wf .mg-lead{grid-column:1/5;grid-row:1;height:276px}
.wf .mg-a{grid-column:5/9;grid-row:1}
.wf .mg-b{grid-column:9/13;grid-row:1}
.wf .mg-c{grid-column:1/5;grid-row:2;height:276px}
.wf .mg-d{grid-column:5/9;grid-row:2}
.wf .mg-e{grid-column:9/13;grid-row:2}
.wf .say{position:absolute;left:14px;bottom:14px;z-index:2;max-width:min(calc(100% - 30px - var(--sl)),21em);background:var(--ink);color:var(--white);font-size:16.5px;font-weight:600;line-height:1.25;padding:8px 12px 8px;text-wrap:pretty}
.wf .cut-lr2>.pan-c>.say,.wf .cut-l2>.pan-c>.say{left:calc(var(--sl) + 10px)}
.wf .mg-a video{filter:brightness(1.14) saturate(1.14) contrast(1.04)}
.wf .mg-lead>.pan-c>.say{left:auto;right:14px;bottom:auto;top:14px;max-width:11.2em}
.wf .mg-g video{transform:scale(1.045);transform-origin:0 0}

/* Editions. The two cards wear the two fills because they are the two
   editions: white is the browser's and yellow is Steam's, and each card's
   button is its own colour. */
.wf .ed-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:52px;--sl:46px;--shd:var(--pink)}
.wf .ed .pan-m{background:var(--white);color:var(--ink);display:flex;flex-direction:column}
.wf .ed.st .pan-m{background:var(--yel)}
.wf .ed-img{position:relative;height:clamp(160px,14.4cqw,208px);overflow:hidden;border-bottom:4px solid var(--ink);flex:none}
.wf .ed-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wf .brz-bar{position:absolute;left:0;right:0;top:0;z-index:2;display:flex;align-items:center;gap:7px;height:40px;padding:0 14px;background:var(--paper);border-bottom:4px solid var(--ink)}
.wf .brz-bar i{width:12px;height:12px;border-radius:50%;border:3px solid var(--ink);background:var(--white)}
.wf .brz-bar i:first-child{background:var(--pink)}
.wf .brz-bar i:nth-child(2){background:var(--yel)}
.wf .brz-bar span{margin-left:10px;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:15px;line-height:1.2;letter-spacing:.06em;background:var(--white);color:var(--ink);border:3px solid var(--ink);padding:3px 12px 1px;flex:1;max-width:300px}
.wf .ed-img.brz img{top:40px;height:calc(100% - 40px)}
.wf .ed-img.brz .ed-step{top:56px}
.wf .ed-b{padding:26px 34px 36px;display:flex;flex-direction:column;gap:12px;align-items:flex-start;flex:1}
.wf .ed.fr .ed-b{padding-right:calc(var(--sl) + 26px)}
.wf .ed.st .ed-b{padding-left:calc(var(--sl) + 26px)}
.wf .ed h3{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(52px,7cqw,100px);line-height:.9}
.wf .ed-b>p{font-size:21px;font-weight:600;line-height:1.4;text-wrap:balance;min-height:2.8em}
.wf .cmp{margin-top:30px;border:4px solid var(--white);background:var(--white);color:var(--ink)}
.wf .cmp table{width:100%;border-collapse:collapse;table-layout:fixed}
.wf .cmp th,.wf .cmp td{text-align:left;vertical-align:top;padding:9px 10px 7px;border-bottom:2px solid var(--ink);font-size:16px;line-height:1.3;font-weight:600}
.wf .cmp thead th{font-family:'Anton',Impact,sans-serif;font-weight:400;font-size:20px;text-transform:uppercase;letter-spacing:.02em;background:var(--ink);color:var(--white);border-bottom:0}
.wf .cmp thead th:last-child{color:var(--yel)}
.wf .cmp tbody th{width:70px;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:14px;letter-spacing:.06em;text-transform:uppercase;padding-top:12px}
.wf .cmp thead th:first-child{width:70px}
.wf .cmp tr:last-child th,.wf .cmp tr:last-child td{border-bottom:0}
.wf .cmp td+td{background:var(--yel)}
.wf .cmp td{text-wrap:balance}
.wf .ed dl{width:100%;border-top:4px solid var(--ink);margin:6px 0 14px}
.wf .ed dl div{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;padding:10px 0 8px;border-bottom:2px solid var(--ink);align-items:baseline}
.wf .ed dd{font-size:19px;line-height:1.35;font-weight:600}
.wf .ed .btn{margin-top:auto}
.wf .ed-step{position:absolute;left:18px;top:16px;z-index:2;background:var(--ink);color:var(--white);padding:7px 12px 4px;transform:rotate(-2deg)}
.wf .ed.st .ed-step{left:calc(var(--sl) + 16px);color:var(--yel)}
/* Only on Steam: a list, each line under a hairline, and no cards. */
.wf .why{margin-top:84px}
.wf .why-h{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(34px,4.2cqw,60px);line-height:1;letter-spacing:.01em}
.wf .why-h em{color:var(--yel)}
.wf .why-g{margin-top:24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 44px}
.wf .why-g li{border-top:1px solid var(--line);padding:18px 0 24px;display:flex;flex-direction:column;gap:6px}
.wf .why-g b{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:25px;line-height:1.06;letter-spacing:.014em}
.wf .why-g span{font-size:17.5px;line-height:1.45;color:var(--mut);text-wrap:pretty}
.wf .why-g .lead{grid-column:1/-1;border-top:4px solid var(--white);padding:26px 0 32px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:10px 48px;align-items:center}
.wf .why-g .lead b{font-size:clamp(34px,4.4cqw,62px);line-height:.98;text-wrap:balance}
.wf .why-g .lead span{font-size:20px;line-height:1.45;color:var(--soft)}
.wf .why-g .lng{grid-column:1/-1}
.wf .why-g .lng-n{font-size:22px;font-weight:600;line-height:1.5;color:var(--white)}
.wf .why-g .lng-n span{color:inherit;font-size:inherit;white-space:nowrap}
/* The two Steam teasers (the owner, 2026-11-30: promote the languages and
   the quad selection "with screen shot teasers"): the game's own picture
   beside its row, in the frame every picture on ink wears. Lazy, so a
   visitor who never scrolls this far never fetches them. */
.wf .why-g .tz{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-auto-rows:min-content;gap:8px 44px;align-content:center;padding:26px 0 30px}
.wf .why-g .tz>*{grid-column:1}
.wf .why-g .tz .tzp{grid-column:2;grid-row:1/span 4;margin:0;align-self:center;border:4px solid var(--white);background:#1a2330;box-shadow:8px 8px 0 var(--pink);transform:rotate(1.2deg)}
.wf .why-g .tz+.tz .tzp{transform:rotate(-1.2deg)}
.wf .why-g .tzp img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}

/* patch notes */
.wf .pn-h{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:22px 48px;align-items:end;margin-bottom:30px}
.wf .pn-h div{display:flex;flex-direction:column;gap:16px;align-items:flex-start;padding-bottom:8px}
.wf .pn-h p{font-size:22px;font-weight:600;line-height:1.4;text-wrap:pretty}
.wf .fan{display:flex;justify-content:center;align-items:center;padding:40px 0 34px}
.wf .fan a{position:relative;flex:0 1 264px;min-width:0;margin:0 -15px;border:4px solid var(--ink);background:var(--white);box-shadow:7px 7px 0 var(--ink);text-decoration:none;transition:transform .16s ease,box-shadow .16s ease}
.wf .fan a:nth-child(1){transform:rotate(-7deg) translateY(30px)}
.wf .fan a:nth-child(2){z-index:1;transform:rotate(-3.5deg) translateY(10px)}
.wf .fan a.pg{z-index:2;flex-basis:340px;transform:rotate(1deg);box-shadow:10px 10px 0 var(--ink)}
.wf .fan a:nth-child(4){z-index:1;transform:rotate(3.5deg) translateY(10px)}
.wf .fan a:nth-child(5){transform:rotate(7deg) translateY(30px)}
.wf .fan a:hover{transform:rotate(0deg) translateY(-14px) scale(1.03);z-index:5;box-shadow:12px 12px 0 var(--ink)}
.wf .fan img{width:100%;aspect-ratio:560/580;object-fit:cover}
.wf .fan a.pg img{aspect-ratio:680/962}
.wf .fan span{position:absolute;left:-4px;top:-4px;background:var(--ink);color:var(--white);font-family:'Anton',Impact,sans-serif;font-size:18px;line-height:1;padding:8px 10px 5px;letter-spacing:.04em;text-transform:uppercase}
.wf .fan a:nth-child(n+4) span{left:auto;right:-4px}

/* requirements */
.wf .rq{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:28px 52px;align-items:start}
.wf .rq h2{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(34px,4cqw,56px);line-height:.96}
.wf .rq-n{font-size:18px;line-height:1.5;color:var(--mut);margin-top:16px;max-width:22em}
.wf .rq table{width:100%;border-collapse:collapse;border-top:4px solid var(--white)}
.wf .rq th,.wf .rq td{text-align:left;vertical-align:top;padding:12px 16px 10px 0;border-bottom:1px solid var(--line);font-size:18px;line-height:1.35;font-weight:500}
.wf .rq thead th{font-family:'Anton',Impact,sans-serif;font-weight:400;font-size:25px;line-height:1;text-transform:uppercase;letter-spacing:.02em;padding:14px 16px 12px 0;border-bottom:4px solid var(--white)}
.wf .rq tbody th{color:var(--mut);width:124px;padding-top:15px}
.wf .rq-tg{display:none}
.wf #specs{padding-top:0}

/* The closing poster: the Steam date and price as type, yellow because they
   are Steam's, and the pair once more. */
.wf .end{position:relative;overflow:hidden;min-height:700px;display:flex;align-items:center;background:#1a2330;border-top:4px solid var(--white)}
.wf .end>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wf .end::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(17,19,24,.84) 0%,rgba(17,19,24,.6) 34%,rgba(17,19,24,.12) 58%,rgba(17,19,24,0) 72%)}
.wf .end-in{position:relative;z-index:2;width:100%;display:flex;flex-direction:column;gap:18px;align-items:flex-start;padding-top:80px;padding-bottom:84px}
.wf .end-logo{width:min(360px,56%);height:auto;margin-left:-8px;filter:drop-shadow(6px 6px 0 rgba(17,19,24,.55))}
.wf .end h2{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(44px,7.4cqw,112px);line-height:.96;letter-spacing:.004em;text-shadow:0 3px 0 rgba(17,19,24,.55),0 0 28px rgba(17,19,24,.45)}
.wf .end h2 span,.wf .end h2 em{display:block}
.wf .end h2 em{color:var(--yel)}
.wf .end .cd{gap:22px}
.wf .end .cd-b{gap:7px}
.wf .end .cd-b b{font-size:42px}
.wf .end .cd-b i{font-size:15px;color:var(--soft)}
.wf .end-p{font-size:21px;font-weight:600;line-height:1.4;color:var(--soft);max-width:min(27em,50cqw);text-wrap:balance;text-shadow:0 0 18px rgba(17,19,24,.7);margin-bottom:6px}

/* the partners' row, and the footer */
.wf .pt{background:var(--ink);border-top:4px solid var(--white);padding:58px 0 8px}
.wf .pt h2{color:var(--mut);font-size:15px;letter-spacing:.14em;margin-bottom:16px}
.wf .pt-r{display:flex;flex-wrap:wrap;align-items:flex-end;gap:24px 48px;margin-bottom:40px}
.wf .pt-r a{display:flex;flex-direction:column;gap:9px;text-decoration:none;opacity:.9;transition:opacity .15s ease}
.wf .pt-r a:hover{opacity:1}
.wf .pt-r small{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:700;font-size:13px;letter-spacing:.14em;line-height:1.2;text-transform:uppercase;color:var(--mut)}
.wf .pt-r img{height:44px;width:auto}
.wf .pt-r img.wide{height:25px;margin:9px 0 10px}
.wf .pt-r.sup img{height:54px}
.wf .fo{background:var(--ink);color:var(--white);padding:64px 0 44px;border-top:1px solid #4a4d55}
.wf .fo-g{display:grid;grid-template-columns:minmax(0,1fr) repeat(4,max-content);gap:32px 52px}
.wf .fo-g li a,.wf .fo-g li>span{white-space:nowrap}
.wf .fo-g h3{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--pink);margin-bottom:8px}
.wf .fo-g li a{display:inline-flex;align-items:center;min-height:44px;font-size:18px;text-decoration:none}
.wf .fo-g li a:hover{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:4px}
.wf .fo-g li>span{display:inline-flex;align-items:center;min-height:44px;font-size:18px;color:#cfc8b6}
.wf .fo-say{font-size:19px;line-height:1.45;max-width:20em;margin-top:14px;color:#e6dfcc}
.wf .ind{margin-top:52px;padding-top:22px;border-top:2px solid #4a4d55;font-size:15px;line-height:1.5;color:#cfc8b6}

.wf .kb{animation:wfpan 24s ease-in-out infinite alternate}
@keyframes wfpan{
  from{transform:scale(1.01) translate(-.4%,0)}
  to{transform:scale(1.06) translate(.8%,-.8%)}
}
.wf.still .kb,.wf.still .hero-v{animation:none}
@media (prefers-reduced-motion:reduce){
  .wf .kb,.wf .hero-v{animation:none}
}

@container (max-width:1320px){
  .wf .bar-l a{padding:0 7px;font-size:15px;white-space:nowrap}
  .wf .bar .btn{white-space:nowrap}
  .wf .fo-g{grid-template-columns:repeat(4,max-content);justify-content:space-between;gap:32px 28px}
  .wf .fo-g>div:first-child{grid-column:1/-1}
  .wf .ed-b>p{min-height:4.2em}
}
/* The bar's links drop to a row of their own, which is 38 px the first screen
   no longer has. A tablet held sideways lands here, and it keeps the wide
   first screen: the words over the picture, the pair above the fold. */
@container (max-width:1180px){
  .wf .bar-in{flex-wrap:wrap;min-height:0;gap:0 16px;padding-top:10px}
  .wf .bar-l{order:5;flex-basis:calc(100% + var(--pad) * 2);justify-content:space-between;margin:10px calc(var(--pad) * -1) 0;padding:0 calc(var(--pad) - 9px);border-top:3px solid var(--ink)}
  .wf .bar-l a{min-height:44px;font-size:16px;padding:0 9px}
  .wf .hero{min-height:clamp(540px,calc(100svh - 160px),860px)}
  .wf .tr{padding-top:22px;scroll-margin-top:140px}
}
@container (max-width:1040px){
  .wf .ts-in{grid-template-columns:auto 1fr auto}
  .wf .ts-mid{justify-self:center}
  .wf .ts-l{white-space:nowrap}
  .wf .btn.xl{font-size:28px;padding:8px 22px 5px 18px}
  .wf .hero-f{column-gap:26px}
  .wf .hp-r{column-gap:17px}
  .wf .ed .btn{font-size:18px;padding:2px 12px 0}
  .wf .tr>.w{grid-template-columns:minmax(0,1fr)}
  .wf .tr-n{max-width:44em}
  .wf .exh{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 26px}
  .wf .exh .lead{grid-column:1/-1;grid-row:auto}
  .wf .xp{grid-row:auto}
  .wf .xt{grid-column:1/-1;grid-row:auto;width:min(100%,600px);justify-self:center}
  .wf .nums{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 30px}
  .wf .nums b{font-size:clamp(52px,9cqw,84px)}
  .wf .modes{gap:96px}
  .wf .md{grid-template-columns:minmax(0,1fr);column-gap:0;row-gap:30px}
  .wf .md .md-m,.wf .md .md-t,.wf .md.rev .md-m,.wf .md.rev .md-t{grid-column:1/-1;grid-row:auto}
  .wf .md.rev .md-t{align-self:start}
  .wf .md-pl,.wf .md.two .md-t{display:flex;flex-direction:column;gap:16px;align-items:flex-start;margin-top:0}
  .wf .md-pl{margin-top:30px}
  .wf #learn{margin-bottom:0}
  .wf #learn .ins{display:none}
  .wf .md.wide .fig{aspect-ratio:16/9}
  .wf .tw-g .pan{height:380px}
  .wf .mg-g{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wf .mg-g>.pan{grid-column:auto;grid-row:auto;margin-left:0;--clip:none;height:auto;aspect-ratio:16/10}
  .wf .mg-g>.pan>.pan-c>.cap,.wf .mg-g>.pan>.pan-c>.say{left:14px}
  .wf .mg-g>.mg-lead>.pan-c>.say{left:auto}
  .wf .fo-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 28px}
  .wf .fo-g>div:first-child{grid-column:1/-1}
  .wf .ed-g{--sl:0px;gap:28px}
  .wf .pn-h,.wf .rq{grid-template-columns:minmax(0,1fr)}
  .wf h2.t,.wf .bh{font-size:clamp(42px,8.4cqw,96px)}
  .wf .md h3{font-size:clamp(54px,8.6cqw,86px)}
  .wf .cmp.sm-only{display:block;margin-top:34px}
  .wf .cmp th,.wf .cmp td{font-size:19px;padding:12px 16px 10px}
  .wf .cmp thead th{font-size:24px}
  .wf .cmp tbody th,.wf .cmp thead th:first-child{width:104px}
  .wf .cmp tbody th{font-size:16px;padding-top:15px}
  .wf .ed dl{display:none}
  .wf .ed-b>p{min-height:0}
  .wf .ed-img{height:clamp(160px,24cqw,230px)}
  .wf .why-g{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wf .why-g .lead{grid-template-columns:minmax(0,1fr)}
}
/* From here down the window is taller than it is wide, so the picture is a
   band across the top and the words stand under it on ink, with the wordmark
   over the picture's lower edge. --art is the picture's height: never so tall
   that the pair falls off the screen (the @supports block below). */
@container (max-width:900px){
  .wf .hero{--art:56cqw;min-height:0;display:block;background:none}
  .wf .hero-v{height:var(--art);object-position:100% 62%}
  .wf .hero-sh{height:calc(var(--art) + 2px);bottom:auto;background:linear-gradient(0deg,#111318 0%,rgba(17,19,24,.72) 16%,rgba(17,19,24,0) 44%)}
  .wf .hero-sh::after{display:none}
  .wf .hero-in{padding-top:calc(var(--art) - 104px);padding-bottom:26px;gap:32px}
  .wf .hero h1{font-size:clamp(34px,7.6cqw,74px)}
  .wf .hero-k{max-width:30em}
}
@container (min-width:701px) and (max-width:740px){
  .wf .ts-mid{letter-spacing:.04em}
}
/* A phone. The first screen comes first and is all there is on it: the bar
   follows it down the page and sticks from there, and the strip above it is
   reduced to the one control a moving page owes, over the corner of the
   picture. Below, everything is one column of the same four things in the
   same order: a headline, a picture, a line, a paragraph. Nothing tilts but
   the fan of covers, nothing overlaps, and the insets stay home. */
@container (max-width:700px){
  .wf .why-g .tz{grid-template-columns:minmax(0,1fr);padding:18px 0 22px}
  .wf .why-g .tz .tzp{grid-column:1;grid-row:auto;order:2;transform:none;margin:6px 0 8px}
  .wf .why-g .tz b{order:1}
  .wf .why-g .tz span:not(.lng-n span){order:3}
  .wf .ts{position:absolute;left:0;right:0;top:0;z-index:6;background:none;pointer-events:none}
  .wf .ts-in{display:flex;justify-content:flex-end;min-height:0;padding-top:8px}
  .wf a.ts-l,.wf .ts-mid{display:none}
  .wf .mo{position:relative;pointer-events:auto;width:44px;height:44px;padding:0;border-radius:50%;background:rgba(17,19,24,.62);color:var(--white)}
  .wf .mo .sw>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .wf .bar-in{min-height:60px;gap:6px 10px;flex-wrap:nowrap;padding-top:0}
  .wf .bar-l{display:none}
  .wf .bar-wf img{height:32px;padding:6px 9px 5px 7px;object-fit:contain}
  .wf .bar .btn.sm{font-size:16px;padding:2px 10px 0;gap:7px;min-height:44px;white-space:nowrap;box-shadow:3px 3px 0 var(--ink)}
  .wf .bar .btn .lg{display:none}
  .wf .bar .btn .ph{display:inline}
  .wf .bar-st .si{display:none}
  .wf .hero{order:-1;--art:330px}
  .wf .hero-in{padding-top:calc(var(--art) - 70px);padding-bottom:18px;gap:22px}
  .wf .hero-t{gap:10px}
  .wf .hero-logo{width:min(250px,68%);margin:0 0 2px -6px;filter:drop-shadow(4px 4px 0 rgba(17,19,24,.6))}
  .wf .hero h1{font-size:clamp(32px,11.6cqw,46px)}
  .wf .hero-k{font-size:17.5px}
  .wf .hbt{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:12px;margin-top:8px}
  .wf .btn{font-size:19px;padding:2px 14px 0;text-align:center;min-height:54px}
  .wf .btn.xl{min-height:70px;font-size:27px;padding:7px 18px 4px 16px;gap:14px;box-shadow:5px 5px 0 var(--pink)}
  .wf .btn.xl .pi{width:26px;height:26px}
  .wf .btn.xl .si{width:34px;height:34px}
  .wf .btn.xl .b2 small{font-size:15px}
  .wf .hero-f{flex-direction:column;align-items:flex-start;gap:8px;margin-top:auto;padding-top:10px}
  .wf .hp{flex-direction:column;align-items:flex-start;gap:0}
  .wf .hp>.lab{width:auto}
  .wf .hp-r{gap:0 20px}
  .wf .hp-r img{height:26px}
  .wf .hp-r img.wide{height:14px}
  .wf .cdc .lab{grid-column:auto}
  .wf .cdc .cd{grid-column:1/-1}
  .wf .cdc b.d,.wf .cd-b b{font-size:20px}
  .wf .cdc .pr{font-size:17px}
  .wf .tr{padding:24px 0 44px;scroll-margin-top:76px}
  .wf .frame{border-width:3px;box-shadow:6px 6px 0 var(--pink)}
  .wf .play{gap:10px}
  .wf .play-d{width:72px;height:72px;border-width:3px}
  .wf .play-d svg{width:28px;height:28px;margin-left:5px}
  .wf .play-t{font-size:17px;padding:7px 10px 4px}
  .wf .tr-n{gap:8px;margin-top:4px}
  .wf .tr-n .lab{order:-1}
  .wf .tr-t{font-size:18px}
  .wf .band{--cut:16px;padding:calc(44px + var(--cut)) 0 calc(50px + var(--cut))}
  .wf .exh{gap:20px 14px;margin-top:20px}
  .wf .exh .lead{font-size:20px}
  .wf .exh .lead small{font-size:17.5px;margin-top:8px}
  .wf .xp,.wf .xp+.xp,.wf .xt{border-width:3px;box-shadow:5px 5px 0 var(--ink);transform:none}
  .wf .exh figcaption{font-size:15px;border-top-width:3px;padding:6px 8px 4px}
  .wf .xt video{aspect-ratio:592/340;object-position:50% 0}
  .wf .nums{gap:18px 16px;margin-top:38px}
  .wf .nums>div{border-top-width:3px;padding-top:10px;gap:3px}
  .wf .nums b{font-size:44px}
  .wf .nums span{font-size:16px}
  .wf .nums-n{font-size:17px;margin-top:22px}
  .wf .sec{padding:56px 0 60px}
  .wf .sec.sec-m{padding-top:44px;padding-bottom:52px}
  .wf .mgs{padding-top:8px}
  .wf .deck{font-size:18.5px;margin-top:10px}
  .wf .modes{gap:54px;margin-top:34px}
  .wf .md,.wf .md.wide,.wf .md.two{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
  .wf .md-t,.wf .md-pl,.wf .md.two .md-t,.wf .two-t{display:contents}
  .wf .md h3,.wf .md p,.wf .md.two .md-t h3{grid-column:1/-1;grid-row:auto}
  .wf .md h3{order:-1;flex-direction:row;align-items:center;gap:12px;font-size:50px}
  .wf .md h3 i{font-size:16px;border-width:2px;padding:5px 7px 3px}
  .wf .md .md-m{margin-bottom:4px}
  .wf .md .sub{font-size:23px}
  .wf .md-t p,.wf .md-pl p{font-size:17.5px}
  .wf .ins{display:none}
  .wf .tw-g{--sl:22px;gap:8px;padding-right:6px}
  .wf .tw-g .pan{height:206px}
  .wf .tw-g .pan::before{transform:translate(6px,6px)}
  .wf .tw-g .pan-c{padding:3px}
  .wf .tw-g .pan>.pan-c>.cap{left:8px;bottom:8px}
  .wf .two-g{gap:14px;padding-right:6px}
  .wf .two-g::after{display:none}
  .wf .two-g .frame,.wf .two-g .frame:first-child,.wf .two-g .frame:last-child{aspect-ratio:4/3;transform:none}
  .wf .cap{left:8px;top:8px;padding:5px 8px 3px}
  .wf .two-g .frame:first-child .cap{right:8px}
  .wf .cap b{font-size:16px}
  .wf .cta{margin-top:46px;padding-top:26px}
  .wf .btns{width:100%;gap:12px}
  .wf .btns[data-pair]{display:grid;grid-template-columns:minmax(0,1fr)}
  .wf .cta .btn,.wf .end .btn{width:100%}
  /* mini games: six small pictures in two columns, the name and the line under each */
  .wf .mg-g{gap:22px 14px;margin-top:26px}
  .wf .mg-g>.pan{aspect-ratio:auto}
  .wf .mg-g>.pan::before{display:none}
  .wf .mg-g .pan-c{display:flex;flex-direction:column;height:auto;padding:0;background:none}
  .wf .mg-g .pan-m{height:auto;flex:none;aspect-ratio:4/3;border:3px solid var(--white)}
  .wf .mg-g .cap,.wf .mg-g>.pan>.pan-c>.cap{position:static;max-width:none;background:none;padding:9px 0 0}
  .wf .mg-g .cap b{font-size:20px}
  .wf .mg-g .say,.wf .mg-g>.pan>.pan-c>.say,.wf .mg-g>.mg-lead>.pan-c>.say{position:static;max-width:none;background:none;color:var(--mut);padding:3px 0 0;font-size:15.5px;font-weight:500;line-height:1.3;text-wrap:balance}
  .wf .pn-h{gap:14px;margin-bottom:8px}
  .wf .pn-h p{font-size:18px}
  .wf .pn-h .btn{width:100%}
  .wf .fan{padding:26px 0 14px}
  .wf .fan a{margin:0 -9px;border-width:3px;box-shadow:4px 4px 0 var(--ink)}
  .wf .fan a:nth-child(1),.wf .fan a:nth-child(5){display:none}
  .wf .fan span{font-size:14px;padding:6px 7px 4px;left:-3px;top:-3px}
  .wf .fan a:nth-child(n+4) span{right:-3px}
  /* Editions: the table says what the two cards say, in a third of the
     height, so on a phone the table leads and each card is its button. */
  .wf #editions>.w{display:flex;flex-direction:column}
  .wf .cmp.sm-only{order:1;margin-top:24px}
  .wf .cmp th,.wf .cmp td{font-size:16px;padding:9px 10px 7px}
  .wf .cmp thead th{font-size:20px}
  .wf .cmp tbody th,.wf .cmp thead th:first-child{width:84px}
  .wf .cmp tbody th{font-size:14px;padding-top:12px}
  .wf .ed-g{order:2;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:22px;--fo:#ffc21a}
  .wf .why{order:3;margin-top:50px}
  .wf .ed,.wf .ed .pan-c,.wf .ed .pan-m,.wf .ed-b{display:contents}
  .wf .ed::before,.wf .ed-img,.wf .ed-b>.lab,.wf .ed h3,.wf .ed-b>p,.wf .ed dl{display:none}
  .wf .ed .btn{width:100%;min-height:62px;font-size:23px;padding:2px 14px 0;margin-top:0;box-shadow:5px 5px 0 var(--pink)}
  .wf .why-g{grid-template-columns:minmax(0,1fr);margin-top:16px}
  .wf .why-g li{padding:14px 0 16px;gap:4px}
  .wf .why-g b{font-size:23px}
  .wf .why-g span{font-size:16.5px}
  .wf .why-g .lead{padding:18px 0 20px}
  .wf .why-g .lead span{font-size:17px}
  .wf .why-g .lng-n{font-size:18px}
  .wf .rq-tg{display:inline-flex;width:100%;margin-top:20px}
  .wf .rq .rq-body{display:none}
  .wf .rq.open .rq-body{display:block}
  .wf .rq table,.wf .rq thead,.wf .rq tbody{display:block}
  .wf .rq tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;border-bottom:1px solid var(--line);padding:10px 0 9px}
  .wf .rq thead tr{border-bottom:4px solid var(--white)}
  .wf .rq thead th:first-child{display:none}
  .wf .rq th,.wf .rq td{border-bottom:0;padding:0;font-size:16.5px}
  .wf .rq thead th{font-size:20px;padding:0;border-bottom:0}
  .wf .rq tbody th{grid-column:1/-1;width:auto;font-size:14px;letter-spacing:.08em;padding:0 0 3px}
  .wf .end{min-height:0;display:block;background:var(--ink)}
  .wf .end>img{inset:0 0 auto 0;width:100%;height:300px;object-position:62% 50%;animation:none}
  .wf .end::before{inset:0 0 auto 0;height:302px;background:linear-gradient(0deg,#111318 0%,rgba(17,19,24,.6) 18%,rgba(17,19,24,0) 46%)}
  .wf .end-in{padding-top:238px;padding-bottom:52px;gap:14px}
  .wf .end-logo{width:min(230px,62%)}
  .wf .end-p{font-size:18px;max-width:27em}
  .wf .end .cd{gap:18px}
  .wf .end .cd-b b{font-size:34px}
  .wf .end .cd-b i{font-size:14px}
  .wf .pt{padding:40px 0 4px}
  .wf .pt-r{gap:22px 30px;margin-bottom:32px}
  .wf .pt-r img{height:36px}
  .wf .pt-r img.wide{height:20px;margin:8px 0}
  .wf .pt-r.sup img{height:46px}
  .wf .fo{padding:44px 0 34px}
  .wf .fo-g{gap:26px 20px}
  .wf .fo-g li a,.wf .fo-g li>span{white-space:normal;align-items:flex-start;padding:9px 0;font-size:16.5px}
  .wf .ind{margin-top:34px}
  .wf .mark span{font-size:14px;letter-spacing:.13em}
  .wf .mark b{font-size:26px}
}
@container (max-width:340px){
  .wf .ed .btn{padding:2px 8px 0;letter-spacing:.01em}
}
@container (min-width:2200px){
  .wf .hero-v{object-position:100% 60%}
}
/* A window's own height, where the browser can say it. The band of picture
   gives way before the pair does, and a phone's first screen is at least the
   screen, so the bar that follows it starts below the fold. */
@supports (height:1svh){
  @container (max-width:900px){
    .wf .hero{--art:max(180px,min(56cqw,40svh,100svh - 470px))}
  }
  @container (max-width:700px){
    .wf .hero{--art:clamp(150px,36svh,330px)}
    .wf .hero-in{min-height:100svh}
  }
}

/* The page outside .wf: the document, and the skip link. */
html{background:#111318;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
[hidden]{display:none!important}
.sw{display:contents}
.skip{position:absolute;left:-999px;top:0;z-index:100;background:#ffc21a;color:#111318;padding:10px 16px 8px;font:700 17px 'Barlow',system-ui,sans-serif;text-decoration:none}
.skip:focus{left:8px;top:8px}

/* The front door's own furniture: the thank you card, the way in for a new
   partner, the patrons' list and the footer's second heading. */
.wf #thanks{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:20px}
.wf #thanks[hidden]{display:none}
.wf .thanks-scrim{position:absolute;inset:0;background:rgba(17,19,24,.78)}
.wf .thanks-card{position:relative;width:min(560px,100%);max-height:calc(100svh - 40px);overflow:auto;background:var(--paper);color:var(--ink);border:4px solid var(--ink);box-shadow:9px 9px 0 var(--pink);padding:30px 30px 28px;--fo:#1746d1}
.wf .thanks-card h2{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(30px,6cqw,44px);line-height:1.02;letter-spacing:.01em}
.wf .thanks-card p{margin-top:14px;font-size:19px;line-height:1.5}
.wf .thanks-card .mailbtn{display:inline;background:none;border:0;padding:0;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.wf .thanks-card p a{font-weight:700;overflow-wrap:anywhere}
.wf .thanks-actions{display:flex;flex-wrap:wrap;gap:14px 16px;margin-top:24px}
.wf .pjoin{display:flex;flex-direction:column;align-items:flex-start;gap:9px;background:none;border:0;padding:0;text-align:left;text-decoration:none;color:var(--white)}
.wf .pjoin span{display:inline-flex;align-items:center;min-height:44px;font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:700;font-size:19px;letter-spacing:.06em;text-transform:uppercase;border-bottom:3px solid var(--pink)}
.wf a.pjoin span{text-transform:none;letter-spacing:.01em;overflow-wrap:anywhere}
.wf .pjoin:hover span{color:var(--pink)}
.wf .supporters{margin-bottom:40px}
.wf .supporters-list{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:18px;color:var(--white)}
.wf .fo-g h3.h3b{margin-top:22px}
