/* ==========================================================================
   Halqa 21, option B: "the ring".
   Layout: calm, roomy pages; one drawing per section carries the colour.
   Shapes: circles, rings and arcs only. Soft gradients from the kit.
   Motion: slow floats and orbits, things that answer a touch. Nothing stepped.

   Typeface: Itf Huwiya Arabic, three weights only (Light, Regular, Bold).
   Until the web licence is bought the faces below resolve only where the
   typeface is installed. When the licensed web files arrive, put them in
   assets/fonts/ and add a url() to each rule (README, "The typeface").
   ========================================================================== */
@font-face{font-family:"Huwiya";font-weight:300;font-display:swap;src:local("ItfHuwiyaArabic-Light"),local("Itf Huwiya Arabic Light")}
@font-face{font-family:"Huwiya";font-weight:400;font-display:swap;src:local("ItfHuwiyaArabic-Regular"),local("Itf Huwiya Arabic Regular")}
@font-face{font-family:"Huwiya";font-weight:700;font-display:swap;src:local("ItfHuwiyaArabic-Bold"),local("Itf Huwiya Arabic Bold")}

:root{
  --ink:#1E1E1E; --charcoal:#3A3A3A; --paper:#EFEFEF; --paper-2:#E7E8EA; --white:#FFFFFF;
  --red:#EF4936; --pink:#FF86B7; --red-pale:#F7D7D7;
  --blue:#0062FF; --sky:#56CAFD; --blue-pale:#C2EBF4;
  --amber:#F7AB00; --yellow:#FDD328; --amber-pale:#FDE6A5;
  --green:#03C059; --green-2:#5DDA6E; --green-pale:#CCF5C5;
  /* from the logo outro: its background runs from charcoal into this indigo, and its
     seven glowing squares are brighter cousins of the kit's green, sky, red and yellow */
  --indigo:#685DCF; --n-green:#5DFE6E; --n-cyan:#56FFFF; --n-red:#FF4936; --n-yellow:#FFFF29;
  --outro:linear-gradient(180deg,var(--charcoal) 0%,var(--charcoal) 46%,var(--indigo) 100%);
  /* the floor in Omer's "work with us" drawing, continued by the page to both edges of the screen */
  --floor:#00CFFF;
  --font:"Huwiya",system-ui,-apple-system,"Segoe UI","Noto Sans Arabic",Tahoma,sans-serif;
  --fs-hero:clamp(2.35rem,10.4vw,5.25rem);
  --fs-h2:clamp(2rem,8.6vw,4rem);
  --fs-h3:clamp(1.45rem,6vw,2.1rem);
  --fs-lede:clamp(1.0625rem,4.5vw,1.375rem);
  --fs-body:1.0625rem;
  --fs-small:.875rem;
  --gut-l:max(20px,env(safe-area-inset-left,0px));
  --gut-r:max(20px,env(safe-area-inset-right,0px));
  --bar:60px;
  --r-xl:clamp(28px,7vw,48px); --r-lg:28px; --r-md:18px;
  --ease:cubic-bezier(.2,.7,.2,1);
  --focus:var(--ink);
}
.no-huwiya{--font:system-ui,-apple-system,"Segoe UI","Noto Sans Arabic",Tahoma,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--bar) + env(safe-area-inset-top,0px) + 8px)}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font);font-size:var(--fs-body);line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-x:clip}
[hidden]{display:none!important}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit}
img,svg{max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:8px}
.vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.skip{position:fixed;top:8px;inset-inline-start:8px;z-index:60;padding:.5em 1.1em;border-radius:999px;background:var(--yellow);color:var(--ink);font-weight:700;transform:translateY(-240%)}
.skip:focus{transform:none}
.defs{position:absolute;width:0;height:0;overflow:hidden}
.ill{display:block;width:100%;height:auto;overflow:visible}

