/* Section 1 — hero (#top). "La prépa au diplôme, servie sur un plateau."
   Signature: a line-drawn silver & brass cloche lifts off a plate (spring keyframes) to reveal a phone that rises
   from the plate showing an HTML/CSS miniature of the app's home screen. Steam wisps, a brass glint, pointer
   parallax (5 depths) and a scroll-linked lift. Every class is prefixed .hero-, every rule scoped to #top.
   Base styles = the revealed (final) state; the keyframes start from the closed state ("fill: both"), so reduced
   motion, no-JS and old browsers simply show the dish already served. */

#top { --hero-d: .7s; overflow: hidden; overflow: clip; padding: calc(76px + 28px) 0 56px; }
#top .hero-wash { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 42% at 50% 78%, rgba(201, 164, 92, .16), rgba(247, 233, 236, .32) 46%, rgba(251, 248, 244, 0) 76%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 60%, var(--paper-2) 100%); }
#top .hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }

/* ------------------------------------------------------------------ copy */
#top .hero-copy { max-width: 640px; }
#top .hero-title { font-size: clamp(44px, 6.3vw, 94px); margin: 0 0 clamp(20px, 2.4vw, 30px); }
#top .hero-ln { display: block; overflow: hidden; padding: 0 .06em .12em; margin: 0 -.06em -.12em; }
#top .hero-ln > span { display: block; animation: hero-up 1.15s var(--ease-out) .1s both; }
#top .hero-ln + .hero-ln > span { animation-delay: .24s; }
#top .hero-lead { max-width: 31em; }
#top .hero-fade { animation: hero-fade 1s var(--ease-out) var(--hd, 0s) both; }

#top .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.2vw, 40px); }
#top .hero-ctas .btn { flex: 1 1 auto; }
#top .hero-cta svg { transition: transform .35s var(--ease-out); }
#top .hero-cta:hover svg { transform: translateX(4px); }
#top .hero-soon { color: var(--ink); }
#top .hero-soon:hover { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
#top .hero-soon svg { color: var(--brass); }
#top .hero-soon-note { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: 15.5px; line-height: 1.45; color: var(--brass); max-width: 32em; }
#top .hero-soon-note:empty { margin: 0; }
#top .hero-soon-note.hero-show { animation: hero-fade .5s var(--ease-out) both; }

#top .hero-facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#top .hero-facts .pill { background: rgba(255, 255, 255, .72); font-weight: 550; color: var(--ink); gap: 6px; }
#top .hero-facts .num { font-size: 17px; font-weight: 500; color: var(--wine); letter-spacing: -.01em; }
#top .hero-off-ic { width: 16px; height: 16px; color: var(--brass); }

