:root {
  --navy: #1e2d4f;
  --deep: #101b30;
  --gold: #ffc83d;
  --paper: #f3efe8;
  --cream: #f7e7d6;
  --ink: #192641;
  --muted: #535965;
  --display: "Playfair Display", Georgia, serif;
  --body: Manrope, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.62 var(--body); }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a07100; outline-offset: 4px; }
.masthead :focus-visible, .hero-wrap :focus-visible, .practice :focus-visible { outline-color: var(--gold); }
.skip { position: fixed; z-index: 3; top: 10px; left: 10px; padding: 10px; background: var(--gold); color: var(--deep); transform: translateY(-200%); }
.skip:focus { transform: none; }
.shell { width: min(1200px, calc(100% - 84px)); margin-inline: auto; }
.masthead, .hero-wrap, .practice { background-color: var(--navy); color: var(--paper); }
.header { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 90px; border-bottom: 1px solid #ffffff23; }
.brand { display: inline-flex; gap: 12px; align-items: center; font: 700 1.45rem/1 var(--display); text-decoration: none; white-space: nowrap; }
.brand small { display: block; margin-top: 7px; font: 700 .58rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #e1c680; }
.monogram { display: grid; place-content: center; grid-auto-flow: column; padding-inline-start: 3px; width: 43px; height: 43px; border: 1px solid #ffc83d72; border-radius: 50%; }
.monogram span { color: var(--gold); }
nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 37px); }
nav a, .quiet, .button { text-decoration: none; font-weight: 800; font-size: .85rem; }
nav a:not(.button):hover, .quiet:hover { color: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; border-radius: 8px; min-height: 48px; padding: 10px 17px; border: 1px solid transparent; }
.button span { font-size: 1.15rem; line-height: 1; }
.outline { border-color: #ffffff52; }
.outline:hover { border-color: var(--gold); }
.gold { background: var(--gold); color: var(--deep); }
.gold:hover { background: #ffda75; }
.hero-wrap {
  background-image: radial-gradient(ellipse at 78% 22%, #57668788, transparent 54%), linear-gradient(90deg, #ffffff08 1px, transparent 1px), linear-gradient(#ffffff08 1px, transparent 1px);
  background-size: auto, 68px 68px, 68px 68px;
}
.hero { display: grid; grid-template-columns: 1.3fr .84fr; gap: clamp(28px, 5vw, 76px); align-items: center; padding-block: clamp(40px, 6vw, 84px) 32px; }
.kicker { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.kicker span { width: 7px; height: 7px; flex: 0 0 7px; background: #9c7106; border-radius: 50%; }
.hero .kicker span, .practice .kicker span { background: var(--gold); box-shadow: 0 0 17px #ffc83d88; }
h1, h2 { font: 600 clamp(2.35rem, 5.3vw, 4.85rem)/1.06 var(--display); letter-spacing: -.046em; }
h1 { font-size: clamp(2.95rem, 5.75vw, 5.65rem); margin-block: 21px 23px; }
h1 em, .practice em { font-weight: 600; color: var(--gold); }
.intro { max-width: 38ch; color: #cbd3e2; font-size: 1.06rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 26px; }
.quiet { color: #e1e7f3; }
.quiet span { margin-left: 5px; }
.portrait { position: relative; isolation: isolate; border: 1px solid #e9c8756e; border-radius: 20px; background: #252f3f; padding: 8px; box-shadow: 0 22px 50px #060b1677; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: center 19%; border-radius: 13px; }
.portrait figcaption { position: absolute; inset: auto 20px 20px; display: grid; padding: 12px 15px; border: 1px solid #ffffff38; border-radius: 10px; background: #101b30e8; color: white; }
.portrait figcaption span { font: 600 1.45rem/1.1 var(--display); }
.portrait figcaption small { margin-top: 3px; color: #d4dded; font-size: .74rem; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ffffff29; }
.facts div { padding: 20px 12px 0 0; }
.facts div + div { border-left: 1px solid #ffffff29; padding-left: clamp(12px, 4vw, 44px); }
.facts dt { color: #ffe299; font-weight: 800; font-size: clamp(1rem, 2.3vw, 1.52rem); }
.facts dd { color: #cbd3e2; font-size: .78rem; }
.formats { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 24px; margin-bottom: 33px; }
h2 { margin-top: 9px; }
.section-head > p, .about p:not(.kicker), .contact p:not(.kicker) { max-width: 45ch; color: var(--muted); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.course { display: flex; flex-direction: column; min-width: 0; padding: clamp(19px, 3vw, 32px); border: 1px solid #d7d2c5; border-radius: 16px; background: #faf8f2; }
.meta { font-size: .72rem; font-weight: 800; letter-spacing: .07em; }
.course .meta { color: #69532c; }
.course h3 { font: 700 clamp(1.65rem, 3vw, 2.2rem)/1.12 var(--display); margin-block: 7px 16px; }
.course dl { margin-bottom: 19px; }
.course dl div { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-top: 1px solid #dedbd1; font-size: .88rem; }
.course dd { text-align: right; font-weight: 800; }
.course dd small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.course a { align-self: flex-start; margin-top: auto; text-decoration: none; font-size: .86rem; font-weight: 800; border-bottom: 2px solid #cf9f2b; }
.course a span { margin-left: 5px; }
.about { padding-bottom: clamp(54px, 8vw, 96px); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: center; padding: clamp(23px, 5vw, 55px); border: 1px solid #c8b8d7; border-radius: 18px; background: #eae1f1; }
.about .kicker span { background: #6a3fa0; }
.practice { background-image: radial-gradient(ellipse at 90% 15%, #36486e, transparent 62%); }
.practice-inner { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(24px, 5vw, 74px); align-items: center; padding-block: clamp(54px, 8vw, 95px); }
.practice-copy > p:not(.kicker) { max-width: 38ch; color: #cad4e7; margin-top: 16px; }
.llama { margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.llama-frame { width: 95px; aspect-ratio: 151/272; overflow: hidden; position: relative; background: var(--cream); border-radius: 50px; }
.llama-frame img { position: absolute; display: block; width: 830.46%; height: auto; max-width: none; left: -121.85%; top: -216.18%; }
.llama > span { font: italic 600 1.2rem/1.2 var(--display); color: #ffde87; }
.quiz { padding: clamp(18px, 4vw, 37px); background: #f9f5ec; color: var(--ink); border: 1px solid #dfc580; border-radius: 16px; min-width: 0; }
.quiz h3 { font: 700 clamp(1.5rem, 3vw, 2.45rem)/1.2 var(--display); margin-block: 7px 13px; }
.quiz fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.quiz legend { font-size: .84rem; padding: 0 0 12px; }
.answers { display: grid; gap: 7px; }
.answers button { display: block; width: 100%; border: 1px solid #cbc9bf; border-radius: 8px; padding: 10px 12px; cursor: pointer; background: #fffdf8; color: var(--deep); text-align: left; }
.answers button:disabled { cursor: default; }
.answers button:hover:not(:disabled) { border-color: #876211; }
.answers .correct { background: #e1efda; border-color: #69885b; }
.answers .incorrect { background: #f5dfd7; border-color: #a76b58; }
.feedback:not(:empty) { margin-top: 11px; font-size: .84rem; }
.retry { margin-top: 9px; color: var(--deep); border: 0; padding: 3px 0; border-bottom: 2px solid #ad7d14; background: transparent; cursor: pointer; font-weight: 800; font-size: .76rem; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 26px; padding-block: clamp(54px, 8vw, 100px); }
.contact p:not(.kicker) { margin-top: 12px; }
.contact .button { flex-shrink: 0; }
.footer { border-top: 1px solid #d7d2c5; }
.footer .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 30px; min-height: 80px; padding-block: 14px; }
.footer span, .footer a:not(.brand) { font-size: .82rem; }
@media (max-width: 940px) { .shell { width: calc(100% - 50px); } }
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header { min-height: 71px; }
  .header nav > a:not(.button) { display: none; }
  .brand { font-size: 1.21rem; gap: 8px; }
  .monogram { width: 35px; height: 35px; }
  .hero, .section-head, .about-inner, .practice-inner { grid-template-columns: 1fr; }
  .portrait { width: min(100%, 490px); justify-self: start; }
  .portrait img { aspect-ratio: 1 / .89; object-position: center 15%; }
  .section-head { gap: 12px; }
}
@media (max-width: 540px) {
  .price-grid { grid-template-columns: 1fr; }
  .contact { align-items: flex-start; flex-direction: column; }
  h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
