/* kurzy-nlp.cz — "Letištní navigace", inherited from the members area online-kurzy-nlp.cz.
   Yellow marks the next step; header on the ground by day, black at night; gate blue ticket and order orange
   for buying; hairlines and 2px band heads instead of cards. Tokens and rules: DESIGN.md. */

:root {
  --ground: #f3f3f0;
  --paper: #ffffff;
  --ink: #0b0b0b;
  --ink-muted: #4b4b47;
  --rule: #d5d5d0;
  --rule-strong: #0b0b0b;
  --sign: #ffcc00;
  --sign-ink: #0b0b0b;
  --sign-muted: #3d3300;
  --tile: #0b0b0b;
  --tile-ink: #ffffff;
  --bar: #0b0b0b;
  --bar-line: #3a3a37;
  --bar-link: #cfcfca;
  --closed: #e6e6e2;
  --wrong: #b3261e;
  --plate: #0b0b0b;
  --plate-ink: #ffffff;
  --plate-hover: #262624;
  --shadow-object: 0 22px 40px -24px rgb(0 0 0 / .45), 0 4px 10px -6px rgb(0 0 0 / .2);

  --font: 'Atkinson Hyperlegible Next', ui-sans-serif, system-ui, sans-serif;
  --measure: 80rem;
  --gutter: 2rem;
  --control: 3.25rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --top-h: 4.25rem;
  /* gate blue: the course price panel; order orange: the order action (owner, 2026-12-03) */
  --gate: #17324d; --gate-ink: #ffffff; --gate-muted: #c9d6e3; --gate-line: rgb(255 255 255 / .18);
  --order: #ff8a1f; --order-ink: #0b0b0b; --order-hover: #ffa24d;
  --top-bg: #f3f3f0; --top-ink: #0b0b0b; --top-link: #4b4b47; --top-raised: #e6e6e2; --top-line: #d5d5d0; --top-cta: #ffcc00; --top-cta-ink: #0b0b0b; --top-cta-hover: #ffd633;
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }

/* Night: the terminal at night. Signs stay yellow; primary plates turn light. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0b0b0b; --paper: #151514; --ink: #f3f3f0; --ink-muted: #b7b7b0; --rule: #2f2f2c; --rule-strong: #f3f3f0;
    --tile: #f3f3f0; --tile-ink: #0b0b0b; --closed: #1f1f1d; --wrong: #ff8a80;
    --plate: #f3f3f0; --plate-ink: #0b0b0b; --plate-hover: #d9d9d4;
    --top-bg: #0b0b0b; --top-ink: #ffffff; --top-link: #cfcfca; --top-raised: #262624; --top-line: #3a3a37; --top-cta: #ffcc00; --top-cta-ink: #0b0b0b; --top-cta-hover: #ffd633;
    --shadow-object: 0 22px 40px -24px rgb(0 0 0 / .9), 0 4px 10px -6px rgb(0 0 0 / .7);
  }
}
:root[data-theme="dark"] {
  --ground: #0b0b0b; --paper: #151514; --ink: #f3f3f0; --ink-muted: #b7b7b0; --rule: #2f2f2c; --rule-strong: #f3f3f0;
  --tile: #f3f3f0; --tile-ink: #0b0b0b; --closed: #1f1f1d; --wrong: #ff8a80;
  --plate: #f3f3f0; --plate-ink: #0b0b0b; --plate-hover: #d9d9d4;
  --top-bg: #0b0b0b; --top-ink: #ffffff; --top-link: #cfcfca; --top-raised: #262624; --top-line: #3a3a37; --top-cta: #ffcc00; --top-cta-ink: #0b0b0b; --top-cta-hover: #ffd633;
  --shadow-object: 0 22px 40px -24px rgb(0 0 0 / .9), 0 4px 10px -6px rgb(0 0 0 / .7);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.125rem/1.6 var(--font); font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: var(--ink-muted); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--sign); color: var(--sign-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sign :focus-visible { outline-color: var(--sign-ink); }
.bar :focus-visible { outline-color: var(--top-ink); }
input, select, button { font: inherit; color: inherit; }
html { scrollbar-color: var(--ink-muted) var(--ground); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sign); color: var(--sign-ink); padding: .75rem 1rem; font-weight: 700; border-radius: 4px; }
.skip:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; }

.wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(48rem + 2 * var(--gutter)); }
.wrap--mid { max-width: calc(52rem + 2 * var(--gutter)); }
@media (max-width: 48em) { :root { --gutter: 1rem; } }

/* ---------- icons in squares (the only icon container) ---------- */
.tile { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 4px; background: var(--tile); color: var(--tile-ink); flex: none; }
.tile .icon { width: 1.35rem; height: 1.35rem; }
.tile--small { width: 2rem; height: 2rem; }
.tile--small .icon { width: 1.05rem; height: 1.05rem; }
.tile--large { width: 4.5rem; height: 4.5rem; }
.tile--large .icon { width: 2.25rem; height: 2.25rem; stroke-width: 2.5; }
.sign .tile { background: var(--sign-ink); color: var(--sign); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .75rem; min-height: var(--control); border-radius: 4px; font-weight: 800; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 0; transition: background-color .2s var(--ease), color .2s var(--ease); }
.btn--primary { background: var(--plate); color: var(--plate-ink); padding: .375rem 1.5rem .375rem .375rem; }
.btn--primary:hover { background: var(--plate-hover); }
.btn__sq { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 2px solid currentColor; border-radius: 2px; transition: transform .2s var(--ease); }
.btn__sq .icon { width: 1.25rem; height: 1.25rem; }
.btn--primary:hover .btn__sq { transform: translateX(3px); }
.btn--line { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); padding: .5rem 1.125rem; font-weight: 700; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--line .icon { width: 1.15rem; height: 1.15rem; }
.btn--block { width: 100%; }
.sign .btn--primary { background: var(--sign-ink); color: #fff; }
.sign .btn--primary:hover { background: #262624; }
.sign .btn--line { background: transparent; color: var(--sign-ink); border-color: var(--sign-ink); }
.sign .btn--line:hover { background: var(--sign-ink); color: var(--sign); }
.is-sending .btn--primary { opacity: .7; pointer-events: none; }
.link { font-weight: 600; text-decoration-line: underline; }

/* ---------- header bar (black in both themes) ---------- */
.top { position: sticky; top: 0; z-index: 50; }
.bar { position: relative; z-index: 2; background: var(--top-bg); color: var(--top-ink); height: var(--top-h); display: flex; align-items: center; gap: 1.5rem; padding-inline: max(var(--gutter), calc((100% - var(--measure)) / 2)); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--top-ink); text-decoration: none; font-weight: 800; font-size: 1.1875rem; letter-spacing: -.01em; white-space: nowrap; }
.brand .tile { background: var(--sign); color: var(--sign-ink); width: 2.25rem; height: 2.25rem; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: .35rem; color: var(--top-link); font-weight: 600; font-size: .9375rem; text-decoration: none; padding: .5rem .875rem; border-radius: 4px; cursor: pointer; list-style: none; }
.nav__link::-webkit-details-marker { display: none; }
.nav__link:hover { color: var(--top-ink); background: var(--top-raised); }
.nav__link.is-active { background: var(--sign); color: var(--sign-ink); }
.menu { position: relative; }
.menu__chev { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.menu[open] .menu__chev { transform: rotate(180deg); }
.menu__list { position: absolute; top: calc(100% + .5rem); left: 0; min-width: 19rem; list-style: none; margin: 0; padding: .375rem; background: var(--top-bg); border: 1px solid var(--top-line); border-radius: 4px; }
.menu__list a { display: flex; align-items: center; gap: .875rem; padding: .625rem .75rem; color: var(--top-ink); text-decoration: none; border-radius: 4px; font-weight: 600; }
.menu__list a:hover { background: var(--top-raised); }
.menu__gate { font-weight: 800; font-size: 1.375rem; line-height: 1; width: 1.5rem; }
.menu__all { border-top: 1px solid var(--top-line); margin-top: .375rem; padding-top: .375rem; }
.menu__all a { color: var(--top-link); padding-left: 3.125rem; }
.bar__actions { display: flex; align-items: center; gap: .625rem; }
.iconbtn { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--top-line); border-radius: 4px; background: transparent; color: var(--top-ink); cursor: pointer; list-style: none; }
.iconbtn::-webkit-details-marker { display: none; }
.iconbtn:hover { background: var(--top-raised); }
.iconbtn .icon { width: 1.2rem; height: 1.2rem; }
.theme__moon { display: none; }
:root[data-theme="dark"] .theme__sun { display: none; }
:root[data-theme="dark"] .theme__moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme__sun { display: none; } :root:not([data-theme]) .theme__moon { display: block; } }
.btn--bar { background: var(--top-cta); color: var(--top-cta-ink); padding: 0 1.125rem; min-height: 2.5rem; font-size: .9375rem; }
.btn--bar:hover { background: var(--top-cta-hover); }
.mobile { display: none; position: relative; }
.mobile__close { display: none; }
.mobile[open] .mobile__open { display: none; }
.mobile[open] .mobile__close { display: block; }
.mobile__panel { position: fixed; left: 0; right: 0; top: var(--top-h); max-height: calc(100dvh - var(--top-h)); overflow: auto; background: var(--top-bg); border-top: 1px solid var(--top-line); border-bottom: 1px solid var(--top-line); padding: 1rem var(--gutter) 2rem; }
.mobile__courses, .mobile__links { list-style: none; margin: 0; padding: 0; }
.mobile__courses a { display: flex; align-items: center; gap: 1rem; color: var(--top-ink); text-decoration: none; font-weight: 700; font-size: 1.125rem; min-height: 3.5rem; border-bottom: 1px solid var(--top-line); }
.mobile__courses .menu__gate { font-size: 1.75rem; width: 2rem; }
.mobile__links { margin-top: 1rem; }
.mobile__links a { display: flex; align-items: center; gap: .5rem; color: var(--top-link); text-decoration: none; font-weight: 600; min-height: 3rem; }
@media (max-width: 72em) {
  .nav { display: none; }
  .mobile { display: block; }
  .bar__actions { margin-left: auto; }
}
@media (max-width: 30em) { .btn--bar { display: none; } .brand { font-size: 1.0625rem; } }