/* ------------------------------------------------------------------ stage (all layers share one 560 × 860 grid) */
#top .hero-fig { margin: 0; }
#top .hero-stage { --px: 0; --py: 0; --sc: 0; position: relative; width: min(100%, 300px); aspect-ratio: 560 / 860; margin: 0 auto; container-type: inline-size; }
#top .hero-stage::before { content: ""; position: absolute; left: -22%; right: -22%; top: 18%; bottom: -6%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201, 164, 92, .24), rgba(247, 233, 236, .38) 55%, rgba(251, 248, 244, 0)); }
#top .hero-l { --dep: 0px; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  transform: translate3d(calc(var(--px) * var(--dep)), calc(var(--py) * var(--dep)), 0); }
#top .hero-l-halo { --dep: -4px; transform-origin: 50% 65.1%; }
#top .hero-l-plate { --dep: 2.5px; }
#top .hero-l-steam { --dep: 5px; }
#top .hero-l-phone { --dep: 7px; }
#top .hero-l-cloche { --dep: 12px; transform-origin: 50% 90.93%; }
/* scroll-linked lift (--sc) only on desktop, where the stage sits beside the copy and cannot overlap it */
@media (min-width: 900px) {
  #top .hero-l-halo { transform: translate3d(calc(var(--px) * var(--dep)), calc(var(--py) * var(--dep)), 0) rotate(calc(var(--sc) * 36deg)); }
  #top .hero-l-phone { transform: translate3d(calc(var(--px) * var(--dep)), calc(var(--py) * var(--dep) + var(--sc) * -3%), 0); }
  #top .hero-l-cloche { transform: translate3d(calc(var(--px) * var(--dep)), calc(var(--py) * var(--dep)), 0) translateY(calc(var(--sc) * -34%)) rotate(calc(var(--sc) * 8deg)); }
}
/* tablets: give the signature dish more presence under the copy */
@media (min-width: 600px) and (max-width: 899px) { #top .hero-stage { width: min(100%, 400px); } }
#top .hero-l-cloche, #top .hero-l-phone, #top .hero-cloche, #top .hero-phone { will-change: transform; }

/* halo */
#top .hero-l-halo circle { fill: none; stroke: var(--brass-deco); }
#top .hero-halo-a { stroke-width: 1; stroke-dasharray: 2 7; opacity: .4; }
#top .hero-halo-t { stroke-width: 22; stroke-dasharray: 1.2 16.86; opacity: .26; }
#top .hero-halo-b { stroke-width: 1; opacity: .45; }

/* plate */
#top .hero-plate-edge { fill: var(--linen); stroke: var(--brass-deco); stroke-width: 1.2; }
#top .hero-plate-top { stroke: var(--brass-deco); stroke-width: 1.5; }
#top .hero-plate-beads { fill: none; stroke: var(--brass-deco); stroke-width: 2.4; stroke-dasharray: .1 9; stroke-linecap: round; opacity: .75; }
#top .hero-plate-hair { fill: none; stroke: var(--brass-deco); stroke-width: .8; opacity: .55; }
#top .hero-plate-well { stroke: var(--brass-deco); stroke-width: 1; opacity: .95; }
#top .hero-plate-shine { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .9; }
#top .hero-cshadow { opacity: 0; }
#top .hero-pshadow { opacity: 1; }

/* steam */
#top .hero-wisp { fill: none; stroke: var(--brass-deco); stroke-width: 1.6; stroke-linecap: round; opacity: .3; }

/* cloche */
#top .hero-cloche { position: absolute; inset: 0; transform-origin: 50% 90.93%; transform: translate(1.8%, -59%) rotate(9deg); }
#top .hero-cloche svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 22px rgba(60, 30, 20, .12)); }
#top .hero-dome { stroke: none; }
#top .hero-dome-line { fill: none; stroke: var(--brass-deco); stroke-width: 1.7; stroke-linecap: round; }
#top .hero-band { fill: none; stroke: var(--brass-deco); stroke-width: 1; opacity: .75; }
#top .hero-band-2 { stroke-width: .7; opacity: .45; }
#top .hero-hl { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; opacity: .85; }
#top .hero-hl-2 { stroke-width: 4; opacity: .55; }
#top .hero-hl-hair { fill: none; stroke: var(--brass-deco); stroke-width: .8; stroke-linecap: round; opacity: .55; }
#top .hero-fleuron { fill: none; stroke: var(--brass-deco); stroke-width: 1; stroke-linecap: round; opacity: .85; }
#top .hero-fleuron circle { fill: var(--brass-deco); stroke: none; }
#top .hero-brim { stroke: var(--brass); stroke-width: .8; }
#top .hero-knob-m { stroke: var(--brass); stroke-width: .7; }
#top .hero-knob-hl { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; opacity: .85; }
#top .hero-glint { transform: translateX(820px); }

#top .hero-cap { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0 0; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--brass); text-align: center; }
#top .hero-cap::before, #top .hero-cap::after { content: ""; width: 26px; height: 1px; background: var(--brass-deco); flex: none; }

/* ------------------------------------------------------------------ phone: HTML/CSS miniature of the app home screen.
   --u = one CSS pixel of a 360 px wide phone screen, so the miniature uses the app's real sizes. */
#top .hero-l-phone { --u: .3px; }
@media (min-width: 900px) { #top .hero-l-phone { --u: .48px; } }
@supports (width: 1cqw) { #top .hero-l-phone { --u: .0992cqw; } }
#top .hero-phone { position: absolute; left: 31.0714%; top: 40%; width: 37.857%; height: 51.163%; padding: calc(10.8 * var(--u)); border-radius: calc(62 * var(--u));
  background: linear-gradient(150deg, var(--night-3) 0%, var(--night) 42%, var(--night-2) 72%, var(--night-line) 100%);
  box-shadow: 0 0 0 calc(1.4 * var(--u)) rgba(201, 164, 92, .75), inset 0 0 0 calc(1.6 * var(--u)) rgba(255, 255, 255, .08),
    0 calc(10 * var(--u)) calc(18 * var(--u)) rgba(60, 30, 20, .14), 0 calc(40 * var(--u)) calc(70 * var(--u)) rgba(60, 30, 20, .2);
  transform-origin: 50% 100%; }
#top .hero-phone::before, #top .hero-phone::after { content: ""; position: absolute; right: calc(-2.6 * var(--u)); width: calc(2.6 * var(--u)); border-radius: 0 3px 3px 0; background: var(--night-line); }
#top .hero-phone::before { top: 20%; height: 10%; }
#top .hero-phone::after { top: 33%; height: 6%; }
#top .hero-scr { position: relative; height: 100%; overflow: hidden; border-radius: calc(52 * var(--u)); background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: calc(15 * var(--u)); line-height: 1.4; text-align: left; }
#top .hero-scr p { margin: 0; }
#top .hero-scr svg { display: block; }

#top .hero-sb { position: relative; display: flex; align-items: center; justify-content: space-between; height: calc(36 * var(--u)); padding: calc(4 * var(--u)) calc(28 * var(--u)) 0; font-size: calc(14 * var(--u)); font-weight: 650; }
#top .hero-cam { position: absolute; left: 50%; top: calc(11 * var(--u)); width: calc(13 * var(--u)); height: calc(13 * var(--u)); margin-left: calc(-6.5 * var(--u)); border-radius: 50%; background: var(--night); }
#top .hero-sb-r { display: flex; align-items: center; gap: calc(6 * var(--u)); }
#top .hero-sig { display: flex; align-items: flex-end; gap: calc(2 * var(--u)); height: calc(12 * var(--u)); }
#top .hero-sig b { display: block; width: calc(3.5 * var(--u)); height: 50%; border-radius: calc(1 * var(--u)); background: var(--ink); }
#top .hero-sig b + b { height: 75%; }
#top .hero-sig b + b + b { height: 100%; }
#top .hero-bat { position: relative; display: block; width: calc(24 * var(--u)); height: calc(12 * var(--u)); border: calc(1.6 * var(--u)) solid var(--ink); border-radius: calc(3.5 * var(--u)); }
#top .hero-bat::before { content: ""; position: absolute; left: calc(1.5 * var(--u)); top: calc(1.5 * var(--u)); bottom: calc(1.5 * var(--u)); width: 62%; border-radius: calc(1.5 * var(--u)); background: var(--ink); }

#top .hero-ab { display: flex; align-items: center; gap: calc(8 * var(--u)); height: calc(60 * var(--u)); padding: 0 calc(12 * var(--u)) 0 calc(16 * var(--u)); border-bottom: calc(1 * var(--u)) solid var(--line); }
#top .hero-wm { flex: 1; display: flex; align-items: center; font-family: var(--serif); font-size: calc(20 * var(--u)); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
#top .hero-wm em { font-style: italic; font-weight: 500; color: var(--wine); margin-right: calc(5 * var(--u)); }
#top .hero-ch { position: relative; display: block; flex: none; width: calc(15 * var(--u)); height: calc(15 * var(--u)); margin-left: calc(8 * var(--u)); border-radius: calc(3 * var(--u)); background: #DA291C; }
#top .hero-ch::before, #top .hero-ch::after { content: ""; position: absolute; background: #fff; }
#top .hero-ch::before { left: calc(6 * var(--u)); top: calc(3 * var(--u)); width: calc(3 * var(--u)); height: calc(9 * var(--u)); }
#top .hero-ch::after { left: calc(3 * var(--u)); top: calc(6 * var(--u)); width: calc(9 * var(--u)); height: calc(3 * var(--u)); }
#top .hero-ab-btn { display: flex; align-items: center; justify-content: center; flex: none; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; border: calc(1 * var(--u)) solid var(--line-strong); font-weight: 700; font-size: calc(14 * var(--u)); letter-spacing: .04em; }
#top .hero-ab-th { border-color: transparent; }
#top .hero-ab-th svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }

#top .hero-home { padding: calc(16 * var(--u)) calc(16 * var(--u)) 0; }
#top .hero-card { position: relative; overflow: hidden; padding: calc(24 * var(--u)) calc(22 * var(--u)) calc(22 * var(--u)); border-radius: calc(22 * var(--u)); border: calc(1 * var(--u)) solid var(--line);
  background: linear-gradient(165deg, var(--card) 0%, var(--paper-2) 62%, var(--linen) 100%);
  box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(60, 30, 20, .06), 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(60, 30, 20, .1); }
#top .hero-card-dome { position: absolute; right: calc(-8 * var(--u)); top: calc(-2 * var(--u)); width: calc(140 * var(--u)); height: calc(112 * var(--u)); color: var(--brass-deco); opacity: .6; }
#top .hero-card-eb { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: calc(14.5 * var(--u)); margin-bottom: calc(6 * var(--u)) !important; }
#top .hero-card-h { font-family: var(--serif); font-size: calc(34 * var(--u)); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; margin: calc(4 * var(--u)) 0 calc(12 * var(--u)) !important; max-width: 78%; }
#top .hero-card-h em { font-style: italic; color: var(--wine); }
#top .hero-card-p { color: var(--muted); font-size: calc(15.5 * var(--u)); line-height: 1.5; margin-bottom: calc(20 * var(--u)) !important; max-width: 94%; }
#top .hero-bar { height: calc(6 * var(--u)); border-radius: calc(3 * var(--u)); overflow: hidden; background: var(--linen); }
#top .hero-bar i { display: block; width: 6%; height: 100%; border-radius: calc(3 * var(--u)); background: var(--wine); transform-origin: 0 50%; }
#top .hero-pct { font-size: calc(13.5 * var(--u)); color: var(--muted); margin: calc(10 * var(--u)) 0 calc(16 * var(--u)) !important; }
#top .hero-go { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: calc(64 * var(--u)); padding: calc(12 * var(--u)) calc(20 * var(--u)); border-radius: calc(16 * var(--u));
  background: var(--wine); color: #fff; font-weight: 650; font-size: calc(16.5 * var(--u)); line-height: 1.25;
  box-shadow: 0 calc(1 * var(--u)) 0 rgba(255, 255, 255, .18) inset, 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(138, 28, 53, .22); }
