/* Full-width photo introduction and dark program section from the style reference. */
.home-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  isolation: isolate;
  padding-top: clamp(64px, 6vw, 100px);
  padding-bottom: clamp(64px, 6vw, 100px);
}

.home-hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 76%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0d1912 3%, rgba(13, 25, 18, 0.97) 27%, rgba(13, 25, 18, 0.65) 57%, rgba(13, 25, 18, 0.13) 100%);
}

.home-hero .hero-photo-layout {
  display: block;
}

.home-hero .hero-photo-layout h1 {
  max-width: 1100px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 6.1vw, 6.5rem);
  line-height: 1.12;
  text-wrap: initial;
}

.home-hero h1 > span {
  display: block;
}

.home-hero .hero-location {
  color: var(--color-yellow);
}

.home-hero p:not(.section-eyebrow) {
  max-width: 510px;
  color: #e0e6de;
  font-size: 1.06rem;
  line-height: 1.65;
}

.home-hero .hero-actions {
  margin-top: 8px;
}

.section.home-services {
  color: #f7f8f2;
  background: var(--color-brand-dark);
}

.program-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 42px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid #344339;
}

.home-services .program-heading h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.3rem, 3.5vw, 3.5rem);
}

.home-services .text-accent {
  color: var(--color-mint);
}

.home-services .program-heading p {
  color: #bac6bc;
  font-size: 1.03rem;
  line-height: 1.55;
}

.home-services .service-list {
  gap: 20px;
  margin-top: 28px;
}

.home-services .program-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #18271d;
  border: 1px solid #34463a;
  border-radius: 0;
  box-shadow: none;
}

.home-services .service-card-media {
  margin: 0;
}

.program-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.home-services .program-card h3 {
  margin: 0 0 14px;
  color: #f7f8f2;
  font-size: clamp(1.65rem, 2.2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
}

.home-services .program-card p {
  margin: 0;
  color: #cbd5cb;
  font-size: 1rem;
  line-height: 1.6;
}

.program-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: auto;
  padding-top: 30px;
}

.home-services .service-card-image {
  height: auto;
  aspect-ratio: 2.1 / 1;
  object-fit: cover;
}

.home-services .program-card:hover {
  border-color: #719c79;
}

.program-card a {
  color: var(--color-yellow);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 3px;
}

.program-card a:hover {
  text-decoration: underline;
}

.program-card a span {
  margin-left: 8px;
}

.program-card a:focus-visible {
  outline-color: var(--color-yellow);
}

.home-intro .site-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Count visible sections so the optional reviews section does not break the rhythm. */
#site-main > .section:nth-child(2n + 3 of section:not([hidden])) {
  background: #fff;
}

#site-main > .section:nth-child(2n + 4 of section:not([hidden])) {
  --color-ink: #f7f8f2;
  --color-muted: #cbd5cb;
  --color-line: #34463a;
  --color-surface: #18271d;
  --color-surface-2: #213429;
  --color-brand: var(--color-mint);
  --color-accent: var(--color-mint);
  --color-blue: var(--color-mint);
  color: var(--color-ink);
  background: var(--color-brand-dark);
}

#site-main > .section:nth-child(2n + 4 of section:not([hidden])) .section-eyebrow {
  color: var(--color-mint);
}

@media (max-width: 900px) {
  .home-hero-image { width: 100%; }
  .home-hero::after {
    background: linear-gradient(90deg, rgba(13, 25, 18, 0.96), rgba(13, 25, 18, 0.67) 72%, rgba(13, 25, 18, 0.4));
  }
  .program-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .program-heading p { max-width: 480px; }
  .home-services .service-list { gap: 16px; }
  .program-card-copy { padding: 20px; }
}

@media (max-width: 720px) {
  .home-services .service-card-image { aspect-ratio: 1.8 / 1; }
  .home-services .program-card h3 { font-size: 1.85rem; }
  .home-services .service-list { gap: 28px; }
}

@media (max-width: 600px) {
  .home-hero { min-height: 0; padding-top: 54px; padding-bottom: 58px; }
  .home-hero .hero-photo-layout h1 { font-size: clamp(2.45rem, 9.35vw, 3.5rem); }
  .home-hero p:not(.section-eyebrow) { font-size: 1rem; }
  .home-hero-image { object-position: 67% center; }
  .home-hero::after { background: rgba(13, 25, 18, 0.84); }
  .home-hero .hero-actions { gap: 0 12px; }
}

.home-services .program-card .section-list {
  margin: 18px 24px 0;
}

.program-card .section-list li + li {
  margin-top: 12px;
}

.home-story-layout {
  align-items: start;
}

.home-story-layout h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.schedule-table-scroll {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.schedule-table-scroll:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 4px;
}

.schedule-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th,
.schedule-table td {
  padding: 16px 20px;
  vertical-align: top;
}

.schedule-table thead {
  background: var(--color-brand-dark);
  color: var(--color-on-brand);
}

.schedule-table tbody th {
  width: 47%;
  font-weight: 600;
}

.schedule-table tbody tr + tr {
  border-top: 1px solid var(--color-line);
}

.schedule-table tbody tr:nth-child(even) {
  background: var(--color-surface-2);
}

.schedule .schedule-note {
  max-width: 850px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.home-contact .contact-card {
  margin: 24px 0;
}

.home-contact .contact-details {
  font-style: normal;
}

