@font-face{font-family:"Apple Garamond";src:url(../fonts/AppleGaramond-Light.ttf) format("truetype");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Apple Garamond";src:url(../fonts/AppleGaramond.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Apple Garamond";src:url(../fonts/AppleGaramond-LightItalic.ttf) format("truetype");font-weight:300;font-style:italic;font-display:swap}
:root{
  --bg:#0b0b0c; --bg2:#151517; --fg:#f1eee8; --muted:#8f8c86; --line:#2a2a2d;
  --serif:"Apple Garamond",Garamond,Georgia,serif;
  --gutter:clamp(18px,4vw,64px);
  --ease:cubic-bezier(.2,.7,.2,1);
  --fs-home:clamp(44px,min(10.4vw,11.4svh),144px); --fs-sec:clamp(28px,5.3vw,72px);
}
*{box-sizing:border-box;margin:0;padding:0}
input,textarea{-webkit-user-select:text;user-select:text}
html,body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
img,video,canvas,a{-webkit-user-drag:none;user-drag:none}
html{scroll-behavior:smooth;scrollbar-gutter:stable}   /* the scrollbar keeps its space while the viewer or contact form locks the page, so nothing reflows */
body{background:var(--bg);color:var(--fg);font:300 22px/1.5 var(--serif);font-synthesis:none;-webkit-font-smoothing:antialiased;overflow-x:hidden;min-height:100svh;display:flex;flex-direction:column}
img,video{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
[hidden]{display:none!important}
::selection{background:var(--fg);color:var(--bg)}

/* top bar: just Contact, plus a frosted-glass backdrop that fades in with scroll (--p) behind the name, which is
   the same element as the header name on the page (it sticks to the top as you scroll) */
.nav{position:fixed;inset:0 0 auto 0;z-index:50;min-height:calc(var(--fs-sec)*1.15 + 28px);pointer-events:none}
.nav::before{content:"";position:absolute;inset:0;background:rgba(11,11,12,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);opacity:var(--p,0);pointer-events:none}
.nav.solid{pointer-events:auto}
/* Contact: the monitor glyph on the shelf (drawn on the canvas by hero.js); this transparent button sits exactly over it */
.mon-hit{position:absolute;z-index:6;left:0;top:0;width:0;height:0;padding:0;border:0;background:none;color:transparent;font-size:0;cursor:pointer;border-radius:14px}
#home{--monw:clamp(54px,9.75vw,143px)}
@media (min-width:1501px){#home{--monw:min(207px,calc(13vw - 52px))}}   /* wide screens: the monitor grows with the window */
#home[data-state=section] .titles-wrap{padding-right:calc(var(--monw) + 24px)}   /* the section titles leave room for the monitor */

/* single page: header (name + subheader / section titles) → shelf divider → rows or content */
#home{position:relative;flex:1;display:flex;flex-direction:column;--fs:var(--fs-home)}
#home[data-state=section]{--fs:var(--fs-sec)}
#stage{position:absolute;top:0;left:0;width:100%;height:100svh;z-index:4;pointer-events:none}   /* glyphs live in the top screenful, above the content */
.hero,.rows,.contact,#pageBody{position:relative;z-index:1}
.hero{display:flex;flex-direction:column;padding-bottom:clamp(62px,8svh,80px);flex:none;transition:padding-bottom .5s var(--ease)}
#home[data-state=section] .hero{padding-bottom:clamp(16px,2.4svh,26px)}
#home.boot,#home.boot *{transition:none!important}
html.cg,html.cg *{cursor:grab!important}
html.cgg,html.cgg *{cursor:grabbing!important}
.hero-head{position:relative;padding:0 var(--gutter)}
.hero-sub .ig{display:block;flex:none;width:1.25em;height:1.25em;color:var(--fg);pointer-events:auto;transition:transform .35s var(--ease),opacity .3s;opacity:.9}
.hero-sub .ig svg{display:block;width:100%;height:100%}
.hero-sub .ig:hover{transform:scale(1.15) rotate(-6deg);opacity:1}
.hero-text{pointer-events:none;min-width:0}
/* the top bar: the name and Contact share one row (so they stay aligned as it grows/shrinks); on section pages it sticks to the top
   as you scroll, moving seamlessly into the glass bar. The name leans into an italic (a spring-driven skew of the same letters, no swap). */
.topbar{position:relative;z-index:60;display:flex;justify-content:flex-start;align-items:flex-end;gap:20px;padding:0 var(--gutter);pointer-events:none;
  margin-top:clamp(44px,7svh,80px);transition:margin-top .5s var(--ease)}
#home[data-state=section] .topbar{position:sticky;top:14px;margin-top:clamp(36px,4.6svh,52px)}
/* the window from the iMac's screen, caught on the top bar (app.js places and sizes it as it folds down) */
.bar-contact{position:fixed;left:0;top:0;z-index:61;display:flex;align-items:center;justify-content:center;visibility:hidden;pointer-events:none;cursor:pointer;
  letter-spacing:.05em;line-height:1;white-space:nowrap;color:var(--fg);background:#4a4948;box-sizing:border-box}
.bar-contact.on{visibility:visible;pointer-events:auto}
.bar-contact i{position:absolute;border-radius:50%;background:var(--fg)}
.bar-contact span{display:inline-block;transition:transform .35s cubic-bezier(.3,1.5,.5,1)}
.bar-contact:hover span{transform:scale(1.08)}
.hero-name{position:relative;width:max-content;font-size:var(--fs);line-height:.95;letter-spacing:-.025em;white-space:nowrap;pointer-events:none;transition:font-size .5s var(--ease)}
#home[data-state=section] .hero-name{pointer-events:auto;cursor:pointer}
.hero-name .nm{display:inline-block;position:relative;transform-origin:0 100%;transition:transform .6s cubic-bezier(.3,1.5,.5,1)}
#home[data-state=section] .hero-name .nm{transform:skewX(-12deg)}
.hero-name .tx{display:inline-block}
.hero-name .pr{display:inline-block;width:0;height:0}
#heroTitle.egg0 .k0,#heroTitle.egg1 .k1{visibility:hidden}
.hero-name .w{display:inline-block;overflow:hidden;padding:.08em .04em .12em;vertical-align:bottom}
.hero-name .w>span{display:inline-block;transform:translateY(110%);animation:rise 1.2s var(--ease) forwards}
.hero-name .w:nth-child(2)>span{animation-delay:.18s}
@keyframes rise{to{transform:none}}
/* glow, like film halation: a tight warm bloom plus a wide orange-red one, each masked by a fine grain tile; app.js re-deals the grain ~24x a second */
.hero-name .gl{position:absolute;left:0;top:0;z-index:-1;white-space:nowrap;pointer-events:none;will-change:opacity,transform;
  -webkit-mask-size:192px 192px;mask-size:192px 192px;-webkit-mask-repeat:repeat;mask-repeat:repeat}
.hero-name .gl.a{color:rgb(255,214,170);filter:blur(3px);-webkit-mask-image:url(../img/grain-a.png);mask-image:url(../img/grain-a.png)}
.hero-name .gl.b{color:rgb(255,120,70);filter:blur(13px);-webkit-mask-image:url(../img/grain-b.png);mask-image:url(../img/grain-b.png)}
.sub-wrap,.titles-wrap{display:grid;transition:grid-template-rows .5s var(--ease)}
.sub-wrap{grid-template-rows:1fr}
.sub-wrap>div{min-height:0;overflow:hidden}
.titles-wrap{grid-template-rows:0fr}
.titles-wrap>div{min-height:0}
#pageBody{padding-top:clamp(12px,2vw,26px);overflow-x:clip;touch-action:pan-y pinch-zoom}
#home[data-state=section] .sub-wrap{grid-template-rows:0fr}
#home[data-state=section] .titles-wrap{grid-template-rows:1fr}
.hero-sub{display:flex;align-items:center;gap:.6em;font-size:clamp(15px,min(2vw,2.9svh),28px);font-style:italic;line-height:1.2;margin:clamp(0px,.3svh,4px) 0 0 .05em;transform:translateY(130%);animation:rise 1s var(--ease) .55s forwards}


/* home rows */
.rows{flex:1;display:flex;flex-direction:column}
.rows.flying .row .t{opacity:0}   /* rows stretch to fill the screen; the shelf above acts as the divider */
.row{flex:1 1 auto;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:clamp(8px,1.9svh,24px) var(--gutter);
  border-bottom:1px solid var(--line);position:relative;overflow:hidden;
  font-size:clamp(30px,min(11vw,8.1svh),112px);line-height:1;letter-spacing:-.025em;transition:opacity .5s,color .5s}
.row .t{display:block;transition:transform .7s var(--ease)}
.row .arr{font-size:.38em;opacity:0;transform:translateX(-30px);transition:.6s var(--ease)}
.row{z-index:0}
.rows:hover .row:not(:hover){opacity:.28}
.peek{position:absolute;inset:0;z-index:-1;overflow:hidden;clip-path:inset(0 100% 0 0);transition:clip-path .7s var(--ease);background:var(--bg)}
.peek::after{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,rgba(11,11,12,.64),rgba(11,11,12,.38) 55%,rgba(11,11,12,.5))}
.peek img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;scale:1.14;filter:blur(9px) saturate(1.75) contrast(1.04);transition:opacity .5s ease,scale 1.8s var(--ease)}   /* (fades out quickly, fades in slowly) */
.peek img.was{opacity:1;z-index:1;scale:1.1}
.peek img.on{opacity:1;z-index:2;scale:1.06;transition:opacity 1.1s ease,scale 1.8s var(--ease)}
.peek::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(135deg,rgba(255,255,255,.17),rgba(255,255,255,.02) 40%,rgba(255,255,255,.1));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.45),inset 0 0 0 1px rgba(255,255,255,.12),inset 0 0 40px rgba(255,255,255,.06)}
.peek-bar{position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--fg);transform:scaleX(0);transform-origin:left;opacity:0;transition:opacity .4s;pointer-events:none}
.row:hover .peek{clip-path:inset(0)}
.row:hover .peek-bar{opacity:1}
.row:hover .t{transform:translateX(1.5vw)}
.row:hover .arr{opacity:1;transform:none}
.reveal{transform:translateY(40px);clip-path:inset(100% 0 0 0)}
.reveal.in{animation:wipe .5s var(--ease) var(--d,0s) both}
@keyframes wipe{from{clip-path:inset(100% 0 0 0);transform:translateY(40px)}to{clip-path:inset(0);transform:none}}


