@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: block;
}

:root {
  --bg: #000;
  --text: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.14);
  --font: "Bricolage Grotesque", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; background: var(--bg); color: var(--text); }

body {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

#sky {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  image-rendering: pixelated;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 4vw, 48px);
}

.wordmark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.wordmark span { color: var(--muted); }

nav ul { list-style: none; display: flex; gap: 28px; }
nav a { color: var(--muted); transition: color 0.4s ease; }
nav a:hover, nav a:focus-visible { color: var(--text); }

.foot {
  display: flex;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 11px;
}

.home { justify-content: flex-end; }

.hero {
  position: absolute;
  left: 0;
  right: 0;
  top: 44%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  text-align: center;
}
.hero .wordmark {
  font-size: clamp(36px, 6.5vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
}
.hero nav { font-size: clamp(17px, 2vw, 26px); }
.hero nav ul { gap: 1.8em; }

.panel {
  width: 100%;
  max-width: 640px;
  margin: 12vh auto;
  padding: 32px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.6);
  line-height: 1.7;
}
.panel h1 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.panel p { color: var(--muted); }

.panel .app-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
}
.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 22%;
  flex-shrink: 0;
}
.app-text p { color: rgba(255, 255, 255, 0.9); }
.app-text p + p { margin-top: 1em; }

.links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.badge { display: inline-block; line-height: 0; transition: opacity 0.3s ease; }
.badge img { height: 54px; width: auto; }
a.badge:hover, a.badge:focus-visible { opacity: 0.85; }

.about p { color: rgba(255, 255, 255, 0.85); }
.about p + p { margin-top: 0.9em; }
.about a { border-bottom: 1px solid var(--line); }
.about a:hover, .about a:focus-visible { color: #fff; }

.cv {
  width: 100%;
  max-width: 760px;
  margin: 8vh auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.72);
  line-height: 1.7;
}
.cv h1 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cv .role { color: var(--muted); margin-top: 4px; }
.cv .contact { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.cv .contact a { color: var(--muted); border-bottom: 1px solid var(--line); }
.cv .contact a:hover, .cv .contact a:focus-visible { color: var(--text); }
.cv h2 {
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.cv .entry + .entry { margin-top: 28px; }
.cv .entry h3 { font-size: 13px; font-weight: 600; color: var(--text); }
.cv .entry .where { color: var(--muted); }
.cv .entry .when { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; }
.cv ul { list-style: none; margin-top: 8px; }
.cv li { position: relative; padding-left: 18px; color: rgba(255, 255, 255, 0.72); }
.cv li + li { margin-top: 6px; }
.cv li::before { content: "·"; position: absolute; left: 4px; color: var(--muted); }
.cv strong { color: var(--text); font-weight: 600; }

@media (max-width: 480px) {
  nav ul { gap: 18px; }
}
