/* LumaSquid · direction "Light". One stylesheet, no inline styles (strict CSP).
   One light source (--lx, --ly, --px, --py, set by the script; sensible defaults here).
   Everything that can change with the logo round is a variable in :root. */

@font-face{font-family:"Figtree";src:url(fonts/figtree-var.woff2) format("woff2");font-weight:300 900;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Sans Mono";src:url(fonts/mono-regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}

:root{
  color-scheme:light;
  /* ================= PALETTE: "Aurora" (decided 21 Nov 2026) =================
     One block holds every colour on the site. Contrast ratios are in the README ("Palette").
     Light values here; the lights-off values follow (twice: system setting, and the switch). */
  /* Keylight mark: violet key, white L, lime dot */
  --key-face:#7657ff;--key-lip:#4630c0;--key-legend:#ffffff;--key-dot:#d4ff5c;
  /* violet family */
  --violet:#7657ff;          /* the key: buttons, big accent marks, the i dot */
  --violet-deep:#4630c0;     /* the lip: small violet text on paper, focus ring on paper */
  --violet-hover:#5a3fe0;    /* links under the pointer */
  --violet-press:#3a26a8;    /* a key held down */
  --violet-tint:#e7e2ff;     /* quiet violet wash: rings and soft fills */
  /* buttons are keys in the brand violet in both themes (white legend stays readable) */
  --btn-face:var(--violet);--btn-lip:var(--violet-deep);--btn-legend:#ffffff;
  /* the lime light: the dot, highlights, selection, and (lights off) accents and focus */
  --lime:#d4ff5c;--lime-ink:#171430;
  --mark:var(--lime);--select-bg:var(--lime);--select-ink:var(--lime-ink);
  /* two small complements (decided 21 Nov 2026): small amounts only, never big buttons or headlines */
  --signal:#f45d2c;--signal-tint:#ffe3d6;--signal-ink:#9a3412;   /* Signal orange: mostly the app card */
  --photo:#0fae8c;--photo-tint:#d9fbef;--photo-ink:#0f6b55;      /* Photophore green: the sea's cool light, small tags and icons */
  /* lights on: bone paper, violet-black ink */
  --paper:#f4f2ec;--paper-2:#eae7df;--raised:#fbfaf6;--ink:#171430;--muted:#55516b;--line:rgba(23,20,48,.16);
  --accent:var(--violet-deep);--focus:var(--violet-deep);--link-hover:var(--violet-hover);--accent-big:var(--violet);
  --idot:var(--violet);--idot-glow:transparent;--lit-0:#ffffff;--lit-1:#efedf7;--lit-2:#676380;--lit-i:inherit;
  --shade:23,20,48;--shade-a:1;--pool:rgba(255,255,255,.75);
  --lx:-.55;--ly:-.8;--px:30vw;--py:20vh;
  /* the sea: indigo water, a squid in deep indigo-teal, lime-green living light */
  --glow:#a6f56b;--glow-rgb:166,245,107;
  --sq-0:#27508f;--sq-1:#182b66;--sq-2:#101a45;--sq-eye:#070a20;
  --arm-0:#1b2d6b;--arm-1:#2b8a8f;--arm-tip:#8fd94a;
  --floor:#0f1838;--sb1:#c6cce8;--sb2:#4a5a96;--spark:#7f6bea;--far:#1b2d6b;--far-line:rgba(16,24,69,.35);
  --floor-ink:#efedf7;--floor-muted:#aeb0cc;--floor-line:rgba(239,237,247,.16);
  /* marine snow over the sea floor: specks, the odd bright fleck, and two living sparks */
  --snow:#5a68a6;--snow-fleck:#7657ff;--snow-spark:#0fae8c;--snow-spark-2:#2b8a8f;
  --sq-line:rgba(16,24,69,.28);--sq-fin-line:rgba(16,24,69,.22);--ph:#c9f78a;--ph-halo:.14;--halo:#fff;--halo-a:.9;--shine:#fff;--sq-shadow:.13;
  --sans:"Figtree",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"Noto Sans Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --ease:cubic-bezier(.2,.7,.1,1);
  --pad:clamp(1.25rem,5vw,4.5rem);
}
/* lights off: indigo-black, and the lime dot is the only lamp. (Same values twice: once for the system setting, once for the switch.) */
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --key-face:#8a70ff;--key-lip:#4c36c4;
    --signal:#ff7445;--signal-tint:#3a1c12;--signal-ink:#ff9b73;--photo:#5df7cf;--photo-tint:#0c2f29;--photo-ink:#5df7cf;
    --violet-hover:#b5a4ff;--violet-tint:#2a2456;
    --paper:#0f0e1a;--paper-2:#161427;--raised:#1c1a30;--ink:#efedf7;--muted:#a9a5c0;--line:rgba(239,237,247,.15);
    --accent:var(--lime);--focus:var(--lime);--link-hover:var(--lime);--accent-big:var(--lime);
    --idot:var(--lime);--idot-glow:rgba(212,255,92,.7);--lit-i:#dddaf0;
    --shade:0,0,0;--shade-a:2.2;--pool:rgba(190,235,120,.085);
    --floor:#090a1c;--sb1:#1b1c3a;--sb2:#121330;--spark:var(--glow);--far-line:rgba(var(--glow-rgb),.5);
    --snow:#c9cdf2;--snow-fleck:#f6f8ff;--snow-spark:#a6f56b;--snow-spark-2:#5df7cf;
    --sq-line:rgba(var(--glow-rgb),.55);--sq-fin-line:rgba(var(--glow-rgb),.4);--ph:var(--glow);--ph-halo:.24;--halo:var(--glow);--halo-a:.5;--arm-tip:var(--glow);--shine:#eaffb0;--sq-shadow:0;
  }
}
:root[data-theme="dark"]{
    color-scheme:dark;
    --key-face:#8a70ff;--key-lip:#4c36c4;
    --signal:#ff7445;--signal-tint:#3a1c12;--signal-ink:#ff9b73;--photo:#5df7cf;--photo-tint:#0c2f29;--photo-ink:#5df7cf;
    --violet-hover:#b5a4ff;--violet-tint:#2a2456;
    --paper:#0f0e1a;--paper-2:#161427;--raised:#1c1a30;--ink:#efedf7;--muted:#a9a5c0;--line:rgba(239,237,247,.15);
    --accent:var(--lime);--focus:var(--lime);--link-hover:var(--lime);--accent-big:var(--lime);
    --idot:var(--lime);--idot-glow:rgba(212,255,92,.7);--lit-i:#dddaf0;
    --shade:0,0,0;--shade-a:2.2;--pool:rgba(190,235,120,.085);
    --floor:#090a1c;--sb1:#1b1c3a;--sb2:#121330;--spark:var(--glow);--far-line:rgba(var(--glow-rgb),.5);
    --snow:#c9cdf2;--snow-fleck:#f6f8ff;--snow-spark:#a6f56b;--snow-spark-2:#5df7cf;
    --sq-line:rgba(var(--glow-rgb),.55);--sq-fin-line:rgba(var(--glow-rgb),.4);--ph:var(--glow);--ph-halo:.24;--halo:var(--glow);--halo-a:.5;--arm-tip:var(--glow);--shine:#eaffb0;--sq-shadow:0;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:1.0625rem;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit}
svg{display:block}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
::selection{background:var(--select-bg);color:var(--select-ink)}
:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:.3rem}
.skip{position:absolute;left:1rem;top:-4rem;z-index:20;background:var(--ink);color:var(--paper);padding:.6rem 1rem;border-radius:.5rem;font-weight:600}
.skip:focus{top:1rem}
.wrap{max-width:82rem;margin-inline:auto;position:relative;z-index:1}

/* the pool of light that follows the pointer */
.pool{position:fixed;left:0;top:0;width:70rem;height:70rem;margin:-35rem 0 0 -35rem;border-radius:50%;pointer-events:none;z-index:0;background:radial-gradient(closest-side,var(--pool),transparent 72%);transform:translate3d(var(--px),var(--py),0);will-change:transform}

