/* ============================================================
   MOYNIHAN — punk = discipline with one deranged element per page
   Ground: bone. Ink: near-black. Three voices:
     Archivo shouts (headlines, nameplates),
     Space Mono files (labels, registers, stamps),
     Newsreader mutters (his prose, the asides under the shouting).
   The serif is the second voice, never the house style.
   (--red-* kept as aliases so nothing breaks; they resolve to
    ink/bone — the accent is retired, the work supplies the colour.)
   ============================================================ */

:root{
  --bone:#EFEDE6;
  --bone-deep:#E6E3D9;
  --ink:#161511;
  --ink-soft:#4c4a43;
  --red:#161511;          /* accent retired — the work supplies the colour */
  --red-deep:#161511;     /* small type on bone — 15:1 */
  --red-lift:#EFEDE6;     /* sits on an ink ground, so it lifts to bone */
  --paper:#FFFFFF;
  --sans:"Archivo","Helvetica Neue",Helvetica,Arial,sans-serif;
  --mono:"Space Mono","Courier New",monospace;
  --serif: "Archivo","Helvetica Neue",Helvetica,Arial,sans-serif;  /* serif parked 2 Sep — restore Newsreader here */
  --pad:clamp(1rem, 3.4vw, 3rem);
  --hair:1.5px solid var(--ink);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} }

body{
  background:var(--bone);
  color:var(--ink);
  font-family:var(--sans);
  font-size:1.0625rem;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

img,video{max-width:100%;display:block;}
a{color:inherit;}

::selection{background:var(--red);color:var(--bone);}

:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:1px;}

.skip{
  position:absolute;left:var(--pad);top:-4rem;z-index:99;
  background:var(--ink);color:var(--bone);font-family:var(--mono);
  font-size:.75rem;text-transform:uppercase;letter-spacing:.14em;
  padding:.7rem 1rem;text-decoration:none;transition:top .15s;
}
.skip:focus{top:.8rem;}

/* ---------- mono utility voices ---------- */
.m{
  font-family:var(--mono);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  line-height:1.6;
}
.m--soft{color:var(--ink-soft);}
.m--red{color:var(--red-deep);}

/* ---------- nav ---------- */
.nav{
  position:relative;z-index:40;
  display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  padding:1.1rem var(--pad);
  border-bottom:var(--hair);
  background:var(--bone);
}
.nav__name{
  font-family:var(--mono);font-weight:700;font-size:.78rem;
  text-transform:uppercase;letter-spacing:.22em;text-decoration:none;
}
.nav__name:hover{color:var(--red-deep);}
/* homepage: the h1 is the masthead, so the corner carries no name and the
   room list keeps its place at the right, exactly where the inner pages put it */
.nav--home{justify-content:flex-end;}
.nav ul{display:flex;gap:clamp(1rem,3vw,2.6rem);list-style:none;flex-wrap:wrap;}
.nav a{
  font-family:var(--mono);font-size:.72rem;text-transform:uppercase;
  letter-spacing:.2em;text-decoration:none;
}
.nav a:hover{color:var(--red-deep);text-decoration:underline;text-underline-offset:.35em;}
.nav a[aria-current]{color:var(--red-deep);}
.nav__door a{
  border:1.5px solid var(--ink-soft);color:var(--ink-soft);
  padding:.25em .7em .2em;border-radius:2px;
}
.nav__door a:hover{border-color:var(--red-deep);color:var(--red-deep);text-decoration:none;}

/* ---------- stamps (rubber-stamp voice; always aria-hidden) ---------- */
.stamp{
  display:inline-block;
  font-family:var(--mono);font-weight:700;font-size:.72rem;
  text-transform:uppercase;letter-spacing:.24em;
  color:var(--red);border:2.5px solid var(--red);
  padding:.35em .8em .3em;
  transform:rotate(-3.5deg);
  border-radius:2px;
  mix-blend-mode:multiply;
}

/* ============================================================
   HOME — the one deranged element lives here
   ============================================================ */
/* The hero is the first screen: nav + hero = one viewport. Two rows —
   headroom above, the name block at the foot. The headroom is the
   trail's playground; at rest, for a fine pointer, it holds nothing.
   For no-JS / touch / reduced-motion it holds the resting collage,
   and --shelf is the minimum height that collage needs (two staggered
   rows of cards), so the cards can never reach the name at any
   viewport: the row is at least as tall as they are, by construction. */
.hero{
  --card:clamp(6.4rem,12.5vw,10rem);              /* trail card width */
  --shelf-pad:clamp(1rem,3vh,2.4rem);             /* headroom above the top row */
  /* two staggered rows of cards, plus the wordmark's line box, which at
     line-height .84 reaches ~.12em above its own grid row */
  --shelf:calc(var(--card) * 1.92 + var(--shelf-pad) + 1.6rem + 1.8vw);
  --nav-h:3.9rem;                                  /* .nav's rendered height */
  position:relative;
  min-height:calc(100vh - var(--nav-h));
  min-height:calc(100svh - var(--nav-h));
  overflow:hidden;
  display:grid;
  grid-template-rows:minmax(var(--shelf),1fr) auto;
  padding-bottom:clamp(1.4rem,3.6vh,2.8rem);
  border-bottom:var(--hair);
}
/* with a fine pointer nothing rests in the headroom, so its minimum is only
   breathing room; the first screen then fits short laptops (1280×720) too */
