/* =====================================================================
   brand-lf.css — "LINE & FIELD" brand TEST, round 4 (19 Nov 2026). Loaded ONLY by /home-preview,
   everything scoped to html.lf, so no live page is touched. Motion: /lf-motion.js (same page only).
   Heike, round 4: "explore things as you scroll (lightweight parallax, like anime.js) · rethink the fonts:
   something like the wide font but not so wide, and a subtitle font that goes with it · cream + lines, but
   cards in bold colours · geometries always the same paper style, dark lines on the corners and edges ·
   more balance and cleanliness".
   Fonts (20 Nov 2026, Heike: Outfit replaces Archivo — the website's own font, Archivo was too wide):
           Outfit, capitals → headings + labels (font-stretch has no effect; caps need letter-spacing .035em + word-spacing .14em)
           Fraunces italic 400 → subtitles + quotes (replaced Cormorant italic, 20 Nov 2026)
           Cormorant Garamond → ONLY the wordmark "Da Vinci School"
   BRAND SPEC (Heike 20 Nov 2026): headings + labels Outfit 800, capitals, letter-spacing .035em, word-spacing .14em;
           reading text + captions Outfit 400. Not used any more: Archivo, Syncopate, Manrope.
   DARK GROUND (reels, dark sections, dark pages): violet black #F1ECE2 (was ultramarine #F1ECE2 until 20 Nov evening), lines + text cream #F1E8D6, accent bright turquoise #2FD0C5.
           Outfit → everything people read
   Paper style: flat colour, 1.5px ink edge, a hard ink shadow (no blur) — for cards, shapes and solids alike.
   ===================================================================== */
html.lf{
  --lf-cream:#15111F; --lf-ink:#F1E8D6; --lf-ink2:rgba(241,232,214,.86); --lf-ink3:rgba(241,232,214,.66);
  --lf-teal:#2FD0C5; --lf-turq:#2FD0C5; --lf-purple:#F1E8D6; --lf-blush:#E8AFB4; --lf-red:#C8262E; --lf-saffron:#F2B33D;
  --lf-dark:#F1ECE2; --lf-on-dark:#F1E8D6; --lf-accent-dark:#2FD0C5;
  --lf-tetra:#E0A82E; --lf-cube:#3FA463; --lf-octa:#D9483F; --lf-dodeca:#3F78C9; --lf-icosa:#8E5BC9; --lf-sky:#9DBBEA;
  --lf-line:rgba(241,232,214,.9); --lf-hair:rgba(241,232,214,.16);
  --lf-head:'Outfit',system-ui,sans-serif; --lf-sub:'Fraunces',Georgia,serif; --lf-body:'Outfit',system-ui,sans-serif;
  --lf-edge:1.5px solid var(--lf-ink); --lf-shadow:5px 5px 0 var(--lf-ink); --lf-shadow-up:8px 8px 0 var(--lf-ink);
  --lf-ease:cubic-bezier(.16,.84,.24,1);
  /* the site's own tokens → papyrus + ink */
  --night:var(--lf-cream); --night-2:var(--lf-cream); --night-3:#15111F; --line:var(--lf-hair);
  --paper:var(--lf-ink); --paper-2:var(--lf-ink2); --paper-3:var(--lf-ink3);
  --teal:var(--lf-teal); --teal-light:var(--lf-turq); --teal-deep-bg:var(--lf-teal);
  --hx-night:var(--lf-cream); --hx-night2:var(--lf-cream); --hx-night3:#15111F; --hx-paper:var(--lf-ink); --hx-paper2:var(--lf-ink2);
  --hx-teal:var(--lf-teal); --hx-teal2:var(--lf-turq); --hx-gold:var(--lf-ink); --hx-line:var(--lf-line);
  --bg-card:var(--lf-cream); --card:var(--lf-cream); --line-strong:var(--lf-ink); --on-accent:var(--lf-ink); --veil:rgba(21,17,31,.88);
  --font-sans:var(--lf-body); --font-serif:var(--lf-body);
  background:var(--lf-cream);
}
html.lf body{background:var(--lf-cream)!important;color:var(--lf-ink);font-family:var(--lf-body)!important;font-weight:400;font-stretch:100%}
html.lf body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:url(/images/brand/line-field-wide.webp) center/cover no-repeat;opacity:.85}
@media (max-aspect-ratio:1/1){html.lf body::before{background-image:url(/images/brand/line-field-tall.webp)}}
html.lf body > *{position:relative}
html.lf #nav{position:fixed}
html.lf .hx-main,html.lf .hx-main *:not(svg):not(svg *){font-family:var(--lf-body)}
html.lf .hx-sec,html.lf .hx-sec--alt{background:transparent!important}
html.lf .hx-sec{position:relative;overflow:clip;padding-top:96px;padding-bottom:96px}
html.lf .hx-veil::before{display:none}
html.lf p{color:var(--lf-ink2)}

/* ---------- type ---------- */
html.lf .hx-h2,html.lf .hx-big,html.lf #hero.hero2 .hero-promise,html.lf .hx-card h3{
  font-family:var(--lf-head)!important;font-stretch:118%;font-weight:800!important;text-transform:uppercase;letter-spacing:.035em;word-spacing:.14em;color:var(--lf-ink)!important}
html.lf .hx-h2{font-size:clamp(1.55rem,3vw,2.5rem)!important;line-height:1.08}
html.lf .hx-big{font-size:clamp(1.6rem,3.2vw,2.7rem)!important;line-height:1.08}
html.lf .hx-big span,html.lf .hx-h2 span,html.lf .hx-big em{color:var(--lf-teal)!important;font-style:normal}
html.lf .hx-kick,html.lf .hx-num,html.lf .footer-heading,html.lf .hx-role,html.lf .hx-quote-who{font-family:var(--lf-head)!important;font-stretch:125%;font-weight:800!important;
  font-size:.68rem!important;letter-spacing:.035em!important;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink)!important}
html.lf .hx-kick::before{content:"";display:inline-block;width:9px;height:9px;margin:0 10px 1px 0;vertical-align:middle;border-radius:50%;background:var(--lf-red);border:1px solid var(--lf-ink)}
html.lf .hx-lead,html.lf #hero.hero2 .hero-story,html.lf .hx-quote-text,html.lf .hx-path-foot{font-family:var(--lf-sub)!important;font-style:italic;font-weight:400!important;color:var(--lf-ink2)!important}
html.lf .hx-lead{font-size:clamp(1.3rem,1.9vw,1.6rem)!important;line-height:1.4}
html.lf .hx-quote-text{font-size:clamp(1.6rem,2.8vw,2.4rem)!important;line-height:1.3;color:var(--lf-ink)!important}
html.lf .hx-door-title,html.lf .hx-pillar strong,html.lf .hx-pillar b,html.lf .hx-pillar h3{font-family:var(--lf-body)!important;font-weight:700!important;font-size:1.08rem!important;line-height:1.3;text-transform:none;letter-spacing:0;color:inherit!important}

