/* MIXED (final) theme. Base :root stays the v4 black palette.
   .tok-gray re-skins a whole section; .tok-black puts v4-black tokens back on a card inside a gray section. */
.tok-gray {
  --void: #1c1c1c; --void-rgb: 28, 28, 28;
  --carbon: #202020; --graphite: #242424; --steel: #2c2c2c;
  --panel: #232323; --elevated: #252525; --footer: #161616; --icon-tile: #2c2c2c;
  --chrome-bg: rgba(28, 28, 28, .88); --win-bg: #252525; --toast-bg: rgba(32, 32, 32, .96);
  --paper: #fff;
  --line: #2e2e2e; --line-2: #333333;
  --ash: #8a8a8a; --silver: #9a9a9a; --chalk: #ededed;
  --spark: #ececec; --spark-rgb: 236, 236, 236;
  --glow: 0 0 16px rgba(255, 255, 255, 0.10), 0 0 1px rgba(255, 255, 255, 0.28);
  --win-bar-from: #e8e8e8; --win-bar-to: #b8b8b8; --win-bar-fg: #1a1a1a;
  --btn-secondary-bg: #2a2a2a; --btn-secondary-color: #ededed; --btn-secondary-border: #333333;
  --btn-secondary-hover-bg: #333333; --btn-secondary-hover-border: #3a3a3a;
  background: var(--void); color: var(--chalk);
}
.tok-black {
  --void: #050505; --void-rgb: 5, 5, 5;
  --carbon: #0c0c0d; --graphite: #151517; --steel: #2a2a2d;
  --panel: #0d0d0e; --elevated: #0a0a0b; --footer: #030303; --icon-tile: #151517;
  --chrome-bg: rgba(5, 5, 5, .8); --win-bg: rgba(12, 12, 13, .86); --toast-bg: rgba(12, 12, 13, .95);
  --paper: #fff;
  --line: rgba(255,255,255,0.08); --line-2: rgba(255,255,255,0.16);
  --ash: #808086; --silver: #b9b9be; --chalk: #f2f1ed;
  --spark: #fff6e6; --spark-rgb: 255, 246, 230;
  --glow: 0 0 24px rgba(255,246,230,0.35), 0 0 2px rgba(255,246,230,0.9);
  --win-bar-from: #e9e8e4; --win-bar-to: #bdbcb8; --win-bar-fg: #0b0b0b;
  --btn-secondary-bg: transparent; --btn-secondary-color: #f2f1ed; --btn-secondary-border: rgba(255,255,255,0.16);
  --btn-secondary-hover-bg: rgba(255,255,255,.05); --btn-secondary-hover-border: #f2f1ed;
  color: var(--chalk);
}
/* cards inside gray sections: solid v4 black under the translucent v4 gradient */
.svc.tok-black, .pcard.tok-black, .proj.tok-black { background-color: var(--void); }
/* restore a few v4 literals that the shared stylesheet tokenized */
.footer-col a { color: #e2e1dd; }
.tool-aff { color: #4a4a4f; opacity: 1; }
.sv-badge small { color: #555; }
.sv-note { color: #55555a; }
.sv-cal i.on { background: linear-gradient(180deg, var(--spark), #cfc8bb); }

/* ---------- LAYOUT: one proper container everywhere (backgrounds stay full-bleed) ---------- */
:root { --wrap: 1264px; --gutter: clamp(24px, 4.4vw, 56px); }
.wrap { max-width: var(--wrap); padding: 0 var(--gutter); }
.hero-inner { max-width: var(--wrap); padding: 0 var(--gutter); }
.stage-hint { right: max(24px, calc((100% - var(--wrap)) / 2 + var(--gutter))); }
@media (max-width: 1099px) {
  .hero-inner { padding: 56px var(--gutter) 64px; }
  .stage-hint { right: var(--gutter); }
}
@media (max-width: 720px) { :root { --gutter: 20px; } .hero-inner { padding: 48px 20px 56px; } }

/* ---------- HERO: glowing line anchored to the period of "One person." ---------- */
#originSvg { display: none !important; }
.hero-title .line { transform: none; animation-name: lineInM; }
@keyframes lineInM { to { opacity: 1; } }
.om-probe { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.om-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.om-svg.off { display: none; }
.om-svg path { fill: none; stroke: rgba(var(--spark-rgb), .6); stroke-width: 1.1; filter: drop-shadow(0 0 4px rgba(var(--spark-rgb), .75)); }
.om-path { stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); animation: drawIn 2.2s .5s cubic-bezier(.5,0,.2,1) forwards; }
.om-svg path.om-flow { stroke: var(--spark); stroke-width: 1.5; stroke-dasharray: 2 22; opacity: 0; animation: flow 1.8s linear infinite, fadeIn .6s 2.6s forwards; }
.om-svg.done .om-path { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
.om-node { fill: var(--spark); filter: drop-shadow(0 0 6px rgba(var(--spark-rgb), .95)); opacity: 0; animation: fadeIn .4s .3s forwards; }

/* ---------- NEWSLETTER: details live inside the signup card, one calm row ---------- */
.nl-hero { padding-bottom: 44px; }
.nl-foot { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nl-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.nl-foot-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); margin-right: 10px; }
.nl-chip { background: transparent; border: 1px solid var(--line-2); color: var(--silver); border-radius: 999px; padding: 7px 15px; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.nl-chip:hover { color: var(--chalk); border-color: rgba(255,255,255,.32); }
.nl-chip.active { background: var(--chalk); color: var(--void); border-color: var(--chalk); }
.nl-chip:focus-visible, .nl-more:focus-visible, .cat-btn:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; }
.nl-desc { margin: 0; min-height: 1.6em; color: var(--ash); font-size: 14.5px; transition: opacity .2s ease; }
.nl-more { display: inline-flex; gap: 8px; margin-top: 4px; padding: 4px 1px; background: none; border: 0; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--silver); cursor: pointer; transition: color .2s, border-color .2s; }
.nl-more:hover { color: var(--spark); border-color: var(--spark); }
.nl-more i { font-style: normal; transition: transform .35s var(--ease); }
.nl-more[aria-expanded="true"] i { transform: rotate(180deg); }
.nl-panel { display: grid; grid-template-rows: 0fr; width: 100%; visibility: hidden; transition: grid-template-rows .5s var(--ease), visibility 0s .5s; }
.nl-panel.open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s var(--ease), visibility 0s; }
.nl-panel-in { min-height: 0; overflow: hidden; text-align: left; }
.nl-cols { display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; padding-top: 26px; }
.nl-mini { display: flex; justify-content: space-between; margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.nl-mini a { letter-spacing: 0; text-transform: none; color: var(--silver); }
.nl-mini a:hover { color: var(--spark); }
.nl-issue { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; font-size: 14.5px; color: var(--silver); transition: color .2s; }
.nl-issue:hover { color: var(--spark); }
.nl-issue i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ash); white-space: nowrap; padding-top: 3px; }
.nl-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.nl-facts dt { font-size: 12px; color: var(--ash); }
.nl-facts dd { margin: 1px 0 0; font-size: 14px; font-weight: 500; }
.nl-quote { margin: 26px 0 0; text-align: center; }
.nl-quote blockquote { margin: 0 0 4px; font-size: 14px; color: var(--ash); }
.nl-quote figcaption { font-family: var(--mono); font-size: 11px; color: var(--ash); opacity: .6; }
.nl-hero .reveal, .nl-panel { will-change: auto; }

/* ---------- ABOUT: stats woven into the chapters ---------- */

.chapter-copy { margin: 0; max-width: 480px; color: var(--silver); font-size: 17px; line-height: 1.65; }
.chapter-stats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 22px; }
.cstat { display: flex; align-items: baseline; gap: 9px; }
.cstat b { font-size: 21px; font-weight: 600; letter-spacing: -.04em; color: var(--chalk); font-variant-numeric: tabular-nums; }
.cstat small { font-size: 13px; color: var(--ash); }


/* ---------- WORK WITH ME: 3D parallax inside the cards (JS sets --rx / --ry in -1..1) ---------- */
.svc-visual { perspective: 900px; }
.svc-visual::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at calc(50% + var(--rx, 0) * 42%) calc(50% + var(--ry, 0) * 42%), rgba(var(--spark-rgb), .10), transparent 70%); }
.svc:hover .svc-visual::before { opacity: 1; }
.svc-visual .sv { transform-style: preserve-3d; transform: rotateX(calc(var(--ry, 0) * -5deg)) rotateY(calc(var(--rx, 0) * 7deg)); will-change: transform; }
.sv-tweet, .sv-pill, .sv-badge, .sv-timeline, .sv-note, .sv-cal, .sv-spec span, .sv-spec em, .sv-post, .sv-reach i, .sv-mail {
  translate: calc(var(--rx, 0) * var(--d, 0) * 1.1px) calc(var(--ry, 0) * var(--d, 0) * 1.1px) calc(var(--d, 0) * 1px); }
