/* =====================================================================
   bench.hu v2 – „a pad” (workbench)
   Koncepció: a portfólió egy munkapad. Pontozott vágóalátét-háttér,
   plotter, ami a szakterületeket rajzolja, kódkomment-címkék.
   Szín: grafit + piros (a régi arculatból) + meleg papírfehér.
   ===================================================================== */
:root {
    --ink: #0d0d0f;
    --ink-2: #131316;
    --ink-3: #1a1a1f;
    --line: rgba(243, 241, 236, 0.09);
    --line-2: rgba(243, 241, 236, 0.18);
    --paper: #f3f1ec;
    --soft: #c9c6bf;
    --mute: #9b988f;
    --dim: #63615b;
    --red: #ff3e3e;
    --red-rgb: 255 62 62;
    --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    --wrap: 1240px;
    --gutter: clamp(18px, 4vw, 44px);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --r: 18px;
    color-scheme: dark;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background-color: var(--ink);
    background-image: radial-gradient(rgba(243, 241, 236, .075) 1px, transparent 1.3px);
    background-size: 24px 24px;
    color: var(--paper);
    font-family: var(--display);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
[id] { scroll-margin-top: 88px; }
h1, h2, h3 { text-wrap: balance; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: rgba(13, 13, 15, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: baseline; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; }
.brand i { font-style: normal; color: var(--red); animation: blink 1.1s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.nav-links { display: flex; gap: 26px; list-style: none; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--soft); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; color: var(--mute); font-family: var(--mono); font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) { .nav-links li:not(.keep) { display: none; } .nav .wrap { gap: 16px; } }
@media (max-width: 420px) { .nav-links { display: none; } .lang { margin-left: auto; } }

/* ---------- közös elemek ---------- */
.label { font-family: var(--mono); font-size: .8rem; color: var(--red); letter-spacing: .02em; }
.h2 { font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: .98; letter-spacing: -.04em; margin: 12px 0 0; }
.sec { padding-block: clamp(48px, 6vw, 84px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; margin-bottom: clamp(32px, 4vw, 48px); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: .98rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .2s var(--ease); }
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { border-color: var(--paper); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: #ff5757; border-color: #ff5757; }
.btn.sm { padding: 10px 15px; font-size: .9rem; border-radius: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .72rem; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--soft); white-space: nowrap; }
.chip.wip { color: var(--red); border-color: rgba(var(--red-rgb) / .45); background: rgba(var(--red-rgb) / .08); }
.chip.wip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--red-rgb) / .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(var(--red-rgb) / 0); } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { font-family: var(--mono); font-size: .72rem; color: var(--mute); }
.tags li + li::before { content: '/'; margin-right: 6px; color: var(--dim); }
.art { position: relative; width: 100%; height: 100%; background: var(--ink-3); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 20px 20px; display: grid; place-items: center; }
.art svg { width: 46%; height: auto; max-height: 78%; fill: none; stroke: var(--soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.art .dot { fill: var(--red); stroke: none; opacity: 1; }
.art span { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: .7rem; color: var(--dim); }

/* ---------- HERO ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.name { font-weight: 800; font-size: clamp(3.2rem, 6.2vw, 6rem); line-height: .92; letter-spacing: -.05em; margin: 16px 0 24px; }
.name span { display: block; }
.maker { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; min-height: 2.4em; }
.maker .word { color: var(--red); font-weight: 700; }
.maker .caret { display: inline-block; width: .5em; height: .1em; background: var(--red); margin-left: 4px; vertical-align: baseline; animation: blink 1.1s steps(1) infinite; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 22px 0 0; border-top: 1px solid var(--line); max-width: 620px; }
.spec div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.spec div:nth-child(odd) { border-right: 1px solid var(--line); }
.spec div:nth-child(even) { padding-left: 16px; }
.spec dt { font-family: var(--mono); font-size: .72rem; color: var(--mute); }
.spec dd { font-weight: 600; font-size: 1rem; margin-top: 2px; }
.spec dd a { text-decoration: none; border-bottom: 1px solid rgba(var(--red-rgb) / .6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* plotter */
.plotter { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; border: 1px solid var(--line-2); border-radius: 6px; background: var(--ink-2); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 26px 26px; background-position: -1px -1px; }
.plotter::before, .plotter::after { content: ''; position: absolute; width: 22px; height: 22px; border: 2px solid var(--red); }
.plotter::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.plotter::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.plot-bar { position: absolute; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .72rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.plot-bar.top { top: 12px; }
.plot-bar.bottom { bottom: 12px; }
.plot-bar b { color: var(--red); font-weight: 700; }
.plot-svg { position: absolute; inset: 12%; width: 76%; height: 76%; fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plot-svg .pen { fill: var(--red); stroke: none; filter: drop-shadow(0 0 6px rgba(var(--red-rgb) / .9)); }
.plot-svg .ghost { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 5; }

/* ---------- A PADON MOST ---------- */
.now-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.card { position: relative; text-decoration: none; color: inherit; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s, transform .3s var(--ease); }
.card:hover { border-color: var(--line-2); }
.now-main { display: flex; flex-direction: column; }
.now-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.now-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.now-main:hover .now-media img { transform: scale(1.04); }
.now-media .chip { position: absolute; top: 14px; left: 14px; background: rgba(13, 13, 15, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.now-body { padding: 24px 26px 26px; display: grid; gap: 12px; }
.now-body h3 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; letter-spacing: -.03em; }
.now-body p { color: var(--soft); max-width: 62ch; }
.now-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.now-side { display: grid; gap: 18px; }
.mini { display: grid; grid-template-columns: 132px minmax(0, 1fr); cursor: pointer; text-align: left; width: 100%; padding: 0; }
.mini .art { min-height: 100%; }
.mini .art svg { width: 64%; }
.mini-body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.mini-body h3 { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.1; }
.mini-body p { color: var(--mute); font-size: .95rem; line-height: 1.5; }

/* ---------- SZAKTERÜLETEK ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink-2); text-decoration: none; overflow: hidden; transition: border-color .25s, background .25s; }
.tile.wide { grid-column: span 2; }
.tile:hover { border-color: rgba(var(--red-rgb) / .6); background: #16161a; }
.tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tile-ico { width: 54px; height: 54px; fill: none; stroke: var(--paper); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .tile-ico path { animation: redraw .9s var(--ease) both; }
@keyframes redraw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.tile-ico path { stroke-dasharray: 600; stroke-dashoffset: 0; }
.tile-count { font-family: var(--mono); font-size: .75rem; color: var(--mute); }
.tile h3 { font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1.05; margin-top: auto; }
.tile p { color: var(--mute); font-size: .95rem; line-height: 1.5; }
.tile ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--mono); font-size: .72rem; color: var(--soft); }
.tile .go { position: absolute; right: 18px; bottom: 18px; width: 14px; height: 14px; color: var(--red); opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s, transform .25s var(--ease); }
.tile:hover .go { opacity: 1; transform: none; }

/* ---------- VÁLOGATÁS ---------- */
.works { list-style: none; border-top: 1px solid var(--line); }
.work { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 20px; align-items: center; gap: 28px; padding: 22px 6px; border-bottom: 1px solid var(--line); text-decoration: none; cursor: pointer; transition: background .25s, padding .3s var(--ease); }
.work:hover { background: rgba(243, 241, 236, .03); padding-left: 16px; }
.work-title { font-weight: 800; font-size: clamp(1.45rem, 3vw, 2.4rem); letter-spacing: -.035em; line-height: 1.05; }
.work-cat { font-family: var(--mono); font-size: .78rem; color: var(--red); white-space: nowrap; }
.work .tags { justify-content: flex-end; }
.work svg.arrow { width: 16px; height: 16px; color: var(--mute); transition: transform .25s var(--ease), color .25s; }
.work:hover svg.arrow { transform: translate(3px, -3px); color: var(--red); }
.work-thumb { display: none; }
.peek { position: fixed; z-index: 40; left: 0; top: 0; width: 300px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .25s, transform .35s var(--ease); }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
.works-foot { margin-top: 28px; }

/* ---------- RÓLAM ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.about-text p:not(.label) { color: var(--soft); font-size: 1.12rem; line-height: 1.75; max-width: 56ch; margin-top: 18px; }
.about-text #aboutP1 { color: var(--paper); font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; margin-top: 26px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.stack li { font-family: var(--mono); font-size: .78rem; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 8px; }
.path { list-style: none; position: relative; margin-top: 18px; }
.path li { position: relative; padding: 0 0 34px 34px; }
.path li:last-child { padding-bottom: 0; }
.path li::before { content: ''; position: absolute; z-index: 1; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--ink); }
.path li:not(:last-child)::after { content: ''; position: absolute; left: 6px; top: 16px; bottom: -9px; width: 2px; background: var(--line); }
.path li.on::before { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 5px rgba(var(--red-rgb) / .15); }
.path li.on::after { background: linear-gradient(var(--red), var(--line)); }
.path h3 { font-weight: 800; font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -.03em; line-height: 1.1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.path p { color: var(--mute); margin-top: 4px; }

/* ---------- KAPCSOLAT ---------- */
.contact { border-top: 1px solid var(--line); }
.big { font-weight: 800; font-size: clamp(3.6rem, 12vw, 10rem); line-height: .95; letter-spacing: -.06em; margin: 22px 0 24px; }
.big .dot { color: var(--red); }
.contact p:not(.label) { color: var(--soft); font-size: 1.12rem; max-width: 52ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
footer.foot { border-top: 1px solid var(--line); padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); }
footer.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: .75rem; color: var(--mute); }

/* ---------- ARCHÍVUM ---------- */
.arch-head { padding-block: clamp(56px, 8vw, 96px) 0; }
.arch-title { font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); line-height: .92; letter-spacing: -.055em; margin-top: 14px; }
.arch-title sup { font-family: var(--mono); font-weight: 700; font-size: .2em; letter-spacing: 0; color: var(--red); vertical-align: top; position: relative; top: .35em; margin-left: .25em; }
.toolbar { position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 30; display: grid; gap: 14px; padding-block: 18px; margin-top: 34px; background: rgba(13, 13, 15, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.search { position: relative; max-width: 460px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.search input { width: 100%; padding: 12px 14px 12px 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink-2); font-size: .98rem; }
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: none; border-color: var(--red); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--soft); font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter small { font-family: var(--mono); font-size: .7rem; color: var(--mute); }
.filter:hover { border-color: var(--paper); }
.filter[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.filter[aria-pressed="true"] small { color: var(--ink); opacity: .6; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; padding-block: 30px 100px; }
.pcard { display: flex; flex-direction: column; text-align: left; width: 100%; padding: 0; cursor: pointer; }
.pcard:hover { border-color: rgba(var(--red-rgb) / .55); transform: translateY(-3px); }
.pcard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-media .chip { position: absolute; top: 12px; left: 12px; background: rgba(13, 13, 15, .8); }
.pcard-body { display: grid; gap: 9px; padding: 18px 20px 22px; }
.pcard-cats { font-family: var(--mono); font-size: .72rem; color: var(--red); }
.pcard h3 { font-weight: 800; font-size: 1.32rem; letter-spacing: -.025em; line-height: 1.12; }
.pcard p { color: var(--mute); font-size: .94rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty { padding: 60px 0 120px; color: var(--mute); font-size: 1.1rem; }

/* ---------- részletező ablak ---------- */
.modal { margin: auto; width: min(980px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--ink-2); color: var(--paper); overflow: hidden; }
.modal::backdrop { background: rgba(5, 5, 6, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); max-height: calc(100vh - 34px); }
.m-media { position: relative; min-height: 380px; background: var(--ink-3); }
.m-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.m-media .art { position: absolute; inset: 0; }
.m-body { display: flex; flex-direction: column; gap: 14px; padding: 34px 32px 28px; overflow-y: auto; }
.m-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-body h2 { font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.04; letter-spacing: -.035em; }
.m-body p { color: var(--soft); font-size: 1.04rem; line-height: 1.7; }
.m-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.m-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.m-foot .count { margin-left: auto; font-family: var(--mono); font-size: .75rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--ink-3); cursor: pointer; flex: none; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--red); color: var(--red); }
.icon-btn svg { width: 15px; height: 15px; }

/* ---------- reszponzív ---------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .plotter { justify-self: start; max-width: 440px; }
    .now-grid { grid-template-columns: minmax(0, 1fr); }
    .now-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
    .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
    .now-side { grid-template-columns: minmax(0, 1fr); }
    .work { grid-template-columns: 76px minmax(0, 1fr) 16px; gap: 14px; padding: 16px 0; }
    .work:hover { padding-left: 0; }
    .work-thumb { display: block; width: 76px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--ink-3); }
    .work-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .work-thumb .art svg { width: 60%; }
    .work-thumb .art span, .work-thumb .art .dot { display: none; }
    .work-main { display: grid; gap: 4px; min-width: 0; }
    .work .tags { display: none; }
    .work-cat.desk { display: none; }
    .modal-in { grid-template-columns: minmax(0, 1fr); }
    .m-media { min-height: 220px; aspect-ratio: 16 / 10; }
    .m-body { padding: 24px 20px 20px; }
}
@media (min-width: 721px) { .work-cat.mob { display: none; } .work-main { display: contents; } }
@media (max-width: 520px) {
    body { font-size: 16px; }
    .bento { grid-template-columns: minmax(0, 1fr); }
    .tile.wide { grid-column: auto; }
    .tile { min-height: 0; }
    .spec { grid-template-columns: minmax(0, 1fr); }
    .spec div:nth-child(odd) { border-right: 0; }
    .spec div:nth-child(even) { padding-left: 0; }
    .mini { grid-template-columns: 92px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
