:root {
  --ink: #142019;
  --muted: #56645d;
  --paper: #f8f6f0;
  --white: #ffffff;
  --line: #d9ded7;
  --green: #16543d;
  --green-dark: #0d3427;
  --blue: #244963;
  --gold: #c2912e;
  --rust: #93472f;
  --shadow: rgba(15, 24, 19, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -44px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 4px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 246, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: grid;
  gap: 1px;
  text-decoration: none;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a,
.nav-dropdown > a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-dropdown:hover > a,
.nav-dropdown:focus-within > a {
  color: var(--green);
  background: rgba(22, 84, 61, 0.08);
}

.nav-links a[aria-current="page"],
.nav-dropdown > a[aria-current="page"] {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 8px 18px rgba(22, 84, 61, 0.18);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-dropdown > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 190px;
  display: grid;
  gap: 4px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 24, 19, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  justify-content: flex-start;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-links a.nav-schedule {
  color: var(--green-dark);
  background: rgba(194, 145, 46, 0.16);
  border-color: rgba(194, 145, 46, 0.44);
}

.nav-links a.nav-schedule:hover {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 850;
  font-family: inherit;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}

.button:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button.secondary {
  color: var(--green);
  background: var(--white);
}

.button.secondary:hover {
  color: var(--green-dark);
  background: #edf4ef;
}

.hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero.individual {
  background:
    linear-gradient(90deg, rgba(7, 19, 14, 0.92) 0%, rgba(7, 19, 14, 0.74) 42%, rgba(7, 19, 14, 0.18) 100%),
    url("individual-act-tutoring-hero.png") center / cover no-repeat;
}

.hero.schools {
  background:
    linear-gradient(90deg, rgba(7, 19, 14, 0.90) 0%, rgba(7, 19, 14, 0.72) 43%, rgba(7, 19, 14, 0.18) 100%),
    url("act-readiness-planning-hero.png") center / cover no-repeat;
}

.hero.school-main-hero {
  background:
    linear-gradient(90deg, rgba(7, 19, 14, 0.96) 0%, rgba(7, 19, 14, 0.86) 44%, rgba(7, 19, 14, 0.14) 100%),
    url("jason-classroom-teaching-real.jpg") right center / auto 112% no-repeat,
    var(--green-dark);
}

.hero.split-hero {
  min-height: 76svh;
  background:
    linear-gradient(90deg, rgba(7, 19, 14, 0.92), rgba(13, 52, 39, 0.80)),
    url("individual-act-tutoring-hero.png") center / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.audience-card {
  min-height: 300px;
  display: grid;
  align-content: end;
  padding: 28px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.audience-card.family {
  background:
    linear-gradient(180deg, rgba(13, 52, 39, 0.30), rgba(13, 52, 39, 0.92)),
    url("homepage-individual-tutoring.png") center / cover no-repeat;
}

.audience-card.school {
  background:
    linear-gradient(180deg, rgba(36, 73, 99, 0.26), rgba(13, 52, 39, 0.94)),
    url("homepage-school-districts.png") center / cover no-repeat;
}

.audience-card h2 {
  max-width: 560px;
  font-size: clamp(30px, 4vw, 46px);
}

.audience-card p {
  max-width: 560px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.45;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section.alt {
  background: var(--white);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-header {
  max-width: 820px;
  margin-bottom: 30px;
}

.why-jason-header h2 {
  font-size: clamp(48px, 7vw, 78px);
}

.compact-header {
  max-width: 760px;
  margin-top: 46px;
  margin-bottom: 18px;
}

.compact-header h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.section-lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.card {
  height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 24, 19, 0.06);
}

.alt .card {
  background: #fbfcfb;
}

.card.accent-green {
  border-top: 6px solid var(--green);
}

.card.accent-blue {
  border-top: 6px solid var(--blue);
}

.card.accent-gold {
  border-top: 6px solid var(--gold);
}

.card.accent-rust {
  border-top: 6px solid var(--rust);
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.5;
}

.price {
  margin: 4px 0 14px;
  color: var(--green);
  font-size: 25px;
  font-weight: 900;
}

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

li {
  margin: 8px 0;
}

.credential-list {
  display: grid;
  gap: 10px;
  padding-left: 19px;
}

.credential-list li {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.callout {
  padding: 30px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  box-shadow: 0 20px 45px var(--shadow);
}

.callout h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.callout p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.process {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.process-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-step::before {
  counter-increment: steps;
  content: counter(steps);
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.proof-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
}

.proof-band .section-lead,
.proof-band p,
.proof-band li {
  color: rgba(255, 255, 255, 0.84);
}

.quote {
  padding: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
  border-radius: 8px;
}

.quote p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 22px;
  line-height: 1.4;
}

.section-photo {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 24, 19, 0.08);
}

.section-photo img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

.reviews-section .section-header {
  max-width: 880px;
}

.review-widget {
  padding: 18px;
  background: #f2f5f1;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.review-widget-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.review-widget-header p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.review-kicker {
  color: var(--green) !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-controls {
  display: flex;
  gap: 8px;
}

.review-control {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.review-control:hover {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.review-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 39%);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 4px;
  padding: 4px 4px 18px;
  scrollbar-color: var(--green) #dfe5dd;
  scrollbar-width: thin;
}

.review-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 24, 19, 0.06);
  scroll-snap-align: start;
}

.stars {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 1px;
}

.review-card blockquote {
  margin: 0;
}

.review-card blockquote p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

.review-source {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.contact-inner h2 {
  max-width: 780px;
  margin-bottom: 12px;
}

.contact-inner p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.5;
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: min(320px, 100%);
}

.contact-form {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 14px;
}

.contact-form h2 {
  min-height: 2.1em;
  margin-bottom: 0;
}

.hidden {
  display: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form-grid {
  align-items: start;
}

.contact-form-grid .card {
  height: auto;
}

.form-field {
  display: grid;
  gap: 7px;
}

.individual-contact-form .form-field {
  gap: 3px;
}

.contact-form textarea {
  min-height: 132px;
  height: 132px;
}

.form-field label,
.form-label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.form-field input,
.form-field select {
  height: 44px;
}

.form-field textarea {
  min-height: 132px;
  height: 132px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.checkbox-grid label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.checkbox-grid input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  accent-color: var(--green);
}

.checkbox-other-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  align-items: center;
}

.checkbox-other-row label {
  margin: 0;
}

.checkbox-other-row input[type="text"],
.checkbox-other-row input:not([type]) {
  width: 100%;
  min-height: 38px;
  height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section-note {
  max-width: 900px;
  margin-top: 18px;
}

.disclaimer {
  padding: 26px 0;
  color: #6d766f;
  background: #eef1ec;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .nav-links {
    max-width: 100%;
    overflow-x: auto;
    padding: 0 0 10px;
    scrollbar-width: thin;
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-menu {
    position: static;
    min-width: 0;
    display: none;
    margin-top: 4px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown:hover .nav-menu,
  .nav-dropdown:focus-within .nav-menu {
    display: grid;
  }

  .nav-inner {
    min-height: 82px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
  }

  .hero {
    min-height: auto;
    background-position: center right;
  }

  .hero-inner {
    padding-top: 62px;
  }

  .audience-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .split,
  .field-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-form h2 {
    min-height: 0;
  }

  .audience-card {
    min-height: 250px;
  }

  .review-widget-header {
    align-items: flex-start;
  }

  .section-photo img {
    height: 280px;
  }

  .review-rail {
    grid-auto-columns: minmax(290px, 86%);
  }
}

@media (max-width: 560px) {
  .nav-inner {
    min-height: 62px;
  }

  .brand span {
    display: none;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 52px 0;
  }

  .card,
  .review-card,
  .callout,
  .quote,
  .audience-card {
    padding: 20px;
  }

  .review-widget {
    padding: 14px;
  }

  .review-controls {
    display: none;
  }

  .process-step {
    grid-template-columns: 1fr;
  }
}
