:root {
  --green-900: #153f2c;
  --green-800: #1f5b3f;
  --green-700: #2c7552;
  --green-100: #e8f4ec;
  --green-50: #f3faf5;
  --cream: #fffaf0;
  --linen: #f7efe2;
  --ink: #1d2b24;
  --muted: #5d6b63;
  --line: #dfe8df;
  --white: #ffffff;
  --gold: #bd8b33;
  --gold-text: #825a16;
  --coral: #aa4f35;
  --shadow: 0 18px 45px rgba(21, 63, 44, 0.11);
  --radius: 8px;
  --max: 1180px;
}

/* Business system additions */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.form-note.is-error {
  color: #a43e32;
}

.form-note.is-success {
  padding: 0.8rem;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 0.8rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(21, 63, 44, 0.05);
}

.faq-list summary {
  padding: 1.1rem 3rem 1.1rem 1.2rem;
  color: var(--green-900);
  cursor: pointer;
  font-weight: 800;
}

.faq-list details > div {
  padding: 0 1.2rem 1.2rem;
}

.faq-list details > div p:last-child {
  margin-bottom: 0;
}

.faq-list a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.thank-you-hero {
  background-position: center, 75% 24%;
}

.intake-layout {
  align-items: start;
}

.admin-body {
  min-height: 100vh;
  background: var(--green-50);
}

.admin-main {
  padding: 3rem 0 5rem;
}

.admin-login {
  max-width: 560px;
}

