@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Kantumruy Pro";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/kantumruy-pro-khmer.woff2") format("woff2");
  unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC;
}

:root {
  --ink: #163e32;
  --muted: #53675e;
  --green: #087f52;
  --mint: #eaf6ed;
  --yellow: #fff3bd;
  --peach: #ffe9df;
  --lilac: #eee9fa;
  --line: #d8e6dd;
  --display: "Nunito", "Kantumruy Pro", "Trebuchet MS", sans-serif;
  --body: "Nunito", "Kantumruy Pro", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(32px, 3.4vw, 48px);
}
h2 span,
h1 span {
  color: var(--green);
}
h3 {
  font-size: 25px;
}
p {
  color: var(--muted);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
.shell {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.section {
  padding-block: 80px;
}
.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 20px;
}
.skip-link {
  position: fixed;
  z-index: 10;
  left: 16px;
  top: -80px;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 94px;
  padding: 20px max(40px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand picture {
  display: block;
}
.brand img {
  width: 300px;
  height: auto;
}
.site-footer .brand img {
  width: 100px;
  border-radius: 4px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}
nav a:not(.button) {
  padding-block: 10px;
}
nav a:hover,
.secondary-link:hover,
.news-list a:hover {
  color: var(--green);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}
.button:hover {
  background: #05633f;
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.button-small {
  min-height: 44px;
  padding: 10px 18px;
}
.link-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
}
.hero {
  background: #eaf8ef;
  padding-block: 56px 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.hero-copy {
  padding: 16px 0;
}
.hero-copy h1 {
  color: var(--ink);
  font-size: clamp(40px, 4vw, 56px);
}
.hero-copy h1 span,
.hero .eyebrow {
  color: var(--green);
}
.hero .hero-lede,
.hero .secondary-link {
  color: var(--ink);
}
.hero .button {
  background: var(--green);
  color: white;
}
.hero a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}
.hero .eyebrow {
  font-size: 10px;
}
h1 {
  font-size: clamp(44px, 4.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  max-width: 480px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  margin-top: 30px;
}
.secondary-link {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.hero-subjects {
  margin-top: 32px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.hero-visual {
  position: relative;
  margin: 0;
  min-width: 0;
}
.hero-visual > img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.hero-robot {
  position: absolute;
  width: 260px;
  left: -190px;
  bottom: -40px;
}
.hero-robot img {
  width: 100%;
  height: auto;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}
.section-heading > p {
  font-size: 14px;
  max-width: 340px;
  padding-bottom: 5px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
#gallery {
  padding-block: 42px 50px;
}
#programs,
#projects,
#contact {
  background: #f3faf4;
  box-shadow: 0 0 0 100vmax #f3faf4;
  clip-path: inset(0 -100vmax);
}
#gallery .section-heading {
  margin-bottom: 24px;
}
#gallery h2 {
  font-size: 32px;
}
.gallery-intro {
  margin-top: 8px;
  font-size: 16px;
}
.gallery-grid figure {
  margin: 0;
  min-width: 0;
}
.gallery-grid .image-frame {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mint);
}
.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
#gallery .gallery-grid img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}
.gallery-grid figcaption {
  padding-top: 15px;
  font-size: 14px;
}
.gallery-grid figcaption strong {
  font-weight: normal;
}
.gallery-grid figcaption span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.gallery-note {
  margin-top: 25px;
  font-size: 12px;
}
.photo-archive {
  margin-top: 32px;
}
.photo-archive > summary {
  padding-block: 16px;
  font-size: 16px;
  cursor: pointer;
  color: var(--green);
}
.photo-archive > summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.photo-archive[open] > summary span {
  font-size: 0;
}
.photo-archive[open] > summary span::after {
  content: "−";
  font-size: 24px;
}
.photo-archive .gallery-grid {
  padding-top: 16px;
}
.photo-archive .gallery-grid img {
  height: 240px;
  object-fit: contain;
}
.robot-showcase .gallery-grid img {
  height: 240px;
  object-fit: contain;
}
.robot-showcase .gallery-grid .image-frame {
  background: #eef5ef;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.mint {
  background: var(--mint);
}
.yellow {
  background: var(--yellow);
}
.peach {
  background: var(--peach);
}
.lilac {
  background: var(--lilac);
}
.program-card {
  --card-padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  padding: var(--card-padding);
  overflow: hidden;
  min-height: 370px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.program-card:hover,
.program-card:focus-within {
  border-color: var(--green);
  box-shadow: 0 5px 16px #163e320c;
}
.course-photo {
  display: block;
  height: 190px;
  width: calc(100% + var(--card-padding) * 2);
  max-width: none;
  margin: calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding)) 23px;
  object-fit: contain;
  background: #eef5ef;
}
.course-tag {
  font-size: 10px;
  font-family: ui-monospace, monospace;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.program-card h3 {
  font-size: 22px;
  margin-top: 8px;
  margin-bottom: 12px;
}
.program-card > p {
  min-height: 84px;
  font-size: 15px;
}
details {
  margin-top: 18px;
  border-top: 1px solid #163e3220;
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  min-height: 44px;
}
summary::-webkit-details-marker {
  display: none;
}
.program-card summary {
  flex-direction: column;
  justify-content: center;
  padding-block: 12px;
  font-size: 14px;
  cursor: pointer;
}
.program-card summary span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 0;
}
.program-card summary span::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
}
.program-card details[open] summary span::after {
  content: "−";
}
.program-card summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.course-details {
  padding-top: 10px;
  font-size: 14px;
}
.course-details p {
  margin-bottom: 14px;
}
.course-details a {
  display: inline-block;
  font-weight: 700;
  color: var(--green);
  padding-block: 10px;
}
.program-help {
  padding: 24px;
  align-self: stretch;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: var(--green);
  min-height: 370px;
}
.program-help h3,
.program-help p,
.program-help .secondary-link {
  color: white;
}
.program-help h3 {
  margin-block: 15px;
}
.program-help p {
  font-size: 13px;
  margin-bottom: 14px;
}
.about-section {
  background: #f4f9f5;
  padding-block: 88px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}