html.trail-live .hero{--shelf:calc(var(--card) * 1.1);}
/* short screens (1366×768, 1280×720): the resting collage keeps to one row
   of five so the first screen still ends on the sentence */
@media (max-height:800px) and (min-width:769px){
  .hero{--shelf:calc(var(--card) * 1.22 + var(--shelf-pad) + 1.6rem + 1.8vw);}
  .trail__card--rest:nth-child(n+6){display:none;}
}

/* the name, broken over two lines at the foot of the room.
   Each line only has to fit "MOYNIHAN", so the type runs large. */
.hero__name{grid-row:2;align-self:end;display:flex;flex-direction:column;align-items:center;width:100%;}
.wordmark{
  position:relative;z-index:2;
  font-weight:900;
  font-stretch:112%;
  font-size:14.6vw;
  line-height:.84;
  letter-spacing:-.035em;
  text-transform:uppercase;
  text-align:center;
  user-select:none;
  pointer-events:none;
}
.hero .wordmark span{display:block;}
/* the sub-line is the first mutter: high-contrast serif under a
   monument of grotesque. The joke reads like a museum plaque. */
.hero__sub{
  position:relative;z-index:3;align-self:center;
  max-width:min(1400px,96vw);margin:1.2rem auto 0;padding:0 var(--pad);
  text-align:center;
  font-family:var(--serif);font-weight:500;font-optical-sizing:auto;
  font-size:clamp(1.05rem,1.95vw,1.7rem);line-height:1.3;letter-spacing:0;text-wrap:balance;
}

/* Deadpan link: the line reads straight, the joke is found not announced.
   Ink text + soft hairline rule; the red arrives only on hover. */
.hero__sub a,.about-hero h1 a{
  color:var(--ink);border-bottom:2px solid rgba(22,21,17,.35);
  text-decoration:none;transition:color .15s ease,border-color .15s ease;
}
.hero__sub a:hover,.hero__sub a:focus-visible,
.about-hero h1 a:hover,.about-hero h1 a:focus-visible{
  color:var(--red-deep);border-bottom-color:var(--red);
}

/* --- the trail: everything he has ever sold ---
   At rest (and for touch / reduced-motion / no-JS): a static collage.
   With a fine pointer and motion allowed, movement mints fresh cards
   from the whole inventory — organs FOR SALE, campaigns SOLD — which
   surface, sit a moment, and are refiled. Nodes are pooled and
   recycled; a long waggle can never grow the DOM. */
.trail{position:absolute;inset:0;z-index:1;pointer-events:none;}
.trail__card{
  position:absolute;left:0;top:0;
  width:var(--card,clamp(6.4rem,12.5vw,10rem));
  background:var(--paper);
  border:4px solid var(--paper);
  box-shadow:0 3px 5px rgba(20,21,17,.18), 0 14px 30px rgba(20,21,17,.22);
  will-change:transform;
}
/* the resting collage: two staggered rows in the headroom, measured from
   the top of the hero, never from the name */
.trail__card--rest:nth-child(-n+5){top:var(--shelf-pad);z-index:2;}   /* top row stacks above, so its labels stay readable */
.trail__card--rest:nth-child(n+6){top:calc(var(--shelf-pad) + var(--card) * .72);z-index:1;}
/* fine pointer, motion allowed: nothing at rest — movement mints the cards.
   display:none also means these nine images are never fetched. */
html.trail-live .trail__card--rest{display:none;}
/* minted cards: settle in, then get refiled */
.trail__card--spawn{
  opacity:0;
  transition:opacity .38s ease,transform .38s cubic-bezier(.2,.8,.3,1);
}
.trail__card--spawn.is-in{opacity:1;}
.trail__card img{width:100%;aspect-ratio:1/1;object-fit:cover;}
.trail__card figcaption{
  font-family:var(--mono);font-size:.5rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;line-height:1.35;
  padding:.4em .2em .2em;text-align:center;color:var(--ink);
}
.trail__card figcaption b{color:var(--red);font-weight:700;}

/* phones: the cursor collage can't work on touch and collides with
   the type at this size, so retire it and let the name breathe */
@media (max-width:768px){
  .hero{min-height:auto;grid-template-rows:auto;padding-bottom:2.2rem;}
  .hero__name{grid-row:1;}
  .hero .trail{display:none;}
  .hero .wordmark{font-size:14vw;line-height:.9;padding:0 2vw;}
  .hero__sub{font-size:1.08rem;line-height:1.42;max-width:32ch;margin-top:1rem;}
}

/* ---------- status board: the one line that says what is
   actually happening. Facts only; the building is otherwise
   a closed archive and proud of it. ---------- */
.status{
  display:flex;align-items:baseline;
  gap:.35rem clamp(1.6rem,4vw,3.4rem);flex-wrap:wrap;
  padding:.85rem var(--pad);
  border-bottom:var(--hair);
  background:var(--bone-deep);
}
.status .m{white-space:nowrap;}
@media (max-width:700px){
  .status{gap:.35rem 1.2rem;}
  .status .m{white-space:normal;}
}