.admin-login h1,
.admin-heading h1 {
  margin: 0 0 0.8rem;
  color: var(--green-900);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-summary {
  margin-bottom: 1.5rem;
}

.admin-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.admin-tabs button {
  padding: 0.8rem 1rem;
  color: var(--green-900);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.admin-tabs button[aria-selected="true"] {
  border-bottom-color: var(--green-700);
}

.admin-panel {
  padding: 1.5rem 0;
}

.table-scroll {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--white);
  background: var(--green-900);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table a {
  color: var(--green-700);
  text-decoration: underline;
}

.admin-manage {
  min-height: 38px;
  padding: 0.5rem 0.7rem;
}

.admin-empty {
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.student-dialog {
  width: min(100% - 2rem, 620px);
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.student-dialog::backdrop {
  background: rgba(16, 41, 30, 0.62);
}

@media (max-width: 740px) {
  .form-layout,
  .intake-layout {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding-top: 1.5rem;
  }

  .admin-heading {
    display: block;
  }

  .admin-heading .button-row {
    margin-top: 1rem;
  }

  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-list summary {
    padding: 0.9rem 2rem 0.9rem 1rem;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li {
  margin: 0.35rem 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid rgba(223, 232, 223, 0.8);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  color: var(--green-900);
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-900);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.94rem;
}

.site-nav a {
  padding: 0.6rem 0.72rem;
  border-radius: var(--radius);
  color: var(--green-900);
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  background: var(--green-100);
  outline: none;
}

.site-nav .student-entry {
  min-width: 112px;
  margin-left: 0.25rem;
  border: 1px solid var(--green-700);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  white-space: nowrap;
}

.site-nav .student-entry:hover,
.site-nav .student-entry:focus {
  color: var(--green-900);
  background: var(--green-100);
}

.site-nav .student-entry:focus-visible,
.footer-student-entry a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 12px 24px rgba(21, 63, 44, 0.14);
}

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

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

.button.accent {
  color: var(--white);
  background: var(--coral);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: max(1.5rem, calc((100vw - var(--max)) / 2));
  bottom: 0;
  width: min(43vw, 520px);
  background: url("../images/roots-professional-960.webp") center 20% / cover no-repeat;
  filter: brightness(1.1) saturate(0.94);
  opacity: 0.96;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 63, 44, 0.98) 0%, rgba(21, 63, 44, 0.9) 42%, rgba(21, 63, 44, 0.44) 66%, rgba(21, 63, 44, 0.05) 86%);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero-content {
  max-width: 680px;
}

.hero-mobile-photo {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--gold-text);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 1rem 0.65rem;
  padding: 0.38rem 0.65rem;
  color: var(--green-900);
  background: #d1a74e;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero .lead,
.page-hero .lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
}

.hero-actions,
.cta-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.section {
  padding: clamp(3.4rem, 7vw, 5.8rem) 0;
}

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

.section.band {
  background: var(--linen);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2,
h3,
h4 {
  color: var(--green-900);
  line-height: 1.18;
}

h2 {
  margin: 0 0 0.85rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.15rem;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(21, 63, 44, 0.06);
}

.card-image {
  width: calc(100% + 2.7rem);
  margin: -1.35rem -1.35rem 1.1rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-100);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image.book-cover {
  background: var(--white);
}

.card-image.book-cover img {
  object-fit: contain;
}

.certificate-card {
  display: flex;
  flex-direction: column;
}

.certificate-card .card-image {
  aspect-ratio: 16 / 10;
  background: var(--linen);
}

.certificate-card .card-image img {
  object-fit: contain;
}

.home-intro {
  overflow: hidden;
  background: var(--cream);
}

.home-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.home-intro__copy {
  max-width: 650px;
}

.home-intro__copy > p {
  max-width: 60ch;
}

.home-intro__notes {
  margin: 0;
  padding: 1rem 0 1.45rem;
  list-style: none;
}

.home-intro__notes li {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) 1fr;
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}

.home-intro__notes li:last-child {
  border-bottom: 1px solid var(--line);
}

.home-intro__notes strong {
  color: var(--green-900);
}

.home-intro__notes span {
  color: var(--muted);
}

.home-intro__media {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  min-height: 520px;
}

.home-intro__media figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.home-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-intro__portrait {
  grid-column: 1 / 6;
  grid-row: 1;
  aspect-ratio: 4 / 5;
  background: var(--green-100);
}

.home-intro__portrait img {
  object-position: center;
}

.home-intro__culture {
  position: relative;
  z-index: 1;
  grid-column: 4 / 9;
  grid-row: 1;
  margin-bottom: 1.8rem !important;
  aspect-ratio: 4 / 3;
  border: 8px solid var(--cream);
  box-shadow: var(--shadow);
}

.home-intro__culture img {
  object-position: center;
}

.home-learning__heading span {
  flex: 0 0 auto;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 850;
}

.home-learning .section-heading {
  margin-bottom: 1.65rem;
}

.home-learning__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.home-learning__step {
  min-width: 0;
}

.home-learning__step:nth-child(2) {
  margin-top: 2.6rem;
}

.home-learning__image {
  margin: 0 0 1rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-100);
  border-radius: var(--radius);
}

.home-learning__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-learning__step:nth-child(1) img {
  object-position: center;
}

.home-learning__step:nth-child(2) img {
  object-position: center 34%;
}

.home-learning__step:nth-child(3) img {
  object-position: center 43%;
}

.home-learning__heading {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.home-learning__heading h3 {
  margin: 0;
}

.home-learning__step > p {
  margin: 0;
  color: var(--muted);
}

.home-offers__heading {
  max-width: 820px;
}

#courses {
  scroll-margin-top: 88px;
}

.home-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-offer {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 14px 34px rgba(21, 63, 44, 0.07);
}

.home-offer--primary {
  background: var(--green-50);
  border-color: rgba(31, 91, 63, 0.28);
}

.home-offer--secondary {
  background: var(--white);
  border-color: rgba(180, 132, 40, 0.28);
}

.home-offer--support {
  background: var(--white);
}

.home-offer .card-image {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  aspect-ratio: 1600 / 849;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.home-offer .card-image img {
  object-fit: cover;
}

.home-offer--primary .card-image img {
  object-fit: contain;
}

.home-offer--secondary .card-image {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f7efe1, #edf4ec);
}

.home-offer--secondary .card-image img {
  width: 36%;
  max-width: 210px;
  height: auto;
  padding: 0;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(61, 48, 25, 0.13));
}

.home-offer__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 238px;
  padding: clamp(1.15rem, 2vw, 1.55rem);
}

.home-offer__body > p {
  flex: 1;
}

