:root {
  color-scheme: dark;
  --ink: #f8edf1;
  --muted: #d6c4d4;
  --accent: #f1a2a8;
  --page: #211829;
  --band: #302237;
  --rule: #654f69;
  --dark-ink: #291728;
  --site-width: 1392px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
p { line-height: 1.55; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(calc(100% - 2 * clamp(1.2rem, 5vw, 5.25rem)), var(--site-width)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .6rem; left: .6rem; padding: 1rem; background: var(--ink); color: var(--dark-ink); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.page-head { position: relative; z-index: 2; background: var(--page); border-bottom: 1px solid var(--rule); }
.head-inner, .foot-inner { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.wordmark { font-weight: 750; display: inline-flex; align-items: center; gap: 11px; letter-spacing: -.025em; white-space: nowrap; }
.mark { position: relative; width: 27px; height: 27px; flex: none; overflow: hidden; border-radius: 5px; background: var(--accent); }
.mark::before, .mark::after { content: ""; position: absolute; width: 16px; height: 3px; left: 5px; border-radius: 1px; background: var(--dark-ink); transform: rotate(-24deg); }
.mark::before { top: 9px; }
.mark::after { top: 15px; width: 12px; }
nav { display: flex; align-items: center; gap: clamp(.85rem, 2.8vw, 2.1rem); }
nav a { min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .875rem; font-weight: 625; white-space: nowrap; }
nav a:hover, .nav-start { color: var(--ink); }
.nav-start span { color: var(--accent); }
.intro { position: relative; isolation: isolate; background: #23192b; border-bottom: 1px solid var(--rule); }
.intro-wrap { display: grid; grid-template-columns: .89fr 1.11fr; align-items: center; min-height: min(720px, calc(100svh - 72px)); }
.intro-copy { position: relative; z-index: 1; padding: clamp(3rem, 8vw, 7.5rem) 0; }
.overline { color: var(--accent); text-transform: uppercase; letter-spacing: .155em; font-weight: 750; font-size: .74rem; display: flex; align-items: center; gap: .7rem; }
.overline span { width: 18px; height: 1px; background: var(--accent); }
h1, h2 { font-weight: 760; letter-spacing: -.078em; line-height: .92; }
h1 { margin: 1.35rem 0 1.55rem; font-size: clamp(3.75rem, 8vw, 8.3rem); }
h1 > span, h2 > span { color: var(--accent); }
.hero-deck { color: var(--muted); max-width: 32ch; font-size: clamp(1.03rem, 1.7vw, 1.25rem); }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 22px; margin-top: 2rem; }
.hero-start, .hero-explore, .start-link { display: inline-flex; align-items: center; gap: .85rem; min-height: 47px; font-size: .93rem; font-weight: 720; }
.hero-start { padding: .75rem .95rem; background: var(--accent); color: var(--dark-ink); border: 1px solid var(--accent); border-radius: 5px; box-shadow: 0 3px 0 #804c6b; transition: transform .2s ease, background .2s ease; }
.hero-start:hover { background: #ffc1c5; transform: translateY(-3px); }
.hero-start:active { transform: translateY(1px); box-shadow: none; }
.hero-explore { color: var(--ink); padding-inline: .1rem; }
.hero-explore span { color: var(--accent); transition: transform .2s ease; }
.hero-explore:hover span { transform: translateY(4px); }
.hero-visual { position: absolute; z-index: 0; inset: 0 0 0 38%; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#23192b 0%,#23192b80 9%,transparent 27%); pointer-events: none; }
.course-facts { border-bottom: 1px solid var(--rule); background: #281d30; }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact-row > div { display: flex; align-items: baseline; gap: clamp(.45rem, 1.6vw, 1.1rem); padding: 1.2rem clamp(.8rem, 2vw, 2rem); border-inline-start: 1px solid var(--rule); }
.fact-row > div:last-child { border-inline-end: 1px solid var(--rule); }
.fact-row strong { color: var(--accent); font-size: clamp(1.45rem, 3vw, 2.15rem); font-variant-numeric: tabular-nums; letter-spacing: -.055em; line-height: 1; }
.fact-row span { color: var(--muted); font-size: .92rem; line-height: 1.25; }
.showcase-section { padding-block: clamp(4.3rem, 10vw, 9.5rem) clamp(3.3rem, 8vw, 8rem); }
.section-head h2, .start-copy h2 { font-size: clamp(3.45rem, 7.4vw, 7.1rem); margin: 0 0 1rem; }
.section-head .overline { margin-bottom: .85rem; }
.section-head > p:not(.overline), .start-copy p { color: var(--muted); max-width: 38ch; font-size: clamp(1rem, 1.5vw, 1.2rem); }
#kit-showcase { margin-top: clamp(1.5rem, 4vw, 3rem); }
.curriculum-section { border-block: 1px solid var(--rule); background: #271c2f; }
.curriculum-grid { padding-block: clamp(3.6rem, 8vw, 8rem); display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(1.5rem, 6vw, 6.5rem); }
.syllabus-head h2 { font-size: clamp(3rem, 6.8vw, 6.1rem); }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
.lesson-list details, .faq-list details { border-top: 1px solid var(--rule); }
.lesson-list details:last-child, .faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.lesson-list summary { display: grid; grid-template-columns: 34px 1fr auto 20px; gap: 12px; align-items: baseline; min-height: 63px; padding: 1rem .3rem; font-size: clamp(1rem, 1.65vw, 1.22rem); font-weight: 700; transition: color .2s ease; }
.lesson-list summary:hover, .faq-list summary:hover { color: var(--accent); }
.lesson-list summary::after, .faq-list summary::after { content: "+"; color: var(--accent); font-size: 1.25rem; font-weight: 400; text-align: right; }
details[open] > summary::after { content: "−"; }
.lesson-number { color: var(--accent); font: .83rem/1 ui-monospace, monospace; }
.lesson-time { color: var(--muted); font-size: .76rem; font-weight: 550; white-space: nowrap; }
.lesson-more { margin: -.15rem 30px 1.2rem 49px; }
.lesson-more p, .faq-list p { color: var(--muted); }
.lesson-more a { display: inline-flex; align-items: center; gap: .45rem; margin-top: .2rem; color: var(--accent); min-height: 44px; font-size: .89rem; font-weight: 700; }
.lesson-more a:hover { text-decoration: underline; text-underline-offset: .35em; }
.start-section { margin-block: clamp(3.2rem, 9vw, 8rem); display: grid; grid-template-columns: 1.13fr .87fr; border: 1px solid var(--rule); border-radius: 13px; overflow: hidden; background: var(--band); }
.start-art { min-height: 350px; }
.start-art video { display: block; width: 100%; height: 100%; object-fit: cover; }
.start-copy { align-self: center; padding: clamp(1.8rem, 5vw, 5rem); }
.start-copy h2 { font-size: clamp(3rem, 6vw, 6.5rem); }
.start-link { color: var(--accent); margin-top: 1.05rem; padding: .45rem 0; border-bottom: 1px solid var(--accent); }
.start-link:hover { color: var(--ink); border-color: var(--ink); }
.faq-section { display: grid; align-items: start; grid-template-columns: .66fr 1.34fr; gap: clamp(1.15rem, 5vw, 5rem); padding-block: .15rem clamp(3.5rem, 8vw, 8rem); }
.faq-section h2 { font-size: clamp(2.7rem, 4.6vw, 4.5rem); }
.faq-list summary { display: flex; gap: 10px; justify-content: space-between; align-items: center; min-height: 58px; padding: .9rem .2rem; font-weight: 720; }
.faq-list p { padding: 0 .8rem 1.05rem .2rem; max-width: 65ch; }
.foot { border-top: 1px solid var(--rule); background: #281c30; }
.foot-inner { min-height: 86px; }
@media (max-width: 1050px) {
  .intro-wrap { min-height: 600px; }
  .start-copy { padding: 1.9rem; }
}
@media (max-width: 760px) {
  .head-inner, .foot-inner { flex-wrap: wrap; align-content: center; padding-block: .55rem; gap: .2rem 1rem; }
  nav { gap: 1rem; }
  nav a { font-size: .825rem; }
  .intro-wrap { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .intro-copy { padding: 3.25rem 0 .75rem; }
  h1 { font-size: clamp(3.55rem, 11vw, 6.3rem); margin-block: 1rem; }
  .hero-links { margin-top: 1.3rem; }
  .hero-visual { position: relative; inset: auto; margin-inline: calc(-1 * clamp(1.2rem, 5vw, 5.25rem)); height: clamp(250px, 62vw, 460px); }
  .hero-visual::after { background: linear-gradient(180deg,#23192b 0%,#23192b55 13%,transparent 32%); }
  .hero-visual img { object-position: center; }
  .fact-row > div { flex-direction: column; padding: .85rem .6rem; gap: .3rem; }
  .fact-row span { font-size: .77rem; }
  .curriculum-grid, .faq-section, .start-section { grid-template-columns: 1fr; }
  .start-art { min-height: 0; aspect-ratio: 1.7; }
  .start-copy { padding: 1.6rem; }
  .lesson-list summary { grid-template-columns: 27px 1fr auto 15px; gap: 8px; }
  .lesson-more { margin-left: 35px; }
}
@media (max-width: 425px) {
  .nav-start { display: none; }
  .head-inner { min-height: 65px; }
  .lesson-time { display: none; }
  .lesson-list summary { grid-template-columns: 24px 1fr 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
