:root {
  --navy: #0f172a;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --text: #334155;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.narrow {
  width: min(780px, 100%);
}

.hero {
  background: linear-gradient(135deg, #0f172a 0%, #172554 100%);
  color: var(--white);
  padding: 4.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: #bfdbfe;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #dbeafe;
margin-bottom: 1rem;
}

.hero-summary {
  color: #e2e8f0;
  max-width: 60ch;
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-block;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-submit {
  width: fit-content;
  cursor: pointer;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: min(520px, 100%);
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.15);
transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}


.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--light);
}

.section h2 {
  font-size: 2rem;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section p + p {
  margin-top: 1rem;
}

.section-intro {
  color: var(--muted);
  max-width: 72ch;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card,
.project-card,
.contact-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.card:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.card h3,
.project-card h3 {
  color: var(--navy);
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.6rem 0;
}

.qualifications-grid ul,
.contact-placeholder ul {
  padding-left: 1.2rem;
}

.project-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.projects-closing {
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.15);
  border-color: var(--blue);
}

.privacy-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid,
  .card-grid,
  .qualifications-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero-image {
    max-width: 340px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .narrow {
    width: 92%;
    margin: 0 auto;
  }
}

#recruiter-access ul {
  max-width: 420px;
  margin: 1.5rem auto;
}
