:root {
  color-scheme: light;
  --paper: #f7f8f1;
  --ink: #16352c;
  --forest: #143b32;
  --muted: #495e54;
  --mint: #e6eee3;
  --line: #d5ded1;
  --gold: #f1c76d;
  --light-gold: #f7df9f;
  font-family: "Geeza Pro", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 28px; }

:focus-visible {
  outline: 3px solid #a36013;
  outline-offset: 5px;
}

.shell {
  width: min(100% - 96px, 1248px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  transform: translateY(-180%);
  border-radius: 6px;
  padding: 8px 14px;
  color: white;
  background: var(--forest);
}

.skip-link:focus { transform: none; }

.site-header { border-block-end: 1px solid var(--line); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 87px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  text-decoration: none;
}

.brand-name {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.08;
  white-space: nowrap;
}

.brand-name small {
  display: block;
  margin-block-start: 5px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--muted);
}

.brand-mark {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  padding-block-end: 11px;
  border-radius: 14px 14px 5px 14px;
  color: var(--gold);
  background: var(--forest);
}

.brand-mark i {
  display: block;
  width: 5px;
  height: 24px;
  border-radius: 4px 4px 1px 1px;
  background: currentColor;
}

.brand-mark i:nth-child(2) { height: 18px; }
.brand-mark i:nth-child(3) { height: 12px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a, .back-to-top {
  padding-block: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.main-nav a:hover, .back-to-top:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-height: 48px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  transition: background-color 160ms ease;
}

.button-header {
  justify-self: end;
  border-color: #9db0a3;
  white-space: nowrap;
}

.button-header:hover { background: var(--mint); }

.button-primary {
  min-height: 54px;
  padding-inline: 22px;
  color: #fff;
  background: var(--forest);
}

.button-primary:hover { background: #235747; }

.icon-arrow {
  position: relative;
  width: 17px;
  height: 2px;
  background: currentColor;
}

.icon-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
}

.text-link {
  display: inline-block;
  padding-block: 10px;
  text-decoration-color: #879a87;
  text-underline-offset: 5px;
  font-size: 17px;
  font-weight: 700;
}

.text-link:hover { text-decoration-color: currentColor; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6.4vw, 94px);
  align-items: center;
  padding-block: 72px 90px;
}

.hero-copy { padding-block: 8px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  flex: 0 0 23px;
  height: 2px;
  background: #b07527;
}

.hero h1 {
  margin-block: 18px 17px;
  font-size: clamp(64px, 6.3vw, 100px);
  line-height: 1.12;
  font-weight: 700;
}

.hero-description {
  max-width: 27ch;
  font-size: clamp(19px, 1.8vw, 24px);
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 22px;
  row-gap: 7px;
  margin-block-start: 27px;
}

.hero-figure {
  position: relative;
  margin-inline-end: 16px;
  isolation: isolate;
}

.hero-figure::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset-block-end: -16px;
  inset-inline-end: -16px;
  width: 60%;
  height: 47%;
  background: var(--gold);
  border-radius: 24px 0 20px 24px;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 24px 110px;
  background: var(--mint);
}

.photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

.photo-frame figcaption {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  padding: 4px 11px;
  border-radius: 5px;
  color: var(--paper);
  background: #143b32;
  font-size: 13px;
  line-height: 1.5;
}

.about {
  color: var(--paper);
  background: var(--forest);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  gap: clamp(36px, 8vw, 120px);
  padding-block: 76px;
  align-items: center;
}

.about .eyebrow { color: var(--light-gold); }
.about .eyebrow::before { background: var(--gold); }

h2 {
  font-size: clamp(32px, 3.7vw, 51px);
  line-height: 1.24;
}

.section-intro h2 { margin-block-end: 16px; }
.section-intro .eyebrow { margin-block-end: 14px; }

