@font-face { font-family: Lora; src: url("./lora.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: Lora; src: url("./lora-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

body.academy-page, body.confirmation-page {
  --plum: #241c33;
  --mulberry: #4a3e5c;
  --rose: #a8546b;
  --paper: #faf7f2;
  --line: #d9d0d5;
  color: var(--plum);
  background: var(--paper);
  line-height: 1.5;
}

[hidden] { display: none !important; }
.academy :focus-visible, .confirmation-page :focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
#main:focus, #register-title:focus, .confirmation h2:focus { outline: none; }
.site-width { width: min(100% - 64px, 1264px); margin-inline: auto; }
.navwrap a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.academy { display: grid; grid-template-columns: minmax(0, 1.11fr) minmax(0, 1fr); margin-block: 48px 68px; border: 1px solid var(--line); border-radius: 7px; overflow: clip; }
.introduction { position: relative; isolation: isolate; display: flex; color: var(--paper); background: var(--plum); }
.intro-content { position: relative; z-index: 1; padding: clamp(40px, 4.6vw, 70px) clamp(32px, 4.65vw, 68px) 240px; }
.launch { display: flex; align-items: center; gap: 9px; margin: 0 0 28px; color: #f4bcc9; font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .15em; }
.launch span { width: 7px; height: 7px; border-radius: 50%; background: #e08da5; }
.academy h1, .registration h2, .confirmation-page h1 { font-family: Lora, Georgia, serif; font-weight: 500; }
.introduction h1 { margin: 0; color: var(--paper); font-size: clamp(2.6rem, 4.4vw, 4.7rem); letter-spacing: -.058em; line-height: 1.03; }
.introduction h1 em { color: #f4bcc9; font-weight: 400; }
.lead { margin: 24px 0 0; max-width: 32ch; color: #f0e5ee; font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.62; }
.course-facts { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 28px 0 0; padding: 15px 0 0; border-top: 1px solid #f4bcc94d; list-style: none; color: #f5edf4; font-size: .78rem; line-height: 1.55; }
.course-facts li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px 2px 0; border-radius: 50%; background: #e08da5; }
.intro-image { position: absolute; z-index: 0; inset: 38% 0 0; overflow: hidden; }
.intro-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 63%; filter: saturate(.66); }
.intro-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--plum) 1%, #241c33e6 22%, #241c3359 58%, #241c3333 100%); }
.academy-mobile-cta { display: none; }

.registration { display: grid; align-content: center; min-width: 0; padding: clamp(30px, 3.85vw, 57px); background: #fffdfa; }
.registration h2 { margin: 0; font-size: clamp(1.75rem, 2.85vw, 2.55rem); line-height: 1.11; letter-spacing: -.055em; }
#register-title { scroll-margin-top: 88px; }
.registration-description { max-width: 41ch; margin: 12px 0 23px; color: var(--mulberry); font-size: .94rem; }
.preview-note { margin: -9px 0 15px; font-size: .76rem; color: var(--mulberry); }
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px 14px; }
.field { display: grid; align-content: start; gap: 5px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .81rem; font-weight: 650; }
.field input:not([type=checkbox]), .field textarea, .field select, .work-picker { display: block; width: 100%; min-width: 0; min-height: 43px; padding: 9px 11px; border: 1px solid #b1a5ae; border-radius: 4px; background: #fff; color: var(--plum); font: inherit; font-size: .875rem; }
.field textarea { min-height: 71px; resize: vertical; }
.field textarea::placeholder { color: #6f6372; }
.field select { padding-right: 24px; }
.field select:invalid { color: #6f6372; }
.field option { color: var(--plum); }
.work-field { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.work-field legend { padding: 0; margin-bottom: 5px; font-size: .81rem; font-weight: 650; }
.work-picker { padding: 0; }
.work-picker summary { min-height: 41px; padding: 10px 11px; border-radius: 3px; color: var(--mulberry); cursor: pointer; }
.work-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 4px 11px 8px; border-top: 1px solid var(--line); }
.work-options label { display: flex; align-items: flex-start; gap: 7px; padding: 8px 0; font-weight: 500; cursor: pointer; }
.work-options input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--mulberry); }
.work-details-label { margin-top: 4px; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin-block: 16px; color: var(--mulberry); font-size: .79rem; cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--mulberry); }
.submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 49px; border: 0; border-radius: 4px; padding: 10px 15px; color: var(--paper); background: var(--plum); font: inherit; font-size: .89rem; font-weight: 650; text-align: left; cursor: pointer; }
.submit:hover { background: var(--mulberry); }
.submit:disabled { background: var(--mulberry); cursor: wait; }
.submit span:last-child { font-size: 1.15rem; color: #f4bcc9; }
.form-error { margin: 12px 0 0; color: #842941; font-size: .85rem; }
.confirmation { max-width: 36rem; }
.confirmation p { color: var(--mulberry); margin: 14px 0 24px; }
.confirmation a:not(.logo) { color: var(--mulberry); font-weight: 650; text-underline-offset: 4px; }
.confirmation-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 50%; color: var(--mulberry); }
.confirmation-page { min-height: 100vh; display: grid; place-items: center; padding: 25px; }
.confirmation-page .confirmation { padding: clamp(24px, 7vw, 56px); background: #fffdfa; border: 1px solid var(--line); border-radius: 7px; }
.confirmation-page h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 30px 0 0; line-height: 1.1; }

@media (max-width: 810px) {
  .site-width { width: calc(100% - 40px); }
  .academy { grid-template-columns: 1fr; margin-block: 23px 42px; }
  .intro-content { padding: 37px 30px 39px; }
  .intro-image { inset: 0; }
  .intro-image::after { background: linear-gradient(90deg, #241c33fe 4%, #241c33ec 54%, #241c33b5 100%); }
  .introduction h1 { font-size: clamp(2.5rem, 8vw, 4.3rem); }
  .launch { margin-bottom: 19px; }
  .lead { margin-top: 17px; }
  .course-facts { margin-top: 19px; padding-top: 13px; }
  .academy-mobile-cta { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; margin-top: 10px; color: #f4bcc9; font-size: .875rem; font-weight: 650; text-underline-offset: 4px; }
  .registration { padding: 35px 30px 40px; }
  .registration-description { margin-bottom: 20px; }
}
@media (max-width: 500px) {
  .site-width { width: calc(100% - 32px); }
  .intro-content, .registration { padding-inline: 21px; }
  .intro-content { padding-block: 28px 23px; }
  .course-facts { font-size: .73rem; gap: 4px 10px; }
  .course-facts li + li::before { margin-right: 6px; }
  .field-grid { grid-template-columns: 1fr; gap: 12px; }
  .field input:not([type=checkbox]), .field select, .field textarea { font-size: 1rem; }
  .work-options { grid-template-columns: 1fr; }
  .work-options label { min-height: 40px; }
}