/* ---------- rooms index ---------- */
.rooms{border-bottom:var(--hair);}
.rooms__head{padding:1rem var(--pad);border-bottom:var(--hair);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;}
.room{
  display:grid;
  grid-template-columns:5.5rem minmax(0,1fr) auto;
  align-items:baseline;gap:1rem;
  padding:clamp(1.4rem,3.5vh,2.4rem) var(--pad);
  border-bottom:var(--hair);
  text-decoration:none;
  position:relative;
  transition:background .12s;
}
.room:last-child{border-bottom:none;}
.room__no{font-family:var(--mono);font-size:.85rem;letter-spacing:.14em;}
.room__title{
  font-weight:900;font-stretch:108%;
  font-size:clamp(1.8rem,6vw,4.6rem);
  line-height:.95;letter-spacing:-.02em;text-transform:uppercase;
}
.room__meta{justify-self:end;text-align:right;max-width:19rem;}
.room:hover:not(.room--vacant),.room:focus-visible:not(.room--vacant){background:var(--ink);color:var(--bone);}
.room:hover:not(.room--vacant) .m--soft,.room:focus-visible:not(.room--vacant) .m--soft{color:var(--bone-deep);}
.room:hover:not(.room--vacant) .room__no{color:var(--red-lift);}
.room--vacant{color:var(--ink-soft);cursor:pointer;}
.room--vacant .room__title{
  color:transparent;
  -webkit-text-stroke:1.5px var(--ink-soft);
}
.room--vacant:hover .room__title,.room--vacant:focus-visible .room__title{
  -webkit-text-stroke-color:var(--red);
}
.room--vacant:hover .room__no{color:var(--red-deep);}

/* ---------- home sections (music / crack) ---------- */
.section{border-bottom:var(--hair);padding:clamp(2.5rem,7vh,5rem) var(--pad);}
.section__head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;flex-wrap:wrap;margin-bottom:2rem;}
.section h2{
  font-weight:900;font-stretch:108%;text-transform:uppercase;
  font-size:clamp(2rem,7vw,5.2rem);line-height:.92;letter-spacing:-.02em;
}

/* --- Room 02: the two monikers get nameplates --- */
.duet{
  display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(.8rem,2vw,1.6rem);
  margin-bottom:clamp(1.8rem,4vh,3rem);
}
.alias-plate{
  border:var(--hair);background:var(--paper);
  padding:clamp(1rem,2.4vw,1.8rem);
  display:flex;flex-direction:column;gap:.55rem;align-items:flex-start;
}
.alias-plate__name{
  font-weight:900;font-stretch:108%;text-transform:uppercase;
  font-size:clamp(1.9rem,4.6vw,3.8rem);line-height:.95;letter-spacing:-.02em;
}
.alias-plate--stroke .alias-plate__name{
  color:transparent;-webkit-text-stroke:1.5px var(--ink);
}
.music{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);align-items:start;}
.music__copy > p{
  font-family:var(--serif);font-optical-sizing:auto;
  max-width:33em;margin-bottom:1.4rem;
  font-size:clamp(1.1rem,1.65vw,1.3rem);line-height:1.5;
}
.music__copy .alias{font-weight:700;font-style:italic;}
.spot{border:var(--hair);background:var(--paper);margin-bottom:1.4rem;}
.spot__load{
  display:flex;align-items:center;gap:1rem;width:100%;
  padding:1.2rem 1.4rem;cursor:pointer;
  background:var(--paper);border:none;text-align:left;
  font-family:var(--mono);font-size:.78rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.14em;color:var(--ink);
}
.spot__load:hover{background:var(--ink);color:var(--bone);}
.spot__load .aside{font-weight:400;letter-spacing:.1em;}
.spot__load .play{
  flex:none;width:2.6rem;height:2.6rem;border-radius:50%;
  background:var(--red);color:var(--bone);
  display:grid;place-items:center;font-size:1rem;
}
.spot iframe{width:100%;height:152px;border:0;display:block;}
.spot__fallback{padding:.8rem 1.4rem;border-top:var(--hair);}
.music__art{border:var(--hair);background:var(--paper);}
.music__art img{width:100%;height:auto;}
.music__art figcaption{padding:.6rem .8rem;border-top:var(--hair);}

/* the album, filed like everything else in the building */
.ledger-line{
  display:flex;justify-content:space-between;align-items:baseline;
  gap:1rem;flex-wrap:wrap;
  border-top:3px solid var(--ink);
  padding-top:.7rem;margin-top:clamp(1.8rem,4vh,3rem);
}

