/* Brand direction: contemporary educational editorial. Variance 6, motion 2, density 3.
   Layers: header 10; keyboard skip link 20. No external runtime dependencies. */
:root {
  --ink: #142e43;
  --paper: #faf8f3;
  --muted: #53616b;
  --line: #d4d9d6;
  --coral: #f28a73;
  --soft: #e9efed;
  --white: #fffdf8;
  --display: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #bd4d35;
  outline-offset: 5px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #bd4d35;
  outline-offset: 2px;
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin: auto;
}
.review {
  padding: 8px 24px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  text-align: center;
}
.review span {
  opacity: 0.8;
  margin-left: 22px;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: var(--coral);
  z-index: 20;
}
.skip:focus {
  top: 15px;
}
header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  font-weight: 800;
  letter-spacing: -5px;
  font-size: 51px;
  line-height: 1;
}
.brand-mark > span {
  color: #cf563e;
}
.brand-name {
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.45;
  font-weight: 700;
}
nav {
  display: flex;
  gap: 27px;
  font-size: 13px;
  font-weight: 600;
}
nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--coral);
  color: #142e43;
  padding: 15px 23px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 3px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  background: #f6a08b;
  transform: translateY(-2px);
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.button.small {
  font-size: 12px;
  padding: 12px 16px;
  gap: 16px;
}
.menu {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  padding-top: 56px;
  padding-bottom: 70px;
  align-items: center;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 23px;
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
h1 {
  font-family: var(--display);
  font-size: clamp(44px, 4.2vw, 61px);
  line-height: 1.08;
  letter-spacing: -2.6px;
  font-weight: 650;
  margin-bottom: 25px;
}
em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 em {
  color: #315a67;
}
.intro {
  font-size: 16px;
  max-width: 425px;
  color: var(--muted);
  margin-bottom: 28px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
}
.text-link:hover {
  color: #a53e28;
}
.helper {
  font-size: 11px;
  color: var(--muted);
  margin: 17px 0 0;
}
.hero-photo {
  margin: 0;
  min-width: 0;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 160px 3px 3px 3px;
}
.hero-photo figcaption {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  padding-top: 10px;
}
.photo-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 21px;
  font-size: 12px;
  line-height: 1.5;
}
.hello {
  font-family: Georgia, serif;
  font-size: 26px;
  font-style: italic;
  line-height: 1.05;
  color: #315a67;
}
.section-heading {
  max-width: 660px;
  margin-bottom: 45px;
}
h2 {
  font-size: clamp(34px, 3.7vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 600;
  margin-bottom: 23px;
}
.section-heading > p:last-child {
  color: var(--muted);
  max-width: 520px;
  font-size: 15px;
}
.programs {
  padding-top: 70px;
  padding-bottom: 92px;
  border-top: 1px solid var(--line);
}
.program-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.program-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.program-tabs button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  text-align: left;
  color: var(--ink);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
}
.program-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
}
.program-tabs button:hover {
  box-shadow: inset 0 0 0 1px var(--line);
}
.program-tabs span {
  font-size: 20px;
  font-weight: 600;
}
.program-tabs small {
  font-size: 13px;
  grid-row: 2;
}
.program-tabs b {
  grid-column: 2;
  grid-row: 1/3;
  font-size: 24px;
  font-weight: 400;
  align-self: center;
}
.program-panel {
  background: var(--soft);
  border-radius: 3px;
  padding: 38px 42px;
  min-height: 485px;
}
.program-panel[hidden] {
  display: none;
}
.program-panel h3 {
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin-bottom: 18px;
}
.program-panel > p {
  font-size: 14px;
}
.program-panel .eyebrow {
  font-size: 10px;
}
dl {
  margin: 28px 0;
}
dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  margin: 17px 0;
}
dt {
  font-size: 13px;
  font-weight: 700;
}
dd {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.note {
  color: var(--muted);
  font-size: 12px !important;
}
.program-foot {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
}
.learning {
  background: var(--ink);
  color: var(--white);
  padding: 90px 0;
}
.learning .section-heading > p:last-child {
  color: #ced8de;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: 1px solid #82939f;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  font-size: 17px;
  margin-bottom: 28px;
}
.steps h3 {
  font-size: 23px;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 18px;
}
.steps p {
  font-size: 14px;
  color: #ced8de;
  max-width: 300px;
}
.academy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-top: 110px;
  padding-bottom: 110px;
  align-items: center;
}

