/* 16 Nov, "text overall is two small": every text size one step up (14->16, 15->17, 16->18, 17->19, 18->20, 19->21, body 20px, lead to 26px).
   Tiago Aleixo site mockup v4: one stylesheet for every page. WordPress: lives in the child theme with site.js and assets/.
   Rules: ransom letters only for the hero name and page headers; every title, label and caption is plain Poppins. */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(assets/fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(assets/fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(assets/fonts/poppins-600.woff2) format("woff2"); }

:root {
  --ground: #110e0c;            /* his dark paper scan */
  --card: #1a1613;
  --white: #f4f1ea;
  --muted: rgba(244, 241, 234, .62);
  --line: rgba(244, 241, 234, .14);
  --blue: #6696e2;              /* brand blue */
  --coral: #e96d6f;             /* brand coral */
  --paper: #efe6d4;             /* brand paper */
  --ink: #15120f;
  --gut: max(16px, 4vw);
  --max: 1360px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--white); font: 400 20px/1.6 "Poppins", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: url(assets/conn/tone-dark.webp) center top / 1700px auto, url(assets/conn/grain-dark.jpg) center top / 600px auto var(--ground); background-image: url(assets/conn/tone-dark.webp), image-set(url(assets/conn/grain-dark-1x.jpg) 1x, url(assets/conn/grain-dark.jpg) 2x); background-blend-mode: overlay, normal; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.small { font-size: 16px; line-height: 1.45; }
.lead { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; font-weight: 500; }
.h1 { font-size: clamp(40px, 5.2vw, 78px); }
.h2 { font-size: clamp(30px, 3.4vw, 52px); }
.h3 { font-size: clamp(22px, 1.8vw, 27px); line-height: 1.2; }
/* links: plain typed underline in the text's own colour, like a typed page; no accent bar */
.ulink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ulink:hover { text-decoration-thickness: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--coral); color: var(--ink); font: 500 19px/1 "Poppins", sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); background: #f08587; }
.btn-line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { background: rgba(244, 241, 234, .06); box-shadow: inset 0 0 0 1.5px var(--white); }
/* 16 Nov, "turn every hyper link in to a button": the text links are buttons now; a small size for crumbs, the footer and the stamps */
.btn-s { min-height: 40px; padding: 0 16px; font-size: 17px; }
.crumb { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.t-white .btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(21, 18, 15, .35); }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font: 500 17px/1 "Poppins", sans-serif;
  color: var(--muted); background: transparent; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; text-decoration: none; }
.pill[aria-pressed="true"], .pill:hover { color: var(--ink); background: var(--white); box-shadow: none; }

/* nav: a strip of his black paper with a real torn bottom edge, baked into one mirrored picture (nav-strip.webp) so it
   repeats with no seam at any width. Brand on the left: on the home page his stamp logo while the hero runs, then the small
   ransom name the hero's letters land on; on every other page the ransom name. Page names are typed on strips of his
   masking tape; the page you are on gets the red label. Phones: a red label "Menu" opens the tape strips on a full sheet. */
.nav { position: fixed; z-index: 50; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: flex-start;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(var(--gut), env(safe-area-inset-right, 0px)) 0 max(var(--gut), env(safe-area-inset-left, 0px)); pointer-events: none; }
.nav::before { content: ""; position: absolute; inset: 0 0 auto 0; height: calc(158px + env(safe-area-inset-top, 0px)); z-index: -1;
  /* 17 Nov: the same black paper as the sheets (grain + tone), cut by the strip's torn edge; only the tear's pale lip and
     shadow come from the strip picture (nav-lip.webp), so the menu's paper is as sharp as the page's */
  background: url(assets/conn/nav-lip.webp) center bottom / 3200px 240px repeat-x, url(assets/conn/tone-black.webp) center top / 1700px auto, url(assets/conn/grain-black.jpg) center top / 600px auto var(--ground);
  background-image: url(assets/conn/nav-lip.webp), url(assets/conn/tone-black.webp), image-set(url(assets/conn/grain-black-1x.jpg) 1x, url(assets/conn/grain-black.jpg) 2x);
  background-blend-mode: normal, overlay, normal;
  -webkit-mask: url(assets/conn/nav-strip.webp) center bottom / 3200px 240px repeat-x; mask: url(assets/conn/nav-strip.webp) center bottom / 3200px 240px repeat-x;
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.nav.is-solid::before, .arriving .nav::before { transform: none; }
.arriving .nav::before { transition: none; }
.nav > * { pointer-events: auto; }
.brand { position: relative; display: block; width: calc(min(100vw, 160vh) * 160 / 1440); transition: width .3s ease; }
.brand img { display: block; width: 100%; height: auto; }
.brand .b-logo { display: none; }
.nav.is-solid .brand, .is-home .brand { width: 104px; }
.is-home .brand { transition: none; }   /* the hero's letters land at this exact size, so it never changes on the home page */
.is-home .brand .b-name { opacity: 0; }
.is-home .brand .b-logo { display: block; position: absolute; left: 0; top: 0; width: clamp(50px, 4.2vw, 64px); max-width: none; transform-origin: 0 0; }
.brand.is-leaving { transform: translateY(-3px) rotate(-2deg) scale(1.04); filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); transition: transform .16s ease-out, filter .16s; }
.brand:focus-visible { outline: 2px solid var(--white); outline-offset: 6px; }

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; margin: 6px 0 0; padding: 0; transition: opacity .3s; }
.nav-links li { margin-left: -3px; }   /* the strips overlap a little, stuck down one after another */
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 1px 5px 0; text-decoration: none; white-space: nowrap;
  border: 0 solid transparent; border-width: 0 14px; border-image: url(assets/btn/nav-tape-1.webp) 0 38 fill / 0 14px stretch;
  color: #1d1914; font: 700 19px/1 "Courier Prime", ui-monospace, monospace; letter-spacing: 0;
  translate: 0 var(--y, 0px); rotate: var(--r, -1deg); transition: transform .25s cubic-bezier(.2, .7, .2, 1), filter .25s; }
