:root {
  color-scheme: light;
  --black: #101010;
  --white: #fff;
  --paper: #f6f6f6;
  --ink: #161616;
  --muted: #525252;
  --line: #d4d4d4;
  --display: "Barlow Condensed", "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
  --body: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.65 var(--body); color: var(--ink); background: var(--white); }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
p + p { margin-top: .6rem; }
button, select { font: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: .5rem; left: .5rem; padding: .6rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header, .dark, .hero { background: var(--black); color: var(--white); }
.header { border-bottom: 1px solid #343434; }
.nav { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; position: relative; }
.brand img, .footer-bottom img { object-fit: contain; }
.nav nav { display: flex; align-items: center; gap: clamp(.85rem, 2.4vw, 2rem); font-size: .9rem; font-weight: 600; }
.nav nav > a { text-decoration: none; white-space: nowrap; }
.nav nav > a:hover:not(.button) { text-decoration: underline; }
.menu { display: none; border: 1px solid #767676; background: none; color: #fff; padding: .45rem .9rem; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .65rem 1.1rem; text-decoration: none; text-align: center; border: 1px solid transparent; font-size: .9rem; font-weight: 700; line-height: 1.3; }
.white { background: var(--white); color: var(--black); }
.white:hover { background: #dcdcdc; }
.black { background: var(--black); color: var(--white); }
.black:hover { background: #3b3b3b; }
.outline { border-color: #767676; color: var(--white); }
.outline:hover { background: #292929; }
.nav-book { min-height: 43px; }
.hero-grid { max-width: 1512px; margin: auto; display: grid; grid-template-columns: 1.02fr 1fr; min-height: clamp(490px, 44vw, 665px); }
.hero-copy { padding: clamp(3.8rem, 6.2vw, 6rem) 1.6rem clamp(3.8rem, 6vw, 5rem) max(48px, calc((100% - 445px) / 2)); align-self: center; }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; line-height: 1.45; margin-bottom: 1.1rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; line-height: 1; }
h1, h2 { text-transform: uppercase; }
h1 { font-size: clamp(4.5rem, 8.4vw, 8.5rem); line-height: .85; letter-spacing: -.027em; margin-bottom: 1.65rem; }
h2 { font-size: clamp(3.1rem, 6.2vw, 6rem); letter-spacing: -.015em; }
h3 { font-size: 2.05rem; }
.hero-copy > p:not(.eyebrow) { max-width: 390px; color: #d5d5d5; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.hero-image { position: relative; overflow: hidden; background: #313131; min-height: 0; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-image figcaption { position: absolute; bottom: 0; right: 0; background: #101010; padding: .55rem .9rem; text-transform: uppercase; font-weight: 700; font-size: .76rem; letter-spacing: .115em; }
.quick { border-bottom: 1px solid var(--line); }
.quick-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick a { padding: 1.15rem 1rem; font-size: .9rem; font-weight: 700; text-decoration: none; text-align: center; }
.quick a + a { border-left: 1px solid var(--line); }
.quick a:hover { text-decoration: underline; background: var(--paper); }
.section { padding-block: clamp(3.7rem, 7vw, 7rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2.1rem; }
.underlink { font-weight: 700; text-decoration-thickness: 1px; }
.underlink:hover { text-decoration-thickness: 2px; }
.class-list article { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(250px, 1.8fr) 100px; align-items: center; gap: 1.45rem; padding-block: 1.35rem; border-top: 1px solid var(--line); }
.class-list article:last-child { border-bottom: 1px solid var(--line); }
.class-list article > :last-child { justify-self: end; font-size: .9rem; }
.linked-card { position: relative; isolation: isolate; }
.linked-card .card-target::after { content: ""; position: absolute; inset: 0; }
.linked-card a:not(.card-target) { position: relative; z-index: 1; }
.linked-card:has(.card-target:focus-visible) { outline: 2px solid currentColor; outline-offset: -2px; }
.linked-card .card-target:focus-visible { outline: none; }
.class-list .card-target, .kids-grid .card-target { text-decoration: none; }
.class-list .linked-card:is(:hover, :focus-within), .kids-grid .linked-card:is(:hover, :focus-within) { background: var(--paper); }
.linked-card:is(:hover, :focus-within) h3 .card-target, .row-hint { text-decoration: underline; }
.row-hint { font-weight: 700; text-underline-offset: .24em; }
.class-list p, .kids-grid p, .price-grid p { color: var(--muted); }
.split, .footer-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.dark p, .dark li { color: #ddd; }
.dark strong { color: #fff; }
.steps { padding-left: 1.35rem; margin: 1.4rem 0 1.6rem; max-width: 530px; }
.steps li { padding-left: .45rem; margin-bottom: .65rem; }
.picker { border: 1px solid #696969; padding: clamp(1.3rem, 3.5vw, 2.7rem); background: #191919; }
.picker label { display: block; margin: 1.2rem 0 .5rem; font-weight: 600; }
.picker select { width: 100%; background: #fff; color: #111; padding: .65rem .5rem; border: 1px solid #bbb; border-radius: 0; }
.recommendation { border-top: 1px solid #696969; margin-top: 1.15rem; padding-top: 1rem; }
.recommendation strong { font-size: 1.5rem; font-family: var(--display); }
.kids-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.kids-grid article { padding: clamp(1.15rem, 2.8vw, 2.2rem); }
.kids-grid article + article { border-left: 1px solid var(--line); }
.kids-grid .meta { color: var(--ink); font-weight: 700; font-size: .89rem; margin-top: .85rem; }
.family { background: var(--paper); padding: clamp(1.15rem, 2.8vw, 2.2rem); margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.family h3 { margin-bottom: .55rem; }
.prices { background: var(--paper); }
.price-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
table { width: 100%; border-collapse: collapse; margin-block: .85rem; }
th, td { border-bottom: 1px solid #c6c6c6; padding: .8rem .25rem; text-align: right; line-height: 1.3; }
th:first-child { text-align: left; }
thead th { font-size: .875rem; color: var(--muted); }
td { white-space: nowrap; font-variant-numeric: tabular-nums; }
th small { display: inline-block; margin-top: .15rem; font-weight: 400; color: var(--muted); }
.footer-grid address { font-style: normal; line-height: 1.9; }
.footer-grid .button { margin-top: 1.5rem; }
.footer-bottom { border-top: 1px solid #454545; display: flex; align-items: center; justify-content: space-between; margin-top: 2.75rem; padding-top: 1.25rem; font-size: .9rem; }
@media (max-width: 1000px) {
  .hero-copy { padding-left: 48px; }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 40px); }
  .nav { min-height: 68px; }
  .brand img { width: 90px; height: 47px; }
  .menu { display: block; }
  .nav nav { flex-wrap: wrap; }
  .nav nav.has-menu { display: none; position: absolute; top: 100%; left: -20px; right: -20px; background: #101010; padding: 1rem 20px 1.25rem; z-index: 2; border-bottom: 1px solid #555; align-items: stretch; }
  .nav nav.has-menu.open { display: flex; flex-direction: column; }
  .nav nav.has-menu > a:not(.button) { padding: .35rem 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 3rem 20px 2.4rem; }
  h1 { font-size: clamp(4.5rem, 12vw, 6.1rem); }
  .hero-image { min-height: clamp(320px, 72vw, 470px); }
  .hero-image img { object-position: 50% 68%; }
  .quick-row { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick a:nth-child(odd) { border-left: 0; }
  .quick a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quick a { padding: .85rem .4rem; font-size: .82rem; }
  .class-list article { grid-template-columns: 1fr auto; gap: .45rem 1rem; align-items: start; }
  .class-list article p { grid-row: 2; grid-column: 1 / -1; }
  .class-list article > :last-child { grid-column: 2; grid-row: 1; align-self: center; }
  .split, .kids-grid, .price-grid, .footer-grid { grid-template-columns: 1fr; }
  .kids-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 380px) {
  .actions .button { width: 100%; }
  .class-list article > :last-child { font-size: .83rem; }
}

.first-visit { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.faq-layout h2 + p, .birthday-head h2 + p { margin-top: 1.15rem; }
.faq-layout h2 + p { max-width: 35ch; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1rem 0; cursor: pointer; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 1rem; height: 1rem; display: block; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.faq details[open] summary::after { background-size: 100% 2px, 0 0; }
.faq summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.faq details p { color: var(--muted); padding: 0 1.75rem 1rem 0; }
.birthday-link { margin-top: 1.25rem; }
.birthday-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.party-book { border: 1px solid #6a6a6a; padding: clamp(1.15rem, 3vw, 2rem); }
.party-book dl { margin: 0; }
.party-book dl > div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .45rem; }
.party-book dl > div + div { margin-top: .35rem; }
.party-book dd { margin: 0; font-weight: 700; }
.party-book p { margin: .8rem 0 1rem; }
.party-grid { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid #6a6a6a; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.party-grid h3 { margin-bottom: .65rem; }
.party-note { margin-top: 1.5rem; }
.calculator { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); background: var(--white); margin-bottom: 2.75rem; }
.calc-intro, .calc-result { padding: clamp(1.15rem, 3vw, 2rem); min-width: 0; }
.calc-intro h3 + p { margin-top: .65rem; }
.calc-inputs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; margin-block: 1.25rem; }
.calc-inputs label { font-size: .9rem; font-weight: 700; display: flex; flex-direction: column; justify-content: space-between; gap: .4rem; }
.calc-inputs select { width: 100%; min-height: 43px; background: #fff; color: var(--ink); border: 1px solid #777; border-radius: 0; padding: .45rem; }
.calc-note { font-size: .875rem; color: var(--muted); }
.calc-result { background: #191919; color: var(--white); }
.calc-result h4 { margin: .4rem 0 0; font: 800 1.9rem/1.05 var(--display); }
.calc-result .calc-amount { margin: .4rem 0; font-size: 1.45rem; font-weight: 700; }
.calc-result .calc-count, .calc-result .calc-saving { color: #ddd; font-size: .9rem; }
.calc-result dl { margin: .9rem 0 0; font-size: .9rem; }
.calc-result dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: .45rem; border-top: 1px solid #636363; }
.calc-result dd { white-space: nowrap; margin: 0; }
@media (max-width: 780px) {
  .faq-layout, .birthday-head, .party-grid, .calculator { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .calc-inputs { grid-template-columns: 1fr 1fr; }
  .calc-inputs label:first-child { grid-column: 1 / -1; }
}

/* Typography and composition of the opening spread. */
.hero-copy { padding-left: max(48px, calc((100% - 505px) / 2)); }
.hero h1 { margin: 0 0 2rem; text-transform: none; line-height: 1; }
.hero-verb, .hero-place { display: block; }
.hero-verb { font: 500 clamp(3rem, 5.4vw, 5.8rem)/1.12 var(--body); letter-spacing: -.065em; }
.hero-place { font: 800 clamp(5rem, 9vw, 9rem)/1.02 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.hero-image img { object-position: 50% 70%; }
.hero .outline { border-color: transparent; text-decoration: underline; text-underline-offset: .35em; }
.hero .button.white, .nav-book { border-radius: 3px; }
.hero .actions { align-items: center; }
.picker { background: #f3f3f1; color: #111; border: 0; }
.picker .recommendation { margin-top: 1.7rem; border-color: #bcbcbc; padding-top: 1.3rem; }
.picker .recommendation strong { font-size: 2.15rem; color: #161616; }
.picker .recommendation p { color: #454545; }
.choices { border: 0; padding: 0; margin: 1.35rem 0 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: .75rem; font-size: .94rem; font-weight: 600; }
.choices .choice { display: inline-flex; position: relative; margin: 0 .25rem .5rem 0; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; border: 1px solid #b4b4b4; border-radius: 99px; padding: .5rem .95rem; background: white; color: #222; font-weight: 600; font-size: .9rem; }
.choice span::before { content: ''; width: .65rem; height: .65rem; border: 1px solid #888; border-radius: 50%; }
.choice:hover span { border-color: #161616; }
.choice input:checked + span { background: #151515; border-color: #151515; color: #fff; }
.choice input:checked + span::before { background: white; border-color: white; box-shadow: inset 0 0 0 2px #151515; }
.choice input:focus-visible + span { outline: 2px solid #151515; outline-offset: 3px; }
.calc-inputs { display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
.calc-inputs .profile { margin-top: 0; }
.weekly { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
.weekly output { font-weight: 700; font-variant-numeric: tabular-nums; }
.weekly input { grid-column: 1/-1; width: 100%; margin: 0; height: 38px; appearance: none; cursor: pointer; background: linear-gradient(to right,#151515 var(--fill),#d6d6d6 var(--fill)) center / 100% 3px no-repeat; }
.weekly input::-webkit-slider-thumb { appearance: none; border: 3px solid #fff; box-shadow: 0 0 0 1px #111; border-radius: 50%; width: 24px; height: 24px; background: #111; }
.weekly input::-moz-range-thumb { border: 3px solid white; border-radius: 50%; width: 18px; height: 18px; background: #111; box-shadow: 0 0 0 1px #111; }
.ticks { grid-column: 1/-1; display: flex; justify-content: space-between; font-size: .8rem; color: #646464; }
.calc-result { display: flex; flex-direction: column; justify-content: center; }
.calc-result h4 { font-size: clamp(2rem,3.3vw,3.3rem); }
.calc-result .calc-amount { font: 700 clamp(2rem,3.4vw,3.5rem)/1.2 var(--display); margin: .65rem 0; }
@media(max-width:780px) {
 .hero-copy { padding: 2.8rem 20px 2rem; }
 .hero-verb { font-size: clamp(2.75rem,9vw,4rem); }
 .hero-place { font-size: clamp(4.7rem,17vw,7rem); }
 .hero h1 { margin-bottom: 1.2rem; }
}

.price-grid .multisport {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 1.15rem 0 .8rem;
  padding: .85rem 1rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
}
.multisport span {
  display: grid;
  place-items: center;
  flex: 0 0 1.65rem;
  height: 1.65rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.coaching-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.coaching-options article { background: var(--paper); padding: clamp(1.25rem, 3vw, 2.25rem); }
.coaching-options article:first-child { background: var(--black); color: white; }
.coaching-options p { margin: .85rem 0 .5rem; }
.coaching-options a + p { margin-top: 1.4rem; }
@media (max-width: 780px) { .coaching-options { grid-template-columns: 1fr; } }

.logo-contacts, .contact-icons { display: flex; align-items: center; }
.logo-contacts { gap: clamp(.4rem, 1.4vw, 1.4rem); }
.contact-icons a { display: grid; place-items: center; width: 2rem; height: 2.75rem; }
.contact-icons a:is(:hover,:focus-visible) { background: #383838; border-radius: 4px; }
.contact-icons svg { width: 1.2rem; height: 1.2rem; }
.contact-photo { width: 100%; height: auto; display: block; margin-bottom: clamp(2rem, 5vw, 4rem); }
@media (min-width:781px) and (max-width:1000px) {
  .nav, .nav nav { gap: .6rem; }
}
@media (max-width:430px) {
  .nav, .footer-bottom { gap: .35rem; flex-wrap: wrap; }
  .contact-icons a { width: 1.75rem; }
}

#jak-zacit .split { row-gap: 1rem; }
.welcome-video { display: block; justify-self: center; grid-column: 2; grid-row: 1 / 3; width: min(100%, 19rem); height: auto; background: #111; }
#jak-zacit .picker { grid-column: 1 / -1; margin-top: 1.5rem; }
@media (max-width: 780px) {
  .welcome-video { grid-column: auto; grid-row: auto; }
}

:root { --header-height: 83px; scroll-padding-top: calc(var(--header-height) + .75rem); }
.header { position: sticky; top: 0; z-index: 20; }
.skip { z-index: 30; }
.hero-verb { max-width: 13ch; font-size: clamp(2.6rem, 3.8vw, 4.25rem); line-height: 1.06; }
.hero-place { margin-top: .12em; }
.welcome-steps > .button + p { margin-top: 1.4rem; }
.booking-actions, .price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.25rem; }
.price-actions { margin-top: 2rem; }
.price-actions .button { min-height: 56px; padding-inline: 1.6rem; font-size: 1.05rem; }
.review-score { display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: baseline; }
.review-score strong { font: 800 2.1rem/1.1 var(--display); }
.review-score small { color: var(--muted); }
.review-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 4vw, 4rem); margin-top: 1.5rem; }
.review-quotes figure { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.review-quotes blockquote { margin: 0 0 .75rem; font: 600 clamp(1.4rem, 2.5vw, 2.1rem)/1.2 var(--display); }
.review-quotes figcaption { color: var(--muted); }
.detail-hero { background: var(--black); color: #fff; padding-block: clamp(2.2rem, 5vw, 5rem); }
.detail-hero .shell { max-width: 1050px; }
.detail-hero h1 { font-size: clamp(3.2rem, 7.5vw, 6.2rem); line-height: .96; max-width: 17ch; margin: 1.5rem 0 1.2rem; }
.detail-hero p { color: #e0e0e0; font-size: 1.15rem; max-width: 56ch; }
.detail-body { max-width: 1050px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 7vw, 6rem); align-items: start; }
.detail-body article + article { margin-top: 2rem; }
.detail-body h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); margin-bottom: .65rem; }
.detail-body ul { margin: 0; padding-left: 1.25rem; }
.detail-aside { padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--paper); }
.detail-aside dl { margin: 0 0 1rem; }
.detail-aside dl div { border-bottom: 1px solid var(--line); padding-block: .6rem; }
.detail-aside dd { margin: 0; font-weight: 700; }
.detail-footer { padding-block: 1.5rem; }
.detail-footer .footer-bottom { margin: 0; padding: 0; border: 0; }
@media (max-width: 780px) {
  :root { --header-height: 69px; }
  .nav nav.has-menu { max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; }
  .hero-verb { max-width: 16ch; }
  .review-quotes, .detail-body { grid-template-columns: 1fr; }
  .price-actions .button { width: 100%; }
}

.rotating-reviews .review-quotes { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.rotating-reviews figure { grid-area: 1 / 1; visibility: hidden; opacity: 0; border: 0; padding-block: 1.4rem .8rem; }
.rotating-reviews figure.is-current { visibility: visible; opacity: 1; }
.rotating-reviews blockquote { max-width: 39ch; }
.review-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; margin-top: 1rem; }
.review-controls button { min-height: 44px; padding: .4rem .8rem; background: white; border: 1px solid var(--line); color: var(--ink); cursor: pointer; border-radius: 3px; }
.review-controls button:hover { border-color: var(--ink); }
.review-count { min-width: 3ch; text-align: center; font-variant-numeric: tabular-nums; }
.review-controls [data-review="play"] { border-color: transparent; text-decoration: underline; text-underline-offset: .22em; }
@media (prefers-reduced-motion: no-preference) {
  .rotating-reviews figure.is-current { animation: review-in .22s ease-out; }
  @keyframes review-in { from { opacity: 0; } to { opacity: 1; } }
}

.lesson-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.lesson-intro { min-width: 0; }
.lesson-film { width: 100%; max-width: 20rem; margin-inline: auto; }
.lesson-film video { display: block; width: 100%; height: auto; aspect-ratio: 9/16; border-radius: .35rem; background: #171717; }
.lesson-film figcaption { margin-top: .7rem; font-size: .9rem; line-height: 1.45; color: #cecece; }
.lesson-gallery { padding-top: clamp(3rem, 6vw, 5rem); }
.lesson-gallery h2 { margin-bottom: 1.7rem; }
.lesson-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.25rem; padding: 0; margin: 0; list-style: none; }
.lesson-card { display: block; height: 100%; text-decoration: none; }
.lesson-still { position: relative; }
.lesson-still img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; background: var(--paper); }
.lesson-still span { position: absolute; bottom: .55rem; right: .55rem; border-radius: .2rem; background: #111; color: white; padding: .12rem .45rem; font-size: .875rem; font-variant-numeric: tabular-nums; }
.lesson-card h3 { margin-top: .75rem; }
.lesson-card p { margin-top: .35rem; color: var(--muted); line-height: 1.5; }
.lesson-card:hover h3, .lesson-card:focus-visible h3 { text-decoration: underline; text-underline-offset: .15em; }
.dexter { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); margin-block: clamp(2.5rem,5vw,5rem); padding-block: 2rem; border-block: 1px solid #454545; }
.dexter img { width: 100%; height: auto; }
.dexter h2 { margin-bottom: 1rem; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.dexter p { max-width: 47ch; }
@media (max-width: 880px) {
  .lesson-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .lesson-hero { grid-template-columns: 1fr; gap: 2rem; }
  .lesson-film { max-width: min(100%, 19rem); }
  .dexter { grid-template-columns: minmax(0, 10rem) 1fr; gap: 1.25rem; }
}
@media (max-width: 520px) {
  .lesson-cards { gap: 1.75rem .8rem; }
  .lesson-card h3 { font-size: 1.6rem; }
  .lesson-card p { font-size: .94rem; }
  .dexter { grid-template-columns: 1fr; }
  .dexter img { max-width: 17rem; }
}