.academy-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}
.plain-list {
  padding-left: 18px;
  font-size: 13px;
  margin: 28px 0;
}
.plain-list li {
  margin-bottom: 10px;
}
.levels {
  padding-top: 70px;
  padding-bottom: 85px;
  border-top: 1px solid var(--line);
}
.level-path {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 45px 0;
  gap: 6px;
}
.level-path > div {
  padding: 22px 20px;
  background: var(--soft);
  border-bottom: 4px solid #8daba6;
}
.level-path strong {
  display: block;
  font-size: 34px;
  letter-spacing: -1px;
  font-weight: 500;
}
.level-path span {
  font-size: 11px;
}
.level-explain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.level-explain h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.level-explain p {
  font-size: 13px;
  color: var(--muted);
}
.reference {
  display: inline-block;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 20px;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-top: 75px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
}
.faq > div > p:last-child {
  font-size: 14px;
  color: var(--muted);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px 20px 0;
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 21px;
  font-weight: 400;
  top: 15px;
}
details[open] summary:after {
  content: "−";
}
details p {
  color: var(--muted);
  font-size: 14px;
  padding-right: 24px;
  margin-bottom: 22px;
}
.contact {
  background: #e8eeea;
  padding: 90px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 105px;
}
.contact h2 {
  font-size: 49px;
}
.contact h2 em {
  color: #315a67;
}
.contact-grid > div > p:not(.eyebrow) {
  font-size: 15px;
  max-width: 330px;
}
.contact-data {
  margin-top: 40px;
}
.contact-data > span {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-top: 26px;
  margin-bottom: 9px;
}
.contact-data a {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.contact-data p {
  font-size: 13px;
  margin-bottom: 8px;
  max-width: 350px;
}
form {
  background: var(--white);
  padding: 36px;
  border-radius: 3px;
}
form h3 {
  font-size: 25px;
  line-height: 1.25;
  margin-bottom: 9px;
}
form > p {
  font-size: 12px;
  color: var(--muted);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 19px 0 7px;
}
label span {
  font-weight: 400;
  color: var(--muted);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--paper);
  border: 1px solid #bdc8c5;
  border-radius: 2px;
  font-size: 13px;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
form .button {
  width: 100%;
  margin-top: 22px;
  font-size: 13px;
}
.form-note {
  font-size: 10px !important;
  line-height: 1.6;
  margin: 15px 0 0;
}
#email-fallback {
  margin-top: 25px;
  font-size: 12px;
}
#prepared-message {
  font-size: 12px;
}
footer {
  padding-top: 42px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
}
footer > p {
  font-size: 12px;
  margin-bottom: 0;
}
footer > a:not(.brand) {
  font-size: 11px;
  text-decoration: underline;
}
footer small {
  grid-column: 1/-1;
  font-size: 10px;
  color: var(--muted);
  padding-top: 18px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1024px) and (max-width: 1200px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 32px;
  }
  .nav {
    gap: 16px;
  }
  nav {
    gap: 18px;
    font-size: 12px;
  }
  .hero-photo img {
    height: auto;
  }
  .contact-grid {
    gap: 60px;
  }
  .actions {
    gap: 14px;
  }
}
@media (max-width: 1023px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .nav {
    min-height: 80px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .nav-cta {
    margin-left: auto;
  }
  .menu {
    display: block;
    order: 3;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 8px 12px;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
  }
  .menu span {
    margin-left: 8px;
  }
  nav {
    display: none;
    order: 4;
    width: 100%;
    padding: 5px 0 20px;
    justify-content: space-between;
  }
  nav.open {
    display: flex;
  }
  .hero {
    gap: 30px;
    padding-top: 40px;
  }
  .hero-photo img {
    height: auto;
    border-top-left-radius: 110px;
  }
  h1 {
    font-size: 45px;
  }
  .actions {
    gap: 15px;
  }
  .program-layout {
    gap: 24px;
  }
  .program-panel {
    padding: 30px;
  }
  .program-tabs button {
    padding: 20px;
  }
  .program-tabs span {
    font-size: 17px;
  }
  .academy {
    gap: 45px;
  }

  .faq {
    gap: 45px;
  }
  .contact-grid {
    gap: 40px;
  }
  .contact h2 {
    font-size: 40px;
  }
  form {
    padding: 25px;
  }
  dl div {
    grid-template-columns: 120px 1fr;
  }
  .steps {
    gap: 30px;
  }
  .level-path > div {
    padding: 18px 14px;
  }
  .level-explain {
    gap: 25px;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .review {
    font-size: 10px;
    padding: 7px 10px;
  }
  .review span {
    display: none;
  }
  .nav {
    min-height: 75px;
    gap: 12px;
  }
  .brand-mark {
    font-size: 43px;
  }
  .brand-name {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .nav-cta {
    display: none;
  }
  .menu {
    margin-left: auto;
  }
  nav.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 35px;
    padding-bottom: 45px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: clamp(40px, 10.5vw, 56px);
    line-height: 1.09;
    letter-spacing: -2px;
    margin-bottom: 22px;
  }
  .intro {
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 390px;
  }
  .actions {
    gap: 17px;
  }
  .button {
    padding: 14px 18px;
    font-size: 13px;
  }
  .text-link {
    font-size: 12px;
    gap: 14px;
  }
  .helper {
    font-size: 10px;
  }
  .hero-photo img {
    height: auto;
    border-top-left-radius: 100px;
  }
  .photo-bottom {
    padding-top: 16px;
  }
  .hero-photo figcaption {
    font-size: 9px;
  }
  .hello {
    font-size: 23px;
  }
  .programs {
    padding-top: 48px;
    padding-bottom: 45px;
  }
  h2 {
    font-size: 36px;
    letter-spacing: -1.3px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading > p:last-child {
    font-size: 14px;
  }
  .program-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .program-tabs {
    gap: 6px;
  }
  .program-tabs button {
    padding: 15px 17px;
  }
  .program-tabs span {
    font-size: 16px;
  }
  .program-tabs small {
    font-size: 11px;
  }
  .program-panel {
    padding: 27px 23px;
    min-height: 0;
  }
  .program-panel h3 {
    font-size: 29px;
  }
  dl div {
    grid-template-columns: 1fr;
    gap: 3px;
    margin: 20px 0;
  }
  .program-foot {
    font-size: 10px;
  }
  .learning {
    padding: 55px 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 22px;
  }
  .step-number {
    grid-row: 1/3;
    margin-top: 3px;
  }
  .steps h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .steps p {
    grid-column: 2;
    max-width: none;
    margin-bottom: 0;
  }
  .academy {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .levels {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .level-path {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin: 30px 0;
  }
  .level-path > div {
    padding: 15px;
  }
  .level-path strong {
    font-size: 30px;
  }
  .level-explain {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .level-explain h3 {
    margin-bottom: 7px;
  }
  .level-explain p {
    margin-bottom: 0;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 50px;
    padding-bottom: 55px;
  }
  summary {
    font-size: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .contact {
    padding: 55px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .contact h2 {
    font-size: 41px;
  }
  .contact-data {
    margin-top: 28px;
  }
  form {
    padding: 26px 22px;
  }
  form h3 {
    font-size: 24px;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 35px;
    padding-bottom: 30px;
  }
  footer small {
    padding-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.section-photo {
  margin: 0;
  min-width: 0;
}
.section-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
}
.section-photo figcaption {
  font-size: 10px;
  line-height: 1.5;
  margin-top: 10px;
  color: var(--muted);
}
.academy-photo img {
  aspect-ratio: auto;
  object-position: center;
}
.learning-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 55px;
}
.learning-intro .section-heading {
  margin-bottom: 0;
  grid-column: 1;
  grid-row: 1;
}
.guidance-photo {
  grid-column: 2;
  grid-row: 1;
}
.guidance-photo img {
  aspect-ratio: auto;
  object-position: center;
}
.learning .section-photo figcaption {
  color: #ced8de;
}
@media (max-width: 1023px) {
  .learning-intro {
    gap: 35px;
  }
}
@media (max-width: 767px) {
  .learning-intro {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 38px;
  }
  .learning-intro .section-heading {
    grid-column: auto;
    grid-row: 1;
  }
  .guidance-photo {
    grid-column: auto;
    grid-row: 2;
  }
  .guidance-photo img {
    aspect-ratio: auto;
  }
  .academy-photo img {
    aspect-ratio: auto;
  }
}

/* Final polish: retain the editorial composition and existing brand. */
:root {
  --focus: #a23e29;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.wrap,
.hero-copy,
.academy-copy,
.contact-grid > div,
.program-panel {
  min-width: 0;
}
.button,
.text-link,
.menu,
nav a,
summary {
  touch-action: manipulation;
}
.button,
.menu {
  min-height: 44px;
}
.text-link {
  min-height: 44px;
}
button.text-link {
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}
.button {
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}
.button:active,
.menu:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline-color: var(--focus);
}
.learning :focus-visible {
  outline-color: var(--coral);
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
nav a[aria-current="location"] {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}
.program-tabs button {
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}
.program-tabs button:active {
  box-shadow: inset 0 0 0 2px var(--coral);
}
.program-panel {
  display: flex;
  flex-direction: column;
  min-height: 455px;
}
.program-panel .text-link {
  margin-top: auto;
  align-self: flex-start;
}
.program-panel .note {
  margin-bottom: 20px;
}
.hero-photo figcaption,
.section-photo figcaption,
.form-note {
  font-size: 11px !important;
}
.program-foot,
.helper {
  font-size: 12px;
  line-height: 1.6;
}
.hero-copy .intro {
  max-width: 440px;
}
.steps li {
  min-width: 0;
}
.step-number {
  font-variant-numeric: tabular-nums;
}
.field-hint,
.field-error {
  font-size: 12px;
  line-height: 1.55;
  margin: 8px 0 0;
}
.field-hint {
  color: var(--muted);
}
.field-error {
  color: #9d3227;
}
.form-errors {
  border-left: 3px solid #9d3227;
  padding: 12px 14px;
  background: #fff1ed;
  color: #8b2b22;
  font-size: 13px;
  margin-bottom: 24px;
}
[aria-invalid="true"] {
  border-color: #9d3227;
}
input,
select,
textarea {
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #718982;
}
input:focus,
select:focus,
textarea:focus {
  background: var(--white);
}
#goal-status:empty {
  display: none;
}
#email-fallback {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
#prepared-title {
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 14px;
}
#email-fallback .button {
  margin: 0 0 10px;
}
#email-fallback .text-link {
  margin-right: 18px;
}
#prepared-message {
  margin-top: 14px;
}
#copy-status {
  color: var(--muted);
  font-size: 12px;
}
summary {
  min-height: 52px;
  transition: color 180ms ease;
}
summary:hover {
  color: #a23e29;
}
summary:active {
  color: var(--ink);
}
.reference {
  min-height: 44px;
  padding-block: 12px;
}
.contact-data a {
  display: inline-block;
  padding-block: 8px;
  min-height: 44px;
}
footer > a:not(.brand) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@media (hover: hover) {
  .text-link:hover span,
  .button:hover span {
    transform: translate(2px, -2px);
  }
  .text-link span,
  .button span {
    transition: transform 180ms ease;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-enter {
    animation: section-enter 500ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
  nav.open {
    animation: menu-enter 180ms ease-out;
  }
}
@keyframes section-enter {
  from {
    opacity: 0.4;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1023px) {
  .menu {
    padding: 10px 14px;
  }
  nav.open {
    gap: 12px 20px;
  }
  nav a {
    padding-block: 6px;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: clamp(37px, 10.3vw, 52px);
    letter-spacing: -1.8px;
  }
  h2 {
    font-size: clamp(31px, 8.8vw, 36px);
  }
  .hero {
    padding-top: 32px;
  }
  .hero .actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero .button {
    min-height: 50px;
  }
  .hero .helper {
    max-width: 32ch;
  }
  .intro {
    line-height: 1.65;
  }
  .program-panel {
    min-height: 0;
  }
  .program-panel .text-link {
    margin-top: 8px;
  }
  .steps h3 br {
    display: none;
  }
  .contact h2 {
    font-size: clamp(34px, 10.5vw, 41px);
  }
  form {
    padding: 26px 20px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 48px;
  }
  form .button {
    white-space: normal;
    line-height: 1.45;
    text-align: left;
    min-height: 50px;
    gap: 12px;
  }
  .contact-data a {
    font-size: 12px;
  }
  .program-tabs small {
    font-size: 12px;
  }
  .hero-photo img {
    height: auto;
    aspect-ratio: auto;
    object-position: center;
    border-radius: 3px;
  }
  .section-photo figcaption,
  .hero-photo figcaption {
    line-height: 1.6;
  }
}
@media (max-width: 359px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .brand {
    gap: 10px;
  }
  .brand-name {
    letter-spacing: 1.1px;
  }
  .program-tabs button {
    padding: 15px;
    column-gap: 10px;
  }
  .program-tabs span {
    font-size: 15px;
  }
  .program-panel {
    padding: 25px 20px;
  }
  .program-panel h3 {
    font-size: 27px;
  }
  .contact-data a {
    font-size: 11px;
  }
  .contact h2 br:first-of-type {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-enter,
  nav.open {
    animation: none !important;
  }
  .button:hover,
  .button:active,
  .menu:active,
  .text-link:hover span,
  .button:hover span {
    transform: none;
  }
}

/* Vector arrows render consistently on mobile and desktop. */
.arrow-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: -0.18em;
  overflow: visible;
}
.arrow-icon path {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button .arrow-icon,
.program-tabs .arrow-icon {
  width: 22px;
  height: 22px;
}