.nav-links li:nth-child(4n+2) a { border-image-source: url(assets/btn/nav-tape-2.webp); --r: 1.2deg; --y: 3px; }
.nav-links li:nth-child(4n+3) a { border-image-source: url(assets/btn/nav-tape-3.webp); --r: -.6deg; --y: -2px; }
.nav-links li:nth-child(4n+4) a { border-image-source: url(assets/btn/nav-tape-4.webp); --r: .7deg; --y: 2px; }
.nav-links a:hover { transform: translateY(-3px) rotate(-.6deg); filter: drop-shadow(0 7px 7px rgba(0, 0, 0, .5)); }
.nav-links a:active { transform: translateY(1px); filter: none; transition-duration: .06s; }   /* pressed flat */
.nav-links a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
/* the cart is not a page: plain typed words, no tape */
.nav-links li.nav-cart { margin-left: 14px; }
.nav-links li.nav-cart a { border: 0; border-image: none; padding: 6px 0; min-height: 0; rotate: none; translate: none; color: var(--white);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
.nav-links li.nav-cart a:hover { transform: none; filter: none; text-decoration-thickness: 2px; }
/* the page you are on: his red vinyl label, cream type */
.nav-links li a[aria-current="page"] { border-width: 7px; padding: 0 7px; min-height: 36px; border-image: url(assets/btn/label-red.webp) 38 fill / 7px stretch; color: #f6efe1; }
.nav-menu { display: none; margin-top: 4px; }
html .nav-menu.btn { min-height: 42px; font-size: 18px; }
/* the open menu (phones): a full sheet of his black paper, the tape strips bigger and stacked */
.nav.is-open .nav-links { display: grid; position: fixed; inset: 0; z-index: -1; margin: 0; align-content: center; justify-items: center; gap: clamp(12px, 2.2vh, 22px);
  background: url(assets/conn/tone-black.webp) center top / 1700px auto, url(assets/conn/grain-black.jpg) center top / 600px auto var(--ground); background-image: url(assets/conn/tone-black.webp), image-set(url(assets/conn/grain-black-1x.jpg) 1x, url(assets/conn/grain-black.jpg) 2x); background-blend-mode: overlay, normal; }
.nav.is-open .nav-links a { font-size: clamp(22px, 6.4vw, 30px); min-height: 58px; border-width: 0 18px; border-image-width: 0 18px; padding: 2px 10px 0; }
.nav.is-open .nav-links li a[aria-current="page"] { border-width: 10px; border-image-width: 10px; padding: 0 12px; }
.nav.is-open .nav-menu { display: inline-flex; }
@media (max-width: 1180px) and (min-width: 700px) { .nav-links a { font-size: 16px; min-height: 34px; border-width: 0 10px; border-image-width: 0 10px; padding: 1px 2px 0; } .nav-links li.nav-cart { margin-left: 8px; } }
@media (max-width: 699px), (max-aspect-ratio: 85/100) {
  .nav { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  .nav::before { height: calc(132px + env(safe-area-inset-top, 0px)); }
  .brand { width: calc(min(100vw, 46.21vh) * 130 / 390); }
  .nav.is-solid .brand { width: 84px; }
  .is-home .brand .b-logo { width: 46px; }
  .is-home .brand { width: 84px; }
  .nav-links { display: none; }
  .nav-menu { display: inline-flex; }
}

/* page header: ransom word + one of his monsters in a small 3D set (site.js) */
.ph { position: relative; z-index: 0; isolation: isolate; height: min(80vh, 780px); min-height: 540px; }
.ph-stage { position: absolute; inset: 0; overflow: hidden; }
.ph-world { position: absolute; inset: 0; transform-style: preserve-3d; }
.ph-still { position: absolute; left: 50%; top: 56%; width: min(70vw, 900px); transform: translate(-60%, -50%); }
.ph-still[hidden] { display: none; }
.it { position: absolute; left: 50%; top: 50%; margin: 0; transform-origin: 0 0; opacity: 0; will-change: transform, opacity; pointer-events: none; user-select: none; max-width: none; }
.ph-intro { position: relative; z-index: 3; margin-top: 8px; margin-bottom: clamp(90px, 10vw, 140px); display: grid; gap: 22px; max-width: 760px; }
.ph-intro:empty { display: none; }
@media (max-width: 699px), (max-aspect-ratio: 85/100) {
  .ph { height: 74svh; min-height: 520px; }
  .ph-intro { margin-top: 0; }
}

/* sections */
.sec { padding: clamp(80px, 10vw, 150px) 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .g2, .g3 { grid-template-columns: 1fr; } }

/* cards */
.card { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.card .pic { position: relative; overflow: hidden; border-radius: 0; background: var(--card); }
.card .pic img { width: 100%; }
.card .t { font-weight: 500; font-size: 20px; line-height: 1.3; }
.card .m { color: var(--muted); font-size: 16px; }
.tilt { perspective: 900px; }
.tilt > .pic { transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tilt.is-up > .pic { transition: transform .18s ease-out; }
/* prints rest at their own small angle and cast a bigger shadow when lifted */
.print .pic { rotate: var(--rest, 0deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1), rotate .6s; }
.print:nth-child(3n+1) { --rest: -1.6deg; } .print:nth-child(3n+2) { --rest: 1.1deg; } .print:nth-child(3n) { --rest: -.5deg; }
.print.is-up .pic { rotate: 0deg; }
.print .pic img { transition: filter .4s ease; }
.print.is-up .pic img { filter: drop-shadow(0 38px 34px rgba(0, 0, 0, .6)); }
.t-white .print.is-up .pic img { filter: drop-shadow(0 34px 30px rgba(21, 18, 15, .45)); }
.print .pic { background: transparent; overflow: visible; border-radius: 0; }
.print .pic img { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.badge { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 4px 10px; border: 6px solid transparent; border-image: url(assets/btn/label-red.webp) 38 fill / 6px stretch; color: #f6efe1; font: 600 17px/1 "Barlow Condensed", "Arial Narrow", sans-serif; text-transform: uppercase; }
.price { font-weight: 500; white-space: nowrap; }
@media (max-width: 560px) { .card .row-split { flex-direction: column; gap: 2px; } .home-svc li { flex-direction: column; gap: 6px; } .list.home-svc .m { text-align: left; } }
.row-split { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }

/* masonry columns with their own scroll speed */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.cols > div { display: grid; gap: clamp(16px, 2vw, 28px); }
.cols.c2 { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899px) { .cols.c3 { display: none; } .cols.c2 { display: grid; } }

/* carousel: scrolls sideways (trackpad, shift + wheel, swipe, drag, arrow keys); paintings shift inside their frames as they pass */
.strip { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-left: var(--gut);
  scrollbar-width: none; cursor: grab; outline-offset: 6px; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.strip:focus-visible { outline: 2px solid var(--blue); }
.strip-in { display: flex; align-items: flex-start; gap: 22px; width: max-content; padding: 0 var(--gut); }
.strip-in::after { content: ""; flex: 0 0 1px; }
.strip-in .card { width: clamp(220px, 24vw, 360px); scroll-snap-align: start; }
.big-cards .strip-in .card { width: clamp(280px, 38vw, 560px); }
.strip .card .pic img { transform: translateX(var(--px, 0px)) scale(1.12); will-change: transform; }

/* videos */
.vcard .pic { aspect-ratio: 9 / 16; }
.lcard .pic { aspect-ratio: 16 / 9; }
.lcard .pic img { width: 100%; height: 100%; object-fit: cover; }
.lcard.big .pic { box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.lcard .play { left: auto; top: auto; right: 4%; bottom: 6%; margin: 0; }   /* on the print's corner, clear of the typed title */
.t-black .lcard .pic { box-shadow: 0 0 0 1px rgba(244, 241, 234, .16), 0 14px 30px rgba(0, 0, 0, .45); }
.vcard .pic img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(17, 14, 12, .72);
  box-shadow: inset 0 0 0 1.5px rgba(244, 241, 234, .6); }
.play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid var(--white); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }

.feature.v { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
@media (max-width: 899px) { .feature, .feature.v { grid-template-columns: 1fr; } .feature.v .vcard { max-width: 320px; } }

/* split blocks (services, artwork, product) */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.num { color: var(--muted); font-size: 17px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; }
.list li { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list .m { color: var(--muted); text-align: right; }

/* article */
.prose { max-width: 700px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 26px; }
.prose h3 { font-size: 23px; margin-top: 6px; }
.prose .wide { width: min(1100px, 92vw); justify-self: center; margin: 26px 0; }
.prose figcaption { color: var(--muted); font-size: 16px; margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 18px; }
.prose td { border-top: 1px solid var(--line); padding: 10px 8px 10px 0; }

/* product */
.buy { display: grid; gap: 24px; align-content: start; }
.opts { display: flex; gap: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; gap: 18px; min-height: 52px; padding: 0 18px; border-radius: 0; box-shadow: inset 0 0 0 1.5px var(--line); }
.thumbs { display: flex; gap: 12px; }
.thumbs img { width: 82px; height: 82px; object-fit: cover; border-radius: 0; opacity: .6; cursor: pointer; }
.thumbs img.on, .thumbs img:hover { opacity: 1; }
blockquote { margin: 0; font-size: 21px; }
blockquote::before { content: "\201C"; } blockquote::after { content: "\201D"; }

/* forms */
.field { display: grid; gap: 8px; }
.field label { font-size: 16px; color: var(--muted); }
.field input, .field textarea { font: 400 19px/1.4 "Poppins", sans-serif; color: var(--white); background: rgba(244, 241, 234, .04); border: 0;
  box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 0; padding: 15px 18px; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue); }

/* footer */
.foot { position: relative; margin-top: -46px; padding: clamp(80px, 9vw, 120px) 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover, .foot-grid a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.foot-end { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; color: var(--muted); font-size: 16px; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }   /* phones: one column, so the email and the tagline fit */

/* reveal on scroll */
/* no fade-ins: everything is there at rest; the motion lives in the headers, the sheets and the pieces */
.rv { }

/* services as four large plates, articles as stacked plates */
.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 44px); }
.plates .card .pic img { aspect-ratio: 4 / 5; object-fit: cover; }
.plates .card:nth-child(even) { margin-top: clamp(40px, 8vw, 120px); }
@media (max-width: 699px) { .plates { grid-template-columns: 1fr; } .plates .card:nth-child(even) { margin-top: 0; } }
.strip-in .card.big { width: clamp(280px, 30vw, 460px); }
@media (max-width: 899px) { .prod-main { width: 82%; margin: 0 auto; } }

/* torn sheets: every section after the header is its own sheet of his paper (kit scans), laid over the one above with a
   real torn top edge + the kit's shadow scan. Tone rule: white for words, black for the shop and the footer, dark for work. */
.sheet { position: relative; margin-top: -46px; padding: clamp(72px, 10vw, 150px) 0 clamp(64px, 9vw, 130px); background: url(assets/conn/tone-dark.webp) center top / 1700px auto, url(assets/conn/grain-dark.jpg) center top / 600px auto var(--ground); background-image: url(assets/conn/tone-dark.webp), image-set(url(assets/conn/grain-dark-1x.jpg) 1x, url(assets/conn/grain-dark.jpg) 2x); background-blend-mode: overlay, normal; }
.sheet.t-black, .foot { background: url(assets/conn/tone-black.webp) center top / 1700px auto, url(assets/conn/grain-black.jpg) center top / 600px auto var(--ground); background-image: url(assets/conn/tone-black.webp), image-set(url(assets/conn/grain-black-1x.jpg) 1x, url(assets/conn/grain-black.jpg) 2x); background-blend-mode: overlay, normal; }
.sheet.t-white { background: url(assets/conn/tone-white.webp) center top / 1700px auto, url(assets/conn/grain-white.jpg) center top / 800px auto #e9e6df; background-image: url(assets/conn/tone-white.webp), image-set(url(assets/conn/grain-white-1x.jpg) 1x, url(assets/conn/grain-white.jpg) 2x); background-blend-mode: multiply, normal; color: var(--ink); }
.sheet.flat { margin-top: 0; background: none; padding-top: clamp(40px, 6vw, 90px); }
/* the torn top (17 Nov, "a lot of texture problems"): the tear is the kit's torn edge as a mask, filled with the sheet's own
   paper layers (inherit + the same tile origin), so the torn paper and the sheet are one texture at any width; the picture
   under it (.sheet-edge) holds only the kit's shadow scan and, on dark and black, the pale lip of the tear */
.sheet, .foot { --eh: max(59px, 5.34vw); }
.sheet-edge { position: absolute; left: 0; top: calc(var(--eh) * -.62); width: 100%; height: var(--eh); max-width: none; object-fit: cover; object-position: center; pointer-events: none; }
.sheet:not(.flat)::after, .foot::after { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--eh) * -.62); height: var(--eh); pointer-events: none;
  background: inherit; background-blend-mode: inherit; background-position: center calc(var(--eh) * .62);
  -webkit-mask: url(assets/conn/edge-dark-mask.webp) center / cover no-repeat; mask: url(assets/conn/edge-dark-mask.webp) center / cover no-repeat; }
.sheet.t-black::after, .foot::after { -webkit-mask-image: url(assets/conn/edge-black-mask.webp); mask-image: url(assets/conn/edge-black-mask.webp); }
.sheet.t-white::after { -webkit-mask-image: url(assets/conn/edge-white-mask.webp); mask-image: url(assets/conn/edge-white-mask.webp); }
.foot::after { z-index: 1; }
/* a page that opens on a sheet (lists, plain pages, articles, 404): the sheet runs up under the nav, so the nav's tear is
   the only one (it used to show its own tear a few px below the nav's) */
main > .sheet:not(.flat):first-child { margin-top: 0 !important; padding-top: calc(clamp(120px, 12vw, 160px) + clamp(70px, 8vw, 110px)) !important; }
main > .sheet:not(.flat):first-child > .sheet-edge, main > .sheet:not(.flat):first-child::after { display: none; }
/* short pages: the footer's paper runs to the bottom of the window (no other paper shows under it) */
body { display: flex; flex-direction: column; min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px)); }
main { flex: none; }
.foot { flex: 1 0 auto; }
.sheet, .foot { overflow-x: clip; }
.foot .sheet-edge { z-index: 1; }
.t-white .muted, .t-white .m, .t-white .card .m, .t-white figcaption { color: rgba(21, 18, 15, .62); }
.t-white .list li { border-color: rgba(21, 18, 15, .16); }
.t-white .field input, .t-white .field textarea { color: var(--ink); background: rgba(21, 18, 15, .04); box-shadow: inset 0 0 0 1.5px rgba(21, 18, 15, .2); }
.seam { position: absolute; top: 0; left: 0; right: 0; height: 0; z-index: 4; pointer-events: none; }
.seam img { position: absolute; width: clamp(96px, 11vw, 170px); top: 0; translate: 0 -50%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
.seam.r img { right: 4vw; } .seam.l img { left: 3vw; }
@media (max-width: 699px) { .seam img { width: 72px; } .seam.r img, .seam.l img { left: auto; right: -14px; } }

/* home "Meet" (16 Nov, "the layout needs some work"): two columns that both run the full height of the sheet.
   Left: heading, bio, services, and his pen note at the foot, the pen diving under the next sheet.
   Right: his skills note under the coffee, then one of his monsters standing on the sheet, feet tucked under the next one. */
[data-k="meet"] { padding-bottom: 0 !important; }
.meet-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); align-items: stretch; }
.meet-text { display: flex; flex-direction: column; gap: 26px; padding-bottom: clamp(140px, 14vw, 200px); }
.meet-text > .btn { align-self: flex-start; }
.meet-side { display: flex; flex-direction: column; align-items: center; }
.meet-fig { margin-top: auto; width: min(100%, 400px); margin-bottom: -60px; pointer-events: none; }
.meet-fig img { width: 100%; filter: drop-shadow(0 18px 24px rgba(21, 18, 15, .35)); }
/* one column: everything stacks in reading order (bio, services, skills, pen note, monster) */
@media (max-width: 899px) {
  .meet-grid { grid-template-columns: 1fr; gap: 26px; }
  .meet-text, .meet-side { display: contents; }
  .meet-text > .btn { justify-self: start; }
  .meet-skills { order: 6; } .meet-happy { order: 7; } .meet-fig { order: 8; width: min(70%, 320px); justify-self: center; margin-bottom: -50px; }
}

/* home services: name in the title face, its line under it at reading size */
.svc-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }
.svc-grid li { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(21, 18, 15, .2); }
.svc-n { font-size: calc(clamp(24px, 2vw, 30px) * var(--s-title, 1)); line-height: 1.1; }
.svc-t { font-size: 19px; line-height: 1.45; }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- 16 Nov, second batch ---------- */
/* a red vinyl label that is only a label (not a button) */
.tag { display: inline-flex; align-items: center; justify-self: start; border: 7px solid transparent; border-image: url(assets/btn/label-red.webp) 38 fill / 7px stretch;
  padding: 0 8px; min-height: 38px; color: #f6efe1; font: 600 19px/1 var(--label); text-transform: uppercase; letter-spacing: 0; rotate: -1.5deg; }

/* About: the CV lists, readable on the white sheet */
.cv li { align-items: baseline; padding: 20px 0; }
.cv .cv-a { display: grid; gap: 6px; min-width: 0; }
.cv .cv-n { font: var(--w-title) calc(27px * var(--s-title)) / 1.1 var(--f-title); }
.cv .cv-r { font-size: 20px; line-height: 1.45; color: #3b342c; }
.cv .cv-w { font-size: 21px; line-height: 1.4; }
.cv .cv-d { font-size: 17px; line-height: 1.4; color: #5b5147; text-align: right; flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 899px) { .cv li { flex-direction: column; gap: 8px; } .cv .cv-d { text-align: left; } }
.t-black .cv .cv-r, .flat .cv .cv-r { color: rgba(244, 241, 234, .82); }

/* About: his characters in a row */
.cast { display: flex; align-items: flex-end; justify-content: center; padding: 34px var(--gut) 18px; }
.cast-f { display: block; text-decoration: none; position: relative; margin: 0 -1.4vw; flex: 0 1 auto; height: calc(min(23vw, 330px) * var(--h)); z-index: 1;
  transform: translate3d(var(--mx, 0px), 0, 0); transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .35s, filter .35s; }
.cast-f:focus-visible .cast-n { outline: 2px solid var(--white); outline-offset: 3px; }
.cast-f img { display: block; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .55)); user-select: none; -webkit-user-drag: none; }
.cast-f .cast-n { position: absolute; left: 50%; bottom: -6px; translate: -50% 0; white-space: nowrap; padding: 6px 6px 4px; border: 0 solid transparent; border-width: 0 12px;
  border-image: url(assets/btn/nav-tape-2.webp) 0 38 fill / 0 12px stretch; color: #1d1914; font: 700 17px/1 "Courier Prime", ui-monospace, monospace;
  opacity: 0; transform: translateY(8px) rotate(-1.5deg); transition: opacity .25s, transform .25s; pointer-events: none; }
@media (hover: hover) and (min-width: 900px) {
  .cast:hover .cast-f { opacity: .5; filter: saturate(.6); }
  .cast:focus-within .cast-f { opacity: .5; filter: saturate(.6); }
  .cast .cast-f:hover, .cast .cast-f:focus-visible { opacity: 1; filter: none; z-index: 3; transform: translate3d(var(--mx, 0px), -14px, 0) scale(1.04); outline: 0; }
  .cast-f:hover .cast-n, .cast-f:focus-visible .cast-n { opacity: 1; transform: translateY(0) rotate(-1.5deg); }
}
@media (max-width: 899px), (hover: none) {
  .cast { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; gap: 6px; padding-bottom: 34px; }
  .cast::-webkit-scrollbar { display: none; }
  .cast-f { margin: 0; flex: 0 0 auto; scroll-snap-align: center; height: calc(300px * var(--h)); }
  .cast-f .cast-n { opacity: 1; transform: rotate(-1.5deg); bottom: -24px; }
}

/* Services */
.svc-line { font-size: 21px; line-height: 1.45; color: rgba(244, 241, 234, .86); max-width: 28em; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.note { position: relative; display: grid; gap: 14px; align-content: start; padding: 34px 28px 28px; color: var(--ink);
  background: url(assets/conn/tone-white.webp) center / 1700px auto, url(assets/conn/grain-white.jpg) center / 800px auto #e9e6df; background-image: url(assets/conn/tone-white.webp), image-set(url(assets/conn/grain-white-1x.jpg) 1x, url(assets/conn/grain-white.jpg) 2x); background-blend-mode: multiply, normal; box-shadow: 0 16px 30px rgba(0, 0, 0, .45); rotate: -1deg; }
.note:nth-child(2) { rotate: 1.2deg; } .note:nth-child(3) { rotate: -.5deg; }
.note::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 34px; translate: -50% 0; rotate: -4deg;
  background: url(assets/btn/nav-tape-3.webp) center / 100% 100%; }
.note p { margin: 0; font-size: 20px; line-height: 1.45; color: #3b342c; }
.note .ulink { justify-self: start; }
.worked { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); color: var(--ink); }
.worked li { display: grid; gap: 10px; align-content: start; }
.w-logo { height: 92px; display: flex; align-items: flex-end; padding-bottom: 4px; }
.w-logo img { max-height: 92px; max-width: 100%; width: auto; object-fit: contain; }
.w-word { line-height: 1; padding-bottom: 6px; font: 400 calc(30px * var(--s-title)) / 1 "Special Elite", "Courier Prime", monospace; }
.w-r { margin: 0; font-size: 19px; line-height: 1.45; color: #3b342c; }
.w-d { margin: 0; font-size: 17px; color: #5b5147; }
@media (max-width: 899px) { .notes { grid-template-columns: 1fr; } .worked { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .worked { grid-template-columns: 1fr; } }

/* Articles: graph-paper pages taped next to their painting */
.post { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 0; margin-bottom: clamp(70px, 9vw, 140px); }
.post.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.post.flip .post-print { order: 2; }
.post-print { position: relative; z-index: 2; display: block; padding: 12px; background: #efe9dc; box-shadow: 0 22px 40px rgba(0, 0, 0, .55); rotate: -2deg; margin-right: -40px; }
.post.flip .post-print { rotate: 1.8deg; margin: 0 0 0 -40px; }
.post-print::before { content: ""; position: absolute; z-index: 2; top: -16px; left: 50%; width: 150px; height: 40px; translate: -50% 0; rotate: 3deg; background: url(assets/btn/nav-tape-1.webp) center / 100% 100%; }
.post-print img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .3s; }
.post-page { position: relative; z-index: 1; display: grid; gap: 16px; align-content: start; padding: clamp(36px, 4vw, 60px) clamp(28px, 4vw, 64px) clamp(36px, 4vw, 56px) clamp(64px, 6vw, 96px);
  color: var(--ink); background: #e5ebf2 url(assets/conn/paper-graph.webp) center top / 700px auto; box-shadow: 0 16px 34px rgba(0, 0, 0, .45); rotate: .6deg; }
.post.flip .post-page { padding-left: clamp(28px, 4vw, 64px); padding-right: clamp(64px, 6vw, 96px); rotate: -.5deg; }
.post-page .h2 a { color: inherit; text-decoration: none; }
.post-page .h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.post-meta { margin: 0; font-size: 17px; color: #5b5147; }
.post-ex { margin: 0; font-size: 20px; line-height: 1.5; color: #2c2620; max-width: 34em; }
.post-in { margin: 6px 0 0; font-size: 17px; color: #5b5147; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 20px; line-height: 1.35; }
.post-list a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(21, 18, 15, .35); }
.post-list a:hover, .post-list a:focus-visible, .post-list a.on { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.post-page .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 899px) {
  .post, .post.flip { grid-template-columns: 1fr; }
  .post-print, .post.flip .post-print { order: 0; margin: 0 auto -30px; width: min(78%, 420px); }
  .post-page, .post.flip .post-page { padding: 56px 22px 30px; }
}

/* Follow: his channels as paper stamps, the numbers count up. Above them (16 Nov), a crowd of his Eye Monster's eyes, one per
   100 followers, drawn in site.js; hidden until the script runs */
/* the whole Follow section is the crowd (16 Nov: "THE ENTIRE BACKGROUND SHOULD BE EYES"): the canvas covers the section,
   the heading, stamps and caption sit above it; without JS it is the plain row of stamps */
[data-k="follow"] { position: relative; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
[data-k="follow"] .sheet-edge, [data-k="follow"]::after { z-index: 2; }
[data-k="follow"] .sec-head { position: relative; z-index: 1; }
.eyes { padding: clamp(150px, 17vw, 250px) 0 0; }   /* room for big eyes above the stamps, and below them before the caption */
.eyes canvas { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.eyes:not(.on) canvas, .eyes:not(.on) .eyes-cap { display: none; }
.eyes-cap { position: relative; z-index: 1; margin: clamp(150px, 17vw, 250px) 0 0; pointer-events: none; }
.eyes-cap .tag { min-width: 15em; }
.follow { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(20px, 2.4vw, 36px); }
/* staggered like labels pasted on the crowd, not a row of boxes */
.follow li:nth-child(1) { translate: 0 -12px; } .follow li:nth-child(2) { translate: 0 26px; } .follow li:nth-child(3) { translate: 0 -24px; }
.follow li:nth-child(4) { translate: 0 16px; } .follow li:nth-child(5) { translate: 0 -30px; } .follow li:nth-child(6) { translate: 0 20px; }
@media (min-width: 600px) and (max-width: 1099px) {
  .follow li:nth-child(1) { translate: 0 -8px; } .follow li:nth-child(2) { translate: 0 14px; } .follow li:nth-child(3) { translate: 0 -10px; }
  .follow li:nth-child(4) { translate: 0 10px; } .follow li:nth-child(5) { translate: 0 -12px; } .follow li:nth-child(6) { translate: 0 8px; } }
.follow li { display: grid; }
.follow a { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 15px 16px; text-decoration: none; color: var(--white);
  background: url(assets/conn/tone-black.webp) center / 1700px auto, url(assets/conn/grain-black.jpg) center / 600px auto var(--ground); background-image: url(assets/conn/tone-black.webp), image-set(url(assets/conn/grain-black-1x.jpg) 1x, url(assets/conn/grain-black.jpg) 2x); background-blend-mode: overlay, normal; box-shadow: 0 14px 28px rgba(0, 0, 0, .35); rotate: var(--r, 0deg);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.follow a:hover, .follow a:focus-visible { transform: translateY(-6px) rotate(calc(var(--r, 0deg) * -0.4)); box-shadow: 0 22px 36px rgba(0, 0, 0, .45); }
/* the other stamps step back under a veil of the sheet's own tone, but stay solid paper (eyes tuck under them, so
   fading the stamp would show them through, and a filter washed out their buttons) */
.follow a::after { content: ""; position: absolute; inset: 0; background: var(--veil, transparent); transition: background .3s; pointer-events: none; }
.follow.has-pick li:not(.pick) a { --veil: rgba(21, 18, 15, .5); }
.t-white .follow.has-pick li:not(.pick) a { --veil: rgba(233, 230, 223, .62); }
.f-num { font: var(--w-title) calc(clamp(30px, 2.8vw, 42px) * var(--s-title)) / 1 var(--f-title); font-variant-numeric: tabular-nums; }
.f-net { justify-self: start; padding: 5px 6px 3px; border: 0 solid transparent; border-width: 0 12px; border-image: url(assets/btn/nav-tape-1.webp) 0 38 fill / 0 12px stretch;
  color: #1d1914; font: 700 19px/1 "Courier Prime", ui-monospace, monospace; rotate: -1.2deg; }
.f-h { font-size: clamp(13px, 1vw, 16px); color: var(--muted); overflow-wrap: anywhere; }
/* the picked stamp says how many eyes are its own */
.f-eyes { display: none; font: 600 15px/1 var(--label); text-transform: uppercase; color: var(--coral); }
.follow li.pick .f-eyes { display: block; }
.f-go { margin-top: auto; }
.follow a:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
@media (max-width: 1099px) { .follow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1099px) { .eyes { padding-top: clamp(260px, 34vw, 300px); } .eyes-cap { margin-top: clamp(260px, 34vw, 300px); } }   /* narrow: eye-only room above and below the stamps, so the eyes stay big */
@media (max-width: 599px) { .follow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 44px; } .follow a { padding: 16px 12px 12px; } .eyes-cap .tag { min-width: 0; }
  .eyes.on .f-h { display: none; }   /* phones, with the eyes: number, network and Follow only, so the eyes get room */
  .follow li:nth-child(n) { translate: 0 0; } .follow li:nth-child(even) { translate: 0 18px; } }

/* reduced motion: no lifts, drifts or fades on hover; everything still works */
@media (prefers-reduced-motion: reduce) {
  .nav-links a, .cast-f, .cast-f .cast-n, .follow a, .f-go, .note, .post-print img, .brand, .btn, .card, .tilt { transition: none !important; }
  .nav-links a:hover, .cast .cast-f:hover, .cast .cast-f:focus-visible, .follow a:hover, .follow a:focus-visible, .brand.is-leaving { transform: none !important; }
  .cast:hover .cast-f, .cast:focus-within .cast-f { opacity: 1; filter: none; }
}

/* Meet: his coffee and his "No Sugar!" from the illustrated CV, on the corner of the sheet (16 Nov: "maybe a coffe mug") */
[data-k="meet"] { overflow-x: clip; }
.meet-desk { position: absolute; z-index: 3; right: max(0px, calc((100vw - var(--max)) / 2 - 60px)); top: clamp(-34px, -2vw, -18px); width: clamp(150px, 17vw, 260px); pointer-events: none; }
.meet-desk .cup { display: block; width: 100%; translate: 24% 0; rotate: 10deg; filter: drop-shadow(-12px 16px 14px rgba(0, 0, 0, .32)); }
.meet-desk .nosugar { position: absolute; width: 48%; right: 10%; top: 104%; rotate: -6deg; opacity: .9; }
[data-k="meet"] .wrap { position: relative; }
@media (max-width: 899px) { .meet-desk { top: -20px; width: 120px; } .meet-desk .nosugar { display: none; } }
/* Meet, more of him (16 Nov, "this section needs more elements that represent me"), both from his illustrated CV:
   his app icons with his own ratings and his mum's verdict, then his drawing pen on "this is where I am the most HAPPY!!".
   The pen runs down off the sheet, so its cut end (the CV's edge) sits under the next sheet like the monster's feet. */
/* desktop: the skills note leads the right side, a little wider than its column (never over the bio), below the coffee */
.meet-skills { align-self: flex-start; width: min(600px, calc(100% + 60px)); max-width: none; height: auto; rotate: 2.5deg;
  margin: clamp(120px, 14vw, 200px) 0 clamp(36px, 4vw, 60px) calc(-1 * clamp(0px, 3vw - 20px, 30px)); }
.meet-happy { position: relative; height: clamp(150px, 13vw, 190px); margin-top: auto; }
.meet-happy img { position: absolute; left: clamp(40px, 8vw, 120px); top: 0; width: clamp(560px, 52vw, 760px); max-width: none; height: auto; filter: drop-shadow(-6px 10px 8px rgba(21, 18, 15, .22)); }
/* one column: the pen runs well off the right edge of the screen instead (its cut end never shows), the monster stands below */
@media (max-width: 899px) {
  .meet-skills { width: calc(100% + 12px); margin: 10px 0 0 -6px; rotate: -2deg; }
  /* the picture is the column plus the right gutter plus 80px; its height is .64 of that (padding % follows the column width) */
  .meet-happy { height: 0; padding-bottom: min(525px, calc(25% + 25vw + 40px)); }
  .meet-happy img { left: -10px; width: min(820px, calc(100% + (100vw - 100%) / 2 + 80px)); }
}
/* tablets: the pen note at a fixed size, set in from the text and running off the right edge */
@media (min-width: 600px) and (max-width: 899px) {
  .meet-happy { padding-bottom: 0; height: 330px; }
  .meet-happy img { left: auto; right: calc((100% - 100vw) / 2 - 80px); width: 560px; }
}
/* 16 Nov, "i liked it more when the caracter was over the edge of the two section": the monster stands in front of the next
   sheet (its own layer above it), while the pen stays under it so its cut end never shows */
.meet-fig { position: relative; z-index: 5; }

/* Artwork: one composed spread (16 Nov) */
.aw { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.aw-art { display: grid; justify-items: center; gap: 26px; }
.aw-print { position: relative; margin: 0; padding: 14px; width: min(100%, calc(80vh * .75 + 28px)); background: #efe9dc; box-shadow: 0 26px 46px rgba(0, 0, 0, .55); rotate: -1.4deg; cursor: ew-resize; touch-action: pan-y; }
.aw-print::before { content: ""; position: absolute; z-index: 3; top: -18px; left: 50%; width: 170px; height: 44px; translate: -50% 0; rotate: 3deg; background: url(assets/btn/nav-tape-1.webp) center / 100% 100%; }
.aw-print .aw-img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.aw-print .aw-img:not(:first-child) { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.aw-print .aw-img.on { z-index: 1; }   /* the stage showing sits on top; the one it replaces stays under it while it fades in */
.aw-stages { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px; }
.aw-lab { margin-right: 10px; font-size: 17px; color: var(--muted); }
.aw-st { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 1px 6px 0; border: 0 solid transparent; border-width: 0 13px;
  border-image: url(assets/btn/nav-tape-2.webp) 0 38 fill / 0 13px stretch; background: none; color: #1d1914; font: 700 18px/1 "Courier Prime", ui-monospace, monospace; rotate: -1deg; transition: transform .2s; }
.aw-st:nth-child(odd) { rotate: 1.2deg; border-image-source: url(assets/btn/nav-tape-3.webp); }
.aw-st:hover, .aw-st.hov { transform: translateY(-4px); }
.aw-st[aria-pressed="true"] { border-width: 7px; padding: 0 8px; border-image: url(assets/btn/label-red.webp) 38 fill / 7px stretch; color: #f6efe1; }
.aw-st:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.aw-side { display: grid; gap: 0; align-content: start; padding-top: 10px; }
.aw-note { position: relative; display: grid; gap: 18px; justify-items: start; padding: clamp(34px, 3.4vw, 48px) clamp(26px, 3vw, 44px) clamp(56px, 5vw, 72px); color: var(--ink);
  background: url(assets/conn/tone-white.webp) center / 1700px auto, url(assets/conn/grain-white.jpg) center / 800px auto #e9e6df; background-image: url(assets/conn/tone-white.webp), image-set(url(assets/conn/grain-white-1x.jpg) 1x, url(assets/conn/grain-white.jpg) 2x); background-blend-mode: multiply, normal; box-shadow: 0 18px 34px rgba(0, 0, 0, .45); rotate: .8deg; }
.aw-note::before { content: ""; position: absolute; top: -16px; left: 28px; width: 130px; height: 38px; rotate: -5deg; background: url(assets/btn/nav-tape-4.webp) center / 100% 100%; }
.aw-crumb { justify-self: start; }
.aw-note .h1 { margin: 0; }
.aw-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.aw-clip { position: relative; z-index: 2; margin: -30px clamp(0px, 3vw, 40px) 0 0; justify-self: end; width: min(260px, 58%); cursor: pointer; padding: 10px; background: #efe9dc; box-shadow: 0 18px 34px rgba(0, 0, 0, .5); rotate: 2.2deg; }
.aw-clip video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.aw-clip figcaption { position: absolute; left: -16px; bottom: 26px; padding: 5px 6px 3px; border: 0 solid transparent; border-width: 0 12px;
  border-image: url(assets/btn/nav-tape-1.webp) 0 38 fill / 0 12px stretch; color: #1d1914; font: 700 18px/1 "Courier Prime", ui-monospace, monospace; rotate: -3deg; }
@media (max-width: 899px) { .aw { grid-template-columns: 1fr; } .aw-print { width: min(100%, 520px); } .aw-clip { width: min(200px, 56%); margin-top: -40px; } .aw-stages { gap: 2px; } .aw-lab { width: 100%; text-align: center; margin: 0 0 4px; } }
@media (prefers-reduced-motion: reduce) { .aw-print .aw-img { transition: none; } }
.aw-note .tag { border-image-source: url(assets/btn/label-ink.webp); }

/* footer: each channel's follower count, small, next to its name */
.foot .f-count { margin-left: 6px; font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* the stamps on a black sheet read better in white paper */
.t-black .follow a { color: var(--ink); background: url(assets/conn/tone-white.webp) center / 1700px auto, url(assets/conn/grain-white.jpg) center / 800px auto #e9e6df; background-image: url(assets/conn/tone-white.webp), image-set(url(assets/conn/grain-white-1x.jpg) 1x, url(assets/conn/grain-white.jpg) 2x); background-blend-mode: multiply, normal; }
.t-black .follow .f-h { color: #5b5147; }
.t-black .follow a:focus-visible { outline-color: var(--white); }
