/* Window Painter concept — sign-shop look: butcher paper, night glass, tempera paint */
:root {
  --paper: #f5ecd8;
  --paper-2: #ebdfc4;
  --ink: #14171c;
  --ink-2: #2a2f38;
  --glass: #0c141d;
  --glass-2: #142230;
  --red: #e3262d;
  --red-dark: #a8141b;
  --yellow: #ffd028;
  --teal: #12a8a4;
  --teal-dark: #0b7774;
  --green: #1f7a3d;
  --white: #fffdf6;
  --muted: #6b6455;
  --display: "Bowlby One", "Arial Black", sans-serif;
  --script: "Yellowtail", cursive;
  --body: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --shadow-hard: 5px 5px 0 var(--ink);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.55), transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  padding-bottom: 54px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- lettering ---------- */
.painted {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .035em;
  color: var(--red);
  text-shadow: 0.055em 0.000em 0 var(--white),0.054em 0.012em 0 var(--white),0.050em 0.024em 0 var(--white),0.043em 0.034em 0 var(--white),0.034em 0.043em 0 var(--white),0.024em 0.050em 0 var(--white),0.012em 0.054em 0 var(--white),0.000em 0.055em 0 var(--white),-0.012em 0.054em 0 var(--white),-0.024em 0.050em 0 var(--white),-0.034em 0.043em 0 var(--white),-0.043em 0.034em 0 var(--white),-0.050em 0.024em 0 var(--white),-0.054em 0.012em 0 var(--white),-0.055em 0.000em 0 var(--white),-0.054em -0.012em 0 var(--white),-0.050em -0.024em 0 var(--white),-0.043em -0.034em 0 var(--white),-0.034em -0.043em 0 var(--white),-0.024em -0.050em 0 var(--white),-0.012em -0.054em 0 var(--white),-0.000em -0.055em 0 var(--white),0.012em -0.054em 0 var(--white),0.024em -0.050em 0 var(--white),0.034em -0.043em 0 var(--white),0.043em -0.034em 0 var(--white),0.050em -0.024em 0 var(--white),0.054em -0.012em 0 var(--white),0.028em 0.000em 0 var(--white),0.024em 0.014em 0 var(--white),0.014em 0.024em 0 var(--white),0.000em 0.028em 0 var(--white),-0.014em 0.024em 0 var(--white),-0.024em 0.014em 0 var(--white),-0.028em 0.000em 0 var(--white),-0.024em -0.014em 0 var(--white),-0.014em -0.024em 0 var(--white),-0.000em -0.028em 0 var(--white),0.014em -0.024em 0 var(--white),0.024em -0.014em 0 var(--white),0.105em 0.057em 0 var(--ink),0.104em 0.070em 0 var(--ink),0.100em 0.081em 0 var(--ink),0.093em 0.092em 0 var(--ink),0.084em 0.101em 0 var(--ink),0.074em 0.107em 0 var(--ink),0.062em 0.111em 0 var(--ink),0.050em 0.112em 0 var(--ink),0.038em 0.111em 0 var(--ink),0.026em 0.107em 0 var(--ink),0.016em 0.101em 0 var(--ink),0.007em 0.092em 0 var(--ink),0.000em 0.081em 0 var(--ink),-0.004em 0.070em 0 var(--ink),-0.005em 0.058em 0 var(--ink),-0.004em 0.045em 0 var(--ink),0.000em 0.034em 0 var(--ink),0.007em 0.023em 0 var(--ink),0.016em 0.014em 0 var(--ink),0.026em 0.008em 0 var(--ink),0.038em 0.004em 0 var(--ink),0.050em 0.002em 0 var(--ink),0.062em 0.004em 0 var(--ink),0.074em 0.008em 0 var(--ink),0.084em 0.014em 0 var(--ink),0.093em 0.023em 0 var(--ink),0.100em 0.034em 0 var(--ink),0.104em 0.045em 0 var(--ink),0.080em 0.029em 0 var(--ink),0.079em 0.041em 0 var(--ink),0.075em 0.053em 0 var(--ink),0.068em 0.063em 0 var(--ink),0.059em 0.072em 0 var(--ink),0.049em 0.079em 0 var(--ink),0.037em 0.083em 0 var(--ink),0.025em 0.084em 0 var(--ink),0.013em 0.083em 0 var(--ink),0.001em 0.079em 0 var(--ink),-0.009em 0.072em 0 var(--ink),-0.018em 0.063em 0 var(--ink),-0.025em 0.053em 0 var(--ink),-0.029em 0.041em 0 var(--ink),-0.030em 0.029em 0 var(--ink),-0.029em 0.017em 0 var(--ink),-0.025em 0.005em 0 var(--ink),-0.018em -0.005em 0 var(--ink),-0.009em -0.014em 0 var(--ink),0.001em -0.021em 0 var(--ink),0.013em -0.025em 0 var(--ink),0.025em -0.026em 0 var(--ink),0.037em -0.025em 0 var(--ink),0.049em -0.021em 0 var(--ink),0.059em -0.014em 0 var(--ink),0.068em -0.005em 0 var(--ink),0.075em 0.005em 0 var(--ink),0.079em 0.017em 0 var(--ink);
  margin: 0;
}
.painted.yellow { color: var(--yellow); }
.painted.teal { color: var(--teal); }
.painted.on-paper { text-shadow: .045em .05em 0 var(--yellow); letter-spacing: .01em; }
.script { font-family: var(--script); font-weight: 400; line-height: 1; }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.2vw, 50px); line-height: 1; margin: 0 0 10px; }
.kicker { font-family: var(--script); font-size: 30px; color: var(--red); transform: rotate(-3deg); display: inline-block; margin-bottom: 4px; }
.stroke-under { position: relative; display: inline-block; }
.stroke-under::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -.16em; height: .26em;
  background: var(--yellow); border-radius: 60% 40% 55% 45% / 80% 60% 70% 50%;
  transform: rotate(-1.2deg); z-index: -1;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 18px; letter-spacing: .02em;
  padding: 15px 26px 14px; border: 3px solid var(--ink); border-radius: 12px;
  background: var(--yellow); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-hard); transition: transform .12s, box-shadow .12s, background .12s;
}
.btn:hover { transform: translate(-2px,-2px) rotate(-.6deg); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.btn.red { background: var(--red); color: var(--white); }
.btn.teal { background: var(--teal); color: var(--white); }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.ghost:hover { background: rgba(20,23,28,.07); transform: none; box-shadow: none; }
.btn.small { font-size: 14px; padding: 9px 14px 8px; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); border-radius: 9px; }
.btn.block { width: 100%; justify-content: center; }
.btn.on-glass { border-color: var(--white); }
.btn.ghost.on-glass { color: var(--white); }
.btn.ghost.on-glass:hover { background: rgba(255,255,255,.12); }