/* contact */
.contact{padding:clamp(8px,1.6svh,22px) var(--gutter) clamp(6px,1svh,15px);text-align:center;font-style:italic}
.big-mail{display:inline-block;font-size:clamp(14px,min(2.5vw,2.6svh),28px);letter-spacing:-.01em;line-height:1.2;
  background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .6s var(--ease)}
.big-mail:hover{background-size:100% 1px}
.links{margin-top:2px;font-size:clamp(13px,1.9svh,17px);display:flex;gap:26px;justify-content:center;color:var(--muted)}
.links a{transition:color .3s}.links a:hover{color:var(--fg)}
footer{flex:none;padding:10px var(--gutter);color:var(--muted);font-size:16px;text-align:center;border-top:1px solid var(--line)}

/* section titles: a soft, jelly-like row. Every title is set at the big size and scaled by a spring in JS
   (squeezed sideways, lighter + shorter when inactive; open, heavier and full width when active). */
.titles{position:relative;font-size:clamp(27px,min(7.2vw,10.4svh),102px);height:1.18em;white-space:nowrap;cursor:pointer;margin-top:.04em}
.titles:not(.live){visibility:hidden;pointer-events:none}
.titles.live{pointer-events:auto}   /* (the header text block above ignores the pointer so glyphs can be dragged through it) */
.titles .t{position:absolute;left:0;bottom:0;display:block;line-height:1.1;letter-spacing:-.025em;color:#8f8c86;transform-origin:0 100%;will-change:transform;pointer-events:none}
.titles .t .l{display:block;font-weight:300;-webkit-text-stroke:calc(var(--t,0)*.02em) currentColor}   /* the active title thickens continuously (no weight swap) */
.titles .t:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
#grid,.grid-ghost{padding:0 var(--gutter)}
.grid-ghost{position:absolute;left:0;right:0;overflow:hidden;pointer-events:none}   /* the section sliding in beside this one */
.card.shown{clip-path:inset(0 round 8px)}
.collage{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--cgap,14px)}
@media(max-width:520px){[data-tab=video] .collage,[data-tab=design] .collage{grid-template-columns:1fr}}
.card{position:relative;overflow:hidden;border-radius:8px;background:var(--bg2);cursor:pointer;display:block;min-width:0;text-align:left;aspect-ratio:3/2;clip-path:inset(100% 0 0 0 round 8px)}
[data-tab=video] .card,[data-tab=design] .card{aspect-ratio:16/9}
/* design & motion: two across, with the third piece on its own row, centred (2 · 1 · 2) */
[data-tab=design] .collage{grid-template-columns:repeat(4,1fr)}
[data-tab=design] .card{grid-column:span 2}
[data-tab=design] .card:nth-child(3):nth-last-child(3),[data-tab=design] .card:last-child:nth-child(odd):not(:nth-child(5)){grid-column:2/span 2}   /* (with five, the middle one is centred; otherwise a lone last one is) */
.card.in{animation:cardin .5s var(--ease) var(--d,0s) both}
@keyframes cardin{from{clip-path:inset(100% 0 0 0 round 8px);transform:translateY(36px)}to{clip-path:inset(0 round 8px);transform:none}}
.card video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;transition:transform .6s var(--ease)}
.card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 38%;transition:transform .6s var(--ease)}
.card:hover img,.card:hover video{transform:scale(1.04)}
.card.vid::after{content:"";z-index:2;position:absolute;top:50%;left:50%;width:64px;height:64px;margin:-32px;border-radius:50%;
  background:rgba(0,0,0,.4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 7v10l8-5z'/%3E%3C/svg%3E") center/32px no-repeat;
  backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.45);pointer-events:none;transition:.5s var(--ease)}