#top .hero-go small { display: block; margin-top: calc(3 * var(--u)); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: calc(14 * var(--u)); opacity: .92; }
#top .hero-lk { display: flex; align-items: center; justify-content: center; min-height: calc(48 * var(--u)); margin-top: calc(14 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--card); border: calc(1 * var(--u)) solid var(--line); font-weight: 650; font-size: calc(15 * var(--u)); }
#top .hero-th { display: flex; align-items: baseline; justify-content: space-between; gap: calc(12 * var(--u)); margin: calc(30 * var(--u)) calc(2 * var(--u)) calc(12 * var(--u)) !important; font-family: var(--serif); font-weight: 500; font-size: calc(22 * var(--u)); letter-spacing: -.01em; }
#top .hero-th small { font-style: italic; font-weight: 500; color: var(--brass); font-size: calc(14 * var(--u)); white-space: nowrap; }
#top .hero-unit { display: flex; align-items: center; gap: calc(12 * var(--u)); min-height: calc(56 * var(--u)); margin-bottom: calc(12 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)); border-radius: calc(20 * var(--u));
  background: var(--card); border: calc(1 * var(--u)) solid var(--line); box-shadow: 0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(60, 30, 20, .04), 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(60, 30, 20, .06); }
#top .hero-n { display: flex; align-items: center; justify-content: center; flex: none; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--wine-soft); color: var(--wine); font-family: var(--serif); font-weight: 600; font-size: calc(18 * var(--u)); }
#top .hero-t { flex: 1; font-family: var(--serif); font-weight: 700; font-size: calc(17 * var(--u)); line-height: 1.3; }
#top .hero-t small { display: block; font-family: var(--sans); font-weight: 500; font-size: calc(13 * var(--u)); color: var(--muted); }
#top .hero-chev { font-style: normal; font-size: calc(22 * var(--u)); color: var(--muted); }
#top .hero-tb { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(70 * var(--u)); padding-bottom: calc(8 * var(--u));
  background: rgba(251, 248, 244, .94); border-top: calc(1 * var(--u)) solid var(--line); }