/* ---------- nav ---------- */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.nav.solid { position: sticky; top: 0; background: var(--glass); border-bottom: 4px solid var(--yellow); }
.nav .wrap { display: flex; align-items: center; gap: 26px; padding: 16px 0; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 8px; transform: rotate(-2deg); }
.logo .w { font-family: var(--script); font-size: 34px; color: var(--yellow); text-shadow: 2px 2px 0 var(--ink); }
.logo .p { font-family: var(--display); font-size: 23px; color: var(--white); text-shadow: 0.110em 0.000em 0 var(--red),0.105em 0.034em 0 var(--red),0.089em 0.065em 0 var(--red),0.065em 0.089em 0 var(--red),0.034em 0.105em 0 var(--red),0.000em 0.110em 0 var(--red),-0.034em 0.105em 0 var(--red),-0.065em 0.089em 0 var(--red),-0.089em 0.065em 0 var(--red),-0.105em 0.034em 0 var(--red),-0.110em 0.000em 0 var(--red),-0.105em -0.034em 0 var(--red),-0.089em -0.065em 0 var(--red),-0.065em -0.089em 0 var(--red),-0.034em -0.105em 0 var(--red),-0.000em -0.110em 0 var(--red),0.034em -0.105em 0 var(--red),0.065em -0.089em 0 var(--red),0.089em -0.065em 0 var(--red),0.105em -0.034em 0 var(--red); letter-spacing: .06em; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav .links a.link { color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; opacity: .92; }
.nav .links a.link:hover { color: var(--yellow); }
.cart-pill { position: relative; }
.cart-pill b { position: absolute; top: -9px; right: -9px; background: var(--red); color: #fff; border: 2px solid var(--ink); border-radius: 99px; min-width: 24px; height: 24px; font: 700 13px/20px var(--body); text-align: center; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; border: 2px solid var(--white); display: grid; place-items: center; font-family: var(--display); font-size: 15px; text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 780px; background: var(--glass); color: var(--white); overflow: hidden; display: flex; align-items: center; }
.hero .bg { position: absolute; inset: 0; background: url(img/hero.jpg) 72% 50% / cover no-repeat; animation: slowpan 30s ease-in-out infinite alternate; }
@keyframes slowpan { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
.hero .shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,13,20,.94) 0%, rgba(8,13,20,.82) 34%, rgba(8,13,20,.18) 62%, rgba(8,13,20,0) 100%),
  linear-gradient(180deg, rgba(8,13,20,.6) 0%, transparent 22%, transparent 70%, rgba(8,13,20,.55) 100%); }
