/* brightmirrorfoundation.com: white, flat, light and shadow. The mirror shadow is the CI (docs/SYMBIOPAGES-PLAN.md section 3):
   white mirror 10 : 21.8, perspective(300px) rotateY(12deg), shadow all round 0.6 x mirror width in #D5D5D5, grows in 3 s after 0.5 s.
   Everything else borrows that one idea: things lie flat on white and lift with the same soft shadow. */
@font-face{font-family:'Urbanist';font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/urbanist-latin-600-normal.woff2") format("woff2")}
/* labels: IBM Plex Mono 400 (owner's choice 2026-12-03, docs/design/mono-compare), licence ../fonts/OFL-ibm-plex-mono.txt */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2")}
:root{
  --color-bg:#FFFFFF;
  --ink:#1B2028;
  --ink-soft:#4D5664; /* 7.6:1 on white */
  --shade:#D5D5D5;
  --hair:#E6E8EC;
  --gut:clamp(20px,5vw,48px);
  --mono:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;
  --color-leaf:#1B2028;
  /* three text sizes only (plus h1, h2): text, small, label */
  --fs-text:18px;
  --fs-small:15px;
  --fs-label:13px;
}
body,.page,.page .sfoot{background:#FFFFFF;color:var(--ink)}
body{font-size:var(--fs-text)}
a{color:var(--ink)}a:hover{color:#000}
h1,h2,h3,.wordmark{font-family:'Urbanist',system-ui,sans-serif}
.mono{font-family:var(--mono);font-size:var(--fs-label);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft)}

/* intro: the mirror; its shadow grows, then the name appears by itself (hover shows it at once), then the label. Click leads in. */
.intro{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(40px,8vh,80px);padding:24px}
.logo{--w:clamp(80px,10vw,160px);display:flex;align-items:center;text-decoration:none;color:#000}
.mirror{width:var(--w);height:calc(var(--w) * 2.18);background:#FFF;transform:perspective(300px) rotateY(12deg);box-shadow:0 0 0 var(--shade);animation:grow-shadow 3s ease .5s forwards}
@keyframes grow-shadow{to{box-shadow:0 0 calc(var(--w) * .6) var(--shade)}}
.logo-text{display:flex;flex-direction:column;margin-inline-start:calc(var(--w) * -.65);position:relative;font:700 calc(var(--w) * .5)/1 'Urbanist',sans-serif;opacity:0;transition:opacity .3s;animation:fade 1.2s ease 3.5s forwards}
.logo:hover .logo-text,.logo:focus-visible .logo-text{opacity:1}
.logo:focus-visible{outline-offset:12px}
.intro-label{opacity:0;animation:fade 1.2s ease 5s forwards}
@keyframes fade{to{opacity:1}}
@media (max-width:768px){.logo{--w:28vw}}
/* reduced motion: base.css stops all animation, so show the end state at once */
@media (prefers-reduced-motion:reduce){.mirror{box-shadow:0 0 calc(var(--w) * .6) var(--shade)}.intro-label,.logo-text{opacity:1}}

/* text blocks */
main section:not(.intro){max-width:1080px;margin-inline:auto;padding:clamp(56px,10vh,104px) var(--gut)}
.narrow > *,.hero > *{max-width:680px}
.narrow > .btns{max-width:none}
.hero h1{max-width:16ch}
.hero{padding-block-start:clamp(72px,14vh,140px) !important}
.hero h1{font-size:clamp(38px,6.4vw,72px);font-weight:700;letter-spacing:-.025em;line-height:1.04;margin-block:18px 24px}
.lead{font-size:var(--fs-text);line-height:1.6;color:var(--ink-soft);max-width:60ch}
.block h2{font-size:clamp(28px,3.6vw,42px);font-weight:700;letter-spacing:-.02em;line-height:1.1;margin-block-end:20px}
.block p{font-size:var(--fs-text);line-height:1.6}
.block p.mono{font-size:var(--fs-label);line-height:1.5}
.block p + p{margin-block-start:12px}
.block .line{margin-block-end:28px}
.small,.note{font-size:var(--fs-small) !important;color:var(--ink-soft);margin-block-start:24px !important}
.status{display:block}

/* cards: flat on white, lift with the mirror's shadow on hover (touch: pressed) */
.cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.card{padding:28px 24px;border-radius:0;background:#FFF;border:1px solid var(--hair);display:flex;flex-direction:column;gap:10px;transition:transform .35s ease,box-shadow .35s ease,border-color .35s}
.card h3{font-size:var(--fs-text);font-weight:700;line-height:1.3}
.card p{font-size:var(--fs-text) !important;line-height:1.5;color:var(--ink-soft)}
.card.later{border-style:dashed;border-color:#C9CDD4}
@media (hover:hover){.card:hover{transform:translateY(-6px);box-shadow:0 0 36px var(--shade);border-color:transparent}}
@media (hover:none){.card:active{transform:translateY(1px);box-shadow:inset 0 0 14px var(--hair)}}
@media (max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.cards{grid-template-columns:1fr}}

/* rules and road: thin strokes, no ticks */
.rules,.road{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.rules li,.road li{font-size:var(--fs-text);line-height:1.5;padding:16px 0 16px 28px;border-block-end:1px solid var(--hair);position:relative}
.rules li::before{content:"";position:absolute;left:0;top:28px;width:14px;height:1.5px;background:var(--ink)}
.road{counter-reset:r}
.road li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;counter-increment:r}
.road li::before{content:counter(r);position:absolute;left:0;font:400 var(--fs-label) var(--mono);color:var(--ink-soft);top:20px}
.road li.now span:first-child{font-weight:600}
.road li.now .mono{color:var(--ink)}

/* take part */
.btns{display:flex;flex-wrap:wrap;gap:16px;margin-block:28px}
.btn-soft{min-height:52px;padding:0 26px;border-radius:0;display:inline-flex;align-items:center;font-size:var(--fs-text);font-weight:600;text-decoration:none;color:var(--ink);border:1px solid var(--hair);background:#FFF;transition:transform .3s ease,box-shadow .3s ease,border-color .3s}
.btn-soft:hover,.btn-soft:focus-visible{transform:translateY(-3px);box-shadow:0 0 24px var(--shade);border-color:transparent}
.mail{font-size:var(--fs-text) !important;color:var(--ink-soft)}
.note{color:var(--ink-soft);margin-block-start:-12px !important}
.mail a{font-weight:600}

/* legal pages */
.legal-page{max-inline-size:720px;margin-inline:auto;padding:72px var(--gut) 96px;display:flex;flex-direction:column;gap:20px}
.legal-page h1{font-size:clamp(28px,3.6vw,42px);font-weight:700;letter-spacing:-.025em;line-height:1.05}
.legal-page h2{font-size:var(--fs-text);font-weight:700;font-weight:600;line-height:1.1;margin-block-start:12px}
.legal-page p,.legal-page li{font-size:var(--fs-text);line-height:1.6}
.legal-page ul{margin:0;padding-inline-start:22px;display:flex;flex-direction:column;gap:8px}
.legal-page .back{font-weight:600;min-block-size:44px;display:inline-flex;align-items:center}

/* shared footer: a hairline instead of the six ring colours */
.sfoot::before{background:var(--hair);height:1px}
.sfoot .bbb-by b{color:var(--ink)}

/* glide (mirror.js): the logo is fixed and travels to the top left (transform-origin top left), then stays.
   With scroll-driven animations the browser runs it (no jitter); otherwise mirror.js sets the same transform and --dock.
   Phones get a frosted glass behind the docked logo; on wider screens the page stays see-through. */
.glide .logo{position:fixed;z-index:30;margin:0;transform-origin:0 0}
.logo-slot{display:block}
.glide .logo.docked .logo-text{opacity:1}
.dock-bg{display:none}
@media (max-width:900px){
  .glide .dock-bg{display:block;position:fixed;z-index:29;pointer-events:none;background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);box-shadow:0 0 0 1px rgba(27,32,40,.06);opacity:var(--dock,0)}
}
.intro-label{filter:opacity(calc(1 - var(--dock,0) * 2))} /* filter, because the fade-in animation owns opacity */
@keyframes dock{to{transform:translate(var(--dx),var(--dy)) scale(var(--s))}}
@keyframes label-out{to{filter:opacity(0)}}
@keyframes glass-in{from{opacity:0}to{opacity:1}}
@supports (animation-timeline:scroll()){
  .glide .logo{animation:dock cubic-bezier(.2,.75,.3,1) both;animation-timeline:scroll(root);animation-range:0 55vh}
  .glide .intro-label{filter:none;animation:fade 1.2s ease 5s forwards,label-out linear both;animation-timeline:auto,scroll(root);animation-range:normal,0 25vh}
  @media (max-width:900px){.glide .dock-bg{opacity:0;animation:glass-in linear both;animation-timeline:scroll(root);animation-range:35vh 55vh}}
}

/* backdrop: one AI illustration in four seasons, fixed behind the page (it never moves). It appears after the white intro,
   under a white veil so text stays readable (dark ink on >= 74 % white, >= 86 % behind the text column).
   One pass over the page, tied to the scroll: spring at the first text (0 %), summer at 25 %, autumn at 50 %, winter from 75 %,
   morphing continuously in between (no loop).
   Reduced motion: no image. */
.backdrop{position:fixed;inset:0;height:100lvh;z-index:0;pointer-events:none;opacity:0}
.backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.9) 0%,rgba(255,255,255,.86) 60%,rgba(255,255,255,.74) 100%)}
.season{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:72% 50%}
.season:not(.s-summer){opacity:0} /* mirror.js sets the opacity of autumn, winter and spring from the scroll position */
main > :not(.backdrop):not(.dock-bg):not(.intro):not(.cue),.sfoot{position:relative;z-index:1}
.intro{position:relative} /* no z-index: the fixed logo inside must stay above the content layers */
.ai-note{margin-block-start:18px !important}
@media (max-width:900px){.backdrop::after{background:rgba(255,255,255,.86)}}
/* without scroll-driven animations the veiled spring simply shows once the intro is passed */
.glide .backdrop{opacity:var(--dock,0)}
@keyframes backdrop-in{to{opacity:1}}
@supports (animation-timeline:scroll()){
  .backdrop{animation:backdrop-in linear both;animation-timeline:scroll(root);animation-range:40vh 100vh}
  .glide .backdrop{opacity:0}
}

/* language menu (no header on this site): fixed top right. On the home page it comes in with the docked logo
   (mirror.js sets .is-docked); on the other pages it is always there. Square, like the rest of this site. */
.lang-float{position:fixed;top:24px;right:24px;z-index:31;transition:opacity .4s ease,visibility 0s linear 0s}
html.js:has(.intro):not(.is-docked) .lang-float{opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s} /* home page: hidden from the start until the logo docks */
.lang-float .lang-btn,.lang-float .lang-list,.lang-float .lang-list a,.lang-float .flags{border-radius:0}
.lang-float .lang-btn{border-color:var(--hair);background:rgba(255,255,255,.9);font-size:var(--fs-small);font-weight:600}
.lang-float .lang-list{box-shadow:0 0 36px var(--shade);border-color:var(--hair)}
.lang-float .lang-list a{font-size:var(--fs-small)}
.lang-float .lang-list a[aria-current="page"]{background:#F1F3F6}
@media (max-width:600px){.lang-float{top:14px;right:14px}}
/* the logo always docks top left, so the menu stays top right in RTL languages too */
.lang-float .lang-list{right:0;left:auto}

/* language suggestion (shared lang-switcher.js): on this site a quiet strip fixed at the bottom, so it never pushes the white
   intro down; on the home page it only appears once the logo has docked. Square like the rest. */
html .lang-hint{position:fixed;inset:auto 0 0 0;z-index:32;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--hair);border-bottom:0;font-size:var(--fs-small);transition:opacity .4s ease,transform .4s ease,visibility 0s linear 0s}
html .lang-hint a,html .lang-hint button{border-radius:0}
html .lang-hint a{background:var(--ink)}
html.js:has(.intro):not(.is-docked) .lang-hint{opacity:0;visibility:hidden;transform:translateY(100%);transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s}

/* no language suggestion strip on this site: the flag in the language menu is enough (owner, 2026-12-03) */
html .lang-hint{display:none}
/* 3 phones: frosted glass behind the language button, like behind the docked logo */
@media (max-width:900px){.lang-float .lang-btn{background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4)}}

/* primary action (Fable F7): the first button carries ink */
.btn-soft.btn-main{background:var(--ink);color:#FFF;border-color:var(--ink)}
.btn-soft.btn-main:hover,.btn-soft.btn-main:focus-visible{color:#FFF}
/* scroll cue (same behaviour as symbiocracy.online, square like this site): shows when someone stops, not near the end; a tap scrolls on.
   The first time not before 7 s, so the opening name keeps its moment. Above the phone's bottom bar via the safe-area inset. */
.cue{position:fixed;z-index:20;left:50%;margin-left:-24px;inset-block-end:calc(20px + env(safe-area-inset-bottom,0px));display:grid;place-items:center;inline-size:48px;block-size:48px;padding:0;border:1px solid var(--hair);border-radius:0;background:rgba(255,255,255,.92);color:var(--ink);cursor:pointer;box-shadow:0 0 24px var(--shade);transition:opacity .4s ease}
.cue::after{content:"";inline-size:12px;block-size:12px;border:solid currentColor;border-width:0 2px 2px 0;rotate:45deg;margin-block-start:-6px}
.cue[hidden]{display:none}.cue.off{opacity:0;pointer-events:none}
@media (prefers-reduced-motion:no-preference){.cue:not(.off){animation:cue-bob 1.6s ease-in-out infinite}}
@keyframes cue-bob{50%{translate:0 5px}}