/* --- Room 03: the company operates off-site; the room holds its nameplate --- */
.crack{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);
  gap:clamp(1.6rem,4vw,4rem);align-items:start;
}
.register{list-style:none;border-top:3px solid var(--ink);}
.register li{
  display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
  padding:.6rem 0;border-bottom:1.5px solid rgba(22,21,17,.28);
}
.register .val{font-weight:700;font-size:.95rem;text-align:right;}
.crack__door p{
  font-family:var(--serif);font-optical-sizing:auto;
  max-width:33em;margin-bottom:1.2rem;
  font-size:clamp(1.1rem,1.65vw,1.3rem);line-height:1.5;
}
.crack__link{
  display:inline-block;
  font-weight:900;font-stretch:108%;text-transform:lowercase;
  font-size:clamp(1.8rem,5.4vw,4rem);letter-spacing:-.02em;
  text-decoration:none;border-bottom:5px solid var(--red);line-height:1.1;
}
.crack__link:hover,.crack__link:focus-visible{background:var(--red);color:var(--bone);}
.crack__door .m{display:block;margin-top:1.2rem;}

/* ---------- footer ---------- */
.footer{padding:2.2rem var(--pad) 2.8rem;display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;}
.footer a{color:inherit;}
.footer a:hover{color:var(--red-deep);}

/* ============================================================
   THE ARCHIVE (work.html)
   ============================================================ */
.arch-head{padding:clamp(2rem,6vh,4rem) var(--pad) 0;border-bottom:var(--hair);position:relative;}
.arch-head h1{
  font-weight:900;font-stretch:114%;text-transform:uppercase;
  font-size:clamp(2.2rem,11vw,11rem);line-height:.82;letter-spacing:-.03em;
  margin:0 0 1.6rem -.04em;
}
.arch-head__meta{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 0;border-top:var(--hair);}
.arch-head .stamp{position:absolute;right:clamp(1rem,6vw,5rem);top:clamp(1.4rem,5vh,3rem);transform:rotate(6deg);}

/* file zero — Maurice is Selling Out */
.filezero{display:block;border-bottom:var(--hair);text-decoration:none;position:relative;}
.filezero__media{position:relative;border-bottom:var(--hair);background:var(--paper);}
.filezero__media img,.filezero__media video{width:100%;aspect-ratio:16/9;object-fit:cover;max-height:78svh;}
.filezero__plate{
  display:grid;grid-template-columns:auto 1fr auto;gap:1.2rem;align-items:baseline;
  padding:1.2rem var(--pad);
}
.filezero__title{
  font-weight:900;font-stretch:108%;text-transform:uppercase;
  font-size:clamp(1.5rem,4.6vw,3.4rem);line-height:.95;letter-spacing:-.02em;
}
.filezero:hover{background:var(--ink);color:var(--bone);}
.filezero:hover .m--soft{color:var(--bone-deep);}
.filezero .stamp{position:absolute;right:clamp(1rem,5vw,4rem);top:clamp(1rem,4vw,3rem);transform:rotate(8deg);font-size:1rem;background:rgba(239,237,230,.85);}

/* the ledger grid */
.ledger{display:grid;grid-template-columns:1fr 1fr;border-bottom:var(--hair);}
.file{
  display:block;text-decoration:none;
  border-bottom:var(--hair);
  padding:clamp(1rem,2.6vw,2rem);
  position:relative;
}
.file:nth-child(odd){border-right:var(--hair);}
.file__media{border:var(--hair);background:var(--paper);overflow:hidden;}
.file__media img{width:100%;aspect-ratio:7/5;object-fit:cover;transition:transform .25s ease;}
.file:hover .file__media img{transform:scale(1.025) rotate(.4deg);}
.file__plate{display:grid;grid-template-columns:auto 1fr;gap:.3rem 1rem;padding-top:.9rem;align-items:baseline;}
.file__no{font-family:var(--mono);font-size:.78rem;letter-spacing:.14em;}
.file__client{font-family:var(--mono);font-size:.72rem;text-transform:uppercase;letter-spacing:.18em;color:var(--ink-soft);}
.file__title{
  grid-column:2;
  font-weight:900;font-stretch:106%;text-transform:uppercase;
  font-size:clamp(1.25rem,2.6vw,2rem);line-height:1;letter-spacing:-.015em;
}
.file__notes{grid-column:2;margin-top:.35rem;}
.file:hover{background:var(--paper);}
.file:hover .file__no{color:var(--red-deep);}
.file__open{
  position:absolute;top:clamp(1.6rem,3.4vw,2.8rem);right:clamp(1.6rem,3.4vw,2.8rem);
  opacity:0;transform:rotate(5deg) scale(.9);transition:opacity .12s,transform .12s;
  background:rgba(239,237,230,.9);
}
.file:hover .file__open,.file:focus-visible .file__open{opacity:1;transform:rotate(5deg) scale(1);}

/* ============================================================
   CASE FILE
   ============================================================ */
.case-head{padding:clamp(2rem,5vh,3.4rem) var(--pad) 1.6rem;border-bottom:var(--hair);position:relative;}
.case-head__crumb{margin-bottom:1.2rem;display:flex;gap:1.4rem;flex-wrap:wrap;}
.case-head__crumb a{text-decoration:none;}
.case-head__crumb a:hover{color:var(--red-deep);text-decoration:underline;text-underline-offset:.35em;}
.case-head h1{
  font-weight:900;font-stretch:112%;text-transform:uppercase;
  font-size:clamp(2.4rem,11vw,9rem);line-height:.85;letter-spacing:-.03em;margin-left:-.03em;
}
.case-head .stamp{position:absolute;right:clamp(1rem,6vw,5rem);bottom:1.6rem;transform:rotate(5deg);}
.case-meta{display:flex;gap:2.4rem;row-gap:.4rem;flex-wrap:wrap;padding:1rem var(--pad);border-bottom:var(--hair);}
.case-meta .case-credit{color:var(--ink);}
.case-meta .case-file-no{margin-left:auto;}

