@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/bricolage-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/bricolage-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500.woff2') format('woff2');
}

:root {
  --ink: #1B2A30;
  --muted: #566469;
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --line: rgba(27, 42, 48, 0.12);
  --teal: #0F6E56;
  --teal-soft: #E4F0EB;
  --gold: #9A6B07;
  --gold-soft: #F5ECD6;
  --coral: #A8431F;
  --coral-soft: #F5E4DC;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.Page {
  max-width: 60rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
}

.Layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.Intro-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.Intro-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

.Intro-text {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.Intro-text strong { color: var(--ink); font-weight: 500; }

.Intro-years { font-family: var(--font-mono); font-weight: 500; color: var(--teal); }

.Intro-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.625rem;
  transition: opacity 0.18s ease;
}

.Intro-contact:hover { opacity: 0.88; }
.Intro-contact svg { width: 1.125rem; height: 1.125rem; }

.Facets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.Card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  padding: 1.5rem;
}

.Card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}

.Card-chip {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Card-chip svg { width: 1.25rem; height: 1.25rem; }

.Card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  margin: 0;
}

.Card-text {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
}

.Card_dev .Card-chip { background: var(--teal-soft); color: var(--teal); }
.Card_archery .Card-chip { background: var(--gold-soft); color: var(--gold); }
.Card_misc .Card-chip { background: var(--coral-soft); color: var(--coral); }

.Footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.Footer-link { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.Footer-link:hover { color: var(--ink); }

.Legal { max-width: 38rem; }

.Legal-back {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 2rem;
}

.Legal-back:hover { color: var(--ink); }
.Legal-back svg { width: 0.875rem; height: 0.875rem; }

.Legal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.015em;
  margin: 0 0 2rem;
}

.Legal-block { margin: 0 0 1.75rem; }

.Legal-h {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.375rem;
}

.Legal-p { margin: 0; color: var(--ink); }
.Legal-p span { color: var(--muted); }

@media (min-width: 48rem) {
  .Page { padding: 5rem 2rem 4rem; }
  .Layout {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 3.5rem;
    align-items: start;
  }
  .Intro {
    position: sticky;
    top: 5rem;
  }
  .Intro-name { font-size: 2.5rem; }
  .Legal-title { font-size: 2rem; }
}

.NotFound { max-width: 34rem; padding-top: 1rem; }

.NotFound-code {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1rem;
}

.NotFound-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 0.625rem;
}

.NotFound-text { color: var(--muted); margin: 0 0 1.75rem; }

.NotFound-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 0.625rem;
  transition: opacity 0.18s ease;
}

.NotFound-link:hover { opacity: 0.88; }
.NotFound-link svg { width: 1.125rem; height: 1.125rem; }

@media (min-width: 48rem) {
  .NotFound-code { font-size: 6rem; }
}
