:root {
  --desk: #161c1a; --kraft: #c8a46e; --kraft2: #a8844f; --paper: #efe6d2; --paper2: #e2d6ba; --ink: #1b1812; --red: #cf3a2f; --lamp: #ffd28a;
  --chalk: rgba(240, 236, 224, .62); --mut: rgba(239, 230, 210, .68);
  --f-head: 'Rakkas', serif; --f-body: 'IBM Plex Sans Arabic', system-ui, sans-serif; --f-hand: 'Aref Ruqaa', serif; --f-type: 'Special Elite', monospace;
  --ease: cubic-bezier(.2, .8, .2, 1); --pad: clamp(16px, 4.5vw, 64px);
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .16 0 0 0 .14 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { margin: 0; color: var(--paper); font: 400 1.0625rem/1.8 var(--f-body); background: var(--desk) url('img/desk-tile.webp'); background-size: 820px; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 35%, transparent 35%, rgba(0, 0, 0, .6)); }
main, header, footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px dashed var(--lamp); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 400; line-height: 1.25; margin: 0; }
.wrap { width: min(1280px, 100% - 2 * var(--pad)); margin-inline: auto; }
section { position: relative; padding-block: clamp(56px, 8vw, 110px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.type { font-family: var(--f-type); letter-spacing: .04em; }
.hand { font-family: var(--f-hand); }

/* paper, tape, stamps */
.sheet { position: relative; color: var(--ink); background: var(--paper) var(--noise); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .75), 0 1px 0 rgba(255, 255, 255, .5) inset; padding: 1.2rem 1.5rem; }
.sheet.kraft { background-color: var(--kraft); }
.tape::before { content: ''; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: rgba(236, 226, 190, .72); transform: rotate(-3deg); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.stamp { display: inline-block; border: 3px solid var(--red); color: var(--red); font: 400 1.3rem var(--f-head); padding: .05em .7em; border-radius: 6px; transform: rotate(-7deg); opacity: .88; letter-spacing: .04em; mix-blend-mode: multiply; }
.sec-head { margin-bottom: 2.4rem; display: flex; align-items: flex-end; gap: 1.2rem; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); background: var(--paper) var(--noise); color: var(--ink); padding: .1em .6em; transform: rotate(-1.2deg); box-shadow: 0 12px 22px -10px #000; position: relative; }
.sec-head h2::after { content: ''; position: absolute; inset: auto .5em .12em; height: 4px; background: var(--red); opacity: .85; border-radius: 3px; transform: rotate(.6deg); }
.sec-head .no { font: 400 .95rem var(--f-type); color: var(--lamp); letter-spacing: .1em; }
.lead { color: var(--mut); max-width: 58ch; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* buttons: kraft tags / rubber bands */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1.3em; background: var(--kraft) var(--noise); color: var(--ink); border: 0; border-radius: 4px 4px 4px 4px; text-decoration: none; font-weight: 600; box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .45) inset; transition: transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 12px 18px -6px rgba(0, 0, 0, .8); }
.btn.red { background: var(--red); color: #fff; }
.btn.paper { background-color: var(--paper); }
.btn.sm { padding: .25em 1em; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--paper); border: 1.5px dashed var(--chalk); box-shadow: none; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn svg { width: 1.1em; height: 1.1em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* header: name label + folder tabs */
.top { position: sticky; top: 0; z-index: 60; background: linear-gradient(rgba(14, 18, 16, .94), rgba(14, 18, 16, .82)); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(239, 230, 210, .12); }
.top .wrap { display: flex; align-items: flex-end; gap: 1.2rem; min-height: 70px; padding-top: 10px; }
.namecard { align-self: center; text-decoration: none; color: var(--ink); background: var(--paper) var(--noise); padding: .25rem 1rem; transform: rotate(-1.4deg); box-shadow: 0 8px 14px -6px #000; line-height: 1.25; }
.namecard b { display: block; font: 400 1.3rem var(--f-head); } .namecard small { font: 700 .72rem var(--f-hand); color: #5a4a2a; }
.folders { display: flex; gap: .3rem; list-style: none; margin: 0 auto 0 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.folders::-webkit-scrollbar { display: none; }
.folders a { display: flex; align-items: center; gap: .5rem; text-decoration: none; background: var(--kraft) var(--noise); color: var(--ink); padding: .55rem 1.4rem .4rem; border-radius: 10px 10px 0 0; font-weight: 600; white-space: nowrap; box-shadow: 0 -3px 8px rgba(0, 0, 0, .3); transition: transform .2s var(--ease), background .2s; position: relative; top: 4px; }
.folders a:hover { transform: translateY(-4px); background-color: #d8b883; }
.folders svg { width: 1.1em; height: 1.1em; }

/* hero */
.hero { min-height: calc(100svh - 70px); display: grid; align-items: center; padding-block: 40px 60px; overflow: clip; isolation: isolate; --mx: 40%; --my: 40%; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: #101614; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle 340px at var(--mx) var(--my), rgba(255, 210, 138, .16), transparent 70%), linear-gradient(to bottom, transparent 70%, var(--desk)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.headline { transform: rotate(-1.6deg); padding: .5rem 1.6rem .9rem; background-color: var(--paper); clip-path: polygon(0 4%, 3% 0, 8% 3%, 14% 0, 22% 3%, 31% 0, 40% 3%, 52% 0, 63% 3%, 74% 0, 85% 3%, 94% 0, 100% 4%, 100% 96%, 96% 100%, 88% 97%, 77% 100%, 66% 97%, 52% 100%, 40% 97%, 28% 100%, 16% 97%, 6% 100%, 0 96%); filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .6)); }
.headline h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); color: var(--ink); position: relative; display: inline-block; }
.headline h1::after { content: ''; position: absolute; inset: auto 0 -.08em; height: .09em; background: var(--red); border-radius: 4px; transform: rotate(-.8deg); opacity: .9; }
.tagline { margin: 1.1rem 0 0; padding: .5rem 1.2rem; transform: rotate(.8deg); font-weight: 600; }
.intro { margin: 1.6rem 0 0; padding: 1rem 1.3rem 1.2rem; transform: rotate(-.6deg); font-size: 1.02rem; max-width: 40ch; }
.signature { margin-top: 1.4rem; font: 700 2rem var(--f-hand); color: var(--paper); position: relative; display: inline-block; transform: rotate(-4deg); }
.signature::after { content: ''; position: absolute; inset: auto 0 .1em; border-bottom: 3px solid var(--red); border-radius: 50%; }
.hero .cta-row { margin-top: 1.6rem; }
.hero .stamp { position: absolute; inset-inline-end: 2%; bottom: 2%; font-size: 1.7rem; }

/* evidence board */
.board-wrap { position: relative; }
.board { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.6rem) clamp(.6rem, 1.6vw, 1.2rem); padding: 1.2rem .4rem 1.6rem; }
.slot { position: relative; transition: opacity .35s; }
.slot .polaroid { cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; }
.slot:hover .polaroid, .slot:focus-within .polaroid { transform: rotate(0deg) translateY(-8px) scale(1.06); box-shadow: 0 26px 34px -10px rgba(0, 0, 0, .85); z-index: 6; }
.slot button { all: unset; display: block; width: 100%; cursor: pointer; }
.slot.dim { opacity: .22; }
.slot.sel .polaroid { outline: 3px solid var(--red); outline-offset: 2px; }
#string { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; }
#string path { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .55)); }
.board-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.tag { background: var(--paper) var(--noise); color: var(--ink); border: 0; padding: .1em 1em; font: 700 .95rem var(--f-hand); box-shadow: 0 5px 8px -3px #000; transform: rotate(var(--r, 0deg)); transition: transform .2s var(--ease); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6% 50%); padding-inline-start: 1.4em; }
.tag:hover { transform: rotate(0) translateY(-3px); }
.tag[aria-pressed="true"] { background-color: var(--lamp); }

/* the case file (selected book) */
.folder { position: relative; padding-top: 38px; }
.folder-tab { position: absolute; top: 0; inset-inline-end: 40px; background: var(--kraft) var(--noise); color: var(--ink); font: 400 1.1rem var(--f-type); padding: .35rem 1.6rem .2rem; border-radius: 12px 12px 0 0; letter-spacing: .08em; box-shadow: 0 -3px 8px rgba(0, 0, 0, .3); }
.folder-body { background: var(--kraft) var(--noise); border-radius: 6px; padding: clamp(1rem, 3vw, 2.2rem); box-shadow: 0 30px 50px -20px #000; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.2rem, 3vw, 2.6rem); align-items: start; position: relative; }
.f-left { display: grid; justify-items: center; gap: 1.4rem; padding-top: 12px; }
.f-left .polaroid { width: min(300px, 100%); --rot: -2.5deg; transform: rotate(-2.5deg); }
.f-left .stamp { font-size: 1.5rem; }
.f-right { min-height: 420px; }
.f-right .badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; font: 400 .85rem var(--f-type); letter-spacing: .06em; color: #6c5a36; }
.f-right h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.f-right .sub { color: #5a4a2a; font-size: 1.15rem; margin: .2rem 0 1rem; font-weight: 500; }
.f-tabs { display: flex; gap: .3rem; margin: 1rem 0 1.1rem; flex-wrap: wrap; }
.f-tabs button { background: var(--paper2); border: 0; color: var(--ink); padding: .25em 1.2em; font-weight: 700; border-radius: 6px 6px 0 0; box-shadow: 0 -2px 4px rgba(0, 0, 0, .2); }
.f-tabs button[aria-selected="true"] { background: var(--red); color: #fff; }
.f-tabs button[disabled] { opacity: .35; cursor: not-allowed; }
.panel { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.panel p { margin: 0 0 1.1rem; white-space: pre-line; }
.typed { list-style: none; padding: 0; margin: 0 0 1.2rem; font: 400 .95rem var(--f-type); }
.typed li { display: flex; gap: .5rem; align-items: baseline; padding: .15rem 0; }
.typed li::after { content: ''; order: 1; flex: 1; border-bottom: 1.5px dotted rgba(27, 24, 18, .4); }
.typed li b { order: 2; font: 700 1rem var(--f-body); }
.typed li span { order: 0; color: #5a4a2a; }
.f-nav { display: flex; justify-content: space-between; margin-top: 1.6rem; }
.empty { border: 2px dashed rgba(27, 24, 18, .45); padding: 1.2rem; text-align: center; color: #5a4a2a; background: rgba(255, 255, 255, .25); }
.f-right .btn { background-color: var(--ink); color: var(--paper); }
.f-right .btn.red { background-color: var(--red); }
.f-right .btn.paper { background-color: var(--paper); color: var(--ink); }
.hand-note { font: 700 1.2rem var(--f-hand); color: #7d1710; transform: rotate(-2deg); display: inline-block; }

/* audio: cassettes */
.studio { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.cassette { background: #2a302d var(--noise); border: 2px solid #0c100e; border-radius: 14px; padding: 1rem; box-shadow: 0 20px 30px -14px #000; position: relative; }
.cassette .label { background: var(--paper) var(--noise); color: var(--ink); padding: .6rem 1rem .8rem; border-radius: 4px; transform: rotate(-.6deg); }
.cassette .label h4 { font-size: 1.4rem; } .cassette .label small { font: 400 .85rem var(--f-type); color: #5a4a2a; }
.reels { display: flex; justify-content: space-between; align-items: center; padding: .9rem 2rem; }
.reel { width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle, #111 0 18%, #d9d2c0 19% 26%, #111 27% 40%, #3a3f3c 41%); border: 3px solid #0c100e; position: relative; }
.reel::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 3px dashed #d9d2c0; opacity: .8; }
.cassette.playing .reel { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cassette .desc { color: var(--mut); font-size: .95rem; margin: 0 0 .8rem; }
.wave { display: flex; align-items: center; gap: 2px; height: 50px; direction: ltr; cursor: pointer; }
.wave span { flex: 1; min-width: 1px; background: var(--chalk); opacity: .45; border-radius: 1px; }
.wave span.on { background: var(--lamp); opacity: 1; }
.playing .wave span.on:nth-last-child(-n+3), .playing .wave span.on:last-of-type { animation: bounce .8s infinite alternate; }
@keyframes bounce { to { transform: scaleY(1.35); } }
.round { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 10px -3px #000; flex: none; transition: transform .2s var(--ease); }
.round:hover { transform: scale(1.08); }
.round svg { width: 22px; height: 22px; }
.deck { display: flex; align-items: center; gap: 1rem; }
.deck .wave { flex: 1; }
.f-right .wave span { background: rgba(27, 24, 18, .5); } .f-right .wave span.on { background: var(--red); opacity: 1; }
.chapters { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .2rem; max-height: 160px; overflow: auto; }
.chapters button { all: unset; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; width: 100%; box-sizing: border-box; padding: .3em .6em; font-size: .92rem; }
.chapters button:hover { background: rgba(255, 255, 255, .35); }

/* video: surveillance tapes */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.6rem; }
.vcard { all: unset; box-sizing: border-box; cursor: pointer; display: block; background: #101513; border: 2px solid #050807; box-shadow: 0 16px 26px -12px #000; transition: transform .25s var(--ease); }
.vcard:hover { transform: translateY(-5px) rotate(-.6deg); }
.vthumb { aspect-ratio: 16/9; position: relative; background: #0b100e repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: rgba(207, 58, 47, .92); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(207, 58, 47, .25); }
.play svg { width: 24px; height: 24px; margin-inline-start: 3px; }
.vcard .rec { position: absolute; top: 10px; inset-inline-start: 12px; font: 400 .8rem var(--f-type); color: var(--red); letter-spacing: .12em; }
.vinfo { padding: .8rem 1rem 1rem; } .vinfo h4 { font-size: 1.2rem; } .vinfo small { color: var(--mut); }
dialog { border: 0; padding: 0; background: transparent; color: inherit; width: min(1100px, 94vw); max-width: none; overflow: visible; }
dialog::backdrop { background: rgba(5, 8, 7, .88); }
.theater-box { background: #101513; border: 2px solid #050807; box-shadow: 0 40px 100px -20px #000; }
.theater-box .frame { aspect-ratio: 16/9; background: #000; } .theater-box iframe { width: 100%; height: 100%; border: 0; }
.theater-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.4rem; }
.x { position: absolute; top: -50px; inset-inline-end: 0; background: var(--paper); color: var(--ink); border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.about .polaroid { width: min(300px, 100%); --rot: 3deg; transform: rotate(3deg); justify-self: center; }
.about .ph { display: grid; place-items: center; background: #1d2421; color: var(--mut); text-align: center; font: 700 1.1rem var(--f-hand); padding: 1rem; }
.about .ph svg { width: 40%; opacity: .5; margin: 0 auto .6rem; }
.dossier { padding: clamp(1.2rem, 3vw, 2.2rem); }
.dossier p { white-space: pre-line; margin: 0 0 1rem; font-size: 1.08rem; }
.notes { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.notes li { background: #f2e27a; color: var(--ink); padding: .5rem 1rem; font: 700 1.1rem var(--f-hand); box-shadow: 0 8px 12px -6px #000; transform: rotate(var(--r, -2deg)); }
.notes li:nth-child(2n) { background: #e6c9d4; --r: 2deg; } .notes li:nth-child(3n) { background: #cfe3d4; --r: -1deg; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

/* assessment form (reading path) */
.quiz { max-width: 820px; margin-inline: auto; padding: clamp(1.4rem, 4vw, 2.6rem); }
.quiz header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; font: 400 .85rem var(--f-type); color: #6c5a36; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; }
.quiz h3 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 1.2rem; }
.opts { display: grid; gap: .6rem; }
.opts button { text-align: start; display: flex; align-items: center; gap: .8rem; background: rgba(255, 255, 255, .35); border: 0; padding: .6em 1em; font-weight: 600; transition: background .2s, transform .2s var(--ease); }
.opts button::before { content: ''; width: 20px; height: 20px; border: 2px solid var(--ink); flex: none; display: grid; place-items: center; font: 700 1rem/1 var(--f-body); color: var(--red); }
.opts button:hover { background: rgba(255, 255, 255, .7); transform: translateX(-4px); }
.opts button:hover::before { content: '✕'; }
.result { display: grid; grid-template-columns: 130px 1fr; gap: 1.6rem; align-items: center; }
.result .polaroid { --rot: -3deg; }
.quiz .btn { background-color: var(--ink); color: var(--paper); } .quiz .btn.red { background-color: var(--red); color: #fff; }
@media (max-width: 560px) { .result { grid-template-columns: 1fr; justify-items: center; text-align: center; } .result .polaroid { width: 160px; } }

/* contact / footer */
.contact { text-align: center; }
.contact h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); text-shadow: 0 6px 20px #000; }
.contact .cta-row { justify-content: center; margin-top: 1.8rem; }
footer { padding-block: 2rem 7rem; color: var(--mut); font-size: .9rem; border-top: 1px solid rgba(239, 230, 210, .1); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-family: var(--f-type); }
.toast { position: fixed; inset-inline: 0; bottom: 100px; margin-inline: auto; width: max-content; max-width: 90vw; background: var(--paper); color: var(--ink); padding: .4em 1.4em; font-weight: 700; box-shadow: 0 10px 20px -6px #000; opacity: 0; transform: translateY(12px); transition: all .3s var(--ease); z-index: 90; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }

/* mini player: a paper strip */
.mini { position: fixed; inset-inline: 0; bottom: 0; z-index: 70; transform: translateY(120%); transition: transform .45s var(--ease); padding: 10px var(--pad) calc(12px + env(safe-area-inset-bottom)); }
.mini.show { transform: none; }
.mini-box { max-width: 960px; margin-inline: auto; background: var(--paper) var(--noise); color: var(--ink); padding: 10px 16px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; box-shadow: 0 -4px 30px rgba(0, 0, 0, .6), 0 14px 24px -8px #000; transform: rotate(-.3deg); }
.mini .thumb { width: 44px; aspect-ratio: 2/3; }
.mini .ttl { font: 400 1.1rem var(--f-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .bar { height: 6px; background: rgba(27, 24, 18, .2); margin-top: .35rem; cursor: pointer; position: relative; direction: ltr; border-radius: 3px; overflow: hidden; }
.mini .bar i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--red); }
.mini .time { font: 400 .75rem var(--f-type); color: #5a4a2a; display: flex; justify-content: space-between; margin-top: .15rem; direction: ltr; }
.mini .ctl { display: flex; align-items: center; gap: .4rem; }
.mini .round { width: 42px; height: 42px; }
.mini .gh { background: none; border: 1.5px solid var(--ink); padding: .05em .7em; font: 400 .8rem var(--f-type); min-width: 3em; }
.mini .gh:hover { background: var(--kraft); }
@media (max-width: 560px) { .mini .gh.sk { display: none; } }

/* responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .headline { max-width: 560px; }
  .folder-body { grid-template-columns: 1fr; }
  .f-left { order: -1; }
}
@media (max-width: 640px) { .top .wrap { flex-direction: column; align-items: center; gap: .5rem; padding-top: 8px; min-height: 0; } .namecard { white-space: nowrap; } .folders { width: 100%; margin: 0; justify-content: center; } .folders a { padding: .45rem .9rem .35rem; } html { scroll-padding-top: 110px; } .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .namecard small { display: none; } .hero .stamp { position: static; margin-top: 1rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
