/* Self-hosted fonts */
@font-face {
  font-family: 'Antic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/antic.woff2') format('woff2');
}

@font-face {
  font-family: 'Electrolize';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/electrolize.woff2') format('woff2');
}

@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/courier-prime-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/courier-prime-bold.woff2') format('woff2');
}

:root {
  --color-bg: #0a0a0a;
  --color-text: #e8e8e8;
  --color-text-muted: #888;
  --color-accent: #c4a35a;
  --color-accent-hover: #d4b66a;
  --font-mono: 'Courier Prime', 'Courier New', Courier, monospace;
  --font-display: 'Electrolize', sans-serif;
  --font-body: 'Antic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Hero Section - Full Bleed */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: calc(100% + 40px) top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10, 10, 10, 0.7) 70%,
    rgba(10, 10, 10, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 400;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.hero-content .tagline {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--color-text);
  margin: 0 0 2rem;
  line-height: 1.7;
  max-width: 600px;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-hint:hover {
  opacity: 1;
  transform: translateY(4px);
}

.scroll-hint svg {
  width: 28px;
  height: 28px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}

/* Main Content */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Sections */
section {
  margin-bottom: 4rem;
}

h2 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  margin: 0 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #222;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0;
  color: var(--color-text);
}

p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

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

/* About Section */
.about p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Resume / Experience */
.job {
  margin-bottom: 2.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--color-accent);
}

.job:last-child {
  margin-bottom: 0;
}

.job-header {
  margin-bottom: 1rem;
}

.job-header h3 {
  margin-bottom: 0.25rem;
}

.company {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-accent);
}

.dates {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.job p {
  color: var(--color-text-muted);
}

.job ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.job li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.job li:last-child {
  margin-bottom: 0;
}

/* Certifications */
.certifications p {
  font-size: 1rem;
}

/* Links */
a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration-thickness: 2px;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #222;
}

.footer-image {
  margin: 0 0 2rem;
  padding: 0;
}

.footer-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 4px;
  border: 1px solid #333;
}

footer p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .tagline {
    font-size: 1rem;
  }

  main {
    padding: 2rem 1.5rem;
  }

  .job {
    padding-left: 0.75rem;
  }
}