.case{max-width:min(1280px,100%);margin:0 auto;padding:0 var(--pad);}
.case > *{margin-block:clamp(1.6rem,4vh,3rem);}
.case figure{border:var(--hair);background:var(--paper);}
.case figure img{width:100%;height:auto;}
.case figcaption{padding:.55rem .8rem;border-top:var(--hair);}
/* exhibit label filed INSIDE the frame, like a specimen tag taped to
   the photograph — one treatment, one place, every time. A solid bone
   chip stays legible over any photography (no text-over-image gamble),
   and the caption remains real text for screen readers. The generator
   only applies it to frames tall enough not to be obscured by it;
   panoramic strips, films and loops keep the hairline bar below. */
.fig--tag{position:relative;}
.fig--tag figcaption{
  position:absolute;left:50%;bottom:clamp(.55rem,2.4%,1.1rem);
  transform:translateX(-50%) rotate(-1.2deg);
  background:var(--bone);color:var(--ink);
  border:1.5px solid var(--ink);border-top:1.5px solid var(--ink);
  padding:.3em .8em .24em;
  max-width:calc(100% - 2rem);text-align:center;
  box-shadow:0 2px 5px rgba(20,21,17,.22);
}
.case .lede{
  font-family:var(--serif);font-optical-sizing:auto;
  font-weight:500;font-size:clamp(1.65rem,3.6vw,2.7rem);
  line-height:1.18;letter-spacing:0;max-width:24em;
}
.case p.body{
  font-family:var(--serif);font-optical-sizing:auto;
  max-width:38em;font-size:clamp(1.1rem,1.65vw,1.3rem);line-height:1.5;
}
.case .duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(.8rem,2vw,1.6rem);margin-block:clamp(1.6rem,4vh,3rem);}
.case .duo figure{margin:0;}
.case .set{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));
  gap:clamp(.8rem,2vw,1.6rem);margin-block:clamp(1.6rem,4vh,3rem);
}
.case .set figure{margin:0;}
.case .embed{border:var(--hair);background:var(--paper);}
.case .embed iframe{display:block;width:100%;border:0;}
.case .film iframe{display:block;width:100%;aspect-ratio:16/9;border:0;}
.case .loop{border:var(--hair);background:var(--paper);}
.case .loop video{display:block;width:100%;height:auto;}
.film{border:var(--hair);background:#000;}
.film video{width:100%;aspect-ratio:16/9;height:auto;}
.film figcaption{background:var(--bone);}
.film--tall{max-width:min(520px,100%);margin-inline:auto;}
.film--tall video{aspect-ratio:var(--ar,9/16);width:100%;height:auto;}
.case-next{
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  border-top:var(--hair);margin-top:3rem;padding:1.6rem var(--pad) 2.4rem;
}
.case-next a{text-decoration:none;font-family:var(--mono);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.16em;}
.case-next a:hover{color:var(--red-deep);}

/* ============================================================
   ABOUT
   ============================================================ */
.about-hero{padding:clamp(2.4rem,7vh,5rem) var(--pad);border-bottom:var(--hair);}
.about-hero h1{
  font-weight:900;font-stretch:106%;
  font-size:clamp(1.9rem,5.2vw,4.4rem);
  line-height:1.02;letter-spacing:-.02em;text-transform:uppercase;max-width:18em;
}
.about-hero p{
  font-family:var(--serif);font-optical-sizing:auto;
  margin-top:1.6rem;font-size:clamp(1.1rem,1.7vw,1.35rem);line-height:1.5;max-width:34em;
}
.about-hero p a{text-decoration-thickness:2px;text-underline-offset:.25em;}
.about-hero p a:hover{color:var(--red-deep);}
.pano{border-block:var(--hair);}
.pano img{width:100%;max-height:52svh;object-fit:cover;}

.about-sec{padding:clamp(2.2rem,6vh,4rem) var(--pad);border-bottom:var(--hair);position:relative;}
.about-sec .stamp{position:absolute;right:clamp(1rem,6vw,5rem);top:clamp(1.6rem,5vh,3.2rem);}
.aw-eyebrow{display:block;margin-bottom:1.2rem;}
/* his best aside gets the muttered voice — serif against a page of
   mono paperwork, so the joke lands drier than a headline could */
.aw-head{
  font-family:var(--serif);font-optical-sizing:auto;
  font-weight:500;font-stretch:100%;
  font-size:clamp(1.6rem,3.4vw,2.9rem);
  line-height:1.18;letter-spacing:0;
  max-width:26em;margin-bottom:clamp(2rem,5vh,3.4rem);
}
.gongs2{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);
  gap:clamp(1.6rem,4vw,4rem);align-items:start;
}
.gong-hero{border-top:3px solid var(--ink);padding-top:1rem;margin-bottom:2rem;}
.gong-hero .big{
  display:block;font-weight:900;font-stretch:110%;text-transform:uppercase;
  font-size:clamp(1.9rem,3.9vw,3.4rem);line-height:.92;letter-spacing:-.02em;
}
.gong-hero .for{display:block;margin-top:.7rem;}
.tail{list-style:none;border-top:3px solid var(--ink);}
.trow{
  display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
  padding:.55rem 0;border-bottom:1.5px solid rgba(22,21,17,.28);
}
.trow .what{font-weight:700;font-size:.95rem;}
.trow .work{font-family:var(--mono);font-size:.68rem;text-transform:uppercase;
  letter-spacing:.1em;color:var(--ink-soft);text-align:right;flex-shrink:0;max-width:14em;}
