/* ========================
   Design Tokens
======================== */

:root {
  --color-primary: #C62828;
  --color-navy: #0B1F3A;
  --color-dark-green: #143927;
  --color-light: #F4F4F2;
  --color-light-gray: #D7D7D5;
  --color-slate: #3E4C59;

  --font-heading: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --max-width: 1100px;
}

/* ========================
   Reset
======================== */

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

body {
  font-family: var(--font-body);
  background: var(--color-navy);
  color: var(--color-light);
  line-height: 1.6;
}

/* ========================
   Layout
======================== */

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header {
  padding: 0;
  background: var(--color-light);
}

.logo {
  text-align: center;
}

.candidate-name {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

/* ========================
   Hero
======================== */

.hero {
  /* min-height: 65vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 0;
  /* background-image: linear-gradient(--color-navy, --color-slate) */
}

.hero-image {
  flex: 0 0 auto;
  width: 50%;
  position: relative;
}

.hero-image img {
  width: 300px;
  max-width: 100%;
}

.hero-inner {
  padding: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-office {
  /* margin-top: 0.75rem; */
  font-size: clamp(2rem, 2vw, 3rem);
  color: var(--color-light);
  opacity: 0.85;
}

.hero-tagline {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================
   Buttons
======================== */

.cta-group {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: var(--color-light);
  border: 2px solid var(--color-slate);
  color: var(--color-dark-green);
  transition: background-color 200ms;
}

.btn-secondary:hover {
  background: var(--color-light-gray);
  color: #310f0f;
}

a.btn>* {
  display: inline-block;
  vertical-align: middle;
}

img.email-icon {
  width: 20px;
  margin-right: .5rem;
  margin-top: -1px;
}

.full {
  width: 100%;
}

/* ========================
   Footer
======================== */

.site-footer {
  padding-bottom: 2rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ========================
   Modal
======================== */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  background: white;
  color: var(--color-navy);
  max-width: 400px;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 6px;
  z-index: 1001;
}

.modal-content h3 {
  margin-bottom: 1rem;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content input {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========================
   Mobile Sticky CTA
======================== */

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cta-group {
    flex-direction: column;
  }
}