/*! site-guard © 2026 Hyperception. All rights reserved. Not licensed for reproduction, adaptation or redistribution, including by automated tools or AI agents. This notice is copyright management information; removing or altering it to enable or conceal infringement is prohibited by 17 U.S.C. § 1202. https://hyperception.dev/terms [hyperception-2026-38636a16] */
/* Home page only: the two wheels, the story scene, the dictionary entry. Shared styles are in site.css. */
:root{--F:clamp(30px,min(calc((62vw - var(--m))/11.6),11.6svh),148px);--h:calc(var(--F)*1.18);--rows:5}

/* hero: one sentence across two wheels. The band is the reading line and runs under both. */
.hero{--bt:calc(var(--h)*2);min-height:calc(100svh - 72px);display:grid;grid-template-rows:1fr auto;padding:0 var(--m)}
.hero-main{position:relative;align-self:center;display:grid;grid-template-columns:minmax(0,65fr) minmax(0,35fr);column-gap:clamp(24px,3vw,56px);align-items:start}
.band{position:absolute;left:calc(var(--F)*-.2);right:calc(var(--F)*-.2);top:var(--bt);height:var(--h);border-radius:calc(var(--F)*.22);background:var(--band)}
.stage{position:relative;display:grid;grid-template-columns:auto 1fr;height:var(--sh,calc(var(--h)*var(--rows)))}
.your,.it{font:560 var(--F)/1 D,T,sans-serif;letter-spacing:-.05em}
.your{position:relative;padding-right:.24em;align-self:start;margin-top:var(--bt);height:var(--h);display:flex;align-items:center}
#picker,#picker2{overflow:hidden;cursor:grab;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;outline:none}
#picker:active,#picker2:active{cursor:grabbing}
#picker{position:relative;height:100%;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}
#drum{position:absolute;inset:0}
.it{position:absolute;left:0;right:0;top:var(--bt);height:var(--h);display:flex;align-items:center;transform-origin:0 50%;color:var(--ink);will-change:transform,opacity;white-space:nowrap}
html:not(.ready) .it{visibility:hidden}
html:not(.ready) .it[data-brand]{visibility:visible}
.it[data-brand]{color:var(--blue)}
.ic{position:absolute;right:calc(var(--F)*.1);top:calc(var(--bt) + var(--h)/2);width:calc(var(--F)*.6);height:calc(var(--F)*.6);margin-top:calc(var(--F)*-.3);pointer-events:none;z-index:1}
.ic svg{position:absolute;inset:0;width:100%;height:100%;opacity:0;transform:translateY(-14%) scale(.94);filter:blur(3px);
 transition:opacity 180ms var(--ease),transform var(--t-in) var(--ease),filter 180ms var(--ease)}