.card.vid:hover::after{transform:scale(1.18);background-color:rgba(255,255,255,.2)}

.next{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:clamp(36px,5vw,70px) 0 0;padding:clamp(20px,3.4vw,48px) var(--gutter);
  border-top:1px solid var(--line);font-size:clamp(32px,min(6.4vw,9svh),88px);line-height:1;letter-spacing:-.025em;position:relative;overflow:hidden;z-index:0;transition:color .5s}
.next small{display:block;font-size:19px;letter-spacing:0;color:var(--muted);margin-bottom:8px;transition:color .5s}
.next .arr{transition:transform .6s var(--ease)}
.next::before{content:"";position:absolute;inset:0;background:var(--fg);transform:translateY(101%);transition:transform .6s var(--ease);z-index:-1}
.next:hover{color:var(--bg)}.next:hover small{color:#555}
.next:hover::before{transform:none}.next:hover .arr{transform:translateX(16px)}

/* contact form */
.cf{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:16px}
.cf-scrim{position:absolute;inset:0;background:rgba(6,6,7,.62);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);animation:scrimin .58s ease}
.cf.closing .cf-scrim{animation:scrimout .45s ease forwards}
@keyframes scrimin{from{background-color:rgba(6,6,7,0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}}
@keyframes scrimout{to{background-color:rgba(6,6,7,0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}}
.cf-stand{position:fixed;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible}
/* The open form is the iMac's display come forward: the same shape as the one on the shelf (5:3.6), with the white bezel a little
   thicker than on the shelf (it thickens as the display comes closer, set by app.js as --bz), a black screen, and the grey window on it */
.cf-panel{--pw:min(780px,calc(100vw - 32px),calc((100svh - 40px) / .72));position:relative;z-index:2;display:flex;width:var(--pw);height:calc(var(--pw) * .72);
  padding:clamp(10px,calc(var(--pw) * .024),20px);border:var(--bz,calc(var(--pw) * .05)) solid var(--fg);border-radius:calc(var(--pw) * .07);
  background:var(--bg);box-shadow:0 30px 90px rgba(0,0,0,.6)}
.cf-win{position:relative;flex:1;min-width:0;min-height:0;overflow:auto;display:flex;flex-direction:column;border-radius:max(8px,calc(var(--pw) * .07 - var(--bz, calc(var(--pw) * .05)) - clamp(10px, calc(var(--pw) * .024), 20px)));background:#4a4948;--muted:#aeaba5;
  padding:max(32px,calc(var(--pw) * .062)) calc(var(--pw) * .05) calc(var(--pw) * .036)}   /* the solid grey window on the screen, as on the iMac: its corners follow the bezel's, inset (the gap stays even all the way round) */
.cf-win>*{opacity:var(--fv,1)}   /* (the window itself stays, as it is on the iMac; its contents fade in) */
.cf-lights{position:absolute;top:calc(var(--pw) * .022);left:calc(var(--pw) * .024);display:flex;gap:calc(var(--pw) * .01)}   /* the three traffic lights; the first one closes */
.cf-lights>*{display:block;width:max(11px,calc(var(--pw) * .016));aspect-ratio:1;border-radius:50%;background:var(--fg)}
.cf-close{position:relative;padding:0;border:0;cursor:pointer;color:var(--bg);transition:transform .25s var(--ease)}
.cf-close::before{content:"";position:absolute;inset:-8px}   /* (a bigger target than the dot) */
.cf-close::after{content:"×";position:absolute;inset:0;display:grid;place-items:center;font:600 calc(var(--pw) * .016)/1 system-ui,sans-serif;opacity:0;transition:opacity .2s}
.cf-close:hover{transform:scale(1.15)}.cf-close:hover::after,.cf-close:focus-visible::after{opacity:1}
.cf-close:focus-visible{outline:2px solid var(--fg);outline-offset:3px}
#cfForm{flex:1;min-height:0;display:flex;flex-direction:column}
.cf-pair{display:grid;grid-template-columns:1fr 1fr;gap:calc(var(--pw) * .04)}
.cf-grow{flex:1;min-height:0;display:flex;flex-direction:column}
.cf-grow textarea{flex:1;min-height:2.7em}
.cf-panel h2{font-weight:400;font-size:max(34px,calc(var(--pw) * .074));line-height:1;letter-spacing:.05em;margin-bottom:calc(var(--pw) * .012)}
.cf-panel h2 span{display:inline-block}
.cf-fly{position:fixed;left:0;top:0;margin:0;z-index:300;pointer-events:none;white-space:nowrap;transform-origin:0 0;font-weight:400;line-height:1;letter-spacing:.05em;will-change:transform}
.cf-fld{display:block;margin-top:calc(var(--pw) * .022)}
.cf-fld span{display:block;font-style:italic;font-size:max(14px,calc(var(--pw) * .022));color:var(--muted);margin-bottom:2px;transition:color .3s}
.cf-fld:focus-within span{color:var(--fg)}
.cf-fld input,.cf-fld textarea{display:block;width:100%;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.2);border-radius:0;color:var(--fg);
  font:300 max(18px,calc(var(--pw) * .033))/1.3 var(--serif);padding:2px 0 6px;outline:0;resize:none;transition:border-color .3s}
.cf-fld input:focus,.cf-fld textarea:focus{border-bottom-color:var(--fg)}
.cf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cf-row{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:calc(var(--pw) * .026)}   /* Send sits in the window's bottom right corner */
.cf-send{font-size:max(20px,calc(var(--pw) * .034));padding:.25em 1.1em .32em;border:1.5px solid var(--fg);border-radius:99px;transition:background .3s,color .3s,opacity .3s;will-change:transform}
.cf-send:hover{background:var(--fg);color:var(--bg)}
.cf-send:disabled{opacity:.5;pointer-events:none}
.cf-note{flex:1;min-width:0;font-style:italic;font-size:max(14px,calc(var(--pw) * .02));line-height:1.3;color:var(--muted)}
.cf-note.err{color:#ff8a7a}

/* lightbox */
.lb{touch-action:pinch-zoom;user-select:none;-webkit-user-select:none;position:fixed;inset:0;z-index:100;background:rgba(6,6,7,.96);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 64px 64px;animation:lbin .25s ease}
@keyframes lbin{from{background-color:rgba(6,6,7,0)}}
.lb.closing{animation:lbout .36s ease forwards}
.lb-x,.lb-nav{transition:opacity .2s}
.lb.closing .lb-x,.lb.closing .lb-nav{opacity:0}
@keyframes lbout{to{background-color:rgba(6,6,7,0)}}
.lb-stage{flex:1;min-height:0;width:100%;display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;overflow:hidden}
.lb-stage>*{grid-area:1/1;will-change:transform}
.lb-stage img,.lb-stage video,.lb-stage iframe{max-width:100%;max-height:100%;box-shadow:0 20px 80px rgba(0,0,0,.6)}
.lb-stage img,.lb-stage video:not([controls]),.card img,.card video{pointer-events:none;-webkit-touch-callout:none}   /* no browser image tools / hover menus on the pictures */
.lb-stage iframe,.lb-stage .lb-ph{width:min(100%,1200px);aspect-ratio:16/9;height:auto;border:0;object-fit:cover}   /* (a YouTube piece passing by is its thumbnail, the same size as its player) */
.lb-count{position:absolute;left:0;right:0;bottom:clamp(14px,2.4vh,24px);text-align:center;font-style:italic;font-size:17px;letter-spacing:.06em;color:var(--muted);font-variant-numeric:tabular-nums;pointer-events:none;transition:opacity .2s}
.lb.closing .lb-count{opacity:0}
.lb-x{position:absolute;top:14px;right:18px;font-size:22px;width:44px;height:44px;opacity:.8}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);font-size:52px;width:56px;height:80px;opacity:.6;transition:.2s;font-family:var(--serif)}
.lb-nav:hover,.lb-x:hover{opacity:1}
.lb-nav.prev{left:4px}.lb-nav.fwd{right:4px}
button:focus-visible,a:focus-visible{outline:2px solid var(--fg);outline-offset:3px}