/* ---------- the bar ---------- */
.top{position:fixed;inset:0 0 auto 0;z-index:40;padding-top:env(safe-area-inset-top,0px);padding-left:var(--gut-l);padding-right:var(--gut-r);color:var(--white);--focus:var(--white);transition:background-color .3s linear,color .3s linear}
.top.solid{background:var(--white);color:var(--ink);--focus:var(--ink)}
.top-in{display:flex;align-items:center;gap:6px;height:var(--bar);max-width:74rem;margin-inline:auto}
.brand{display:grid;place-items:center;height:44px;margin-inline-end:auto}
.brand svg{display:block;height:34px;width:auto;fill:currentColor}
.nav{display:none}
.nav a{padding:.5em .2em;font-weight:700;font-size:.9375rem;text-decoration:none}
.nav a:hover{text-decoration:underline;text-underline-offset:.3em}
.icon-btn{display:grid;place-items:center;min-width:44px;height:44px;padding:0 .4em;border:0;border-radius:999px;background:none;font-weight:700;font-size:.875rem;text-decoration:none;cursor:pointer}
.icon-btn svg{width:22px;height:22px;fill:currentColor}
.motion .i-play{display:none}
.motion[aria-pressed="true"] .i-play{display:block}
.motion[aria-pressed="true"] .i-pause{display:none}
.progress{position:absolute;inset:auto 0 0 0;height:3px;background:var(--indigo);transform:scaleX(var(--p,0));transform-origin:right center}
[dir="ltr"] .progress{transform-origin:left center}
.sheet{position:fixed;inset:0;z-index:39;display:grid;align-content:center;gap:.2rem;padding:calc(var(--bar) + 1rem) var(--gut-r) 2rem var(--gut-l);background:var(--outro);color:var(--white);--focus:var(--white)}
.sheet a{display:block;padding:.35em 0;font-size:clamp(1.8rem,8.4vw,2.6rem);font-weight:700;line-height:1.35;text-decoration:none}
.menu-open{overflow:hidden}
.menu-open .top{background:var(--charcoal);color:var(--white)}

/* ---------- shared pieces ---------- */
.wrap{position:relative;max-width:74rem;margin-inline:auto;padding-left:var(--gut-l);padding-right:var(--gut-r)}
.sec{position:relative;padding-block:clamp(4.5rem,13vw,8.5rem)}
/* Where one plain white section follows another, both paddings fell into a single blank band
   (144px on a phone, 272px on a laptop). The second one gives up its top padding, and keeps clear
   of the bar when the menu jumps to it. Sections with a ground of their own (.with, .follow) keep both. */
.sec:not(.with):not(.follow) + .sec:not(.with):not(.follow){padding-top:0;scroll-margin-top:2rem}
.eyebrow{display:flex;align-items:center;gap:.55em;margin-bottom:1.1rem;font-size:.875rem;font-weight:700;line-height:1.6}
.eyebrow::before{content:"";width:.62em;height:.62em;background:var(--indigo)}
.h2{font-size:var(--fs-h2);font-weight:700;line-height:1.3;text-wrap:balance}
.h3{font-size:var(--fs-h3);font-weight:700;line-height:1.4}
.lede{max-width:32ch;font-size:var(--fs-lede);line-height:1.5}
.h2 + .lede{margin-top:1rem}
.as-img .h-img{display:block;height:auto;max-width:100%}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:54px;padding:.45em 1.5em;border:0;border-radius:999px;background:var(--ink);color:var(--white);font-weight:700;line-height:1.4;text-align:center;text-decoration:none;cursor:pointer;transition:transform .25s var(--ease)}
.btn:hover{transform:translateY(-2px)}
.btn.sun{background:var(--yellow);color:var(--ink)}
.btn.line{background:none;box-shadow:inset 0 0 0 2px currentColor;color:inherit}
.btn.leaf{background:var(--green);color:var(--ink)}
.btn[aria-disabled="true"]{opacity:.45;cursor:default;transform:none}
.more{display:inline-flex;align-items:center;min-height:54px;padding:0 .7em;font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.4em}
/* Places kept for things still to come. They show only in draft view:
   <html class="draft">. Take that class off to publish. */
html:not(.draft) [data-draft]{display:none!important}
html:not(.draft) span.plat{display:none}
.tk{display:inline-block;margin-top:1rem;padding:.25em .9em;border:1.5px dashed currentColor;border-radius:999px;font-size:.8125rem;font-weight:700;line-height:1.6}

