/* Plöhnen Software — one-page site.
   Colours are taken from the logo itself: near-black #0a0b0c ground
   (the wordmark is white, so the page must stay dark), screen blue
   #34b9fa accent, monitor-frame grey #4d4d4d. Graphics are SVG only.
   Type is Maple Mono, same variable woff2 pair (normal + italic,
   weight 100–900) the portfolio loads via next/font/local from its
   maple-font submodule (v8.0-beta.2); vendored here under fonts/
   with its OFL.txt, since a static site has no build step. */

@font-face {
  font-family: "Maple Mono";
  src: url("/fonts/MapleMono-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Maple Mono";
  src: url("/fonts/MapleMono-Italic-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0a0b0c;
  --ink: #f4f6f7;
  --muted: #c3ced4;
  --accent: #34b9fa;
  --frame: #4d4d4d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Maple Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  display: flex;
  flex-direction: column;
}

.backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.logo {
  width: min(400px, 82vw);
  height: auto;
  display: block;
}

.tagline {
  margin: 1.75rem 0 0;
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34rem;
}

.github-link {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--frame);
  border-radius: 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.github-link:hover,
.github-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.github-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.github-mark {
  flex: none;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none;
    transition: none;
  }
}