@media(max-width:760px){
  :root{--fs-home:clamp(55px,min(13vw,14.25svh),180px);--fs-sec:clamp(35px,6.6vw,90px)}     /* the name is 25% larger on phones */
  .hero-sub{align-items:center;max-width:calc(100% - 26vw - 4px)}                          /* the line (and the map) stay clear of the iMac */
  .hero-name .gl{padding:40px;margin:-40px}                                                /* room for the glow's blur, so it isn't cut off in a rectangle */
  .titles{height:calc(1.18em*1.5)}                                                          /* section titles are stretched 50% taller */
  .collage{grid-template-columns:1fr!important}
  [data-tab=design] .card{grid-column:auto!important}                                             /* every media page is one tile across */
  body{font-size:18px}
  #grid,.grid-ghost{padding:0 12px}
    .row .arr{opacity:1;transform:none;font-size:.3em}
  .lb{padding:56px 10px}.lb-nav{font-size:38px;width:40px}
  .links{flex-direction:column;gap:6px}
  .cf-panel{height:auto;max-height:calc(100svh - 32px)}   /* (a phone is too narrow for the form at the display's shape: it grows taller) */
  .cf-pair{grid-template-columns:1fr;gap:0}
}
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01s!important;animation-delay:0s!important;transition-duration:.01s!important}html{scroll-behavior:auto}}
