:root {
  --primary: #2e7d32;
  --primary-dark: #155f2d;
  --primary-light: #66bb6a;
  --secondary: #1565c0;
  --dark: #101513;
  --text: #1a1a1a;
  --muted: #5f665f;
  --light: #f5f7f4;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0,0,0,.18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 5vw;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  margin-left: auto;
  border: 1px solid rgba(21, 95, 45, .16);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--primary-dark);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.brand {
  color: var(--primary-dark);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .02em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}

.nav-link-button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: var(--dark);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
}

nav a:hover,
.nav-link-button:hover {
  color: var(--primary);
}

.hero {
  min-height: 84vh;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.68) 34%, rgba(0,0,0,.28) 62%, rgba(0,0,0,.04) 100%),
    url("images/hero.jpg") 96% center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 8vw 5vw;
}

.hero-overlay {
  max-width: 760px;
  color: white;
}

.eyebrow,
.section-kicker {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin: 0 0 8px;
}

.eyebrow {
  color: var(--primary-light);
}

.section-kicker.light {
  color: var(--primary-light);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .92;
  margin-bottom: 14px;
  max-width: 850px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: .02em;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateX(-48px);
  animation: heroSlideIn .8s ease-out forwards;
}

.hero-line:nth-child(2) {
  animation-delay: .14s;
}

.hero-line:nth-child(3) {
  animation-delay: .28s;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero-copy {
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  max-width: 650px;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, border .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.secondary {
  border-color: white;
  color: white;
  background: rgba(255,255,255,.08);
}

.btn.large {
  min-width: 220px;
}


.btn.large {
  min-width: 240px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 5vw;
}

.section-tight-bottom {
  padding-bottom: 24px;
}

.section-tight-top {
  padding-top: 24px;
}

.intro,
.two-column {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.intro p,
.two-column p {
  font-size: 1.15rem;
}

.photo-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin: 24px 0 14px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

figure {
  margin: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

figure img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform .45s ease;
}

.photo-feature figure:first-child img {
  height: 420px;
}

.photo-feature figure:nth-child(2) img {
  height: 420px;
}

figure:hover img {
  transform: scale(1.035);
}

figcaption {
  padding: 14px 16px 18px;
  font-weight: 700;
  color: var(--dark);
  background: var(--white);
}

.dark-band {
  background:
    radial-gradient(circle at top left, rgba(102,187,106,.25), transparent 35%),
    linear-gradient(135deg, #101513, #18231c);
  color: white;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  gap: 22px;
}

.card,
.quote-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 28px;
}

.card h3 {
  color: var(--primary-light);
  font-size: 1.5rem;
}

.card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.card li {
  margin-bottom: 8px;
}

.quote-card {
  display: flex;
  align-items: center;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.focus-list div {
  padding: 20px;
  border-radius: 18px;
  background: var(--light);
  border-left: 7px solid var(--primary);
  font-weight: 800;
}

.contact {
  margin: 0 5vw 60px;
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow);
}

.contact h2 {
  margin-bottom: 6px;
}

footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 26px 5vw;
  display: grid;
  gap: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 76vh;
    background-position: 70% top;
  }

  .intro,
  .two-column,
  .photo-feature,
  .cards,
  .focus-list {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .menu-toggle {
    display: inline-flex;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 12px;
    padding: 14px 16px;
    gap: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,247,244,.98));
    box-shadow: 0 16px 36px rgba(0,0,0,.12);
  }

  .site-header.nav-open nav {
    display: flex;
  }

  nav {
    gap: 10px 14px;
  }

  nav a,
  .nav-link-button {
    font-size: .82rem;
  }

  .hero {
    min-height: 70vh;
    padding-top: 90px;
    background-position: 78% top;
  }

  .section {
    padding: 52px 5vw;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  figure img,
  .photo-feature figure:first-child img,
  .photo-feature figure:nth-child(2) img {
    height: 330px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}


.resume-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px auto 28px;
  width: 100%;
}

.resume-image {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.center {
  text-align: center;
}


/* Hero mobile positioning: keeps the image readable when rotating phones/tablets */
@media (max-width: 900px) {
  .hero {
    background-position: 82% center;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 72vh;
    background-position: 72% center;
  }

  .hero-overlay {
    max-width: 92%;
  }
}


/* Pixel-perfect hero control */
.hero {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8vw 5vw;
  background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 40%, rgba(0,0,0,.2) 70%, transparent 100%);
}

.hero-img {
  position: absolute;
  right: -120px;
  top: 0;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: white;
}

@media (max-width: 768px) {
  .hero-img {
    right: -60px;
  }
}
