:root {
  --bg: #0c0d10;
  --bg-elevated: #14161c;
  --text: #e8e6e3;
  --text-muted: #9a9690;
  --accent: #c9a227;
  --accent-soft: rgba(201, 162, 39, 0.15);
  --border: rgba(232, 230, 227, 0.08);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --max-width: 40rem;
  --header-height: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-soft), transparent),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(80, 120, 140, 0.12), transparent),
    var(--bg);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--max-width) + 4rem);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  height: var(--header-height);
  backdrop-filter: blur(12px);
  background: rgba(12, 13, 16, 0.72);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

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

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--text);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.hero {
  padding: 3rem 0 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 8vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-name {
  display: block;
}

.lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: var(--bg-elevated);
}

.panel {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.panel h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
}

.panel p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel strong {
  color: var(--text);
  font-weight: 600;
}

.focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.focus-list li {
  display: grid;
  gap: 0.35rem;
}

.focus-title {
  font-weight: 600;
  color: var(--text);
}

.focus-desc {
  color: var(--text-muted);
  font-size: 0.9875rem;
}

.panel-contact .contact-email {
  margin: 1.25rem 0;
  font-size: 1.25rem;
}

.panel-contact .contact-email a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
}

.panel-contact .contact-email a:hover {
  border-bottom-color: var(--accent);
}

.social {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.social a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.social a:hover {
  color: var(--text);
}

.site-footer {
  max-width: calc(var(--max-width) + 4rem);
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 540px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  main {
    padding: 1.5rem 1.25rem 3rem;
  }

  .nav {
    gap: 1rem;
  }

  .nav a {
    font-size: 0.875rem;
  }

  .hero {
    padding: 2rem 0 3rem;
  }
}

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