.mission-board {
  border-radius: 24px;
  padding: 40px;
  background: #d5efcf;
  position: relative;
}
.mission-board h2 {
  font-size: clamp(40px, 4vw, 52px);
  line-height: 1.08;
}
.mission-board img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 28px;
}
.mission-line {
  border-top: 1px solid #163e3230;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  margin-top: 34px;
}
.mission-line p {
  color: var(--ink);
  font-size: 12px;
}
.mission-line strong {
  font-size: 16px;
}
.about-copy h2 {
  font-size: 36px;
  margin-bottom: 24px;
}
.about-copy > p:not(.eyebrow) {
  font-size: 14px;
  margin-bottom: 16px;
}
.learning-values {
  margin-top: 24px;
}
.learning-values > div {
  border-top: 1px solid var(--line);
  padding-block: 13px;
}
.learning-values strong {
  font-size: 18px;
}
.learning-values p {
  font-size: 15px;
  margin-top: 8px;
}
.learning-values h3 {
  font-size: 20px;
}
.learning-photo {
  margin: 0;
}
.learning-photo img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.learning-photo figcaption {
  font-size: 14px;
  margin-top: 16px;
  color: var(--muted);
}
#learning-approach .learning-values {
  margin-top: 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
}
.project-photo {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #eef5ef;
}
.project-content {
  padding: 25px;
}
.project-content .eyebrow {
  font-size: 10px;
  margin-bottom: 12px;
}
.project-content h3 {
  font-size: 23px;
  margin-bottom: 15px;
}
.project-content > p:not(.eyebrow) {
  font-size: 13px;
}
.project-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  padding-top: 19px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.news-section {
  background: #f3faf4;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.news-feature {
  background: #d7efcb;
  padding: 38px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.pill {
  display: inline-block;
  border: 1px solid #163e3230;
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 9px;
  font-weight: 700;
}
.news-feature h3 {
  font-size: 34px;
  margin-block: 28px 20px;
  position: relative;
  z-index: 1;
}
.news-feature p {
  font-size: 14px;
  max-width: 350px;
  position: relative;
  z-index: 1;
}
.news-feature a,
.news-list a {
  display: inline-block;
  margin-top: 23px;
  font-size: 12px;
  font-weight: 700;
  padding-block: 8px;
  position: relative;
  z-index: 1;
}
.hero-visual > img,
.gallery-grid img,
.mission-board img,
.learning-photo img {
  border: 4px double #8dc9aa;
  border-radius: 16px;
}
.news-list article {
  padding-block: 6px 28px;
}
.news-list article + article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.news-list .eyebrow {
  margin-bottom: 12px;
  font-size: 9px;
}
.news-list h3 {
  font-size: 25px;
  margin-bottom: 13px;
}
.news-list p {
  font-size: 13px;
}
.news-list a {
  margin-top: 10px;
}
.community .eyebrow {
  text-align: left;
}
.community {
  padding-bottom: 28px;
}
.community-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}
.community-row h2 {
  font-size: 30px;
}
.community-row > div {
  background: var(--mint);
  border-radius: 16px;
  padding: 24px;
  align-self: stretch;
}
.organization {
  font: 800 28px var(--display);
}
.community-row p {
  font-size: 12px;
  margin-top: 8px;
}
.franchise-section {
  background: var(--yellow);
  border: 1px solid var(--yellow);
  padding: 32px;
  border-radius: 18px;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.franchise-section h2 {
  font-size: 34px;
}
.franchise-section p:not(.eyebrow) {
  max-width: 580px;
  font-size: 14px;
  margin-top: 12px;
}
.franchise-section .button {
  flex-shrink: 0;
}
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.curriculum-card,
.training-courses {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mint);
}
.curriculum-card h3,
.training-courses h3 {
  font-size: 24px;
  margin-top: 12px;
}
.course-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.course-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.course-list strong {
  display: block;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.training-courses {
  margin-top: 24px;
  background: #fff;
}
.training-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}
.training-courses .secondary-link {
  display: inline-block;
  margin-top: 20px;
}
@media (max-width: 760px) {
  .curriculum-grid,
  .training-list {
    grid-template-columns: 1fr;
  }
  .curriculum-card,
  .training-courses {
    padding: 24px;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.contact-copy > p:not(.eyebrow) {
  max-width: 360px;
  margin-top: 24px;
  font-size: 14px;
}
.contact-links {
  margin-block: 28px;
}
.social-label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.social-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-links a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
  align-items: center;
  font-size: 14px;
  gap: 10px;
  overflow-wrap: anywhere;
}
.contact-links a:first-child {
  color: var(--green);
  font-weight: 700;
}
.contact-copy address {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.enquiry-form {
  background: #f3faf4;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
}
.enquiry-form h3 {
  font-size: 25px;
}
.enquiry-form > p:first-of-type {
  font-size: 13px;
  margin-block: 10px 25px;
}
.enquiry-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-block: 16px 6px;
}
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #c9dcd0;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font-size: 13px;
  min-height: 46px;
}
.enquiry-form textarea {
  resize: vertical;
}
.enquiry-form .button {
  width: 100%;
  margin-top: 18px;
}
.enquiry-form .form-note {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 13px;
}
.enquiry-form #form-status {
  font-size: 12px;
  color: var(--green);
  margin-top: 10px;
}
.site-footer {
  background: #edf7ee;
  padding-top: 55px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  padding-bottom: 45px;
}
.footer-grid p {
  font-size: 12px;
  margin-top: 18px;
}
.footer-grid strong {
  display: block;
  font-size: 12px;
  margin-bottom: 12px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: 12px;
  padding-block: 6px;
}
.footer-message {
  font: 700 29px/1.2 var(--display);
  letter-spacing: -0.04em;
}
.footer-message span {
  color: var(--green);
}
.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-robot {
    left: auto;
    right: 136px;
    bottom: -50px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap;
  }
  nav {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
  }
  .brand img {
    width: 240px;
  }
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .program-card {
    min-height: 295px;
  }
  .program-card > p {
    min-height: 40px;
  }
  .about-grid,
  .contact-grid {
    gap: 45px;
  }
  .project-grid {
    gap: 16px;
  }
  .project-content {
    padding: 20px;
  }
  .project-content h3 {
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 140px;
  }
  .shell {
    width: calc(100% - 40px);
  }
  .site-header {
    padding: 12px 20px;
    min-height: 80px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .site-header .brand img {
    width: 56px;
    height: 56px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f3faf4;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
    min-height: 44px;
    cursor: pointer;
  }
  .menu-icon {
    position: relative;
    width: 18px;
    height: 14px;
  }
  .menu-icon::before,
  .menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    top: 3px;
  }
  .menu-icon::after { top: 11px; }
  .menu-toggle[aria-expanded="true"] {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
  }
  .menu-toggle[aria-expanded="true"] .menu-icon::before {
    top: 7px;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-icon::after {
    top: 7px;
    transform: rotate(-45deg);
  }
  #navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    max-height: calc(100dvh - 105px);
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 17px;
  }
  #navigation a:not(.button) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
  }
  #navigation a:not(.button)::after {
    content: "→";
    color: var(--green);
  }
  #navigation a:not(.button):hover,
  #navigation a[aria-current="page"]:not(.button) {
    background: var(--mint);
  }
  #navigation .button {
    justify-content: space-between;
    margin-top: 12px;
    min-height: 52px;
    font-size: 15px;
  }
  .menu-toggle:focus-visible,
  #navigation a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
  }
  .js #navigation {
    display: none;
  }
  .js #navigation.is-open {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-block: 24px 80px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy h1 {
    font-size: clamp(36px, 9vw, 52px);
  }
  h1 {
    font-size: clamp(40px, 10.5vw, 58px);
  }
  .hero-lede {
    font-size: 17px;
  }
  .hero-actions {
    gap: 12px 20px;
  }
  .hero-visual {
    display: none;
  }
  .hero-robot {
    display: none;
  }
  #gallery {
    padding-block: 32px 40px;
  }
  #gallery h2 {
    font-size: 28px;
  }
  .section {
    padding-block: 60px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 15px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: 100%;
  }
  .section-heading > a {
    margin-top: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-featured {
    grid-column: 1 / -1;
  }
  .gallery-grid img {
    height: auto;
  }
  .program-grid {
    gap: 12px;
  }
  .program-card {
    --card-padding: 20px;
    min-height: 310px;
  }
  .program-card h3 {
    font-size: 20px;
  }
  .program-card > p {
    min-height: 78px;
  }
  .course-tag {
    font-size: 10px;
  }
  .course-photo {
    margin-bottom: 18px;
  }
  .program-help {
    padding: 20px;
  }
  .program-help h3 {
    font-size: 23px;
  }
  .about-section {
    padding-block: 55px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .mission-board {
    padding: 30px;
  }
  .mission-board h2 {
    font-size: 40px;
  }
  .about-copy h2 {
    font-size: 32px;
  }
  .project-grid,
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .project-photo {
    height: 230px;
  }
  .project-content {
    padding: 25px;
  }
  .project-content h3 {
    font-size: 24px;
  }
  .news-feature {
    padding: 30px;
  }
  .news-feature h3 {
    font-size: 30px;
  }
  .news-list article {
    padding-bottom: 20px;
  }
  .community-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .community-row h2 {
    grid-column: 1 / -1;
    text-align: left;
  }
  .organization {
    font-size: 27px;
  }
  .community-row p {
    font-size: 11px;
  }
  .community .eyebrow {
    font-size: 10px;
  }
  .franchise-section {
    padding: 24px;
    flex-direction: column;
    align-items: start;
    gap: 25px;
  }
  .franchise-section h2 {
    font-size: 30px;
  }
  .contact-grid {
    gap: 35px;
  }
  .enquiry-form {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }
  .footer-message {
    font-size: 26px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gallery-grid img {
    height: auto;
  }
  .program-grid {
    grid-template-columns: 1fr;
  }
  .program-card {
    min-height: auto;
  }
  .program-card > p,
  .course-details,
  summary {
    font-size: 14px;
  }
  .program-card > p {
    min-height: auto;
  }
  .program-help {
    min-height: auto;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
}
.mobile-intro {
  display: none;
}
nav a[aria-current="page"]:not(.button) {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
.page-heading { padding-block: 56px 24px; }
.page-heading h1 { font-size: clamp(36px, 4vw, 52px); }
.page-heading + .franchise-section { margin-top: 32px; }
.blog-index, .blog-post { padding-block: 64px 80px; }
.blog-heading { margin-bottom: 48px; max-width: 780px; }
.blog-heading > p:last-child, .post-lede { font-size: 20px; }
.blog-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: white; }
.blog-card h2 { font-size: 30px; margin-bottom: 18px; }
.blog-card h2 a:hover { color: var(--green); }
.blog-card-copy { padding: 32px; }
.blog-card h2 { line-height: 1.5; }
.blog-card-copy .secondary-link { margin-top: 20px; }
.blog-image { display: block; }
.blog-image img { width: 100%; height: 280px; object-fit: cover; }
.blog-featured { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--mint); }
.blog-featured .blog-image { position: relative; min-height: 380px; }
.blog-featured .blog-image img { position: absolute; inset: 0; height: 100%; object-fit: contain; }
.blog-featured .blog-card-copy { padding: 48px; align-self: center; }
.blog-featured h2 { font-size: clamp(30px, 3vw, 42px); }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.news-more { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.news-more-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.news-more-heading h2 { font-size: 30px; }
.news-slider-controls:not([hidden]) { display: flex; gap: 12px; }
.news-slider-controls button { min-width: 44px; min-height: 44px; justify-content: center; }
.news-slider-controls button:disabled { opacity: 0.4; cursor: default; }
.news-slider { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
.news-slider .blog-card { flex: 0 0 min(340px, 90%); scroll-snap-align: start; }
.news-slider .blog-image img { height: 220px; }
.news-slider .blog-card-copy { padding: 24px; }
.news-slider .blog-card h2 { font-size: 26px; }
.blog-post { max-width: 850px; padding-block: 40px 64px; }
.post-heading { margin: 24px 0 28px; }
.post-heading h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.5; margin-block: 12px 16px; }
.post-lede { max-width: 700px; line-height: 1.6; }
.post-byline { font-size: 13px; margin-top: 24px; }
.post-heading .post-byline { margin-top: 16px; }
.post-image { width: 100%; height: auto; border-radius: 18px; }
.post-body { margin: 32px 0 48px; }
.post-body h2 { font-size: 28px; margin-block: 32px 16px; }
.post-body h2:first-child { margin-top: 0; }
.post-body p { font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.post-body > p + p { margin-top: 24px; }
.post-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.post-gallery figure { margin: 0; }
.post-gallery figure:only-child { grid-column: 1 / -1; }
.post-gallery img { width: 100%; height: auto; border-radius: 12px; }
.post-gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.post-video { margin: 32px 0; }
.post-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 12px; background: var(--mint); }
.post-video-portrait { max-width: 400px; }
.post-video-portrait iframe { aspect-ratio: 9 / 16; }
.post-video-square iframe { aspect-ratio: 1; }
.post-video video { display: block; width: 100%; height: auto; border-radius: 12px; }
.post-video figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.post-video .secondary-link { margin-top: 12px; }
.post-source { margin-top: 24px; font-size: 14px; }
.post-body .button { margin-top: 32px; }
.post-next { border-top: 1px solid var(--line); padding-top: 32px; }
.post-next-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.post-next h2 { font-size: 28px; margin: 0; }
.post-next-heading .secondary-link { margin: 0; padding-right: 8px; white-space: nowrap; }
.post-next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-next-card { display: flex; flex-direction: column; gap: 12px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.post-next-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.post-next-card:hover { color: var(--green); }
.post-next-date { margin-top: auto; font-size: 12px; font-weight: 400; color: var(--muted); }
.home-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-links a { border: 1px solid var(--line); border-radius: 12px; padding: 28px; background: var(--mint); }
.home-links a:hover { border-color: var(--green); }
.home-links span { display: block; margin-top: 20px; color: var(--green); }
.home-news { padding-bottom: 64px; }
.home-news > .secondary-link { margin-top: 20px; }
@media (max-width: 760px) {
  .blog-index, .blog-post { padding-block: 32px 48px; }
  .blog-heading { margin-bottom: 28px; }
  .blog-heading > p:last-child, .post-lede { font-size: 17px; }
  .blog-featured, .blog-grid, .home-links { grid-template-columns: 1fr; }
  .post-gallery { grid-template-columns: 1fr; }
  .post-next-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-next-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; font-size: 14px; }
  .post-next-card img { grid-row: 1 / 3; }
  .post-next-date { grid-column: 2; }
  .post-next h2 { font-size: 24px; }
  .blog-featured .blog-image { height: 320px; min-height: 0; }
  .blog-card-copy, .blog-featured .blog-card-copy { padding: 24px; }
  .blog-card h2 { font-size: 28px; }
  .blog-image img { height: 240px; }
  .post-body p { font-size: 17px; }
  .page-heading { padding-block: 32px 0; }
}
@media (max-width: 760px) {
  .hero-lede:not(.mobile-intro),
  .hero-subjects,
  .gallery-intro,
  #programs .section-heading > p,
  #projects .section-heading > p,
  .course-tag,
  .program-card > p,
  .gallery-grid figcaption > span,
  .project-content > p:not(.eyebrow),
  .contact-copy > p:not(.eyebrow) {
    display: none;
  }
  .mobile-intro {
    display: block;
  }
  .gallery-grid,
  .program-grid,
  .curriculum-grid,
  .project-grid,
  .news-list {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 16px;
    align-items: start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: #8dc9aa transparent;
  }
  .gallery-grid > *,
  .program-grid > *,
  .curriculum-grid > *,
  .project-grid > *,
  .news-list > * {
    min-width: 0;
    grid-column: auto;
    scroll-snap-align: start;
  }
  .news-list article + article {
    margin-top: 0;
    padding-top: 6px;
    border-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .program-card {
    transition: none;
  }
}