/* ---------- 1: opening ---------- */
.hero{position:relative;display:grid;align-items:center;min-height:100vh;min-height:100svh;padding-block:calc(var(--bar) + env(safe-area-inset-top,0px) + 1rem) 4.5rem;border-radius:0 0 var(--r-xl) var(--r-xl);background:var(--outro);color:var(--white);--focus:var(--white);overflow:hidden}
/* the sparks: seven glowing squares, placed as they are in the logo outro */
.sparks{position:absolute;inset:0;pointer-events:none}
.spark{position:absolute;left:var(--x);top:var(--y);width:2.7%;aspect-ratio:1;margin:-1.35% 0 0 -1.35%}
.spark i{display:block;width:100%;height:100%;background:var(--c);box-shadow:0 0 9px 0 var(--c)}
.spark::after{content:"";position:absolute;left:50%;top:100%;width:2px;height:22vh;margin-left:-1px;background:linear-gradient(var(--c),transparent);opacity:0}
.js:not(.still) .spark i{animation:shine 3.2s ease-in-out infinite;animation-delay:calc(var(--i,0)*-.55s)}
@keyframes shine{50%{opacity:.62}}
.js .rise:not(.go) .spark{opacity:0}
.js:not(.still) .rise.go .spark{animation:rise 1.05s var(--ease) both;animation-delay:calc(var(--i,0)*80ms + 120ms)}
.js:not(.still) .rise.go .spark::after{animation:trail 1.05s linear both;animation-delay:calc(var(--i,0)*80ms + 120ms)}
@keyframes rise{from{opacity:0;transform:translateY(44vh)}12%{opacity:1}to{opacity:1;transform:none}}
@keyframes trail{0%{opacity:0}12%{opacity:.85}70%{opacity:.55}100%{opacity:0}}
.hero > .wrap{width:100%}
.hero-in{display:grid;grid-template-columns:minmax(0,1fr);gap:1.4rem;justify-items:center;text-align:center}
.world-box{position:relative;width:min(94vw,460px);touch-action:pan-y;cursor:pointer}
.world{transform:translate(calc(var(--mx,0)*-10px),calc(var(--my,0)*-10px));transition:transform .5s var(--ease)}
.planet-g{transform-box:fill-box;transform-origin:center}
.js:not(.still) .planet-g{animation:bob 7s ease-in-out infinite}
.world.boing .planet-g{animation:boing .5s var(--ease)}
@keyframes bob{50%{transform:translateY(-9px)}}
@keyframes boing{35%{transform:scale(1.09)}70%{transform:scale(.97)}}
.h-hero{max-width:13ch;margin-inline:auto;font-size:var(--fs-hero);font-weight:700;line-height:1.28;text-wrap:balance}
.h-hero em{font-style:normal;background:linear-gradient(to left,var(--yellow),var(--amber));-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
/* the sentence keeps clear of the question above it: a device's own Arabic typeface hangs lower than Huwiya */
.hero .lede{max-width:27ch;margin:.7rem auto 0;color:rgba(255,255,255,.86)}
.cta{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:.6rem}
.hint{font-size:var(--fs-small);color:rgba(255,255,255,.7)}
.still .hint{display:none}

/* ---------- 2: who we are ----------
   The drawing is Omer's (assets/art/who.svg). On a wide screen his layout gives it the whole of one half,
   from the section label down, and lets it lean 24px into the gutter; the words keep the other half. */
.who-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2.2rem}
.say{max-width:24ch;margin-top:1.8rem;font-size:var(--fs-h3);font-weight:300;line-height:1.5;text-wrap:balance}
.say strong{font-weight:700}
.who-art{width:min(100%,30rem);margin-inline:auto}

/* ---------- 3: what we make ----------
   The three drawings are Omer's (assets/art/kind-1 to 3.svg). Each is framed as the top of its card, so it
   runs from edge to edge and the words follow. In his layout the title starts a little above the picture's
   lower edge (5.85% of the card's width), beside the wrist of the open hand: that is kept for Arabic, where
   a card is wide enough for the title to clear the drawing. Elsewhere the title sits under the picture. */