/* ---------- scrub bar: reading progress with section ticks ---------- */
.scrub { display: none; }
.js .scrub { display: block; background: var(--ground); border-bottom: 1px solid var(--rule); }
/* the hairline under the header (as in the members area) sits under the scrub readout; pages without a scrub bar get it under the bar */
.top:not(:has(.scrub)) .bar, html:not(.js) .bar { border-bottom: 1px solid var(--rule); }
.scrub__in { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding: .625rem var(--gutter) .75rem; }
.scrub__track { position: relative; height: 6px; background: var(--closed); }
.scrub__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.scrub__ticks { position: absolute; inset: 0 6px; } /* tick edges line up with the logo and the header button */
.scrub__tick { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; padding: 0; border: 2px solid var(--ink); background: var(--ground); cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.scrub__tick.is-past { background: var(--ink); }
.scrub__tick.is-current { background: var(--sign); border-color: var(--sign-ink); transform: scale(1.25); }
.scrub__tick:hover { transform: scale(1.35); }
.scrub__readout { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; font-weight: 700; color: var(--ink-muted); padding-top: .3rem; min-height: 1.6em; }
.scrub__chapter { color: var(--ink); min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scrub__time { flex: none; white-space: nowrap; }
@media (max-width: 48em) { .scrub__in { padding-block: .5rem .625rem; } .scrub__readout { font-size: .8125rem; } }

/* ---------- route line (breadcrumbs) ---------- */
.route ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .375rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .9375rem; font-weight: 600; color: var(--ink-muted); }
.route li { display: inline-flex; align-items: center; gap: .375rem; }
.route a { color: var(--ink-muted); }
.route .icon { width: 1rem; height: 1rem; }
.route [aria-current] { color: var(--ink); }
@media (max-width: 40em) { .route li:has([aria-current]) { display: none; } .route li:nth-last-child(2) .icon { display: none; } }

/* ---------- bands ---------- */
.band { padding-block: clamp(3.5rem, 7vw, 6rem); }
.band--paper { background: var(--paper); border-block: 1px solid var(--rule); }
.band + .band--paper, .band--paper + .band { border-top: 0; }
.band__title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.025em; padding-top: 1.25rem; border-top: 2px solid var(--rule-strong); margin-bottom: 1.5rem; }
.band__lead { font-size: 1.1875rem; max-width: 46rem; color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 3.5rem; align-items: start; }
.split__head { margin-bottom: 0; }
@media (max-width: 64em) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.625rem; line-height: 1.2; letter-spacing: -.02em; margin: 2.5em 0 .75em; padding-top: 1rem; border-top: 2px solid var(--rule-strong); }
.prose h3 { font-size: 1.25rem; margin: 2em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--ink-muted); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--ink); font-size: 1.1875rem; }
.prose a { font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }
.prose img { margin: 1.5em 0; }
.lead { font-size: 1.25rem; }