.sv-tweet.t1 { --d: 8; } .sv-tweet.t2 { --d: 20; } .sv-pill { --d: 34; }
.sv-badge { --d: 24; } .sv-timeline { --d: 10; } .sv-note { --d: 4; }
.sv-cal { --d: 10; } .sv-spec span { --d: 26; } .sv-spec em { --d: 38; }
.sv-post { --d: 14; }
.sv-mail.m1 { --d: 10; } .sv-mail.m2 { --d: 22; }
.svc-sub .svc-visual .sv { transform: scale(.82) rotateX(calc(var(--ry, 0) * -5deg)) rotateY(calc(var(--rx, 0) * 7deg)); }
@media (max-width: 720px) { .svc-sub .svc-visual .sv { transform: scale(.74); } }
.sv-reach i:nth-child(1) { --d: 6; } .sv-reach i:nth-child(2) { --d: 10; } .sv-reach i:nth-child(3) { --d: 14; }
.sv-reach i:nth-child(4) { --d: 20; } .sv-reach i:nth-child(5) { --d: 28; } .sv-reach i:nth-child(6) { --d: 22; }

/* ---------- CATEGORY ROW: same language as the Tools switcher, laid out horizontally ---------- */
.cat-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 30px; margin: 0 0 32px; border-bottom: 1px solid var(--line); }
.cat-btn { display: inline-flex; align-items: baseline; gap: 8px; min-height: 52px; padding: 12px 2px 13px; margin-bottom: -1px; background: transparent; border: 0; border-bottom: 1px solid transparent; cursor: pointer; color: var(--ash); transition: color .25s, border-color .25s; }
.cat-btn span { display: inline-grid; font-family: var(--sans); font-weight: 500; font-size: 17px; letter-spacing: -.02em; line-height: 1.2; }
.cat-btn span::after { content: attr(data-t); grid-area: 1 / 1; height: 0; overflow: hidden; visibility: hidden; font: 500 17px/1.2 var(--sans); letter-spacing: -.02em; }
.cat-btn span b { grid-area: 1 / 1; font: inherit; letter-spacing: inherit; }
.cat-btn i { font-style: normal; font-family: var(--mono); font-size: 11px; }
.cat-btn:hover { color: var(--chalk); }
.cat-btn.active { color: var(--spark); border-bottom-color: var(--spark); }
.cat-btn.active span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 23px; letter-spacing: 0; text-shadow: 0 0 24px rgba(var(--spark-rgb), .4); }