.trow--last{
  background:var(--red-deep);color:var(--bone);border-bottom:none;
  padding:.7rem .8rem;margin:0 -.8rem;
}
.trow--last .what{font-size:1.05rem;}
.trow--last .work{color:var(--bone);}

.shelf{margin-top:2rem;border:var(--hair);background:var(--paper);}
.shelf img{width:100%;height:auto;}
.shelf figcaption{padding:.55rem .8rem;border-top:var(--hair);}

.roster{text-align:center;padding:clamp(2.6rem,7vh,5rem) var(--pad);border-bottom:var(--hair);}
.roster h2{
  font-weight:900;font-stretch:108%;text-transform:uppercase;
  font-size:clamp(1.5rem,3.6vw,3rem);line-height:1;letter-spacing:-.015em;
  margin-bottom:.4rem;
}
.roster .aside{display:block;font-family:var(--mono);font-size:.72rem;font-weight:400;
  text-transform:uppercase;letter-spacing:.16em;color:var(--ink-soft);margin:.8rem 0 0;}
.roster ul{list-style:none;margin-top:clamp(1.4rem,4vh,2.6rem);}
.roster li{
  font-weight:900;font-stretch:106%;text-transform:uppercase;
  font-size:clamp(1.5rem,5vw,4rem);line-height:1.12;letter-spacing:-.02em;
}
.roster--freelance li{
  font-weight:800;color:transparent;-webkit-text-stroke:1.5px var(--ink);
}
.colophon{
  text-align:center;padding:clamp(2.4rem,7vh,4.6rem) var(--pad);
  border-top:var(--hair);
}

.contact{padding:clamp(3rem,9vh,6rem) var(--pad);}
.contact h2{
  font-weight:900;font-stretch:110%;text-transform:uppercase;
  font-size:clamp(2rem,6.4vw,5rem);line-height:.95;letter-spacing:-.02em;margin-bottom:1.4rem;
}
.contact p{
  font-family:var(--serif);font-optical-sizing:auto;
  font-size:clamp(1.15rem,2vw,1.6rem);line-height:1.45;max-width:30em;
}
.contact a{text-decoration-thickness:2.5px;text-underline-offset:.25em;}
.contact a:hover{color:var(--red-deep);}

/* ============================================================
   ROOM 04 — the vacant room. Full-screen, useless, crafted.
   Nothing is for sale. Nothing is even for rent.
   ============================================================ */
.room04{
  position:fixed;inset:0;z-index:90;
  background:var(--bone-deep);
  overflow:hidden;
  display:flex;flex-direction:column;
}
.room04[hidden]{display:none;}
.room04__bar{
  display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
  padding:1.1rem var(--pad);border-bottom:var(--hair);flex-wrap:wrap;
}
.room04__title b{color:var(--red-deep);}
.room04__btn{
  font-family:var(--mono);font-size:.72rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.2em;
  background:none;border:1.5px solid var(--ink);color:var(--ink);
  padding:.45em 1em .4em;cursor:pointer;border-radius:2px;
}
.room04__btn:hover{background:var(--ink);color:var(--bone-deep);}
.room04__btn--red{border-color:var(--red-deep);color:var(--red-deep);}
.room04__btn--red:hover{background:var(--red-deep);color:var(--bone-deep);}

.mixer{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(.8rem,2vw,2rem);
  padding:clamp(1rem,3vh,2rem) var(--pad) .6rem;
  position:relative;z-index:5;
}
.chan{display:flex;flex-direction:column;gap:.45rem;}
.chan label{display:flex;justify-content:space-between;gap:.6rem;align-items:baseline;flex-wrap:wrap;}
.chan label .who{font-family:var(--mono);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.18em;}
.chan input[type=range]{
  -webkit-appearance:none;appearance:none;width:100%;height:2.1rem;
  background:transparent;cursor:pointer;margin:0;
}
.chan input[type=range]::-webkit-slider-runnable-track{
  height:4px;background:var(--ink);border-radius:0;
}
.chan input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:1.5rem;height:2.1rem;margin-top:calc(-1.05rem + 2px);
  background:var(--bone);border:1.5px solid var(--ink);border-radius:2px;
  box-shadow:inset 0 0 0 2px var(--bone),inset 4px 0 0 2px var(--red);
}
.chan input[type=range]::-moz-range-track{height:4px;background:var(--ink);}
.chan input[type=range]::-moz-range-thumb{
  width:1.5rem;height:2.1rem;background:var(--bone);
  border:1.5px solid var(--ink);border-radius:2px;
}
.room04__note{padding:0 var(--pad);position:relative;z-index:5;}
.room04__note .stamp{margin-right:.9em;transform:rotate(-2deg);font-size:.62rem;}

