:root {
  --refresh-max: 1160px;
}

.hero {
  --hero-height: 850px;
  position: relative;
  min-height: var(--hero-height);
  place-items: start center;
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  display: none;
}

.hero__art {
  display: grid;
  place-items: center;
  background: var(--paper);
}

.hero__art img {
  width: min(100%, calc(var(--hero-height) * 1.72));
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.hero__art picture {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--paper);
}

.hero__content {
  z-index: 2;
  width: min(calc(100% - 64px), 690px);
  align-items: center;
  padding-block: 82px 64px;
  translate: none;
  text-align: center;
}

.hero__label {
  --caption-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

.hero__heading {
  right: auto;
  width: 100%;
  height: auto;
  margin-block-start: 28px;
  align-items: center;
  gap: 0;
  font-size: clamp(48px, 4vw, 58px);
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__line,
.hero__line:first-child,
.hero__line:last-child {
  position: static;
  width: auto;
  height: auto;
  flex: none;
  white-space: nowrap;
}

.hero__lead {
  max-width: 600px;
  margin-block-start: 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-block-start: 30px;
  border-block: 1px solid rgb(39 58 51 / 0.3);
}

.hero__facts span {
  padding: 10px 18px;
  border-right: 1px solid rgb(39 58 51 / 0.24);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.hero__facts span:first-child {
  padding-left: 0;
}

.hero__facts span:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero__cta {
  width: 280px;
  min-height: 58px;
  margin-block-start: 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

.hero__note {
  margin-block-start: 12px;
  color: rgb(39 58 51 / 0.72);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.chapter--about {
  padding-block: 128px;
}

.intro-grid {
  gap: clamp(48px, 7vw, 96px);
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1.52fr);
}

.chapter__index strong {
  font-size: clamp(130px, 16vw, 220px);
}

.chapter__copy .section-heading {
  max-width: 860px;
  font-size: clamp(44px, 5.1vw, 70px);
}

.audience-panel {
  display: grid;
  align-items: start;
  gap: 52px;
  margin-block-start: 76px;
  padding-block: 34px;
  border-block: 1px solid rgb(39 58 51 / 0.2);
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
}

.audience-panel__intro .eyebrow {
  margin-block-end: 12px;
}

.audience-panel__intro h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 500;
  line-height: 1.45;
}

.audience-panel ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-panel li {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 4px 22px 4px 24px;
  border-left: 1px solid rgb(39 58 51 / 0.18);
}

.audience-panel li b {
  color: #b98916;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.audience-panel li span {
  font-size: 14px;
  line-height: 1.85;
}

.change-strip {
  display: grid;
  margin-block-start: 72px;
  border-block: 1px solid rgb(39 58 51 / 0.2);
  grid-template-columns: repeat(3, 1fr);
}

.change-strip article {
  min-width: 0;
  padding: 34px 30px 38px;
  border-right: 1px solid rgb(39 58 51 / 0.2);
}

.change-strip article:last-child {
  border-right: 0;
}

.change-strip b {
  color: #b98916;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.change-strip p {
  display: flex;
  margin: 20px 0 0;
  flex-direction: column;
  font-family: var(--font-heading);
}

.change-strip span {
  color: rgb(39 58 51 / 0.58);
  font-size: 15px;
}

.change-strip span::after {
  margin-inline-start: 8px;
  content: '→';
}

.change-strip strong {
  margin-block-start: 4px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.45;
}

.proof-band {
  margin-block-start: 72px;
  padding: 50px 48px 44px;
  background: #273a33;
  color: #fffaf0;
}

.proof-band__header {
  display: grid;
  align-items: end;
  gap: 56px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.proof-band .eyebrow {
  margin-block-end: 12px;
  color: #e6b633;
}

.proof-band h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.45;
}

.proof-band__header > p {
  margin: 0;
  color: rgb(255 250 240 / 0.78);
  font-size: 15px;
  line-height: 2;
}

.proof-cases {
  display: grid;
  margin-block-start: 38px;
  border-block: 1px solid rgb(255 250 240 / 0.2);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-cases article {
  min-width: 0;
  padding: 28px 24px 30px;
  border-right: 1px solid rgb(255 250 240 / 0.18);
}

.proof-cases article:first-child {
  padding-left: 0;
}

.proof-cases article:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-cases b {
  color: #e6b633;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.proof-cases p {
  margin: 15px 0 0;
  color: rgb(255 250 240 / 0.58);
  font-size: 12px;
  line-height: 1.7;
}

.proof-cases p::after {
  margin-inline-start: 7px;
  content: '→';
}

.proof-cases strong {
  display: block;
  margin-block-start: 5px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.55;
}

.proof-cases small {
  display: block;
  margin-block-start: 12px;
  color: rgb(255 250 240 / 0.68);
  font-size: 11px;
  line-height: 1.75;
}

.proof-band__bridge {
  margin: 28px 0 0;
  color: #fffaf0;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.75;
  text-align: center;
}

.story-notes {
  padding-block: 128px;
}

.section-intro {
  gap: 56px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.section-intro .section-heading {
  font-size: clamp(46px, 5.2vw, 72px);
}

.note-grid {
  align-items: stretch;
  gap: 28px;
}

.note-card {
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
}

.note-card__art {
  height: 330px;
  overflow: hidden;
  background: #eee4d0;
}

.note-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note-card__art picture {
  display: block;
  width: 100%;
  height: 100%;
}

.note-card__body {
  display: flex;
  padding: 46px 48px 52px;
  flex: 1;
  flex-direction: column;
}

.note-card h3 {
  min-block-size: calc(3 * 1.4em);
  margin-block-start: 26px;
  color: currentColor;
  font-size: clamp(31px, 3.3vw, 46px);
  line-height: 1.4;
  text-wrap: balance;
}

.note-card__body > p:not(.note-card__seed) {
  margin-block-start: 26px;
  color: var(--ink);
  font-size: 15px;
  line-height: 2;
}

.note-card ol {
  margin-block-start: auto;
  padding-block-start: 32px;
}

.note-card li {
  grid-template-columns: 72px 1fr;
  line-height: 1.7;
}

.invitation {
  padding-block: 128px;
}

.invitation-grid {
  gap: 88px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
}

.invitation .section-heading {
  font-size: clamp(42px, 4.8vw, 66px);
}

.invitation-list span {
  display: flex;
  flex-direction: column;
}

.invitation-list strong {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
}

.invitation-list small {
  margin-block-start: 5px;
  color: rgb(255 250 240 / 0.65);
  font-size: 13px;
  line-height: 1.7;
}

.program {
  padding-block: 128px;
}

.program-grid {
  gap: 84px;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
}

.program .section-heading {
  font-size: clamp(44px, 5vw, 68px);
}

.academy-context {
  padding-block: 0 112px;
}

.academy-context__card {
  position: relative;
  display: grid;
  align-items: center;
  gap: 64px;
  padding: 52px 58px;
  border: 1px solid rgb(39 58 51 / 0.18);
  background: #efe4cf;
  grid-template-columns: 170px minmax(0, 1fr);
}

.academy-context__card::before {
  position: absolute;
  top: -12px;
  left: 54px;
  width: 68px;
  height: 24px;
  background: rgb(216 163 32 / 0.72);
  content: '';
  rotate: -2deg;
}

.academy-context__stamp {
  display: grid;
  width: 158px;
  height: 158px;
  place-content: center;
  border: 1px dashed rgb(39 58 51 / 0.42);
  border-radius: 50%;
  text-align: center;
}

.academy-context__stamp strong {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.9;
}

.academy-context__stamp span {
  margin-block-start: 12px;
  color: #b4553c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.academy-context__copy .eyebrow {
  margin-block-end: 12px;
}

.academy-context__copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.35;
}

.academy-context__copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 2;
}

.academy-context__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 26px;
  padding-block-end: 6px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.academy-context__link span {
  color: #b4553c;
}

.academy-context__link:hover {
  color: #b4553c;
}

.academy-context__link:focus-visible {
  outline: 3px solid #d8a320;
  outline-offset: 5px;
}

.application {
  padding-block: 112px;
}

.application-card__title .section-heading {
  font-size: clamp(44px, 5.2vw, 70px);
}

.application-actions p strong {
  color: var(--ink);
}

.faq {
  padding-block: 112px;
}

.faq .section-heading {
  font-size: clamp(44px, 5vw, 68px);
}

.closing {
  padding-block: 120px;
}

.closing .section-heading {
  font-size: clamp(44px, 5.4vw, 72px);
}

.closing__link {
  width: min(320px, 100%);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    --hero-height: 820px;
  }

  .hero__art img {
    object-fit: contain;
    object-position: 50% 100%;
  }

  .hero__content {
    width: min(calc(100% - 48px), 640px);
    padding-block-start: 56px;
  }

  .note-card h3 {
    min-block-size: 0;
  }

  .intro-grid,
  .section-intro,
  .invitation-grid,
  .program-grid,
  .audience-panel,
  .proof-band__header {
    grid-template-columns: 1fr;
  }

  .chapter__index {
    display: none;
  }

  .section-intro .section-lead {
    margin: 0;
  }

  .audience-panel,
  .proof-band__header {
    gap: 20px;
  }

  .invitation-grid,
  .program-grid {
    gap: 56px;
  }

  .academy-context__card {
    gap: 44px;
    padding-inline: 44px;
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .academy-context__stamp {
    width: 132px;
    height: 132px;
  }

  .academy-context__stamp strong {
    font-size: 54px;
  }
}

@media (max-width: 767px) {
  .hero {
    --hero-height: 790px;
  }

  .hero__art {
    display: grid;
    place-items: end center;
  }

  .hero__art picture {
    display: grid;
    place-items: end center;
  }

  .hero__art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 100%;
  }

  .hero__content {
    width: min(calc(100% - 40px), 560px);
    padding-block-start: 48px;
  }

  .hero__label {
    --caption-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero__heading {
    width: 100%;
    margin-block-start: 22px;
    font-size: clamp(39px, 11.3vw, 50px);
    line-height: 1.28;
  }

  .hero__line,
  .hero__line:first-child,
  .hero__line:last-child {
    white-space: normal;
  }

  .hero__lead {
    margin-block-start: 20px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero__lead br {
    display: none;
  }

  .hero__facts {
    margin-block-start: 20px;
  }

  .hero__facts span {
    padding: 8px 10px;
    font-size: 10px;
  }

  .hero__facts span:first-child {
    padding-left: 0;
  }

  .hero__cta {
    width: min(280px, 100%);
    min-height: 54px;
    margin-block-start: 20px;
    font-size: 15px;
  }

  .hero__note {
    max-width: 300px;
    font-size: 11px;
  }

  .chapter--about,
  .story-notes,
  .invitation,
  .program,
  .application,
  .faq,
  .closing {
    padding-block: 76px;
  }

  .academy-context {
    padding-block: 0 76px;
  }

  .chapter__copy .section-heading,
  .section-intro .section-heading,
  .invitation .section-heading,
  .program .section-heading,
  .application-card__title .section-heading,
  .faq .section-heading,
  .closing .section-heading {
    font-size: clamp(36px, 10.4vw, 48px);
    line-height: 1.3;
  }

  .chapter__copy p:not(.eyebrow) {
    margin-block-start: 24px;
    line-height: 2;
  }

  .audience-panel {
    gap: 28px;
    margin-block-start: 52px;
    padding-block: 28px;
  }

  .audience-panel__intro h3 {
    font-size: 27px;
  }

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

  .audience-panel li {
    padding: 18px 0;
    border-bottom: 1px solid rgb(39 58 51 / 0.18);
    border-left: 0;
    grid-template-columns: 34px 1fr;
  }

  .audience-panel li:first-child {
    padding-top: 0;
  }

  .audience-panel li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .change-strip {
    margin-block-start: 56px;
    grid-template-columns: 1fr;
  }

  .change-strip article {
    padding: 24px 20px 26px;
    border-right: 0;
    border-bottom: 1px solid rgb(39 58 51 / 0.2);
  }

  .change-strip article:last-child {
    border-bottom: 0;
  }

  .change-strip p {
    margin-block-start: 12px;
  }

  .change-strip strong {
    font-size: 27px;
  }

  .proof-band {
    width: calc(100% - 40px);
    margin-block-start: 48px;
    padding: 32px 26px;
  }

  .proof-band h3 {
    font-size: 27px;
  }

  .proof-band__header {
    gap: 18px;
  }

  .proof-band__header > p {
    font-size: 14px;
  }

  .proof-cases {
    margin-block-start: 28px;
    grid-template-columns: 1fr;
  }

  .proof-cases article,
  .proof-cases article:first-child,
  .proof-cases article:last-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgb(255 250 240 / 0.18);
  }

  .proof-cases article:last-child {
    border-bottom: 0;
  }

  .proof-cases strong {
    font-size: 23px;
  }

  .proof-band__bridge {
    margin-block-start: 24px;
    font-size: 16px;
    text-align: left;
  }

  .note-grid {
    margin-block-start: 48px;
  }

  .note-card__art {
    height: min(76vw, 320px);
  }

  .note-card__body {
    padding: 34px 26px 42px;
  }

  .note-card h3 {
    margin-block-start: 20px;
    font-size: clamp(29px, 8.3vw, 38px);
    line-height: 1.42;
  }

  .note-card__body > p:not(.note-card__seed) {
    font-size: 14px;
  }

  .note-card ol {
    margin-block-start: 28px;
    padding-block-start: 0;
  }

  .note-card li {
    gap: 12px;
    grid-template-columns: 62px 1fr;
    font-size: 13px;
  }

  .invitation-list strong {
    font-size: 18px;
  }

  .program-grid {
    gap: 52px;
  }

  .academy-context__card {
    gap: 28px;
    padding: 38px 26px 34px;
    grid-template-columns: 1fr;
  }

  .academy-context__card::before {
    left: 26px;
    width: 58px;
    height: 20px;
  }

  .academy-context__stamp {
    width: 104px;
    height: 104px;
  }

  .academy-context__stamp strong {
    font-size: 43px;
  }

  .academy-context__stamp span {
    margin-block-start: 8px;
    font-size: 9px;
  }

  .academy-context__copy h2 {
    font-size: 36px;
  }

  .academy-context__copy > p:not(.eyebrow) {
    margin-block-start: 18px;
    font-size: 14px;
  }

  .academy-context__link {
    align-items: flex-start;
    margin-block-start: 22px;
  }

  .application-card__title {
    gap: 12px;
  }

  .application-card__title .seed-mark {
    flex: 0 0 auto;
  }

  .closing p:not(.eyebrow) br {
    display: none;
  }
}

@media (max-width: 374px) {
  .hero__facts span {
    padding-inline: 7px;
    font-size: 9px;
  }

  .hero__heading {
    font-size: 37px;
  }
}

/* Site-native registration form */
.registration-panel {
  align-self: start;
  padding: 34px;
  border: 1px solid rgb(39 58 51 / 0.18);
  border-radius: 3px;
  background: rgb(255 255 255 / 0.42);
  scroll-margin-top: 32px;
}

.registration-panel__intro {
  margin-block-end: 28px;
}

.registration-panel__label {
  margin: 0;
  color: #b4553c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.registration-panel__intro h3 {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.3vw, 44px);
  font-weight: 500;
  line-height: 1.35;
}

.registration-panel__intro > p:last-child {
  margin: 12px 0 0;
  color: rgb(39 58 51 / 0.72);
  font-size: 13px;
  line-height: 1.8;
}

.registration-form {
  display: grid;
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field > label {
  font-size: 13px;
  font-weight: 700;
}

.form-required {
  display: inline-block;
  margin-inline-start: 5px;
  color: #b4553c;
  font-size: 10px;
  font-weight: 700;
  vertical-align: 0.08em;
}

.form-field input[type='text'],
.form-field input[type='email'],
.form-test-panel select {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid rgb(39 58 51 / 0.35);
  border-radius: 2px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.form-field input:hover,
.form-test-panel select:hover {
  border-color: rgb(39 58 51 / 0.58);
}

.form-field input:focus-visible,
.form-test-panel select:focus-visible,
.registration-panel a:focus-visible,
.registration-panel button:focus-visible {
  outline: 3px solid #d8a320;
  outline-offset: 3px;
}

.form-field input[aria-invalid='true'] {
  border-color: #a6382b;
  background: #fff7f4;
}

.form-field__note,
.form-field__error {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}

.form-field__note {
  color: rgb(39 58 51 / 0.62);
}

.form-field__error {
  min-height: 0;
  color: #8f2d22;
  font-weight: 700;
}

.form-field__error:empty {
  display: none;
}

.form-field--check {
  grid-template-columns: 22px 1fr;
  gap: 8px 10px;
}

.form-field--check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}

.form-field--check label {
  font-weight: 500;
  line-height: 1.7;
}

.form-field--check a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 3px;
}

.form-field--check .form-field__error {
  grid-column: 2;
}

.form-trap {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-test-panel {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px dashed rgb(39 58 51 / 0.36);
  background: #f2ead9;
}

.form-test-panel[hidden] {
  display: none;
}

.form-test-panel legend,
.form-test-panel label {
  font-size: 11px;
  font-weight: 700;
}

.form-test-panel select {
  min-height: 44px;
  font-size: 14px;
}

.form-test-panel p {
  margin: 0;
  color: rgb(39 58 51 / 0.64);
  font-size: 10px;
}

.registration-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.registration-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.registration-panel > .secondary-button {
  width: 100%;
}

.registration-panel__note {
  margin: 14px 4px 0;
  color: rgb(39 58 51 / 0.62);
  font-size: 11px;
  line-height: 1.7;
}

.form-message {
  padding: 16px 18px;
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.7;
}

.form-message[hidden] {
  display: none;
}

.form-message--error,
.form-message--error.form-message--result {
  border-color: rgb(166 56 43 / 0.35);
  background: #fff1ec;
  color: #7c291f;
}

.form-message--result {
  display: grid;
  gap: 7px;
  margin-block-end: 18px;
}

.form-message--result strong {
  font-family: var(--font-heading);
  font-size: 20px;
}

.form-message--success {
  border-color: rgb(23 111 110 / 0.34);
  background: #e9f5f0;
  color: #174f4f;
}

.form-message--duplicate {
  border-color: rgb(216 163 32 / 0.42);
  background: #fff5d8;
  color: #665018;
}

@media (max-width: 900px) {
  .application-card__body {
    gap: 44px;
    grid-template-columns: 1fr;
  }

  .registration-panel {
    width: min(100%, 620px);
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .registration-panel {
    padding: 26px 20px;
  }

  .registration-panel__intro h3 {
    font-size: 32px;
  }
}