/* ---------- home: the arrivals hall ---------- */
.hall { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.hall__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "main sign" "lead sign" "board sign"; grid-template-rows: auto auto 1fr; gap: 0 3.5rem; align-items: start; }
.hall__main { grid-area: main; }
.hall__grid > .hall__lead { grid-area: lead; }
.hall__board { grid-area: board; }
.hall__grid > .sign, .hall__grid > .ebook-offer, .hall__grid > .ebook-ready { grid-area: sign; }
.hall__lead { margin-bottom: 2rem; }
.hall__title { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -.035em; max-width: 15ch; }
.hall__lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); max-width: 40rem; margin: 1.25rem 0 2rem; }
@media (max-width: 64em) { .hall__grid { grid-template-columns: 1fr; grid-template-areas: "main" "sign" "lead" "board"; row-gap: 1.5rem; } .hall__lead { margin: 0; } .hall__title { font-size: clamp(2rem, 8.5vw, 2.5rem); } .hall .sign__text { font-size: 1rem; } }

/* departures board: the four courses as rows */
.board { margin-top: .5rem; }
.board__cap { font-size: .9375rem; font-weight: 700; color: var(--ink-muted); margin: 0 0 .5rem; }
.board__rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rule-strong); }
.row { border-bottom: 1px solid var(--rule); }
.row__link { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 2rem; align-items: center; gap: 1.25rem; min-height: 5.5rem; padding: .875rem .75rem .875rem 0; text-decoration: none; color: var(--ink); transition: background-color .2s var(--ease); }
.row__link:hover { background: var(--paper); }
.band--paper .row__link:hover { background: var(--ground); }
.row__gate { font-weight: 800; font-size: 3.5rem; line-height: 1; letter-spacing: -.04em; text-align: center; }
.row__name { display: flex; flex-direction: column; gap: .15rem; }
.row__title { font-weight: 800; font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.01em; }
.row__meta { font-size: .9375rem; font-weight: 600; color: var(--ink-muted); }
.row__count { font-size: .9375rem; font-weight: 700; }
.row--now .row__count { color: var(--sign-ink); }
.row__go { display: grid; place-items: center; opacity: .55; transition: transform .2s var(--ease), opacity .2s; }
.row__link:hover .row__go { transform: translateX(3px); opacity: 1; }
.row--now .row__link { background: var(--sign); color: var(--sign-ink); box-shadow: inset 0 -2px 0 var(--sign-ink); }
.row--now .row__meta, .row--now .row--now .row__go { opacity: 1; }
@media (max-width: 48em) {
  .row__link { grid-template-columns: 3rem minmax(0, 1fr) 1.25rem; gap: .25rem .875rem; padding-block: 1rem; }
  .row__gate { font-size: 2.5rem; }
      .row__go { grid-column: 3; }
  .row__title { font-size: 1.1875rem; }
}