.home-offer__type {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.home-offer .eyebrow {
  margin-bottom: 0.45rem;
}

.home-offer h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.home-offer--support h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.home-offer .button {
  margin-top: 0.35rem;
}

.home-journeys {
  padding-top: clamp(2.7rem, 5vw, 4rem);
  padding-bottom: clamp(2.7rem, 5vw, 4rem);
  background: var(--white);
}

.home-journeys .section-heading {
  margin-bottom: 1.25rem;
}

.home-journeys__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.home-journeys__list li {
  display: grid;
  grid-template-columns: 46px minmax(230px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: clamp(1rem, 2vw, 1.35rem) 0;
  border-bottom: 1px solid var(--line);
}

.home-journeys__list h3,
.home-journeys__list p {
  margin: 0;
}

.home-journeys__number {
  color: var(--gold-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.home-journeys__profile {
  margin-bottom: 0.28rem !important;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.home-journeys__list > li > p {
  max-width: 58ch;
  color: var(--muted);
}

.home-story {
  overflow: hidden;
}

.home-story__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.home-story__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--green-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-story__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.home-story__copy {
  max-width: 680px;
}

.home-story__copy p {
  max-width: 62ch;
}

.home-reveal {
  opacity: 1;
  transform: none;
}

.home-reveal.is-pending {
  opacity: 0;
  transform: translateY(16px);
}

.home-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 480ms ease var(--home-reveal-delay, 0ms), transform 480ms ease var(--home-reveal-delay, 0ms);
}

.home-motion-ready .hero [data-home-hero],
.home-motion-ready .hero::before {
  opacity: 0;
  transform: translateY(14px);
}

.home-motion-ready .hero::before {
  transform: translateX(18px);
}

.home-motion-ready .hero.is-home-hero-visible [data-home-hero] {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease var(--home-hero-delay, 0ms), transform 520ms ease var(--home-hero-delay, 0ms);
}

.home-motion-ready .hero.is-home-hero-visible::before {
  opacity: 0.96;
  transform: none;
  transition: opacity 620ms ease 120ms, transform 620ms ease 120ms;
}

.card.feature {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card.feature p {
  flex: 1;
}

.stat-card {
  padding: 1.25rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-900);
  font-weight: 850;
}

.stat-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.image-panel {
  overflow: hidden;
  background: var(--green-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.image-collage {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  gap: 0.85rem;
}

.image-collage .image-panel:first-child {
  grid-row: span 2;
}

.image-collage .image-panel img {
  min-height: 190px;
}

.image-collage .image-panel:first-child img {
  min-height: 430px;
}

.image-collage .image-panel:first-child img {
  object-position: center 28%;
}

.image-collage .image-panel:nth-child(2) img,
.image-collage .image-panel:nth-child(3) img {
  object-position: center 24%;
}

.volunteer-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.volunteer-photo-grid .image-panel img {
  min-height: 360px;
  object-position: center;
}

.volunteer-photo-grid .volunteer-group-photo {
  grid-column: 1 / -1;
}

.volunteer-photo-grid .volunteer-group-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.image-panel.contain img {
  object-fit: contain;
  background: var(--white);
}

.captioned-image {
  margin: 0;
}

.captioned-image img {
  display: block;
  height: auto;
}

.captioned-image figcaption {
  padding: 0.85rem 1rem;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.5;
}

.image-panel img:before {
  content: "";
}

.image-panel img:not([src]),
.image-panel img[src=""] {
  min-height: 280px;
}

.image-fallback {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--green-900);
  background: var(--green-100);
  text-align: center;
  font-weight: 800;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 63, 44, 0.9), rgba(21, 63, 44, 0.62)),
    var(--hero-image, linear-gradient(120deg, var(--green-900), var(--green-700))) center / cover no-repeat;
}

.page-hero .container {
  padding: clamp(4.6rem, 9vw, 7rem) 0 clamp(3.2rem, 7vw, 5rem);
}

.one-on-one-hero {
  background-position: center, center 44%;
}

.contact-hero {
  background-position: center, center;
}

.page-hero h1 {
  max-width: 930px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-preview-card {
  overflow: hidden;
  background: rgba(255, 250, 240, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.hero-preview-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hsk1-hero {
  background: linear-gradient(125deg, var(--green-900), #2d6850);
}

.hsk1-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr);
}

.hsk1-hero-photo {
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--green-800);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.hsk1-hero-photo picture {
  display: block;
  height: 100%;
}

.hsk1-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hsk1-hero-price {
  width: fit-content;
  margin-top: 1.35rem;
}

.hsk1-hero-price__row {
  display: flex;
  align-items: end;
  gap: 1.25rem;
}

.hsk1-hero-price__regular,
.hsk1-hero-price__offer,
.hsk1-hero-price__deadline {
  margin: 0;
}

.hsk1-hero-price__regular,
.hsk1-hero-price__offer {
  display: grid;
  gap: 0.18rem;
}

.hsk1-hero-price__regular span,
.hsk1-hero-price__offer span {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.hsk1-hero-price__regular {
  color: rgba(255, 255, 255, 0.68);
}

.hsk1-hero-price__regular del {
  font-size: 1.08rem;
  font-weight: 750;
}

.hsk1-hero-price__offer span {
  color: var(--gold);
}

.hsk1-hero-price__offer strong {
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.15rem;
  line-height: 1;
}

.hsk1-hero-price__deadline {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-preview-card.lesson-preview img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--white);
}

.hero-preview-card div {
  padding: 1rem;
}

.hero-preview-card h2,
.hero-preview-card h3 {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-family: inherit;
  font-size: 1.25rem;
}

.hero-preview-card p {
  color: rgba(255, 255, 255, 0.82);
}

.info-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 0.7rem;
  margin: 0;
}

.info-list li::before {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.55rem;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.price-block {
  display: grid;
  gap: 0.85rem;
  padding: 1.3rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.preview-strip .image-panel img {
  min-height: 220px;
}

.course-preview {
  align-items: stretch;
}

.preview-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(21, 63, 44, 0.06);
}

.preview-card h3 {
  margin: 0;
  padding: 1rem 1.1rem 0.35rem;
}

.preview-card > p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.preview-media {
  --preview-media-height: 250px;
  height: var(--preview-media-height);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.preview-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-media.book img {
  width: 72%;
  height: var(--preview-media-height);
  max-width: none;
}

.video-card {
  max-width: 940px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--green-900);
  object-fit: contain;
}

.video-caption {
  padding: 1.1rem 1.25rem;
}

.video-caption h3,
.video-caption p {
  margin-bottom: 0.25rem;
}

.launch-status-section {
  padding-top: 0;
  background: var(--white);
}

.launch-status-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem;
  border-left: 4px solid var(--gold);
}

.launch-status-notice h2 {
  margin-bottom: 0.35rem;
  font-size: 1.65rem;
}

.launch-status-notice p {
  margin: 0;
  color: var(--ink);
  font-weight: 550;
}

.notice-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border-radius: 50%;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
}

.outcome-card,
.step-card,
.topic-card,
.policy-card {
  border-left: 4px solid var(--green-700);
}

.image-topic,
.learner-card {
  overflow: hidden;
  border-left: 1px solid var(--line);
}

.image-topic .card-image,
.learner-card .card-image {
  aspect-ratio: 16 / 10;
}

.image-topic .card-image img,
.learner-card .card-image img {
  object-position: center;
}

.compact-pricing {
  margin-top: 1.5rem;
}

.compact-pricing .price-block {
  gap: 0.4rem;
}

.included-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.included-image {
  overflow: hidden;
  border-radius: var(--radius);
}

.included-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.experience-card {
  position: relative;
  padding-top: 1.6rem;
  border-top: 4px solid var(--green-700);
}

.experience-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 50%;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
}

.experience-profile {
  margin-bottom: 0.45rem;
  color: var(--gold-text);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  color: var(--white);
  background: var(--green-800);
  border-radius: 50%;
  font-weight: 850;
}

.placeholder-block {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--green-900);
  background:
    linear-gradient(135deg, rgba(232, 244, 236, 0.9), rgba(247, 239, 226, 0.95)),
    var(--green-100);
  border: 1px dashed var(--green-700);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 850;
}

.travel-hero {
  background:
    linear-gradient(90deg, rgba(21, 63, 44, 0.9), rgba(21, 63, 44, 0.58), rgba(21, 63, 44, 0.82)),
    url("../images/chengdu-teahouse.jpg") left center / 50% 100% no-repeat,
    url("../images/chongqing-night-2.jpg") right center / 58% 100% no-repeat,
    var(--green-900);
}

.panda-panel img {
  object-position: center 38%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 1rem;
}

.gallery-grid .image-panel img {
  min-height: 100%;
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
}

.price {
  color: var(--green-900);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.pill {
  padding: 0.4rem 0.7rem;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  color: var(--green-900);
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfdccf;
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 0.5rem;
  color: var(--green-900);
  font-weight: 760;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.85rem;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 550;
}

.check-grid input {
  width: auto;
  min-height: auto;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(44, 117, 82, 0.16);
  outline: none;
}

.form-note {
  min-height: 1.5rem;
  color: var(--green-800);
  font-weight: 760;
}

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

.contact-card {
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card strong {
  display: block;
  color: var(--green-900);
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.social-button:hover,
.social-button:focus {
  background: var(--white);
  outline: none;
}

.cta-band {
  color: var(--white);
  background: var(--green-900);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 60;
  max-width: 920px;
  max-height: min(520px, calc(100vh - 36px));
  margin-inline: auto;
  overflow: auto;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(16, 41, 30, 0.24);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.62fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
}

.consent-banner__copy h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.consent-banner__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.consent-banner__status {
  margin-top: 0.45rem !important;
  font-weight: 700;
}

.consent-banner__status:empty {
  display: none;
}

.consent-banner__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

.consent-banner__actions .button {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
}

.consent-banner__actions .secondary {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--green-700);
}

.consent-banner__actions > a {
  grid-column: 1 / -1;
  justify-self: center;
  color: var(--green-800);
  font-size: 0.86rem;
  font-weight: 750;
}

.consent-banner :focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.consent-banner-visible .floating-inquiry {
  opacity: 0;
  pointer-events: none;
}

.floating-inquiry {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 30;
  display: grid;
  justify-items: end;
  max-width: calc(100vw - 52px);
  transition: opacity 180ms ease, transform 180ms ease;
  animation: floating-inquiry-enter 420ms ease-out;
}

.floating-inquiry.is-footer-visible,
.floating-inquiry.is-courses-visible,
.floating-inquiry.is-hero-visible,
.floating-inquiry.is-home-content-visible {
  animation: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.floating-inquiry__launcher {
  min-width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 100%;
  padding: 0.72rem 1rem;
  color: var(--white);
  background: var(--green-800);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(16, 41, 30, 0.25);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition: background 160ms ease, box-shadow 160ms ease, width 180ms ease;
}

.floating-inquiry__launcher:hover {
  background: var(--green-700);
  box-shadow: 0 16px 36px rgba(16, 41, 30, 0.3);
}

.floating-inquiry__launcher:focus-visible,
.floating-inquiry__close:focus-visible,
.floating-inquiry__primary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.floating-inquiry__icon {
  position: relative;
  width: 20px;
  height: 17px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 7px;
}

.floating-inquiry__icon::after {
  position: absolute;
  left: 3px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  background: var(--green-800);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: skewY(-35deg);
  transition: background 160ms ease;
}

.floating-inquiry__launcher:hover .floating-inquiry__icon::after {
  background: var(--green-700);
}

.floating-inquiry__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-inquiry.is-collapsed .floating-inquiry__launcher {
  width: 52px;
  padding: 0;
}

.floating-inquiry.is-collapsed .floating-inquiry__label {
  display: none;
}

.floating-inquiry__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(350px, calc(100vw - 52px));
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-inquiry__panel[hidden] {
  display: none;
}

.floating-inquiry__panel h2 {
  max-width: calc(100% - 34px);
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
}

.floating-inquiry__panel p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.floating-inquiry__primary {
  width: 100%;
}

.floating-inquiry__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--green-900);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
}

.floating-inquiry__close:hover {
  background: var(--green-100);
}

#course-inquiry,
#travel-inquiry {
  scroll-margin-top: 96px;
}

@keyframes floating-inquiry-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1220px) {
  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 82px;
    display: none;
    padding: 0.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0.2rem;
  }

  .site-nav a {
    padding: 0.75rem;
  }

  .site-nav .student-entry {
    width: 100%;
    min-height: 44px;
    margin: 0.35rem 0 0;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-is-open .floating-inquiry {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #10291e;
}

.footer-grid {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--white);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--white);
}