.hero .glare { position: absolute; inset: -20% -10%; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.07) 42%, rgba(255,255,255,.02) 47%, transparent 48%, transparent 58%, rgba(255,255,255,.05) 60%, transparent 64%); }
.hero .wrap { position: relative; z-index: 2; padding: 120px 0 130px; }
.hero .hello { font-family: var(--script); font-size: clamp(34px, 4vw, 52px); color: var(--yellow); transform: rotate(-4deg); display: inline-block; text-shadow: 3px 3px 0 var(--ink); margin-bottom: 6px; }
.hero h1 { font-size: clamp(46px, 6.9vw, 100px); max-width: 640px; }
.hero h1 .l2 { color: var(--yellow); display: block; }
.hero p.lead { font-size: clamp(18px, 1.7vw, 22px); max-width: 520px; margin: 30px 0 30px; color: #f3ead8; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .proof { margin-top: 34px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; color: #e7dcc6; }
.hero .proof b { font-family: var(--display); font-size: 22px; color: var(--white); display: block; line-height: 1.1; }
.drips { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; width: 100%; height: 70px; display: block; }
.reveal > * { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal > *:nth-child(1) { animation-delay: .05s; } .reveal > *:nth-child(2) { animation-delay: .18s; }
.reveal > *:nth-child(3) { animation-delay: .32s; } .reveal > *:nth-child(4) { animation-delay: .46s; }
.reveal > *:nth-child(5) { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* price burst */
.burst { position: absolute; right: 5%; bottom: 120px; z-index: 4; width: 210px; height: 210px; display: grid; place-items: center; text-align: center; transform: rotate(9deg); filter: drop-shadow(5px 6px 0 var(--ink)); animation: wobble 5s ease-in-out infinite; text-decoration: none; }
.burst svg { position: absolute; inset: 0; }
.burst span { position: relative; font-family: var(--display); color: var(--ink); line-height: 1; font-size: 12.5px; width: 120px; }
.burst span b { display: block; font-size: 42px; font-weight: 400; color: var(--red); text-shadow: 0.080em 0.000em 0 var(--white),0.076em 0.025em 0 var(--white),0.065em 0.047em 0 var(--white),0.047em 0.065em 0 var(--white),0.025em 0.076em 0 var(--white),0.000em 0.080em 0 var(--white),-0.025em 0.076em 0 var(--white),-0.047em 0.065em 0 var(--white),-0.065em 0.047em 0 var(--white),-0.076em 0.025em 0 var(--white),-0.080em 0.000em 0 var(--white),-0.076em -0.025em 0 var(--white),-0.065em -0.047em 0 var(--white),-0.047em -0.065em 0 var(--white),-0.025em -0.076em 0 var(--white),-0.000em -0.080em 0 var(--white),0.025em -0.076em 0 var(--white),0.047em -0.065em 0 var(--white),0.065em -0.047em 0 var(--white),0.076em -0.025em 0 var(--white); margin: 6px 0; }
@keyframes wobble { 50% { transform: rotate(4deg) scale(1.04); } }

/* ---------- sections ---------- */
section.block { padding: 84px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head p { max-width: 520px; margin: 0; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow-hard); }
.step:nth-child(2) { transform: rotate(.8deg) translateY(10px); } .step:nth-child(1) { transform: rotate(-1deg); } .step:nth-child(3) { transform: rotate(-.5deg); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -26px; left: 20px; width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: var(--white); border: 3px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-size: 24px; }
.step:nth-child(2)::before { background: var(--teal); } .step:nth-child(3)::before { background: var(--yellow); color: var(--ink); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 22px; margin: 14px 0 8px; line-height: 1.1; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* course cards — framed like a shop window */
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.course-card { position: relative; display: block; text-decoration: none; background: #1d2b22; padding: 12px 12px 0; border-radius: 10px; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); transition: transform .18s, box-shadow .18s; }
.course-card:hover { transform: translate(-3px,-4px) rotate(-.5deg); box-shadow: 13px 14px 0 var(--ink); }
.course-card:nth-child(4n+2) { background: #5a1a18; } .course-card:nth-child(4n+3) { background: #173a4a; } .course-card:nth-child(4n+4) { background: #3b2a14; }
.course-card .pane { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 2px solid rgba(0,0,0,.6); background: #000; }
.course-card .pane img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.course-card:hover .pane img { transform: scale(1.06); }
.course-card .pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.16) 46%, transparent 52%); transform: translateX(-60%); transition: transform .7s; }
.course-card:hover .pane::after { transform: translateX(60%); }
.course-card .tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 7px; padding: 3px 10px; font-weight: 700; font-size: 13px; transform: rotate(-3deg); }
.course-card .sill { color: var(--white); padding: 16px 8px 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.course-card .sill h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.05; margin: 0; }
.course-card .sill .by { grid-column: 1; font-size: 15px; opacity: .8; }
.course-card .price { grid-row: 1 / span 2; grid-column: 2; font-family: var(--display); font-size: 34px; color: var(--yellow); text-shadow: 0.090em 0.000em 0 var(--ink),0.086em 0.028em 0 var(--ink),0.073em 0.053em 0 var(--ink),0.053em 0.073em 0 var(--ink),0.028em 0.086em 0 var(--ink),0.000em 0.090em 0 var(--ink),-0.028em 0.086em 0 var(--ink),-0.053em 0.073em 0 var(--ink),-0.073em 0.053em 0 var(--ink),-0.086em 0.028em 0 var(--ink),-0.090em 0.000em 0 var(--ink),-0.086em -0.028em 0 var(--ink),-0.073em -0.053em 0 var(--ink),-0.053em -0.073em 0 var(--ink),-0.028em -0.086em 0 var(--ink),-0.000em -0.090em 0 var(--ink),0.028em -0.086em 0 var(--ink),0.053em -0.073em 0 var(--ink),0.073em -0.053em 0 var(--ink),0.086em -0.028em 0 var(--ink); transform: rotate(-5deg); }
.course-card.soon { filter: saturate(.5); }
.owned-flag { position: absolute; top: -14px; right: -12px; z-index: 3; background: var(--teal); color: #fff; font-family: var(--display); font-size: 14px; padding: 7px 12px; border: 3px solid var(--ink); border-radius: 8px; transform: rotate(5deg); }

/* painter band */
.band { background: var(--glass); color: var(--white); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.05) 34%, transparent 40%, transparent 62%, rgba(255,255,255,.04) 65%, transparent 70%); }
.painter { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: center; position: relative; }
.painter .photo { position: relative; transform: rotate(-3deg); }
.painter .photo img { border: 10px solid var(--white); border-bottom-width: 54px; box-shadow: 10px 12px 0 rgba(0,0,0,.5); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.painter .photo .cap { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-family: var(--script); font-size: 28px; color: var(--ink); }
.painter .photo .tape { position: absolute; top: -16px; left: 50%; width: 130px; height: 34px; background: rgba(255,208,40,.85); transform: translateX(-50%) rotate(3deg); }
.painter h2 { font-size: clamp(34px, 4.6vw, 60px); }
.painter p { color: #e9dfca; max-width: 560px; font-size: 18px; }
.painter .quote { font-family: var(--script); font-size: 32px; color: var(--yellow); line-height: 1.15; margin: 22px 0; max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { border: 2px solid rgba(255,255,255,.5); border-radius: 99px; padding: 5px 14px; font-size: 14px; font-weight: 600; }

/* promise grid + faq */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise div { border-top: 5px solid var(--ink); padding-top: 14px; }
.promise div:nth-child(1) { border-color: var(--red); } .promise div:nth-child(2) { border-color: var(--teal); } .promise div:nth-child(3) { border-color: var(--yellow); } .promise div:nth-child(4) { border-color: var(--green); }
.promise h4 { font-family: var(--display); font-weight: 400; font-size: 19px; margin: 0 0 6px; }
.promise p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.faq { max-width: 820px; }
.faq details { border-bottom: 2px solid var(--ink); padding: 16px 0; }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--red); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--ink-2); max-width: 680px; }

.footer { background: var(--glass); color: #cfc6b3; padding: 50px 0 40px; border-top: 6px solid var(--red); font-size: 15px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }

/* ---------- page shells ---------- */
.page { padding: 46px 0 90px; min-height: 70vh; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; font-weight: 600; }
.card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-hard); padding: 26px; }
.muted { color: var(--muted); }
.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; gap: 16px; align-items: center; }

