:root {
  color-scheme: light;
  --ink: #19171e;
  --paper: #f5f3ef;
  --dark: #151319;
  --line: #d1cdc8;
  --purple: #b6a6ff;
  --deep-purple: #514094;
  --muted: #555159;
  --gutter: clamp(1.15rem, 5vw, 5rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  color: var(--ink);
  background: var(--dark);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; overflow-wrap: break-word; }
h1, h2, h3, p, figure, blockquote, ol, dl, dd { margin: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #907bff; outline-offset: 4px; }
.skip { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .7rem 1rem; background: white; color: #151319; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 2 * var(--gutter), 73rem); margin-inline: auto; }
.mast, .hero, .tutor, footer { background: var(--dark); color: #fbf9ff; }
.mast-inner, .mast nav, .footer-inner, footer nav, .section-head, .hero-actions { display: flex; align-items: center; }
.mast-inner, .footer-inner, .section-head { justify-content: space-between; gap: 1.25rem; }
.mast-inner { border-bottom: 1px solid #39363d; min-height: 4.4rem; }
.wordmark { width: clamp(7.6rem, 14vw, 9.9rem); height: auto; }
.mast nav, footer nav { gap: clamp(1rem, 3vw, 2.3rem); }
.mast nav a, footer nav a { font-size: .94rem; text-decoration: none; }
.mast a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
.mast nav a:hover, footer nav a:hover { color: var(--purple); text-decoration: underline; }
.courses-link { color: var(--purple); font-weight: 600; }
.eyebrow, .prose .eyebrow, .facts dt { font-weight: 600; font-size: .875rem; line-height: 1.4; }
.eyebrow { color: var(--purple); }
.hero { background: radial-gradient(ellipse at 92% 22%, #2c253a 0, transparent 52%), var(--dark); }
.hero-inner { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.7rem, 6.6vw, 6.5rem); }
.introduction, .film, .section-intro, .prose { min-width: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(4.75rem, 7.1vw, 7.5rem); font-weight: 740; letter-spacing: -.04em; line-height: .94; margin: .82rem 0 1.5rem; }
h1 span { color: var(--purple); }
.deck { max-width: 28ch; font-size: clamp(1.48rem, 2.2vw, 2.1rem); line-height: 1.18; letter-spacing: -.035em; font-weight: 560; }
.hero-body { margin-top: .9rem; max-width: 47ch; color: #d2ced7; }
.hero-body, .prose p, .section-intro p, .sessions p, .faq p, blockquote { font-size: clamp(1rem, .96rem + .24vw, 1.11rem); }
.hero-actions { gap: 1.4rem; margin-top: 1.65rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; border-radius: .45rem; padding: .65rem 1.05rem; font-weight: 700; background: var(--purple); color: #181321; text-decoration: none; line-height: 1.25; }
.button:hover { background: #c8bcff; }
.text-link { font-weight: 550; font-size: .98rem; min-height: 44px; display: inline-flex; align-items: center; }
.film { border: 1px solid #4e4855; border-radius: .7rem; overflow: hidden; background: #201d25; box-shadow: 0 18px 55px #08060d59; }
.film video { width: 100%; aspect-ratio: 16 / 9; height: auto; background: #141217; }
.film figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .2rem .8rem; padding: .82rem 1rem; font-size: .9rem; }
.film figcaption span:first-child { font-weight: 650; }
.film figcaption span:last-child { color: #d2cdd8; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #48434e; padding-block: 1.25rem 1.6rem; gap: 1.25rem 1rem; }
.facts dt { color: #bbb5c5; }
.facts dd { margin-top: .24rem; font-weight: 600; font-size: 1.02rem; }
.paper { background: var(--paper); }
.section { padding-block: clamp(3.2rem, 7.5vw, 6.5rem); }
.split { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.42fr); gap: clamp(2.5rem, 8vw, 7.5rem); }
h2 { font-size: clamp(2.35rem, 4.4vw, 4rem); letter-spacing: -.065em; line-height: 1.04; font-weight: 700; }
h3 { font-size: clamp(1.23rem, 1.65vw, 1.56rem); letter-spacing: -.035em; line-height: 1.2; font-weight: 660; }
.section-intro p { color: var(--muted); margin-top: 1.15rem; }
.section-intro a, .paper .prose a { color: var(--deep-purple); }
.sessions { list-style: none; counter-reset: lesson; padding: 0; }
.sessions li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: start; gap: .8rem; padding: 1.35rem 0; border-top: 1px solid var(--line); counter-increment: lesson; }
.sessions li:last-child { border-bottom: 1px solid var(--line); }
.sessions li::before { content: counter(lesson, decimal-leading-zero); color: var(--deep-purple); font-variant-numeric: tabular-nums; font-size: 1.24rem; line-height: 1.45; }
.sessions p { margin-top: .52rem; color: var(--muted); }
.fit { padding-top: 0; }
.fit .split { border-top: 1px solid var(--line); padding-top: clamp(2rem, 5vw, 4rem); }
.prose p + p, .prose h3 + p { margin-top: .9rem; }
.tutor-inner { display: grid; grid-template-columns: .84fr 1.3fr; gap: clamp(2.4rem, 7vw, 6.5rem); align-items: center; }
.portrait { overflow: hidden; border-radius: .6rem; max-width: 27rem; }
.portrait img { width: 100%; height: auto; }
.tutor h2 { margin: .65rem 0 1.15rem; }
.tutor .prose p:not(.eyebrow) { color: #d7d3dc; }
.tutor .prose .tutor-lede { color: #faf8ff; font-size: clamp(1.25rem, 1.65vw, 1.6rem); line-height: 1.4; letter-spacing: -.025em; }
.review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.5rem, 3.5vw, 3rem); margin-top: 2.35rem; }
.review-grid figure { display: flex; flex-direction: column; align-items: flex-start; border-top: 2px solid #93869e; padding-top: 1.35rem; }
blockquote { flex: 1; color: #343139; }
.review-grid figcaption { margin-top: 1.1rem; font-weight: 650; }
.booking { background: #d9d0ff; color: #201934; }
.booking-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6.5rem); }
.booking .eyebrow { color: #514370; margin-bottom: .7rem; }
.price { margin: 1rem 0; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.3; }
.price span { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.booking .button { background: #221a35; color: white; }
.booking .button:hover { background: #39304c; }
.payment { margin-top: .75rem; font-size: .95rem; }
.booking-details { border-left: 1px solid #ad9ed9; padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.booking-details p + h3 { margin-top: 1.5rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; min-height: 3.25rem; font-size: 1.08rem; font-weight: 600; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.35rem; line-height: 1; font-weight: 450; color: var(--deep-purple); }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--deep-purple); }
.faq p { padding: 0 1.8rem 1.2rem 0; color: var(--muted); }
.footer-inner { padding-block: 2rem 5rem; }
footer nav { flex-wrap: wrap; }
@media(max-width: 55rem) {
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 1.7rem; }
  h1 { font-size: clamp(3.6rem, 7.5vw, 5rem); }
  .review-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .review-grid figure { max-width: 65ch; }
}
@media(max-width: 43rem) {
  .mast-inner { min-height: 3.7rem; }
  .mast .wide-link { display: none; }
  .hero-inner, .split, .tutor-inner, .booking-inner { grid-template-columns: minmax(0,1fr); }
  .hero-inner { padding-block: 2.25rem 1.5rem; gap: 1.8rem; }
  h1 { font-size: clamp(3.45rem, 12.2vw, 4.8rem); margin: .55rem 0 1.1rem; }
  .hero-actions { gap: .4rem 1.05rem; margin-top: 1.2rem; }
  .hero-body { margin-top: .7rem; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.05rem; }
  .split, .booking-inner { gap: 1.5rem; }
  .sessions li { grid-template-columns: 2rem minmax(0,1fr); gap: .6rem; padding-block: 1.15rem; }
  .tutor-inner { gap: 1.6rem; }
  .portrait { max-width: 21rem; }
  .section-head, .footer-inner { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .review-grid { margin-top: 1.15rem; }
  .booking-details { border-left: 0; border-top: 1px solid #ad9ed9; padding: 1.5rem 0 0; }
  .footer-inner { gap: .6rem; padding-bottom: 5.5rem; }
  footer nav { gap: .2rem 1rem; }
}
@media(max-width: 24rem) {
  h1 { font-size: min(3.45rem, 14.35vw); }
}
@media(max-width: 22rem) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .film figcaption { padding-inline: .7rem; }
}
footer { padding-bottom: 4.5rem; }
.footer-inner { padding-block: 1.6rem; }
.footer-more { border-top: 1px solid #48434e; }
.footer-more summary { cursor: pointer; color: #ddd5ed; font-size: .94rem; padding-block: .85rem; }
.footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; padding-block: .7rem 1rem; gap: 1.1rem; }
.footer-links h3 { font-size: 1rem; color: white; margin-bottom: .35rem; }
.footer-links a { display: flex; width: fit-content; color: #d8d1e0; }
@media(max-width: 43rem) { .footer-links { grid-template-columns: 1fr; } }

.course-chat-invite:not([hidden]) {
  position: fixed;
  z-index: 8;
  right: 20px;
  bottom: 92px;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: min(19rem, calc(100vw - 40px));
  border: 1px solid #514a5d;
  border-radius: .85rem .85rem .25rem .85rem;
  background: #19171e;
  box-shadow: 0 .5rem 1.75rem #09070f40;
}
.course-chat-invite button {
  min-height: 44px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #faf8ff;
  font: inherit;
  cursor: pointer;
}
.course-chat-invite .ask { padding: .7rem 0 .7rem .95rem; text-align: left; line-height: 1.4; }
.course-chat-invite .ask strong { color: var(--purple); white-space: nowrap; }
.course-chat-invite .dismiss { width: 44px; flex: none; font-size: 1.35rem; color: #c2bbc9; }
.course-chat-invite button:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