.kinds{display:grid;gap:14px;margin-top:2.4rem}
.kind{position:relative;padding-bottom:1.7rem;border-radius:var(--r-lg);overflow:hidden}
.kind .ill{transition:transform .5s var(--ease)}
.kind:hover .ill,.kind:active .ill{transform:translateY(-5px)}
.kind .h3,.kind p{position:relative;margin-inline:1.5rem}
.kind .h3{margin-top:.35rem}
.kind p{max-width:28ch;margin-top:.3rem}
@media (max-width:639.98px),(min-width:1024px){[dir="rtl"] .kind .h3{margin-top:-5.85%}}
.k-leaf{background:var(--green-pale)}
.k-sky{background:var(--blue-pale)}
.k-rose{background:var(--red-pale)}
.eps-head{margin-top:clamp(3.5rem,10vw,5.5rem)}
.eps{display:flex;gap:12px;margin-top:1.4rem;padding-block:.2rem 1rem;padding-left:var(--gut-l);padding-right:var(--gut-r);overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:20px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.eps::-webkit-scrollbar{display:none}
.ep{position:relative;flex:none;display:flex;flex-direction:column;justify-content:flex-end;gap:.1rem;width:min(58vw,230px);aspect-ratio:9/16;padding:1.1rem;border-radius:var(--r-lg);scroll-snap-align:start;color:var(--ink);text-decoration:none;overflow:hidden}
.ep img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ep-i{position:absolute;top:1rem;inset-inline-start:1rem;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--ink);color:var(--white)}
.ep-i svg{width:16px;height:16px;fill:currentColor}
.ep b{position:relative;font-size:1.375rem;font-weight:700;line-height:1.3}
.ep-s{position:relative;font-size:.875rem;font-weight:700}
/* not out yet: the number steps back and "soon" is the word you read (Omer, 20 November 2026: "coming soon in bigger font") */
.soon b{font-size:1.0625rem}
.soon .ep-s{font-size:clamp(1.9rem,9vw,2.25rem);line-height:1.2}
/* an episode that is out: the card is a link, its cover fills it, and the play mark turns white to stand on the cover */
a.ep{--focus:var(--white);background:var(--indigo);transition:transform .25s var(--ease)}
a.ep:hover{transform:translateY(-3px)}
a.ep:focus-visible{outline-offset:-4px;border-radius:var(--r-lg)}
a.ep .ep-i{background:var(--white);color:var(--ink)}
.ep-a{background:var(--blue-pale)}
.ep-b{background:var(--amber-pale)}
.ep-c{background:var(--red-pale)}
.ep-d{background:var(--green-pale)}

/* ---------- 4: how an episode is made ----------
   Five steps round a ring. Each step fills another fifth of it and the last press closes it:
   in Arabic the ring and the episode are one word. Without the script the steps are a plain list. */
.make{display:grid;gap:1.8rem;margin-top:2.2rem}
.dial{position:relative;width:min(100%,340px);aspect-ratio:1;margin-inline:auto}
.dial-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
[dir="rtl"] .dial-ring{transform:scaleX(-1)}
.dial-track{fill:none;stroke:var(--ink);stroke-opacity:.22;stroke-width:2;stroke-dasharray:1 11;stroke-linecap:round}
.dial-arc{fill:none;stroke-width:9;stroke-linecap:round;stroke-dasharray:5 5;stroke-dashoffset:5;transition:stroke-dashoffset .8s var(--ease)}
.dial-art{position:absolute;inset:19%;cursor:pointer}
.dial-art .ill{position:absolute;inset:0;opacity:0;transform:scale(.88) rotate(-8deg);transition:opacity .45s var(--ease),transform .6s var(--ease)}
.dial-art .ill.on{opacity:1;transform:none}
.dot{position:absolute;inset-inline-start:var(--x);top:var(--y);display:grid;place-items:center;width:50px;height:50px;margin:-25px;padding:0;border:2px solid var(--ink);border-radius:50%;background:var(--white);color:var(--ink);font-weight:700;font-size:1.25rem;line-height:1;cursor:pointer;touch-action:manipulation;transition:background-color .3s,color .3s,transform .4s var(--ease)}
.dot.was{background:var(--yellow)}
.dot[aria-selected="true"]{background:var(--ink);color:var(--white);transform:scale(1.14)}
.eq rect{transform-box:fill-box;transform-origin:50% 100%}
.js:not(.still) .eq rect{animation:eq 1.5s ease-in-out infinite;animation-delay:calc(var(--i,0)*-.33s)}
@keyframes eq{50%{transform:scaleY(.62)}}
.make-side{display:grid;gap:1.3rem;justify-items:start}
.step-k{font-size:.875rem;font-weight:700;line-height:1.6;color:var(--indigo)}
.step p:last-child{max-width:28ch;margin-top:.5rem;font-size:var(--fs-lede);line-height:1.6}
.step + .step{margin-top:1.6rem}
/* while the script runs the steps share one place, so the button under them never moves */
.js .steps{display:grid}
.js .step{grid-area:1/1;margin-top:0;visibility:hidden}
.js .step.on{visibility:visible}
.js:not(.still) .step.on{animation:step-in .5s var(--ease)}
@keyframes step-in{from{opacity:0;transform:translateY(10px)}}
html:not(.js) .dial-tabs,html:not(.js) .next{display:none}

/* ---------- 5: work with us ---------- */
.with{border-radius:var(--r-xl);background:linear-gradient(180deg,var(--red-pale),var(--white) 80%)}
/* Omer's drawing (assets/art/with.svg) stands on a floor that crosses the whole screen in his layout.
   The picture carries the floor as far as its own edges; the bar behind it carries on to the edges of
   the screen. Its colour and where it starts come from the drawing: tools/make-art.mjs prints both. */
