/* BuchaLibre™'s site. His pick A of November 21, 2026 (webmaster-universal plan/bucha-libre.md B6): Gloock for the
   name and headings, Geist for every other word, Geist Mono for labels, Libre in Noto Serif Display Italic at 760, a
   color a letter. The cover glows white; the page beneath is paper white with the run's own color as its accent. */
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/gloock-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/geist-normal-400-700.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/geistmono-normal-400-500.woff2") format("woff2"); }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 700 800; font-display: swap; src: url("fonts/notoserifdisplay-italic-700-800.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --bg: #FAFAFC;
  --tint: #F3F2F8;
  --ink: #15131B;
  --ink2: #3D3B45;
  --muted: #625F6C;
  --line: #E3E2E9;
  /* the run's color, deepened until white words read on it; the cover's script sets it for each run */
  --accent: #3A43B8;
  --run-dot: #3A43B8;
  --glow-mid: #FCFCFE;
  --glow-edge: #F5F4FB;
  --l1: #00879B; --l2: #3A43B8; --l3: #8A2DBE; --l4: #D4006F; --l5: #F2541B;
  --nf: "Gloock", "Iowan Old Style", Georgia, serif;
  --lif: "Noto Serif Display", "Iowan Old Style", Georgia, serif;
  --tf: "Geist", "Helvetica Neue", Arial, sans-serif;
  --lf: "Geist Mono", ui-monospace, Menlo, monospace;
  --gut: max(20px, env(safe-area-inset-left, 0px));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--tf); font-size: 17.5px; line-height: 1.62; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gut); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--lf); font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--accent)); }

/* ---------- the name ---------- */
.name { font-family: var(--nf); font-weight: 400; letter-spacing: -0.02em; line-height: 0.94; white-space: nowrap; margin: 0; color: var(--ink); }
.name .li { font-family: var(--lif); font-style: italic; font-weight: 760; margin-left: 0.005em; }
.li > span:nth-child(1) { color: var(--l1); }
.li > span:nth-child(2) { color: var(--l2); }
.li > span:nth-child(3) { color: var(--l3); }
.li > span:nth-child(4) { color: var(--l4); }
.li > span:nth-child(5) { color: var(--l5); }
.name .tm { display: inline-block; font-family: var(--tf); font-style: normal; font-weight: 500; font-size: 0.13em; line-height: 1; letter-spacing: 0; margin-left: 0.3em; transform: translateY(-4.25em); }