.room04__floor{position:absolute;inset:0;z-index:2;}
.organ{
  position:absolute;left:0;top:0;
  width:clamp(6rem,13vw,9.5rem);
  background:var(--paper);border:4px solid var(--paper);
  box-shadow:0 3px 5px rgba(20,21,17,.2),0 12px 26px rgba(20,21,17,.24);
  cursor:grab;touch-action:none;user-select:none;
  will-change:transform;padding:0;text-align:center;
}
.organ:active{cursor:grabbing;}
.organ img{width:100%;aspect-ratio:1/1;object-fit:cover;pointer-events:none;}
.organ figcaption{
  font-family:var(--mono);font-size:.5rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;line-height:1.35;
  padding:.4em .2em .2em;color:var(--ink);pointer-events:none;
}
.room04__foot{
  margin-top:auto;position:relative;z-index:4;
  display:flex;justify-content:flex-end;align-items:flex-end;gap:1rem;
  padding:0 var(--pad) 1rem;pointer-events:none;
}
.room04__foot .room04__btn{pointer-events:auto;}
.room04 .wordmark{position:absolute;left:50%;bottom:0;transform:translateX(-50%);z-index:1;opacity:.1;white-space:nowrap;font-size:16.3vw;line-height:.78;}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:860px){
  .music{grid-template-columns:1fr;}
  .gongs2{grid-template-columns:1fr;}
  .crack{grid-template-columns:1fr;}
}
@media (max-width:700px){
  .ledger{grid-template-columns:1fr;}
  .file:nth-child(odd){border-right:none;}
  .room{grid-template-columns:3rem minmax(0,1fr);}
  .room__meta{grid-column:2;justify-self:start;text-align:left;max-width:none;}
  .case .duo{grid-template-columns:1fr;}
  .duet{grid-template-columns:1fr;}
  .filezero__plate{grid-template-columns:1fr;gap:.4rem;}
  .nav{flex-direction:column;gap:.5rem;padding:.9rem var(--pad);}
  .nav ul{gap:1rem .9rem;}
  .nav a{letter-spacing:.14em;}
  /* stamps stop floating over headlines on small screens */
  .arch-head .stamp,.case-head .stamp,.about-sec .stamp{
    position:static;display:inline-block;margin:0 0 1rem;transform:rotate(-2deg);
  }
  .case-head .stamp{margin-top:1rem;}
  .mixer{grid-template-columns:1fr;gap:.5rem;}
  .chan{flex-direction:row;align-items:center;gap:.8rem;}
  .chan label{flex:0 0 9.5rem;}
  .chan label .what{display:none;}
}
@media (max-width:640px){
  .case .set{grid-template-columns:1fr;}
}

/* ============================================================
   Motion discipline
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none !important;animation:none !important;}
}

/* Award-show marks, cut from the logo grid that was already on this page.
   Tier one gets the mark at size; the register carries it as an identifier column. */
.gong-logo{height:clamp(38px,4.4vw,58px);width:auto;margin-bottom:.7rem;display:block}
.trow{display:grid;grid-template-columns:2.4rem minmax(0,1fr) auto;align-items:center;gap:.9rem}
.tmark{display:flex;align-items:center;justify-content:flex-start;min-width:2.4rem}
.trow-logo{height:18px;width:auto;opacity:.9}
@media (max-width:768px){
  .trow{grid-template-columns:1.9rem minmax(0,1fr);row-gap:.15rem}
  .trow .work{grid-column:2}
  .trow-logo{height:15px}
}

/* the album tally — same weight as the line it sits in; no highlight, no wink */
.tally{white-space:nowrap}

/* ================= PRINT =================
   Nobody prints a portfolio. If they do, it comes out as a filed document:
   letterhead, reference number, ruled fields, page numbers. Straight face. */