/* ---------- type ---------- */
.mono{font-family:var(--mono);font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.mono b{font-weight:400;color:var(--ink)}
.display{font-weight:800;letter-spacing:-.05em;line-height:.9;text-wrap:balance}
h1.display{font-size:clamp(3.3rem,11.4vw,9.6rem);line-height:.86}
h2.display{font-size:clamp(2.5rem,7vw,6rem)}
.cast{text-shadow:
  calc(var(--lx)*-.012em) calc(var(--ly)*-.012em) 0 rgba(var(--shade),.16),
  calc(var(--lx)*-.05em) calc(var(--ly)*-.05em) .04em rgba(var(--shade),.10),
  calc(var(--lx)*-.14em) calc(var(--ly)*-.14em) .16em rgba(var(--shade),.08)}
h1.cast,h2.cast{padding:.06em .04em .22em;margin:-.06em -.04em -.22em}
.acc{color:var(--accent-big)}
/* the lit i: its dot is the dot of light from the mark */
.i{position:relative;display:inline-block}
.i::before{content:"";position:absolute;left:50%;top:.045em;width:.2em;height:.2em;margin-left:-.08em;border-radius:50%;background:var(--idot);box-shadow:0 0 .35em .04em var(--idot-glow);transition:box-shadow .6s}
/* lights off: big type is lit by the lamp, bright near it and dim far away */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  @media (prefers-color-scheme:dark){
    :root:not([data-theme="light"]) .cast{text-shadow:none;background:radial-gradient(circle 52rem at var(--px) var(--py),var(--lit-0) 0,var(--lit-1) 16%,var(--lit-2) 78%) fixed;-webkit-background-clip:text;background-clip:text;color:transparent}
  }
  :root[data-theme="dark"] .cast{text-shadow:none;background:radial-gradient(circle 52rem at var(--px) var(--py),var(--lit-0) 0,var(--lit-1) 16%,var(--lit-2) 78%) fixed;-webkit-background-clip:text;background-clip:text;color:transparent}
}
.cast .acc{color:var(--accent-big)}
.cast .i{color:var(--lit-i)}

/* ---------- keys ---------- */
.key{--travel:.38rem;position:relative;display:inline-flex;align-items:center;gap:.6rem;min-height:3.1rem;padding:.75rem 1.3rem;border-radius:.85rem;background:var(--btn-face);color:var(--btn-legend);font-weight:700;text-decoration:none;letter-spacing:-.01em;
  box-shadow:0 var(--travel) 0 var(--btn-lip),calc(var(--lx)*-10px) calc(var(--ly)*-10px + var(--travel) + 6px) 18px -6px rgba(var(--shade),calc(.22*var(--shade-a)));
  transition:transform .08s ease-out,box-shadow .08s ease-out;margin-bottom:var(--travel);-webkit-tap-highlight-color:transparent}
.key:hover{transform:translateY(.08rem);box-shadow:0 calc(var(--travel) - .08rem) 0 var(--btn-lip),calc(var(--lx)*-8px) calc(var(--ly)*-8px + var(--travel) + 4px) 14px -6px rgba(var(--shade),calc(.22*var(--shade-a)))}
.key:active{transform:translateY(calc(var(--travel) - .06rem));box-shadow:0 .06rem 0 var(--btn-lip),0 .2rem .4rem -.2rem rgba(var(--shade),.3)}
.key.plain{background:var(--raised);color:var(--ink);--btn-lip:color-mix(in srgb,var(--ink) 26%,var(--paper))}
.key:not(.plain):active{background:var(--violet-press)}
.key .arr{transition:transform .25s var(--ease)}
.key:hover .arr{transform:translateX(3px)}
.key:hover .arr.up{transform:translate(2px,-2px)}
.key:hover .arr.down{transform:translateY(3px)}
.link{text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;padding-bottom:.08em;transition:background-size .35s var(--ease),color .2s}
.link:hover{background-size:0 1px;background-position:100% 100%;color:var(--link-hover)}

/* ---------- header ---------- */
.top{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem var(--pad)}
.logo{display:inline-flex;align-items:center;min-height:2.75rem;text-decoration:none}
.logo svg{height:1.85rem;width:auto;overflow:visible}
.k-lip{fill:var(--key-lip)}.k-face{fill:var(--key-face)}.k-legend{fill:var(--key-legend)}.k-dot{fill:var(--key-dot)}
.k-word{fill:none;stroke:currentColor;stroke-width:24;stroke-linejoin:round}
.k-idot{fill:var(--key-face)}
.k-top{transition:transform .08s ease-out}
.logo:hover .k-top{transform:translateY(8px)}
.logo:active .k-top{transform:translateY(20px)}
.nav{display:flex;align-items:center;gap:clamp(.1rem,1.6vw,1.5rem);font-size:.95rem;font-weight:600}
.nav a{display:inline-flex;align-items:center;min-height:2.75rem;padding:0 .5rem;text-decoration:none}
.nav a span{background:linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat;transition:background-size .3s var(--ease);padding-bottom:.15em}
.nav a:hover span,.nav a[aria-current] span{background-size:100% 2px}
.switch{display:inline-flex;align-items:center;gap:.5rem;min-height:2.75rem;padding:0 .7rem;border:1px solid var(--line);border-radius:99rem;transition:border-color .2s,transform .08s}
.switch:hover{border-color:var(--ink)}
.switch:active{transform:translateY(1px)}
.switch i{width:.55rem;height:.55rem;border-radius:50%;background:var(--idot);box-shadow:0 0 0 .2rem var(--violet-tint)}
.switch[aria-pressed="false"] i{box-shadow:0 0 .7rem .15rem var(--idot-glow)}
@media (max-width:44rem){.nav .wide{display:none}.switch .lbl{display:none}}

/* ---------- hero ---------- */
.hero{position:relative;min-height:calc(100svh - 5rem);padding:clamp(1.5rem,4vh,3rem) var(--pad);display:grid;align-items:center}
.hero .wrap{width:100%;display:grid;grid-template-columns:1fr;align-content:center;gap:1.5rem}
.hero .lede{font-size:clamp(1.1rem,1.6vw,1.35rem);max-width:31rem;color:var(--muted);text-wrap:pretty;font-weight:500}
.hero .lede b{color:var(--ink);font-weight:600}
.acts{display:flex;flex-wrap:wrap;gap:.8rem 1rem;align-items:flex-start}
.under{display:grid;gap:1.5rem;align-items:end}
@media (min-width:52rem){.under{grid-template-columns:1fr auto}}

.bigkey{position:relative;justify-self:start;width:clamp(7rem,21vw,17rem);aspect-ratio:1;display:grid;-webkit-tap-highlight-color:transparent;filter:drop-shadow(calc(var(--lx)*-22px) calc(var(--ly)*-22px + 12px) 20px rgba(var(--shade),calc(.2*var(--shade-a))))}
.bigkey svg{width:100%;height:100%;overflow:visible}
.bigkey .k-top{transition:transform .08s ease-out}
.bigkey:hover .k-top{transform:translateY(5px)}
.bigkey:active .k-top,.bigkey.down .k-top{transform:translateY(21px)}
.bigkey .k-halo{opacity:0;transition:opacity .6s}
.bigkey .hint{position:absolute;left:0;top:calc(100% + .6rem);white-space:nowrap}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .bigkey .k-halo{opacity:1}}
:root[data-theme="dark"] .bigkey .k-halo{opacity:1}
@media (min-width:52rem){
  .hero .wrap{grid-template-columns:1fr auto}
  .hero .wrap>*{grid-column:1/-1}
  .hero h1{grid-row:2}
  .hero .wrap>.bigkey{grid-column:2;grid-row:2;justify-self:end;align-self:start;margin-top:.1em;z-index:2}
}

/* ---------- sections ---------- */
.sec{position:relative;padding:clamp(5rem,14vh,10rem) var(--pad)}
.sec-top{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:center;margin-bottom:clamp(2rem,6vh,4rem)}
.sec-top::after{content:"";height:1px;background:var(--line);transform-origin:0 50%}
.sec-top .mono{grid-column:1}
.band{background:var(--paper-2)}



/* ---------- index of work ---------- */



/* ---------- privacy ledger ---------- */

/* ---------- contact ---------- */
.hello{text-align:left}
.mail{display:inline-block;font-weight:800;font-size:clamp(1.9rem,8.6vw,8rem);letter-spacing:-.055em;line-height:1;text-decoration:none;overflow-wrap:anywhere;background:linear-gradient(var(--idot),var(--idot)) 0 100%/0 .07em no-repeat;transition:background-size .6s var(--ease);padding-bottom:.08em;margin-top:.15em}
.mail:hover{background-size:100% .07em}
.hello .sub{margin-top:1.75rem;display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;justify-content:space-between;color:var(--muted)}

