
/* ============================================ PACIFIC NORTHWEST PIANO TEACHING
   Design layer for the one-page kind - THE C LOOK, CLEAN (2026-09-30 wording ship + clean
   pass; Victor: "make it perfect and clean again with the new way"). One sheet, written once:
   the layered rounds before it (glass 09-22, WOW 09-29, warmth 09-29, hero C 09-30) were
   folded into the values they ended on, and every rule for markup the page no longer has was
   deleted (the typographic hero, the glance card, the drawn hero keys, the rounded glass
   cards, the About rail, the pull quotes, the four "different" blocks).

   THE SYSTEM
     grounds   black lacquer (--lid) and ivory paper (--paper), alternating on purpose:
               lid hero / Lessons / the drawn grand / the letter / When (mask) / Tuition /
               Enroll / the drawn keys + footer. Light only ever warm, never a colour wash.
     type      Fraunces for display (h1, h2, the letter, the tuition line, h3/h4), Source
               Sans 3 for reading; body 19px, nothing that is read under 18px; labels are
               spaced capitals in the accent (16px).
     rhythm    every section: --sec top and bottom; every h2 then one 72px accent hairline.
     surfaces  ruled ivory cards, square corners (2px) - the tuition card on wine, the form on
               --card. No rounded template cards anywhere.
     buttons   ivory on black (.btn-lid, header Enroll at the top), wine on ivory (.btn-a).
     lines     one gold hairline (--gold) for every drawn line: the mask frame's edge, the
               grand, the foot keyboard.
   ORDER MATTERS: onepage.py appends motion2, masklayers, SEGMENTS, HONEYPOT and FOCUS CSS
   AFTER this sheet. A rule here that restyles one of their classes out-ranks it on
   specificity (`.lform .seg-b`, `.pml-sec .pml`), never on order (OPUS-MISTAKES 70).
   Never content in this file. Words live in site_data.py and teachers.json.
   ========================================================================== */
@font-face{font-family:"Fraunces";src:url(fonts/fraunces-normal.woff2) format("woff2");
 font-weight:450 650;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url(fonts/fraunces-italic.woff2) format("woff2");
 font-weight:450 650;font-style:italic;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url(fonts/sourcesans3-normal.woff2) format("woff2");
 font-weight:200 900;font-style:normal;font-display:swap}
/* the hyphen in "30-minute" from Source Sans (QA-TECH F11): Fraunces' is a hairline at
   label size; the letters stay Fraunces */
@font-face{font-family:"JP Hyphen";src:url(fonts/sourcesans3-normal.woff2) format("woff2");
 font-weight:200 900;font-style:normal;font-display:swap;unicode-range:U+2D,U+2010-2011}

:root{
  color-scheme:light;
  --lid:#070707;     /* black lacquer: hero, grand, When, Enroll, foot */
  --paper:#f6f0e5;   /* ivory paper: Lessons, the letter, Tuition */
  --card:#fbf7ef;    /* a ruled ivory card on either ground */
  --ink:#111111;     /* headings, buttons                     17.0:1 on paper */
  --text:#1f1c18;    /* his words                              15.3:1 */
  --ink2:#3a362f;    /* secondary lines                        10.8:1 */
  --ink3:#5c574d;    /* small print: hints, optional            6.5:1 */
  --ivory:#f2eadb; --ivory-hi:#f6efe2; --ivory-t:#ebe2d2;   /* type on black, >= 15:1 */
  --rule:rgba(25,21,18,.16); --rule-2:rgba(25,21,18,.28);
  --rule-d:rgba(242,234,219,.16); --rule-d2:rgba(242,234,219,.28);
  --accent:#7a1f2b; --accent-d:#5d1721;   /* wine: Enroll, labels, the rules, today */
  --accent-lt:#b4807f;                    /* wine on black, 5:1 (accent.js re-derives it) */
  --wine:#7a1f2b; --wine-d:#4f121b; --wine-l:#f3e6e3;      /* accent.js keeps these in step */
  --gold:#c9a464;    /* the one drawn line */
  --m2-focus:var(--accent);
  --wrap:1240px;
  --hd-min:64px;
  --sec:clamp(72px,10vw,128px);
  --ease:cubic-bezier(.2,.7,.2,1);
  --ease-c:cubic-bezier(.22,.61,.36,1);
  --disp:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Source Sans 3",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;
 scroll-padding-top:calc(var(--hd-min) + 18px);overflow-x:clip}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--lid);color:var(--text);
 font:430 19px/1.72 var(--sans);overflow-x:clip;accent-color:var(--ink);
 -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
main{background:var(--paper)}
img{max-width:100%;height:auto;display:block}
a{color:var(--ink);text-underline-offset:3px;text-decoration-thickness:1px}
h1,h2,h3,h4{font-family:var(--disp);margin:0;text-wrap:balance;color:var(--ink);line-height:1.12}
p{text-wrap:pretty}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px}
@media (min-width:900px){.wrap{padding-inline:56px}}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;background:var(--accent);color:#fff;padding:10px 14px;z-index:200}
/* the dark grounds: ivory type, the light accent, a light focus ring */
.lid,.sband,.pml-sec,.sec-enrol,.keys-foot,.ftr{--m2-focus:var(--accent-lt)}
.lid :focus-visible,.sband :focus-visible,.pml-sec :focus-visible,.sec-enrol>.wrap>:not(.en-grid) :focus-visible,
.en-talk :focus-visible,.ftr :focus-visible{outline-color:var(--accent-lt)}

/* ---------- buttons: square, spaced capitals ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;
 font:650 16px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;
 padding:14px 30px;min-height:52px;border:1px solid transparent;border-radius:1px;cursor:pointer;
 transition:background-color .18s ease,box-shadow .18s ease,transform .18s var(--ease)}
.btn-a{background:var(--accent);color:#fff;box-shadow:0 12px 26px -16px rgba(122,31,43,.85)}
.btn-a:hover{background:var(--accent-d);transform:translateY(-2px);box-shadow:0 16px 30px -16px rgba(122,31,43,.9)}
.btn-lid{background:var(--ivory);color:#0b0a09;min-width:140px;padding-inline:28px;
 box-shadow:0 20px 40px -18px rgba(255,222,176,.42)}
.btn-lid:hover{background:#fffaf0;transform:translateY(-2px);box-shadow:0 26px 46px -18px rgba(255,222,176,.55)}
.btn:active{transform:translateY(0) scale(.985)}
.btn[disabled]{opacity:.7;cursor:progress;transform:none}

/* ---------- header: paper glass once the page moves; clear ivory-on-black over the lid ----
   The glass is on ::before, NOT on .hdr (a backdrop-filter element becomes the backdrop root
   of the phone menu inside it). */
.hdr{position:sticky;top:0;z-index:100;transition:box-shadow .35s ease}
.hdr::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:color-mix(in srgb,var(--paper) 40%,transparent);
 -webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);
 transition:background-color .35s ease}
.hdr.hdr-moved{box-shadow:0 1px 0 var(--rule),0 14px 30px -26px rgba(17,17,17,.5)}
.hdr.hdr-moved::before{background:color-mix(in srgb,var(--paper) 88%,transparent)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .hdr::before{background:var(--paper)}
}
.hdr-in{display:flex;align-items:center;gap:16px;height:var(--hd-min);position:relative}
/* the mark is A5, the bare lid, in the name's own colour, optically locked to the type: the
   bar's flat bottom sits ON the baseline (an svg's baseline is its bottom edge) and the lid's
   flat top on the cap height (1cap). Phones stack the name in two lines and the lid spans
   both: line 1's cap height to line 2's baseline (1lh + 1cap, aligned on the LAST baseline).
   The px values before each unit are the fallbacks for a browser without cap/lh. */
.brand{display:inline-flex;align-items:center;align-items:last baseline;gap:10px;font-family:var(--disp);font-weight:600;
 font-variation-settings:"opsz" 14;font-size:20px;line-height:1.15;text-decoration:none;color:var(--ink);
 padding-block:4px;margin-block:-4px}
/* 2026-09-30 night (Fable: the approved mock had the lid at ~26px, it rendered at 1cap = 14px):
   23px at 1440, centred on the name (it is taller than the caps now, so it is centred on the
   line, lifted 1px so its middle meets the middle of the capitals) */
.brand .mark{flex:none;display:block;width:auto;height:23px;align-self:center;transform:translateY(-1px);aspect-ratio:15.4/22;fill:currentColor}
.nav{margin-left:auto;display:flex;align-items:center;gap:18px}
.nav a{position:relative;font:600 16px/1.2 var(--sans);letter-spacing:.07em;
 text-transform:uppercase;text-decoration:none;color:var(--ink2);transition:color .15s ease}