.section-intro > p:not(.eyebrow) {
  max-width: 42ch;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.about .section-intro > p:not(.eyebrow) { color: #d5e2d8; }

.learning-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.learning-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 19px;
  border-block-start: 1px solid #476b5e;
}

.learning-list li:last-child { border-block-end: 1px solid #476b5e; }
.learning-list h3 { margin-block-end: 4px; font-size: 23px; }
.learning-list p { color: #d5e2d8; font-size: 17px; line-height: 1.55; }

.lesson-symbol {
  position: relative;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  border: 1px solid #638072;
  border-radius: 11px;
  color: var(--light-gold);
}

.lesson-symbol::before, .lesson-symbol::after {
  content: "";
  position: absolute;
}

.symbol-notes::before {
  inset: 12px 14px;
  border: 2px solid;
  border-radius: 2px;
}

.symbol-notes::after {
  top: 19px;
  right: 18px;
  width: 8px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px currentColor;
}

.symbol-pencil::before {
  top: 19px;
  left: 13px;
  width: 21px;
  height: 8px;
  border: 2px solid;
  border-radius: 8px 2px 2px 8px;
  transform: rotate(-44deg);
}

.symbol-check::before {
  top: 15px;
  left: 12px;
  width: 21px;
  height: 12px;
  border-bottom: 2px solid;
  border-left: 2px solid;
  transform: rotate(-45deg);
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 8vw, 120px);
  padding-block: 92px 80px;
}

.accordion { border-block-start: 1px solid var(--line); }
.accordion details { border-block-end: 1px solid var(--line); }

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 18px;
  list-style: none;
  cursor: pointer;
  font-size: 21px;
  font-weight: 700;
}

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

.accordion summary span {
  position: relative;
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--mint);
}

.accordion summary span::before,
.accordion summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: var(--forest);
}

.accordion summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] summary span::after { display: none; }
.accordion summary:hover span { background: #d5e2d4; }

.accordion details p {
  max-width: 53ch;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.registration { padding-block-end: 82px; }

.registration-inner {
  display: grid;
  grid-template-columns: 1fr .75fr;
  align-items: center;
  gap: 36px;
  border-radius: 20px;
  background: var(--light-gold);
  padding: 36px 44px;
}

.registration-inner h2 {
  margin-block-end: 10px;
  font-size: clamp(29px, 3.4vw, 44px);
}

.registration-inner p { font-size: 18px; line-height: 1.6; }

.registration-checklist {
  padding-inline-start: 24px;
  border-inline-start: 1px solid #b59454;
}

.registration-checklist h3 {
  margin-block-end: 6px;
  font-size: 20px;
}

.registration-checklist ul {
  margin: 0;
  padding-inline-start: 20px;
  font-size: 17px;
  line-height: 1.7;
}

.site-footer {
  border-block-start: 1px solid var(--line);
  background: var(--mint);
  padding-block: 29px 35px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.back-to-top span { margin-inline-start: 5px; }

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 46px;
  margin-block-start: 24px;
  padding-block-start: 18px;
  border-block-start: 1px solid #c9d6c8;
}

.legal dt {
  margin-block-end: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.legal dd {
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.legal bdi { display: inline-block; text-align: left; }

@media (max-width: 1050px) {
  .shell { width: min(100% - 72px, 1248px); }
  .hero { gap: 38px; }
  .hero h1 { font-size: clamp(53px, 7.8vw, 80px); }
  .hero-actions { column-gap: 16px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 48px, 620px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 76px; }
  .main-nav { display: none; }
  .hero, .about-inner, .faq { grid-template-columns: 1fr; }
  .hero { gap: 30px; padding-block: 42px 60px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(55px, 10vw, 78px); }
  .hero-description { max-width: 35ch; }
  .photo-frame { border-end-end-radius: 80px; }
  .photo-frame img { aspect-ratio: 5 / 4; }
  .about-inner { gap: 26px; padding-block: 49px; }
  .about h2 br { display: none; }
  .faq { gap: 23px; padding-block: 51px 46px; }
  .registration { padding-block-end: 50px; }
  .registration-inner { grid-template-columns: 1fr; gap: 20px; padding: 25px; }
  .registration-checklist {
    padding: 14px 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid #b59454;
  }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 19px; }
  .brand-name small { font-size: 11px; }
  .brand-mark { flex-basis: 39px; width: 39px; height: 39px; padding-block-end: 7px; }
  .button-header { font-size: 14px; min-height: 44px; padding-inline: 11px; }
  .hero h1 { margin-block: 12px 13px; }
  .hero-actions { margin-block-start: 20px; }
  .hero-figure { margin-inline-end: 11px; }
  .hero-figure::before { inset-block-end: -11px; inset-inline-end: -11px; }
  .photo-frame figcaption { inset-block-end: 11px; inset-inline-start: 11px; }
  .back-to-top { font-size: 14px; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .brand-name { font-size: 17px; }
  .brand-mark { flex-basis: 34px; width: 34px; height: 34px; padding-block-end: 5px; }
  .button-header { padding-inline: 8px; font-size: 13px; }
  .hero h1 { font-size: clamp(39px, 15vw, 54px); }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