@media print{
  @page{ margin:18mm 16mm 20mm; }
  *{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  html,body{ background:#fff !important; color:#000 !important; }

  /* screen furniture doesn't belong on paper */
  .nav,.trail,.status,.rooms,.footer .social,.room04,.room04__scrim,
  .hero__sub,.skip,.spot,.spot__load,.case-next,.file__open,
  video,iframe,.film,.loop{ display:none !important; }

  /* letterhead */
  main::before{
    content:"MAURICE MOYNIHAN — mauricemoynihan.com";
    display:block; font-family:var(--mono); font-size:8pt; letter-spacing:.14em;
    text-transform:uppercase; border-bottom:1px solid #000;
    padding-bottom:4mm; margin-bottom:8mm;
  }

  /* the record itself */
  .case-head h1,.arch-head h1,.about-hero h1{
    font-size:30pt !important; line-height:.95 !important; margin:0 0 3mm !important;
  }
  .case-meta{ border:0; border-top:1px solid #000; border-bottom:1px solid #000;
              padding:2mm 0; font-size:8pt; display:block; }
  .case-meta span{ display:inline; margin-right:8mm; }
  .stamp{ border:1px solid #000 !important; color:#000 !important;
          background:none !important; transform:none !important; }

  .case p.body,.case .lede,.about-sec p{ font-family:var(--serif); font-size:10.5pt; line-height:1.45; }
  .case .lede{ font-size:13pt; }

  /* exhibits keep their reference; nothing is orphaned across a page break */
  .case figure,.g-item,.duo,.set{ break-inside:avoid; page-break-inside:avoid; }
  .case figure{ border:1px solid #000 !important; margin:6mm 0 !important; }
  .case figcaption,.fig--tag{
    position:static !important; transform:none !important;
    background:none !important; border:0 !important; border-top:1px solid #000 !important;
    font-family:var(--mono); font-size:7.5pt; padding:1.5mm 0 !important; text-align:left !important;
  }

  /* a link is useless on paper unless it says where it goes */
  .case a[href^="http"]::after,.about-sec a[href^="http"]::after{
    content:" (" attr(href) ")"; font-family:var(--mono); font-size:7.5pt; word-break:break-all;
  }

  .footer{ border-top:1px solid #000; padding-top:3mm; font-size:8pt; }
  .footer .colophon::after{ content:" — printed from the archive"; }
}

/* ---- PRINT: the about page, as a record ---- */
@media print{
  /* the claim, stated once, at the top */
  .about-hero{ padding:0 !important; }
  .about-hero h1{ font-size:22pt !important; line-height:1.05 !important; max-width:none !important; }
  .about-hero h1 a{ text-decoration:none; border:0 !important; }
  .about-hero p{ font-size:10pt; margin-top:3mm; }

  /* portrait earns a place but not a whole page */
  .pano{ border:1px solid #000; margin:6mm 0 !important; break-inside:avoid; }
  .pano img{ max-height:78mm; width:100%; object-fit:cover; }

  /* the logo grid is redundant on paper — the marks already sit in the register */
  .shelf{ display:none !important; }

  .about-sec{ padding:0 !important; }
  .aw-eyebrow{ font-size:7.5pt; }
  .aw-head{ font-size:13pt !important; line-height:1.25 !important; max-width:none !important;
            margin:4mm 0 5mm !important; }

  /* headline hardware */
  .gongs2{ display:block !important; }
  .gong-hero{ break-inside:avoid; border-top:1px solid #000; padding:2.5mm 0; }
  .gong-hero .big{ font-size:15pt !important; line-height:1.05 !important; }
  .gong-hero .for{ font-size:8pt; }
  .gong-logo{ height:9mm !important; margin-bottom:2mm !important; }

  /* the register: a ruled table that survives a page break */
  .tail{ margin-top:5mm; }
  .trow{ display:grid !important; grid-template-columns:8mm 1fr 52mm !important;
         gap:3mm !important; align-items:baseline;
         border-bottom:.4pt solid #000; padding:1.6mm 0 !important;
         break-inside:avoid; page-break-inside:avoid; }
  .trow .what{ font-size:9pt; font-weight:700; }
  .trow .work{ font-size:7pt; text-align:right; line-height:1.25; }
  .trow-logo{ height:4.2mm !important; width:auto; }
  .trow--last{ background:none !important; color:#000 !important;
               border-top:1pt solid #000; border-bottom:1pt solid #000; }
  .trow--last .what,.trow--last .work{ color:#000 !important; }

  /* where he has worked */
  .cv-cols{ display:block !important; break-inside:avoid; }
  .roster{ margin:3mm 0 5mm !important; }
  .roster li{ font-size:10pt !important; line-height:1.35 !important;
              -webkit-text-stroke:0 !important; color:#000 !important; }
  .aside{ font-size:8pt; }

  .contact{ break-inside:avoid; border-top:1px solid #000; padding-top:3mm; }
  .contact h2{ font-size:12pt !important; }
  .contact a{ font-size:10pt; }
}

/* stamps are absolutely positioned on screen — on paper they must join the flow */
@media print{
  .stamp{ position:static !important; float:right; margin:0 0 2mm 4mm !important;
          display:inline-block; }
  .about-sec .stamp,.arch-head .stamp,.case-head .stamp{ position:static !important; }
  .aw-head{ clear:none; }
}

/* The printable area is narrower than the 768px mobile breakpoint, so the phone
   rules leak into print. Put the register back into three columns explicitly. */
@media print{
  .trow{ grid-template-columns:8mm 1fr 52mm !important; row-gap:0 !important; }
  .trow .tmark{ grid-column:1 !important; }
  .trow .what { grid-column:2 !important; }
  .trow .work { grid-column:3 !important; text-align:right !important; }
  .case-meta{ display:block !important; }
}

/* The physics floor sits above the bar and was swallowing clicks on Close.
   The bar must win the stacking contest. */
.room04__bar{position:relative;z-index:5}
.room04__btn{position:relative;z-index:6}

/* MAURICE is 226px narrower than MOYNIHAN, so the name reads as a ragged stack.
   Widen the short line on the variable font's width axis and close the rest with
   tracking, so the two lines set as one solid rectangle. */
.hero .wordmark span:first-child{
  font-stretch:125%;
  letter-spacing:.039em;
}