/* ---------- footer ---------- */
.foot{position:relative;z-index:1;padding:clamp(2.5rem,6vh,4rem) var(--pad) 2rem;border-top:1px solid var(--line);font-size:.95rem}
.foot .grid{max-width:82rem;margin-inline:auto;display:grid;gap:2.5rem 2rem;grid-template-columns:1fr 1fr}
@media (min-width:52rem){.foot .grid{grid-template-columns:1.6fr 1fr 1fr 1.2fr}}
.foot .brand{grid-column:1/-1;display:grid;gap:1rem;align-content:start;justify-items:start}
@media (min-width:52rem){.foot .brand{grid-column:auto}}
.foot .brand p{color:var(--muted);max-width:20rem}
.foot h2{font-family:var(--mono);font-weight:400;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:.6rem}
.foot li a{display:inline-flex;align-items:center;min-height:2.5rem;text-decoration:none;font-weight:500;transition:color .2s,transform .3s var(--ease)}
.foot li a:hover{color:var(--link-hover);transform:translateX(3px)}
.foot .base{max-width:82rem;margin:2.5rem auto 0;padding-top:1.25rem;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:.5rem 2rem;justify-content:space-between}

/* ---------- about ---------- */
.page-hero{min-height:auto;padding-top:clamp(3rem,12vh,8rem);padding-bottom:clamp(2rem,6vh,4rem)}
.page-hero h1.display{font-size:clamp(3rem,9.6vw,8rem)}
.rows{display:grid}
.row{display:grid;gap:1rem 3rem;padding:clamp(2.5rem,7vh,4.5rem) 0;border-top:1px solid var(--line)}
.row:first-child{border-top-color:var(--ink)}
@media (min-width:56rem){.row{grid-template-columns:16rem 1fr}}
.row h2{font-size:clamp(1.5rem,2.4vw,1.9rem);font-weight:700;letter-spacing:-.03em;line-height:1.1}
.prose{display:grid;gap:1.1rem;max-width:42rem;font-size:1.1rem}
.prose p{color:var(--muted);text-wrap:pretty}
.prose .big{font-size:clamp(1.7rem,3.4vw,2.8rem);font-weight:700;letter-spacing:-.035em;line-height:1.08;color:var(--ink)}
.prose strong{color:var(--ink);font-weight:700}
.lost{min-height:70svh;display:grid;align-content:center;gap:1.5rem}

/* ---------- motion ---------- */
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-old(root){z-index:0}::view-transition-new(root){z-index:1}
@media (prefers-reduced-motion:no-preference){
  .ln{display:block;overflow:hidden;padding:.08em .06em .24em;margin:-.08em -.06em -.24em}
  .ln>span{display:block;animation:up .9s var(--ease) both}
  .ln:nth-child(2)>span{animation-delay:.08s}.ln:nth-child(3)>span{animation-delay:.16s}
  @keyframes up{from{transform:translateY(112%)}to{transform:none}}
  .hero .bigkey{animation:drop .7s .5s cubic-bezier(.3,1.5,.5,1) both}
  @keyframes drop{from{opacity:0;transform:translateY(-2.5rem) rotate(-8deg)}to{opacity:1;transform:none}}
  .hero .under,.hero .mono.first{animation:fade .9s .45s var(--ease) both}
  @keyframes fade{from{opacity:0;transform:translateY(.8rem)}to{opacity:1;transform:none}}

  .js .rise{opacity:0;transform:translateY(1.5rem);transition:opacity .8s var(--ease),transform .8s var(--ease);transition-delay:calc(var(--i,0)*80ms)}
  .js .rise.in{opacity:1;transform:none}
  .js .sec-top.rise{opacity:1;transform:none}
  .js .sec-top.rise::after{transform:scaleX(0);transition:transform 1.2s var(--ease)}
  .js .sec-top.rise.in::after{transform:scaleX(1)}

}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important}
}
@media (forced-colors:active){.key,.nc,.nc-key,.nc-note,.nc-well{border:1px solid CanvasText}.pool{display:none}}
@media print{.pool,.switch,.bigkey{display:none}}
.bigkey .hint{display:none}.js .bigkey .hint{display:block}
.acts{align-items:center}
.lede{font-size:clamp(1.1rem,1.6vw,1.35rem);max-width:31rem;color:var(--muted);text-wrap:pretty}
.sec h2.display{margin-bottom:clamp(2rem,5vh,3.5rem)}
.bigkey{margin-bottom:2rem}
@media (min-width:52rem){.bigkey .hint{left:auto;right:0}}

/* =====================================================================
   Round 3: the squid, the sea floor, a larger mark, plainer small type
   ===================================================================== */

/* ---------- header mark: clearly larger ---------- */
.top{padding-block:.9rem}
.logo svg{height:2.6rem}
.nav{flex:none}
@media (min-width:52rem){.logo svg{height:3rem}}
@media (max-width:27rem){.top{gap:.25rem}.nav{gap:0;font-size:.9rem}.nav a{padding:0 .4rem}.switch{padding:0 .6rem}}
@media (max-width:23.5rem){.logo svg{height:2.3rem}}
.foot .logo svg{height:2.2rem}

/* ---------- small labels: plain words, not tracked capitals ---------- */
.mono{font-family:var(--sans);font-size:.9rem;font-weight:600;letter-spacing:0;text-transform:none}
.mono b{font-weight:600}
.foot h2{font-family:var(--sans);font-size:.9rem;font-weight:600;letter-spacing:0;text-transform:none}
.by-tap{display:none}
@media not all and (hover:hover) and (pointer:fine){.by-key{display:none}.by-tap{display:inline}}

/* headline lines stay on their own lines with motion off too */
.ln,.ln>span{display:block}