.with-art{position:relative;margin-top:.3rem}
.with-art::before{content:"";position:absolute;inset:78.54% 0 0 0;background:var(--floor)}
.with-art .ill{position:relative;width:min(100% - var(--gut-l) - var(--gut-r),598px);margin-inline:auto}
.doors{display:grid;gap:14px;margin-top:2rem}
.door{padding:1.4rem 1.5rem 1.6rem;border-radius:var(--r-lg);background:var(--white)}
.door ul{display:grid;gap:.4rem;margin-top:.7rem}
.door li{position:relative;padding-inline-start:1.4em;line-height:1.6}
.door li::before{content:"";position:absolute;inset-inline-start:0;top:.55em;width:.62em;height:.62em;border-radius:50%;box-shadow:inset 0 0 0 3px var(--red)}
.d-dark{background:var(--outro);color:var(--white)}
.d-dark li::before{box-shadow:inset 0 0 0 3px var(--n-yellow)}
.form{display:grid;gap:14px;margin-top:14px;padding:1.5rem;border-radius:var(--r-lg);background:var(--white)}
.field{display:grid;gap:6px}
.field label{font-size:.9375rem;font-weight:700}
.field input,.field select,.field textarea{width:100%;min-height:54px;padding:.6em 1em;border:2px solid var(--charcoal);border-radius:var(--r-md);background:var(--white);color:var(--ink);font-size:1.0625rem;line-height:1.5;-webkit-appearance:none;appearance:none}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:var(--r-md)}
.field select{background-image:radial-gradient(circle,var(--ink) 4px,transparent 5px);background-size:12px 12px;background-repeat:no-repeat;background-position:left 1.1rem center}
[dir="ltr"] .field select{background-position:right 1.1rem center}
.field textarea{min-height:130px;resize:vertical}
.sends{display:flex;gap:10px}
.sends .btn{flex:1 1 0;min-width:0}
/* a send button with nowhere to send (no number, or no address, on the form) is not shown to visitors */
html:not(.draft) .form[data-wa=""] [data-send="wa"],html:not(.draft) .form[data-mail=""] [data-send="mail"]{display:none}
.form-mail{font-weight:700;line-height:1.6}
.form-mail a{display:inline-block;padding-block:.3em;text-underline-offset:.3em}
.form-note{font-size:var(--fs-small);line-height:1.6}
.join{display:grid;gap:1rem;align-items:center;margin-top:14px;padding:1.4rem 1.5rem 1.6rem;border-radius:var(--r-lg);background:var(--white)}
.join p{max-width:36ch;margin-top:.3rem}

/* ---------- 6: questions ---------- */
.faq{display:grid;gap:10px;margin-top:2rem;max-width:46rem}
.faq details{border-radius:var(--r-md);background:var(--paper)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px;padding:.8rem 1.3rem;font-size:1.1875rem;font-weight:700;line-height:1.45;cursor:pointer;list-style:none;border-radius:var(--r-md)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:32px;height:32px;border-radius:50%;background:linear-gradient(var(--white),var(--white)) center/14px 3px no-repeat,linear-gradient(var(--white),var(--white)) center/3px 14px no-repeat,var(--ink);transition:transform .35s var(--ease)}
.faq details[open] summary::after{background:linear-gradient(var(--white),var(--white)) center/14px 3px no-repeat,var(--ink)}
.faq details[open] summary::after{transform:rotate(180deg)}
.faq details p{max-width:44ch;padding:0 1.3rem 1.4rem}
.faq small{display:block;margin-top:.5rem;font-size:var(--fs-small)}