/* ---------- BUILDING: 12-col bento that re-flows when filtered ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--line-2); grid-column: span 3;
  background-image: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s, opacity .22s ease; }
.pcard:hover { border-color: rgba(var(--spark-rgb), .45); transform: translateY(-3px); box-shadow: 0 30px 70px -40px rgba(var(--spark-rgb), .25); }
.pcard-feature { grid-column: span 6; grid-row: span 2; }
.pcard.wide { grid-column: span 6; flex-direction: row; }
.pcard-visual { position: relative; flex: 1 1 auto; min-height: 132px; overflow: hidden; display: grid; place-items: center; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(var(--spark-rgb), .09), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 26px 26px; }
.pcard-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .6s var(--ease); }
.pcard:hover .pcard-visual img { transform: scale(1.03); }
.pcard-feature .pcard-visual { flex: 0 0 auto; aspect-ratio: 16 / 8.4; }
.pcard-glyph { width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; background: var(--chalk); color: var(--void); font-family: var(--serif); font-style: italic; font-size: 38px; box-shadow: 0 0 60px rgba(var(--spark-rgb), .2); }
.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pcard-top b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.pcard-one { color: var(--silver); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-cta { margin-top: 6px; display: inline-flex; gap: 6px; font-size: 13.5px; font-weight: 600; }
.pcard-cta i { font-style: normal; transition: transform .25s; }
.pcard:hover .pcard-cta i { transform: translate(2px, -2px); }
.pcard.wide .pcard-visual { flex: 0 0 36%; border-bottom: 0; border-right: 1px solid var(--line); }
.pcard.wide .pcard-body { flex: 1; justify-content: center; }
.pcard-feature .pcard-body { padding: 28px 32px 32px; gap: 14px; }
.pcard-feature h3 { font-weight: 700; font-size: clamp(34px, 3.4vw, 50px); letter-spacing: -.045em; line-height: 1; margin: 4px 0 0; }
.pcard-feature h3 em { font-size: 1.13em; line-height: .9; text-shadow: 0 0 28px rgba(var(--spark-rgb), .32); padding-right: .04em; }
.pcard-feature .pcard-one { font-size: 16px; max-width: 470px; -webkit-line-clamp: unset; display: block; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pcard-tags i { font-style: normal; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--silver); }
.pcard-feature .btn { align-self: flex-start; margin-top: 6px; }
/* filtered: every visible card shares the width; a lone card becomes a wide horizontal feature */
.bento.is-filtered .pcard, .bento.is-filtered .pcard.wide { grid-row: span 1; flex-direction: column; }
.bento.is-filtered .pcard.wide .pcard-visual { flex: 1 1 auto; border-right: 0; border-bottom: 1px solid var(--line); }
.bento.is-filtered .pcard-feature .pcard-visual { flex: 1 1 auto; aspect-ratio: auto; min-height: 190px; }
.bento[data-n="1"].is-filtered .pcard { grid-column: span 12; flex-direction: row; }
.bento[data-n="1"].is-filtered .pcard .pcard-visual { flex: 0 0 46%; min-height: 280px; border-bottom: 0; border-right: 1px solid var(--line); }
.bento[data-n="1"].is-filtered .pcard .pcard-body { flex: 1; justify-content: center; }
.bento[data-n="2"].is-filtered .pcard { grid-column: span 6; }
.bento[data-n="3"].is-filtered .pcard { grid-column: span 4; }
.pcard.is-hidden, .proj.is-hidden { display: none; }
[data-cat].is-out { opacity: 0; transform: translateY(10px) scale(.985); pointer-events: none; }
[data-cat].is-in { animation: ebIn .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.bento ~ .all-projects { margin-top: 28px; }

/* ---------- THOUGHTS: small, minimal rows; the essay peek follows the cursor ---------- */
.thoughts { padding: 104px 0; }
.thoughts-card { padding: 36px 40px 30px; border-radius: 28px; }
.thoughts-head { margin-bottom: 20px; }
.tlist { list-style: none; margin: 0; padding: 0; }
.tbelief { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.tbelief:last-child { border-bottom: 1px solid var(--line); }
.tbelief .belief-icon { width: 34px; height: 34px; border-radius: 10px; }
.tbelief .belief-icon svg { width: 16px; height: 16px; }
.tb-text h3 { font-size: clamp(16px, 1.45vw, 18.5px); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 1px; }
.tb-text p { margin: 0; color: var(--ash); font-size: 13.5px; line-height: 1.5; }
.tb-side { justify-self: end; }
.tb-hint { display: inline-flex; gap: 5px; font-family: var(--mono); font-size: 11px; color: var(--ash); padding: 3px 0; border-bottom: 1px solid var(--line-2); white-space: nowrap; transition: color .2s, border-color .2s; }
.tb-hint i { font-style: normal; }
.tb-hint:hover, .tb-hint:focus-visible { color: var(--spark); border-color: var(--spark); }
.tb-hint.empty { border-bottom-style: dashed; opacity: .55; cursor: default; }
/* in-flow peek: touch devices only */
.tb-peek { display: none; }
@media (hover: none) {
  .tb-peek { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 420px; max-height: 0; overflow: hidden; padding: 0 14px 0 8px; margin-top: 0; border-radius: 14px; background: var(--graphite); border: 0 solid var(--line-2);
    transition: max-height .3s var(--ease), padding .3s var(--ease), margin-top .3s var(--ease); }
  .tbelief.open .tb-peek { max-height: 120px; padding: 8px 14px 8px 8px; margin-top: 10px; border-width: 1px; }
  .tb-peek img { width: 84px; height: auto; border-radius: 7px; flex-shrink: 0; }
  .tb-peek span { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
  .tb-peek small { font-family: var(--mono); font-size: 10px; color: var(--ash); }
  .tb-peek b { font-size: 13px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tb-peek i { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--silver); }
  .tb-side { grid-column: 2; justify-self: start; width: 100%; }
  .tbelief { grid-template-columns: 34px minmax(0, 1fr); }
}
.tip { position: fixed; left: 0; top: 0; z-index: 300; width: 300px; display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; border-radius: 14px; background: #151517; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 24px 60px rgba(0,0,0,.65);
  pointer-events: none; opacity: 0; transition: opacity .15s ease; will-change: transform; color: #f2f1ed; }
.tip.show { opacity: 1; }
.tip img { width: 92px; height: auto; border-radius: 7px; flex-shrink: 0; }
.tip span { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.tip small { font-family: var(--mono); font-size: 10px; color: #808086; }
.tip b { font-size: 13px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tip i { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: #b9b9be; }

/* ---------- ESSAYS: normal container, same category row as everything else ---------- */
.essay-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; align-items: start; transition: opacity .22s ease, transform .22s ease; }
.essay-board.is-swapping { opacity: 0; transform: translateY(10px); }
.essay-board.is-entering .eb-item { animation: ebIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes ebIn { from { opacity: 0; transform: translateY(16px); } }
.eb-item { display: block; }
.eb-item .essay-img { margin-bottom: 14px; }
.eb-item:hover .essay-img img { transform: scale(1.03); }
.eb-body .essay-meta { margin: 0 0 8px; }
.eb-body h3 { font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 6px; transition: color .25s; }
.eb-item:hover h3 { color: var(--spark); }
.eb-desc { color: var(--ash); font-size: 14px; margin: 0; }
.eb-cta { display: none; font-weight: 600; font-size: 14px; }
.eb-item.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 16px; border-radius: 26px; border: 1px solid var(--line-2); background: var(--carbon); transition: border-color .35s; }
.eb-item.is-lead:hover { border-color: rgba(var(--spark-rgb), .45); }
.eb-item.is-lead .essay-img { margin: 0; border-radius: 16px; }
.eb-item.is-lead .eb-body { padding: 8px 22px 8px 0; }
.eb-item.is-lead h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 12px; }
.eb-item.is-lead .eb-desc { font-size: 16px; color: var(--silver); margin-bottom: 18px; }
.eb-item.is-lead .eb-cta { display: inline-block; }

/* ---------- PROJECTS PAGE ---------- */
.proj.tok-black { padding: 32px; margin-bottom: 20px; border: 1px solid var(--line-2); border-radius: 28px; gap: 48px; background-image: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.proj.tok-black .proj-visual { border-radius: 18px; }
.projects-list .cat-row { margin-bottom: 28px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard, .pcard.wide, .bento.is-filtered .pcard, .bento[data-n="2"].is-filtered .pcard, .bento[data-n="3"].is-filtered .pcard { grid-column: span 1; flex-direction: column; }
  .pcard-feature, .bento[data-n="1"].is-filtered .pcard { grid-column: 1 / -1; grid-row: span 1; }
  .pcard.wide .pcard-visual { flex: 1 1 auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .bento[data-n="3"].is-filtered .pcard.is-last { grid-column: 1 / -1; }
  .bento[data-n="1"].is-filtered .pcard { flex-direction: column; }
  .bento[data-n="1"].is-filtered .pcard .pcard-visual { flex: 1 1 auto; min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .nl-cols { grid-template-columns: 1fr; gap: 32px; }
  .essay-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-item.is-lead { grid-template-columns: 1fr; gap: 18px; }
  .eb-item.is-lead .eb-body { padding: 0 6px 6px; }
  .proj.tok-black { padding: 22px; gap: 28px; }
  .thoughts-card { padding: 30px 28px 26px; }
}
@media (max-width: 720px) {
  .nl-foot-label { flex-basis: 100%; text-align: center; margin: 0 0 4px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .pcard-feature .pcard-body { padding: 22px; }
  .cat-row { flex-wrap: nowrap; overflow-x: auto; gap: 24px; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat-btn { flex-shrink: 0; }
  .essay-board { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .proj.tok-black { padding: 16px; border-radius: 22px; }
  .thoughts-card { padding: 24px 18px 20px; border-radius: 22px; }
  .tbelief { gap: 12px; }
  .nl-facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .essay-board, .tip, .nl-panel, .nl-desc { transition: none !important; }
  .essay-board.is-entering .eb-item, [data-cat].is-in { animation: none !important; }
  .svc-visual .sv, .svc-visual .sv * { transform: none !important; translate: none !important; }
}
.pcard-top b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-top .mini-status { flex-shrink: 0; white-space: nowrap; }
@media (min-width: 1101px) { .bento:not(.is-filtered) .pcard:not(.pcard-feature):not(.wide) .pcard-top b { font-size: 16px; } }