/* a small name (the header, the menu, the footer): the ™ larger, so it can be read */
.head .name .tm, .sheet .name .tm, .foot .name .tm { font-size: 0.3em; transform: translateY(-1.55em); margin-left: 0.18em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font: 500 16px/1 var(--tf); letter-spacing: -0.005em; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.link { font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- the cover ---------- */
.cover { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1180px; overflow: hidden; color: var(--ink);
  background: radial-gradient(ellipse 78% 72% at 56% 40%, #FFFFFF 0%, var(--glow-mid) 56%, var(--glow-edge) 100%); }
/* the drawing is one fixed picture, 1600 by 900 (cover.js, B24): a new window size only scales and crops it, held
   at its lower left on a laptop, where its clear pool sits under the name */
.cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: left bottom; }
.bar { position: absolute; left: 0; right: 0; top: 0; height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 72px; z-index: 3;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 55%, rgba(255, 255, 255, 0) 100%); }
.tag { font-family: var(--lf); font-size: 11.5px; line-height: 1.5; letter-spacing: 0.07em; text-transform: uppercase; color: #67647A; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 22px; }
.tag .no { color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.tag .eq { text-transform: none; letter-spacing: 0.02em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--run-dot); display: inline-block; }
.links { display: flex; gap: 34px; align-items: center; }
.links a { font-size: 15px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; color: var(--ink); }
.links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.links .go { display: inline-flex; gap: 8px; align-items: center; }
.menu-btn { display: none; font: 500 15px var(--tf); color: var(--ink); background: transparent; border: 0; padding: 10px 0 10px 12px; cursor: pointer; }
.mark { position: absolute; left: 72px; bottom: 80px; z-index: 2; }
.cover .name { font-size: 160px; display: inline-block; }
.cover .line { margin-top: 26px; font-size: 22px; line-height: 1.4; letter-spacing: -0.008em; color: #48455A; max-width: 46ch; text-wrap: balance; }
.cover .cta { display: flex; gap: 26px; align-items: center; margin-top: 30px; }
.cover .link { font-size: 16px; color: var(--ink); }

/* the menu's links fold into Menu before they can wrap (five links and the button need about 1,000 pixels) */
@media (max-width: 1240px) { .tag .eq { display: none; } .links { gap: 26px; } }
@media (max-width: 1060px) { .links { display: none; } .menu-btn { display: inline-block; } }
@media (max-width: 860px) {
  /* on a phone the drawing's right column, which has no pool, stands above the name and fades out before it */
  /* the canvas is laid nearly three times the screen's width, its right edge on the screen's, so a phone sees only the
     drawing's right column (from 1060 of its 1600), which has no room cut out for a name that sits below it here
     (his words, November 21, 2026: "the cutout is there for no reason") */
  .cover canvas { left: auto; right: 0; width: calc(100% * 1600 / 540); max-width: none; bottom: auto;
    height: calc(100% - var(--mark-room, 360px)); object-position: right top;
    -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%); mask-image: linear-gradient(to bottom, #000 68%, transparent 100%); }
  .bar { height: 68px; padding: 0 20px; }
  .tag .eq { display: none; }
  .links { display: none; }
  .menu-btn { display: inline-block; }
  .mark { left: 20px; right: 20px; bottom: 28px; }
  .cover .line { margin-top: 16px; font-size: 17px; max-width: 34ch; }
  .cover .cta { margin-top: 22px; }
  .cover .btn { width: 100%; }
  .cover .link { display: none; }
}
/* the menu on a phone */
.sheet { position: fixed; inset: 0; z-index: 40; background: rgba(250, 250, 252, 0.97); display: none; flex-direction: column; padding: 18px 20px 28px; }
.sheet.open { display: flex; }
.sheet .top { display: flex; justify-content: space-between; align-items: center; height: 50px; }
.sheet .top .name { font-size: 30px; }
.sheet nav { display: grid; gap: 4px; margin-top: 26px; }
.sheet nav a { font-family: var(--nf); font-size: 34px; line-height: 1.25; text-decoration: none; color: var(--ink); padding: 6px 0; }
.sheet .btn { margin-top: auto; }
.sheet button.close { font: 500 15px var(--tf); background: transparent; border: 0; color: var(--ink); padding: 10px 0 10px 12px; cursor: pointer; }

/* ---------- the header of an inner page ---------- */
.head { border-bottom: 1px solid var(--line); background: var(--paper); }
.head .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.head .name { font-size: 32px; text-decoration: none; }
.head a.home { text-decoration: none; }
.head .links a.go { color: var(--accent); }
@media (max-width: 860px) { .head .wrap { height: 64px; } .head .name { font-size: 27px; } }

/* ---------- sections ---------- */
main section.band { padding-block: 104px; border-top: 1px solid var(--line); }
main section.band:first-of-type { border-top: 0; }
.band.paper { background: var(--paper); }
.band.tint { background: var(--tint); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.split > .side { position: sticky; top: 32px; display: grid; gap: 18px; }
h1, h2 { font-family: var(--nf); font-weight: 400; letter-spacing: -0.018em; line-height: 1.04; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.4vw, 56px); }
h3 { margin: 0; font-family: var(--tf); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink); }
.prose { display: grid; gap: 18px; color: var(--ink2); max-width: 64ch; }
.prose.big { font-size: 21px; line-height: 1.55; gap: 22px; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.note { font-size: 15px; color: var(--muted); max-width: 56ch; display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.note a { color: var(--ink2); }

/* the work */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.head-row .prose { max-width: 52ch; }
.work { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; }
/* three cards a row; a last row of two is shared between them, so no row is left with a hole (five sites since B32) */
.work > .card { grid-column: span 2; }
.work > .card:nth-child(3n+1):nth-last-child(2), .work > .card:nth-child(3n+2):last-child { grid-column: span 3; }
.card { display: grid; gap: 14px; text-decoration: none; color: var(--ink); align-content: start; }
.card .shot { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--tint); box-shadow: 0 0 0 1px var(--line), 0 22px 44px -32px rgba(10, 8, 20, 0.5); }
.card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s ease; }
.card:hover .shot img { transform: scale(1.015); }
@media (prefers-reduced-motion: reduce) { .card .shot img { transition: none; } .card:hover .shot img { transform: none; } }
.card .dom { font-family: var(--lf); font-size: 13.5px; letter-spacing: 0.01em; display: flex; justify-content: space-between; gap: 12px; }
.card .dom span:last-child { color: var(--accent); }
.card p { color: var(--ink2); font-size: 16.5px; line-height: 1.55; }

/* what comes with a site */
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.items li { display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 2px solid var(--dot, var(--accent)); color: var(--ink2); font-size: 16.5px; line-height: 1.58; }
.items li:nth-child(5n+1) { --dot: var(--l1); }
.items li:nth-child(5n+2) { --dot: var(--l2); }
.items li:nth-child(5n+3) { --dot: var(--l3); }
.items li:nth-child(5n+4) { --dot: var(--l4); }
.items li:nth-child(5n+5) { --dot: var(--l5); }
.items.one { grid-template-columns: minmax(0, 1fr); gap: 22px; }

/* how a site gets made: one drawing at five moments of its growth (sitedef/tiles.js), no numbers */
.grow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px 22px; }
.grow li { display: grid; gap: 18px; align-content: start; }
.grow canvas { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 18px;
  background: radial-gradient(ellipse 80% 80% at 50% 45%, #FFFFFF 0%, #FCFCFE 60%, #F4F3FA 100%);
  box-shadow: 0 0 0 1px var(--line), 0 26px 50px -38px rgba(20, 12, 40, 0.55); }
.grow li > div { display: grid; gap: 8px; color: var(--ink2); font-size: 16px; line-height: 1.58; }
.grow h3 { font-family: var(--nf); font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -0.012em; }
.grow-go { margin-top: 48px; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.prices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px 28px 26px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.tint .price { border-color: #DCDAE6; }
.price .amt { font-family: var(--nf); font-size: 52px; line-height: 1; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price .amt small { font-family: var(--tf); font-size: 15px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price ul { margin: 0; padding-left: 18px; color: var(--ink2); display: grid; gap: 6px; font-size: 16px; }
.price p { color: var(--ink2); font-size: 16px; }
.after { margin-top: 22px; color: var(--ink2); max-width: 70ch; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; }
.pair > div { display: grid; gap: 22px; align-content: start; }
h2.small { font-size: clamp(30px, 3.2vw, 40px); }

/* the closing band */
.closing { padding-block: 112px; background: var(--paper); border-top: 1px solid var(--line); text-align: left; position: relative; overflow: hidden; }
.closing .wrap { display: grid; gap: 22px; justify-items: start; }
.closing h2 { font-size: clamp(40px, 5.6vw, 72px); max-width: 14ch; }
.closing .prose { font-size: 19px; }
.rule5 { display: flex; gap: 6px; }
.rule5 i { width: 36px; height: 6px; border-radius: 3px; display: block; }

/* footer */
footer.foot { padding-block: 56px 64px; background: var(--bg); border-top: 1px solid var(--line); }
.foot .wrap { display: flex; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; align-items: end; }
.foot .name { font-size: 40px; }
.foot p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 46ch; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.foot nav a { text-decoration: none; color: var(--ink2); }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot small { display: block; width: 100%; color: var(--muted); font-size: 13.5px; font-family: var(--lf); letter-spacing: 0.02em; }

/* an inner page's reading column */
.page { padding-block: 72px 96px; }
.page .wrap { max-width: 820px; display: grid; gap: 26px; }
.page h1 { font-size: clamp(44px, 6vw, 76px); }
.page .lead { font-size: 22px; line-height: 1.5; color: var(--ink); max-width: 40ch; }
.page h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 18px; }
.page .prose { max-width: 66ch; }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 10px; }
.figs figure { margin: 0; display: grid; gap: 8px; }
.figs img { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); width: 100%; height: auto; }
.figs figcaption { font-size: 14.5px; color: var(--muted); }
.pending { border: 1.5px dashed #C9C6D6; border-radius: 14px; padding: 22px; color: var(--muted); font-size: 15.5px; }

/* the preview's own line, on the private review only */
.preview-line { background: #15131B; color: #F4F3F8; font: 500 13.5px/1.4 var(--tf); padding: 9px var(--gut); text-align: center; }

@media (max-width: 1080px) {
  .grow { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 720px; }
  .grow li { grid-template-columns: 148px minmax(0, 1fr); gap: 24px; align-items: start; }
  .work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work > .card, .work > .card:nth-child(3n+1):nth-last-child(2), .work > .card:nth-child(3n+2):last-child { grid-column: span 1; }
  .work > .card:nth-child(odd):last-child { grid-column: span 2; }
  .prices.three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  main section.band { padding-block: 64px; }
  .split, .pair { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split > .side { position: static; }
  .prose.big { font-size: 19px; }
  .head-row { margin-bottom: 28px; }
  .items { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .price .amt { font-size: 44px; }
  .closing { padding-block: 72px; }
  .page { padding-block: 44px 72px; }
  .page .lead { font-size: 19.5px; }
  .figs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .grow li { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
  .grow canvas { border-radius: 14px; }
  .grow h3 { font-size: 21px; }
  .work { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .work > .card:nth-child(n):nth-last-child(n) { grid-column: 1 / -1; }
  .foot .name { font-size: 34px; }
}

/* ---------- the note (/write/): a letter, its margin growing as it is written (sitedef/note.js) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.write { padding-top: 64px; }
.write-head { display: grid; gap: 18px; max-width: 1240px; }
.write-head h1 { font-size: clamp(48px, 6.4vw, 84px); }
.write-head .lead { font-size: 21px; line-height: 1.5; color: var(--ink2); max-width: 44ch; }
.desk { position: relative; margin-top: 40px; padding: 84px var(--gut) 96px; display: grid; justify-items: center;
  background: radial-gradient(ellipse 70% 80% at 50% 45%, #FFFFFF 0%, #FCFCFE 55%, #F3F2FA 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.desk canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.ntag { position: absolute; top: 20px; right: 24px; margin: 0; z-index: 1; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px rgba(21, 19, 27, 0.06); font-family: var(--lf); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: #67647A; font-variant-numeric: tabular-nums; }
.letter { position: relative; z-index: 1; width: 100%; max-width: 720px; background: rgba(255, 255, 255, 0.96); border-radius: 26px;
  padding: 56px 60px 48px; box-shadow: 0 0 0 1px rgba(21, 19, 27, 0.07), 0 40px 80px -48px rgba(30, 16, 60, 0.45); }
.letter .writing, .letter .sent { display: grid; gap: 22px; }
.letter [hidden] { display: none !important; }
.letter .sent { align-content: center; min-height: 100%; gap: 16px; }
.letter .sent h2 { font-size: clamp(40px, 5vw, 60px); }
.letter .sent p { color: var(--ink2); font-size: 19px; }
.letter .sent p.label { font-size: 12px; color: var(--muted); }
.dear, .sign { font-family: var(--nf); font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.dear .name { display: inline; font-size: 1em; line-height: inherit; }
.dear .name .tm { font-size: 0.3em; transform: translateY(-1.55em); margin-left: 0.18em; }
.letter textarea { width: 100%; min-height: 236px; resize: none; border: 0; padding: 4px 0; margin: 0; font: 400 19px/34px var(--tf); color: var(--ink);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 33px, #E8E6EF 33px, #E8E6EF 34px); background-attachment: local; outline: none; }
.letter textarea::placeholder { color: #9A97A6; }
.letter textarea:focus-visible { outline: none; box-shadow: 0 2px 0 0 var(--accent); }
.about { display: grid; gap: 10px; }
.about .hint { font-family: var(--lf); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid #DAD8E3; background: #FFFFFF;
  font: 500 15px var(--tf); color: var(--ink); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.topic .sw { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.topic[aria-pressed="true"] { background: #F1F0F9; border-color: var(--ink); }
.topic:hover { border-color: #A9A6B8; }
.sign { margin-top: 8px; }
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.who label { display: grid; gap: 6px; }
.who label.wide { grid-column: 1 / -1; }
.who label span { font-size: 14px; color: var(--muted); }
.who input { height: 48px; border: 0; border-bottom: 1.5px solid #CFCDDA; background: transparent; padding: 0 2px; font: 400 18px var(--tf); color: var(--ink); border-radius: 0; outline: none; }
.who input:focus-visible { border-bottom-color: var(--accent); box-shadow: 0 1.5px 0 0 var(--accent); }
.letter .send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.letter .small { font-size: 14.5px; color: var(--muted); }
.letter .err { color: #B3261E; font-size: 15px; min-height: 1px; }
.letter .err:empty { display: none; }
.ncap { margin: 22px 0 96px; font-size: 14.5px; color: var(--muted); max-width: 60ch; }
@media (prefers-reduced-motion: reduce) { .topic { transition: none; } }
@media (max-width: 860px) {
  .write { padding-top: 40px; }
  .write-head .lead { font-size: 18.5px; }
  .desk { margin-top: 28px; padding: 132px 14px 120px; }
  .ntag { top: 18px; right: 18px; }
  .letter { padding: 34px 22px 30px; border-radius: 20px; }
  .dear, .sign { font-size: 26px; }
  .letter textarea { font-size: 17.5px; line-height: 32px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #E8E6EF 31px, #E8E6EF 32px); }
  .who { grid-template-columns: minmax(0, 1fr); }
  .letter .send .btn { width: 100%; }
  .ncap { margin-bottom: 64px; }
}

/* ---------- the made things: his tools in their frames, the logos, the living art (B22) ---------- */
.made { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
.tile { position: relative; margin: 0; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(20, 12, 40, 0.5); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tile .art { position: relative; flex: 1 1 auto; display: grid; place-items: center; overflow: hidden; }
.tile .art.live { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.tile .art.stage-shot { place-items: center stretch; padding-bottom: 64px; }
.tile .cap { padding: 20px 24px 24px; display: grid; gap: 6px; color: var(--ink2); font-size: 15.5px; line-height: 1.55; }
.tile .cap .dom { font-family: var(--lf); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; }
.tile .cap .dom:hover { text-decoration: underline; text-underline-offset: 3px; }
.tile .cap h3 { font-family: var(--nf); font-weight: 400; font-size: 25px; line-height: 1.15; letter-spacing: -0.012em; }
.t-8 { grid-column: span 8; } .t-6 { grid-column: span 6; } .t-4 { grid-column: span 4; } .t-12 { grid-column: span 12; } .t-5 { grid-column: span 5; } .t-7 { grid-column: span 7; }
.r-2 { grid-row: span 2; }
/* a browser window, and a phone, drawn in CSS around real pictures */
.browser { width: 100%; border-radius: 14px; overflow: hidden; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(21, 19, 27, 0.1), 0 34px 70px -40px rgba(20, 12, 40, 0.55); }
.browser .chrome { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #F4F3F8; border-bottom: 1px solid #E6E4EE; }
.browser .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #D9D6E3; display: block; }
.browser .chrome span { margin-left: 12px; flex: 1; max-width: 300px; height: 20px; border-radius: 999px; background: #FFFFFF; font: 400 11.5px/20px var(--lf); color: #7A7788; padding: 0 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; }
.phone { width: 100%; border-radius: 34px; padding: 9px; background: #15131B; box-shadow: 0 40px 70px -36px rgba(20, 12, 40, 0.6); }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.stage-shot { width: 100%; padding: 44px 44px 0; background: radial-gradient(ellipse 80% 90% at 30% 20%, #FFFFFF 0%, var(--glow, #F2F1FA) 100%); }
.stage-shot .duo { position: relative; }
.stage-shot .duo .browser { width: 86%; }
.stage-shot .duo .phone { position: absolute; right: 0; bottom: -40px; width: 25%; }
.stage-shot.only-phone { display: grid; place-items: center; padding: 40px 0 0; }
.stage-shot.only-phone .phone { width: min(300px, 62%); margin-bottom: -60px; }
.tile .frame { border: 0; display: block; background: #FFFFFF; }
.tile .frame { aspect-ratio: auto; width: 100%; height: var(--h, 100%); min-height: 240px; }
.tile.r-2 .art.live { min-height: 560px; }
.tile.r-2 .art.live .frame { position: absolute; inset: 0; }
.logos { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 1px; background: var(--line); }
/* as many columns as logos on a laptop (--n, set by the build); three a row on a tablet and two on a phone, a last row's
   shared so no cell is empty (five since B32, six since B34) */
.logos figure { margin: 0; background: #FFFFFF; display: grid; gap: 14px; place-items: center; align-content: center; padding: 34px 16px 24px; min-height: 230px; }
.logos img { max-width: 88%; max-height: 120px; width: auto; height: auto; object-fit: contain; }
.logos figcaption { font-family: var(--lf); font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); }
@media (max-width: 1080px) {
  .made { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-8, .t-12, .t-7 { grid-column: span 2; } .t-6, .t-4, .t-5 { grid-column: span 1; }
  .r-2 { grid-row: auto; }
  .logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .logos figure { grid-column: span 2; }
  .logos figure:nth-child(3n+1):nth-last-child(2), .logos figure:nth-child(3n+2):last-child { grid-column: span 3; }
}
@media (max-width: 700px) {
  .made { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .t-8, .t-12, .t-7, .t-6, .t-4, .t-5 { grid-column: auto; }
  .stage-shot { padding: 26px 22px 0; }
  .stage-shot .duo .browser { width: 100%; }
  .stage-shot .duo .phone { position: relative; right: auto; bottom: auto; width: 46%; margin: -70px 0 0 auto; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos figure, .logos figure:nth-child(3n+1):nth-last-child(2), .logos figure:nth-child(3n+2):last-child { grid-column: span 1; min-height: 150px; }
  .logos figure:nth-child(odd):last-child { grid-column: span 2; }
  .art.live[data-key="logo-bloom"] .frame { --h: 260px !important; height: 260px; }
  .tile .cap h3 { font-size: 22px; }
}

/* "Play again" on a live piece that plays once (B26): small, in the piece's corner, gone under reduced motion, where the
   piece shows its finished picture and has nothing to play */
.replay { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
  border-radius: 999px; border: 1px solid #DAD8E3; background: rgba(255, 255, 255, 0.92); color: var(--ink); cursor: pointer;
  font: 500 12.5px/1 var(--lf); letter-spacing: 0.04em; box-shadow: 0 6px 16px -10px rgba(20, 12, 40, 0.4); }
.replay::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--accent); }
.replay:hover { border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .replay { display: none; } }

/* ---------- the story's lucha libre SCOBY, drawn in code (sitedef/scoby.js, his B31) ---------- */
.scoby-fig { margin: 18px 0 10px; display: grid; justify-items: center; gap: 14px; }
.scoby { width: min(300px, 100%); aspect-ratio: 360 / 640; }
.scoby svg { display: block; overflow: visible; }
.scoby-fig figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; text-align: center;
  font-size: 15px; line-height: 1.5; color: var(--muted); }
.scoby-no { font-family: var(--lf); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); font-variant-numeric: tabular-nums; }
.scoby-again { font: 500 15px var(--tf); color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.scoby-again:hover { color: var(--accent); }