/* ---------- buttons ---------- */
html.lf .btn,html.lf .hx-btn{font-family:var(--lf-head)!important;font-stretch:112%;font-weight:800!important;text-transform:uppercase;word-spacing:.14em;letter-spacing:.035em!important;font-size:.76rem!important;
  border-radius:999px!important;border:var(--lf-edge)!important;box-shadow:3px 3px 0 var(--lf-ink)!important;transition:transform .25s var(--lf-ease),box-shadow .25s var(--lf-ease),background .2s!important}
html.lf .btn:hover,html.lf .hx-btn:hover{transform:translate(-2px,-2px)!important;box-shadow:5px 5px 0 var(--lf-ink)!important}
html.lf .btn--filled,html.lf .hx-btn--fill,html.lf #hero.hero2 .hero-cta1{background:var(--lf-turq)!important;color:var(--lf-ink)!important}
html.lf .btn--on-dark,html.lf .hx-btn--ghost,html.lf #hero.hero2 .hero-cta2{background:var(--lf-cream)!important;color:var(--lf-ink)!important;backdrop-filter:none!important}
html.lf .hx-link,html.lf .hx-main a.hx-link,html.lf .hx-door-go{color:var(--lf-ink)!important;font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
html.lf .hx-arr{background:var(--lf-cream)!important;color:var(--lf-ink)!important;border:var(--lf-edge)!important;box-shadow:3px 3px 0 var(--lf-ink)}
html.lf .hx-play,html.lf .video-play-btn{background:var(--lf-saffron)!important;border:var(--lf-edge)!important;color:var(--lf-ink)!important;box-shadow:3px 3px 0 var(--lf-ink)}
html.lf .hx-meta{background:transparent!important;border:1px solid currentColor!important;color:inherit!important;border-radius:999px;opacity:.9}

/* ---------- top bar + nav (logo exactly as before: Vitruvian mark + Cormorant name) ---------- */
html.lf #topbar{background:var(--lf-purple)!important}
html.lf #topbar *{color:var(--lf-cream)!important;font-family:var(--lf-body)!important}
html.lf #topbar a{color:var(--lf-saffron)!important}
html.lf #nav,html.lf #nav.scrolled{background:rgba(21,17,31,.94)!important;border-bottom:1px solid var(--lf-line);box-shadow:none!important;backdrop-filter:blur(6px)}
html.lf #nav::before,html.lf #nav.scrolled::before{background:rgba(21,17,31,.94)!important}
html.lf #nav a,html.lf #nav button,html.lf #nav span{color:var(--lf-ink)!important}
html.lf #nav .nav-links a{font-family:var(--lf-body)!important;font-weight:600;letter-spacing:.1em}
html.lf #nav .nav-logo,html.lf #nav .nav-logo *{font-family:'Cormorant Garamond',Georgia,serif!important;text-transform:none!important;letter-spacing:.01em!important}
html.lf #nav .nav-logo{font-size:27px!important;font-weight:700}
html.lf #nav .nav-toggle span,html.lf #nav .nav-toggle i{background:var(--lf-ink)!important}
html.lf .nav-dd-menu{background:var(--lf-cream)!important;border:var(--lf-edge)!important;box-shadow:var(--lf-shadow)!important}

/* ---------- hero: the drawing first, words beside it ---------- */
html.lf #hero.hero2{background:transparent!important;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;justify-items:start;text-align:left;
  height:auto!important;min-height:100svh;padding:110px max(40px,calc((100vw - 1240px)/2)) 70px;gap:56px;overflow:clip}
html.lf #hero.hero2 .hero-copy{max-width:560px;padding:0!important;align-items:flex-start!important;text-align:left!important;z-index:3}
html.lf #hero.hero2 .hero-hair{display:none}
html.lf #hero.hero2 .hero-logo{order:-2;display:block;filter:none!important;width:64px!important;height:auto!important;margin:0 0 10px}
html.lf #hero.hero2 .hero-brand{order:-1;font-family:'Cormorant Garamond',Georgia,serif!important;font-size:2.3rem!important;font-weight:500;letter-spacing:.01em;text-transform:none;color:var(--lf-ink)!important;text-shadow:none;margin:0 0 22px!important}
html.lf #hero.hero2 .hero-promise{font-size:clamp(2rem,3.7vw,3.4rem)!important;line-height:1.02!important;white-space:normal!important;text-shadow:none;max-width:none!important;margin:0 0 22px!important;padding:0!important;text-align:left!important}
html.lf #hero.hero2 .hero-promise span{color:var(--lf-teal)}
html.lf #hero.hero2 .hero-story{text-shadow:none;font-size:1.45rem!important;line-height:1.35;max-width:460px;margin:0 0 32px!important;text-align:left!important}
html.lf #hero.hero2 .hero-ctas{justify-content:flex-start;gap:14px}
html.lf #hero.hero2 .hero-cta1,html.lf #hero.hero2 .hero-cta2{padding:16px 24px!important}
html.lf .lf-art{position:relative;order:-1;width:min(100%,700px,78svh);aspect-ratio:1;justify-self:center;z-index:2}
html.lf .lf-art > *{position:absolute}
html.lf .lf-disc{right:0;top:0;width:46%;aspect-ratio:1;border-radius:50%;background:var(--lf-turq);border:var(--lf-edge)}
html.lf .lf-half{left:-2%;bottom:3%;width:13%;aspect-ratio:1/2;border-radius:999px 0 0 999px;background:var(--lf-blush);border:var(--lf-edge);border-right:0}
html.lf .lf-dot{right:7%;bottom:7%;width:5%;aspect-ratio:1;border-radius:50%;background:var(--lf-red);border:var(--lf-edge)}
html.lf .lf-lines{inset:0;width:100%;height:100%;overflow:visible}
html.lf .lf-lines text{font:500 12px var(--lf-sub);font-style:italic;letter-spacing:.12em;fill:var(--lf-ink2)}
html.lf #hero.hero2 .lf-art .hero-media{position:absolute;inset:auto;left:0;top:3%;width:63%;aspect-ratio:1;height:auto;border-radius:50%;overflow:hidden;border:var(--lf-edge);box-shadow:var(--lf-shadow);z-index:3}
html.lf #hero.hero2 .lf-art .hero-media::after{display:none}
html.lf .lf-ico{left:50%;top:46%;width:46%;height:auto;z-index:4;filter:drop-shadow(5px 5px 0 var(--lf-ink))}
@media (max-width:900px){
  html.lf #hero.hero2{grid-template-columns:1fr;padding:96px 22px 48px;gap:28px;min-height:0}
  html.lf .lf-art{max-width:500px;width:100%}
  html.lf #hero.hero2 .hero-copy{width:100%;max-width:none}
  html.lf #hero.hero2 .hero-logo{width:52px!important}
  html.lf #hero.hero2 .hero-brand{font-size:1.9rem!important;margin-bottom:16px!important}
  html.lf #hero.hero2 .hero-promise{font-size:clamp(1.7rem,8.4vw,2.4rem)!important}
  html.lf #hero.hero2 .hero-story{font-size:1.3rem!important}
  html.lf #hero.hero2 .hero-ctas{flex-direction:column;align-items:stretch;width:100%}
  html.lf #hero.hero2 .hero-ctas .btn{text-align:center;white-space:normal}
}