.nav a:hover{color:var(--ink)}
.nav a[aria-current]{color:var(--ink)}
.nav a[aria-current]::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:1.5px;background:var(--accent)}
.nav a.hdr-tel{letter-spacing:.01em;text-transform:none;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.nav a.btn.hdr-cta{color:#fff;letter-spacing:.12em;padding:10px 20px;min-height:44px}
.burger{display:none;margin-left:auto;background:none;border:0;padding:10px;cursor:pointer;
 border-radius:12px;color:var(--ink)}
.burger span{display:block;width:24px;height:1.5px;background:currentColor;margin:5px 0;
 transition:transform .25s var(--ease),opacity .2s ease}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
/* the phone (and tablet) menu: a paper sheet that drops from the header; hidden = out of
   the tab order */
@media (max-width:980px){
  .burger{display:block}
  .nav{position:absolute;top:calc(100% + 8px);left:12px;right:12px;margin:0;
   flex-direction:column;align-items:stretch;gap:0;padding:6px 18px 18px;
   background:color-mix(in srgb,var(--card) 92%,transparent);
   -webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%);
   border:1px solid var(--rule);border-radius:2px;box-shadow:0 24px 50px -30px rgba(17,17,17,.45);
   visibility:hidden;opacity:0;transform:translateY(-8px) scale(.985);transform-origin:top center;
   transition:opacity .22s ease,transform .22s var(--ease),visibility 0s linear .22s}
  .nav.open{visibility:visible;opacity:1;transform:none;transition:opacity .22s ease,transform .22s var(--ease),visibility 0s}
  .nav a{font-size:18px;letter-spacing:.005em;text-transform:none;color:var(--ink);
   padding:15px 4px;border-bottom:1px solid var(--rule)}
  .nav a[aria-current]{padding-left:16px}
  .nav a[aria-current]::after{left:0;right:auto;top:50%;bottom:auto;width:6px;height:6px;margin-top:-3px;border-radius:50%}
  .nav a.hdr-tel{margin-top:16px;border:1px solid var(--rule-2);border-radius:1px;text-align:center;font-size:17px;padding:13px 16px}
  .nav a.hdr-tel::before{content:"Call ";font-weight:600}
  .nav a.btn.hdr-cta{margin-top:10px;font-size:16px;padding:14px 16px;min-height:50px;border-bottom:0}
}
@media (max-width:620px){
  /* 17.5ch = the lid + gap + "Pacific Northwest" (139px) with room, and too narrow for
     "Pacific Northwest Piano" (187px): the break always falls after Northwest */
  .brand{font-size:16px;max-width:17.5ch;gap:9px;transition:opacity .3s ease,visibility 0s}
  /* the two-line name: the lid spans the whole block (36px), centred on it */
  .brand .mark{height:36px;transform:none}
  /* the name is the lid's own first words on a phone: the bar's copy steps back at the very
     top (motion2: hdr-top) and returns the moment the page moves */
  .hdr.hdr-top .brand{opacity:0;visibility:hidden}
}
/* over the lid, before the page moves: ivory on black (keyed on :has(.lid) so it is the first
   paint; no script = the header scrolls away with the lid) */
body:has(.lid) .hdr:not(.hdr-moved)::before{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
body:has(.lid) .hdr:not(.hdr-moved) .brand{color:var(--ivory)}
body:has(.lid) .hdr:not(.hdr-moved) .burger{color:var(--ivory)}
@media (min-width:981px){
  body:has(.lid) .hdr:not(.hdr-moved) .nav a{color:#e4dacb}
  body:has(.lid) .hdr:not(.hdr-moved) .nav a:hover,body:has(.lid) .hdr:not(.hdr-moved) .nav a.hdr-tel{color:var(--ivory)}
  body:has(.lid) .hdr:not(.hdr-moved) .nav a.btn.hdr-cta{background:transparent;color:var(--ivory);
   border-color:rgba(242,234,219,.6);box-shadow:none}
  body:has(.lid) .hdr:not(.hdr-moved) .nav a.btn.hdr-cta:hover{background:var(--ivory);color:var(--lid)}
}
@media (scripting:none){body:has(.lid) .hdr{position:relative}}

/* ---------- the floating Call / Text / Enroll bar (phones): ivory over every ground -------- */
.callbar{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));
 z-index:110;display:none;gap:8px;padding:7px;border-radius:6px;
 background:color-mix(in srgb,var(--paper) 94%,transparent);
 -webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);
 border:1px solid rgba(255,255,255,.22);box-shadow:0 18px 40px -16px rgba(0,0,0,.6);
 transition:transform .35s var(--ease),opacity .25s ease}
.callbar.cb-away{transform:translateY(calc(100% + 24px));opacity:0;pointer-events:none}
.cb{flex:1;display:flex;align-items:center;justify-content:center;min-height:48px;
 border-radius:3px;font:600 16.5px/1 var(--sans);letter-spacing:.02em;text-decoration:none}