#top .hero-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(3 * var(--u)); font-size: calc(11.5 * var(--u)); font-weight: 600; color: var(--muted); }
#top .hero-tab svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); padding: calc(4 * var(--u)) calc(17 * var(--u)); box-sizing: content-box; border-radius: 999px; }
#top .hero-tab-on { color: var(--wine); }
#top .hero-tab-on svg { background: var(--wine-soft); }

/* ------------------------------------------------------------------ scroll cue */
#top .hero-cue { display: none; }
@media (min-width: 900px) and (min-height: 720px) {
  #top .hero-cue { position: absolute; z-index: 2; left: 50%; bottom: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 44px; min-height: 44px; padding: 6px 10px;
    transform: translateX(-50%); text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); border-radius: 12px; animation: hero-fade 1s var(--ease-out) 1.6s both; }
  #top .hero-cue:hover { color: var(--ink); }
  #top .hero-cue-l { position: relative; display: block; width: 1px; height: 46px; overflow: hidden; background: var(--line-strong); }
  #top .hero-cue-l::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: var(--wine); animation: hero-cue 2.4s var(--ease) 1.6s 2 both; }
}

/* ------------------------------------------------------------------ desktop: full viewport, text left / dish right */
@media (min-width: 900px) {
  #top { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(76px + 36px) 0 96px; }
  #top .hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; }
  #top .hero-ctas .btn { flex: 0 0 auto; }
  #top .hero-stage { width: min(100%, 490px, calc((100vh - 220px) * .6512)); width: min(100%, 490px, calc((100svh - 220px) * .6512)); }
  #top .hero-wash { background:
    radial-gradient(46% 62% at 76% 58%, rgba(201, 164, 92, .15), rgba(247, 233, 236, .34) 48%, rgba(251, 248, 244, 0) 78%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 62%, var(--paper-2) 100%); }
}

