:root {
  --green: #519977;
  --black: #000;
  --white: #fff;
  --footer: #181818;
  --footer-shape: #222;
  --text: #111;
  --link: #188bf6;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--green);
  height: 70px;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 26px;
}
.site-header nav { display: flex; gap: 34px; }
.site-header a {
  color: var(--white); text-decoration: none;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 17px;
}
.site-header a:hover { opacity: .85; }

/* Footer */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--footer);
  color: var(--white);
  text-align: center;
  padding: 44px 16px 48px;
  font-size: 14px;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 90px;
  background: url("images/footer-extra.png") center bottom / 100% 100% no-repeat;
  opacity: .9;
}
.site-footer p { position: relative; margin: 0; }

/* Home */
.hero {
  background: var(--black); color: var(--white);
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: end;
  padding: 0 20px; min-height: 600px;
}
.hero-text { align-self: center; padding: 60px 0; }
.hero h1 {
  font-size: clamp(48px, 8vw, 100px); line-height: 1.05; margin: 0 0 20px; font-weight: 600;
}
.hero p { font-size: clamp(18px, 2vw, 25px); margin: 0; max-width: 460px; font-weight: 400; }
.hero-photo { align-self: end; justify-self: center; width: 100%; max-width: 640px; min-width: 0; }
/* height follows width so the photo scales evenly and never squishes (640x600 = the 800x750 file at 600px tall) */
.hero-photo img { width: 100%; height: auto; }

.partnered {
  background: var(--green); color: var(--white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 45px 20px 45px;
}
.partnered h2 { font-size: clamp(36px, 5vw, 52px); margin: 0 0 30px; font-weight: 700; }
.partnered blockquote { margin: 0 0 20px; font-size: 15px; line-height: 1.35; max-width: 460px; font-weight: 500; }
.partnered .sig { font-size: 15px; font-weight: 500; margin: 0; }
.partnered img { width: 100%; max-width: 430px; justify-self: center; }

/* About */
.about {
  background: var(--black); color: var(--white);
  display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: center;
  padding: 65px 10px 85px 38px;
  font-family: "Lato", sans-serif;
}
.about-photo { width: 360px; }
.about-photo img { width: 100%; height: auto; }
.about h1 { font-family: "Montserrat", sans-serif; font-size: 40px; margin: 0 0 4px; font-weight: 700; }
.about p { font-size: 18px; line-height: 1.38; margin: 0 0 24px; }

/* Shared banner (Contact, Apprenticeship) */
.work-sans, .work-sans .site-header a, .work-sans .site-footer { font-family: "Work Sans", sans-serif; }
.banner {
  background: var(--black); color: var(--white); text-align: center;
  padding: 50px 16px 54px;
}
.banner .kicker { color: var(--green); font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.banner h1 { margin: 0; font-size: clamp(32px, 4vw, 46px); font-weight: 700; }

/* Contact */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  max-width: 1080px; margin: 0 auto; padding: 70px 20px 80px;
}
.contact h2 { font-size: 26px; margin: 0 0 18px; }
.contact .lead { font-size: 14px; margin: 0 0 28px; }
.contact .label { font-size: 17px; margin: 0 0 6px; }
.contact .phone { font-size: 17px; margin: 0 0 4px; letter-spacing: .02em; }
.contact .phone a { color: inherit; text-decoration: none; }
.btn {
  display: inline-block; background: var(--link); color: var(--white);
  padding: 12px 24px; text-decoration: none; font-size: 17px; border: 0; cursor: pointer;
}
.btn:hover { filter: brightness(.95); }
.form-card {
  background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.12);
  padding: 22px 22px 30px;
}
.form-card label { display: block; font-size: 14px; margin: 18px 0 6px; }
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card textarea {
  width: 100%; font: inherit; font-size: 14px;
  padding: 9px 12px; border: 1px solid #9a9a9a; border-radius: 4px;
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card button {
  width: 100%; margin-top: 26px; background: var(--green); color: var(--white);
  border: 0; border-radius: 4px; padding: 14px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.form-card button:hover { filter: brightness(.95); }
.hp { position: absolute; left: -9999px; }

/* Apprenticeship */
.apprentice { max-width: 1010px; margin: 0 auto; padding: 55px 20px 45px; text-align: center; }
.apprentice h2 { color: var(--green); font-size: clamp(24px, 3vw, 33px); margin: 0 0 30px; font-weight: 700; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.paths { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; margin-top: 75px; }
.path {
  background: var(--green); color: var(--white); text-decoration: none;
  padding: 12px 20px; min-width: 138px;
}
.path strong { display: block; font-size: 19px; }
.path span { font-size: 15px; }

/* Phones */
@media (max-width: 760px) {
  .site-header { justify-content: center; padding: 12px 16px; height: auto; min-height: 70px; }
  .site-header nav { gap: 8px 20px; flex-wrap: wrap; justify-content: center; }
  .site-header a { font-size: 15px; }
  .hero, .partnered, .about, .contact { grid-template-columns: 1fr; }
  .hero { padding: 0 16px; min-height: 0; }
  .hero-text { padding: 40px 0 10px; }
  .hero-photo { max-width: 448px; }
  .partnered { padding: 40px 16px; }
  .about { padding: 40px 16px 60px; justify-items: center; }
  .about-photo { width: 280px; }
  .contact { padding: 40px 16px 60px; gap: 36px; }
}