/* course detail */
.course-hero { background: var(--glass); color: var(--white); position: relative; overflow: hidden; }
.course-hero .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(22px) brightness(.4) saturate(1.2); transform: scale(1.2); }
.course-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; padding: 54px 0 66px; align-items: center; }
.course-hero h1 { font-size: clamp(38px, 5vw, 66px); }
.course-hero .sub { font-size: 19px; color: #eadfca; max-width: 520px; margin: 24px 0 18px; }
.course-hero .frame { background: #1d2b22; padding: 12px; border: 3px solid var(--ink); border-radius: 10px; box-shadow: 10px 10px 0 rgba(0,0,0,.55); transform: rotate(1.6deg); position: relative; }
.course-hero .frame img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.playdot { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--ink); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .15s; }
.playdot:hover { transform: scale(1.08); }
.playdot::after { content: ""; border-left: 26px solid var(--ink); border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 7px; }
.frame .label { position: absolute; left: 22px; bottom: 22px; background: rgba(0,0,0,.72); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: #e3d8c2; }
.meta b { color: var(--white); }

.detail { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; margin-top: 46px; }
.lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lesson { display: grid; grid-template-columns: 58px 132px 1fr auto; gap: 18px; align-items: center; background: var(--white); border: 3px solid var(--ink); border-radius: 12px; padding: 12px 16px 12px 12px; }
.lesson .n { font-family: var(--display); font-size: 30px; color: var(--red); text-align: center; -webkit-text-stroke: 0; }
.lesson .thumb { aspect-ratio: 16/10; border-radius: 7px; overflow: hidden; border: 2px solid var(--ink); position: relative; }
.lesson .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lesson h4 { margin: 0 0 2px; font-size: 18px; line-height: 1.2; }
.lesson p { margin: 0; font-size: 14.5px; color: var(--muted); }
.lesson .act { text-align: right; display: grid; gap: 6px; justify-items: end; }
.lesson .act .p { font-family: var(--display); font-size: 20px; }
.buybox { position: sticky; top: 96px; }
.buybox .big { font-family: var(--display); font-size: 62px; line-height: 1; color: var(--red); }
.buybox .was { text-decoration: line-through; color: var(--muted); font-weight: 600; }
.save { display: inline-block; background: var(--teal); color: #fff; font-weight: 700; font-size: 14px; padding: 3px 10px; border-radius: 6px; transform: rotate(-2deg); }
.ticks { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 9px; font-size: 15.5px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 8px; border-left: 4px solid var(--green); border-bottom: 4px solid var(--green); transform: rotate(-48deg); }
.or { text-align: center; font-family: var(--script); font-size: 22px; color: var(--muted); margin: 14px 0 6px; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.stepper { display: flex; gap: 8px; margin: 10px 0 30px; flex-wrap: wrap; }
.stepper span { font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 99px; border: 2px solid var(--ink); background: transparent; opacity: .45; }
.stepper span.on { background: var(--ink); color: var(--yellow); opacity: 1; }
.stepper span.done { opacity: 1; background: var(--teal); color: #fff; }
label.f { display: grid; gap: 6px; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
label.f input { font: inherit; font-weight: 500; padding: 13px 14px; border: 3px solid var(--ink); border-radius: 10px; background: #fff; outline: none; }
label.f input:focus { box-shadow: 4px 4px 0 var(--yellow); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.line { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 2px dashed rgba(20,23,28,.25); }
.line img { width: 74px; aspect-ratio: 4/3; object-fit: cover; border-radius: 7px; border: 2px solid var(--ink); }
.line small { color: var(--muted); display: block; }
.line button { background: none; border: 0; color: var(--red); font-weight: 700; font-size: 13px; padding: 0; text-decoration: underline; }
.total { font-family: var(--display); font-size: 30px; }
.paypal { background: #ffc439; border: 3px solid var(--ink); border-radius: 12px; padding: 14px; width: 100%; font-weight: 800; font-size: 19px; font-style: italic; color: #253b80; box-shadow: var(--shadow-hard); transition: transform .12s, box-shadow .12s; }
.paypal:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.paypal i { color: #179bd7; font-style: italic; }
.paychoice { display: grid; gap: 12px; }
.disabled-pay { border: 3px dashed rgba(20,23,28,.35); border-radius: 12px; padding: 13px; text-align: center; color: var(--muted); font-weight: 600; font-size: 15px; }
.note { background: var(--paper-2); border-left: 6px solid var(--teal); padding: 12px 16px; border-radius: 6px; font-size: 15px; }

/* modal */
.modal-back { position: fixed; inset: 0; background: rgba(8,13,20,.72); z-index: 100; display: grid; place-items: center; animation: fade .2s; padding: 20px; }
@keyframes fade { from { opacity: 0; } }
.pp { width: 400px; max-width: 100%; background: #fff; border-radius: 14px; overflow: hidden; font-family: "Helvetica Neue", Arial, sans-serif; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: pop .25s cubic-bezier(.2,1.2,.4,1); }
@keyframes pop { from { transform: scale(.9) translateY(20px); opacity: 0; } }
.pp header { padding: 18px 24px; border-bottom: 1px solid #e6e6e6; display: flex; justify-content: space-between; align-items: center; }
.pp header b { font-size: 22px; font-style: italic; color: #253b80; } .pp header b i { color: #179bd7; }
.pp .body { padding: 22px 24px 26px; color: #2c2e2f; font-size: 15px; }
.pp .amt { font-size: 34px; font-weight: 300; margin: 6px 0 16px; }
.pp .src { border: 1px solid #cfd3d7; border-radius: 8px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.pp .src em { width: 40px; height: 26px; border-radius: 4px; background: linear-gradient(135deg,#1a1f71,#4b6bd6); }
.pp button.go { width: 100%; background: #0070ba; color: #fff; border: 0; border-radius: 99px; padding: 14px; font-size: 17px; font-weight: 700; }
.pp button.go:disabled { opacity: .7; }
.pp .fine { font-size: 12px; color: #6c7378; text-align: center; margin-top: 12px; }

/* order status */
.status-hero { text-align: center; padding: 20px 0 10px; }
.status-hero h1 { font-size: clamp(38px, 5.6vw, 72px); }
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 44px auto 36px; max-width: 860px; position: relative; }
.track::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 28px; height: 8px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 9px; }
.track .fill { position: absolute; left: 16.6%; top: 28px; height: 8px; background: var(--red); border: 2px solid var(--ink); border-radius: 9px; transition: width .8s; }
.track .t { position: relative; text-align: center; padding: 0 10px; }
.track .dot { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; border: 3px solid var(--ink); background: var(--white); display: grid; place-items: center; font-family: var(--display); font-size: 24px; transition: background .4s, transform .4s; }
.track .t.done .dot { background: var(--teal); color: #fff; }
.track .t.now .dot { background: var(--yellow); transform: scale(1.14) rotate(-6deg); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(255,208,40,.35); } }
.track h4 { margin: 0; font-size: 17px; } .track p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.prep { max-width: 700px; margin: 0 auto; }
.prep .item { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 10px 0; font-size: 15px; }
.prep .bar { grid-column: 1 / -1; height: 12px; border: 2px solid var(--ink); border-radius: 9px; background: var(--paper-2); overflow: hidden; }
.prep .bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #f0545a 12px 24px); transition: width .5s linear; }
.mail { max-width: 560px; margin: 0 auto; text-align: left; transform: rotate(-1deg); }
.mail .from { font-size: 13px; color: var(--muted); border-bottom: 2px dashed rgba(20,23,28,.25); padding-bottom: 10px; margin-bottom: 12px; }
.demo-hint { max-width: 700px; margin: 26px auto 0; background: var(--ink); color: var(--white); border-radius: 12px; padding: 16px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 15px; }
.demo-hint b { color: var(--yellow); }

/* library */
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.lib-card { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: center; }
.lib-card img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 3px solid var(--ink); width: 100%; }
.lib-card h3 { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.05; margin: 0 0 6px; }
.progress { height: 12px; border: 2px solid var(--ink); border-radius: 9px; background: var(--paper-2); overflow: hidden; margin: 10px 0 6px; }
.progress i { display: block; height: 100%; background: var(--teal); }
.empty { text-align: center; padding: 60px 20px; }

/* player */
.watch { background: var(--glass); color: var(--white); min-height: calc(100vh - 54px); }
.watch .grid { display: grid; grid-template-columns: 1fr 370px; gap: 28px; padding: 26px 0 60px; align-items: start; }
.screen { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; border: 3px solid #000; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.screen .still { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.screen.playing .still { animation: ken 40s linear infinite alternate; }
@keyframes ken { to { transform: scale(1.18) translate(-2%, -1.5%); } }
.screen .wm { position: absolute; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.5); text-shadow: 0 1px 2px rgba(0,0,0,.7); pointer-events: none; transition: top 1.2s, left 1.2s; white-space: nowrap; letter-spacing: .02em; }
.screen .cap { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; pointer-events: none; }
.screen .cap span { background: rgba(0,0,0,.7); padding: 5px 14px; border-radius: 6px; font-size: 17px; }
.screen .bigplay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); cursor: pointer; }
.screen.playing .bigplay { display: none; }
.controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; font-size: 14px; }
.controls button { background: none; border: 0; color: #fff; font-size: 18px; width: 30px; }
.scrub { height: 6px; background: rgba(255,255,255,.3); border-radius: 9px; overflow: hidden; cursor: pointer; }
.scrub i { display: block; height: 100%; width: 0; background: var(--red); }
.watch h1 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 22px 0 4px; line-height: 1.1; }
.watch .sub { color: #b9c2cc; margin: 0 0 20px; }
.watch .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.watch .panel { background: var(--glass-2); border: 2px solid rgba(255,255,255,.14); border-radius: 12px; padding: 18px 20px; font-size: 15.5px; }
.watch .panel h4 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; color: var(--yellow); font-size: 17px; }
.watch .panel ul { margin: 0; padding-left: 18px; color: #dbe2e9; }
.playlist { background: var(--glass-2); border: 2px solid rgba(255,255,255,.14); border-radius: 12px; overflow: hidden; }
.playlist header { padding: 16px 18px; border-bottom: 2px solid rgba(255,255,255,.14); }
.playlist header b { font-family: var(--display); font-weight: 400; font-size: 18px; display: block; line-height: 1.15; }
.playlist header small { color: #b9c2cc; }
.pl { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 13px 18px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
.pl:hover { background: rgba(255,255,255,.06); }
.pl.on { background: rgba(255,208,40,.14); box-shadow: inset 5px 0 0 var(--yellow); }
.pl .n { font-family: var(--display); color: var(--yellow); font-size: 18px; }
.pl small { display: block; color: #9fb0bf; }
.pl .lock { font-size: 12px; font-weight: 700; color: var(--ink); background: var(--yellow); border-radius: 6px; padding: 3px 8px; }
.licence { margin-top: 16px; font-size: 13.5px; color: #9fb0bf; border: 1px dashed rgba(255,255,255,.25); border-radius: 10px; padding: 12px 14px; }
.licence b { color: #fff; }

/* admin */
table.orders { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.orders th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 3px solid var(--ink); }
table.orders td { padding: 14px 10px; border-bottom: 2px dashed rgba(20,23,28,.2); vertical-align: middle; }
.badge { display: inline-block; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 99px; border: 2px solid var(--ink); }
.badge.awaiting { background: var(--yellow); } .badge.preparing { background: #ffd9a8; } .badge.ready { background: var(--teal); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stats .card { padding: 18px 20px; } .stats b { font-family: var(--display); font-weight: 400; font-size: 34px; display: block; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* demo bar */
.demobar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: 54px; background: var(--ink); color: #fff; border-top: 3px solid var(--yellow); display: flex; align-items: center; gap: 6px; padding: 0 16px; font-size: 13.5px; overflow-x: auto; white-space: nowrap; }
.demobar .lbl { font-family: var(--display); color: var(--yellow); font-size: 13px; margin-right: 10px; letter-spacing: .04em; }
.demobar a, .demobar button { color: #fff; text-decoration: none; background: rgba(255,255,255,.1); border: 0; border-radius: 7px; padding: 6px 11px; font-weight: 600; font-size: 13.5px; }
.demobar a:hover, .demobar button:hover { background: rgba(255,255,255,.22); }
.demobar a.on { background: var(--yellow); color: var(--ink); }
.demobar .sp { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); background: var(--ink); color: #fff; border: 3px solid var(--yellow); border-radius: 12px; padding: 12px 20px; font-weight: 600; z-index: 120; animation: pop .25s; box-shadow: 0 10px 30px rgba(0,0,0,.35); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .courses, .lib-grid, .steps, .watch .tabs { grid-template-columns: 1fr; }
  .step { transform: none !important; }
  .promise, .stats { grid-template-columns: 1fr 1fr; }
  .painter, .course-hero .wrap, .detail, .checkout, .watch .grid { grid-template-columns: 1fr; }
  .painter .photo { max-width: 340px; margin: 0 auto; }
  .buybox { position: static; }
  .burst { display: none; }
  .hero { min-height: 640px; }
  .hero .shade { background: linear-gradient(180deg, rgba(8,13,20,.85), rgba(8,13,20,.72)); }
  .nav .links a.link.hide-s { display: none; }
}
@media (max-width: 620px) {
  .lesson { grid-template-columns: 40px 1fr; }
  .lesson .thumb { display: none; }
  .lesson .act { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .lib-card { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .track h4 { font-size: 14px; } .track p { display: none; }
  table.orders th:nth-child(2), table.orders td:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal > * { opacity: 1; transform: none; } }

/* ---------- round 2 ---------- */
html, body { overflow-x: clip; }
.kicker { font-size: 34px; }
.card-h { margin: 0 0 16px; font-family: var(--display); font-weight: 400; font-size: 21px; }
.painted.solid { color: var(--yellow); text-shadow: .045em .055em 0 var(--red-dark); letter-spacing: .01em; line-height: 1.02; }
.course-hero .bgimg { filter: brightness(.3) saturate(1.1); transform: none; background-position: center 35%; }
.course-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,13,20,.92) 0%, rgba(8,13,20,.7) 45%, rgba(8,13,20,.35) 100%); }
.course-hero .glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 44%, transparent 50%, transparent 66%, rgba(255,255,255,.04) 68%, transparent 73%); }
.course-hero .wrap { z-index: 2; padding-bottom: 110px; }
.course-hero .drips { z-index: 2; }
.lesson .thumb { background-repeat: no-repeat; background-color: #000; }
.hero .proof { margin-top: 38px; display: inline-flex; gap: 0; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-hard); transform: rotate(-1.2deg); font-size: 14.5px; font-weight: 600; }
.hero .proof div { padding: 11px 22px 10px; border-right: 3px solid var(--ink); }
.hero .proof div:last-child { border-right: 0; }
.hero .proof b { color: var(--ink); font-size: 21px; font-weight: 400; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.q { margin: 0; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-hard); overflow: hidden; }
.q:nth-child(1) { transform: rotate(-.8deg); } .q:nth-child(3) { transform: rotate(.7deg); }
.q .qimg { aspect-ratio: 16/9; background-size: cover; background-position: center; border-bottom: 3px solid var(--ink); }
.q blockquote { margin: 0; padding: 18px 22px 8px; font-family: var(--script); font-size: 25px; line-height: 1.18; color: var(--ink); }
.q figcaption { padding: 0 22px 18px; font-size: 14.5px; color: var(--muted); }
.receipt { max-width: 700px; margin: 0 auto 22px; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-hard); padding: 6px 20px; }
.receipt .r { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 2px dashed rgba(20,23,28,.25); text-align: left; }
.receipt .rimg { aspect-ratio: 4/3; border-radius: 7px; border: 2px solid var(--ink); background-repeat: no-repeat; }
.receipt small { display: block; color: var(--muted); }
.receipt .r.tot { grid-template-columns: 1fr auto; border-bottom: 0; font-weight: 600; }
.receipt .r.tot b { font-family: var(--display); font-weight: 400; font-size: 24px; }
.demo-hint { background: transparent; color: var(--ink-2); border: 2px dashed rgba(20,23,28,.45); font-size: 14.5px; }
.demo-hint b { color: var(--red); }
.screen .wm { font-size: 12.5px; max-width: 88%; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.42); }
.screen:not(.playing) .cap { display: none; }
.screen .cap span { display: inline-block; max-width: 86%; white-space: normal; line-height: 1.3; }
table.orders td:first-child, table.orders td:nth-child(2), table.orders td:nth-child(3), .badge, table.orders .btn { white-space: nowrap; }
.toast { bottom: 74px; }
.demobar.min { left: auto; right: 12px; bottom: 12px; width: auto; height: auto; padding: 0; border: 0; background: none; }
.demobar .pill { background: var(--ink); color: var(--yellow); border: 2px solid var(--yellow); border-radius: 99px; padding: 8px 14px; font-family: var(--display); font-size: 12px; }
body.demo-min { padding-bottom: 0; }
@media (max-width: 980px) {
  .quotes { grid-template-columns: 1fr; } .q { transform: none !important; }
  .hero .bg { background-position: 78% center; }
  .hero .shade { background: linear-gradient(180deg, rgba(8,13,20,.55) 0%, rgba(8,13,20,.3) 22%, rgba(8,13,20,.8) 52%, rgba(8,13,20,.92) 100%); }
}
@media (max-width: 620px) {
  .logo .w { font-size: 26px; } .logo .p { font-size: 17px; }
  .nav .wrap { gap: 10px; padding: 12px 0; } .nav .links { gap: 10px; }
  .nav .links a.link { white-space: nowrap; font-size: 15px; }
  .hero { min-height: 0; align-items: flex-end; }
  .hero .wrap { padding: 250px 0 110px; }
  .hero h1 { font-size: clamp(54px, 16.5vw, 78px); }
  .hero .hello { font-size: 30px; }
  .hero .proof { display: grid; grid-template-columns: 1fr; transform: none; width: 100%; }
  .hero .proof div { border-right: 0; border-bottom: 3px solid var(--ink); display: flex; gap: 10px; align-items: baseline; padding: 8px 16px; }
  .hero .proof div:last-child { border-bottom: 0; }
  .hero .proof b { display: inline; }
  .hero .cta .btn { width: 100%; justify-content: center; }
  .lesson { grid-template-columns: 34px 1fr; gap: 12px; }
  .lesson .act { grid-column: 1 / -1; }
  section.block { padding: 60px 0; }
  .course-hero .frame { transform: none; }
  .watch .grid { padding-top: 14px; }
  .controls { padding: 20px 10px 8px; gap: 8px; font-size: 12px; }
  .track::before, .track .fill { top: 22px; } .track .dot { width: 50px; height: 50px; font-size: 19px; }
  .stats b { font-size: 26px; }
}

/* ---------- round 3 ---------- */
.desktag { font-family: var(--display); font-size: 13px; letter-spacing: .06em; color: var(--ink); background: var(--yellow); border-radius: 6px; padding: 4px 10px; transform: rotate(-2deg); }
.line .limg { width: 74px; aspect-ratio: 4/3; border-radius: 7px; border: 2px solid var(--ink); background-repeat: no-repeat; display: block; }
.screen .wm { background: rgba(0,0,0,.5); color: rgba(255,255,255,.88); padding: 3px 9px; border-radius: 5px; font-size: 12px; text-shadow: none; max-width: none; overflow: visible; transition: top .8s, left .8s; }
.stats b { font-family: var(--body); font-weight: 800; letter-spacing: -.02em; }
.lib-card { align-items: start; } .lib-card h3 { min-height: 2.1em; display: flex; align-items: end; }
.promise { counter-reset: p; gap: 26px; }
.promise div { position: relative; padding-top: 18px; }
.promise div::before { counter-increment: p; content: counter(p); font-family: var(--script); font-size: 54px; line-height: .8; color: var(--red); display: block; margin-bottom: 8px; }
.promise div:nth-child(2)::before { color: var(--teal-dark); } .promise div:nth-child(3)::before { color: #c79a00; } .promise div:nth-child(4)::before { color: var(--green); }
.promise h4 { font-size: 21px; } .promise p { font-size: 16.5px; }
.faq { margin: 0 auto; }
section.block:has(.faq) .kicker, section.block:has(.faq) .section-title { display: block; text-align: center; }
section.block:has(.faq) .section-title { margin-bottom: 26px; }
.closer { position: relative; background: var(--glass) url(img/brush.jpg) center / cover; color: var(--white); text-align: center; padding: 96px 0 100px; overflow: hidden; }
.closer::before { content: ""; position: absolute; inset: 0; background: rgba(8,13,20,.8); }
.closer .glare { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.07) 44%, transparent 50%); }
.closer .wrap { position: relative; }
.closer .hello { font-family: var(--script); font-size: 40px; color: var(--yellow); transform: rotate(-3deg); display: inline-block; }
.closer h2 { font-size: clamp(54px, 8vw, 110px); margin: 6px 0 22px; }
.closer p { max-width: 480px; margin: 0 auto 28px; font-size: 19px; color: #eadfca; }
.closer .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 980px) { .detail .buybox { order: -1; } }
@media (max-width: 620px) {
  .nav .avatar { display: none; }
  .nav .links a.link.hide-s { display: none; }
  .hero .bg { inset: 0 0 auto 0; height: 330px; background-position: 90% top; background-size: auto 100%; animation: none; }
  .hero .shade { background: linear-gradient(180deg, rgba(12,20,29,.5) 0, rgba(12,20,29,0) 70px, rgba(12,20,29,0) 200px, var(--glass) 328px); }
  .hero .wrap { padding: 236px 0 100px; }
  .hero h1 { font-size: clamp(48px, 14.5vw, 70px); }
  .wm-mail { display: none; }
  .closer { padding: 70px 0; }
  .lib-card h3 { min-height: 0; }
}
@media (max-width: 620px) { .nav .links:has(a[href="#/library"]) a[href="#/classes"] { display: none; } .nav .links { gap: 12px; } }