/* ------------------------------------------------------------------ motion (keyframes start from "closed") */
#top .hero-cloche { animation: hero-lift 2s var(--hero-d) both; }
#top .hero-phone { animation: hero-rise 1.6s calc(var(--hero-d) + .42s) both; }
#top .hero-cshadow { animation: hero-out .9s ease-out calc(var(--hero-d) + .1s) both; }
#top .hero-pshadow { animation: hero-in 1.1s ease-out calc(var(--hero-d) + .6s) both; }
#top .hero-bar i { animation: hero-fill 1.3s var(--ease-out) calc(var(--hero-d) + 1.5s) both; }
#top .hero-glint { animation: hero-glint 9s cubic-bezier(.45, 0, .3, 1) calc(var(--hero-d) + .15s) 2 both; }
#top .hero-wisp { stroke-dasharray: 30 100; animation: hero-steam 5.6s cubic-bezier(.35, 0, .45, 1) 3 both; }
#top .hero-wisp-1 { animation-delay: calc(var(--hero-d) + 1.3s); }
#top .hero-wisp-2 { animation-delay: calc(var(--hero-d) + 2.1s); }
#top .hero-wisp-3 { animation-delay: calc(var(--hero-d) + 2.9s); }
#top .hero-wisp-4 { animation-delay: calc(var(--hero-d) + 4.2s); }
/* phones: the dish is served when it scrolls into view (hero.js adds .hero-served) */
@media (max-width: 899px) {
  html:not(.no-js) #top .hero-stage:not(.hero-served) .hero-cloche, html:not(.no-js) #top .hero-stage:not(.hero-served) .hero-phone,
  html:not(.no-js) #top .hero-stage:not(.hero-served) .hero-cshadow, html:not(.no-js) #top .hero-stage:not(.hero-served) .hero-pshadow,
  html:not(.no-js) #top .hero-stage:not(.hero-served) .hero-bar i, html:not(.no-js) #top .hero-stage:not(.hero-served) .hero-glint,
  html:not(.no-js) #top .hero-stage:not(.hero-served) .hero-wisp { animation-play-state: paused; }
}
/* decorative loops run a few times then stop by themselves (WCAG 2.2.2); they also rest when the hero is off screen */
#top .hero-stage.hero-off .hero-glint, #top .hero-stage.hero-off .hero-wisp, #top.hero-off .hero-cue-l::after { animation-play-state: paused; }