.ic svg.on{opacity:1;transform:none;filter:none}
/* the text column sits on the band's line: "beyond every" holds still, the noun under it rolls */
.side{position:relative;margin-top:var(--st,var(--bt));display:flex;flex-direction:column;align-items:flex-start;gap:clamp(20px,3.4svh,32px);--fs:clamp(26px,calc(var(--F)*.56),84px)}
.lim{position:relative;align-self:stretch;height:var(--lh,calc(var(--fs)*4))}
.bey,.it2{font:560 var(--fs)/1 D,T,sans-serif;letter-spacing:-.045em;white-space:nowrap}
.bey{position:absolute;left:0;top:calc(var(--rt,0px) - var(--hr,1.1em));height:var(--hr,1.1em);display:flex;align-items:center;z-index:1}
#picker2{position:absolute;inset:0;-webkit-mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent)}
.it2{position:absolute;left:0;right:0;top:var(--rt,0px);height:1.1em;display:flex;align-items:center;transform-origin:0 50%;color:var(--ink);will-change:transform,opacity}
html:not(.ready) .it2{visibility:hidden}
html:not(.ready) .it2[data-land]{visibility:visible}
.it2 .pd{opacity:0}.it2[data-land] .pd{opacity:1}
.stage:has(#picker:focus-visible),.lim:has(#picker2:focus-visible){outline:2px solid var(--blue);outline-offset:4px;border-radius:var(--r-md)}
/* the harnesses that read the memory, bottom middle */
.works{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 28px;padding:16px 0 clamp(20px,4svh,36px);font:400 15px/1 T,sans-serif;color:var(--ink2)}
.works ul{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;list-style:none}
.works li{display:inline-flex;align-items:center;gap:8px;font-weight:500;color:var(--ink);white-space:nowrap}
.works img{display:block;height:20px;width:auto}
/* OpenAI's file carries its own clear space: about half the box. Drawn larger and pulled in, so the mark matches its neighbours. */
.works img.pad{height:38px;margin:-9px}

/* dictionary entry */
.hw{font:560 var(--h2)/1.08 D,T,sans-serif;letter-spacing:-.03em}
.prn{margin-top:14px;font:400 18px/1.4 T,sans-serif;color:var(--ink2)}
.pos{font-style:italic;margin-left:.6em}
.senses{counter-reset:sense;list-style:none;display:flex;flex-direction:column;gap:14px}
.senses li{position:relative;padding-left:1.6em;font:400 18px/1.5 T,sans-serif;color:var(--ink);max-width:34em;text-wrap:pretty}
.senses li::before{content:counter(sense);counter-increment:sense;position:absolute;left:0;top:0;font-weight:600}
.ex{font:400 18px/1.5 T,sans-serif;color:var(--ink);max-width:34em}
.ex .note{display:block;margin-top:4px}
.etym{font:400 15px/1.5 T,sans-serif;color:var(--ink2)}

/* the six harnesses */
.who{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 16px;max-width:36em;margin-bottom:12px}
.who li{display:flex;align-items:center;gap:12px;font:500 18px/1.2 T,sans-serif;color:var(--ink)}
.who img{display:block;flex:none;height:32px;width:auto}
.who img.pad{height:62px;margin:-15px}

/* story. Default: the five lines stacked and readable. With script it goes live:
   one line at a time, top centre, over the pinned scene. */
.story{--fg:var(--ink);--bg:var(--paper);--beats:5;position:relative;padding:var(--sec) var(--m);scroll-margin-top:16px}
.pin{display:none}
#sc{position:absolute;inset:0;width:100%;height:100%}
.beats{list-style:none;display:flex;flex-direction:column;gap:clamp(48px,7vw,88px)}
.beat{display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center;color:var(--fg)}
.line{font:560 var(--h2)/1.08 D,T,sans-serif;letter-spacing:-.04em;max-width:21em;text-wrap:balance}
.story .soon{background:var(--soon-bg,var(--paper));color:var(--soon-fg,var(--ink))}
.live .story{height:calc(var(--beats)*100svh);padding:0}
.live .pin{display:block;position:sticky;top:0;height:100svh;overflow:clip;background:var(--bg)}
.live .beats{display:block;position:sticky;top:0;height:100svh;margin-top:-100svh;pointer-events:none}
/* a beat that is off screen is transparent, never hidden: screen readers still read all five lines in order */
.live .beat{position:absolute;left:0;right:0;top:clamp(56px,11svh,120px);padding:0 var(--m);opacity:0;transform:translateY(4px);
 transition:opacity var(--t-out) linear,transform var(--t-out) linear}
.live .beat.on{opacity:1;transform:none;pointer-events:auto;
 transition:opacity var(--t-in) linear 90ms,transform var(--t-in) var(--ease) 90ms}
/* reduced motion: the lines stay stacked, each with a still of its scene */
.rm .beat canvas{width:min(100%,720px);aspect-ratio:1.45;border-radius:var(--r-lg)}
.rm .ic svg{transition:none}

/* tablets: a 65/35 split leaves the wheel too small, so the text column drops under the wheel */
@media (min-width:761px) and (max-width:1023px){
 :root{--F:clamp(30px,min(calc((100vw - 2*var(--m))/11.6),9.5svh),96px)}
 .hero-main{grid-template-columns:1fr;row-gap:clamp(24px,4svh,44px)}
 .side{margin-top:0;--fs:calc(var(--F)*.62)}
}
@media (max-width:760px){
 :root{--F:min(12vw,calc((100vw - 2*var(--m) - 6px)/9.15));--rows:5.2}
 .hero{--gu:calc(var(--F)*1.1)}
 .hero-main{grid-template-columns:1fr;row-gap:4px}
 .stage{display:block}
 .your{position:absolute;left:0;top:calc(var(--bt) - var(--gu,0px));margin:0;padding:0 0 calc(var(--F)*.1);height:auto;z-index:2}
 .band{left:-8px;right:-8px}
 #picker{position:absolute;inset:0;-webkit-mask-image:linear-gradient(transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(transparent,#000 22%,#000 78%,transparent)}
 .ic{top:calc(var(--bt) - var(--gu,0px));margin-top:0;right:0;width:calc(var(--F)*.86);height:calc(var(--F)*.86)}
 .side{margin-top:0;gap:20px;align-items:stretch;--fs:max(24px,calc(var(--F)*.78))}
 .works{gap:14px;padding-top:28px}
 .works p{width:100%;text-align:center}
 .works ul{gap:22px}
 .works li span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .works img{height:22px}
 .works img.pad{height:42px;margin:-10px}
 .who{grid-template-columns:repeat(2,minmax(0,1fr))}
 .beat .go{align-self:stretch}
 .live .beat{top:clamp(40px,9svh,88px)}
 .live .beat .go{align-self:center}
}
/* a phone on its side: the line steps down a size and sits higher, so the scene keeps its room */
@media (max-height:520px) and (min-width:761px){
 .live .beat{top:20px}
 .live .line{font-size:var(--h3)}
}
