/* ═══════════════════════════════════════════════════════════════
   PURRPETUAL MOTION — $PURRPTL
   Mid-century domestic appliance showroom, not a laboratory.
   Palette sampled from the logo art; the page field never darkens.
   ═══════════════════════════════════════════════════════════════ */

:root{
  /* THE ROOM — page field */
  --field:#CFE7E2;
  --field-lo:#B9DBD5;
  --floor:#F4EBD2;

  /* ENAMEL STRUCTURE — painted turquoise, architecture only */
  --enamel:#3A8F89;
  --enamel-dk:#266B67;

  /* INK — structural dark, the room's own shadow */
  --ink:#0E2E31;
  --ink-2:#325B5C;   /* 4.55:1 on --field-lo, 5.2:1 on --field */

  /* PLUM — object colour and the interaction colour. Never body ink. */
  --plum:#4B1B3E;
  --plum-lo:#331028;
  --plum-hi:#6E3159;
  --shadow-ink:74,27,62;

  /* BUTTER — large calm area accent. Never a button, never mono text. */
  --butter:#F7D774;
  --butter-hi:#FFEEB4;
  --butter-lo:#DDB84A;

  /* CRUST — toast, crumbs, crust edges only */
  --crust:#C2762F;
  --crust-dk:#8E4F1C;

  /* NICKEL — warm brushed hardware */
  --nickel:#D2CBBB;
  --nickel-lo:#8B8578;
  --spec:#FFFDF6;

  --cream:#FBF4DE;
  --lamp:#FFE9A6;
  --alarm:#D8402A;      /* the jewel only */
  --alarm-ink:#A82616;  /* 5.4:1 on the enamel surfaces — alarm TEXT */
  --petal:#EFA79F;      /* mascot only */

  --TL:56px;            /* one toast length — every lift and gap derives from it */

  --r-arch:999px 999px 14px 14px;
  --r-lid:30px 30px 14px 14px;
  --r-pill:999px;

  --wrap:1240px;
  --pad:clamp(1.1rem,4vw,2.6rem);

  --disp:'Jost',ui-sans-serif,system-ui,-apple-system,sans-serif;
  --body:'Libre Franklin',ui-sans-serif,system-ui,-apple-system,sans-serif;
  --mono:'Martian Mono',ui-monospace,'Cascadia Mono',monospace;
}

/* ── reset ───────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none !important}
html{overflow-x:clip;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;overflow-x:clip;background:var(--field);color:var(--ink);
  font-family:var(--body);font-size:17px;line-height:1.62;font-synthesis-weight:none;
  -webkit-font-smoothing:antialiased}
img,svg,canvas{display:block;max-width:100%}
img{height:auto}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
a{color:inherit}
h1,h2,h3,p,ol,ul,figure{margin:0}
ol,ul{list-style:none;padding:0}

.q{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1}
.unit{margin-left:.28em}
.mono{font-family:var(--mono);font-weight:700;letter-spacing:0}
.label{font-family:var(--body);font-weight:700;font-size:12px;letter-spacing:.18em;
  text-transform:uppercase;color:var(--ink-2)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

::selection{background:var(--butter);color:var(--ink)}
:focus-visible{outline:3px solid var(--plum);outline-offset:3px}
/* the room clips, so anything focusable inside it needs an inset ring too */
.buckle:focus-visible,.floor:focus-visible{outline-offset:-3px;
  box-shadow:inset 0 0 0 3px var(--plum),inset 0 0 0 5px var(--spec)}

html{scrollbar-color:var(--plum) var(--field-lo)}
::-webkit-scrollbar{width:13px;height:13px}
::-webkit-scrollbar-track{background:var(--field-lo)}
::-webkit-scrollbar-thumb{background:var(--plum);border:3px solid var(--field-lo);border-radius:999px}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad)}

.skip{position:fixed;top:-100px;left:12px;z-index:10000;background:var(--plum);color:var(--cream);
  padding:.7rem 1.1rem;border-radius:var(--r-pill);font-weight:700;transition:top .2s}
.skip:focus{top:14px}

/* ── material: enamel (R2) ───────────────────────────────── */
.enamel,.beat,.step,.cyc,.dial,.pl-cell,.tele,.plate,.chart-paper,.mains-face,.rheo-wrap{
  background:
    linear-gradient(180deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.22) 14%,rgba(255,255,255,0) 38%),
    linear-gradient(180deg,rgba(14,46,49,0) 55%,rgba(14,46,49,.14) 100%),
    var(--floor);
  border-radius:var(--r-lid);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 -1px 0 rgba(14,46,49,.32),
    inset 0 0 0 1px rgba(14,46,49,.16),
    0 2px 0 rgba(var(--shadow-ink),.34),
    0 16px 28px -12px rgba(var(--shadow-ink),.30);
}