/* ---------- the sign: next step (yellow, hung from a 6px black edge) ---------- */
.sign { color-scheme: light; background: var(--sign); color: var(--sign-ink); border-top: 6px solid var(--ink); padding: 1.75rem; }
.sign__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-bottom: 1.5rem; }
.sign__top--plain { grid-template-columns: 1fr; }
.sign__cover { margin: 0; width: 7.5rem; transform: rotate(-2deg); }
.sign__cover img { box-shadow: var(--shadow-object); border-radius: 2px; }
.sign__title { font-size: clamp(1.625rem, 2.6vw, 2.125rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: .625rem; }
.sign__text { font-size: 1.0625rem; margin: 0; }
.sign .form__label, .sign .form__note, .sign .check label { color: var(--sign-ink); }
.sign .form__note { color: var(--sign-muted); }
.sign .check a { color: var(--sign-ink); text-decoration-color: var(--sign-ink); }
.sign .form__err { color: #7a0d07; }
.sign--compact .sign__cover { width: 5.5rem; }
@media (min-width: 64em) { .hall .sign { position: sticky; top: 8rem; } }
@media (max-width: 30em) { .sign { padding: 1.25rem; } .sign__cover { width: 5.5rem; } .sign__top { gap: 1rem; } }

/* ---------- forms ---------- */
.form__label { display: block; font-weight: 800; font-size: .9375rem; margin-bottom: .5rem; }
.form__line { display: flex; gap: .5rem; flex-wrap: wrap; }
.form__line .input { flex: 1 1 14rem; }
.input { height: var(--control); width: 100%; padding: 0 1rem; background: var(--paper); color: var(--ink); border: 2px solid var(--rule); border-radius: 4px; font-size: 1.0625rem; }
.input:focus { border-color: var(--ink); outline: none; }
.input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sign .input { background: #fff; color: #0b0b0b; border-color: var(--sign-ink); }
.input::placeholder { color: var(--ink-muted); opacity: 1; }
.sign .input::placeholder { color: #5c5c57; }
.input[aria-invalid="true"] { border-color: var(--wrong); }
.select { position: relative; }
.select select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select .icon { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.check { display: flex; gap: .625rem; align-items: flex-start; margin: .875rem 0 0; font-size: .9375rem; line-height: 1.45; }
.check input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--ink); flex: none; }
.sign .check input { accent-color: var(--sign-ink); }
.form__err { color: var(--wrong); font-weight: 700; font-size: .9375rem; margin: .5rem 0 0; }
.form__status { font-weight: 700; font-size: .9375rem; margin: .5rem 0 0; }
.form__help { font-size: .875rem; color: var(--ink-muted); margin: .375rem 0 0; }
.form__note { font-size: .875rem; color: var(--ink-muted); margin: .875rem 0 0; }
.form__captcha:empty { display: none; }
.form__captcha { margin-top: .75rem; }
.field { margin-bottom: 1rem; }

/* ---------- lists ---------- */
.ticks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; padding: .625rem 0; border-bottom: 1px solid var(--rule); }
.ticks li:first-child { border-top: 1px solid var(--rule); }
.ticks .icon { color: var(--ink); margin-top: .2rem; stroke-width: 2.5; }
.ticks--cols { columns: 3 16rem; column-gap: 3rem; }
.ticks--cols li { break-inside: avoid; }
.ticks--cols li:first-child { border-top: 0; }

.features { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0 3rem; border-top: 1px solid var(--rule); }
.features li { display: flex; gap: 1.125rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.features h3 { font-size: 1.125rem; line-height: 1.35; margin-bottom: .2rem; }
.features p { margin: 0; color: var(--ink-muted); font-size: 1.0625rem; }
.features--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 48em) { .features--two { grid-template-columns: 1fr; } }

/* ---------- segments (for self / for work) ---------- */
.segments__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; }
.segment__title { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: .375rem; }
.segment__text { color: var(--ink-muted); }
@media (max-width: 48em) { .segments__grid { grid-template-columns: 1fr; } }

/* ---------- study + member area frame ---------- */
.study__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2.5rem 3.5rem; align-items: start; }
@media (max-width: 64em) { .study__grid { grid-template-columns: 1fr; } }
.frame { margin: 0; position: sticky; top: 8rem; }
.frame img, .frame__ph { border-radius: 4px; box-shadow: var(--shadow-object); border: 1px solid var(--rule); background: var(--paper); }
.frame__ph { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--ink-muted); font-weight: 700; }
.frame figcaption { font-size: .875rem; font-weight: 600; color: var(--ink-muted); margin-top: .75rem; }
@media (max-width: 64em) { .frame { position: static; } }

/* ---------- reasons ---------- */
.reasons__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; border-top: 1px solid var(--rule); }
.reasons__list li { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.reasons__list h3 { font-size: 1.125rem; margin-bottom: .2rem; }
.reasons__list p { margin: 0; color: var(--ink-muted); }
@media (max-width: 48em) { .reasons__list { grid-template-columns: 1fr; } }

/* ---------- quotes ---------- */
.voices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; margin-bottom: 2rem; }
.voices__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 64em) { .voices__grid, .voices__grid--two { grid-template-columns: 1fr; } }
.quote { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.25rem; font-size: 1.125rem; }
.quote blockquote p:first-child::before { content: '„'; }
.quote blockquote p:last-child::after { content: '“'; }
.quote figcaption { display: flex; align-items: center; gap: .875rem; margin-top: auto; }
.quote figcaption > span { display: flex; flex-direction: column; }
.quote--plain figcaption { flex-direction: column; align-items: flex-start; gap: 0; }
.quote__img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-object); }
.quote__course { font-size: .875rem; font-weight: 600; color: var(--ink-muted); }

