/* index.html — menu-driven navigation (2026-11-18). Loaded after style.css / flow.css; everything is
   scoped to body.mn so the landing page is untouched. Layers, back to front:
   night ground → paper views → hero (full-bleed, or the porthole) → fx canvas (only the ?fx= experiments draw) → menu column → contact.
   The ?fx= experiments' styles are in menu-fx.css, loaded with them. */
body.mn {
  --col: clamp(250px, 21vw, 320px);
  --porth: clamp(110px, calc(100vh - 720px), 260px);
  overflow: hidden; height: 100vh; height: 100dvh; background: var(--blk);
}
.mn-ground { position: fixed; inset: 0; z-index: 0; background: var(--blk) var(--noise); }

/* ---------------------------------------------------------------- hero: set, full-bleed */
body.mn .mn-hero { position: fixed; inset: 0; height: auto; min-height: 0; z-index: 2; transform-origin: 0 0; will-change: transform, clip-path; }
.mn-boot-view body.mn .mn-hero { visibility: hidden; }
body.mn .hero-center { left: 50%; width: min(1000px, calc(100vw - var(--col) * 2 - 40px)); opacity: calc(1 - var(--mnE, 0) * 3); } /* centred on the screen, clear of the menu column */
body.mn .hero-foot { opacity: calc(1 - var(--mnE, 0) * 3); }
body[data-view]:not([data-view="home"]) .hero-center, body[data-view]:not([data-view="home"]) .hero-foot { pointer-events: none; }

/* the 3D hero (hero3d.js): the canvas fills the hero and shrinks with it into the porthole; the 2D picture, canvas
   beam, overlay grain and wide panorama are its fallback (body.lh3d is set once the 3D scene has drawn its first frame) */
body.mn #hero3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; pointer-events: none; transition: opacity 1.2s ease; }
body.mn:not(.lh3d) #hero3d { visibility: hidden; }
body.mn.lh3d.ready #hero3d { opacity: 1; }
body.mn.lh3d .hero-img, body.mn.lh3d #beam, body.mn.lh3d #grain, body.mn.lh3d .mn-wide { display: none; }

/* ---------------------------------------------------------------- the beam's sweep */
#mnSweep { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

/* ---------------------------------------------------------------- the menu column */
body.mn #nav { position: fixed; z-index: 4; top: 0; left: 0; right: auto; bottom: 0; width: var(--col); display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 22px 0 22px var(--mn-pad, 32px); padding-right: 20px; background: none !important; color: var(--wh); }
body.mn #nav::after { display: none; }
/* on the hero, a soft shade down the left keeps the column legible; it fades into the night ground on a view */
body.mn #nav::before { inset: 0 -160px 0 0; background: linear-gradient(90deg, rgba(5,5,4,.66), rgba(5,5,4,.32) 62%, rgba(5,5,4,0)); }
body.mn .lockup { flex: none; align-self: flex-start; }

/* the porthole: an empty space on home; the hero comes to rest exactly inside it (no frame: it sat offset from the shrunken scene) */
.mn-port { position: relative; display: block; flex: none; margin: 26px 0 0; height: var(--porth); width: 100%; }
.mn-port-cap { position: absolute; left: 0; top: calc(100% + 10px); font: 11px var(--mono); letter-spacing: .14em; opacity: 0; transition: opacity .4s ease; white-space: nowrap; }
body:not([data-view="home"]) .mn-port { cursor: pointer; }
body:not([data-view="home"]) .mn-port-cap { opacity: .6; transition-delay: .5s; }
body:not([data-view="home"]) .mn-port:hover .mn-port-cap, .mn-port:focus-visible .mn-port-cap { opacity: 1; }
.mn-port:focus-visible { outline: 1px dashed var(--wh); outline-offset: 4px; }