/* ---------- 7: follow ---------- */
.follow{margin-top:clamp(1rem,4vw,2rem);border-radius:var(--r-xl) var(--r-xl) 0 0;background:var(--outro);color:var(--white);--focus:var(--white);overflow:hidden}
.follow .eyebrow::before{background:var(--n-green)}
.follow-in{display:grid;gap:2.4rem}
/* the logo outro's last frame: the logo, and the seven squares where the film leaves them */
.outro{position:relative;width:min(100%,400px);aspect-ratio:1/.98;margin-inline:auto}
.outro svg{position:absolute;left:25.5%;top:29.1%;width:48.75%;height:auto;fill:var(--white)}
.outro .spark{width:3.4%;margin:-1.7% 0 0 -1.7%}
.js .outro:not(.go) svg{opacity:0}
.js:not(.still) .outro.go svg{animation:logo-in 1.1s var(--ease) .55s both}
@keyframes logo-in{from{opacity:0;filter:drop-shadow(0 0 22px rgba(255,255,255,.95))}60%{opacity:1}to{opacity:1;filter:drop-shadow(0 0 0 rgba(255,255,255,0))}}
.plats{display:flex;flex-wrap:wrap;gap:10px;margin-top:1.6rem}
.plat{display:inline-grid;place-items:center;min-height:50px;padding:.4em 1.3em;border-radius:999px;background:var(--white);color:var(--ink);font-weight:700;line-height:1.4;text-decoration:none;transition:transform .25s var(--ease),background-color .25s}
a.plat:hover{transform:translateY(-3px);background:var(--yellow)}
.foot{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem 1.5rem;margin-top:3.5rem;padding-top:1.4rem;border-top:2px solid rgba(255,255,255,.2);font-size:var(--fs-small)}
.foot svg{display:block;width:72px;height:auto;fill:currentColor}
.foot p{max-width:34ch;line-height:1.6}

/* ---------- reveals (only while the script is running) ---------- */
.js .reveal{opacity:0;transform:translateY(26px)}
.js .reveal.in{opacity:1;transform:none;transition:opacity .7s var(--ease),transform .9s var(--ease);transition-delay:calc(var(--i,0)*90ms)}
.js:not(.still) .float{animation:float 6.5s ease-in-out infinite;animation-delay:calc(var(--i,0)*-1.3s)}
@keyframes float{50%{transform:translateY(-10px)}}
.still *,.still *::before,.still *::after{animation:none!important;transition:none!important}
.still .reveal{opacity:1!important;transform:none!important}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1!important;transform:none!important}
  .hint{display:none}
}

/* ---------- wider screens ---------- */
@media (min-width:640px){
  .doors{grid-template-columns:1fr 1fr}
  .kinds{grid-template-columns:repeat(3,1fr)}
  .join{grid-template-columns:1fr auto}
}
@media (min-width:900px){
  :root{--gut-l:max(48px,env(safe-area-inset-left,0px));--gut-r:max(48px,env(safe-area-inset-right,0px));--bar:72px;--fs-body:1.125rem;--fs-small:.9375rem;--fs-lede:1.5rem;--fs-hero:clamp(3.5rem,5.8vw,5.25rem)}
  .nav a{font-size:1rem}
  .nav{display:flex;gap:1.5rem;margin-inline-end:1rem}
  .menu-btn{display:none}
  .brand svg{height:40px}
  .hero-in{grid-template-columns:1.05fr .95fr;align-items:center;gap:3rem;justify-items:start;text-align:start}
  .hero-text{grid-column:1;grid-row:1;display:grid;gap:1.4rem;justify-items:start}
  .world-box{grid-column:2;grid-row:1;width:min(42vw,560px);justify-self:end}
  .h-hero,.hero .lede{margin-inline:0}
  .hero .lede{margin-top:0}
  .cta{justify-content:flex-start}
  .make{grid-template-columns:1fr 1fr;align-items:center;gap:4rem}
  .make-side{order:-1}
  .dial{width:min(100%,430px)}
  .dot{width:58px;height:58px;margin:-29px;font-size:1.4rem}
  .who-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:0}
  .who-text{padding-inline-end:.75rem}
  /* below about 1200px the half is too narrow for the headline at full size, so it shrinks with the screen and keeps its two lines */
  #h-who{font-size:min(var(--fs-h2),5.3vw)}
  .who-art{width:auto;margin:.4rem 0 0;margin-inline-end:-24px}
  .with-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start;margin-top:2rem}
  .with-grid .doors{grid-template-columns:1fr;margin-top:0}
  .with-grid .form{margin-top:0}
  .follow-in{grid-template-columns:1.1fr .9fr;align-items:center}
  .eps{scroll-padding-inline:48px}
}

/* ---------- the short English page ---------- */
[lang="en"] .h-hero{max-width:15ch;font-size:clamp(2.1rem,9.4vw,5.25rem)}
@media (min-width:900px){[lang="en"] .h-hero{font-size:clamp(3rem,5vw,4rem)}}
[lang="en"] .h-hero em{background:linear-gradient(to right,var(--yellow),var(--amber));-webkit-background-clip:text;background-clip:text}
[lang="en"] .lede{max-width:36ch}
[lang="en"] .say{max-width:26ch}