/* ── material: chrome with a hard horizon step (R3) ──────── */
.chrome,.trim,.rivet,.pulley,.grip,.rheo-lever{
  background:linear-gradient(180deg,
    #8B8578 0%,#C6C0B2 6%,#FBF9F2 18%,#EFEBE0 44%,
    #9A9488 46%,#6B6559 52%,#8E887B 72%,#DFD9CB 90%,#A39D90 100%);
}
/* R4 — the chrome parting line replaces every border and <hr> */
.trim{display:block;height:6px;width:100%;border-radius:999px;
  box-shadow:0 1px 0 rgba(var(--shadow-ink),.25),inset 0 1px 0 rgba(255,255,255,.5)}
.nav .trim{position:absolute;left:0;right:0;bottom:-3px;border-radius:0;height:5px}
.foot .trim{border-radius:0;height:6px}
.chart-paper>.trim,.mains-face>.trim{position:absolute;top:0;left:0;right:0;z-index:6;
  border-radius:0;height:5px}

/* ── page furniture ──────────────────────────────────────── */
.grain{position:fixed;inset:0;z-index:9000;pointer-events:none;opacity:.3;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E")}
.progress{position:fixed;top:0;left:0;right:0;height:4px;z-index:9100;background:rgba(14,46,49,.12)}
.progress i{display:block;height:100%;width:0;background:var(--plum)}

.lamp{width:9px;height:9px;border-radius:50%;flex:none;background:var(--lamp);
  box-shadow:0 0 0 1px rgba(14,46,49,.3),0 0 9px rgba(255,233,166,.95);
  animation:lampBlip 2.6s ease-in-out infinite}
@keyframes lampBlip{0%,100%{opacity:1}50%{opacity:.45}}

/* ── buttons: mechanical, with a stem (R6) ───────────────── */
.btn{display:inline-flex;align-items:center;gap:.55rem;justify-content:center;
  padding:.78rem 1.25rem;border-radius:var(--r-pill);background:var(--floor);color:var(--ink);
  font-family:var(--body);font-weight:700;font-size:15px;letter-spacing:.01em;
  text-decoration:none;white-space:nowrap;touch-action:manipulation;user-select:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 0 0 1px rgba(14,46,49,.22),
    0 5px 0 0 var(--nickel-lo),0 10px 18px -10px rgba(var(--shadow-ink),.4);
  transition:transform 60ms linear,box-shadow 60ms linear,background .18s}
.btn img{flex:none}
.btn:hover{background:var(--cream)}
.btn:active{transform:translateY(4px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 0 0 1px rgba(14,46,49,.22),0 1px 0 0 var(--nickel-lo)}
.btn-lg{padding:.9rem 1.5rem;font-size:16px}
.btn-sm{padding:.46rem 1rem;font-size:13.5px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),
  inset 0 0 0 1px rgba(14,46,49,.22),0 3px 0 0 var(--nickel-lo)}
.btn-sm:active{transform:translateY(2px);box-shadow:inset 0 0 0 1px rgba(14,46,49,.22),0 1px 0 0 var(--nickel-lo)}
.btn-primary{background:var(--plum);color:var(--cream);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 5px 0 0 var(--plum-lo),
    0 10px 18px -10px rgba(var(--shadow-ink),.5)}
.btn-primary:hover{background:var(--plum-hi)}
.btn-primary:active{transform:translateY(4px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 1px 0 0 var(--plum-lo)}
.btn-primary.btn-sm{box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 3px 0 0 var(--plum-lo)}
.btn-primary img{filter:brightness(0) invert(1)}

/* ── nav ─────────────────────────────────────────────────── */
.nav{position:sticky;top:0;z-index:900;background:rgba(207,231,226,.93);
  backdrop-filter:blur(10px) saturate(1.15)}
.nav-in{display:flex;align-items:center;gap:1rem;min-height:70px}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;flex:none;min-width:0}
.brand-badge{width:40px;height:40px;border-radius:14px;overflow:hidden;background:var(--enamel);flex:none;
  box-shadow:inset 0 0 0 1px rgba(14,46,49,.3),0 2px 0 rgba(var(--shadow-ink),.3)}
.brand-badge img{width:100%;height:100%;object-fit:cover}
.brand-txt{display:flex;flex-direction:column;line-height:1}
.brand-txt b{font-family:var(--disp);font-weight:800;font-size:15px;letter-spacing:.05em;white-space:nowrap}
.brand-txt i{font-style:normal;font-size:11px;color:var(--plum);margin-top:4px;letter-spacing:0}

.nav-links{display:flex;gap:.1rem;margin-left:auto;flex:0 1 auto;flex-wrap:nowrap;min-width:0}
.nav-links a{position:relative;white-space:nowrap;padding:.5rem .72rem;border-radius:999px;font-size:14.5px;font-weight:500;
  text-decoration:none;color:var(--ink-2);transition:color .16s}
.nav-links a::after{content:"";position:absolute;left:.72rem;right:.72rem;bottom:.3rem;height:2px;
  background:var(--plum);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}
.nav-links a:hover{color:var(--ink)}
.nav-links a:hover::after,.nav-links a.on::after{transform:scaleX(1)}
.nav-links a.on{color:var(--ink);font-weight:700}

.nav-right{display:flex;flex:none;align-items:center;gap:.6rem;margin-left:auto}
.nav-links+.nav-right{margin-left:auto}
.nav-alt{display:inline-flex;flex:none;align-items:center;gap:.45rem;font-family:var(--mono);font-weight:700;
  font-size:13px;padding:.34rem .7rem;border-radius:999px;background:var(--floor);white-space:nowrap;
  box-shadow:inset 0 0 0 1px rgba(14,46,49,.22),0 2px 0 rgba(var(--shadow-ink),.22)}

.burger{display:none;width:46px;height:44px;border-radius:14px;background:var(--floor);
  flex-direction:column;gap:5px;align-items:center;justify-content:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 0 0 1px rgba(14,46,49,.22),0 3px 0 var(--nickel-lo)}
.burger span{display:block;width:20px;height:2px;background:var(--ink);border-radius:2px;transition:.22s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ── section shell ───────────────────────────────────────── */
.sec{padding:clamp(3.8rem,8vw,7rem) 0;position:relative}
section[id]{scroll-margin-top:86px}
.sec-head{max-width:46rem;margin-bottom:clamp(2rem,4vw,3.4rem);position:relative;padding-left:2.6rem}
.ref{position:absolute;left:0;top:.1rem;font-family:var(--mono);font-weight:400;font-size:13px;
  color:var(--ink-2)}
.ref::after{content:"";position:absolute;left:.1em;top:1.75em;width:1px;height:1.9rem;
  background:var(--ink-2);opacity:.5}
.sec h2{font-family:var(--disp);font-weight:700;font-size:clamp(30px,4.4vw,54px);letter-spacing:.03em;
  line-height:1.04;margin-bottom:.6rem}
.sec-sub{font-size:19px;line-height:1.5;color:var(--ink-2);max-width:40rem}
.eyebrow{display:inline-flex;align-items:center;gap:.55rem;color:var(--ink-2)}

.reveal{opacity:0;transform:translateY(22px);
  transition:opacity .7s cubic-bezier(.22,.9,.28,1),transform .7s cubic-bezier(.22,.9,.28,1)}
.reveal.in{opacity:1;transform:none}

/* ═══════════════ HERO — THE ROOM ═══════════════ */
.hero{position:relative;
  background:linear-gradient(180deg,var(--field) 0%,var(--field-lo) 100%);
  display:grid;grid-template-areas:"copy room";
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  gap:clamp(1.6rem,3.4vw,3rem);align-items:center;
  /* full-bleed ground, wrap-aligned content */
  padding:clamp(1.6rem,4vw,3rem) max(var(--pad),calc((100% - var(--wrap))/2)) clamp(3rem,6vw,5rem)}
.hero .hero-copy{grid-area:copy;align-self:center;padding-inline:0;
  width:100%;max-width:100%;min-width:0}
.hero .room{grid-area:room;margin-right:0}

/* the room stage */
.room{position:relative;overflow:hidden;margin-right:var(--pad);
  aspect-ratio:1/0.94;border-radius:var(--r-lid);
  background:radial-gradient(120% 78% at 50% 16%,rgba(255,255,255,.34),rgba(255,255,255,0) 62%),
    linear-gradient(178deg,#79C0C4 0%,#7FC3C6 38%,#93CBCA 64%,#AED7D2 100%);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.4),inset 0 0 0 1px rgba(14,46,49,.28),
    0 2px 0 rgba(var(--shadow-ink),.34),0 26px 46px -22px rgba(var(--shadow-ink),.5);
  user-select:none}
.room-art{position:absolute;inset:0;pointer-events:none}
.wall-arch{position:absolute;left:11%;right:11%;top:7%;height:66%;
  border-radius:999px 999px 20px 20px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.26)}
.slot{display:none}
.nozzle{position:absolute;top:36%;width:38px;height:38px;border-radius:50%;
  background:conic-gradient(from 210deg,#FBF9F2,#8B8578,#EFEBE0,#6B6559,#C6C0B2,#FBF9F2);
  box-shadow:inset 0 0 0 5px rgba(14,46,49,.2),0 2px 0 rgba(var(--shadow-ink),.34)}
.nz-l{left:3%}.nz-r{right:3%}
.plaque{position:absolute;left:5%;top:6%;max-width:34%;padding:.42rem .6rem;border-radius:8px;
  background:var(--cream);color:var(--ink);font-family:var(--body);font-weight:700;font-size:11px;
  line-height:1.28;letter-spacing:.06em;text-transform:uppercase;
  box-shadow:inset 0 0 0 1px rgba(14,46,49,.3),0 2px 0 rgba(var(--shadow-ink),.3);
  transform:rotate(-1.4deg)}

/* the balance beam, behind glass */
.beam-case{position:absolute;right:4%;top:6%;width:min(30%,168px);pointer-events:none;z-index:4}
.beam-glass{position:relative;height:62px;border-radius:18%/26%;overflow:hidden;
  background:linear-gradient(180deg,rgba(251,244,222,.92),rgba(244,235,210,.86));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(14,46,49,.3),
    0 2px 0 rgba(var(--shadow-ink),.3)}
.beam{position:absolute;left:12%;right:12%;top:52%;height:4px;will-change:transform}
.beam i{position:absolute;inset:0;border-radius:999px;
  background:linear-gradient(90deg,#8B8578,#FBF9F2 20%,#EFEBE0 46%,#6B6559 50%,#DFD9CB 80%,#A39D90)}
.beam b{position:absolute;left:50%;top:50%;width:11px;height:11px;margin:-5.5px 0 0 -5.5px;
  border-radius:50%;background:var(--plum);box-shadow:0 0 0 1px rgba(14,46,49,.4)}
.beam-lbl{position:absolute;top:8px;font-family:var(--body);font-weight:700;font-size:9px;
  letter-spacing:.16em;color:var(--ink-2)}
.beam-lbl.l{left:10px}.beam-lbl.r{right:10px}
.beam-plate{margin-top:6px;text-align:center;font-family:var(--body);font-weight:700;font-size:9px;
  letter-spacing:.1em;color:var(--ink);background:var(--nickel);border-radius:999px;padding:.22rem .4rem;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 0 0 1px rgba(14,46,49,.25)}

#roomCanvas{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}

.cast{position:absolute;left:50%;width:32%;height:22px;margin-left:-16%;z-index:6;pointer-events:none;
  border-radius:50%;background:radial-gradient(50% 50%,rgba(110,49,89,.85),rgba(110,49,89,0) 72%);
  will-change:transform,opacity}

.watt{position:absolute;left:50%;top:0;width:38%;aspect-ratio:1;z-index:2;will-change:transform}
.watt img{width:100%;height:100%;object-fit:cover;border-radius:22%/26%;
  -webkit-mask-image:radial-gradient(76% 76% at 50% 50%,#000 86%,transparent 100%);
  mask-image:radial-gradient(76% 76% at 50% 50%,#000 86%,transparent 100%)}
.buckle{position:absolute;left:57%;top:41%;width:28px;height:21px;border-radius:6px;padding:0;
  background:linear-gradient(180deg,#FBF9F2 0%,#EFEBE0 44%,#9A9488 46%,#6B6559 52%,#DFD9CB 100%);
  box-shadow:inset 0 0 0 1px rgba(14,46,49,.45),0 2px 0 rgba(var(--shadow-ink),.4);
  cursor:grab;touch-action:none;z-index:3;transition:transform .18s}
.buckle i{position:absolute;left:50%;top:50%;width:3px;height:13px;margin:-6.5px 0 0 -1.5px;
  border-radius:2px;background:var(--plum)}
.buckle::before{content:"";position:absolute;left:-46%;right:-46%;top:50%;height:7px;margin-top:-3.5px;
  background:var(--plum);border-radius:2px;z-index:-1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
.buckle:hover{transform:scale(1.09)}

/* THE FLOOR */
.floor{position:absolute;left:-9%;right:-9%;bottom:-12%;z-index:5;cursor:grab;
  touch-action:none;transform-origin:50% 0}
.floor.grabbing{cursor:grabbing}
.floor-face{position:absolute;inset:0;
  background:linear-gradient(180deg,var(--floor) 0%,#EADFC0 42%,#DCCFAB 100%);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.85)}
.floor::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;z-index:2;
  background:linear-gradient(180deg,#FBF9F2 0%,#EFEBE0 40%,#9A9488 46%,#6B6559 54%,#DFD9CB 100%);
  box-shadow:0 2px 6px rgba(var(--shadow-ink),.32)}
.grip{position:absolute;left:50%;top:9px;width:78px;height:16px;margin-left:-39px;z-index:3;
  border-radius:999px;display:flex;align-items:center;justify-content:center;gap:4px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75),inset 0 0 0 1px rgba(14,46,49,.3),
    0 2px 0 rgba(var(--shadow-ink),.3)}
.grip i{width:3px;height:9px;border-radius:2px;background:rgba(14,46,49,.42)}
.floor-tip{position:absolute;left:50%;top:34px;transform:translateX(-50%);white-space:nowrap;z-index:3;
  font-family:var(--body);font-weight:700;font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--ink-2);transition:opacity .5s}
.floor-tip.gone{opacity:0}

/* hero copy */
.hero-copy h1{font-family:var(--disp);font-weight:800;font-size:clamp(36px,5.2vw,72px);
  letter-spacing:.02em;line-height:.94;margin:.5rem 0 .6rem}
.tagline{font-size:clamp(19px,2.2vw,26px);font-weight:400;font-style:italic;color:var(--plum);
  margin-bottom:.7rem}
.lede{font-size:19px;line-height:1.5;color:var(--ink-2);max-width:32rem;margin-bottom:1.6rem}
.ca{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin-bottom:1.4rem;min-width:0;max-width:100%}
.ca-pill{display:flex;align-items:center;gap:.6rem;max-width:100%;min-width:0;overflow:hidden;
  padding:.45rem .45rem .45rem .9rem;border-radius:999px;background:var(--floor);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 0 0 1px rgba(14,46,49,.22),
    0 3px 0 var(--nickel-lo);transition:transform 60ms linear,box-shadow 60ms linear,background .18s}
.ca-pill span{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  min-width:0;flex:1 1 auto}
.ca-copy{font-family:var(--body);font-style:normal;font-weight:700;font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;flex:none;padding:.32rem .6rem;border-radius:999px;
  background:var(--plum);color:var(--cream)}
.ca-pill:active{transform:translateY(2px);box-shadow:inset 0 0 0 1px rgba(14,46,49,.22),0 1px 0 var(--nickel-lo)}
.ca-pill.ok{background:var(--butter-hi)}
.cta{display:flex;gap:.6rem;flex-wrap:wrap}

/* ═══════════════ BELT ═══════════════ */
.belt{position:relative;display:flex;align-items:center;overflow:hidden;background:var(--plum-lo)}
.belt-track{flex:1;min-width:0;overflow:hidden;position:relative;height:82px;
  background:
    repeating-linear-gradient(90deg,rgba(0,0,0,.2) 0 3px,transparent 3px 14px),
    linear-gradient(180deg,#5E2450 0%,#3B1330 46%,#4B1B3E 100%);
  box-shadow:inset 0 3px 8px rgba(0,0,0,.45),inset 0 -3px 8px rgba(0,0,0,.45)}
.belt-run{display:flex;align-items:center;gap:1.9rem;height:100%;width:max-content;
  will-change:transform;padding-inline:1.9rem}
.belt-run span{font-family:var(--body);font-weight:700;font-size:clamp(15px,1.9vw,22px);
  letter-spacing:.14em;color:var(--cream);white-space:nowrap;
  text-shadow:0 1px 0 rgba(255,255,255,.16),0 -1px 0 rgba(0,0,0,.5)}
.belt-run em{width:12px;height:10px;flex:none;border-radius:46% 54% 42% 58%;
  background:linear-gradient(150deg,var(--butter),var(--crust));
  box-shadow:0 1px 0 rgba(0,0,0,.4)}
.pulley{position:relative;flex:none;width:82px;height:82px;border-radius:50%;z-index:4;
  will-change:transform;
  box-shadow:inset 0 0 0 6px rgba(251,244,222,.35),inset 0 0 0 7px rgba(14,46,49,.35),
    0 2px 0 rgba(0,0,0,.45)}
.pulley i{position:absolute;left:50%;top:50%;width:3px;height:26px;margin:-13px 0 0 -1.5px;
  background:rgba(14,46,49,.4);border-radius:2px;transform-origin:center}
.pulley i:nth-child(1){transform:rotate(0deg)}
.pulley i:nth-child(2){transform:rotate(45deg)}
.pulley i:nth-child(3){transform:rotate(90deg)}
.pulley i:nth-child(4){transform:rotate(135deg)}
.pulley b{position:absolute;left:50%;top:50%;width:17px;height:17px;margin:-8.5px 0 0 -8.5px;
  border-radius:50%;background:var(--plum);box-shadow:0 0 0 1px rgba(14,46,49,.5)}
.p-l{margin-right:-9px}.p-r{margin-left:-9px}

/* ═══════════════ THE INCIDENT ═══════════════ */
.lore{background:linear-gradient(180deg,var(--field-lo),var(--field))}
.chart{display:grid;gap:clamp(1.5rem,3vw,2.6rem);
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:start}
.chart-paper{position:sticky;top:96px;overflow:hidden;aspect-ratio:1000/420;
  --floor:var(--cream)}
.chart-paper::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
  background:repeating-linear-gradient(90deg,rgba(194,118,47,.14) 0 1px,transparent 1px 40px)}
.chart-svg{position:absolute;inset:0;width:100%;height:100%}
.grid-g line{stroke:rgba(194,118,47,.16);stroke-width:1}
.baseline{stroke:var(--ink);stroke-width:1;opacity:.8}
.lockline{stroke:var(--crust);stroke-width:.5;stroke-dasharray:9 2 1.5 2}
.trace{fill:none;stroke:var(--plum);stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round;
  vector-effect:non-scaling-stroke}
.pen{position:absolute;left:0;top:0;width:14px;height:14px;margin:-7px 0 0 -7px;z-index:4;
  border-radius:50%;background:var(--plum);will-change:transform;
  box-shadow:0 0 0 4px rgba(75,27,62,.18),0 0 0 1px rgba(14,46,49,.4)}
.pen i{position:absolute;left:50%;bottom:100%;width:3px;height:36px;margin-left:-1.5px;
  border-radius:2px;background:linear-gradient(180deg,#6B6559,#DFD9CB)}
.chart-lbl{position:absolute;right:12px;z-index:3;font-family:var(--body);font-weight:700;font-size:11px;
  letter-spacing:.12em;text-transform:uppercase;padding:.2rem .5rem;border-radius:999px;color:var(--ink);
  box-shadow:inset 0 0 0 1px rgba(14,46,49,.28)}
.lbl-lock{top:calc(240/420*100% - 11px);background:var(--butter)}
.lbl-floor{top:calc(380/420*100% - 11px);background:var(--field-lo)}

.beats{display:flex;flex-direction:column;gap:.8rem}
.beat{display:grid;grid-template-columns:auto 1fr;gap:.15rem 1rem;padding:1rem 1.15rem;
  transition:transform .2s,box-shadow .2s}
.beat-t{grid-row:1/3;font-size:12px;color:var(--plum);padding-top:.3rem;white-space:nowrap}
.beat h3{font-family:var(--disp);font-weight:700;font-size:19px;letter-spacing:.02em;line-height:1.24}
.beat p{font-size:15px;line-height:1.5;color:var(--ink-2)}
.beat.is-final{--floor:var(--butter-hi)}
.beat.is-final h3{color:var(--plum)}

/* ═══════════════ PLATE II ═══════════════ */
.plate-band{position:relative;margin:0;overflow:hidden;background:var(--enamel)}
.plate-band img{width:100%;height:clamp(210px,32vw,420px);object-fit:cover;object-position:center 46%}
.plate-band figcaption{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;
  gap:.8rem;flex-wrap:wrap;padding:.85rem clamp(1.1rem,4vw,2.6rem);color:var(--cream);
  font-size:14px;font-style:italic;
  background:linear-gradient(0deg,rgba(14,46,49,.86),rgba(14,46,49,0))}
.plate-band figcaption .label{color:var(--ink);background:var(--butter);border-radius:999px;
  padding:.22rem .6rem;flex:none;font-style:normal}

/* ═══════════════ THE BREAKFAST MAINS ═══════════════ */
.mains{background:var(--field)}
.mains-unit{display:flex;flex-direction:column;gap:1rem}
.mains-face{position:relative;overflow:hidden;padding:0;
  --floor:#E7DCC0}
#mainsCanvas{width:100%;height:auto;aspect-ratio:1200/470;display:block;
  touch-action:manipulation;position:relative;z-index:1}
@media (max-width:660px){#mainsCanvas{aspect-ratio:560/790}}

.rheo-wrap{padding:1.2rem clamp(1rem,3vw,2rem) 1.4rem;overflow:hidden}
.plates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin-bottom:1.3rem}
.engraved{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;
  padding:.5rem .7rem;border-radius:12px;background:var(--nickel);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -1px 0 rgba(14,46,49,.28),
    inset 0 0 0 1px rgba(14,46,49,.22)}
.engraved b{font-size:20px;letter-spacing:0;color:var(--ink);
  text-shadow:0 1px 0 rgba(255,255,255,.55)}

.rheo{position:relative;height:142px;margin:.4rem 0 1rem;touch-action:none;user-select:none;
  cursor:ew-resize}
.rheo-rail{position:absolute;left:14px;right:14px;top:20px;height:12px;border-radius:999px;
  background:linear-gradient(180deg,#8E4F1C,#C2762F 40%,#A05F22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(0,0,0,.3)}
.rheo-fill{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:999px;background:var(--plum);
  transition:width 90ms cubic-bezier(.2,1.45,.35,1)}
.rheo-scale{position:absolute;left:14px;right:14px;top:34px;height:96px}
.rheo-tick{position:absolute;top:0;transform:translateX(-50%);text-align:center;
  width:min(150px,calc(100%/6))}
.rheo-tick:first-child{transform:translateX(-16px)}
.rheo-tick:last-child{transform:translateX(calc(-100% + 16px))}
/* alternate graduations drop a row, so neighbouring labels can never collide
   however tight the pitch gets on a phone */
.rheo-tick:nth-child(even){top:30px}
.rheo-tick:nth-child(even) i{height:37px}
.rheo-tick i{display:block;width:1px;height:9px;margin:0 auto 4px;background:var(--ink-2)}
.rheo-tick b{display:block;font-family:var(--body);font-weight:700;font-size:clamp(9px,1vw,11.5px);
  letter-spacing:.06em;text-transform:uppercase;line-height:1.25;color:var(--ink-2)}
.rheo-tick.on b{color:var(--plum)}
.rheo-tick.on i{background:var(--plum);height:13px}
.rheo-lever{position:absolute;top:6px;left:14px;width:26px;height:40px;margin-left:-13px;border-radius:8px;
  z-index:3;box-shadow:inset 0 0 0 1px rgba(14,46,49,.45),0 3px 0 rgba(var(--shadow-ink),.4);
  transition:left 90ms cubic-bezier(.2,1.45,.35,1)}
.rheo-lever i{position:absolute;left:50%;top:8px;bottom:8px;width:3px;margin-left:-1.5px;border-radius:2px;
  background:var(--plum)}
.mains-note{font-size:14px;font-style:italic;line-height:1.5;color:var(--ink-2);min-height:3.6em}
.mains-note.alarm{color:var(--alarm-ink);font-style:normal;font-weight:700}

/* ═══════════════ SPEC PLATE ═══════════════ */
.spec-sec{background:linear-gradient(180deg,var(--field),var(--field-lo))}
.plate{position:relative;padding:clamp(1.4rem,3vw,2.2rem);--floor:var(--nickel)}
.rivet{position:absolute;width:14px;height:14px;border-radius:50%;
  box-shadow:inset 0 0 0 1px rgba(14,46,49,.4),0 1px 0 rgba(255,255,255,.5)}
.r1{left:14px;top:14px}.r2{right:14px;top:14px}.r3{left:14px;bottom:14px}.r4{right:14px;bottom:14px}
.plate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.6rem}
.pl-cell{padding:1rem .95rem;display:flex;flex-direction:column;gap:.25rem;border-radius:22px 22px 14px 14px}
.pl-cell strong{font-size:clamp(15px,1.8vw,21px);letter-spacing:0;line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-cell small{font-size:13.5px;font-style:italic;color:var(--ink-2)}
.plate-foot{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin-top:1rem}
.plate-foot code{font-family:var(--mono);font-weight:400;font-size:12px;overflow-wrap:anywhere;
  flex:1;min-width:0}

.tele{margin-top:1rem;padding:clamp(1rem,2.4vw,1.5rem)}
.tele-k{display:flex;align-items:center;gap:.6rem;margin-bottom:1rem}
.tele-k em{font-style:normal;margin-left:auto;padding:.24rem .65rem;border-radius:999px;
  background:var(--field-lo);color:var(--ink);
  box-shadow:inset 0 0 0 1px rgba(14,46,49,.24)}
.tele.live .tele-k em{background:var(--butter)}
.tele.err .tele-k em{background:var(--nickel)}
.tele-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(158px,1fr));gap:.6rem}
.dial{padding:.85rem .9rem;display:flex;flex-direction:column;gap:.3rem;min-width:0;
  border-radius:22px 22px 14px 14px;--floor:var(--cream)}
.dial strong{font-size:clamp(15px,2vw,23px);letter-spacing:0;overflow-wrap:anywhere}
.dial.up strong{color:#1B6B45}
.dial.down strong{color:var(--alarm)}
.tele-note{font-size:14px;font-style:italic;line-height:1.55;color:var(--ink-2);margin-top:.9rem}

/* ═══════════════ HOW TO BOARD ═══════════════ */
.buy{background:var(--field-lo)}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.9rem}
.step{position:relative;padding:1.4rem 1.15rem 1.2rem;display:flex;flex-direction:column;gap:.5rem;
  transition:transform .22s cubic-bezier(.3,1.3,.5,1),box-shadow .22s}
.step:hover{transform:translateY(-4px)}
.step-ref{position:absolute;top:.9rem;right:1.1rem;font-family:var(--mono);font-weight:400;font-size:12px;
  color:var(--ink-2)}
.step-ico{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;
  background:var(--field-lo);font-family:var(--disp);font-weight:800;font-size:24px;color:var(--plum);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 0 0 1px rgba(14,46,49,.2),
    0 2px 0 rgba(var(--shadow-ink),.28)}
.step h3{font-family:var(--disp);font-weight:700;font-size:20px;letter-spacing:.03em;line-height:1.2}
.step p{font-size:15px;line-height:1.5;color:var(--ink-2);flex:1}
.step a{font-family:var(--body);font-weight:700;font-size:13px;letter-spacing:.06em;color:var(--plum);
  text-decoration:none;align-self:flex-start;
  box-shadow:inset 0 -2px 0 var(--butter-lo);transition:box-shadow .18s}
.step a:hover{box-shadow:inset 0 -2px 0 var(--plum)}
.step-warn{--floor:var(--butter-hi)}
.step-warn .step-ico{background:var(--butter)}

/* ═══════════════ CYCLES ═══════════════ */
.cycles{background:var(--field)}
.cyc-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:.9rem}
.cyc{position:relative;padding:1.3rem 1.2rem;overflow:hidden}
.cyc::before{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;background:var(--butter)}
.cyc-n{font-size:12px;color:var(--plum);margin-bottom:.4rem;display:flex;align-items:center;gap:.1em}
.cyc h3{font-family:var(--disp);font-weight:700;font-size:22px;letter-spacing:.05em;margin-bottom:.5rem}
.cyc p{font-size:15px;line-height:1.55;color:var(--ink-2)}
.inf{display:inline-block;width:1.5em;height:.7em;margin-left:.14em}
.cyc-inf{--floor:var(--plum);color:var(--cream)}
.cyc-inf::before{background:var(--butter)}
.cyc-inf .cyc-n{color:var(--butter)}
.cyc-inf p{color:#DCC9D6}

/* ═══════════════ COMMUNITY ═══════════════ */
.comm{background:linear-gradient(180deg,var(--field),var(--field-lo))}
.comm-copy{max-width:46rem;position:relative;padding-left:2.6rem}
.comm h2{font-family:var(--disp);font-weight:800;font-size:clamp(34px,6.4vw,72px);line-height:.98;
  letter-spacing:.02em}
.say{font:inherit;color:inherit;letter-spacing:inherit;padding:0;text-align:left;border-radius:8px}
.say:hover{color:var(--plum)}
.comm-reply{font-family:var(--disp);font-weight:800;font-size:clamp(34px,6.4vw,72px);line-height:.98;
  letter-spacing:.02em;color:var(--plum);margin-bottom:.9rem}
.comm-p{font-size:19px;color:var(--ink-2);max-width:34rem;margin-bottom:1.6rem}

/* ═══════════════ FOOTER (light — the room never darkens) ═══ */
.foot{position:relative;background:var(--field-lo);padding:0 0 2.2rem}
.foot>.wrap{padding-top:clamp(2.2rem,5vw,3.4rem)}
.foot-top{display:flex;justify-content:space-between;align-items:center;gap:1.2rem;flex-wrap:wrap;
  padding-bottom:1.4rem}
.foot-brand{display:flex;align-items:center;gap:.9rem}
.foot-brand img{border-radius:18px;background:var(--enamel);
  box-shadow:inset 0 0 0 1px rgba(14,46,49,.3),0 2px 0 rgba(var(--shadow-ink),.28)}
.foot-brand b{display:block;font-family:var(--disp);font-weight:800;font-size:18px;letter-spacing:.05em}
.foot-ticker{display:block;font-size:13px;color:var(--plum);margin-top:3px}
.foot-links{display:flex;gap:.45rem;flex-wrap:wrap}
.foot-links a{display:inline-flex;align-items:center;gap:.45rem;padding:.5rem .85rem;border-radius:999px;
  background:var(--floor);font-family:var(--body);font-weight:700;font-size:13px;text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 0 0 1px rgba(14,46,49,.2),0 2px 0 var(--nickel-lo);
  transition:background .16s}
.foot-links a:hover{background:var(--butter)}

.odo{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:1.1rem 0}
.odo-drums{display:inline-flex;gap:3px;padding:5px;border-radius:12px;background:var(--ink);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.6)}
.odo-drums i{display:grid;place-items:center;width:26px;height:36px;border-radius:5px;font-style:normal;
  font-family:var(--mono);font-weight:700;font-size:19px;color:var(--ink);
  background:linear-gradient(180deg,#EFEBE0 0%,#FBF9F2 42%,#D6D0C2 56%,#EFEBE0 100%);
  box-shadow:inset 0 -3px 6px rgba(0,0,0,.18),inset 0 3px 6px rgba(0,0,0,.18)}

.foot-tel{display:flex;gap:.5rem 1.6rem;flex-wrap:wrap;padding:.4rem 0 1.2rem}
.foot-tel b{color:var(--plum);margin-left:.4em;font-size:14px}
.safety{font-size:15px;color:var(--ink);background:var(--butter-hi);border-radius:14px;
  padding:.75rem 1rem;margin-bottom:1.1rem;
  box-shadow:inset 0 0 0 1px rgba(14,46,49,.18)}
.disclaimer{font-size:13.5px;line-height:1.65;color:var(--ink-2);max-width:64rem}
.copy{margin-top:1.5rem;color:var(--ink-2)}

/* ═══════════════ OVERLAYS ═══════════════ */
.toast-msg{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);z-index:9500;
  padding:.75rem 1.2rem;border-radius:999px;background:var(--plum);color:var(--cream);
  font-family:var(--body);font-weight:700;font-size:14px;
  box-shadow:0 2px 0 rgba(var(--shadow-ink),.5),0 16px 28px -12px rgba(var(--shadow-ink),.5);
  opacity:0;pointer-events:none;transition:opacity .28s,transform .28s;
  max-width:min(92vw,32rem);text-align:center}
.toast-msg.show{opacity:1;transform:translate(-50%,0)}

.crumb{position:fixed;left:0;top:0;z-index:8500;pointer-events:none;width:0;height:0}
.crumb-bit{position:absolute;padding:0;width:12px;height:10px;border-radius:46% 54% 42% 58%;
  background:linear-gradient(150deg,var(--butter),var(--crust));
  box-shadow:0 1px 0 rgba(var(--shadow-ink),.55);
  pointer-events:auto;cursor:pointer;will-change:transform}
.crumb-bit:hover{filter:brightness(1.12)}
.crumb-bit:focus-visible{outline:3px solid var(--plum);outline-offset:4px;border-radius:50%}

.gravity{position:fixed;inset:0;z-index:9400;pointer-events:none;display:grid;place-items:center}
.grav-line{font-family:var(--disp);font-weight:800;font-size:clamp(24px,5vw,56px);letter-spacing:.03em;
  color:var(--plum);text-align:center;padding:0 1rem;
  text-shadow:0 2px 0 var(--butter),0 0 40px rgba(207,231,226,.95)}
body.grav-on{background:#C6C4BE}
.falling{transition:transform 1.05s cubic-bezier(.55,0,.85,.35) !important}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width:1080px){
  .hero{grid-template-areas:"copy" "room";grid-template-columns:minmax(0,1fr);gap:2.2rem}
  .hero .room{width:100%;max-width:600px;margin:0 auto;aspect-ratio:1/1}
  .hero .wrap.hero-copy{order:-1}
  .chart{grid-template-columns:1fr}
  .chart-paper{position:relative;top:0}

}
@media (max-width:1240px){
  .nav-links a{padding:.5rem .5rem;font-size:13.5px}
  .brand-txt b{font-size:13px}
}
@media (max-width:920px){
  .nav-links{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;gap:0;
    background:var(--floor);padding:.5rem var(--pad) 1.1rem;
    box-shadow:0 16px 28px -16px rgba(var(--shadow-ink),.5)}
  .nav-links.open{display:flex}
  .nav-links a{padding:.8rem .2rem;font-size:17px;
    box-shadow:inset 0 -1px 0 rgba(14,46,49,.14)}
  .nav-links a::after{display:none}
  .nav-links a:last-child{box-shadow:none}
  .burger{display:flex}
  .nav-alt{display:none}
  .brand-txt b{font-size:13px}
}
@media (max-width:620px){
  body{font-size:16px}
  .sec-head,.comm-copy{padding-left:2rem}
  .belt-track{height:64px}
  .pulley{width:64px;height:64px}
  .plate-band img{height:200px}
  .beam-case{width:44%;right:3%}
  .foot-top{flex-direction:column;align-items:flex-start}
  .ca-pill span{font-size:11px}
  .odo-drums i{width:22px;height:31px;font-size:16px}
  .lede,.sec-sub,.comm-p{font-size:17px}
}
@media (max-width:420px){
  .plate-grid{grid-template-columns:1fr}
  .tele-grid{grid-template-columns:1fr 1fr}
  .rheo-tick b{font-size:8px;letter-spacing:0}
  .plates{grid-template-columns:1fr}
}

/* ═══════════════ REDUCED MOTION ═══════════════
   Ambient motion off; the room and the mains stay operable.
   ?motion=force re-enables everything. */
@media (prefers-reduced-motion:reduce){
  html:not(.motion-force){scroll-behavior:auto}
  html:not(.motion-force) *,
  html:not(.motion-force) *::before,
  html:not(.motion-force) *::after{
    animation-duration:.001ms !important;animation-iteration-count:1 !important;
    transition-duration:.001ms !important}
  html:not(.motion-force) .reveal{opacity:1;transform:none}
  html:not(.motion-force) .belt-run{transform:none !important}
}