.cb-a{background:var(--ink);color:#fff}
.cb-b{background:#e7dfd0;color:var(--ink)}
.cb-c{background:var(--accent);color:#fff}
@media (max-width:760px){.callbar{display:flex}}

/* ================================================================ THE LID (the hero) ====
   Black lacquer, a lamp's warm light drifting slowly across it, the name in ivory mirrored
   faintly in the black, his line, one ivory Enroll + "or call", the facts on an ivory band,
   and the photo key strip along the foot - the playable keyboard (piano.js). */
.lid{position:relative;isolation:isolate;overflow:hidden;color:var(--ivory);
 margin-top:calc(-1 * var(--hd-min));min-height:100svh;display:flex;flex-direction:column;
 background:radial-gradient(90% 50% at 50% 108%,rgba(255,196,130,.15),transparent 70%),
   linear-gradient(180deg,#0c0b0a 0%,#060606 58%,#0b0908 100%)}
.lid-light{position:absolute;inset:0;z-index:-1;pointer-events:none}
.lid-light::before,.en-light::before{content:"";position:absolute;inset:-20% -40%;
 background:radial-gradient(38% 52% at 30% 30%,rgba(255,214,160,.10),transparent 70%),
   linear-gradient(112deg,transparent 34%,rgba(255,232,196,.035) 41%,rgba(255,228,190,.12) 46%,rgba(255,232,196,.045) 50%,transparent 58%)}
.lid-light::after{content:"";position:absolute;left:0;right:0;top:56%;height:1px;
 background:linear-gradient(90deg,transparent,rgba(255,236,205,.34) 30%,rgba(255,236,205,.5) 55%,transparent);
 box-shadow:0 0 30px 6px rgba(255,216,165,.06)}
@media (prefers-reduced-motion:no-preference){
  .lid-light::before,.en-light::before{animation:lid-drift 22s ease-in-out infinite alternate;will-change:transform}
}
@keyframes lid-drift{from{transform:translateX(-7%)}to{transform:translateX(7%)}}
/* THE VIDEO SLOT (site_data HERO hero_video, empty = nothing rendered): the loop sits under the
   light and a vignette that keeps the ivory type at >= 4.5:1 on the brightest frame */
.lid-vid{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#070707}
.lid-vid video,.lid-vid img{width:100%;height:100%;object-fit:cover;display:block}
.lid-vid::after{content:"";position:absolute;inset:0;
 background:linear-gradient(180deg,rgba(7,7,7,.72) 0%,rgba(7,7,7,.55) 40%,rgba(7,7,7,.82) 100%),
   radial-gradient(80% 60% at 50% 40%,transparent,rgba(7,7,7,.5))}
.lid-tx{flex:1;display:flex;flex-direction:column;justify-content:center;padding-block:calc(var(--hd-min) + 22px) 0}
.lid h1{font-weight:520;font-variation-settings:"opsz" 144;color:var(--ivory);
 font-size:clamp(46px,min(12.4vw,16vh),160px);line-height:.92;letter-spacing:-.03em;
 -webkit-box-reflect:below 2px linear-gradient(transparent 80%,rgba(0,0,0,.15))}
.lid h1 .l1,.lid h1 .l2{display:block}
.lid-by{margin:clamp(18px,min(4vw,4.5vh),58px) 0 0;font-family:var(--disp);font-weight:500;
 font-variation-settings:"opsz" 24;font-size:clamp(20px,1.9vw,24px);font-variant:small-caps;
 letter-spacing:.06em;color:var(--ivory)}
.lid-line{margin:clamp(14px,2.4vw,30px) 0 0;font-size:clamp(21px,2vw,24px);line-height:1.5;
 color:var(--ivory-t);font-weight:450;max-width:30ch}
.lid-act{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:22px}
.lid-act .or{font-size:18px;color:var(--ivory-t)}
.lid-act .or a{display:inline-block;padding:9px 0;margin:-9px 0;color:var(--ivory);font-weight:600;
 white-space:nowrap;font-variant-numeric:tabular-nums;
 text-decoration-color:var(--accent-lt);text-decoration-thickness:1.5px;text-underline-offset:5px}
.lid-act .or a:hover{text-decoration-color:var(--ivory)}
/* the quiet second way in: a text link to the letter, an arrow that steps on hover */
.lid-more{display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:10px 0;
 font:600 18px/1.3 var(--sans);color:var(--ivory);text-decoration:none;
 border-bottom:1px solid rgba(242,234,219,.35);transition:border-color .25s var(--ease-c)}
.lid-more i{display:inline-block;font-style:normal;transition:transform .3s var(--ease-c)}
.lid-more:hover{border-bottom-color:var(--accent-lt)}
.lid-more:hover i{transform:translateX(5px)}
@media (max-width:620px){
  .lid-tx{padding-top:calc(var(--hd-min) + 8px)}
  .lid-by{font-size:19px}
  .lid-more{margin-top:8px}
}
/* at 900+: the line on the left, the actions on the right, both on the band's top edge */
@media (min-width:900px){
  .lid-tx{justify-content:flex-end;padding-bottom:4px}
  .lid-low{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
  .lid-acts{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
  .lid-act{margin-top:0;justify-content:flex-end}
  .lid-more{margin-top:0}
}
/* the facts: a slim ivory band across the black, each a jump to where it is said in full */
.lid-band{background:var(--ivory);color:#191512;margin-top:clamp(28px,4vw,40px)}
.lid-band ul{list-style:none;margin:0 auto;display:grid;grid-template-columns:1fr 1fr}
.lid-band li{min-width:0;border-bottom:1px solid var(--rule)}
.lid-band li:nth-child(odd){border-right:1px solid var(--rule)}
.lid-band li:nth-child(n+3){border-bottom:0}
.lid-band a{display:block;height:100%;padding:12px 12px 13px 0;text-decoration:none;color:inherit}
.lid-band li:nth-child(even) a{padding-left:14px;padding-right:0}
.lid-band b{display:block;font:650 16px/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.lid-band span{display:block;font-family:"JP Hyphen",var(--disp);font-weight:560;font-variation-settings:"opsz" 14;
 font-size:19px;line-height:1.3;margin-top:2px;text-wrap:balance;text-decoration:underline;
 text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:4px;
 transition:text-decoration-color .25s var(--ease-c)}
.lid-band a:hover span{text-decoration-color:currentColor}
@media (min-width:900px){
  .lid-band{margin-top:30px}
  .lid-band ul{grid-template-columns:repeat(4,1fr)}
  .lid-band li,.lid-band li:nth-child(odd){border-bottom:0;border-right:1px solid var(--rule)}
  .lid-band li:last-child{border-right:0}
  .lid-band a,.lid-band li:nth-child(even) a{padding:12px 22px 13px}
  .lid-band li:first-child a{padding-left:0}
}
/* THE PHOTO KEY STRIP: a licensed photo, straight on, edge to edge under the band; the zone
   set and the picture's place follow keys/keymap.json's three layouts */
.lid-keys{position:relative;overflow:hidden;background:#000;aspect-ratio:3.35664}
.kstrip picture{display:contents}
.kstrip .kimg{position:absolute;top:0;height:100%;max-width:none;width:233.333%;left:-66.667%}
.kstrip .kz{position:absolute;inset:0;width:100%;height:100%;display:none;z-index:2}
.kstrip .kz-390{display:block}
@media (min-width:768px){
  .lid-keys{aspect-ratio:5.03497}
  .kstrip .kimg{width:155.556%;left:-27.778%}
  .kstrip .kz-390{display:none}.kstrip .kz-768{display:block}
}
@media (min-width:1440px){
  .lid-keys{aspect-ratio:7.83217}
  .kstrip .kimg{width:100%;left:0}
  .kstrip .kz-768{display:none}.kstrip .kz-1440{display:block}
}
.kstrip .keys rect{fill:transparent;stroke:none}
.kstrip .kz-390 rect.on{fill:url(#kon390)}.kstrip .kz-768 rect.on{fill:url(#kon768)}.kstrip .kz-1440 rect.on{fill:url(#kon1440)}
@media (hover:hover){.kstrip .keys rect:hover{fill:rgba(255,214,160,.08)}}
/* PLAYABLE (piano.js adds .kplay and presses .on) */
.keys.kplay{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;
 -webkit-tap-highlight-color:transparent}
.keys.kplay rect{cursor:pointer;outline:none}
.kstrip .keys.kplay rect:focus-visible{stroke:var(--accent-lt);stroke-width:2;vector-effect:non-scaling-stroke}
/* the one-time "Your keyboard plays too" pill (piano.js, mouse/pen only) */
.khint{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);margin:0;z-index:3;
 padding:7px 14px;border-radius:999px;background:rgba(20,18,16,.9);color:#f6f1e8;
 font:600 16px/1.25 var(--sans);letter-spacing:.01em;white-space:nowrap;pointer-events:none}
.khint.out{animation:khout .4s ease forwards}
@keyframes khout{to{opacity:0}}
/* the arrival: every line rises into place (transform + a short fade, readable inside
   400 ms, nothing waits on a script) */
@media (prefers-reduced-motion:no-preference){
  .lid h1 .l1{animation:c-up 1s var(--ease-c) both}
  .lid h1 .l2{animation:c-up 1s .1s var(--ease-c) both}
  .lid-by{animation:c-up .9s .15s var(--ease-c) both}
  .lid-line{animation:c-up .9s .2s var(--ease-c) both}
  .lid-act,.lid-more{animation:c-up .9s .3s var(--ease-c) both}
  .lid-band li{animation:c-up .8s .38s var(--ease-c) both}
  .lid-band li:nth-child(2){animation-delay:.44s}.lid-band li:nth-child(3){animation-delay:.5s}
  .lid-band li:nth-child(4){animation-delay:.56s}
  .lid-keys{animation:c-up 1s .45s var(--ease-c) both}
}
@keyframes c-up{from{opacity:.001;transform:translateY(22px)}to{opacity:1;transform:none}}

/* ======================================================================== SECTIONS ====
   One rhythm: --sec above and below every section; the h2, one 72px hairline, the content. */
.sec{padding-block:var(--sec)}
.sec h2{font-weight:520;font-variation-settings:"opsz" 144;font-size:clamp(42px,7.4vw,72px);
 line-height:1.02;letter-spacing:-.02em;max-width:18ch}
.sec h2::after{content:"";display:block;width:72px;height:1px;background:var(--accent);margin:22px 0 clamp(30px,3.4vw,44px)}
.sec .dek{margin:0 0 clamp(30px,3.4vw,44px);font-size:clamp(19px,1.8vw,21px);line-height:1.6;color:var(--text);max-width:46ch}
/* the label: spaced capitals in the accent - over a column, beside a sentence, over a question */
.lab{margin:0;font:650 16px/1.35 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}

/* ---- LESSONS: how it works + the year, two columns from 760 ---- */
.lcols{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(30px,4vw,48px) clamp(32px,5vw,72px)}
@media (min-width:760px){.lcols{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}}
.lcol{padding-top:22px;border-top:1px solid var(--rule-2)}
.lcol .lab{margin-bottom:12px}
.lcol p{margin:0;font-size:clamp(20px,1.8vw,21px);line-height:1.65;color:var(--text);max-width:52ch}

/* ---- THE GRAND, DRAWN (the pre-C line drawing, restyled): gold hairlines on the lid with the
   lamp's warmth behind; no fills. It draws itself in once as it arrives (design JS sets
   fx-wait on a band still below the fold, fx-draw when it comes in); no script or reduced
   motion = the drawing, finished. Every shape has pathLength=1, so one dash runs them all. */
.sband{position:relative;isolation:isolate;overflow:hidden;padding-block:var(--sec);
 background:radial-gradient(60% 70% at 50% 40%,rgba(255,214,160,.09),transparent 70%),
   linear-gradient(180deg,#0b0a09 0%,#060606 100%)}
.sb-art{display:flex;justify-content:center}
.gp{display:block;width:min(100%,860px);height:auto;overflow:visible}
.gp *{fill:none;stroke:var(--gold);stroke-width:1.2px;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.gp .gp-l{opacity:.9}
.gp .gp-t{opacity:.45}
.gp .gp-k line{opacity:.5}
.gp .gp-b rect{opacity:.7}
.gp .gp-s line{opacity:.35}
/* a phone: the 52 key lines would close up into a solid bar - the keyslip outline and the
   black keys say keyboard on their own */
@media (max-width:600px){.gp .gp-k{display:none}.gp .gp-b rect{opacity:.55}}
@media (prefers-reduced-motion:no-preference){
  .sband.fx-wait .gp *{stroke-dasharray:1;stroke-dashoffset:1}
  .sband.fx-draw .gp *{stroke-dasharray:1;animation:gp-draw 2.6s var(--ease-c) both}
  .sband.fx-draw .gp .gp-k *,.sband.fx-draw .gp .gp-b *{animation-delay:.5s}
  .sband.fx-draw .gp .gp-s *{animation-delay:.9s}
}
@keyframes gp-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}

/* ---- THE LETTER: his bio whole, signed. Labels in the left margin at 980+, above each
   sentence below that. The portrait slot beside it renders nothing until a photo exists. ---- */
.lt-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0 0 clamp(26px,3vw,36px)}
.lt{margin:0;font-family:var(--disp);font-weight:480;font-variation-settings:"opsz" 36;
 font-size:clamp(22px,2.2vw,31px);line-height:1.42;letter-spacing:-.005em;color:var(--ink);max-width:34em}
.lt-sign{margin:0;font-family:var(--disp);font-style:italic;font-weight:500;
 font-size:clamp(26px,2.4vw,32px);line-height:1.2;color:var(--ink)}
.lt-sign::before{content:"\2014\00a0"}
@media (min-width:980px){
  .lt-row{grid-template-columns:minmax(0,3fr) minmax(0,9fr);column-gap:clamp(32px,4vw,56px)}
  .lt-row .lab{padding-top:.55em}
}
.letter.has-ph{display:grid;gap:clamp(28px,4vw,56px)}
.lt-ph{max-width:300px}
@media (min-width:1100px){.letter.has-ph{grid-template-columns:minmax(0,1fr) 300px}.lt-ph{grid-column:2;grid-row:1}}
/* the close: one ruled row, "Ready to start?" and the wine Enroll */
.dclose{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 30px;
 margin-top:clamp(40px,5vw,64px);padding-block:clamp(22px,3vw,30px);
 border-top:1px solid var(--rule-2);border-bottom:1px solid var(--rule-2)}
.dclose p{margin:0;font-family:var(--disp);font-weight:520;font-variation-settings:"opsz" 72;
 font-size:clamp(28px,3.4vw,40px);line-height:1.1;color:var(--ink)}

/* ---- WHERE I TEACH: one line in the letter's voice; the tuition card follows on the same
   ground, so one --sec between them, not two ---- */
.sec-where+.sec-tu{padding-top:0}
.sec-tu+.sec-trial{padding-top:0}
/* BOOK A TRIAL LESSON: its own way to book under the line - the wine Text button and
   "or call", the hero's pair on paper (never through the Enroll form) */
.tr-act{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin:clamp(22px,2.6vw,30px) 0 0}
.tr-act .or{font-size:18px;color:var(--ink2)}
.tr-act .or a{display:inline-block;padding:9px 0;margin:-9px 0;color:var(--ink);font-weight:600;
 white-space:nowrap;font-variant-numeric:tabular-nums;
 text-decoration-color:var(--accent);text-decoration-thickness:1.5px;text-underline-offset:5px}
.tr-act .or a:hover{text-decoration-color:var(--ink)}

/* ---- WHEN I TEACH: the signature mask band (library/parts/masklayers), black lacquer, the
   week in ivory beside the piano frame; only the days he teaches ---- */
.pml-sec{background:var(--lid);color:var(--ivory);--pml-top:var(--hd-min);--pml-ground:#0b0708}
.pml-sec .pml-copy h2{color:var(--ivory)}
.pml-sec h2::after{background:var(--accent-lt)}
.tt{margin:0;max-width:620px;border-top:1px solid var(--rule-d2);border-bottom:1px solid var(--rule-d2)}
.tt-day{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;
 gap:4px 20px;padding:15px 0;border-top:1px solid var(--rule-d)}
.tt-day:first-child{border-top:0}
.tt-dh{margin:0;font:600 19px/1.35 var(--sans);color:var(--ivory)}
.tt-ev{margin:0;text-align:right}
.tt-ev b{font-weight:600;font-size:19px;line-height:1.35;color:var(--ivory-t);font-variant-numeric:tabular-nums}
.tt-day.today .tt-dh{color:var(--accent-lt)}
.tt-day.today .tt-dh::after{content:" \00b7  today";font-weight:600}
/* the frame's edge is the gold OUTLINE only (no drawn key strip), at the page's one line
   weight: stroke 3 of 1000 = ~1-1.4px on the frame's 340-480px */
.pml-sec .pml,.about-ph.pml{--pml-gold:var(--gold);--pml-edge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1400' preserveAspectRatio='none'%3E%3Cpath d='M0 1400L0 170C0 70 70 0 170 0C270 0 325 55 360 100C450 217 600 600 880 712C950 740 1000 800 1000 950L1000 1400Z' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E")}
.pml-sec .pml.pml-s,.about-ph.pml.pml-s{--pml-edge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1600' preserveAspectRatio='none'%3E%3Cpath d='M0 1600L0 170C0 70 70 0 170 0C270 0 325 55 360 100C450 217 610 700 890 840C960 875 1000 940 1000 1080L1000 1600Z' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E")}
/* 2026-09-30 night - THE REAL PHOTOS (handoff/mask-pro): the frame is a real grand's plan
   (traced from the perspective-corrected overhead photo the lid layer IS, at 1.25 = a 6-foot
   grand). Its edge: a 1px gold hairline + a soft inner shadow (the lacquer turning away), a
   warm glow behind the silhouette. Same specificity shape as the part's rules + one class,
   so these win wherever the part's CSS lands (OPUS-MISTAKES 70). */
.pml-sec .pml[data-layers]{--ar:1000/1250;--r:1.25;--pml-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1250' preserveAspectRatio='none'%3E%3Cpath d='M114 74C121 68 127 64 134 60C140 57 143 55 150 51C158 47 173 40 181 36C190 33 193 31 201 28C209 25 222 21 230 19C239 16 242 15 252 13C261 11 275 8 285 6C296 5 303 4 313 3C323 2 334 1 345 0C356 0 368 -0 378 0C389 0 397 1 408 2C419 3 432 4 445 6C458 8 472 10 486 14C500 18 519 25 531 29C543 34 547 36 556 41C565 46 577 52 586 58C594 64 601 69 609 76C617 83 627 92 633 99C639 106 643 111 647 116C651 121 650 118 657 131C665 143 681 173 692 191C703 209 714 226 724 240C734 255 743 267 752 278C761 289 770 298 779 307C789 316 799 324 810 333C820 341 834 350 844 356C853 363 855 364 867 370C879 377 905 389 916 395C927 401 928 402 934 406C940 411 948 417 954 423C961 429 967 436 972 443C977 450 981 458 984 464C987 469 988 472 990 476C991 480 992 482 993 488C994 493 994 494 995 509C996 525 999 458 1000 581L1000 1250L0 1250L0 286C0 122 0 274 1 266C2 257 4 245 6 237C8 228 9 223 12 215C14 208 17 199 22 190C26 181 32 169 37 159C43 150 49 141 55 134C60 126 65 120 71 113C77 107 83 101 90 94C97 88 106 80 114 74Z'/%3E%3C/svg%3E")}
.pml-sec .pml[data-layers] .pml-stage::after,.pml-sec .pml[data-layers]>figure::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1250' preserveAspectRatio='none'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Cpath d='M114 74C121 68 127 64 134 60C140 57 143 55 150 51C158 47 173 40 181 36C190 33 193 31 201 28C209 25 222 21 230 19C239 16 242 15 252 13C261 11 275 8 285 6C296 5 303 4 313 3C323 2 334 1 345 0C356 0 368 -0 378 0C389 0 397 1 408 2C419 3 432 4 445 6C458 8 472 10 486 14C500 18 519 25 531 29C543 34 547 36 556 41C565 46 577 52 586 58C594 64 601 69 609 76C617 83 627 92 633 99C639 106 643 111 647 116C651 121 650 118 657 131C665 143 681 173 692 191C703 209 714 226 724 240C734 255 743 267 752 278C761 289 770 298 779 307C789 316 799 324 810 333C820 341 834 350 844 356C853 363 855 364 867 370C879 377 905 389 916 395C927 401 928 402 934 406C940 411 948 417 954 423C961 429 967 436 972 443C977 450 981 458 984 464C987 469 988 472 990 476C991 480 992 482 993 488C994 493 994 494 995 509C996 525 999 458 1000 581L1000 1250L0 1250L0 286C0 122 0 274 1 266C2 257 4 245 6 237C8 228 9 223 12 215C14 208 17 199 22 190C26 181 32 169 37 159C43 150 49 141 55 134C60 126 65 120 71 113C77 107 83 101 90 94C97 88 106 80 114 74Z'/%3E%3C/clipPath%3E%3Cfilter id='b' x='-10%25' y='-10%25' width='120%25' height='120%25'%3E%3CfeGaussianBlur stdDeviation='9'/%3E%3C/filter%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Cpath d='M114 74C121 68 127 64 134 60C140 57 143 55 150 51C158 47 173 40 181 36C190 33 193 31 201 28C209 25 222 21 230 19C239 16 242 15 252 13C261 11 275 8 285 6C296 5 303 4 313 3C323 2 334 1 345 0C356 0 368 -0 378 0C389 0 397 1 408 2C419 3 432 4 445 6C458 8 472 10 486 14C500 18 519 25 531 29C543 34 547 36 556 41C565 46 577 52 586 58C594 64 601 69 609 76C617 83 627 92 633 99C639 106 643 111 647 116C651 121 650 118 657 131C665 143 681 173 692 191C703 209 714 226 724 240C734 255 743 267 752 278C761 289 770 298 779 307C789 316 799 324 810 333C820 341 834 350 844 356C853 363 855 364 867 370C879 377 905 389 916 395C927 401 928 402 934 406C940 411 948 417 954 423C961 429 967 436 972 443C977 450 981 458 984 464C987 469 988 472 990 476C991 480 992 482 993 488C994 493 994 494 995 509C996 525 999 458 1000 581L1000 1250L0 1250L0 286C0 122 0 274 1 266C2 257 4 245 6 237C8 228 9 223 12 215C14 208 17 199 22 190C26 181 32 169 37 159C43 150 49 141 55 134C60 126 65 120 71 113C77 107 83 101 90 94C97 88 106 80 114 74Z' fill='none' stroke='%23000' stroke-opacity='.55' stroke-width='34' filter='url(%23b)'/%3E%3C/g%3E%3Cpath d='M114 74C121 68 127 64 134 60C140 57 143 55 150 51C158 47 173 40 181 36C190 33 193 31 201 28C209 25 222 21 230 19C239 16 242 15 252 13C261 11 275 8 285 6C296 5 303 4 313 3C323 2 334 1 345 0C356 0 368 -0 378 0C389 0 397 1 408 2C419 3 432 4 445 6C458 8 472 10 486 14C500 18 519 25 531 29C543 34 547 36 556 41C565 46 577 52 586 58C594 64 601 69 609 76C617 83 627 92 633 99C639 106 643 111 647 116C651 121 650 118 657 131C665 143 681 173 692 191C703 209 714 226 724 240C734 255 743 267 752 278C761 289 770 298 779 307C789 316 799 324 810 333C820 341 834 350 844 356C853 363 855 364 867 370C879 377 905 389 916 395C927 401 928 402 934 406C940 411 948 417 954 423C961 429 967 436 972 443C977 450 981 458 984 464C987 469 988 472 990 476C991 480 992 482 993 488C994 493 994 494 995 509C996 525 999 458 1000 581L1000 1250L0 1250L0 286C0 122 0 274 1 266C2 257 4 245 6 237C8 228 9 223 12 215C14 208 17 199 22 190C26 181 32 169 37 159C43 150 49 141 55 134C60 126 65 120 71 113C77 107 83 101 90 94C97 88 106 80 114 74Z' fill='none' stroke='%23c9a464' stroke-opacity='.82' stroke-width='4.2'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;-webkit-mask:none;mask:none;opacity:1}
.pml-sec .pml[data-layers] .pml-frame::before{top:calc(var(--fh) * -.12);height:calc(var(--fh) * 1.24);width:auto;aspect-ratio:var(--ar);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1550' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-30%25' y='-30%25' width='160%25' height='160%25'%3E%3CfeGaussianBlur stdDeviation='60'/%3E%3C/filter%3E%3C/defs%3E%3Cg transform='translate(0 150)'%3E%3Cpath d='M114 74C121 68 127 64 134 60C140 57 143 55 150 51C158 47 173 40 181 36C190 33 193 31 201 28C209 25 222 21 230 19C239 16 242 15 252 13C261 11 275 8 285 6C296 5 303 4 313 3C323 2 334 1 345 0C356 0 368 -0 378 0C389 0 397 1 408 2C419 3 432 4 445 6C458 8 472 10 486 14C500 18 519 25 531 29C543 34 547 36 556 41C565 46 577 52 586 58C594 64 601 69 609 76C617 83 627 92 633 99C639 106 643 111 647 116C651 121 650 118 657 131C665 143 681 173 692 191C703 209 714 226 724 240C734 255 743 267 752 278C761 289 770 298 779 307C789 316 799 324 810 333C820 341 834 350 844 356C853 363 855 364 867 370C879 377 905 389 916 395C927 401 928 402 934 406C940 411 948 417 954 423C961 429 967 436 972 443C977 450 981 458 984 464C987 469 988 472 990 476C991 480 992 482 993 488C994 493 994 494 995 509C996 525 999 458 1000 581L1000 1250L0 1250L0 286C0 122 0 274 1 266C2 257 4 245 6 237C8 228 9 223 12 215C14 208 17 199 22 190C26 181 32 169 37 159C43 150 49 141 55 134C60 126 65 120 71 113C77 107 83 101 90 94C97 88 106 80 114 74Z' fill='%23ffd6a0' fill-opacity='.11' filter='url(%23b)'/%3E%3C/g%3E%3C/svg%3E") 50% 50%/100% 100% no-repeat}
/* no JS / reduced motion: the still frame's <img> carries the mask (its <picture> is display:contents) */
.pml-sec .pml[data-layers]>figure img{height:auto;aspect-ratio:var(--ar);-webkit-mask:var(--pml-mask) 0 0/100% 100% no-repeat;mask:var(--pml-mask) 0 0/100% 100% no-repeat}
/* 2026-10-01 (Victor: "have the piano keep scrolling slightly as the photos are changed ... right now
   it feels like it just stops"): the frame is never pinned - over 1.2 screens of scroll it travels up
   the screen at 0.3x the scroll speed while the three layers change evenly across it, and the week
   beside it (900px+) travels with it (library/parts/masklayers, the travelling frame). The frame is a
   little shorter on desktop (70svh) so it stays whole through the middle of its travel. */
.pml-sec .pml[data-layers]{--hold:1.2;--drift:.3;--fh:min(calc(70svh - var(--pml-top)),calc(var(--r) * 100cqw))}
/* 2026-10-10 (Victor: "on mobile, as I scroll it's a little bit not smooth"): under 900px (the week
   stacks above, nothing travels beside it) the frame scrolls WITH the page - no slow travel, no
   counter-drift of the picture inside the mask, no extra layers - and only the cross-fades follow the
   scroll. --hold .4 finishes the three photos as the frame's top reaches the header. */
@media (max-width:899px){
  .pml-sec .pml[data-layers]{--hold:.4;--drift:1}
  .pml-sec .pml-pin .pml-frame{will-change:auto;animation:none;transform:none!important}
  .pml-sec .pml-pin .pml-stage figure>:first-child,.pml-sec .pml-pin .pml-stage figure>picture>img{
   will-change:auto;animation:none!important;transform:none!important}
}
.pml figure picture{display:contents}
.pml figure img{width:100%;height:100%;object-fit:cover}
/* the portrait (when his photo exists) in the small piano mask */
.about-ph.pml{margin:0;max-width:300px;overflow:visible}
.about-ph.pml img{width:100%;height:100%;object-fit:cover;display:block}

/* ---- TUITION: the card on wine, then billing and missed lessons, open ---- */
.tucard{position:relative;max-width:760px;padding:clamp(26px,3.6vw,40px);border-radius:2px;color:#f4e9e4;
 background-color:var(--accent);background-image:linear-gradient(140deg,#8a2433 0%,#5a1520 100%);
 box-shadow:0 34px 60px -32px rgba(90,21,32,.75)}
.tucard::before{content:"";position:absolute;inset:10px;border:1px solid rgba(255,244,230,.28);pointer-events:none}
.tucard .tuition{font-weight:560;font-variation-settings:"opsz" 36;font-size:clamp(28px,3.2vw,38px);
 line-height:1.15;color:#fbf6ee}
.tucard .tuition::after{content:none}
.tucard .tunote{margin:14px 0 0;font-size:19px;line-height:1.65;color:#f4e9e4;max-width:56ch}
.policy{max-width:760px;margin-top:clamp(44px,5vw,64px);padding-top:clamp(26px,3vw,34px);border-top:1px solid var(--rule-2)}
.policy h3{font-weight:600;font-variation-settings:"opsz" 14;font-size:clamp(25px,2.4vw,29px);margin-bottom:14px}
.policy p{margin:0;font-size:clamp(19px,1.7vw,20px);line-height:1.8;color:var(--text);max-width:64ch}
.lnote{margin-top:28px;padding:4px 0 4px 20px;border-left:2px solid var(--accent)}
.lnote h4{font-weight:650;font-variation-settings:"opsz" 14;font-size:21px;margin-bottom:6px;color:var(--text)}
.policy .lnote p{font-size:19px;line-height:1.7}

/* ---- ENROLL: the page's closing lid - the same black and lamp light as the hero, ivory
   type, three steps, the form on an ivory card, "Rather talk?" beside it ---- */
.sec-enrol{position:relative;isolation:isolate;overflow:hidden;color:var(--ivory);
 background:radial-gradient(90% 60% at 50% 0%,rgba(255,196,130,.10),transparent 70%),
   linear-gradient(180deg,#0b0908 0%,#060606 60%,#0a0908 100%)}
.en-light{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.sec-enrol h2{color:var(--ivory)}
.sec-enrol h2::after{background:var(--accent-lt)}
.sec-enrol .dek{color:var(--ivory-t)}
.steps3{list-style:none;counter-reset:s3;margin:0 0 clamp(30px,3.6vw,48px);padding:0;
 display:grid;grid-template-columns:1fr;max-width:none;border-top:1px solid var(--rule-d2)}
.steps3 li{counter-increment:s3;display:flex;align-items:baseline;gap:16px;padding:14px 0;
 border-bottom:1px solid var(--rule-d);font-size:19px;line-height:1.4;color:var(--ivory)}
.steps3 li::before{content:counter(s3);font-family:var(--disp);font-weight:560;font-variation-settings:"opsz" 36;
 font-size:26px;line-height:1;color:var(--accent-lt);min-width:20px}
@media (min-width:760px){.steps3{grid-template-columns:repeat(3,1fr);column-gap:28px}}
.en-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:start}
@media (min-width:1100px){.en-grid{grid-template-columns:minmax(0,8fr) minmax(0,4fr)}}
.en-talk{padding-top:22px;border-top:1px solid var(--rule-d2)}
.en-talk .lab{color:var(--accent-lt);margin-bottom:8px}
.en-talk p:last-child{margin:0;font-size:20px;line-height:1.6;color:var(--ivory-t)}
.en-talk a{color:var(--ivory);font-weight:600;text-decoration-color:var(--accent-lt);
 text-decoration-thickness:1.5px;text-underline-offset:5px}
.en-talk a:hover{text-decoration-color:var(--ivory)}
.en-talk .en-num{display:block;margin-top:2px;font-family:var(--disp);font-weight:560;font-size:clamp(26px,2.4vw,30px);
 font-variant-numeric:tabular-nums;white-space:nowrap}
.en-talk .en-mail{display:block;margin-top:6px;font-size:17px;font-weight:500;overflow-wrap:anywhere}
/* the form: a ruled ivory card, square fields and pills */
.lform{container-type:inline-size;display:grid;grid-template-columns:repeat(12,1fr);
 gap:24px clamp(18px,3vw,30px);padding:clamp(22px,4.5vw,46px);color:var(--text);
 background:var(--card);border:1px solid rgba(255,255,255,.4);border-radius:2px;
 box-shadow:0 40px 90px -40px rgba(0,0,0,.8)}
.lform>*{grid-column:span 12;min-width:0}
/* every row adds to twelve: who's learning 7 + age 5 (child) or 12 (adult), the name and
   the contact pair 5 + 7 */
@container (min-width:620px){
  .lform>.fq:nth-child(1){grid-column:span 7}
  .lform>.fq:nth-child(1):has(+ .fq[hidden]){grid-column:span 12}
  .lform>.fq:nth-child(2){grid-column:span 5}
  .lform>.fq:nth-child(7){grid-column:span 5}
  .lform>.fq:nth-child(8){grid-column:span 7}
}
.lform>.fq[hidden]{display:none}
.fq label{display:block;font:600 18px/1.35 var(--sans);color:var(--ink);margin-bottom:9px}
.fq label small{font-weight:500;color:var(--ink3);font-size:16px;margin-left:3px}
.fh{display:block;color:var(--ink3);font-size:17px;margin:-3px 0 10px;line-height:1.45}
.lform input,.lform select,.lform textarea{width:100%;font:430 18px/1.45 var(--sans);color:var(--ink);
 background:#fffdf8;border:1px solid #cfc5b4;border-radius:2px;padding:12px 15px;min-height:52px;
 appearance:none;-webkit-appearance:none;transition:border-color .15s ease,box-shadow .15s ease}
.lform input:hover,.lform select:hover,.lform textarea:hover{border-color:#a99f8d}
.lform select{padding-right:42px;cursor:pointer;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233a362f' stroke-width='1.6'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px}
.lform textarea{min-height:116px;resize:none}
.lform input:focus,.lform select:focus,.lform textarea:focus{outline:0;border-color:var(--ink);
 background:#fff;box-shadow:0 0 0 4px rgba(17,17,17,.07)}
.lform .seg{gap:10px}
.lform .seg-b{padding:11px 22px;min-height:48px;border-radius:2px;border:1px solid #cfc5b4;
 background:#fffdf8;color:var(--ink);font:600 17px/1.2 var(--sans);
 transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s var(--ease)}
.lform .seg-b:hover{border-color:var(--ink)}
.lform .seg-b:active{transform:scale(.97)}
.lform .seg-b.seg-on{background:var(--ink);border-color:var(--ink);color:var(--ivory-hi)}
.lform button[type=submit]{justify-self:start;min-width:200px}
.fok,.ferr{margin:0}
.fok{font-family:var(--disp);font-weight:500;font-variation-settings:"opsz" 24;
 font-size:clamp(21px,2.4vw,24px);line-height:1.35;color:var(--ink)}
.fok a{white-space:nowrap;font-variant-numeric:tabular-nums;text-decoration-color:var(--accent);text-underline-offset:4px}
.lform .fok:focus,.lform .fok:focus-visible{outline:0}   /* focus is moved there for screen readers; no ring */
.ferr{font-size:18px;color:var(--accent);font-weight:600}
.lform.sent .fq,.lform.sent button[type=submit]{display:none}

/* ---- the page closes on the drawn keys (Victor: "I liked the drawings"): gold and ivory
   hairlines on black, not playable, then the dark footer ---- */
.keys-foot{position:relative;height:clamp(64px,7vw,96px);background:var(--lid);overflow:hidden;
 border-top:1px solid rgba(201,164,100,.35)}
.kline{display:block;width:100%;height:100%}
.kline rect{fill:none;vector-effect:non-scaling-stroke;stroke-width:1px}
.kline .lw{stroke:rgba(242,234,219,.42)}
.kline .lk{stroke:var(--gold);opacity:.85}
.ftr{position:relative;background:var(--lid);color:#e9e1d4;padding-block:clamp(44px,6vw,68px) 28px}
.ftr-in{display:flex;flex-wrap:wrap;gap:18px 40px;align-items:baseline;justify-content:space-between}
.ftr-brand b{display:block;font-family:var(--disp);font-weight:560;font-variation-settings:"opsz" 14;
 font-size:clamp(20px,5vw,24px);line-height:1.2;max-width:22ch;color:#fbf6ee}
.ftr-fx{display:flex;flex-wrap:wrap;gap:6px 26px;color:#d8cfc0;font-size:18px}
.ftr-fx a{display:inline-block;padding:9px 0;margin:-9px 0;color:#fbf6ee;font-variant-numeric:tabular-nums}
.ftr-legal{margin-top:34px;padding-top:16px;border-top:1px solid rgba(255,255,255,.14);
 display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;color:#bdb3a3;font-size:16px}
.ftr-legal .kcred{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.3)}
.ftr-legal .kcred:hover{color:#fbf6ee}
/* the phone's bar room lives INSIDE the dark footer, so the page never ends on a paper strip */
@media (max-width:760px){.ftr{padding-bottom:calc(28px + 92px + env(safe-area-inset-bottom,0px))}}

/* ---------- no motion for anyone who asked for none ---------- */
@media (prefers-reduced-motion:reduce){
  .btn,.lform .seg-b,.burger span,.nav,.callbar,.lid-more i{transition:none}
  .btn:hover,.btn:active,.lform .seg-b:active,.lid-more:hover i{transform:none}
  .lid-light::before,.en-light::before{animation:none}
}
.pml-sec .ml-mask-hands img{background:#0b0708 url(data:image/webp;base64,UklGRswAAABXRUJQVlA4IMAAAAAwBQCdASoYAB4APu1sq1EppaOiqAqpMB2JZQAD4/Zl7VfgTpyg4Dlv0wLIcNiUtRoLgAD+/KrwQbikhTyB+NzoIDfjfHH/47J9QdrNrCsuTg/QfItLz+kWNlDIW1bvkZE1YFDET8jdA7Xu3tGH36FQf0XyEeD7F3nI7myr6ggG98QxHCPQmk5xXmeprTlZ2toAtOLX7YlFAuypObskwtAaDRb4OoSExsJSeNUiKsqGIy+j+58VDoAD8Mb3EGkAAAA=) 50% 50%/cover no-repeat}.pml-sec .ml-mask-inside img{background:#0b0708 url(data:image/webp;base64,UklGRpYAAABXRUJQVlA4IIoAAAAQBQCdASoYAB4APu1srFEppaQiqAqpMB2JZQDHMDTv49ZndR2OObt86uhvqiPkZyoAAP75vPGdTAUQ9I2xWxgZ552u4woxnA4llZzUpJD1J6WWVaGqttOMw3MQ6pX7ZoZHkYe8gAp8xsiEtdbDBTx+GHLK0PckdSzr20jb2moRlGb4pVmwrGyAAAA=) 50% 50%/cover no-repeat}.pml-sec .ml-mask-lid img{background:#0b0708 url(data:image/webp;base64,UklGRpQAAABXRUJQVlA4IIgAAADwBACdASoYAB4APt1UpE2opCOiN/qoARAbiWcAz6Aj/SLO5liP0c/T9V9D+hKDv8AA/qWVfvs1NekexO8LqUxkgrtTE2cGIJ8Nn0MV5tApvE6kG0QoDeIAk1JeqvYv6RukOWTlF9/PC5x3jFfYyvt3jqqmsrCm+4ocQSNjV+LcLoxZ9zdckgAA) 50% 50%/cover no-repeat}@media screen{.m2:not(.m2-go) [data-in]:not([data-stagger]),.m2:not(.m2-go) [data-in][data-stagger]>*{opacity:0;animation:m2safe 0s 3s forwards}.m2-w{opacity:0;transform:var(--m2t,translate3d(0,16px,0))}.m2k-big{--m2t:translate3d(0,28px,0)}.m2k-row{--m2t:translate3d(0,10px,0)}.m2k-card{--m2t:translate3d(0,22px,0) scale(.97)}.m2k-fade{--m2t:none}.m2k-l{--m2t:translate3d(-24px,0,0)}.m2k-r{--m2t:translate3d(24px,0,0)}.m2k-keys{--m2t:translate3d(0,48px,0)}.m2-w.m2-on{opacity:1;transform:none;transition:opacity .32s cubic-bezier(.2,.7,.3,1) var(--m2d,0ms),transform .6s cubic-bezier(.165,.84,.44,1) var(--m2d,0ms)}.m2k-keys.m2-on{transition-duration:.5s,1s}.m2k-card.m2-on{transition-duration:.32s,.7s}}@keyframes m2safe{to{opacity:1}}[data-hide]{transition:transform .4s cubic-bezier(.25,.46,.45,.94)}[data-hide].m2-up{transform:translate3d(0,-100%,0)}.m2-btn{transition:transform .2s cubic-bezier(.2,.7,.3,1),background-color .2s,color .2s,box-shadow .2s}.m2-btn:active{transform:translateY(0) scale(.98);transition-duration:.06s}.m2-btn:focus-visible,.m2-link:focus-visible,.m2-vbtn:focus-visible{outline:2px solid var(--m2-focus,#c9a464);outline-offset:3px}.m2-link{text-decoration:none;padding-bottom:2px;background:linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat,linear-gradient(var(--m2-line,rgba(201,164,100,.75)),var(--m2-line,rgba(201,164,100,.75))) 0 100% / 100% 1px no-repeat;transition:background-size .35s cubic-bezier(.165,.84,.44,1)}.m2-link:active{opacity:.7}.m2-lift{transition:transform .35s cubic-bezier(.165,.84,.44,1),box-shadow .35s}@media (hover:hover){.m2-btn:hover{transform:translateY(-2px)}.m2-btn:active{transform:translateY(0) scale(.98)}.m2-link:hover{background-size:100% 1px,100% 1px}.m2-lift:hover{transform:translateY(-4px)}}.m2-vbtn{position:absolute;right:16px;bottom:16px;z-index:2;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px;border:1px solid currentColor;border-radius:2px;background:rgba(0,0,0,.4);color:#fff;font:inherit;font-size:15px;letter-spacing:.04em;cursor:pointer;transition:background-color .3s,color .3s}.m2-vbtn::after{content:"";box-sizing:border-box;width:9px;height:12px;border:solid;border-width:0 3px}.m2-vbtn.m2-paused::after{width:0;border-width:6px 0 6px 9px;border-color:transparent transparent transparent currentColor}@media (hover:hover){.m2-vbtn:hover{background:#fff;color:#000}}@media (min-width:900px){.m2-vbtn{right:30px;bottom:30px}}@media (prefers-reduced-motion:reduce){.m2-btn,.m2-link,.m2-lift,[data-hide]{transition:none}.m2-btn:hover,.m2-btn:active,.m2-lift:hover{transform:none}}@media print{[data-depth],.m2-w{transform:none !important;transition:none !important}.m2-w{opacity:1 !important}.m2-vbtn{display:none}}/* masklayers.css - picture layers inside one grand-piano mask (1XEV factory part, 2026-09-30)
   GENERATED from masklayers.src.css by build.py (the masks are inlined as data URIs so the
   part needs no extra files and works from file:// too). Edit the .src.css, then rebuild.

   Markup:  <div class="pml" data-layers> <figure>img | svg | video</figure> x N </div>
   Modes (the classes come from masklayers.js; with no script nothing below the column applies):
     column   no JS, or prefers-reduced-motion: every layer in the mask, one under the other
     .pml-pin the frame TRAVELS: for --hold viewport heights it moves up the screen at --drift x the
              scroll speed (never stops, never sticks) while the layers cross-fade evenly across
              that travel; CSS scroll-timeline drives it (.pml-sda), else masklayers.js does
     .pml-fade phones judged weak: no pinning, the layers fade in turn while the frame is in view
   Only transform and opacity ever move. Native scroll, no scroll-jacking. */

.pml{
  --ar:1000/1400; --r:1.4;
  --pml-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1400' preserveAspectRatio='none'%3E%3Cpath d='M0 1400L0 170C0 70 70 0 170 0C270 0 325 55 360 100C450 217 600 600 880 712C950 740 1000 800 1000 950L1000 1400Z'/%3E%3C/svg%3E");
  --pml-edge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1400' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cpattern id='k' width='133' height='82' patternUnits='userSpaceOnUse' y='1318'%3E%3Cpath d='M19 0v82M38 0v82M57 0v82M76 0v82M95 0v82M114 0v82M133 0v82' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M13.5 0h11v50h-11zM32.5 0h11v50h-11zM70.5 0h11v50h-11zM89.5 0h11v50h-11zM108.5 0h11v50h-11z' fill='%23fff' fill-opacity='.7'/%3E%3C/pattern%3E%3C/defs%3E%3Cpath d='M0 1400L0 170C0 70 70 0 170 0C270 0 325 55 360 100C450 217 600 600 880 712C950 740 1000 800 1000 950L1000 1400Z' fill='none' stroke='%23fff' stroke-width='7'/%3E%3Cpath d='M0 1318H1000' stroke='%23fff' stroke-width='3'/%3E%3Crect y='1318' width='1000' height='82' fill='url(%23k)' opacity='.5'/%3E%3C/svg%3E");
  --pml-gold:#c9a464; --pml-ground:#0b0708; --pml-cap:#cfc6b6;
  --hold:1.5;                                   /* scroll the layers change over, in viewport heights */
  --drift:.3;                                   /* the frame's on-screen speed in that stretch, x scroll (0 = pinned) */
  --pml-top:0px;                                /* a fixed header's height: centres below it */
  --fh:min(calc(76svh - var(--pml-top)), calc(var(--r) * 100cqw));  /* the stage's height */
  --ch:0px;                                     /* the caption line under the stage */
  --run:calc(var(--hold) * 100svh);
  --st:max(var(--pml-top), calc((100svh + var(--pml-top) - var(--fh) - var(--ch)) / 2));
  /* where the travel starts on the cover range: the frame's middle at (centre of the screen below
     the header) + half its on-screen travel, so it drifts through the centre and out the top */
  --a:calc((100svh - var(--pml-top)) / 2 + (var(--fh) + var(--ch)) / 2 - var(--drift) * var(--run) / 2);
  /* the change range: from the frame's top a third of the way up the screen to the end of the travel */
  --cs:calc(100svh / 3);
  --cr:calc(var(--a) + var(--run) - var(--cs));
  position:relative; container-type:inline-size; view-timeline:--pml block;
  display:grid; gap:32px; justify-items:center;
}
.pml.pml-s{ --ar:1000/1600; --r:1.6; --pml-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1600' preserveAspectRatio='none'%3E%3Cpath d='M0 1600L0 170C0 70 70 0 170 0C270 0 325 55 360 100C450 217 610 700 890 840C960 875 1000 940 1000 1080L1000 1600Z'/%3E%3C/svg%3E"); --pml-edge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1600' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cpattern id='k' width='133' height='82' patternUnits='userSpaceOnUse' y='1518'%3E%3Cpath d='M19 0v82M38 0v82M57 0v82M76 0v82M95 0v82M114 0v82M133 0v82' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M13.5 0h11v50h-11zM32.5 0h11v50h-11zM70.5 0h11v50h-11zM89.5 0h11v50h-11zM108.5 0h11v50h-11z' fill='%23fff' fill-opacity='.7'/%3E%3C/pattern%3E%3C/defs%3E%3Cpath d='M0 1600L0 170C0 70 70 0 170 0C270 0 325 55 360 100C450 217 610 700 890 840C960 875 1000 940 1000 1080L1000 1600Z' fill='none' stroke='%23fff' stroke-width='7'/%3E%3Cpath d='M0 1518H1000' stroke='%23fff' stroke-width='3'/%3E%3Crect y='1518' width='1000' height='82' fill='url(%23k)' opacity='.5'/%3E%3C/svg%3E") }
.pml:has(figcaption){ --ch:3.4rem }

/* ---- column: no script, or reduced motion. Each layer sits in its own mask. ---- */
.pml>figure{ position:relative; margin:0; width:calc(var(--fh) / var(--r)); max-width:100% }
.pml figure>:first-child{
  display:block; width:100%; height:auto; aspect-ratio:var(--ar); object-fit:cover;
  background:var(--pml-ground);
  -webkit-mask:var(--pml-mask) 0 0/100% 100% no-repeat; mask:var(--pml-mask) 0 0/100% 100% no-repeat;
}
.pml>figure::after{
  content:""; position:absolute; left:0; top:0; width:100%; aspect-ratio:var(--ar); pointer-events:none;
  background:var(--pml-gold); opacity:.85;
  -webkit-mask:var(--pml-edge) 0 0/100% 100% no-repeat; mask:var(--pml-edge) 0 0/100% 100% no-repeat;
}
/* no JS / reduced motion: when one figure is marked data-still, that picture alone stands in for the set */
.pml:has(>figure[data-still])>figure:not([data-still]){ display:none }
.pml figcaption{ margin-top:12px; text-align:center; font-size:.95rem; line-height:1.4; color:var(--pml-cap) }

@media (prefers-reduced-motion:no-preference){
  /* reserve the final height before the script builds, so nothing shifts */
  .pml-js .pml{ display:block }
  .pml-js .pml:not(.pml-on)>figure{ display:none }
  .pml-js .pml:not(.pml-on)::before{ content:""; display:block; height:calc(var(--fh) + var(--ch)) }
  .pml-js:not(.pml-weak) .pml::after{ content:""; display:block; height:calc(var(--run) * (1 - var(--drift))) }
  .pml-js .pml-on:not(.pml-pin):not(.pml-fade){ display:grid }
  .pml-js .pml-on:not(.pml-pin):not(.pml-fade)::after{ content:none }

  .pml-frame{ position:relative; height:calc(var(--fh) + var(--ch)) }
  .pml-pin .pml-frame{ will-change:transform }
  /* a warm pool of light behind the shape; static, never repainted */
  .pml-frame::before{
    content:""; position:absolute; left:50%; top:4%; width:min(100%, calc(var(--fh) / var(--r) * 1.5)); height:var(--fh);
    transform:translateX(-50%); pointer-events:none;
    background:radial-gradient(closest-side, rgba(255,214,160,.10), transparent);
  }
  .pml-stage{
    position:relative; height:var(--fh); aspect-ratio:var(--ar); max-width:100%; margin-inline:auto;
    overflow:hidden; isolation:isolate; background:var(--pml-ground);
    -webkit-mask:var(--pml-mask) 0 0/100% 100% no-repeat; mask:var(--pml-mask) 0 0/100% 100% no-repeat;
  }
  .pml-stage::after{
    content:""; position:absolute; inset:0; z-index:5; pointer-events:none; background:var(--pml-gold); opacity:.85;
    -webkit-mask:var(--pml-edge) 0 0/100% 100% no-repeat; mask:var(--pml-edge) 0 0/100% 100% no-repeat;
  }
  .pml-stage>figure{ position:absolute; inset:0; width:auto; max-width:none; margin:0; opacity:0 }
  .pml-stage>figure::after{ content:none }
  /* the picture is figure>:first-child, or the <img> when a <picture> (display:contents) wraps it */
  .pml-stage figure>:first-child,.pml-stage figure>picture>img{ width:100%; height:100%; -webkit-mask:none; mask:none; will-change:transform; transform:translate3d(0,-2%,0) scale(1.06) }
  .pml-stage figcaption{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap }
  .pml-pin .pml-stage>figure:first-child{ opacity:1 }

  /* the caption line: copies of the figcaptions (aria-hidden), one shown at a time */
  .pml-caps{ position:relative; height:var(--ch) }
  .pml-caps p{ position:absolute; inset:0; margin:0; padding-top:.85rem; text-align:center; font-size:.95rem; line-height:1.4; color:var(--pml-cap); opacity:0 }
  .pml-pin .pml-caps p:first-child{ opacity:1 }

  /* CSS scroll-driven (Chrome/Edge 115+, Safari 26+): no script runs per frame */
  @supports (animation-timeline:view()){
    /* the layers change over the CHANGE range (2026-10-01, Victor: "start to slowly change earlier"):
       from the frame a third of the way up into the screen (--cs) to the end of its travel;
       masklayers.js writes each figure's window as fractions of it (--fa..--fb, data-schedule) */
    .pml-sda .pml-stage>figure:not(:first-child){
      animation:pml-in linear both; animation-timeline:--pml;
      animation-range:cover calc(var(--cs) + var(--cr) * var(--fa)) cover calc(var(--cs) + var(--cr) * var(--fb));
    }
    /* captions hand over in turn: the old one leaves in the swap's first half, the new one
       arrives in its second half, so two lines never sit on top of each other */
    .pml-sda .pml-caps p:not(:first-child){
      animation:pml-in linear both; animation-timeline:--pml;
      animation-range:cover calc(var(--cs) + var(--cr) * var(--ia)) cover calc(var(--cs) + var(--cr) * var(--ib));
    }
    .pml-sda .pml-caps p:not(:last-child)>span{
      display:block; animation:pml-out linear both; animation-timeline:--pml;
      animation-range:cover calc(var(--cs) + var(--cr) * var(--xa)) cover calc(var(--cs) + var(--cr) * var(--xb));
    }
    /* the frame's slow travel (and, beside it at 900px+, the copy column - masklayers.js writes the
       px values of the same range on .pml-band, which shares the timeline by timeline-scope) */
    .pml-sda .pml-frame{ animation:pml-travel linear both; animation-timeline:--pml; animation-range:cover var(--a) cover calc(var(--a) + var(--run)) }
    .pml-band:has(>.pml-sda){ timeline-scope:--pml }
    @media (min-width:900px){
      .pml-band:has(>.pml-sda)>.pml-copy{ will-change:transform; animation:pml-copy linear both; animation-timeline:--pml;
        animation-range:cover var(--pml-apx, 0px) cover calc(var(--pml-apx, 0px) + var(--pml-runpx, 0px)) }
    }
    .pml-sda .pml-stage figure>:first-child,.pml-sda .pml-stage figure>picture>img{
      animation:pml-drift linear both; animation-timeline:--pml;
      animation-range:cover var(--a) cover calc(var(--a) + var(--run));
    }
    /* the fallboard opens after its layer lands, and closes again BEFORE the next layer starts to
       cross-fade (shut when the next one is 6% in), so the keys never linger over it;
       the close fills forwards only, so before it the opening rules */
    .pml-sda .pml-fb{
      animation:pml-fb linear both, pml-fb-shut linear forwards; animation-timeline:--pml, --pml;
      animation-range:cover calc(var(--cs) + var(--cr) * var(--oa)) cover calc(var(--cs) + var(--cr) * var(--ob)),
                      cover calc(var(--cs) + var(--cr) * var(--sa)) cover calc(var(--cs) + var(--cr) * var(--sb));
    }
  }

  /* fade sequence (weak phones): the new layer fades in over the one it replaces */
  .pml-fade .pml-stage>figure,.pml-fade .pml-caps p{ transition:opacity 1.4s cubic-bezier(.4,0,.2,1) }
  .pml-fade .pml-stage>figure.pml-prev{ opacity:1; z-index:1; transition:none }
  .pml-fade .pml-stage>figure.pml-cur,.pml-fade .pml-caps p.pml-cur{ opacity:1; z-index:2 }
  .pml-fade .pml-stage figure>:first-child,.pml-fade .pml-stage figure>picture>img{ transition:transform 6s cubic-bezier(.2,.6,.3,1) }
  .pml-fade .pml-stage figure.pml-cur>:first-child,.pml-fade .pml-stage figure.pml-cur>picture>img{ transform:scale(1) }
  /* a layer fitted to the outline (its own edge IS the frame's edge) never drifts or scales */
  .pml-stage figure[data-fixed]>:first-child,.pml-stage figure[data-fixed]>picture>img{ animation:none!important; transform:none!important; transition:none!important }
  /* the fallboard over a layer's keys (figure data-keys-at="<% from the top>"): it slides back,
     scaleY from its top edge, in the first tenth of the hold after the layer arrives */
  .pml-fb{ position:absolute; left:0; right:0; bottom:0; z-index:2; transform-origin:50% 0; pointer-events:none;
    background:linear-gradient(#0d0b0b,#060505 35%,#080707); box-shadow:inset 0 1px 0 rgba(255,240,220,.10) }
  .pml-fade .pml-fb{ transition:transform 1.2s cubic-bezier(.4,0,.2,1) .8s }
  .pml-fade figure.pml-cur .pml-fb{ transform:scaleY(0) }
}
@keyframes pml-in{ from{opacity:0} to{opacity:1} }
@keyframes pml-out{ from{opacity:1} to{opacity:0} }
/* the picture counter-drifts inside the travelling frame (down 4% while the frame goes up): +-2% needs
   a scale above 1.04, or the layer under it shows as a strip at an edge */
@keyframes pml-drift{ from{transform:translate3d(0,-2%,0) scale(1.06)} to{transform:translate3d(0,2%,0) scale(1.06)} }
/* the travel eases in and out: the first and last tenth move at half the travel's average rate, so the
   frame's on-screen speed steps 1 -> ~.65 -> ~.25 -> ~.65 -> 1 (with --drift .3) - never a hard brake, never 0 */
@keyframes pml-travel{ from{transform:translate3d(0,0,0)} 10%{transform:translate3d(0,calc(var(--run) * (1 - var(--drift)) * .0714),0)}
  90%{transform:translate3d(0,calc(var(--run) * (1 - var(--drift)) * .9286),0)} to{transform:translate3d(0,calc(var(--run) * (1 - var(--drift))),0)} }
@keyframes pml-copy{ from{transform:translate3d(0,0,0)} 10%{transform:translate3d(0,calc(var(--pml-travel, 0px) * .0714),0)}
  90%{transform:translate3d(0,calc(var(--pml-travel, 0px) * .9286),0)} to{transform:translate3d(0,var(--pml-travel, 0px),0)} }
@keyframes pml-fb{ from{transform:scaleY(1)} to{transform:scaleY(0)} }
@keyframes pml-fb-shut{ from{transform:scaleY(0)} to{transform:scaleY(1)} }

/* optional helper: frame + a text column beside it (stacks under 900px) */
.pml-band{ display:grid; gap:40px }
@media (min-width:900px){
  .pml-band{ grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:clamp(40px,6vw,96px); align-items:start }
  .pml-band>.pml-copy{ padding-block:14svh }
}

/* ---- segments (library/parts/segments.js, site_data.SEGMENTS) --------------------------
   2026-09-22, first on jimmy-piano. BEHAVIOUR ONLY: the native select the part keeps in
   charge is made 1px (never display:none - it must stay focusable and fillable, and a
   form gate that fills it has to find it on screen), and its keyboard focus is drawn round
   the pills. The pills' look is the design's. Appended only when the site opts in. */
.seg-src{position:absolute!important;width:1px!important;height:1px!important;
 min-height:0!important;padding:0!important;margin:0!important;border:0!important;
 opacity:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.seg{display:flex;flex-wrap:wrap;gap:8px}
.seg-b{font:inherit;cursor:pointer;min-height:44px}
.seg-b:disabled{cursor:not-allowed;opacity:.5}
.seg-src:focus-visible+.seg,.seg-src:focus+.seg{outline:2px solid var(--accent);outline-offset:4px;
 border-radius:14px}

/* THE HONEYPOT (2026-09-17). A field only a bot fills. It is taken out of the flow rather
   than display:none'd - a field that is display:none is the one pattern the cheap bots have
   learned to skip - and it is out of the tab order, out of the accessibility tree and out of
   the autofill. Nothing here is decoration, so it lives in the factory, not in a design. */
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* THE FOCUS RING (2026-09-17, Fable's review: there was no :focus-visible rule anywhere, so
   a keyboard reader got the browser's default ring on a designed page - or, where a design
   had set outline:0 on its inputs, nothing at all). One rule, every interactive thing, the
   site's own accent. :focus-visible, so a mouse click does not draw it.

   NOT written with :where(): a design that says `.lform input:focus{outline:0}` would beat a
   zero-specificity rule and the ring would be gone again. This is appended AFTER design.CSS
   and matches its specificity, so it wins on source order - deliberately. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
 outline:2px solid var(--accent);outline-offset:2px}
.hp input:focus-visible{outline:0}
