:root {
  --bg: #141210;
  --bg-elevated: #1c1915;
  --text: #ede8e0;
  --muted: #9a9288;
  --accent: #e8a54b;
  --accent-soft: rgba(232, 165, 75, 0.14);
  --border: rgba(237, 232, 224, 0.08);
  --radius: 14px;
  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(232, 165, 75, 0.08), transparent 55%),
    radial-gradient(900px 500px at -10% 100%, rgba(120, 90, 60, 0.12), transparent 50%), var(--bg);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
}

.logo {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.logo:hover {
  color: var(--accent);
}

main {
  flex: 1;
  width: min(640px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) 3rem;
}

.hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.75rem, 8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 52ch;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skills li {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid rgba(232, 165, 75, 0.22);
  border-radius: 999px;
}

.contact {
  margin-top: clamp(3rem, 10vw, 4.5rem);
  padding-top: clamp(2rem, 6vw, 3rem);
  border-top: 1px solid var(--border);
}

.section-title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.link-card:hover {
  border-color: rgba(232, 165, 75, 0.35);
  background: rgba(28, 25, 21, 0.95);
  transform: translateY(-1px);
}

.link-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.link-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--accent);
}

.site-footer {
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.dot {
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .link-card {
    transition: none;
  }

  .link-card:hover {
    transform: none;
  }
}
