:root{
  --color-green-hunter: #075a3a;
  --color-green-page: #075a3a;
  --color-green-deep: #075a3a;
  --color-green-mid: #075a3a;
  --color-green-light: #7cb896;
  --color-green-glow: #a8e0c0;
  --color-green-soft: #d4f0e0;
  --color-paper: #f4faf7;
  --color-text: #1a2e22;
  --color-text-on-green: #f6fcf9;
  --color-muted: #e8f4ed;
  --color-muted-dark: #7a9e8b;
  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 4.25rem;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(26, 46, 34, 0.22);
  --shadow-soft: 0 8px 28px rgba(26, 46, 34, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-on-green);
  background: linear-gradient(165deg, var(--color-green-page) 0%, var(--color-green-page) 35%, #075a3a 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-green-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
}

a:hover {
  color: #ffffff;
}

/* ----- Site header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem clamp(1rem, 4vw, 2rem);
  background: #fff;
  border-bottom: 1px solid rgba(74, 117, 96, 0.22);
  box-shadow: 0 4px 20px rgba(26, 46, 34, 0.08);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-line {
  font-family: var(--font-head);
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  font-weight: 700;
  color: var(--color-green-hunter);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.logo-wrap {
  flex-shrink: 0;
  width: min(140px, 32vw);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo-wrap img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.logo-placeholder {
  font-size: 0.75rem;
  color: var(--color-green-mid);
  text-align: right;
  line-height: 1.3;
  max-width: 140px;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: clamp(320px, 52vh, 560px);
  display: grid;
  align-items: end;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 5vw, 3rem) clamp(2.5rem, 6vw, 4rem);
  background-color: var(--color-green-deep);
  background-image:
    linear-gradient(
      165deg,
      #075a3a 100%,
      rgba(74, 117, 96, 0.78) 50%,
      rgba(57, 95, 74, 0.9) 100%
    ),
    url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: end;
}

@media (max-width: 720px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-office {
  font-size: clamp(1.9rem, 2.8vw, 1.9rem);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.6rem, 1vw, 1.4rem);
  opacity: 0.95;
}

.candidate-photo {
  width: clamp(160px, 28vw, 220px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.12);
  aspect-ratio: 3 / 4;
}

.candidate-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

/* Solid break between hero and experience */
.top-content-divider {
  height: 5px;
  width: 100%;
  margin: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* ----- Main sections ----- */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 3.5rem;
}

section {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--color-text-on-green);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-green-light);
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* ----- Experience timeline ----- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0.25rem;
  position: relative;
  max-width: 42rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.125rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.timeline-item {
  position: relative;
  padding: 0 0 1.5rem 3.35rem;
  margin: 0;
}

.timeline-item:last-child {
  padding-bottom: 0.95;
}

.timeline-node {
  position: absolute;
  left: calc(1.125rem - 6px);
  top: 0.95rem;
  width: 16px;
  height: 16px;
  background: var(--color-green-page);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(124, 184, 150, 0.6);
  z-index: 1;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-text);
  border-radius: 10px;
  padding: 1rem 1.2rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 4px solid var(--color-green-light);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-left-color 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 46, 34, 0.22);
  border-left-color: var(--color-green-glow);
}

@media (prefers-reduced-motion: reduce) {
  .timeline-card:hover {
    transform: none;
  }
}

.timeline-range {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-green-hunter);
}

.timeline-range strong {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--color-green-deep);
  margin-right: 0.15em;
}

.timeline-range-note {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-green-mid);
}

.timeline-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.timeline-card-head h3 {
  font-size: 1.45rem;
  margin: 0;
  color: var(--color-green-hunter);
  font-weight: 700;
  line-height: 1.2;
}

.timeline-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: rgba(74, 117, 96, 0.08);
  border: 1px solid rgba(74, 117, 96, 0.15);
}

.timeline-icon--veteran {
  padding: 0.2rem 0.35rem;
  background: rgba(178, 34, 52, 0.06);
  border-color: rgba(60, 59, 110, 0.2);
}

.icon-flag {
  width: 100%;
  height: auto;
  max-height: 1.65rem;
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.timeline-icon--emt {
  padding: 0.25rem;
  background: rgba(11, 79, 140, 0.08);
  border-color: rgba(11, 79, 140, 0.25);
}

.icon-emt-badge {
  width: 100%;
  height: auto;
  max-height: 2rem;
  display: block;
}

.timeline-icon--generic {
  background: rgba(74, 117, 96, 0.08);
  border: 1px solid rgba(74, 117, 96, 0.12);
}

.timeline-icon--generic::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-green-light);
  box-shadow: 0 0 0 3px rgba(124, 184, 150, 0.28);
}

.timeline-body {
  margin: 0;
  font-size: 1.3rem;
  color: #043824;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .timeline::before {
    left: 0.65rem;
  }

  .timeline-node {
    left: calc(0.65rem - 6px);
  }

  .timeline-item {
    padding-left: 2.65rem;
  }
}

.values-block {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
  color: var(--color-text-on-green);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(168, 224, 192, 0.35);
  backdrop-filter: blur(8px);
}

.values-block h2 {
  font-family: var(--font-head);
  font-size: 1.95rem;
  margin: 0 0 1rem;
  color: var(--color-white);
}

.values-block ul {
  margin: 0;
  font-size: 1.35rem;
  padding-left: 1rem;
}

.values-block li {
  margin-bottom: 0.5rem;
}

.values-block li:last-child {
  margin-bottom: 0;
}

.cta {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(124, 184, 150, 0.45);
  color: var(--color-text);
}

.cta p {
  margin: 0 0 1rem;
  font-size: 1.10rem;
  color: #3d5347;
}

.cta a {
  color: var(--color-green-deep);
}

.cta a:hover {
  color: var(--color-green-mid);
}

.cta strong {
  color: var(--color-green-hunter);
}

.site-footer {
  text-align: center;
  padding: 1.25rem 1rem 2rem;
  font-size: 0.9rem;
  color: var(--color-green);
  border-top: 1px solid rgba(74, 117, 96, 0.2);
  background: rgba(74, 117, 96, 0.2);
}
