:root {
  --green: #3f7034;
  --green-strong: #2f5b28;
  --green-dark: #10250f;
  --green-ink: #173a24;
  --sage: #dbe7d5;
  --sage-soft: #edf3e9;
  --cream: #f7f3e9;
  --cream-deep: #eee7d8;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #182018;
  --muted: #647064;
  --line: rgba(23, 58, 36, 0.14);
  --shadow: 0 24px 70px rgba(16, 37, 15, 0.13);
  --shell: min(1180px, calc(100% - 48px));
  --radius: 24px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #91bd51;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 124px 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 32px rgba(16, 37, 15, 0.05);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 100px;
  gap: 30px;
}

.brand {
  display: block;
  flex: 0 0 290px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 680;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--green-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 16px;
  padding: 13px 25px;
  color: var(--white);
  border: 1px solid var(--green-strong);
  border-radius: 999px;
  background: var(--green-strong);
  box-shadow: 0 12px 26px rgba(47, 91, 40, 0.2);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.2;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 16px 34px rgba(16, 37, 15, 0.2);
  transform: translateY(-2px);
}

.button span {
  font-size: 1.15rem;
}

.button-compact {
  min-height: 44px;
  padding: 10px 18px;
  box-shadow: none;
  font-size: 0.77rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: var(--green-strong);
  border-bottom: 1px solid rgba(47, 91, 40, 0.3);
  font-size: 0.86rem;
  font-weight: 750;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link:hover {
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.text-link-dark {
  margin-top: 14px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: #b7d691;
}

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

h1,
h2 {
  color: var(--green-dark);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--green);
  font-weight: 400;
}

h1 {
  max-width: 720px;
  margin-bottom: 30px;
  font-size: clamp(3.25rem, 5.7vw, 5.9rem);
}

h2 {
  margin-bottom: 30px;
  font-size: clamp(2.65rem, 4.4vw, 4.75rem);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding-top: 132px;
  background:
    radial-gradient(circle at 12% 22%, rgba(217, 232, 203, 0.68), transparent 31%),
    linear-gradient(118deg, var(--cream) 0%, #fbf9f4 63%, #edf3e9 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.11;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 119px,
    rgba(23, 58, 36, 0.18) 120px
  );
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(63, 112, 52, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-one {
  top: 18%;
  left: -180px;
  width: 430px;
  height: 430px;
}

.hero-orb-two {
  right: -110px;
  bottom: 7%;
  width: 310px;
  height: 310px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(55px, 8vw, 112px);
  min-height: calc(100svh - 250px);
  padding: 54px 0 65px;
}

.hero-copy {
  padding-bottom: 22px;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: #4e5c4e;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-note span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--green-strong);
  border-radius: 50%;
  background: var(--sage);
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-note a {
  color: var(--green-strong);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hero-visual {
  position: relative;
  max-width: 475px;
  justify-self: end;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.72;
  border-radius: 220px 220px 24px 24px;
  background: #d7d7dc;
  box-shadow: var(--shadow);
}

.hero-image-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.image-caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 18px 20px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  background: rgba(16, 37, 15, 0.75);
  backdrop-filter: blur(14px);
}

.image-caption strong,
.image-caption span {
  display: block;
}

.image-caption strong {
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.image-caption span {
  color: #dcebcf;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-seal {
  position: absolute;
  top: 14%;
  left: -42px;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 8px solid var(--cream);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 37, 15, 0.14);
}

.hero-seal img {
  width: 48px;
  height: 58px;
}

.value-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.value-strip div {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 18px;
  padding: 18px 34px;
  border-right: 1px solid var(--line);
}

.value-strip div:first-child {
  padding-left: 0;
}

.value-strip div:last-child {
  border-right: 0;
}

.value-strip span {
  color: #91a98b;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.value-strip strong {
  color: var(--green-ink);
  font-size: 0.77rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.about::after {
  position: absolute;
  z-index: 0;
  right: -160px;
  bottom: -240px;
  width: 480px;
  height: 480px;
  content: "";
  border: 1px solid var(--line);
  border-radius: 50%;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(70px, 11vw, 150px);
}

.about-visual {
  position: relative;
  max-width: 470px;
}

.about-image-wrap {
  overflow: hidden;
  aspect-ratio: 0.77;
  border-radius: 10px 180px 10px 10px;
  background: #d7d7dc;
  box-shadow: 0 24px 65px rgba(16, 37, 15, 0.11);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.vertical-note {
  position: absolute;
  top: 60px;
  left: -42px;
  margin: 0;
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.about-copy {
  max-width: 625px;
}

.about-copy h2 {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
}

.about-copy > p {
  max-width: 580px;
  color: var(--muted);
}

.about-copy .about-intro {
  color: #334033;
  font-size: 1.13rem;
}

blockquote {
  margin: 36px 0 18px;
  padding: 12px 0 12px 26px;
  border-left: 2px solid var(--green);
}

blockquote p {
  margin: 0;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-style: italic;
  line-height: 1.3;
}

.pathways {
  color: var(--white);
  background: var(--green-dark);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 62px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--white);
}

.section-heading h2 em {
  color: #b7d691;
}

.section-heading > p {
  margin: 0 0 5px;
  color: #bcc8ba;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.pathway-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 395px;
  padding: 38px;
  background: #142d13;
  transition: background 200ms ease, transform 200ms ease;
}

.pathway-card:hover {
  z-index: 1;
  background: #193718;
  transform: translateY(-5px);
}

.pathway-card-featured {
  color: var(--green-dark);
  background: #dfead7;
}

.pathway-card-featured:hover {
  background: #e9f1e3;
}

.card-number {
  color: #8fa98a;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.pathway-card-featured .card-number {
  color: var(--green);
}

.pathway-card h3 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.12;
}

.pathway-card p:not(.card-number) {
  color: #b9c7b8;
  font-size: 0.92rem;
}

.pathway-card-featured p:not(.card-number) {
  color: #4e604c;
}

.pathway-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 0.79rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.pathway-card-featured a {
  border-color: rgba(23, 58, 36, 0.18);
}

.pathway-card a span {
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.pathway-card a:hover span {
  transform: translateX(4px);
}

.course {
  background: var(--cream);
}

.course-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr 1.1fr 0.48fr;
  align-items: center;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(237, 243, 233, 0.78)),
    var(--white);
  box-shadow: 0 22px 65px rgba(16, 37, 15, 0.08);
}

.course-panel::before {
  position: absolute;
  top: -170px;
  right: -95px;
  width: 470px;
  height: 470px;
  content: "";
  border: 1px solid rgba(63, 112, 52, 0.14);
  border-radius: 50%;
}

.course-mark {
  display: grid;
  height: 100%;
  place-items: center;
  border-right: 1px solid var(--line);
}

.course-mark img {
  width: clamp(82px, 9vw, 126px);
}

.course-copy {
  max-width: 670px;
  padding: 76px clamp(44px, 6vw, 82px);
}

.course-copy h2 {
  margin-bottom: 12px;
}

.course-subtitle {
  margin-bottom: 25px;
  color: var(--green-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.course-copy > p:not(.eyebrow):not(.course-subtitle) {
  max-width: 560px;
  margin-bottom: 31px;
  color: var(--muted);
}

.course-detail {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  color: rgba(63, 112, 52, 0.18);
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.7;
  text-align: center;
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(60px, 10vw, 130px);
}

.faq-heading {
  position: sticky;
  top: 124px;
}

.faq-heading h2 {
  margin-bottom: 24px;
}

.faq-heading > p:last-child {
  max-width: 430px;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 22px 58px 22px 0;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 4px;
  display: grid;
  width: 38px;
  height: 38px;
  content: "+";
  place-items: center;
  color: var(--green-strong);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 1.2rem;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-list details[open] summary::after {
  color: var(--white);
  background: var(--green-strong);
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 670px;
  margin: -3px 58px 28px 0;
  color: var(--muted);
}

.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 0%, rgba(116, 151, 78, 0.33), transparent 34%),
    var(--green-ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.7fr);
  align-items: center;
  gap: clamp(70px, 12vw, 160px);
}

.contact-copy h2 {
  max-width: 650px;
  color: var(--white);
}

.contact-copy h2 em {
  color: #b7d691;
}

.contact-copy > p:last-child {
  max-width: 590px;
  color: #c2cdc0;
}

.contact-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  padding: 20px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: padding 180ms ease, background 180ms ease;
}

.contact-row:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-row span,
.contact-row small,
.contact-row strong {
  display: block;
}

.contact-row small {
  margin-bottom: 4px;
  color: #aabd9f;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-row strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.contact-row b {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 400;
}

.site-footer {
  padding: 64px 0 28px;
  background: var(--paper);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-brand {
  width: 220px;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--green-dark);
  font-size: 0.77rem;
  font-weight: 720;
}

.footer-main nav a:hover,
.footer-note a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-note {
  padding: 27px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-note p {
  max-width: 940px;
  margin: 5px 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 26px;
  color: #7a8479;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-page,
.error-page {
  min-height: 100svh;
  padding-top: 86px;
  background:
    radial-gradient(circle at 90% 0%, rgba(219, 231, 213, 0.7), transparent 31%),
    var(--paper);
}

.legal-header .header-inner {
  justify-content: space-between;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--green-strong);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 750;
}

.legal-hero {
  padding: 94px 0 54px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.5vw, 6rem);
}

.legal-hero > p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.legal-content {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: clamp(45px, 9vw, 120px);
  padding-top: 72px;
  padding-bottom: 108px;
}

.legal-summary {
  position: sticky;
  top: 116px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.66);
}

.legal-summary strong,
.legal-summary span {
  display: block;
}

.legal-summary strong {
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.25;
}

.legal-summary span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.legal-body section + section {
  margin-top: 48px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.legal-body h2 {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.legal-body p,
.legal-body li {
  color: #536053;
}

.legal-body ul {
  margin: 20px 0;
  padding-left: 21px;
}

.legal-body li + li {
  margin-top: 10px;
}

.legal-body a {
  color: var(--green-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 28px 0;
  padding: 23px 25px;
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: var(--sage-soft);
}

.legal-callout p {
  margin: 0;
  color: var(--green-ink);
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 110px 0 60px;
}

.error-panel {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  padding: clamp(48px, 8vw, 92px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  text-align: center;
}

.error-code {
  margin: 0 0 14px;
  color: rgba(63, 112, 52, 0.25);
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 0.8;
}

.error-panel h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.error-panel > p:not(.error-code) {
  max-width: 580px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  :root {
    --shell: min(100% - 40px, 920px);
  }

  .header-inner {
    gap: 18px;
  }

  .brand {
    flex-basis: 240px;
  }

  .main-nav {
    gap: 20px;
  }

  .main-nav a {
    font-size: 0.78rem;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 52px;
  }

  .hero-image-frame {
    border-radius: 170px 170px 22px 22px;
  }

  .about-grid {
    gap: 85px;
  }

  .section-heading {
    gap: 45px;
  }

  .pathway-card {
    min-height: 390px;
    padding: 30px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
    gap: 60px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .faq-heading {
    position: static;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 34px, 680px);
  }

  .section {
    padding: 92px 0;
  }

  .site-header,
  .site-header.is-scrolled {
    background: rgba(255, 253, 248, 0.96);
  }

  .header-inner {
    min-height: 82px;
  }

  .brand {
    flex-basis: 214px;
  }

  .js .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .js .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .js .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .js .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .js .main-nav {
    position: fixed;
    top: 82px;
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    height: calc(100svh - 82px);
    padding: 34px max(24px, calc((100vw - 680px) / 2));
    background: var(--paper);
    transform: translateX(105%);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 400;
  }

  .main-nav a::after {
    display: none;
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    padding: 10px 0 13px;
  }

  html:not(.js) .main-nav {
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    order: 3;
    width: 100%;
    margin: 0;
    gap: 6px 16px;
  }

  html:not(.js) .main-nav a {
    min-height: 44px;
    border: 0;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
  }

  html:not(.js) .hero {
    padding-top: 148px;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 72px 0 42px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    width: min(100%, 520px);
    max-width: none;
    justify-self: center;
  }

  .hero-image-frame {
    aspect-ratio: 0.9;
    border-radius: 240px 240px 22px 22px;
  }

  .hero-image-frame > img {
    object-position: 50% 28%;
  }

  .hero-seal {
    left: -5px;
  }

  .value-strip {
    grid-template-columns: 1fr;
    padding-bottom: 18px;
  }

  .value-strip div,
  .value-strip div:first-child {
    min-height: 60px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-strip div:last-child {
    border-bottom: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .about-visual {
    width: min(90%, 520px);
    margin-left: 7%;
  }

  .about-image-wrap {
    aspect-ratio: 0.82;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > p {
    max-width: 560px;
  }

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

  .pathway-card {
    min-height: 320px;
  }

  .course-panel {
    grid-template-columns: 1fr;
  }

  .course-mark {
    height: 145px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .course-copy {
    padding: 55px 42px 64px;
  }

  .course-detail {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .legal-content {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 76px 0;
  }

  .brand {
    flex-basis: 202px;
  }

  .hero-grid {
    gap: 46px;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 4.45rem);
  }

  h2 {
    font-size: clamp(2.6rem, 12.5vw, 3.8rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

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

  .hero-image-frame {
    aspect-ratio: 0.82;
    border-radius: 180px 180px 18px 18px;
  }

  .image-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 15px 17px;
  }

  .hero-seal {
    top: 12%;
    width: 76px;
    height: 76px;
    border-width: 6px;
  }

  .hero-seal img {
    width: 39px;
    height: 48px;
  }

  .about-visual {
    width: calc(100% - 18px);
    margin-left: 18px;
  }

  .about-image-wrap {
    border-radius: 8px 130px 8px 8px;
  }

  .vertical-note {
    left: -26px;
  }

  .pathway-card {
    min-height: 300px;
    padding: 28px;
  }

  .course-panel {
    border-radius: 18px;
  }

  .course-copy {
    padding: 48px 26px 56px;
  }

  .course-copy .button {
    width: 100%;
    text-align: center;
  }

  .contact-row {
    min-height: 92px;
  }

  .faq-list summary {
    min-height: 82px;
    padding-right: 50px;
  }

  .faq-list details p {
    margin-right: 0;
  }

  .contact-row strong {
    font-size: 1.28rem;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main nav {
    display: grid;
    gap: 13px;
  }

  .footer-bottom {
    gap: 6px;
  }

  .legal-page {
    padding-top: 82px;
  }

  .legal-header .brand {
    flex-basis: 190px;
  }

  .legal-back {
    font-size: 0.7rem;
  }

  .legal-hero {
    padding-top: 68px;
  }

  .legal-content {
    padding-top: 54px;
    padding-bottom: 80px;
  }

  .error-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
