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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  background-color: rgb(8, 8, 8);
  color: rgb(156, 156, 156);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: rgb(63, 142, 0);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
}

.nav-social a {
  display: flex;
  align-items: center;
}

.nav-social svg {
  width: 18px;
  height: 17px;
}

/* Mobile menu button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
}

.menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero {
  padding: 80px 0;
}

.hero h1 {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
}

.headshot-mobile {
  display: none;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
}

.hero-content {
  display: flex;
  gap: 48px;
  align-items: stretch;
}

.hero-text {
  flex: 1;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.8;
}

.hero-image {
  flex: 1;
  max-width: 400px;
  border-radius: 16px;
  background-image: url("/assets/images/ilja-headshot.jpeg");
  background-size: cover;
  background-position: center;
}

/* Work Experience Section */
.work-experience {
  padding: 80px 0;
  background-color: rgb(18, 18, 18);
}

.work-experience h2 {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: white;
  margin-bottom: 48px;
}

.company-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.company-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.company-logos img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: white;
}

.form-group input,
.form-group textarea {
  background-color: transparent;
  border: 1px solid rgb(60, 60, 60);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  color: white;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgb(63, 142, 0);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgb(100, 100, 100);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background-color: rgb(63, 142, 0);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background-color: rgb(53, 122, 0);
}

.submit-btn:disabled {
  background-color: rgb(60, 60, 60);
  cursor: not-allowed;
}

/* Site Footer */
.site-footer {
  padding: 24px 0;
  border-top: 1px solid rgb(40, 40, 40);
  text-align: center;
  font-size: 13px;
}

.site-footer a {
  color: rgb(156, 156, 156);
}

.site-footer a:hover {
  color: rgb(63, 142, 0);
}

.footer-separator {
  margin: 0 12px;
  color: rgb(60, 60, 60);
}

/* Success message */
.form-success {
  padding: 40px;
  text-align: center;
  color: rgb(63, 142, 0);
  font-size: 18px;
}

/* Policy Pages */
.policy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.policy-page a {
  color: rgb(63, 142, 0);
}

.policy-page a:hover {
  color: rgb(83, 162, 20);
  text-decoration: underline;
}

.policy-page h1 {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.policy-page h2 {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: white;
  margin-top: 40px;
  margin-bottom: 16px;
}

.policy-page h3 {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-top: 24px;
  margin-bottom: 12px;
}

.policy-page p {
  margin-bottom: 16px;
  font-size: 15px;
}

.policy-page ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.policy-page li {
  margin-bottom: 8px;
  font-size: 15px;
}

.policy-page .last-updated {
  font-size: 14px;
  color: rgb(100, 100, 100);
  margin-bottom: 40px;
}

.policy-page .back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
}

.policy-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.policy-page th,
.policy-page td {
  border: 1px solid rgb(60, 60, 60);
  padding: 12px;
  text-align: left;
}

.policy-page th {
  background-color: rgb(30, 30, 30);
  color: white;
  font-weight: 600;
}

.policy-page td {
  background-color: rgb(18, 18, 18);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  /* Mobile menu */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgb(18, 18, 18);
    padding: 20px 24px;
    gap: 16px;
  }

  nav {
    position: relative;
  }

  .hero h1 {
    font-size: 36px;
  }

  .headshot-mobile {
    display: block;
  }

  .hero-content {
    flex-direction: column;
    gap: 32px;
  }

  .hero-image {
    display: none;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .company-logos img {
    height: 30px;
  }

  .policy-page h1 {
    font-size: 28px;
  }

  .policy-page h2 {
    font-size: 20px;
  }

  .policy-page table {
    font-size: 12px;
  }

  .policy-page th,
  .policy-page td {
    padding: 8px;
  }
}