@keyframes hero-up { from { transform: translateY(112%); } to { transform: none; } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-lift {
  0%   { transform: translate(0, 0) rotate(0deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  7%   { transform: translate(0, .5%) rotate(0deg); animation-timing-function: cubic-bezier(.2, .72, .25, 1); }
  52%  { transform: translate(2.3%, -62.5%) rotate(11.5deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  74%  { transform: translate(1.6%, -57.6%) rotate(8deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  89%  { transform: translate(1.9%, -59.5%) rotate(9.4deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { transform: translate(1.8%, -59%) rotate(9deg); }
}
@keyframes hero-rise {
  0%   { transform: perspective(1400px) rotateX(86deg); animation-timing-function: cubic-bezier(.3, .6, .3, 1); }
  58%  { transform: perspective(1400px) rotateX(-6deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  80%  { transform: perspective(1400px) rotateX(2.5deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { transform: perspective(1400px) rotateX(0deg); }
}
@keyframes hero-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-fill { from { transform: scaleX(0); } to { transform: none; } }
@keyframes hero-glint { 0% { transform: translateX(0); } 15% { transform: translateX(820px); } 100% { transform: translateX(820px); } }
@keyframes hero-steam { 0% { stroke-dashoffset: 30; opacity: 0; } 25% { opacity: .9; } 70% { opacity: .55; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes hero-cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(230%); } }

/* no JS on a phone, or reduced motion: the dish is already served, nothing moves */
@media (prefers-reduced-motion: reduce) {
  #top .hero-ln > span, #top .hero-fade, #top .hero-cue, #top .hero-cue-l::after, #top .hero-soon-note.hero-show,
  #top .hero-cloche, #top .hero-phone, #top .hero-cshadow, #top .hero-pshadow, #top .hero-bar i, #top .hero-glint, #top .hero-wisp { animation: none !important; }
  #top .hero-wisp { stroke-dasharray: none; opacity: .3; }
  #top .hero-l { transform: none !important; }
  #top .hero-cta svg, #top .hero-cta:hover svg { transition: none; transform: none; }
}
