* { box-sizing:border-box; margin:0; }
html, body { height:100%; }
body { display:flex; }
.panel { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:28px;
  text-decoration:none; transition:flex .5s cubic-bezier(.2,.7,.2,1); overflow:hidden; }
.panel:hover, .panel:focus-visible { flex:1.35; outline:none; }
.panel img { width:120px; height:120px; object-fit:contain; transition:transform .5s; }
.panel:hover img { transform:scale(1.1); }
.panel p { max-width:22ch; margin-top:-12px; text-align:center; font-size:clamp(14px,1.2vw,18px); line-height:1.5; font-weight:400; letter-spacing:0; text-transform:none; opacity:.75; }
.panel span { font-size:clamp(28px,3.4vw,52px); }

/* VIBR: vintage hardware, cream plate, ink outlines, red accent, Oswald labels and IBM Plex Mono text (from VIBR/website-vintage) */
@font-face { font-family:'Oswald'; font-weight:200 700; font-display:swap; src:url(fonts/oswald-400.woff2) format('woff2'); }
@font-face { font-family:'IBM Plex Mono'; font-weight:400; font-display:swap; src:url(fonts/plexmono-400.woff2) format('woff2'); }
@font-face { font-family:'IBM Plex Mono'; font-weight:600; font-display:swap; src:url(fonts/plexmono-600.woff2) format('woff2'); }
.vibr { background:#E6DCC6; color:#2A251F; font:400 15px/1.55 'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace; }
.vibr span { font-family:'Oswald','Avenir Next Condensed','Arial Narrow',sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:.02em; color:#2A251F; }
.vibr p { color:#4A4238; opacity:1; }
.vibr:hover span, .vibr:focus-visible span { color:#B8361F; }

/* Nodula: the docs site dark theme, DM Sans */
.nodula img { filter:brightness(0) invert(1); }
.nodula { background:#162c50; color:#68b9e8; font:600 16px "DM Sans",Manrope,system-ui,sans-serif; letter-spacing:-.01em; }

/* Foto: near black, quiet and thin */
.foto span { text-shadow:0 2px 20px rgba(0,0,0,.6); }
.foto { background:linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.45)),url(img/foto-bg.jpg) center/cover #111; color:#eee; font:300 16px "Helvetica Neue",Helvetica,Arial,sans-serif; letter-spacing:.3em; text-transform:uppercase; }

@media (max-width:760px) {
  body { flex-direction:column; }
  .panel { flex-direction:row; gap:20px; }
  .panel img { width:64px; height:64px; }
  .panel:hover { flex:1.2; }
}
@media (prefers-reduced-motion:reduce) { * { transition:none !important; } }