/* ---------- the squid (art and motion from the Deep direction, unchanged) ---------- */
.hero{overflow-x:clip}
.hero .wrap>.mono.first{grid-row:1}
.hero .wrap>h1{grid-row:2}
.hero .wrap>.bigkey,.hero .wrap>.creature{grid-row:3;grid-column:1}
.hero .wrap>.bigkey{margin-bottom:3.2rem}
.hero .wrap>.under{grid-row:4}
.creature{--sq-h:13.5rem;--tilt:-30deg;position:relative;z-index:-1;justify-self:end;align-self:center;width:0;height:0;margin:3.4rem 5.2rem 0 0;pointer-events:none}
.creature .drift{position:absolute;left:50%;top:50%;height:var(--sq-h);aspect-ratio:660/800;translate:-50% -50%}
.creature .tilt{width:100%;height:100%;transform:rotate(var(--tilt))}
.creature svg{width:100%;height:100%;overflow:visible}
@media (min-width:52rem){
  .hero .wrap>h1{grid-row:2}
  .hero .wrap>.bigkey{grid-row:2;grid-column:2;margin-bottom:2rem}
  .hero .wrap>.under{grid-row:3;grid-template-columns:1fr}
  .hero .wrap>.creature{--sq-h:clamp(24rem,58svh,37rem);--tilt:15deg;grid-column:2;grid-row:2/5;justify-self:center;align-self:end;margin:0 0 calc(var(--sq-h)*.27)}
  .hero .under,.hero .meter{max-width:calc(100% - clamp(12rem,24vw,21rem))}
}
.sq-halo{opacity:calc(var(--halo-a)*(.45 + .55*var(--near,0)))}
.sq-body{fill:url(#sq-skin);stroke:var(--sq-line);stroke-width:1.5}
.sq-fin{fill:url(#sq-fin);stroke:var(--sq-fin-line);stroke-width:1.2}
.sq-arm{fill:url(#sq-arm)}
.sq-eye{fill:var(--sq-eye);stroke:rgba(var(--glow-rgb),.6);stroke-width:1.4}
.sq-pupil{fill:var(--glow)}
.sq-vein{fill:none;stroke:rgba(var(--glow-rgb),.28);stroke-width:1.2;stroke-linecap:round}
.ph{fill:var(--ph)}
.ph-h{fill:rgba(var(--glow-rgb),var(--ph-halo))}
.s0{stop-color:var(--sq-0)}.s1{stop-color:var(--sq-1)}.s2{stop-color:var(--sq-2)}
.g0{stop-color:var(--halo);stop-opacity:.5}.g1{stop-color:var(--halo);stop-opacity:0}
.a0{stop-color:var(--arm-0)}.a1{stop-color:var(--arm-1)}.a2{stop-color:var(--arm-tip)}
/* the lamp on the squid: a sheen that comes up as the light gets near, and a shadow thrown away from it */
.h0{stop-color:var(--shine);stop-opacity:.5}.h1{stop-color:var(--shine);stop-opacity:0}
.sq-shine{fill:url(#sq-shine);opacity:var(--near,0)}
.sq-shadow{fill:rgb(var(--shade));opacity:var(--sq-shadow);transform:translate(calc(var(--lx)*-20px),calc(var(--ly)*-20px + 8px))}

/* ---------- the sea floor ---------- */
.hello{overflow:hidden;padding-bottom:0}
.hello h2.mono{margin:0}
.seabed{position:relative;z-index:1;width:calc(100% + 2*var(--pad));height:auto;margin:clamp(2rem,6vh,4.5rem) calc(-1*var(--pad)) -2px}
.sb1{fill:var(--sb1)}.sb2{fill:var(--sb2)}.sb3{fill:var(--floor)}
.spark{fill:var(--spark)}
.far{fill:var(--far);stroke:var(--far-line);stroke-width:1}
.foot.floor{background:var(--floor);border-top:0;color:var(--floor-ink);--ink:var(--floor-ink);--muted:var(--floor-muted);--line:var(--floor-line);--accent:var(--lime);--focus:var(--lime);--link-hover:var(--lime);padding-top:clamp(1.5rem,4vh,2.5rem)}

@media (prefers-reduced-motion:no-preference){
  .creature{animation:arrive 2.2s .35s var(--ease) both}
  @keyframes arrive{from{opacity:0;transform:translate(-1.5rem,6rem)}to{opacity:1;transform:none}}
  .creature .drift{animation:bob 9s ease-in-out infinite}
  @keyframes bob{0%,100%{transform:translate(0,0)}50%{transform:translate(.5rem,-1.4rem)}}
  .sq-mantle{transform-box:fill-box;transform-origin:50% 100%;animation:jet 4.5s ease-in-out infinite}
  @keyframes jet{0%,100%{transform:scale(1,1)}45%{transform:scale(1.045,.985)}60%{transform:scale(.97,1.012)}}
  .sq-finl,.sq-finr{transform-box:fill-box;animation:fin 2.2s ease-in-out infinite}
  .sq-finl{transform-origin:100% 40%}.sq-finr{transform-origin:0 40%;animation-delay:-1.1s}
  @keyframes fin{0%,100%{transform:scaleX(1) rotate(0)}50%{transform:scaleX(.82) rotate(4deg)}}
  .ph,.ph-h{animation:pulse 3.6s ease-in-out infinite}
  .p1{animation-delay:-.6s}.p2{animation-delay:-1.3s}.p3{animation-delay:-2s}.p4{animation-delay:-2.7s}
  @keyframes pulse{0%,100%{opacity:.35}40%{opacity:1}}
  .spark{animation:pulse 4s ease-in-out infinite}
  .spark:nth-child(3n){animation-delay:-1.4s}.spark:nth-child(3n+1){animation-delay:-2.9s}
  .far-swim{animation:swim 46s linear infinite}
  @keyframes swim{from{transform:translate(-8%,0)}to{transform:translate(108%,-14px)}}
}
@media (forced-colors:active){.creature,.seabed{display:none}}
@media print{.creature,.seabed{display:none}}

/* =====================================================================
   Trim (21 Nov 2026): a shorter home page, and the app card in the app's own voice
   ===================================================================== */
.sec{padding-block:clamp(3.25rem,9vh,6rem)}
.sec-top{margin-bottom:clamp(1.5rem,4vh,2.5rem)}
.sec-top h2.mono{margin:0}

/* ---------- how we work: three lines ---------- */
.ways{display:grid;gap:1.75rem 2.5rem}
@media (min-width:52rem){.ways{grid-template-columns:repeat(3,1fr)}}
.ways h3{font-size:clamp(1.6rem,2.7vw,2.3rem);font-weight:800;letter-spacing:-.04em;line-height:1.05}
.ways p{color:var(--muted);margin-top:.5rem;max-width:22rem;text-wrap:pretty}
.more{margin-top:clamp(1.75rem,4vh,2.5rem);font-weight:600}
.hello .sub{display:flex;align-items:center;gap:.6rem;justify-content:flex-start;margin-top:1.25rem}
.hello .sub::before{content:"";flex:none;width:.55rem;height:.55rem;border-radius:50%;background:var(--photo);box-shadow:0 0 0 .22rem var(--photo-tint)}

/* ---------- the app card: a piece of the app, not of this page ----------
   Colours, shapes, weights and motion are the app's design system (v2), under its own
   token names with an nc- prefix. Its Ember key takes the palette's Signal orange (--signal), which is the same colour. */
.nc{
  --nc-bg:#F4F2EE;--nc-surface:#FFFFFF;--nc-well-bg:#ECE9E3;--nc-hair:#E3DFD8;
  --nc-well:inset 0 1.5px 3px rgba(40,34,24,.14),inset 0 -1px 0 rgba(255,255,255,.8);
  --nc-t1:#1C1B19;--nc-t2:#5E5A53;--nc-t3:#6A665F;
  --nc-ember:var(--signal);--nc-ember-lip:#B0390F;--nc-on-ember:#1C1B19;
  --nc-sec:#6A5ACD;--nc-sec-text:#5B4BC4;--nc-sec-c:#ECE8FD;--nc-on-sec-c:#2F2580;
  --nc-found:#FFE15A;--nc-on-found:#1C1B19;
  --nc-ink:#1C1B19;--nc-orb:#F4F2EE;--nc-key-lip:#D5D0C7;--nc-device:#26241F;
  --nc-shadow-1:0 1px 2px rgba(28,27,25,.06),0 0 0 1px rgba(28,27,25,.045);
  --nc-shadow-2:0 10px 28px rgba(28,27,25,.14),0 2px 6px rgba(28,27,25,.08);
  --nc-shadow-3:0 40px 80px -20px rgba(28,27,25,.28),0 12px 24px rgba(28,27,25,.10);
  --nc-spring:cubic-bezier(.34,1.5,.64,1);
  --nc-pad:clamp(1.25rem,3.2vw,2.75rem);
  position:relative;display:grid;gap:2rem;overflow:hidden;padding:var(--nc-pad);border-radius:28px;
  background:var(--nc-bg);color:var(--nc-t1);box-shadow:var(--nc-shadow-3);
  font-weight:450;font-size:1.0625rem;line-height:1.5;transition:translate .4s var(--ease)}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .nc{
    --nc-bg:#151413;--nc-surface:#1F1E1C;--nc-well-bg:#191816;--nc-hair:#34312C;
    --nc-well:inset 0 2px 4px rgba(0,0,0,.55),inset 0 -1px 0 rgba(255,255,255,.06);
    --nc-t1:#F3F1EC;--nc-t2:#BDB7AC;--nc-t3:#A7A39B;
    --nc-ember:var(--signal);--nc-ember-lip:#B8451F;
    --nc-sec:#B7ACFF;--nc-sec-text:#C9C1FF;--nc-sec-c:#3B3768;--nc-on-sec-c:#EAE6FF;
    --nc-ink:#2A2826;--nc-key-lip:#0C0B0A;--nc-device:#0A0A09;
    --nc-shadow-1:0 0 0 1px rgba(255,255,255,.06);
    --nc-shadow-2:0 10px 28px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.06);
    --nc-shadow-3:0 40px 80px -20px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.06);
  }
  :root:not([data-theme="light"]) .nc-phone .l{display:none}
  :root:not([data-theme="light"]) .nc-phone .d{display:block}
}
:root[data-theme="dark"] .nc{
    --nc-bg:#151413;--nc-surface:#1F1E1C;--nc-well-bg:#191816;--nc-hair:#34312C;
    --nc-well:inset 0 2px 4px rgba(0,0,0,.55),inset 0 -1px 0 rgba(255,255,255,.06);
    --nc-t1:#F3F1EC;--nc-t2:#BDB7AC;--nc-t3:#A7A39B;
    --nc-ember:var(--signal);--nc-ember-lip:#B8451F;
    --nc-sec:#B7ACFF;--nc-sec-text:#C9C1FF;--nc-sec-c:#3B3768;--nc-on-sec-c:#EAE6FF;
    --nc-ink:#2A2826;--nc-key-lip:#0C0B0A;--nc-device:#0A0A09;
    --nc-shadow-1:0 0 0 1px rgba(255,255,255,.06);
    --nc-shadow-2:0 10px 28px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.06);
    --nc-shadow-3:0 40px 80px -20px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.06);
}
:root[data-theme="dark"] .nc-phone .l{display:none}
:root[data-theme="dark"] .nc-phone .d{display:block}
.nc:hover{translate:0 -.3rem}
.nc ::selection{background:var(--nc-found);color:var(--nc-on-found)}
.nc mark{background:var(--nc-found);color:var(--nc-on-found);border-radius:5px;padding:0 .14em;margin:0 -.06em}
.nc-copy{display:grid;gap:1.1rem;align-content:center;justify-items:start;position:relative;z-index:1}
.nc-eye{display:inline-flex;align-items:center;gap:8px;font-weight:650;font-size:.875rem;letter-spacing:.02em;color:var(--nc-sec-text)}
.nc-eye::before{content:"";width:8px;height:8px;border-radius:3px;background:var(--nc-sec)}
.nc h3{display:flex;align-items:center;gap:.9rem;font-size:clamp(2.3rem,5vw,3.75rem);font-weight:700;letter-spacing:-.02em;line-height:1.06}
/* the app's brand mark: an ink tile with the orb */
.nc-brand{flex:none;width:48px;height:48px;border-radius:14px;background:var(--nc-ink);display:grid;place-items:center;box-shadow:var(--nc-shadow-1)}
.nc-brand i{width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 35% 32%,#fff 0,var(--nc-orb) 38%,#cfc9dc 100%)}
.nc-line{font-size:clamp(1.2rem,2vw,1.5rem);font-weight:650;letter-spacing:-.015em;line-height:1.25;max-width:22rem;text-wrap:balance}
.nc-plat{display:flex;flex-wrap:wrap;gap:8px}
.nc-plat li{min-height:36px;display:inline-flex;align-items:center;padding:0 12px;border-radius:12px;background:var(--nc-surface);box-shadow:var(--nc-shadow-1);font-weight:550;font-size:.875rem;color:var(--nc-t2)}
/* the app's key: an Ember face on a lip, dark words, a springy press */
.nc-key{--lip:3.5px;position:relative;display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px;margin:.4rem 0 var(--lip);border-radius:14px;font-weight:650;font-size:1rem;line-height:1;color:var(--nc-on-ember);background:var(--nc-ember);box-shadow:0 var(--lip) 0 var(--nc-ember-lip);text-decoration:none;transition:transform .16s var(--nc-spring),box-shadow .16s var(--nc-spring);-webkit-tap-highlight-color:transparent}
.nc-key::after{content:"";position:absolute;inset:-200rem;z-index:0}
.nc:active .nc-key,.nc-key:active{transform:translateY(var(--lip));box-shadow:0 0 0 var(--nc-ember-lip);transition-duration:.05s}
.nc-key:focus-visible{outline:2px solid var(--nc-sec);outline-offset:3px;border-radius:14px}
.nc-key .arr{transition:transform .25s var(--ease)}
.nc:hover .nc-key .arr{transform:translate(2px,-2px)}

/* the stage: a real screen, and one live moment in front of it */
.nc-stage{position:relative;min-height:19.5rem;margin-bottom:calc(-1*var(--nc-pad));pointer-events:none}
.nc-phone{position:absolute;right:0;top:0;bottom:0;width:min(15.5rem,70%);border:7px solid var(--nc-device);border-bottom:0;border-radius:34px 34px 0 0;background:var(--nc-surface);overflow:hidden;box-shadow:var(--nc-shadow-2)}
.nc-phone img{width:100%;height:auto;border-radius:27px 27px 0 0}
.nc-phone .d{display:none}
.nc-live{position:absolute;left:0;bottom:calc(var(--nc-pad) + .25rem);width:min(17.5rem,78%);display:grid;gap:10px}
.nc-well{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border-radius:14px;background:var(--nc-well-bg);box-shadow:var(--nc-well),0 0 0 2px var(--nc-sec),var(--nc-shadow-2);font-weight:450}
.nc-well svg{flex:none;fill:none;stroke:var(--nc-t3);stroke-width:2;stroke-linecap:round}
.nc-typed{display:inline-flex}
.nc-typed b{font-weight:450;overflow:hidden;max-width:1em}
.nc-caret{width:2px;height:1.2em;margin-left:-9px;border-radius:1px;background:var(--nc-sec)}
.nc-well small{margin-left:auto;font-size:.8125rem;font-weight:550;color:var(--nc-t3)}
.nc-note{justify-self:end;max-width:92%;padding:12px 16px 10px;border-radius:20px 20px 6px 20px;background:var(--nc-surface);box-shadow:var(--nc-shadow-2);display:grid;gap:4px;transform-origin:100% 100%}
.nc-note p{font-size:.9375rem;line-height:1.45}
.nc-note small{justify-self:end;font-size:.75rem;font-weight:550;color:var(--nc-t3)}
.nc-caps{display:flex;gap:8px}
.nc-caps span{--lip:3px;width:44px;height:44px;display:grid;place-items:center;margin-bottom:var(--lip);border-radius:12px;background:var(--nc-surface);font-weight:650;font-size:.95rem;color:var(--nc-t1);box-shadow:0 var(--lip) 0 var(--nc-key-lip),var(--nc-shadow-1)}
@media (min-width:44rem){
  .nc{grid-template-columns:1.05fr 1fr;align-items:stretch}
  .nc-stage{min-height:20rem;margin-top:calc(-.35*var(--nc-pad))}
  .nc-phone{width:clamp(14.5rem,60%,17rem);right:4%}
  .nc-live{width:min(19rem,70%);left:2%}
}
@media (min-width:56rem){.nc-stage{min-height:24rem}}
@media (prefers-reduced-motion:no-preference){
  /* one 8 s loop: a note drops in, three keys go down, the word is found */
  .nc-note{animation:nc-drop 8s var(--nc-spring) infinite}
  @keyframes nc-drop{0%,4%{opacity:0;transform:translateY(1.4rem) scale(.9)}10%,94%{opacity:1;transform:none}100%{opacity:0;transform:none}}
  .nc-caps span{animation:nc-press 8s infinite}
  .nc-caps span:nth-child(1){animation-delay:2s}.nc-caps span:nth-child(2){animation-delay:2.32s}.nc-caps span:nth-child(3){animation-delay:2.64s}
  @keyframes nc-press{0%{transform:none;box-shadow:0 var(--lip) 0 var(--nc-key-lip),var(--nc-shadow-1)}1%,2.2%{transform:translateY(var(--lip));box-shadow:0 0 0 var(--nc-key-lip),var(--nc-shadow-1)}5%,100%{transform:none;box-shadow:0 var(--lip) 0 var(--nc-key-lip),var(--nc-shadow-1)}}
  .nc-typed b{animation:nc-type 8s steps(1) infinite}
  .nc-typed b:nth-child(1){animation-delay:-5.92s}.nc-typed b:nth-child(2){animation-delay:-5.6s}.nc-typed b:nth-child(3){animation-delay:-5.28s}
  @keyframes nc-type{0%{max-width:1em}68%,100%{max-width:0}}
  .nc-caret{animation:nc-blink 1s steps(1) infinite}
  @keyframes nc-blink{50%{opacity:0}}
  .nc-well small{animation:nc-count 8s steps(1) infinite}
  @keyframes nc-count{0%,37%{opacity:0}38%,94%{opacity:1}95%,100%{opacity:0}}
  .nc-note mark{background:linear-gradient(var(--nc-found),var(--nc-found)) 0 0/100% 100% no-repeat;animation:nc-found 8s var(--ease) infinite}
  @keyframes nc-found{0%,36%{background-size:0 100%}43%,94%{background-size:100% 100%}100%{background-size:0 100%}}
}
@media print{.nc-stage{display:none}}

/* =====================================================================
   The descent: marine snow in the sea, and a depth gauge on the edge
   ===================================================================== */
/* ---------- marine snow (drawn by site.js on one canvas, behind the ridges) ---------- */
.snow{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;display:none}
.js .snow{display:block}
.hello.snowing .sparks{display:none}
/* the last ridge meets the footer again (the trim's section padding had opened a strip of paper between them) */
.sec.hello{padding-bottom:0}

/* ---------- the depth gauge: 0 m at the top of the page, 1,000 m at the sea floor ---------- */
.depth{display:none;--gh:min(34vh,16rem);--gr:clamp(.75rem,1.1vw,1.25rem)}
.js .depth{display:block}
.gauge,.g-dot{position:fixed;z-index:6;pointer-events:none}
/* small screens: a quiet pill in the corner, once you start to go down */
.gauge{left:.75rem;bottom:calc(.75rem + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:.5rem;padding:.3rem .7rem .3rem .6rem;border-radius:99rem;background:var(--raised);color:var(--ink);border:1px solid var(--line);box-shadow:0 .3rem .9rem rgba(var(--shade),.14);font-size:.8rem;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;opacity:0;transform:translateY(.5rem);transition:opacity .4s var(--ease),transform .4s var(--ease)}
.depth.on .gauge{opacity:1;transform:none}
.gauge::before{content:"";flex:none;width:.5rem;height:.5rem;border-radius:50%;background:var(--key-dot);box-shadow:0 0 0 2px var(--key-face),0 0 .7rem var(--idot-glow)}
.gauge b{font-weight:600;min-width:3.7em;text-align:right;white-space:nowrap}
.gauge .rail,.gauge span,.g-dot{display:none}
/* wide screens: a slim rail in the right margin; the number rides down it with the dot */
@media (min-width:70rem){
  .gauge{left:auto;bottom:auto;right:var(--gr);top:calc(50% - var(--gh)/2);width:.7rem;height:var(--gh);display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#fff;mix-blend-mode:difference;opacity:1;transform:none;font-size:.76rem}
  .gauge::before{display:none}
  .gauge .rail{display:block;position:absolute;right:.3rem;top:0;bottom:0;width:1px;background:rgba(255,255,255,.36)}
  .gauge .rail::before{content:"";position:absolute;right:0;top:0;bottom:0;width:.4rem;background:repeating-linear-gradient(to bottom,rgba(255,255,255,.6) 0 1px,transparent 1px 25%)}
  .gauge .rail::after{content:"";position:absolute;right:-.3rem;bottom:0;width:.95rem;height:1px;background:#fff}
  .gauge b{position:absolute;right:0;top:0;min-width:0;transform:translateY(calc(var(--p,0)*var(--gh) - 100% - .55rem))}
  .gauge span{display:block;position:absolute;right:-.05rem;top:calc(100% + 1.15rem);writing-mode:vertical-rl;font-size:.74rem;font-weight:600;white-space:nowrap;opacity:.72}
  .g-dot{display:block;right:calc(var(--gr) + .05rem + .5px);top:calc(50% - var(--gh)/2 - .25rem);width:.5rem;height:.5rem;border-radius:50%;background:var(--key-dot);box-shadow:0 0 0 2px var(--key-face),0 0 .8rem var(--idot-glow);transform:translateY(calc(var(--p,0)*var(--gh)))}
}
/* small screens: leave the pill a clear strip under the footer's last line */
@media (max-width:69.99rem){.js .depth~.foot{padding-bottom:4.25rem}}
@media (forced-colors:active){.snow{display:none!important}.gauge{mix-blend-mode:normal;color:CanvasText;border-color:CanvasText}.gauge .rail,.gauge .rail::after{background:CanvasText}}
@media print{.snow,.depth{display:none!important}}

/* =====================================================================
   UX pass, 21 Nov 2026: small fixes from a QA sweep (320 to 1920 px, lights on and off).
   Nothing here changes the art direction, the copy or the hero.
   ===================================================================== */
/* UX pass, 21 Nov 2026: the address broke as "team@lumasquid.co / m" under ~330 px; a lower floor lets it stay on one line */
.mail{font-size:clamp(1.6rem,8.6vw,8rem)}
/* UX pass, 21 Nov 2026: bigger hit areas for text links that stand alone (the address was 35 px tall, "More about the studio" 21 px) */
.mail,.more .link,.prose .link{position:relative}
.mail::after,.more .link::after,.prose .link::after{content:"";position:absolute;inset:-.75rem -.25rem}
.mail::after{inset:-.25em -.1em}
/* UX pass, 21 Nov 2026: the footer's link was "Lumafall↗": inline-flex dropped the space before the arrow */
.foot li a{gap:.3em}
/* UX pass, 21 Nov 2026: the footer line left "light." alone on its own line at tablet widths */
.foot .brand p{text-wrap:balance}
/* UX pass, 21 Nov 2026: footer links were 40 px tall; 44 px on touch-size screens */
@media (max-width:52rem){.foot li a{min-height:2.75rem;min-width:2.75rem}}
/* UX pass, 21 Nov 2026: with its label hidden the lights switch was 30 px wide; at least 44 px to tap */
@media (max-width:44rem){.switch{min-width:2.75rem;justify-content:center}}
/* UX pass, 21 Nov 2026: under ~345 px the header ran 14 px into its right gutter (6 px from the edge against 20 px on the left).
   A slightly smaller mark and tighter nav padding make it fit with every target still 44 px */
@media (max-width:23.5rem){.nav a{padding:0 .3rem;min-width:2.75rem;justify-content:center}}
@media (max-width:21.5rem){.logo svg{height:1.95rem}}
/* UX pass, 21 Nov 2026: at fractional scales (125 %, 150 % displays) a hairline of paper showed between the last ridge and the footer;
   the footer now reaches 2 px up over the ridge, which is the same colour */
.foot.floor{box-shadow:0 -2px 0 var(--floor)}

/* =====================================================================
   Polish, 21 Nov 2026: an award-level detail pass (P1 to P14).
   Same concept, sections, copy, palette, type and sea floor. Each block below stands on
   its own and is listed in the README ("Award polish"). Every animation rests in the
   finished state and sits inside "no reduced motion"; with scripts off nothing is hidden.
   ===================================================================== */

/* ---------- Polish, 21 Nov 2026: P1 - the first three seconds: the key lands, presses itself once, and the light comes on ---------- */
@media (prefers-reduced-motion:no-preference){
  /* the key top dips as it lands (no "forwards" fill, so hover and press still work afterwards) */
  .hero .bigkey .k-top{animation:p1-land .5s 1.08s cubic-bezier(.3,1.5,.5,1) backwards}
  @keyframes p1-land{0%{transform:none}32%{transform:translateY(18px)}100%{transform:none}}
  /* at the bottom of that press: the key's dot flashes, the dot on the "i" lights, the pool of light opens */
  .hero .bigkey .k-halo{animation:p1-flash 1.1s 1.24s ease-out backwards}
  @keyframes p1-flash{0%{opacity:0}22%{opacity:.9}}
  .hero .bigkey .k-dot{transform-box:fill-box;transform-origin:50% 50%;animation:p1-dot .6s 1.24s cubic-bezier(.3,1.7,.5,1) backwards}
  @keyframes p1-dot{0%{transform:scale(.55)}}
  .hero .i::before{animation:p1-ignite .75s 1.3s cubic-bezier(.3,1.7,.5,1) backwards}
  @keyframes p1-ignite{0%{scale:0}55%{box-shadow:0 0 .5em .14em color-mix(in srgb,var(--idot) 50%,transparent)}}
  .pool{animation:p1-bloom 1.5s 1.24s var(--ease) backwards}
  @keyframes p1-bloom{0%{opacity:0;scale:.45}}
  .js .hero .bigkey .hint{animation:p1-hint .7s 1.75s var(--ease) backwards}
  @keyframes p1-hint{0%{opacity:0}}
}

/* ---------- Polish, 21 Nov 2026: P2 - not everything arrives alike ---------- */
@media (prefers-reduced-motion:no-preference){
  /* the app card is set down (it grows the last 3% from its bottom edge). Also fixes its hover lift,
     which snapped: the arrival's transition list had replaced the card's own */
  .js .nc.rise{transform:translateY(2rem) scale(.97);transform-origin:50% 100%;transition:opacity .7s var(--ease),transform .95s var(--ease),translate .4s var(--ease)}
  .js .nc.rise.in{transform:none}
  /* then its words come in one by one, the phone rises into it, and only then does the 8 second loop start */
  .js .nc .nc-copy>*{opacity:0;translate:0 .8rem;transition:opacity .6s var(--ease),translate .6s var(--ease)}
  .js .nc .nc-copy>.nc-key{transition:opacity .6s var(--ease),translate .6s var(--ease),transform .16s var(--nc-spring),box-shadow .16s var(--nc-spring)}
  .js .nc.in .nc-copy>*{opacity:1;translate:none}
  .js .nc .nc-copy>:nth-child(1){transition-delay:.18s}
  .js .nc .nc-copy>:nth-child(2){transition-delay:.25s}
  .js .nc .nc-copy>:nth-child(3){transition-delay:.32s}
  .js .nc .nc-copy>:nth-child(4){transition-delay:.39s}
  .js .nc .nc-copy>.nc-key{transition-delay:.46s,.46s,0s,0s}
  .js .nc .nc-phone{translate:0 3.5rem;transition:translate 1.1s var(--ease) .2s}
  .js .nc.in .nc-phone{translate:none}
  .js .nc .nc-live{opacity:0;transition:opacity .5s var(--ease) .55s}
  .js .nc.in .nc-live{opacity:1}
  .js .nc:not(.in) .nc-live *{animation-play-state:paused}
  /* "How we work": the three lines land one after another, and each full stop drops in last, like the dot of light */
  @media (min-width:52rem){.ways li:nth-child(2){--i:1.5}.ways li:nth-child(3){--i:3}}
  .js .ways .rise .acc{display:inline-block;transform-origin:50% 85%;scale:0;transition:scale .5s cubic-bezier(.3,1.7,.5,1);transition-delay:calc(var(--i,0)*80ms + .45s)}
  .js .ways .rise.in .acc{scale:1}
  /* about: paragraphs in a row that arrive together come in turn */
  .prose .rise:nth-child(2){--i:1}.prose .rise:nth-child(3){--i:2}.prose .rise:nth-child(n+4){--i:3}
  .hello .sub.rise{--i:2}
  /* the green dot by "A person reads every message" breathes while the sea is on screen: someone is there */
  .hello.sea-on .sub::before{animation:p2-alive 3.6s ease-in-out infinite}
  @keyframes p2-alive{0%,100%{box-shadow:0 0 0 .22rem var(--photo-tint)}50%{box-shadow:0 0 0 .4rem color-mix(in srgb,var(--photo-tint) 35%,transparent)}}
}

/* ---------- Polish, 21 Nov 2026: P3 - depth on scroll (scroll-linked CSS, off the main thread; browsers without it see the page as before) ---------- */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    /* leaving the hero: the big key floats up a little faster than the page, the headline a little slower */
    @media (min-width:52rem){
      .hero{view-timeline:--p3-hero block}
      .hero .wrap>.bigkey{animation:drop .7s .5s cubic-bezier(.3,1.5,.5,1) both,p3-key linear both;animation-timeline:auto,--p3-hero;animation-range:normal,exit 0% exit 100%}
      @keyframes p3-key{to{translate:0 -4.5rem}}
      .hero h1{animation:p3-head linear both;animation-timeline:--p3-hero;animation-range:exit 0% exit 100%}
      @keyframes p3-head{to{translate:0 1.4rem}}
    }
    /* arriving at the sea: the far ridges start a little higher and settle as the near one comes up */
    .seabed{view-timeline:--p3-sea block}
    .sb1{animation:p3-far linear both;animation-timeline:--p3-sea;animation-range:entry 0% entry 100%}
    .sb2{animation:p3-mid linear both;animation-timeline:--p3-sea;animation-range:entry 0% entry 100%}
    @keyframes p3-far{from{transform:translateY(-24px)}}
    @keyframes p3-mid{from{transform:translateY(-10px)}}
  }
}

/* ---------- Polish, 21 Nov 2026: P4 - the sea floor and its squid ---------- */
/* water has depth: a haze gathers towards the horizon, so the far ridge sits in it (uses --sb1 and --paper, no new colour) */
.hello::before{content:"";position:absolute;left:0;right:0;bottom:0;height:min(72%,28rem);z-index:0;pointer-events:none;
  background:linear-gradient(to bottom,transparent,color-mix(in srgb,var(--sb1) 46%,var(--paper)) calc(100% - 9vw))}
/* on phones the ridges were a 78px strip: the same drawing now keeps a proper height (the sides are cropped) */
@media (max-width:44rem){.seabed{height:clamp(8.5rem,40vw,11rem)}}
@media (prefers-reduced-motion:no-preference){
  /* the passing squid swims the way squid do: a squeeze and a surge, then a glide while the mantle refills;
     its arms stream out behind on the surge; it rides a slow swell. It is already on its way when you arrive */
  .far-swim{animation:swim 46s linear -4s infinite}
  .far-bob{transform-box:fill-box;transform-origin:50% 50%;animation:p4-bob 7s ease-in-out infinite}
  @keyframes p4-bob{0%,100%{transform:translateY(-5px) rotate(-2.5deg)}50%{transform:translateY(6px) rotate(2deg)}}
  .far-jet{transform-box:fill-box;transform-origin:100% 50%;animation:p4-jet 2.6s cubic-bezier(.3,0,.4,1) infinite}
  @keyframes p4-jet{0%,100%{transform:translate(-6px,0) scale(.97,1.07)}16%{transform:translate(4px,0) scale(1.05,.86)}40%{transform:translate(6px,0) scale(1.02,.95)}}
  .far-arms{transform-box:fill-box;transform-origin:100% 50%;animation:p4-arms 2.6s cubic-bezier(.3,0,.4,1) infinite}
  @keyframes p4-arms{0%,100%{transform:scale(.88,1.2)}24%{transform:scale(1.2,.62)}55%{transform:scale(1.08,.9)}}
  /* nothing in the sea runs while it is off screen (the script sets .sea-on) */
  .js .hello:not(.sea-on) .far-swim,.js .hello:not(.sea-on) .far-swim *{animation-play-state:paused}
}

/* ---------- Polish, 21 Nov 2026: P5 - hover and press ---------- */
/* keys go down fast and come back on a spring; Enter and Space press them too (the script sets .down) */
.key{transition:transform .24s cubic-bezier(.3,1.7,.5,1),box-shadow .24s cubic-bezier(.3,1.7,.5,1)}
.key:active,.key.down{transition:transform .06s ease-out,box-shadow .06s ease-out}
.key.down{transform:translateY(calc(var(--travel) - .06rem));box-shadow:0 .06rem 0 var(--btn-lip),0 .2rem .4rem -.2rem rgba(var(--shade),.3)}
.key.down:not(.plain){background:var(--violet-press)}
.logo .k-top,.bigkey .k-top{transition:transform .26s cubic-bezier(.3,1.7,.5,1)}
.logo:active .k-top,.logo.down .k-top,.bigkey:active .k-top,.bigkey.down .k-top{transition:transform .06s ease-out}
.logo.down .k-top{transform:translateY(20px)}
.nc-key.down{transform:translateY(var(--lip));box-shadow:0 0 0 var(--nc-ember-lip);transition-duration:.05s}
.key .arr.north{transition:transform .25s var(--ease)}
.key:hover .arr.north{transform:translateY(-3px)}
/* the quiet things answer a press as well */
a,button{-webkit-tap-highlight-color:transparent}
.nav a span{transition:background-size .3s var(--ease),translate .08s ease-out}
.nav a:active span{translate:0 1px}
.switch i{transition:scale .3s cubic-bezier(.3,1.7,.5,1),box-shadow .6s}
.switch:hover i{scale:1.3}
.switch:active i{scale:.85}
.mail{transition:background-size .6s var(--ease),translate .08s ease-out}
.mail:active{translate:0 .025em}
.foot li a:active{color:var(--link-hover);transform:translateX(1px)}
/* "press L": the L is a small keycap, and it goes down with the big key */
.hint kbd{display:inline-grid;place-items:center;min-width:1.55em;height:1.5em;padding:0 .32em;margin:0 .12em;border-radius:.38em;font:inherit;font-weight:700;line-height:1;color:var(--ink);background:var(--raised);
  box-shadow:0 .15em 0 color-mix(in srgb,var(--ink) 26%,var(--paper)),0 0 0 1px var(--line);translate:0 -.09em;transition:translate .08s ease-out,box-shadow .08s ease-out}
.bigkey:active .hint kbd,.bigkey.down .hint kbd{translate:0 .06em;box-shadow:0 0 0 color-mix(in srgb,var(--ink) 26%,var(--paper)),0 0 0 1px var(--line)}

/* ---------- Polish, 21 Nov 2026: P6 - type details ---------- */
/* (with these: curly apostrophes on the about page and the 404, and no-break spaces in "Tram 28", "(c) 2026" and "far-away server.", in the HTML) */
html{hanging-punctuation:first;scrollbar-color:color-mix(in srgb,var(--ink) 32%,var(--paper)) var(--paper)}
.ways h3,.row h2,.prose .big{text-wrap:balance}
.gauge b,.nc-well small,.foot .base,.mono b{font-variant-numeric:lining-nums tabular-nums}
.display,.mail,.ways h3,.prose .big{font-kerning:normal;text-rendering:optimizeLegibility}

/* ---------- Polish, 21 Nov 2026: P7 - focus you can follow ---------- */
@media (prefers-reduced-motion:no-preference){
  :focus-visible{animation:p7-ring .3s var(--ease)}
  @keyframes p7-ring{from{outline-offset:12px;outline-color:transparent}}
  .skip{transition:top .2s var(--ease)}
}
.bigkey:focus-visible{outline-offset:.55rem;border-radius:19%}
.logo:focus-visible{outline-offset:6px;border-radius:.6rem}
.key:focus-visible{outline-offset:5px}

/* ---------- Polish, 21 Nov 2026: P8 - a footer that ends the descent ---------- */
.key.small{--travel:.3rem;min-height:2.75rem;padding:.5rem 1rem;font-size:.92rem;border-radius:.75rem}
.foot .up{margin-top:.35rem}
.foot li a[aria-current]{color:var(--muted)}
.foot .base b{color:var(--ink)}

/* ---------- Polish, 21 Nov 2026: P9 - the lost page ends on the sea floor too ---------- */
.lost-sea .lost{min-height:min(50svh,30rem)}
.lost-sea h1.display{font-size:clamp(3rem,9.6vw,8rem)}
.lost-sea .seabed{margin-top:clamp(2.5rem,7vh,5rem)}

/* ---------- Polish, 21 Nov 2026: P10 - about: statements that light up as you read, labels that stay beside their text ---------- */
@media (min-width:56rem){.row h2{position:sticky;top:1.5rem;align-self:start}}
@supports (animation-timeline:view()) and ((-webkit-background-clip:text) or (background-clip:text)){
  @media (prefers-reduced-motion:no-preference){
    .prose .big{view-timeline:--p10-read block}
    .prose .big .lit{background:linear-gradient(90deg,var(--ink) 0 46%,color-mix(in srgb,var(--ink) 30%,var(--paper)) 54% 100%) 100% 0/220% 100% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;
      animation:p10-lit linear both;animation-timeline:--p10-read;animation-range:cover 10% cover 46%}
    @keyframes p10-lit{to{background-position:0 0}}
  }
}
@media (forced-colors:active){.prose .big .lit{background:none;color:CanvasText;animation:none}}

/* ---------- Polish, 21 Nov 2026: P11 - loading ---------- */
/* no jump when Figtree arrives: the stand-in font is given Figtree's own height above and below the line */
@font-face{font-family:"Figtree fallback";src:local("Arial"),local("Liberation Sans"),local("Helvetica Neue"),local("Roboto");ascent-override:95%;descent-override:25%;line-gap-override:0%}
:root{--sans:"Figtree","Figtree fallback",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
/* the app card's two screens (lights on, lights off) are both in place, stacked, so flipping the lights never shows an empty phone;
   a screen still loading when the card arrives fades in (the script sets .p-wait) */
.nc-phone img{display:block!important;transition:opacity .5s var(--ease)}
.nc-phone .d{position:absolute;left:0;top:0;opacity:0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .nc-phone .d{opacity:1}}
:root[data-theme="dark"] .nc-phone .d{opacity:1}
.nc-phone img.l.p-wait{opacity:0}

/* ---------- Polish, 21 Nov 2026: P12 - moving between pages (browsers without page transitions load as before) ---------- */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto;types:p12-page}
  html:active-view-transition-type(p12-page) .top{view-transition-name:p12-top}
  html:active-view-transition-type(p12-page)::view-transition-old(root){animation:p12-out .16s ease-in both}
  html:active-view-transition-type(p12-page)::view-transition-new(root){animation:p12-in .34s cubic-bezier(.2,.7,.1,1) both}
  @keyframes p12-out{to{opacity:0}}
  @keyframes p12-in{from{opacity:0;transform:translateY(.6rem)}}
}

/* ---------- Polish, 21 Nov 2026: P13 - the depth pill rests while you read (phones and tablets; the script sets .still) ---------- */
@media (max-width:69.99rem){.depth.on.still .gauge{opacity:0;transform:translateY(.5rem)}}

/* ---------- Polish, 21 Nov 2026: P14 - print: black on white whatever the lights, no decoration, addresses written out ---------- */
@media print{
  @page{margin:18mm 16mm}
  :root:root:root{color-scheme:light;--paper:#fff;--paper-2:#fff;--raised:#fff;--ink:#000;--muted:#333;--line:#bbb;--accent:#000;--accent-big:#000;--idot:#000;--idot-glow:transparent;--link-hover:#000;
    --floor:#fff;--floor-ink:#000;--floor-muted:#333;--floor-line:#bbb;--lime:#000;--key-face:#000;--key-lip:#000;--key-dot:#fff;--mark:transparent}
  body{font-size:11pt}
  .cast,.prose .big .lit{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:var(--ink)!important;text-shadow:none!important}
  *,*::before,*::after{animation:none!important;transition:none!important;box-shadow:none!important}
  .js .rise,.js .nc .nc-copy>*,.js .ways .rise .acc{opacity:1!important;transform:none!important;translate:none!important;scale:1!important}
  .skip,.nav,.acts,.hello::before,.foot .up,.more,.hint,.nc-eye::before,.hello .sub::before{display:none!important}
  .hero{min-height:0}
  h1.display{font-size:42pt}
  .sec,.hero{padding-block:9mm}
  .band{background:none}
  .nc{border:1px solid #bbb;background:none;color:#000;break-inside:avoid;--nc-t1:#000;--nc-t2:#333;--nc-sec-text:#000;--nc-surface:#fff}
  .nc-key{background:none;padding:0;min-height:0}
  .nc-plat li{border:1px solid #bbb;background:none;color:#000}
  .nc-eye{color:#000}
  .i::before{display:none}
  .cast .i{color:inherit}
  .nc mark{background:none;font-weight:700}
  .ways li,.row,.foot .grid>div{break-inside:avoid}
  .row h2{position:static}
  .mail{font-size:22pt}
  .foot{border-top:1px solid #bbb;color:#000}
  .foot.floor{background:none}
  .prose a[href^="http"]::after,.foot a[href^="http"]::after{content:" (" attr(href) ")";font-weight:400;font-size:.85em;word-break:break-all}
  .nc-key::after{position:static;inset:auto;content:" (" attr(href) ")";font-weight:400;font-size:.85em}
}

/* Publish, 27 Nov 2026: narrow phones at 130% zoom or large text. Nothing changes at 320 px and up at 100%.
   - if a zoomed phone can't fit the logo and the menu on one line, the menu drops under the logo, right-aligned
   - the footer goes to one column, so the email address never pushes the page wider */
.top{flex-wrap:wrap;row-gap:0}
.nav{margin-left:auto}
@media (max-width:19.9em){.foot .grid{grid-template-columns:1fr}}
.foot li a{overflow-wrap:anywhere}
/* Publish, 27 Nov 2026: the dotted "i" is an inline block, which let a zoomed phone break "light" and "studio" around it; the word now stays whole */
.nw{white-space:nowrap}