.footer-student-entry {
  margin-top: 1rem;
}

.footer-student-entry a {
  color: var(--white);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.footer-bottom {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.legal-section {
  display: grid;
  gap: 1.25rem;
}

.notice {
  padding: 1rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-900);
  font-weight: 720;
}

.not-found-card {
  max-width: 680px;
  margin: clamp(2rem, 8vh, 6rem) auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.not-found-card h1 {
  margin: 0 0 1rem;
  color: var(--green-900);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.not-found-card .cta-actions {
  justify-content: center;
}

@media (max-width: 1020px) {
  .floating-inquiry {
    right: 20px;
    bottom: 20px;
    max-width: calc(100vw - 40px);
  }

  .floating-inquiry__panel {
    width: min(340px, calc(100vw - 40px));
  }

  .hero {
    background: linear-gradient(120deg, var(--green-900), var(--green-700));
  }

  .hero::before {
    right: 0;
    width: min(46vw, 440px);
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(21, 63, 44, 0.98), rgba(21, 63, 44, 0.84) 52%, rgba(21, 63, 44, 0.2));
  }

  .grid.four,
  .grid.five,
  .grid.three,
  .contact-list,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-offers {
    gap: 1rem;
  }

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

@media (max-width: 900px) {
  .hsk1-hero .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hsk1-hero-photo {
    aspect-ratio: 16 / 9;
  }

  .hsk1-hero-photo img {
    object-position: center 64%;
  }
}

@media (max-width: 740px) {
  .media-split,
  .page-hero-grid,
  .home-intro__grid,
  .home-story__grid {
    grid-template-columns: 1fr;
  }

  .home-intro__media {
    width: min(100%, 620px);
  }

  .preview-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .consent-banner {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    max-height: calc(100vh - 24px - env(safe-area-inset-bottom));
  }

  .consent-banner__content {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1rem;
  }

  .consent-banner__actions {
    grid-template-columns: 1fr;
  }

  .consent-banner__actions > a {
    grid-column: 1;
  }

  .floating-inquiry {
    right: auto;
    bottom: calc(env(safe-area-inset-bottom) + 72px);
    left: 16px;
    max-width: calc(100vw - 32px);
  }

  .floating-inquiry__launcher {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    max-width: calc(100vw - 32px);
    padding: 0;
    font-size: 0.84rem;
  }

  .floating-inquiry__label {
    display: none;
  }

  .floating-inquiry.is-collapsed .floating-inquiry__launcher {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .floating-inquiry__panel {
    right: auto;
    left: 0;
    width: calc(100vw - 32px);
    max-height: calc(100vh - env(safe-area-inset-bottom) - 150px);
    padding: 1rem;
  }

  .floating-inquiry__panel h2 {
    font-size: 1.25rem;
  }

  .floating-inquiry__panel p {
    font-size: 0.88rem;
  }

  body {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .site-nav {
    top: 74px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: auto;
    align-items: start;
    background: linear-gradient(145deg, var(--green-900), var(--green-700));
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-inner {
    padding-top: 2.7rem;
    padding-bottom: 2.5rem;
  }

  .hero-detail {
    display: none;
  }

  .hero-mobile-photo {
    position: relative;
    display: block;
    width: 90%;
    max-width: 340px;
    margin: 1.35rem auto 0;
    overflow: hidden;
    background: var(--green-800);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 18px 38px rgba(5, 28, 18, 0.24);
  }

  .hero-mobile-photo::after {
    position: absolute;
    inset: 0;
    background: rgba(21, 63, 44, 0.08);
    content: "";
    pointer-events: none;
  }

  .hero-mobile-photo img {
    width: 100%;
    height: min(88vw, 350px);
    object-fit: cover;
    object-position: center 18%;
    filter: brightness(1.08) saturate(0.94);
  }

  .page-hero-grid .hero-preview-card {
    display: none;
  }

  .hsk1-hero-photo {
    height: clamp(210px, 60vw, 240px);
    margin-top: 1.75rem;
    aspect-ratio: auto;
  }

  .hsk1-hero .page-hero-grid {
    gap: 0;
  }

  .hsk1-hero-photo img {
    object-position: center 67%;
  }

  .hsk1-hero-price {
    margin-top: 1rem;
  }

  .hsk1-hero-price__row {
    gap: 1rem;
  }

  .hsk1-hero-price__offer strong {
    font-size: 1.9rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.35rem;
    line-height: 1.03;
  }

  .travel-hero h1 {
    font-size: 2.05rem;
  }

  .hero .lead,
  .page-hero .lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions,
  .cta-actions,
  .button-row {
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .section {
    padding: 2.55rem 0;
  }

  .page-hero .container {
    padding: 3rem 0 2.6rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  h3 {
    font-size: 1.08rem;
  }

  p {
    margin-bottom: 0.75rem;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
  }

  .section-heading {
    margin-bottom: 1.25rem;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .grid.five,
  .contact-list,
  .check-grid,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .mobile-two,
  .grid.three:has(> .outcome-card),
  .grid.three:has(> .image-topic),
  .grid.three:has(> .learner-card),
  .grid.five:has(> .step-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .experience-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .compact-pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .gallery-grid {
    grid-auto-rows: auto;
  }

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid .image-panel img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .button,
  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .button {
    min-height: 44px;
    padding: 0.68rem 0.9rem;
    font-size: 0.92rem;
  }

  .card {
    padding: 0.95rem;
  }

  .card-image {
    width: calc(100% + 1.9rem);
    margin: -0.95rem -0.95rem 0.8rem;
  }

  .image-panel img {
    min-height: 220px;
  }

  .image-collage {
    grid-template-columns: 1.25fr 0.8fr;
    gap: 0.6rem;
  }

  .image-collage .image-panel:first-child {
    grid-row: span 2;
  }

  .image-collage .image-panel img {
    min-height: 125px;
    height: 125px;
  }

  .image-collage .image-panel:first-child img {
    min-height: 256px;
    height: 256px;
  }

  .volunteer-photo-grid {
    gap: 0.6rem;
  }

  .volunteer-photo-grid .image-panel img {
    min-height: 145px;
    height: 145px;
  }

  .volunteer-photo-grid .volunteer-group-photo img {
    height: auto;
    min-height: 0;
  }

  .home-intro__grid {
    gap: 0;
  }

  .home-intro__copy {
    display: contents;
  }

  .home-intro__copy > .eyebrow {
    order: 1;
  }

  .home-intro__copy > h2 {
    order: 2;
  }

  .home-intro__copy > p:first-of-type {
    order: 3;
    margin-bottom: 0.55rem;
  }

  .home-intro__media {
    order: 4;
  }

  .home-intro__copy > p:nth-of-type(2) {
    order: 5;
    margin-bottom: 0.35rem;
  }

  .home-intro__notes {
    order: 6;
    padding: 0.35rem 0 0.85rem;
  }

  .home-intro__copy > .button {
    order: 7;
  }

  .home-intro__notes li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 0.55rem 0;
  }

  .home-intro__media {
    min-height: 330px;
    margin: 0.25rem 0 0.95rem;
  }

  .home-intro__portrait {
    grid-column: 1 / 6;
  }

  .home-intro__culture {
    grid-column: 4 / 9;
    margin-bottom: 1rem !important;
    border-width: 5px;
  }

  .home-learning {
    padding-top: 2.25rem;
    padding-bottom: 2.4rem;
  }

  .home-learning__steps {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }

  .home-learning__step:nth-child(2) {
    margin-top: 0;
  }

  .home-learning__image {
    margin-bottom: 0.8rem;
    aspect-ratio: 16 / 9;
  }

  .home-learning__heading {
    margin-bottom: 0.35rem;
  }

  .home-learning__step > p {
    font-size: 0.88rem;
  }

  .home-offers {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  #courses .home-offers__heading {
    margin-bottom: 1rem;
  }

  #courses .home-offer {
    min-height: 0;
  }

  #courses .home-offer--primary {
    display: block !important;
  }

  #courses .home-offer--primary .card-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1600 / 849;
  }

  #courses .home-offer--primary .card-image img {
    padding: 0;
    object-fit: contain;
  }

  #courses .home-offer--secondary {
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr);
  }

  #courses .home-offer--secondary .card-image,
  #courses .home-offer--support .card-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  #courses .home-offer--secondary .card-image img {
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    height: auto;
    padding: 0;
  }

  #courses .home-offer--support {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr);
  }

  #courses .home-offer--support .card-image img {
    object-fit: cover;
  }

  #courses .home-offer__body {
    min-height: 0;
    padding: 0.9rem;
  }

  #courses .home-offer--secondary .home-offer__body,
  #courses .home-offer--support .home-offer__body {
    padding: 0.78rem;
  }

  #courses .home-offer h3 {
    margin-bottom: 0.45rem;
    font-size: 1.18rem;
  }

  #courses .home-offer--support h3 {
    font-size: 1rem;
  }

  #courses .home-offer p {
    display: -webkit-box;
    margin-bottom: 0.45rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.82rem;
    line-height: 1.48;
  }

  #courses .home-offer--secondary .course-card-price {
    display: block;
    font-size: 0.76rem;
  }

  #courses .home-offer__type {
    margin-bottom: 0.4rem;
    font-size: 0.66rem;
  }

  #courses .home-offer .button {
    width: fit-content;
    min-height: 44px;
    padding: 0.52rem 0.72rem;
    font-size: 0.8rem;
  }

  .home-journeys__list li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.35rem 0.75rem;
    padding: 0.9rem 0;
  }

  .home-journeys__list > li > p {
    grid-column: 2;
    font-size: 0.86rem;
  }

  .home-story__grid {
    gap: 0.9rem;
  }

  .home-story__photo {
    width: min(70%, 270px);
    margin: 0 auto;
    aspect-ratio: 4 / 5;
  }

  .home-story__copy {
    padding-top: 0;
  }

  .grid.three:has(> .card.feature) .card.feature {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 0.45rem 0.8rem;
  }

  .grid.three:has(> .card.feature) .card.feature .image-panel {
    grid-row: 1 / 3;
    height: 100%;
    box-shadow: none;
  }

  .grid.three:has(> .card.feature) .card.feature .image-panel img {
    min-height: 0;
    height: 100%;
    object-fit: cover;
  }

  .grid.three:has(> .card.feature) .card.feature h3,
  .grid.three:has(> .card.feature) .card.feature p {
    margin: 0;
  }

  .grid.three:has(> .card.feature) .card.feature p {
    font-size: 0.83rem;
  }

  .image-topic .card-image,
  .learner-card .card-image {
    aspect-ratio: 16 / 9;
  }

  .image-topic p,
  .learner-card p,
  .outcome-card p {
    margin: 0;
    font-size: 0.83rem;
  }

  .image-topic h3,
  .learner-card h3,
  .outcome-card h3,
  .step-card h3 {
    font-size: 0.95rem;
  }

  .step-number {
    width: 32px;
    height: 32px;
    margin-bottom: 0.55rem;
  }

  .stat-card {
    padding: 0.9rem;
    font-size: 0.82rem;
  }

  .stat-card span {
    margin-bottom: 0.15rem;
    font-size: 1.3rem;
  }

  .experience-card {
    padding-top: 1rem;
  }

  .experience-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 0.65rem;
    font-size: 0.8rem;
  }

  .experience-profile {
    font-size: 0.68rem;
  }

  .experience-card p:last-child {
    font-size: 0.84rem;
  }

  .price-block {
    gap: 0.4rem;
    padding: 0.9rem;
  }

  .price {
    font-size: 1.65rem;
  }

  .info-list {
    gap: 0.5rem;
  }

  .video-caption {
    padding: 0.8rem 0.95rem;
  }

  .launch-status-section {
    padding-top: 0;
  }

  .launch-status-notice {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.9rem;
  }

  .notice-mark {
    width: 44px;
    height: 44px;
    font-size: 0.82rem;
  }

  .launch-status-notice h2 {
    font-size: 1.2rem;
  }

  .launch-status-notice p {
    font-size: 0.82rem;
  }

  .preview-media {
    --preview-media-height: 180px;
  }

  .included-card {
    grid-template-columns: 1fr;
  }

  .included-image img {
    aspect-ratio: 16 / 9;
    object-position: center 35%;
  }

  .form-grid {
    gap: 0.75rem;
  }

  textarea {
    min-height: 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 1rem;
    padding: 2.25rem 0;
    font-size: 0.86rem;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-logo {
    width: 48px;
    height: 48px;
  }

  .footer-links {
    gap: 0.3rem;
  }

  .site-footer h2 {
    font-size: 1.4rem;
  }

  .site-footer h3 {
    font-size: 1rem;
  }

  .one-on-one-hero {
    background-position: center, 82% center;
  }

  .contact-hero {
    background-position: center, 68% center;
  }

  .form-layout,
  .intake-layout {
    grid-template-columns: 1fr;
  }

  .admin-heading {
    display: block;
  }

  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-motion-ready .hero [data-home-hero],
  .home-motion-ready .hero::before,
  .home-motion-ready .hero.is-home-hero-visible [data-home-hero],
  .home-motion-ready .hero.is-home-hero-visible::before,
  .home-reveal,
  .home-reveal.is-pending,
  .home-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .floating-inquiry {
    animation: none;
    transition: none;
  }

  .floating-inquiry__launcher,
  .floating-inquiry__icon::after {
    transition: none;
  }
}