/* ---------- lecturers ---------- */
.people__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem 3.5rem; align-items: start; }
.people__photo { margin: 0; }
.people__photo img { border-radius: 4px; box-shadow: var(--shadow-object); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.people__lead { font-size: 1.1875rem; max-width: 42rem; }
.people__list { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--rule); }
.people__list li { display: flex; flex-direction: column; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.people__list span { color: var(--ink-muted); font-size: 1rem; }
.nlpea { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; max-width: 30rem; }
.nlpea img { width: 6rem; flex: none; }
.nlpea figcaption { font-size: .9375rem; font-weight: 600; color: var(--ink-muted); }
.people__call { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 48em) { .people__grid { grid-template-columns: 1fr; } .people__photo { max-width: 14rem; } }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.75rem; padding: .875rem 0; font-weight: 800; font-size: 1.125rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .25s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { margin: 0 0 1.25rem; max-width: 42rem; color: var(--ink-muted); }
.faq__item summary:hover { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- call ---------- */
.call { background: var(--bar); color: #fff; }
.call .band__title { border-top-color: #fff; }
.call .band__lead { color: var(--bar-link); }
.call__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 3.5rem; align-items: end; }
.call__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.call .btn--primary { background: #f3f3f0; color: #0b0b0b; }
.call .btn--primary:hover { background: #d9d9d4; }
.call .btn--line { background: transparent; color: #fff; border-color: #fff; }
.call .btn--line:hover { background: #fff; color: #0b0b0b; }
@media (max-width: 64em) { .call__grid { grid-template-columns: 1fr; } .call__actions { justify-content: flex-start; } }

/* ---------- course head: the gate ---------- */
.gatehead { padding-block: clamp(1.75rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 4rem); }
.gatehead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem 3.5rem; align-items: start; }
.gatehead__gate { display: flex; align-items: flex-end; gap: 1rem; margin: 0 0 1rem; }
.gatehead__num { font-weight: 800; font-size: clamp(4.5rem, 9vw, 6rem); line-height: .82; letter-spacing: -.04em; }
.gatehead__title { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.25rem; }
.gatehead__lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); max-width: 40rem; }
.gatehead__req { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; padding: .375rem .75rem; border-radius: 4px; background: var(--closed); }
.ticket { background: var(--gate); color: var(--gate-ink); border-radius: 4px; padding: 1.75rem; }
.ticket__label { font-size: .9375rem; font-weight: 700; color: var(--gate-muted); margin: 0 0 .25rem; }
.ticket__price { font-weight: 800; font-size: clamp(2.75rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 .5rem; }
.ticket__month { font-weight: 600; color: var(--gate-muted); margin-bottom: 1.25rem; }
.ticket__inc { list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: 1rem; }
.ticket__inc li { display: flex; gap: .625rem; align-items: flex-start; padding: .375rem 0; border-top: 1px solid var(--gate-line); }
.ticket__inc .icon { margin-top: .2rem; width: 1.1rem; height: 1.1rem; }
.btn--order, .ticket .btn--primary { background: var(--order); color: var(--order-ink); }
.btn--order:hover, .ticket .btn--primary:hover { background: var(--order-hover); }
.ticket .btn--primary { width: 100%; }
.ticket :focus-visible { outline-color: #fff; }
@media (max-width: 64em) { .gatehead__grid { grid-template-columns: 1fr; } }

/* monumental facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 3rem 0 0; border-top: 2px solid var(--rule-strong); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1.25rem 1.25rem 0 0; border-right: 1px solid var(--rule); }
.facts > div + div { padding-left: 1.25rem; }
.facts > div:last-child { border-right: 0; }
.facts dd { margin: 0; font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.04em; }
.facts dt { font-weight: 600; color: var(--ink-muted); font-size: .9375rem; margin-top: .375rem; }
.facts__ico { width: 3rem; height: 3rem; stroke-width: 2.5; }
@media (max-width: 48em) { .facts { grid-template-columns: repeat(2, 1fr); } .facts > div { padding: 1rem 0 1rem 0; border-right: 0; border-bottom: 1px solid var(--rule); } .facts > div + div { padding-left: 0; } }

/* syllabus as a departures list */
.syllabus__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; flex-wrap: wrap; border-top: 2px solid var(--rule-strong); margin-bottom: 1.5rem; }
.syllabus__head .band__title { border-top: 0; margin-bottom: 0; }
.syllabus__count { display: flex; align-items: baseline; gap: .625rem; margin: 0; font-weight: 600; color: var(--ink-muted); }
.syllabus__num { font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.syllabus__list { list-style: none; margin: 0; padding: 0; columns: 3 16rem; column-gap: 3rem; }
.syllabus__list li { display: flex; gap: .875rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--rule); break-inside: avoid; font-weight: 600; font-size: 1.0625rem; }
.syllabus__i { font-weight: 800; color: var(--ink-muted); width: 1.75rem; flex: none; text-align: right; font-size: .9375rem; }

.inprice__no { color: var(--ink-muted); }
.meta { margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.meta div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; }
.meta dt { font-weight: 800; }
.meta dd { margin: 0; color: var(--ink-muted); }
.meta--mail { padding: 1.25rem 0; border-block: 1px solid var(--rule); margin-bottom: 1.5rem; }

/* order */
.order__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 3.5rem; align-items: start; }
.order__forms { display: grid; gap: 3rem; }
.form--order { border-top: 2px solid var(--rule-strong); padding-top: 1.25rem; }
.order__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.order__name { font-weight: 800; font-size: 1.25rem; }
.order__price { font-weight: 800; font-size: 2rem; letter-spacing: -.03em; white-space: nowrap; }
.order__note { color: var(--ink-muted); margin-top: -.5rem; }
.form--order .btn--block { margin-top: 1.25rem; }
@media (max-width: 64em) { .order__grid { grid-template-columns: 1fr; } }


/* ---------- video facades ---------- */
.videos { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.5rem 2rem; }
.video { margin: 0; }
.video__facade, .video iframe { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 4px; background: #0b0b0b; color: #fff; overflow: hidden; text-decoration: none; box-shadow: var(--shadow-object); }
.video__facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video__ph { padding: 1rem; font-weight: 700; text-align: center; color: #cfcfca; }
.video__play { position: absolute; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 4px; background: #f3f3f0; color: #0b0b0b; transition: transform .2s var(--ease); }
.video__facade:hover .video__play { transform: scale(1.08); }
.video__play .icon { width: 1.75rem; height: 1.75rem; fill: currentColor; }
.video__title { font-weight: 700; margin: .75rem 0 0; }
.video--inline { margin: 1.5em 0 2.25em; }
.prose .video img { margin: 0; }
.video__note { font-size: .875rem; color: var(--ink-muted); margin: .5rem 0 0; }

/* ---------- page heads ---------- */
.pagehead { padding-block: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem); }
.page__title { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em; max-width: 22ch; margin-bottom: 1rem; }
.pagehead__lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); max-width: 44rem; margin: 0; }
.plain { padding-top: clamp(2rem, 4vw, 3.5rem); }
.callout { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 0; border-block: 1px solid var(--rule); font-size: 1.1875rem; }
.callout .icon { margin-top: .2rem; }
.signature { margin-top: 2rem; color: var(--ink-muted); }
.signature strong { color: var(--ink); }

.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; }
.lists__title { font-size: 1.375rem; letter-spacing: -.015em; padding-top: 1rem; border-top: 2px solid var(--rule-strong); margin-bottom: .75rem; }
.lists .ticks li:first-child { border-top: 0; }
@media (max-width: 48em) { .lists { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.steps li { display: flex; align-items: center; gap: 1.25rem; padding: .875rem 0; border-bottom: 1px solid var(--rule); font-weight: 700; font-size: 1.1875rem; }
.steps__n { font-weight: 800; font-size: 2.25rem; line-height: 1; letter-spacing: -.04em; width: 2.5rem; }
.roles { margin: 0; border-top: 1px solid var(--rule); }
.roles div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: .5rem 3.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.roles dt { font-weight: 800; font-size: 1.1875rem; }
.roles dd { margin: 0; color: var(--ink-muted); max-width: 42rem; }
@media (max-width: 48em) { .roles div { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem 3.5rem; align-items: start; }
.contact__photo { margin: 0; max-width: 18rem; }
.contact__photo img { border-radius: 4px; box-shadow: var(--shadow-object); }
.contact__big { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.025em; margin-bottom: .5rem; }
.contact__big a { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.contact__big a:hover { text-decoration: underline; }
.contact__h { font-size: 1.25rem; margin: 2.5rem 0 .5rem; padding-top: 1rem; border-top: 2px solid var(--rule-strong); }
@media (max-width: 48em) { .contact { grid-template-columns: 1fr; } }
.legal h2, .legal h3 { font-size: 1.25rem; margin: 2em 0 .5em; padding-top: 0; border-top: 0; }
.legal ol { padding-left: 0; list-style: none; }
.legal { font-size: 1.0625rem; }

/* ---------- eBook ---------- */
.book__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
.book__cover { margin: 0; }
.book__cover img { box-shadow: var(--shadow-object); border-radius: 2px; }
.book__sub { font-weight: 700; font-size: 1.1875rem; margin: 1rem 0 0; }
.book__author { font-weight: 600; color: var(--ink-muted); font-size: 1rem; }
.hall--book .hall__title { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
@media (max-width: 40em) { .book__grid { grid-template-columns: 1fr; } .book__cover { max-width: 14rem; } }
.ebook-ready { display: none; }
.ebook-is-ready .ebook-offer { display: none; }
.ebook-is-ready .ebook-ready { display: block; }

/* ---------- blog ---------- */
.posts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rule-strong); }
.post { border-bottom: 1px solid var(--rule); }
.post__link { display: grid; grid-template-columns: minmax(0, 1fr) 2rem; gap: 1.5rem; align-items: center; padding: 1.25rem 0; text-decoration: none; color: var(--ink); }
.post__link:has(.post__img) { grid-template-columns: 10rem minmax(0, 1fr) 2rem; }
.post__img img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.post__body { display: flex; flex-direction: column; gap: .25rem; }
.post__meta { margin-top: .25rem; }
.post__meta { font-size: .875rem; font-weight: 600; color: var(--ink-muted); }
.post__title { font-weight: 800; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; }
.post__desc { color: var(--ink-muted); font-size: 1rem; }
.post__link:hover .post__title { text-decoration: underline; text-underline-offset: .2em; }
.post__link:hover .row__go { transform: translateX(3px); opacity: 1; }
@media (max-width: 40em) { .post__link:has(.post__img) { grid-template-columns: minmax(0, 1fr) 1.25rem; } .post__img { grid-column: 1 / -1; } }

.article__head { padding-block: clamp(1.75rem, 3vw, 2.5rem) 0; }
.article__title { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 1rem; }
.article__perex { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); max-width: 46rem; margin: 0 0 1.25rem; }
.article__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .9375rem; font-weight: 600; color: var(--ink-muted); padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); margin: 0; }
.article__hero { margin: 2rem auto 0; }
.article__hero img { border-radius: 4px; box-shadow: var(--shadow-object); width: 100%; }
.article__body { padding-block: 2.5rem 1rem; font-size: 1.1875rem; }
.article__body > :first-child { margin-top: 0; }
.article__next { padding-bottom: clamp(3rem, 6vw, 5rem); }
.article__author { margin: 1.5rem 0 0; font-size: .9375rem; font-weight: 600; color: var(--ink-muted); }

/* ---------- footer ---------- */
.foot { background: var(--bar); color: var(--bar-link); padding-block: 3.5rem 2rem; font-size: 1rem; }
.foot__in { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.5fr; gap: 2rem 3rem; }
.foot a { color: #fff; text-decoration-color: var(--bar-line); }
.foot a:hover { text-decoration-color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: .2rem 0; }
.foot__brand { display: flex; align-items: center; gap: .75rem; color: #fff; font-weight: 800; font-size: 1.1875rem; }
.foot__brand .tile { background: var(--sign); color: var(--sign-ink); }
.foot__head { color: #fff; font-weight: 800; margin-bottom: .5rem; padding-top: .75rem; border-top: 2px solid var(--bar-line); }
.foot__col p a { display: inline-flex; align-items: center; gap: .5rem; }
.foot__note { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 2.5rem auto 0; padding: 1.5rem var(--gutter) 0; border-top: 1px solid var(--bar-line); font-size: .875rem; }
@media (max-width: 64em) { .foot__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36em) { .foot__in { grid-template-columns: 1fr; } }

/* ---------- mobile CTA dock ---------- */
.dock { display: none; }
@media (max-width: 48em) {
  .dock:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom)); background: var(--bar); border-top: 1px solid var(--bar-line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .dock.is-on { transform: none; }
  .dock .btn--primary { justify-content: center; }
  .dock .btn--sign { background: var(--sign); color: var(--sign-ink); }
  .dock .btn--sign:hover { background: #ffd633; }
}

/* ---------- motion: one flap as numbers arrive ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .flap { animation: flap .6s var(--ease) both; }
  .js .ticket__price.flap { animation-delay: 80ms; }
  .js .row__gate { animation: flap .6s var(--ease) both; }
  .js .row:nth-child(2) .row__gate { animation-delay: 60ms; }
  .js .row:nth-child(3) .row__gate { animation-delay: 120ms; }
  .js .row:nth-child(4) .row__gate { animation-delay: 180ms; }
}
@keyframes flap { from { clip-path: inset(0 0 100% 0); transform: translateY(-.25em); } to { clip-path: inset(0 0 0 0); transform: none; } }

@media print { .top, .foot, .sign, .order { display: none; } body { background: #fff; color: #000; } }