/* ---------- paper cards ---------- */
html.lf .hx-door,html.lf .hx-card,html.lf .hx-pillar,html.lf .hx-scene,html.lf .hx-pscene,html.lf .hx-fact{
  border:var(--lf-edge)!important;border-radius:6px!important;box-shadow:var(--lf-shadow)!important;backdrop-filter:none!important;
  transition:transform .35s var(--lf-ease),box-shadow .35s var(--lf-ease)!important}
html.lf a.hx-door:hover,html.lf a.hx-card:hover,html.lf .hx-scene:hover{transform:translate(-3px,-3px)!important;box-shadow:var(--lf-shadow-up)!important}
html.lf .hx-pillar,html.lf .hx-fact,html.lf .hx-scene,html.lf .hx-pscene{background:var(--lf-cream)!important}
/* doors: four bold colours */
html.lf .hx-door{color:var(--lf-ink)!important;overflow:hidden}
html.lf .hx-door:nth-child(1){background:var(--lf-turq)!important}
html.lf .hx-door:nth-child(2){background:var(--lf-saffron)!important}
html.lf .hx-door:nth-child(3){background:var(--lf-blush)!important}
html.lf .hx-door:nth-child(4){background:var(--lf-purple)!important;color:var(--lf-cream)!important}
html.lf .hx-door *{color:inherit!important}
html.lf .hx-door-img{border-bottom:var(--lf-edge);border-radius:0!important}
html.lf .hx-door-text{opacity:.88}
/* path cards: same four colours */
html.lf .hx-card{color:var(--lf-ink)!important}
html.lf .hx-card *{color:inherit!important}
html.lf .hx-card h3{font-size:clamp(1.15rem,1.8vw,1.5rem)!important;line-height:1.1;margin:6px 0 10px!important}
html.lf .hx-card p{font-size:1rem;opacity:.9}
html.lf .lf-c1,html.lf .hx-prow:nth-of-type(1) .hx-card{background:var(--lf-turq)!important}
html.lf .lf-c2,html.lf .hx-prow:nth-of-type(2) .hx-card{background:var(--lf-saffron)!important}
html.lf .lf-c3,html.lf .hx-prow:nth-of-type(3) .hx-card{background:var(--lf-blush)!important}
html.lf .lf-c4,html.lf .hx-prow:nth-of-type(4) .hx-card{background:var(--lf-purple)!important;color:var(--lf-cream)!important}
html.lf .lf-c4 .hx-num{color:var(--lf-cream)!important}
/* pillars: cream with a coloured icon disc */
html.lf .hx-pillar svg,html.lf .hx-pillar > i,html.lf .hx-pillar > span:first-child{color:var(--lf-ink)!important;stroke:var(--lf-ink)}
html.lf .hx-pillar:nth-child(1){border-left:12px solid var(--lf-turq)!important}
html.lf .hx-pillar:nth-child(2){border-left:12px solid var(--lf-saffron)!important}
html.lf .hx-pillar:nth-child(3){border-left:12px solid var(--lf-blush)!important}
/* media frames */
html.lf .hx-video,html.lf .video-embed,html.lf .hx-be-photo,html.lf .hx-vids img,html.lf .hx-mo,html.lf .hx-retpics figure{border:var(--lf-edge)!important;border-radius:6px!important;box-shadow:var(--lf-shadow)!important}
html.lf .hx-mo span,html.lf .hx-mo span *{color:#15111F!important}
html.lf .hx-countries span::before{background:var(--lf-red)!important}
html.lf .hx-vid-cap,html.lf .hx-video-cap,html.lf .hx-countries,html.lf .hx-countries span{color:var(--lf-ink2)!important}

/* ---------- the drawings: one paper style — cream ground, flat colour, ink edges ---------- */
html.lf .tr-anim{position:relative;isolation:isolate;background:var(--lf-cream)!important}
html.lf .tr-anim svg > ellipse{display:none}
html.lf .tr-anim::before{content:"";position:absolute;z-index:-1;pointer-events:none;border:var(--lf-edge)}
html.lf .tr-anim .ln{stroke-width:1.6}
html.lf .tr-anim .hi{stroke:var(--lf-ink)} html.lf .tr-anim .pa{stroke:var(--lf-ink)} html.lf .tr-anim .dim{stroke:var(--lf-ink);opacity:.55}
html.lf .tr-anim .dot{fill:var(--lf-ink)}
html.lf .hx-scene .tr-anim{border-bottom:var(--lf-edge)}
/* caption bands in bold colour */
html.lf .hx-scene figcaption{padding:14px 18px!important;font-family:var(--lf-sub)!important;font-style:italic;font-size:1.2rem;font-weight:400;color:var(--lf-ink)!important}
html.lf .hx-scene figcaption b{display:block;font-family:var(--lf-head)!important;font-style:normal;font-stretch:125%;font-size:.62rem;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;font-weight:800;color:inherit!important;margin-bottom:2px}
html.lf .hx-gal .hx-scene:nth-child(1) figcaption{background:var(--lf-saffron)}
html.lf .hx-gal .hx-scene:nth-child(2) figcaption{background:var(--lf-blush)}
html.lf .hx-gal .hx-scene:nth-child(3) figcaption{background:var(--lf-purple);color:var(--lf-cream)!important}
html.lf .hx-gal .hx-scene:nth-child(4) figcaption{background:var(--lf-sky)}
html.lf .hx-gal .hx-scene:nth-child(5) figcaption{background:var(--lf-turq)}
html.lf .hx-gal .hx-scene:nth-child(6) figcaption{background:var(--lf-red);color:var(--lf-cream)!important}
/* Nature: Fibonacci mosaic */
html.lf .tr-anim[data-a=fib] rect.dim{opacity:1;stroke-width:1.5}
html.lf .tr-anim[data-a=fib] rect:nth-of-type(1),html.lf .tr-anim[data-a=fib] rect:nth-of-type(2){fill:var(--lf-red)}
html.lf .tr-anim[data-a=fib] rect:nth-of-type(3){fill:var(--lf-saffron)}
html.lf .tr-anim[data-a=fib] rect:nth-of-type(4){fill:var(--lf-blush)}
html.lf .tr-anim[data-a=fib] rect:nth-of-type(5){fill:var(--lf-turq)}
html.lf .tr-anim[data-a=fib] rect:nth-of-type(6){fill:var(--lf-cream)}
html.lf .tr-anim[data-a=fib] rect:nth-of-type(7){fill:var(--lf-purple)}
html.lf .tr-anim[data-a=fib] rect:nth-of-type(8){fill:var(--lf-sky)}
html.lf .tr-anim[data-a=fib] polyline.hi{stroke-width:2.4}
/* Life: helix on a blush band */
html.lf .tr-anim[data-a=dna]::before{left:-2px;right:-2px;top:30%;height:40%;background:var(--lf-blush);border-left:0;border-right:0}
html.lf .tr-anim[data-a=dna] line.dim{stroke:var(--lf-ink);opacity:.8!important;stroke-width:1.4}
html.lf .tr-anim[data-a=dna] .dot{fill:var(--lf-purple);stroke:var(--lf-ink);stroke-width:.6} html.lf .tr-anim[data-a=dna] .dot.pa{fill:var(--lf-turq)}
/* Sound: five strings, five colours, on purple */
html.lf .tr-anim[data-a=music]::before{left:6%;right:6%;top:9%;bottom:9%;background:var(--lf-purple);border-radius:4px}
html.lf .tr-anim[data-a=music] polyline{stroke-width:2.8!important}
html.lf .tr-anim[data-a=music] polyline:nth-of-type(1){stroke:var(--lf-turq)}
html.lf .tr-anim[data-a=music] polyline:nth-of-type(2){stroke:var(--lf-blush)}
html.lf .tr-anim[data-a=music] polyline:nth-of-type(3){stroke:var(--lf-saffron)}
html.lf .tr-anim[data-a=music] polyline:nth-of-type(4){stroke:var(--lf-sky)}
html.lf .tr-anim[data-a=music] polyline:nth-of-type(5){stroke:var(--lf-red)}
html.lf .tr-anim[data-a=music] .dot{fill:var(--lf-cream)}
/* Physics: two discs, rings in ink */
html.lf .tr-anim[data-a=waves]::before{left:22%;top:23%;width:31%;aspect-ratio:1;border-radius:50%;background:var(--lf-sky)}
html.lf .tr-anim[data-a=waves]::after{content:"";position:absolute;z-index:-1;left:47%;top:23%;width:31%;aspect-ratio:1;border-radius:50%;background:var(--lf-blush);border:var(--lf-edge);mix-blend-mode:multiply}
html.lf .tr-anim[data-a=waves] .ln{stroke-width:1.2}
/* Body: turquoise circle, blush square */
html.lf .tr-anim[data-a=body] circle.hi{fill:var(--lf-turq);stroke:var(--lf-ink)!important;opacity:1!important}
html.lf .tr-anim[data-a=body] rect.dim{fill:var(--lf-blush);opacity:1!important}
html.lf .tr-anim[data-a=body] .ln.pa{stroke-width:2.2}
html.lf .tr-anim[data-a=body] .dot{fill:var(--lf-red);stroke:var(--lf-ink)}
/* Art: snowflake on saffron */
html.lf .tr-anim[data-a=koch]::before{left:50%;top:53%;width:62%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:var(--lf-saffron)}
html.lf .tr-anim[data-a=koch] polyline{fill:var(--lf-cream)}
/* course drawings */
html.lf .tr-anim[data-a=flower]::before{left:50%;top:50%;width:64%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:var(--lf-saffron)}
html.lf .tr-anim[data-a=flower] .hi{stroke-width:1.6}
html.lf .tr-anim[data-a=nestSolid]::before{left:50%;top:50%;width:62%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:var(--lf-blush)}
html.lf .tr-anim[data-a=nestSolid] polygon{stroke:var(--lf-ink)!important;stroke-width:1.2!important}
html.lf .tr-anim[data-a=merkabaSolid]::before{display:none}
html.lf .tr-anim[data-a=merkabaSolid] circle.dim{fill:var(--lf-purple);opacity:1!important;stroke:var(--lf-ink)}
html.lf .tr-anim[data-a=merkabaSolid] polygon{stroke:var(--lf-ink)!important;stroke-opacity:1!important;stroke-width:1.3!important}

/* ---------- retreats band: purple ---------- */
html.lf .hx-band::after{background:linear-gradient(90deg,rgba(241,232,214,.97) 0%,rgba(241,232,214,.88) 45%,rgba(241,232,214,.15) 100%)!important}
html.lf .hx-band,html.lf .hx-band *{color:var(--lf-cream)}
html.lf .hx-band .hx-h2,html.lf .hx-band .hx-big,html.lf .hx-band h2,html.lf .hx-band .hx-kick{color:var(--lf-cream)!important}
html.lf .hx-band .hx-lead,html.lf .hx-band p{color:rgba(21,17,31,.88)!important}
html.lf .hx-band a.hx-link,html.lf .hx-main .hx-band a.hx-link{color:var(--lf-saffron)!important}
html.lf .hx-band .hx-btn{box-shadow:3px 3px 0 #000!important}
@media (max-width:700px){html.lf .hx-band::after{background:linear-gradient(180deg,rgba(241,232,214,.5) 0%,rgba(241,232,214,.94) 45%,rgba(241,232,214,.98) 100%)!important}}

/* ---------- Dr. Be ---------- */
html.lf .hx-be-photo{box-shadow:10px 10px 0 var(--lf-saffron),10px 10px 0 1.5px var(--lf-ink)!important}

/* ---------- closing: purple ---------- */
html.lf #hx-close{background:var(--lf-purple)!important;border-top:var(--lf-edge)}
html.lf #hx-close .hx-big,html.lf #hx-close .hx-h2{color:var(--lf-cream)!important}
html.lf #hx-close .hx-lead{color:rgba(21,17,31,.86)!important}
html.lf #hx-close .hx-close-draw{background:var(--lf-turq)!important;border:var(--lf-edge);box-shadow:6px 6px 0 #000;overflow:hidden;color:var(--lf-ink)}
html.lf #hx-close .hx-btn{box-shadow:3px 3px 0 #000!important}
html.lf #hx-close .hx-btn--ghost{background:transparent!important;color:var(--lf-cream)!important;border-color:var(--lf-cream)!important}

/* ---------- footer: papyrus, title block lines, logo as before ---------- */
html.lf #site-footer{background:var(--lf-cream)!important;color:var(--lf-ink)!important;border-top:var(--lf-edge)!important;position:relative;z-index:1}
html.lf #site-footer a,html.lf #site-footer p,html.lf #site-footer li,html.lf #site-footer span{color:var(--lf-ink2)!important}
html.lf #site-footer a:hover{color:var(--lf-teal)!important}
html.lf #site-footer .footer-logo,html.lf #site-footer .footer-logo *{font-family:'Cormorant Garamond',Georgia,serif!important;text-transform:none!important;letter-spacing:normal!important;color:var(--lf-ink)!important}
html.lf #site-footer .footer-logo span{font-size:1.4rem!important;font-weight:600}
html.lf #site-footer .footer-logo img{filter:none!important}
html.lf #site-footer .footer-col + .footer-col{border-left:1px solid var(--lf-hair);padding-left:28px}
html.lf #site-footer input{background:transparent!important;border:var(--lf-edge)!important;color:var(--lf-ink)!important;border-radius:999px}
html.lf #site-footer button{background:var(--lf-turq)!important;color:var(--lf-ink)!important;border:var(--lf-edge)!important;border-radius:999px;box-shadow:3px 3px 0 var(--lf-ink)}
html.lf #site-footer .footer-socials a{border:var(--lf-edge)!important;color:var(--lf-ink)!important;background:transparent!important}
html.lf #site-footer .footer-bottom{border-top:var(--lf-edge)!important}
html.lf #site-footer .footer-bottom::before{content:"";display:block;width:86px;height:10px;margin:0 auto 14px;
  background:radial-gradient(circle 5px at 5px 5px,var(--lf-tetra) 98%,transparent),radial-gradient(circle 5px at 24px 5px,var(--lf-cube) 98%,transparent),
  radial-gradient(circle 5px at 43px 5px,var(--lf-octa) 98%,transparent),radial-gradient(circle 5px at 62px 5px,var(--lf-dodeca) 98%,transparent),
  radial-gradient(circle 5px at 81px 5px,var(--lf-icosa) 98%,transparent)}
@media (max-width:900px){html.lf #site-footer .footer-col + .footer-col{border-left:0;padding-left:0}}

html.lf .lf-ribbon{background:var(--lf-saffron)!important;color:var(--lf-ink)!important;font-family:var(--lf-head)!important;font-stretch:118%;font-weight:800;font-size:.64rem!important;letter-spacing:.14em!important;border:var(--lf-edge);box-shadow:3px 3px 0 var(--lf-ink)!important}

/* =====================================================================
   MOTION (with /lf-motion.js): things glide in as you scroll, shapes move at their own depth,
   the course path becomes a guided walk. Nothing moves for visitors who ask for less motion.
   ===================================================================== */
html.lf .hx-main .fade-in{opacity:0;transform:translateY(64px) scale(.965);transition:opacity .9s var(--lf-ease),transform 1.15s var(--lf-ease)!important;transition-delay:calc(var(--lf-i,0) * 90ms)!important}
html.lf .hx-main .fade-in.visible{opacity:1;transform:none}
html.lf [data-lf-speed]{will-change:translate}
/* hero: the shapes arrive one after another */
@keyframes lfPop{from{opacity:0;transform:scale(.4) rotate(-12deg)}to{opacity:1;transform:none}}
@keyframes lfDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
html.lf.lf-go .lf-art > *{animation:lfPop 1.1s var(--lf-ease) both}
html.lf.lf-go .lf-art .hero-media{animation-delay:.05s}
html.lf.lf-go .lf-art .lf-disc{animation-delay:.25s}
html.lf.lf-go .lf-art .lf-ico{animation-delay:.45s}
html.lf.lf-go .lf-art .lf-half{animation-delay:.6s}
html.lf.lf-go .lf-art .lf-dot{animation-delay:.75s}
html.lf.lf-go .lf-art .lf-lines{animation:none}
html.lf.lf-go .lf-art .lf-lines *{stroke-dasharray:1;animation:lfDraw 1.8s var(--lf-ease) .3s both}
/* the path as a guided walk (laptops): drawing stays, cards pass by */
html.lf .lf-story{display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-top:40px}
html.lf .lf-stage{position:sticky;top:calc(50vh - 230px);height:460px}
html.lf .lf-stage .hx-pscene{position:absolute;inset:0;opacity:0;transform:scale(.92) rotate(-2deg);transition:opacity .7s var(--lf-ease),transform .9s var(--lf-ease)!important;pointer-events:none}
html.lf .lf-stage .hx-pscene.lf-on{opacity:1;transform:none;pointer-events:auto}
html.lf .lf-stage .hx-pscene .tr-anim{height:100%;aspect-ratio:auto}
html.lf .lf-pips{position:absolute;left:0;right:0;bottom:-44px;display:flex;justify-content:center;gap:10px}
html.lf .lf-pips i{width:12px;height:12px;border-radius:50%;border:var(--lf-edge);background:var(--lf-cream);transition:background .3s,transform .3s}
html.lf .lf-pips i.on{transform:scale(1.25)}
html.lf .lf-pips i.on:nth-child(1){background:var(--lf-turq)} html.lf .lf-pips i.on:nth-child(2){background:var(--lf-saffron)}
html.lf .lf-pips i.on:nth-child(3){background:var(--lf-blush)} html.lf .lf-pips i.on:nth-child(4){background:var(--lf-purple)}
html.lf .lf-steps{display:flex;flex-direction:column}
html.lf .lf-step{min-height:72vh;display:flex;align-items:center}
html.lf .lf-step .hx-card{width:100%;opacity:.35;transform:translateX(30px);transition:opacity .6s var(--lf-ease),transform .8s var(--lf-ease),box-shadow .35s!important}
html.lf .lf-step.lf-on .hx-card{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html.lf .hx-main .fade-in{opacity:1!important;transform:none!important;transition:none!important}
  html.lf.lf-go .lf-art > *,html.lf.lf-go .lf-art .lf-lines *{animation:none!important}
  html.lf .lf-step .hx-card{opacity:1;transform:none}
}
html.lf .hx-lead,html.lf #hero.hero2 .hero-story,html.lf .hx-quote-text,html.lf .hx-path-foot,html.lf .hx-scene figcaption{font-style:italic!important}
html.lf .hx-scene figcaption b{font-style:normal!important}
html.lf .lf-step{min-height:62vh}

/* --- round 5 (19 Nov): the logo lives in the top menu only; the hero opens with a quiet label;
       the photo circle shows each photo centred; the construction lines join the centres of the three shapes --- */
html.lf #hero.hero2 .hero-logo,html.lf #hero.hero2 .hero-brand{display:none!important}
html.lf #hero.hero2 .lf-kick{order:-1;margin:0 0 20px;font-family:var(--lf-head);font-stretch:125%;font-weight:800;font-size:.7rem;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink)}
html.lf #hero.hero2 .lf-kick::before{content:"";display:inline-block;width:9px;height:9px;margin:0 10px 1px 0;vertical-align:middle;border-radius:50%;background:var(--lf-red);border:1px solid var(--lf-ink)}
@media (max-width:768px){html.lf #nav .nav-logo,html.lf #nav:not(.scrolled) .nav-logo{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  html.lf #nav .nav-logo{font-size:23px!important}}
html.lf #hero.hero2 .hero-slide{background-size:cover}
html.lf .lf-marks{z-index:5}
html.lf .lf-marks text{font-size:13px}
html.lf .lf-lines{z-index:0} html.lf .lf-disc,html.lf .lf-half{z-index:1} html.lf .lf-marks,html.lf .lf-dot{z-index:5}
html.lf .lf-dot{right:2%;bottom:3%}

/* =====================================================================
   ROUND 6 (19 Nov, Heike): "the top is clean — no menu yet, the geometry comes in, then the Da Vinci School logo
   appears with the main headline; scroll further and the menu shows · check every colour follows the brand
   (Teacher Training) · things load late · solid buttons, use more colour · numbers: phi, pi, diameter…"
   ===================================================================== */
/* --- the opening: menu + top bar wait off-screen until you scroll --- */
html.lf #nav,html.lf #topbar{transition:transform .6s var(--lf-ease),opacity .4s!important}
html.lf.lf-top #nav,html.lf.lf-top #topbar{transform:translateY(-140%)!important;opacity:0;pointer-events:none}
html.lf #hero.hero2{padding-top:72px!important;min-height:100svh}
html.lf #hero.hero2 .hero-logo{display:block!important;order:-2;width:72px!important;margin:0 0 12px!important}
html.lf #hero.hero2 .hero-brand{display:block!important;order:-1;font-family:'Cormorant Garamond',Georgia,serif!important;font-size:2.5rem!important;font-weight:500;
  text-transform:none;letter-spacing:.01em;color:var(--lf-ink)!important;text-shadow:none;margin:0 0 24px!important}
@media (max-width:900px){html.lf #hero.hero2{padding-top:40px!important}
  html.lf #hero.hero2 .hero-logo{width:56px!important} html.lf #hero.hero2 .hero-brand{font-size:2rem!important}}
/* geometry first, then the words rise in */
@keyframes lfRise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
html.lf.lf-go #hero.hero2 .hero-copy > *{animation:lfRise .9s var(--lf-ease) both}
html.lf.lf-go #hero.hero2 .hero-logo{animation-delay:1s!important}
html.lf.lf-go #hero.hero2 .hero-brand{animation-delay:1.12s!important}
html.lf.lf-go #hero.hero2 .hero-promise{animation-delay:1.3s!important}
html.lf.lf-go #hero.hero2 .hero-story{animation-delay:1.45s!important}
html.lf.lf-go #hero.hero2 .hero-ctas{animation-delay:1.6s!important}
html.lf #hero.hero2 .hero-copy > .fade-in{opacity:1;transform:none}
/* a small cue to scroll */
html.lf .lf-cue{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;
  font:italic 400 1rem var(--lf-sub);color:var(--lf-ink2);z-index:5;transition:opacity .4s}
html.lf .lf-cue i{width:1.5px;height:38px;background:var(--lf-ink);transform-origin:top;animation:lfCue 2.2s var(--lf-ease) infinite}
@keyframes lfCue{0%{transform:scaleY(0)}50%{transform:scaleY(1)}100%{transform:scaleY(1);opacity:0}}
html.lf:not(.lf-top) .lf-cue{opacity:0}

/* --- colours: every card + label follows the palette --- */
html.lf .hx-card h3{color:inherit!important}
html.lf .lf-c4,html.lf .lf-c4 *,html.lf .hx-prow:nth-of-type(4) .hx-card,html.lf .hx-prow:nth-of-type(4) .hx-card *{color:var(--lf-cream)!important}
html.lf .hx-door:nth-child(4) .hx-door-title{color:var(--lf-cream)!important}
html.lf .hx-num{color:inherit!important;opacity:.85}

/* --- solid buttons everywhere: no more outlines on all that white space --- */
html.lf .btn--on-dark,html.lf .hx-btn--ghost,html.lf #hero.hero2 .hero-cta2{background:var(--lf-saffron)!important;color:var(--lf-ink)!important}
html.lf .btn--filled,html.lf .hx-btn--fill,html.lf #hero.hero2 .hero-cta1{background:var(--lf-turq)!important;color:var(--lf-ink)!important}
html.lf #hx-voices .hx-btn{background:var(--lf-blush)!important}
html.lf #hx-be .hx-btn{background:var(--lf-turq)!important}
html.lf #hx-close .hx-btn--ghost{background:var(--lf-saffron)!important;color:var(--lf-ink)!important;border-color:var(--lf-ink)!important}
html.lf #hx-close .hx-btn--fill{background:var(--lf-turq)!important;color:var(--lf-ink)!important}
/* links inside the coloured cards become small solid ink pills */
html.lf .hx-door-go,html.lf .hx-card .hx-link{display:inline-block;margin-top:12px;padding:9px 16px;border-radius:999px;background:var(--lf-ink)!important;color:var(--lf-cream)!important;
  text-decoration:none!important;font-family:var(--lf-head)!important;font-stretch:112%;font-size:.7rem!important;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;font-weight:800}
html.lf .hx-door:nth-child(4) .hx-door-go,html.lf .lf-c4 .hx-link,html.lf .hx-prow:nth-of-type(4) .hx-link{background:var(--lf-cream)!important;color:var(--lf-ink)!important}

/* --- numbers in the margins, like a page from Leonardo's notebook: each one belongs to its section --- */
html.lf .hx-sec[data-lf-note]::after{content:attr(data-lf-note);position:absolute;top:44px;right:max(24px,calc((100vw - 1180px)/2));z-index:0;
  font:italic 400 1.15rem var(--lf-sub);color:var(--lf-ink2);padding-left:44px;
  background:linear-gradient(var(--lf-ink),var(--lf-ink)) left center/34px 1px no-repeat;opacity:.85}
@media (max-width:700px){html.lf .hx-sec[data-lf-note]::after{top:22px;font-size:1rem}}

/* --- quicker reveals: things are there as soon as they enter --- */
html.lf .hx-main .fade-in{transition:opacity .7s var(--lf-ease),transform .9s var(--lf-ease)!important;transition-delay:calc(var(--lf-i,0) * 70ms)!important}
html.lf .lf-cue{font-family:var(--lf-sub)!important;font-style:italic}

/* =====================================================================
   ROUND 7 (19 Nov, Heike): "one fixed view, you scroll and things fly in — people follow a story" ·
   "dark only for lines (and frame shadows); no black buttons — clean colours here and there"
   ===================================================================== */
html.lf .lf-pinwrap{position:relative}
html.lf .lf-pinned{position:sticky!important}
html.lf .lf-fly{transition:none!important;will-change:transform,opacity}
html.lf .lf-pinned .hx-door.lf-fly:hover,html.lf .lf-pinned .hx-scene.lf-fly:hover{box-shadow:var(--lf-shadow-up)!important}
html.lf #hx-moments.lf-pinned .hx-row{scroll-behavior:auto!important}
/* no black fills: the pills in the cards become cream paper with an ink edge; on purple they turn saffron */
html.lf .hx-door-go,html.lf .hx-card .hx-link{background:var(--lf-cream)!important;color:var(--lf-ink)!important;border:var(--lf-edge);box-shadow:3px 3px 0 var(--lf-ink)}
html.lf .hx-door:nth-child(4) .hx-door-go,html.lf .lf-c4 .hx-link,html.lf .hx-prow:nth-of-type(4) .hx-link{background:var(--lf-saffron)!important;color:var(--lf-ink)!important}
html.lf .hx-door:nth-child(1) .hx-door-go{background:var(--lf-saffron)!important}
html.lf .hx-door:nth-child(2) .hx-door-go{background:var(--lf-turq)!important}
html.lf .hx-door:nth-child(3) .hx-door-go{background:var(--lf-cream)!important}
html.lf .lf-c1 .hx-link{background:var(--lf-saffron)!important} html.lf .lf-c2 .hx-link{background:var(--lf-turq)!important}
html.lf .lf-c3 .hx-link{background:var(--lf-cream)!important}
html.lf .hx-band .hx-btn,html.lf #hx-close .hx-btn{box-shadow:3px 3px 0 var(--lf-ink)!important}
html.lf #hx-close .hx-close-draw{box-shadow:6px 6px 0 var(--lf-ink)}
html.lf .lf-galrow .hx-wrap{overflow:visible}
html.lf .lf-galrow .hx-gal{display:flex!important;gap:30px;width:max-content;padding:10px 14px 18px 0;will-change:transform}
html.lf .lf-galrow .hx-gal .hx-scene{width:380px;flex:none;opacity:1!important;transform:none!important}
html.lf .lf-galrow{overflow:clip}

/* =====================================================================
   ROUND 8 (19 Nov, Heike): "lose the half circle — a hexagon or pentagon instead; the Flower of Life at the
   beginning, centred, the geometries flying in while the real photos change · fly in from the centre, left,
   right, top · make the page cleaner and more workable for the theme"
   ===================================================================== */
/* --- hero drawing: the Flower of Life in the centre, the photo in its heart, five shapes around it --- */
html.lf .lf-half{display:none!important}
html.lf .lf-flower{position:absolute;inset:0;width:100%;height:100%;z-index:0;overflow:visible}
html.lf .lf-flower *{stroke-width:1;vector-effect:non-scaling-stroke;stroke-opacity:.75}
html.lf .lf-flower .lf-outer{stroke-width:1.5;stroke-opacity:1}
html.lf #hero.hero2 .lf-art .hero-media{left:24%;top:24%;width:52%;z-index:3}
html.lf .lf-disc{left:67%;right:auto;top:4%;width:29%;z-index:2}
html.lf .lf-poly{z-index:2;display:block}
html.lf .lf-poly svg{width:100%;height:100%;overflow:visible;display:block;filter:drop-shadow(4px 4px 0 var(--lf-ink))}
html.lf .lf-poly polygon{stroke:var(--lf-ink);stroke-width:2.2;stroke-linejoin:round}
html.lf .lf-pent{left:3%;top:5%;width:21%;aspect-ratio:1} html.lf .lf-pent polygon{fill:var(--lf-blush)}
html.lf .lf-hex{left:4%;top:66%;width:25%;aspect-ratio:1} html.lf .lf-hex polygon{fill:var(--lf-saffron)}
html.lf .lf-ico{left:59%;top:57%;width:37%;z-index:4}
html.lf .lf-dot{left:90%;right:auto;top:44%;bottom:auto;width:5%;z-index:5}
html.lf .lf-marks{z-index:5}
/* the opening: the flower draws itself, the photo grows from its heart, the shapes fly in from their own sides */
@keyframes lfDrawC{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes lfFly{from{opacity:0;transform:translate(var(--fx,0),var(--fy,0)) rotate(var(--fr,0deg)) scale(var(--fs,.6))}to{opacity:1;transform:none}}
html.lf.lf-go .lf-art > *{animation:lfFly 1.2s var(--lf-ease) both}
html.lf.lf-go .lf-art .lf-flower{animation:none}
html.lf.lf-go .lf-flower *{stroke-dasharray:1;animation:lfDrawC 1.1s var(--lf-ease) both;animation-delay:var(--d,0s)}
html.lf.lf-go .lf-art .hero-media{--fs:.15;animation-delay:.5s}
html.lf.lf-go .lf-art .lf-disc{--fx:160px;--fy:-160px;--fr:30deg;animation-delay:1s}
html.lf.lf-go .lf-art .lf-pent{--fx:-160px;--fy:-140px;--fr:-70deg;animation-delay:1.15s}
html.lf.lf-go .lf-art .lf-ico{--fx:180px;--fy:180px;--fr:40deg;animation-delay:1.3s}
html.lf.lf-go .lf-art .lf-hex{--fx:-180px;--fy:160px;--fr:60deg;animation-delay:1.45s}
html.lf.lf-go .lf-art .lf-dot{--fx:220px;--fy:0px;--fs:.2;animation-delay:1.6s}
html.lf.lf-go .lf-art .lf-marks{--fs:1;animation-delay:1.8s}
html.lf.lf-go #hero.hero2 .hero-logo{animation-delay:1.7s!important}
html.lf.lf-go #hero.hero2 .hero-brand{animation-delay:1.8s!important}
html.lf.lf-go #hero.hero2 .hero-promise{animation-delay:1.95s!important}
html.lf.lf-go #hero.hero2 .hero-story{animation-delay:2.1s!important}
html.lf.lf-go #hero.hero2 .hero-ctas{animation-delay:2.25s!important}

/* --- retreats: no more dark full-width photo — cream page, the landscape as a framed paper photo --- */
html.lf .hx-band{min-height:0!important;padding:20px 0}
html.lf .hx-band::after{display:none!important}
html.lf .hx-band,html.lf .hx-band *{color:var(--lf-ink)}
html.lf .hx-band .hx-h2,html.lf .hx-band .hx-kick{color:var(--lf-ink)!important}
html.lf .hx-band .hx-lead,html.lf .hx-band p{color:var(--lf-ink2)!important}
html.lf .hx-band a.hx-link,html.lf .hx-main .hx-band a.hx-link{color:var(--lf-ink)!important}
html.lf .hx-band-bg{left:auto!important;right:max(40px,calc((100vw - 1180px)/2))!important;top:110px!important;height:min(560px,70%)!important;width:min(470px,38vw)!important;
  border:var(--lf-edge);border-radius:6px;box-shadow:10px 10px 0 var(--lf-turq),10px 10px 0 1.5px var(--lf-ink);overflow:hidden;z-index:1}
html.lf .hx-band .hx-wrap{z-index:2}
html.lf .hx-band-copy{max-width:600px;padding:60px 0!important}
html.lf .hx-retpics figcaption{color:#15111F!important}
@media (max-width:900px){
  html.lf .hx-band-bg{position:relative!important;right:auto!important;top:auto!important;left:auto!important;width:auto!important;height:240px!important;margin:30px 22px 0;transform:none!important}
  html.lf .hx-band-copy{padding:20px 0 40px!important}
}

/* =====================================================================
   ROUND 9 (19 Nov, Heike): "the Da Vinci School logo could be more striking — a big brand reveal"
   The brand block: Vitruvian mark, the name letter by letter, a motto between two drawn rules.
   Laptops: the opening is ONE held scene — drawing big in the centre, the name revealed large beneath it;
   scrolling glides the drawing left, the name settles into place, the headline + buttons fly in (lf-motion.js).
   ===================================================================== */
html.lf #hero.hero2 .lf-brand{order:-1;display:flex;flex-direction:column;align-items:flex-start;margin:0 0 26px;transform-origin:center center;will-change:transform}
html.lf #hero.hero2 .lf-brand .hero-logo{order:0;width:66px!important;margin:0 0 6px!important;animation:none!important;opacity:1}
html.lf #hero.hero2 .lf-brand .hero-brand{display:block!important;order:0;margin:0!important;font-size:2.7rem!important;line-height:1.05;white-space:nowrap;animation:none!important;opacity:1;transform:none}
html.lf .lf-motto{display:flex;align-items:center;gap:12px;margin:10px 0 0;font-family:var(--lf-head);font-stretch:125%;font-weight:800;font-size:.62rem;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink)}
html.lf .lf-motto i{display:block;height:1.5px;width:34px;background:var(--lf-ink);transform-origin:left}
html.lf .lf-motto i:first-child{display:none}
/* the reveal: mark fades up, letters rise one by one, the rules draw, the motto appears */
@keyframes lfCh{from{opacity:0;transform:translateY(.55em) rotate(6deg)}to{opacity:1;transform:none}}
@keyframes lfFade{from{opacity:0;transform:translateY(14px) scale(.9)}to{opacity:1;transform:none}}
@keyframes lfRule{from{transform:scaleX(0)}to{transform:scaleX(1)}}
html.lf .lf-ch{display:inline-block}
html.lf.lf-go .lf-brand .hero-logo{animation:lfFade 1s var(--lf-ease) 1.7s both!important}
html.lf.lf-go .lf-ch{animation:lfCh .8s var(--lf-ease) both;animation-delay:calc(1.9s + var(--i) * 45ms)}
html.lf.lf-go .lf-motto{animation:lfFade .8s var(--lf-ease) 2.55s both}
html.lf.lf-go .lf-motto i{animation:lfRule .9s var(--lf-ease) 2.6s both}
html.lf.lf-go #hero.hero2 .hero-copy > .lf-brand{animation:none!important}
/* laptops: the held opening scene */
html.lf.lf-heromode #hero.hero2{position:sticky!important;top:0;height:100vh!important;min-height:0!important}
html.lf.lf-heromode #hero.hero2 .lf-brand{align-items:center;text-align:center}
html.lf.lf-heromode .lf-motto i:first-child{display:block;transform-origin:right}
html.lf.lf-heromode.lf-go #hero.hero2 .hero-promise,html.lf.lf-heromode.lf-go #hero.hero2 .hero-story,html.lf.lf-heromode.lf-go #hero.hero2 .hero-ctas{animation:none!important}
html.lf.lf-heromode #hero.hero2 .lf-art{will-change:transform}
@media (prefers-reduced-motion:reduce){html.lf .lf-ch,html.lf .lf-motto,html.lf .lf-motto i,html.lf .lf-brand .hero-logo{animation:none!important}}
html.lf #hero.hero2 .hero-brand .lf-ch{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:500}
html.lf #hero.hero2 .lf-brand{width:max-content;max-width:100%;align-items:center;text-align:center}
html.lf #hero.hero2 .lf-motto i:first-child{display:block;transform-origin:right}
html.lf #hero.hero2 .lf-brand .hero-brand{font-size:3rem!important;letter-spacing:.005em}
html.lf.lf-heromode .lf-cue{left:auto;right:44px;transform:none}
@media (max-width:900px){html.lf #hero.hero2 .lf-brand{align-self:center} html.lf #hero.hero2 .lf-brand .hero-brand{font-size:2.6rem!important}}
html.lf #hero.hero2 .lf-art .hero-media{background:var(--lf-cream)}
@media (max-width:999px){html.lf .lf-cue{display:none}}

/* --- self-review round (19 Nov): one family of fonts everywhere, a real drawing in the closing circle --- */
html.lf body :is(p,a,li,span,div,figcaption,small,label,input,button,h3,h4){font-family:var(--lf-body)!important}
html.lf #hx-close .hx-close-draw{background:var(--lf-turq)!important;display:grid;place-items:center}
html.lf #hx-close .hx-close-draw::before,html.lf #hx-close .hx-close-draw::after{display:none!important}
html.lf .lf-seed{width:86%;height:86%;transform:none!important;overflow:visible}
html.lf .lf-seed circle{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.2s var(--lf-ease);transition-delay:var(--d)}
html.lf .hx-close-draw.visible .lf-seed circle,html.lf .hx-close-draw.lf-fly .lf-seed circle{stroke-dashoffset:0}

/* --- round 10 (Heike, phone): course cards by step everywhere; colourful wave bands; DNA base pairs; no white Fibonacci square --- */
html.lf .hx-card.lf-c1{background:var(--lf-turq)!important;color:var(--lf-ink)!important}
html.lf .hx-card.lf-c2{background:var(--lf-saffron)!important;color:var(--lf-ink)!important}
html.lf .hx-card.lf-c3{background:var(--lf-blush)!important;color:var(--lf-ink)!important}
html.lf .hx-card.lf-c4{background:var(--lf-purple)!important;color:var(--lf-cream)!important}
html.lf .hx-card.lf-c4 *{color:var(--lf-cream)!important}
html.lf .hx-card.lf-c1 *,html.lf .hx-card.lf-c2 *,html.lf .hx-card.lf-c3 *{color:var(--lf-ink)!important}
html.lf .hx-card.lf-c4 .hx-link{color:var(--lf-ink)!important}
/* two waves: each source sends out bands of colour */
html.lf .tr-anim[data-a=waves] circle.ln{stroke-width:3.2!important}
html.lf .tr-anim[data-a=waves] circle.hi:nth-of-type(3n+1){stroke:var(--lf-teal)}
html.lf .tr-anim[data-a=waves] circle.hi:nth-of-type(3n+2){stroke:var(--lf-dodeca)}
html.lf .tr-anim[data-a=waves] circle.hi:nth-of-type(3n){stroke:var(--lf-icosa)}
html.lf .tr-anim[data-a=waves] circle.pa:nth-of-type(3n+1){stroke:var(--lf-red)}
html.lf .tr-anim[data-a=waves] circle.pa:nth-of-type(3n+2){stroke:var(--lf-saffron)}
html.lf .tr-anim[data-a=waves] circle.pa:nth-of-type(3n){stroke:var(--lf-blush)}
html.lf .tr-anim[data-a=waves]::before,html.lf .tr-anim[data-a=waves]::after{opacity:.45}
/* DNA: thicker rungs so the pairs read */
html.lf .tr-anim[data-a=dna] line{stroke-width:4!important;opacity:1!important;stroke-linecap:round}
/* Fibonacci: every square coloured */
html.lf .tr-anim[data-a=fib] rect:nth-of-type(6){fill:var(--lf-cube)}
/* three.js solid (lf-solid3d.js) sits exactly where the drawn icosahedron was */
html.lf .lf-ico3d{position:absolute;left:59%;top:57%;z-index:4;filter:drop-shadow(5px 5px 0 var(--lf-ink));pointer-events:none}
@media (max-width:900px){html.lf .lf-ico3d{left:59%;top:57%}}
html.lf .tr-anim[data-a=waves] circle.ln{stroke-width:5!important}
html.lf .lf-ico3d{left:57%!important;top:55%!important}
html.lf.lf-go .lf-art .lf-ico3d{--fx:180px;--fy:180px;--fr:40deg;animation-delay:1.3s}

/* the phone menu opens full screen (20 Nov 2026, Heike: "I cannot tap the menu"): the blur on #nav made a box that trapped
   the fixed menu inside the 68 px bar → no blur while it is open; cream sheet, ink links */
@media (max-width:1024px){
  html.lf #nav.menu-open{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  html.lf .nav-links{background:#15111F!important}
  html.lf .nav-links a{color:#F1E8D6!important;border-bottom-color:rgba(241,232,214,.14)!important}
}
/* log-in button: always dark words on the turquoise (light and dark pages) */
@media (max-width:1024px){html.lf #nav .nav-links a.nav-login,html.lf #nav .nav-links a.nav-login *{color:rgb(21,17,31)!important}}