.mn-menu { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; margin-top: 40px; }
body.mn #nav nav { display: grid; justify-items: start; gap: 0; font: 400 clamp(34px, 2.9vw, 44px)/1.08 var(--serif); letter-spacing: -.01em; text-transform: none; }
body.mn #nav nav a { display: inline-flex; align-items: baseline; gap: 12px; padding: 1px 0 3px; opacity: 1; text-shadow: 0 1px 18px rgba(0,0,0,.55); transition: opacity .25s ease, transform .35s var(--ease); }
body.mn #nav nav a::after { left: 0; right: -14px; bottom: 2px; height: 9px; }
body.mn #nav nav a:hover { transform: translateX(4px); }
body:not([data-view="home"]).mn #nav nav a { opacity: .7; }
body.mn #nav nav a:hover, body.mn #nav nav a[aria-current] { opacity: 1 !important; }
body.mn #nav nav a[aria-current]::after { transform: scaleX(1); }
body.mn #nav nav a:focus-visible { outline: 1px dashed currentColor; outline-offset: 4px; }

.mn-k { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .72; margin: 0 0 12px; }
#mnClients { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.mn-menu-foot { display: none; }

/* ---------------------------------------------------------------- views: paper sheets right of the column */
.mn-views { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.mn-view { position: absolute; z-index: 1; isolation: isolate; top: 0; right: 0; bottom: 0; left: var(--col); overflow-y: auto; overscroll-behavior: contain; pointer-events: auto;
  background: var(--paper) var(--noise); color: var(--ink); --gutter: clamp(24px, 3.8vw, 64px); scrollbar-width: thin; scrollbar-color: rgba(22,22,20,.35) transparent; }
.mn-view.mn-fade { animation: mnFade .2s ease both; }
@keyframes mnFade { from { opacity: 0; } }
body.mn .mn-view { --s1: clamp(64px, 7.2vw, 116px); --vpad: clamp(48px, 9vh, 92px); }
body.mn .mn-view.projects, body.mn .mn-view.about-f { padding-top: var(--vpad) !important; padding-bottom: 0 !important; border: 0 !important; }
body.mn .mn-view .title-row + * { margin-top: clamp(40px, 6vh, 64px) !important; }
body.mn .mn-view .phead { top: calc(-1 * var(--vpad)); } /* sticky insets count from inside the view's padding */
body.mn #about .testimonials .intro { font-size: 17px; }
body.mn #about .t-body p { max-width: 640px; }

/* leaving for portfolio.html: a quick fade to that page's ground */
.mn-leave { position: fixed; inset: 0; z-index: 100; opacity: 0; pointer-events: none; }

.mn-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; }
.mn-modal[hidden] { display: none; }
.mn-modal:not(.open) { pointer-events: none; }
.mn-backdrop { position: absolute; inset: 0; background: rgba(8,8,7,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s ease; }
.mn-card { position: relative; width: min(760px, calc(100vw - 48px)); padding: 30px clamp(28px, 4vw, 48px) 28px; background: var(--blk) var(--noise); color: var(--wh); box-shadow: 0 40px 80px rgba(0,0,0,.5);
  clip-path: inset(100% 0 0 0); transform: translateY(24px); transition: clip-path .5s var(--ease), transform .6s var(--ease); }
.mn-modal.open .mn-backdrop { opacity: 1; }
.mn-modal.open .mn-card { clip-path: inset(0 0 0 0); transform: none; }
.mn-card h2 { font: 400 clamp(56px, 6vw, 88px)/.95 var(--serif); letter-spacing: -.02em; margin: 26px 0 14px; }
.mn-card > p { font-size: 17px; line-height: 1.5; margin: 0; opacity: .8; max-width: 48ch; }
.mn-mail { display: inline-block; margin: 40px 0 0; font: 400 clamp(30px, 4.2vw, 56px)/1.05 var(--serif); letter-spacing: -.01em; border-bottom: 1px solid rgba(242,240,232,.5); padding-bottom: 6px; word-break: break-word; transition: border-color .2s; }
.mn-mail:hover { border-color: var(--wh); }
.mn-card-foot { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 16px; border-top: 1px solid rgba(242,240,232,.22); font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.mn-card-foot span { margin-left: auto; opacity: .55; }
.mn-x { position: absolute; top: 22px; right: 22px; background: none; border: 1px solid rgba(242,240,232,.5); color: inherit; padding: 8px 12px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.mn-x:hover, .mn-x:focus-visible { background: var(--wh); color: var(--ink); outline: 0; }
.mn-card-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- tablet */
@media (max-height: 760px) and (min-width: 1001px) {
  /* short screens: a compact column rather than hiding the list */
  body.mn { --porth: 96px; }
  body.mn .mn-menu { margin-top: 22px !important; }
  body.mn #nav nav { font-size: 30px; }
  body.mn .mn-clients { margin-top: 18px !important; }
  #mnClients a { font-size: 13.5px !important; padding: 1px 0 !important; }
}

/* ---------------------------------------------------------------- phone: a top bar; the menu is a full-screen overlay */
@media (max-width: 1000px) {
  body.mn { --col: 0px; --barh: 60px; }
  body.mn #nav { right: 0; bottom: auto; width: auto; height: var(--barh); flex-direction: row; justify-content: space-between; align-items: center; padding: 0 var(--gutter) !important; }
  body.mn .lockup, body.mn .nav-menu { position: relative; z-index: 2; }
  body.mn .nav-menu { display: inline-flex; color: var(--wh); background: rgba(11,11,10,.35); border-color: rgba(242,240,232,.7); }
  .mn-port { position: absolute; inset: 0; margin: 0; height: auto; z-index: 1; }
  .mn-port-cap { display: none; }

  .mn-menu { position: fixed; inset: 0; z-index: 1; margin: 0; padding: calc(var(--barh) + 28px) var(--gutter) 28px; background: var(--blk) var(--noise); overflow-y: auto;
    clip-path: circle(0 at calc(100% - 44px) 30px); visibility: hidden; transition: clip-path .55s var(--ease), visibility 0s .55s; }
  body.mn #nav.menu-open .mn-menu { clip-path: circle(150% at calc(100% - 44px) 30px); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
  body.mn #nav.menu-open .lockup { z-index: 3; }
  body.mn #nav nav { display: grid !important; position: static; padding: 0; background: none; border: 0; font-size: 52px; line-height: 1.12; }
  body.mn #nav nav a { padding: 4px 0 !important; width: auto; border: 0 !important; font: inherit !important; letter-spacing: -.01em !important; color: var(--wh) !important; opacity: 1 !important; text-shadow: none !important; }
  body.mn #nav nav a::after { display: none; }
  .mn-menu-foot { display: flex; gap: 24px; margin-top: auto; padding-top: 32px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
  .mn-menu-foot a { opacity: .75; }

  body.mn .hero-center { left: 50%; width: 92vw; }
  .mn-view { top: var(--barh); left: 0; --gutter: 20px; }
  body.mn .mn-view { --vpad: 36px; }

  .mn-modal { place-items: end stretch; }
  .mn-card { width: 100%; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); clip-path: none; transform: translateY(105%); transition: transform .5s var(--ease); }
  .mn-modal.open .mn-card { transform: none; }
  .mn-card h2 { font-size: 56px; margin-top: 18px; }
  .mn-mail { font-size: 28px; margin-top: 28px; }
  .mn-card-foot { margin-top: 32px; } .mn-card-foot span { margin-left: 0; width: 100%; }
  .mn-x { top: 18px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mn-card { clip-path: none !important; transform: none !important; opacity: 0; transition: opacity .2s ease !important; }
  .mn-modal.open .mn-card { opacity: 1; }
}
body.mn:not([data-view="home"]) #nav::before { opacity: 0; }
@media (max-width: 1000px) { body.mn .lockup { align-self: center; } }

/* ---------------------------------------------------------------- clients & the client peek */
/* clients: a plain list in the body face, readable at a glance */
#mnClients a { display: block; white-space: normal; font: 400 15px/1.25 var(--sans); letter-spacing: 0; text-transform: none; padding: 3px 0; border: 0; background: none; text-shadow: 0 1px 12px rgba(0,0,0,.6); opacity: .9; transition: opacity .15s, transform .25s var(--ease); }
#mnClients a::before { content: ""; display: inline-block; width: 0; height: 1px; background: currentColor; vertical-align: middle; margin-right: 0; transition: width .25s var(--ease), margin .25s var(--ease); }
#mnClients a:hover, #mnClients a:focus-visible { background: none; color: var(--wh); opacity: 1; outline: 0; }
#mnClients a:hover::before, #mnClients a:focus-visible::before { width: 14px; margin-right: 8px; }
body.mn .mn-clients { margin-top: 28px; }
@media (max-height: 820px) and (min-width: 1001px) { #mnClients a { font-size: 14px; padding: 2px 0; } }
/* the peek: a live stage beside the menu, level with the hovered client */
.mn-peek { position: fixed; z-index: 5; left: calc(var(--col) + (100vw - var(--col)) / 2); top: 50%; width: min(640px, calc(100vw - var(--col) - 64px)); pointer-events: none;
  opacity: 0; transform: translate(-50%, calc(-50% + 12px)); transition: opacity .22s ease, transform .4s var(--ease); }
.mn-peek.on { opacity: 1; transform: translate(-50%, -50%); }
/* the work takes the headline's place while it shows */
body.mn .hero-center > * { transition: opacity .35s ease; }
.mn-peek-stage { margin: 0; min-height: 0; aspect-ratio: auto; background: transparent; max-height: calc(100vh - 80px); overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mn-peek, .mn-peek.on { transition: opacity .15s; transform: translate(-50%, -50%); } }

/* the hero steps aside while a client's work shows (home only; geometry from asideGeom() in menu.js) */
body.mn .mn-hero .hero-img, body.mn .mn-hero #beam { transform-origin: 0 0; transition: opacity 1.2s ease, transform 2.4s var(--ease), translate .7s var(--ease), scale .7s var(--ease); }
/* the wide scene: same picture, more of it; positioned by placeWide() */
body.mn .mn-wide { position: absolute; max-width: none; pointer-events: none; transition: translate .7s var(--ease), scale .7s var(--ease); }
body:not(.mn) .mn-wide { display: none; }
/* soft edges so the beam never shows a hard canvas edge once the scene shrinks */
body.mn .mn-hero #beam { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
body.mn .hero-center { transform-origin: 0 0; transition: translate .7s var(--ease), scale .7s var(--ease), opacity .3s ease; } /* origin 0 0: with its translate(-50%) it scales about its own centre line */
body.mn .hero-foot { transition: opacity .3s ease; }
body.mn.mn-aside .mn-hero .hero-img, body.mn.mn-aside .mn-hero #beam, body.mn.mn-aside .mn-wide { translate: var(--as-tx) var(--as-ty); scale: var(--as-s); }
body.mn.mn-aside .mn-wide.ok ~ .hero-img { opacity: 0; transition: opacity .5s ease, translate .7s var(--ease), scale .7s var(--ease); }
body.mn.mn-aside .hero-center { translate: var(--as-hx) var(--as-hy); scale: var(--as-hs); }
body.mn.mn-aside .hero-center::before { opacity: 0; }
body.mn.mn-aside .hero-foot { opacity: 0 !important; }
body.mn.mn-aside .mn-peek { left: var(--pk-l); width: var(--pk-w); }
body.mn.mn-aside .mn-peek, body.mn.mn-aside .mn-peek.on { translate: 50% 0; }
.mn-peek-stage.vid { background: none; }
.mn-peek-stage video { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { body.mn .mn-hero .hero-img, body.mn .mn-hero #beam, body.mn .hero-center { transition: opacity .2s; } }
/* previews sit straight on the scene: no frame, shadow or ground box */
.mn-peek .ss-window, .mn-peek .ss-phone { box-shadow: none !important; }
.mn-peek .ss-ground { display: none; }
.mn-peek-stage, .mn-peek-stage > * { border: 0 !important; box-shadow: none !important; }
/* every view's title starts at the same height: the intro hangs from the top instead of the title dropping to meet a taller intro */
body.mn .mn-view .title-row { align-items: start !important; }
body.mn .mn-view .title-row .intro, body.mn .mn-view .title-row .intro-wrap { margin-top: .9em !important; }
/* clients & products belong to the home screen only */
body.mn:not([data-view="home"]) .mn-clients { display: none; }
/* About: portrait + bio, then the testimonials (no heading), compact enough that the tapes and the start of the
   quote show above the fold */
body.mn #about .af { margin-top: clamp(24px, 3.5vh, 40px) !important; }
body.mn #about .af-stage { max-height: clamp(220px, calc(100vh - 560px), 420px); margin-inline: auto; }
body.mn #about .testimonials { padding-top: 0 !important; margin-top: clamp(28px, 4vh, 44px) !important; }
body.mn #about .testimonials .t-full { margin-top: 24px; }
body.mn .mn-view .title-row > * { align-self: start !important; }
/* home: just the coordinates, centred at the foot of the screen */
body.mn .hero-foot { left: 0; right: 0; justify-content: center; }
body.mn #projects .ptable { margin-bottom: 96px; }
/* tapes: the top one on the dotted black of an open project row, the bottom one paper */
body.mn .tape { background: transparent; color: var(--ink); border-block: 1px solid var(--ink); }
body.mn .tape.alt { border-top: 0; }
body.mn .tape:not(.alt), body.mn .tape .t-item.ink { position: relative; background: var(--ink); color: var(--paper); border-right-color: var(--ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='7' height='6'><path d='M3.5 2.2 L4.3 3 L3.5 3.8 L2.7 3Z' fill='%23ECE9DF' fill-opacity='.30'/></svg>"); }
body.mn #about .testimonials { padding-bottom: 96px !important; }
/* phone: the top bar's shade fades downward (the desktop column's sideways shade above must not apply here) */
@media (max-width: 1000px) { body.mn #nav::before { inset: 0 0 -56px; background: linear-gradient(rgba(5,5,4,.5), rgba(5,5,4,.22) 55%, rgba(5,5,4,0)); } }
/* phone, inside a view: no lighthouse in the top bar — the bar is the page's own paper, logo and Menu in ink */
@media (max-width: 1000px) {
  body.mn:not([data-view="home"]) .mn-hero { opacity: 0; visibility: hidden; transition: opacity .3s ease .3s, visibility 0s .6s; }
  body.mn:not([data-view="home"]) #nav { background: var(--paper) var(--noise) !important; border-bottom: 1px solid rgba(22,22,20,.18); transition: background .3s ease .3s; }
  body.mn:not([data-view="home"]) #nav:not(.menu-open) .lockup, body.mn:not([data-view="home"]) #nav:not(.menu-open) .nav-menu { color: var(--ink); text-shadow: none; }
  body.mn:not([data-view="home"]) #nav:not(.menu-open) .nav-menu { border-color: rgba(22,22,20,.5); background: transparent; }
  body.mn:not([data-view="home"]) #nav::before { display: none; }
  body.mn:not([data-view="home"]) .mn-port, body.mn:not([data-view="home"]) .mn-port-cap { visibility: hidden; }
  body.mn:not([data-view="home"]) #nav.menu-open { background: transparent !important; border-bottom-color: transparent; }
}
.roles li.more-note::before { content: none; }
/* ---------------------------------------------------------------- live weather colophon (weather.js, 2026-11-19)
   desktop: top-right of the home hero; phone: one line centred at the hero's foot, in place of the coordinates.
   Home only; fades with the hero (--mnE) and during the client-hover zoom-out. */
body.mn .wx-colophon { position: absolute; z-index: 2; top: 25px; right: var(--mn-pad, 32px); margin: 0; white-space: nowrap; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--wh); text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.5); opacity: calc(1 - var(--mnE, 0) * 3); transition: opacity .3s ease; }
/* a soft shade behind the line so it reads over a bright daytime sky */
body.mn .wx-colophon::before { content: ""; position: absolute; z-index: -1; inset: -16px -24px; background: radial-gradient(closest-side, rgba(5,5,4,.38), rgba(5,5,4,0)); pointer-events: none; }
body.mn .wx-colophon[hidden] { display: none; }
body.mn .wx-colophon i { font-style: normal; opacity: .55; }
body.mn .wx-colophon a { color: inherit; border-bottom: 1px solid rgba(242,240,232,.4); padding-bottom: 1px; transition: border-color .2s; }
body.mn .wx-colophon a:hover, body.mn .wx-colophon a:focus-visible { border-color: var(--wh); outline: 0; }
body.mn .wx-colophon .wx-short { display: none; }
body.mn .wx-colophon time { font-variant-numeric: tabular-nums; }
body[data-view]:not([data-view="home"]) .wx-colophon { opacity: 0 !important; pointer-events: none; }
body.mn.mn-aside .wx-colophon { opacity: 0 !important; pointer-events: none; }
.mn-boot-view body.mn .wx-colophon { visibility: hidden; }
@media (max-width: 1000px) {
  body.mn .wx-colophon { top: auto; right: 0; left: 0; bottom: 18px; text-align: center; font-size: 11px; letter-spacing: .1em; }
  body.mn .wx-colophon .wx-city { display: none; }
  body.mn .wx-colophon .wx-full { display: none; }
  body.mn .wx-colophon .wx-short { display: inline; }
  body.mn .wx-colophon:not([hidden]) ~ .hero-foot, body.mn .hero-foot:has(~ .wx-colophon:not([hidden])) { display: none; }
}
/* About: one paragraph, centred against the portrait (no name heading, labels or legend) */
body.mn #about .af { align-items: center; }
body.mn #about .af-bio { align-self: center; }
body.mn #about .af-one { margin: 0; max-width: 34ch; font: 400 clamp(20px, 1.75vw, 26px)/1.38 var(--serif); letter-spacing: -.005em; }
/* About: text on the left, the portrait on the right (desktop/tablet); stacked text-first on phones */
body.mn #about .af-bio { grid-column: 1 / 3; grid-row: 1; }
body.mn #about .af-vis { grid-column: 3 / 6; grid-row: 1; }
body.mn #about .af-one + .af-one { margin-top: 1em; }
@media (max-width: 1100px) { body.mn #about .af-bio { grid-column: 1; } body.mn #about .af-vis { grid-column: 2; } }
@media (max-width: 1000px) {
  body.mn #about .af-bio, body.mn #about .af-vis { grid-column: 1; grid-row: auto; }
  body.mn #about .af-bio { padding: 0 0 28px; order: -1; }
}
/* Contact: a paper card — ink type, hairline border, soft shadow (2026-11-19) */
.mn-card { width: min(560px, calc(100vw - 48px)); padding: 28px clamp(24px, 3vw, 36px) 24px; background: var(--paper) var(--noise); color: var(--ink); border: 1px solid rgba(22,22,20,.22); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.mn-card .mark.big { display: none; }
.mn-card h2 { font: 400 clamp(48px, 5vw, 72px)/.95 var(--serif); letter-spacing: -.02em; margin: 0 0 14px; }
.mn-card > p { opacity: .85; max-width: 40ch; }
.mn-mail { margin-top: 26px; font: 400 clamp(24px, 2.6vw, 34px)/1.1 var(--serif); border-bottom-color: rgba(22,22,20,.45); }
.mn-mail:hover { border-color: var(--ink); }
.mn-card-foot { margin-top: 28px; padding-top: 14px; border-top-color: rgba(22,22,20,.18); font-size: 11px; }
.mn-x { border-color: rgba(22,22,20,.55); }
.mn-x:hover, .mn-x:focus-visible { background: var(--ink); color: var(--paper); }
@media (max-width: 1000px) { .mn-card h2 { font-size: 48px; margin-top: 0; } .mn-mail { font-size: 24px; margin-top: 22px; } }
/* About visual: wider (out to the page edge) so the bench figures stand clear of the print; centred on the text */
@media (min-width: 1001px) {
  body.mn #about .af-vis { grid-column: 3 / 7; margin-right: calc(-1 * var(--gutter)); }
  body.mn #about .af-stage { aspect-ratio: 900 / 470; width: 100%; max-height: clamp(260px, calc(100vh - 500px), 460px); margin: 0; }
}
@media (max-width: 1100px) and (min-width: 1001px) { body.mn #about .af-vis { grid-column: 2; } }
/* the cut-out portrait: sized to the text beside it (about the bio's height), still centred on it */
@media (min-width: 1001px) { body.mn #about .af-stage { aspect-ratio: 640 / 470; max-height: clamp(300px, calc(100vh - 480px), 500px); } }

/* ≤1000px (tablet and phone): Projects shows Client and Year only, as on phones; About stacks full width */
@media (max-width: 1000px) {
  body.mn .phead, body.mn .prow-main { grid-template-columns: 1fr 110px 30px; }
  body.mn .prow .yr { grid-row: 1; grid-column: 2; } body.mn .prow .pm { grid-row: 1; grid-column: 3; }
  body.mn .hide-s, body.mn .prow .sec, body.mn .prow .rl, body.mn .prow .br { display: none; }
  body.mn #about .af { grid-template-columns: minmax(0, 1fr); }
}
/* 5. bigger hit area round the logo */
body.mn .lockup { padding: 10px; margin: -10px; }
/* phone/tablet: the menu overlay covers the whole screen (the desktop column's top margin must not shift it down) */
@media (max-width: 1000px) { body.mn .mn-menu { margin-top: 0 !important; } }
