/* ==========================================================================
   Tereza Mala - fotografka & lektorka  |  DESIGN SYSTEM (single source)
   Warm editorial photography monograph that teaches.
   Binding contract: _spec/DESIGN.md. Page agents REUSE these classes;
   they never edit this file. Page-specific tweaks go in a scoped <style>.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* Fonts */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:    'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Type scale (fluid, mobile-first) */
  --fs-display: clamp(2.5rem, 1.55rem + 4.2vw, 4.5rem);
  --fs-h1:      clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
  --fs-h2:      clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  --fs-h3:      clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --fs-lead:    clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.875rem;
  --fs-xs:      0.75rem;
  --lh-tight:   1.05;
  --lh-snug:    1.25;
  --lh-body:    1.65;
  --tracking-tight:   -0.02em;
  --tracking-eyebrow:  0.14em;

  /* Canvas & surfaces (warm neutral ramp) */
  --paper:          #F4EEE3;
  --surface-1:      #FCF9F3;
  --surface-2:      #FFFEFB;
  --surface-sunken: #EAE0D0;

  /* Ink (warm near-blacks) */
  --ink-1: #2B2620;
  --ink-2: #4C453B;
  --ink-3: #7C7164;
  --ink-4: #A99D8B;

  /* Accent - burnt sienna (the ONE confident accent) */
  --accent:        #BC5836;
  --accent-strong: #9E4527;
  --accent-soft:   #F0DDD0;
  --accent-tint:   #F7E9E0;
  --accent-ink:    #FCF7F2;

  /* Secondary - muted olive (success / done) */
  --olive:        #6C7A4F;
  --olive-strong: #56653C;
  --olive-soft:   #E6E7D3;

  /* Feedback - warm brick (form errors only) */
  --danger:      #B23A2E;
  --danger-soft: #F3DAD4;

  /* Hairlines */
  --hairline-1:      #E5DBCB;
  --hairline-2:      #D9CDB8;
  --hairline-strong: #C6B79D;

  /* Dark context (footer + video shell) */
  --ink-base:      #221E19;
  --on-dark-1:     #F1E9DB;
  --on-dark-2:     #C8BCA9;
  --on-dark-3:     #9A8F7E;
  --hairline-dark: rgba(241, 233, 219, 0.14);

  /* Focus */
  --focus-ring: rgba(188, 88, 54, 0.45);

  /* Spacing (4px base) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px; --s10:128px;
  --section-y: clamp(64px, 9vw, 128px);

  /* Radius */
  --r-sm:8px; --r-md:12px; --r-lg:18px; --r-xl:28px; --r-pill:999px; --r-img:10px;

  /* Shadows (warm-tinted) */
  --shadow-sm:   0 1px 2px rgba(43,38,32,.06);
  --shadow-card: 0 1px 2px rgba(43,38,32,.05), 0 14px 30px -16px rgba(43,38,32,.14);
  --shadow-lg:   0 28px 64px -24px rgba(43,38,32,.22);

  /* Containers */
  --container:        1180px;
  --container-wide:   1320px;
  --container-narrow:  680px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Motion */
  --ease: cubic-bezier(.2,.6,.2,1);
  --dur-1: 160ms; --dur-2: 240ms; --dur-3: 400ms;
}

/* ==========================================================================
   2. BASE / RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-2);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }

ul, ol { padding: 0; list-style-position: inside; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink-1);
  font-optical-sizing: auto;
}

p { max-width: 68ch; }

::selection { background: var(--accent-soft); color: var(--accent-strong); }

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: var(--s4); top: -100px;
  background: var(--accent); color: var(--accent-ink);
  padding: var(--s2) var(--s4); border-radius: var(--r-sm);
  z-index: 200; font-weight: 600; font-size: var(--fs-sm);
  transition: top var(--dur-1) var(--ease);
}
.skip-link:focus { top: var(--s4); text-decoration: none; }

/* ==========================================================================
   3. LAYOUT / CONTAINER
   ========================================================================== */
.container       { width: 100%; max-width: var(--container);        margin-inline: auto; padding-inline: var(--gutter); }
.container-wide  { width: 100%; max-width: var(--container-wide);   margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow{ width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--flush-top { padding-top: 0; }

.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s6); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid-sm-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-md-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-lg-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-lg-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-lg-4 { grid-template-columns: repeat(4, 1fr); }
}

.divider { height: 1px; background: var(--hairline-1); border: 0; }

/* ==========================================================================
   4. TYPOGRAPHY UTILITIES
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-sans); font-weight: 600;
  font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow); color: var(--accent-strong);
}
.eyebrow svg { width: 16px; height: 16px; }

.section-num {
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink-4); font-size: var(--fs-lead); letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.lead { font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--ink-3); max-width: 52ch; }
.muted { color: var(--ink-3); }
.faint { color: var(--ink-4); }
.display { font-size: var(--fs-display); font-weight: 500; }
.text-accent { color: var(--accent-strong); }
.tnum { font-variant-numeric: tabular-nums; }
.note-demo { font-style: italic; color: var(--ink-3); font-size: var(--fs-sm); }

/* ==========================================================================
   5.4 SECTION HEADER
   ========================================================================== */
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s7); max-width: 60ch; }
.section-head .eyebrow { margin-bottom: var(--s1); }
.section-title { font-size: var(--fs-h2); font-weight: 500; }
.section-lead { font-size: var(--fs-lead); color: var(--ink-3); max-width: 52ch; }

.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap; max-width: var(--container);
}
.section-head--split .section-head-text { display: grid; gap: var(--s3); max-width: 60ch; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; max-width: 46ch; }
.section-head--center .eyebrow { justify-content: center; }

.section-num-row { display: flex; align-items: baseline; gap: var(--s3); }

/* ==========================================================================
   5.2 BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--font-sans); font-weight: 600; letter-spacing: .01em;
  font-size: var(--fs-body); line-height: 1.1;
  padding: 13px 22px; border-radius: var(--r-md);
  border: 1px solid transparent; text-align: center; white-space: nowrap;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn svg { width: 21px; height: 21px; flex: none; }
.btn-sm { padding: 10px 16px; font-size: var(--fs-sm); }
.btn-sm svg { width: 18px; height: 18px; }
.btn-lg { padding: 16px 30px; font-size: var(--fs-lead); }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary { background: var(--surface-1); color: var(--ink-1); border-color: var(--hairline-2); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--surface-2); }

.btn-ghost { background: transparent; color: var(--ink-2); border-color: transparent; }
.btn-ghost:hover { background: var(--accent-tint); color: var(--accent-strong); }

.btn-link {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 0; background: none; border: 0;
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-body);
  color: var(--accent-strong); width: max-content;
}
.btn-link svg { width: 18px; height: 18px; transition: transform var(--dur-1) var(--ease); }
.btn-link:hover { text-decoration: none; }
.btn-link:hover svg { transform: translateX(3px); }

/* arrow translate on icon buttons */
.btn-primary svg.icon-arrow,
.btn-secondary svg.icon-arrow { transition: transform var(--dur-1) var(--ease); }
.btn-primary:hover svg.icon-arrow,
.btn-secondary:hover svg.icon-arrow { transform: translateX(3px); }

.btn:disabled, .btn[aria-disabled="true"] {
  color: var(--ink-4); background: var(--surface-sunken); border-color: transparent;
  box-shadow: none; cursor: not-allowed; transform: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ==========================================================================
   5.3 / 7  IMAGE TREATMENT
   ========================================================================== */
.img { position: relative; border-radius: var(--r-img); overflow: hidden; background: var(--surface-sunken); }
.img img { width: 100%; height: 100%; object-fit: cover; }
.img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(43,38,32,.06));
}
.img--frame { border: 1px solid var(--hairline-2); }

.ratio-4-5  { aspect-ratio: 4 / 5; }
.ratio-3-4  { aspect-ratio: 3 / 4; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-3-2  { aspect-ratio: 3 / 2; }
.ratio-1-1  { aspect-ratio: 1 / 1; }

/* placeholder caption "Vase fotografie zde" */
.img-caption {
  position: absolute; left: var(--s3); bottom: var(--s3); z-index: 2;
  background: color-mix(in srgb, var(--ink-base) 72%, transparent);
  color: var(--on-dark-1); font-size: var(--fs-xs); font-weight: 500;
  padding: 4px 10px; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}

/* ==========================================================================
   5.3 CARDS
   ========================================================================== */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface-1); border: 1px solid var(--hairline-2);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden;
}
.card-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
@media (min-width: 768px) { .card-body { padding: var(--s6); } }

.card-media { position: relative; overflow: hidden; background: var(--surface-sunken); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-2) var(--ease); }
.card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(43,38,32,.06));
}

.card-title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); color: var(--ink-1); }
.card-meta { font-size: var(--fs-sm); color: var(--ink-3); display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.card-text { color: var(--ink-2); }
.card-footer { margin-top: auto; padding-top: var(--s2); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }

/* whole-card link */
.card-link { transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.card-link:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--hairline-2));
  box-shadow: var(--shadow-lg); transform: translateY(-3px);
}
.card-link:hover .card-media img { transform: scale(1.04); }
.card-link a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link .card-body > * { position: relative; z-index: 2; }

.card-price { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--ink-1); }
.card-price .per { font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-sm); color: var(--ink-3); }

/* dimmed media for locked/paid */
.card-media--locked img { filter: brightness(.86) saturate(.92); }

/* ----- pricing / balicek card ----- */
.price-card { position: relative; }
.price-card--featured { border-top: 2px solid var(--accent); }
.price-card .price-amount { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); color: var(--ink-1); line-height: 1; }
.price-card .price-from { font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-sm); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.price-list { list-style: none; padding: 0; display: grid; gap: var(--s3); }
.price-list li { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-body); color: var(--ink-2); }
.price-list li svg { width: 20px; height: 20px; color: var(--accent-strong); flex: none; margin-top: 2px; }

/* ==========================================================================
   5.5 BADGES / PILLS / CHIPS
   ========================================================================== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--r-pill);
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .06em; line-height: 1.2;
  border: 1px solid transparent; white-space: nowrap;
}
.badge svg { width: 14px; height: 14px; flex: none; }
.badge-accent  { background: var(--accent-soft); color: var(--accent-strong); }
.badge-neutral { background: var(--surface-2); color: var(--ink-3); border-color: var(--hairline-2); }
.badge-success { background: var(--olive-soft); color: var(--olive-strong); }
.badge-lock    { background: var(--surface-sunken); color: var(--ink-3); }
.badge-free    { background: var(--olive-soft); color: var(--olive-strong); }
.badge-protected { background: var(--ink-base); color: var(--on-dark-1); text-transform: none; letter-spacing: .02em; }

.chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 6px 12px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--hairline-2);
  color: var(--ink-2); font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-sm);
  white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.chip--plain::before { display: none; }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

.badge-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

/* demo flag (fixed) + reset */
.demo-flag {
  position: fixed; left: var(--s4); bottom: var(--s4); z-index: 90;
  display: inline-flex; align-items: center; gap: var(--s2);
  background: var(--ink-base); color: var(--on-dark-1);
  box-shadow: var(--shadow-lg); border-radius: var(--r-pill);
  padding: 8px 16px; font-size: var(--fs-sm); font-weight: 600;
}
.demo-flag svg { width: 16px; height: 16px; color: var(--accent); }

/* ==========================================================================
   5.6 PROGRESS
   ========================================================================== */
.progress { display: grid; gap: var(--s2); }
.progress-label { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); font-size: var(--fs-sm); color: var(--ink-3); }
.progress-label .pct { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600; }
.progress-track { height: 8px; background: var(--surface-sunken); border-radius: var(--r-pill); overflow: hidden; }
.progress-lg .progress-track { height: 10px; }
.progress-fill {
  height: 100%; width: var(--pct, 0%); border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width var(--dur-3) var(--ease);
}

/* ring variant */
.progress-ring { position: relative; display: inline-grid; place-items: center; }
.progress-ring svg { transform: rotate(-90deg); overflow: visible; }
.progress-ring-track { fill: none; stroke: var(--surface-sunken); }
.progress-ring-fill  { fill: none; stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset var(--dur-3) var(--ease); }
.progress-ring-value {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; color: var(--ink-1); font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   5.7 LESSON ROW + MODULE
   ========================================================================== */
.module { border: 1px solid var(--hairline-2); border-radius: var(--r-md); background: var(--surface-1); overflow: hidden; }
.module + .module { margin-top: var(--s4); }
.module > summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s5); min-height: 56px;
}
.module > summary::-webkit-details-marker { display: none; }
.module > summary:hover { background: var(--accent-tint); }
.module-num { font-family: var(--font-display); font-weight: 600; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.module-head { display: grid; gap: 2px; }
.module-title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); color: var(--ink-1); line-height: 1.2; }
.module-meta { font-size: var(--fs-sm); color: var(--ink-3); }
.module-aside { display: flex; align-items: center; gap: var(--s4); }
.module-mini-progress { width: 80px; display: none; }
@media (min-width: 768px) { .module-mini-progress { display: block; } }
.module-chevron { width: 22px; height: 22px; color: var(--ink-3); transition: transform var(--dur-2) var(--ease); flex: none; }
.module[open] > summary .module-chevron { transform: rotate(180deg); }
.module-lessons { border-top: 1px solid var(--hairline-1); }
.module-materials {
  padding: var(--s4) var(--s5); border-top: 1px dashed var(--hairline-2);
  background: var(--surface-2); display: grid; gap: var(--s3);
}
.module-materials-label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }

.lesson-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s4);
  min-height: 56px; padding: var(--s3) var(--s5);
  border-top: 1px solid var(--hairline-1); position: relative;
  color: var(--ink-1); transition: background var(--dur-1) var(--ease);
}
.lesson-row:first-child { border-top: 0; }
.lesson-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform var(--dur-1) var(--ease);
}
a.lesson-row:hover { text-decoration: none; background: var(--accent-tint); }
a.lesson-row:hover::before { transform: scaleY(1); }
a.lesson-row:hover .lesson-title { color: var(--accent-strong); }

.lesson-status {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; border: 2px solid var(--ink-4); color: var(--ink-4);
}
.lesson-status svg { width: 15px; height: 15px; }
.lesson-status--done { border-color: var(--olive); color: var(--olive-strong); }
.lesson-status--active { border-color: var(--accent); color: var(--accent-strong); }
.lesson-status--locked { border-color: var(--ink-4); color: var(--ink-4); }
.lesson-num { width: 28px; text-align: center; font-family: var(--font-display); font-weight: 600; color: var(--ink-4); font-variant-numeric: tabular-nums; }

.lesson-title { font-weight: 500; color: var(--ink-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lesson-aside { display: flex; align-items: center; gap: var(--s3); justify-self: end; }
.lesson-dur { font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; }

.lesson-row--locked { opacity: .55; cursor: not-allowed; }
.lesson-row--current { background: var(--accent-tint); }
.lesson-row--current::before { transform: scaleY(1); }
.lesson-row--current .lesson-title { color: var(--accent-strong); }

/* materials download chip */
.download-chip {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4); border-radius: var(--r-sm);
  background: var(--surface-1); border: 1px solid var(--hairline-2); color: var(--ink-2);
  font-size: var(--fs-sm); transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.download-chip:hover { text-decoration: none; border-color: var(--accent); background: var(--surface-2); }
.download-chip .file-ic { width: 20px; height: 20px; color: var(--accent-strong); flex: none; }
.download-chip .file-name { flex: 1; color: var(--ink-1); font-weight: 500; }
.download-chip .file-act { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-strong); font-weight: 600; }
.download-chip .file-act svg { width: 16px; height: 16px; }

/* ==========================================================================
   5.8 VIDEO SHELL (mockup)
   ========================================================================== */
.video-shell {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl);
  overflow: hidden; background: var(--ink-base); isolation: isolate;
}
.video-shell .video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); }
.video-shell::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(34,30,25,.15), rgba(34,30,25,.65));
}
.video-shell > .badge-protected { position: absolute; top: var(--s4); left: var(--s4); z-index: 3; }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface-1) 92%, transparent);
  backdrop-filter: blur(6px); border: 1px solid transparent;
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.video-play svg { width: 30px; height: 30px; color: var(--accent); fill: var(--accent); transform: translateX(2px); }
.video-play:hover { transform: translate(-50%,-50%) scale(1.06); border-color: var(--accent); }
.video-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
}
.video-bar .scrub { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--on-dark-3); overflow: hidden; }
.video-bar .scrub::before { content: ""; display: block; height: 100%; width: var(--played, 22%); background: var(--accent); border-radius: var(--r-pill); }
.video-bar .vtime { font-size: var(--fs-sm); color: var(--on-dark-1); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.video-bar .vctl { display: flex; gap: var(--s3); color: var(--on-dark-1); }
.video-bar .vctl svg { width: 20px; height: 20px; }
.video-caption { font-size: var(--fs-sm); color: var(--ink-3); margin-top: var(--s3); }

/* ==========================================================================
   5.9 EXPLAINER (Jak to resime layer)
   ========================================================================== */
.explainer { display: none; }
body.show-explainers .explainer { display: block; }
body.show-explainers .explainer--flex { display: flex; }

.explainer {
  position: relative; max-width: var(--container-narrow);
  background: var(--accent-soft); border-radius: var(--r-md);
  border-left: 4px solid var(--accent); padding: var(--s5);
  margin-block: var(--s5); color: var(--ink-2);
}
.explainer-head { display: inline-flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.explainer-head svg { width: 18px; height: 18px; color: var(--accent-strong); flex: none; }
.explainer-label { font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--accent-strong); }
.explainer-title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--ink-1); margin-bottom: var(--s2); line-height: 1.25; }
.explainer p { color: var(--ink-2); max-width: 64ch; }
.explainer p + p { margin-top: var(--s3); }
.explainer .chip-row { margin-top: var(--s4); }
.explainer--inline { padding: var(--s4) var(--s5); margin-block: var(--s4); }

/* reveal motion when shown */
body.show-explainers .explainer { animation: explainer-in var(--dur-2) var(--ease) both; }
@keyframes explainer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* numbered steps inside explainer / flow */
.flow-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--s3); margin-top: var(--s4); }
.flow-steps li { position: relative; padding-left: calc(var(--s6) + var(--s2)); counter-increment: step; color: var(--ink-2); }
.flow-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
}

/* ==========================================================================
   5.10 FORMS
   ========================================================================== */
.field { display: grid; gap: var(--s2); }
.field > label { font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface-1); border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm); padding: 12px 14px;
  font-family: var(--font-sans); font-weight: 400; font-size: var(--fs-body); color: var(--ink-1);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-help { font-size: var(--fs-sm); color: var(--ink-3); }
.field--error input, .field--error textarea { border-color: var(--danger); }
.field--error input:focus, .field--error textarea:focus { box-shadow: 0 0 0 3px var(--danger-soft); }
.field-error { font-size: var(--fs-sm); color: var(--danger); }

/* custom checkbox / radio */
.check { display: flex; align-items: flex-start; gap: var(--s3); cursor: pointer; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  width: 20px; height: 20px; flex: none; border-radius: 6px; margin-top: 1px;
  border: 1px solid var(--hairline-strong); background: var(--surface-1);
  display: grid; place-items: center; transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.check .box svg { width: 14px; height: 14px; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { outline: 3px solid var(--accent); outline-offset: 2px; }

.form-card { background: var(--surface-1); border: 1px solid var(--hairline-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: var(--s6); display: grid; gap: var(--s5); }

/* ==========================================================================
   5.1 HEADER + NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline-1);
  transition: box-shadow var(--dur-2) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
}
@media (min-width: 768px) { .site-header__inner { height: 76px; } }

.wordmark { display: inline-flex; flex-direction: column; gap: 1px; line-height: 1; }
.wordmark:hover { text-decoration: none; }
.wordmark .wm-name { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); color: var(--ink-1); letter-spacing: var(--tracking-tight); }
.wordmark .wm-sub { display: none; font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: .04em; }
@media (min-width: 768px) { .wordmark .wm-sub { display: block; } }
.wordmark-group { display: flex; align-items: center; gap: var(--s3); }

/* desktop nav */
.site-nav { display: none; }
@media (min-width: 768px) { .site-nav { display: flex; align-items: center; gap: var(--s5); } }
.nav-link {
  position: relative; font-family: var(--font-sans); font-weight: 500;
  font-size: var(--fs-body); color: var(--ink-2); padding-block: 4px;
}
.nav-link:hover { text-decoration: none; color: var(--accent-strong); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ink-1); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: none; }
@media (min-width: 768px) { .header-actions { display: flex; align-items: center; gap: var(--s3); } }

/* Jak to resime toggle */
.howto-toggle {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-sm);
  color: var(--accent-strong); background: transparent;
  border: 1px dashed var(--accent); border-radius: var(--r-md); padding: 9px 14px;
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.howto-toggle svg { width: 18px; height: 18px; flex: none; }
.howto-toggle .howto-dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.howto-toggle:hover { background: var(--accent-tint); }
.howto-toggle[aria-pressed="true"] { background: var(--accent-soft); border-style: solid; border-color: var(--accent); }
.howto-toggle[aria-pressed="true"] .howto-dot { display: inline-block; }

/* compact icon-pill mirror (mobile bar) */
.howto-pill {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--r-md); border: 1px dashed var(--accent); color: var(--accent-strong);
  background: transparent; transition: background var(--dur-1) var(--ease), border-style var(--dur-1) var(--ease);
}
.howto-pill svg { width: 20px; height: 20px; }
.howto-pill[aria-pressed="true"] { background: var(--accent-soft); border-style: solid; }
@media (min-width: 768px) { .howto-pill { display: none; } }

/* hamburger */
.nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-md); color: var(--ink-1); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle:hover { background: var(--accent-tint); }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.mobile-only { display: inline-flex; }
@media (min-width: 768px) { .mobile-only { display: none; } }

/* mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; width: 100vw; height: 100vh;
  background: var(--paper); padding: var(--gutter);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility var(--dur-2);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s7); }
.mobile-menu__nav a {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); color: var(--ink-1);
}
.mobile-menu__nav a:hover, .mobile-menu__nav a[aria-current="page"] { color: var(--accent-strong); text-decoration: none; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: var(--s3); padding-top: var(--s6); }
.nav-close { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-md); color: var(--ink-1); }
.nav-close svg { width: 26px; height: 26px; }
.nav-close:hover { background: var(--accent-tint); }
body.menu-open { overflow: hidden; }
@media (min-width: 768px) { .mobile-menu { display: none; } }

/* ==========================================================================
   6.1 MEMBER BAR (app surface)
   ========================================================================== */
.member-bar {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface-1); border-bottom: 1px solid var(--hairline-1); box-shadow: var(--shadow-sm);
}
.member-bar__inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
}
.member-bar .wm-name { font-size: var(--fs-h3); }
.member-bar__brand { display: inline-flex; align-items: baseline; gap: var(--s2); }
.member-bar__brand .sep { color: var(--ink-4); }
.member-bar__brand .ms-label { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 500; }
.member-bar__nav { display: none; align-items: center; gap: var(--s5); }
@media (min-width: 1024px) { .member-bar__nav { display: flex; } }
.member-bar__actions { display: flex; align-items: center; gap: var(--s3); }

.account-menu { position: relative; }
.account-trigger {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 5px 10px 5px 5px; border-radius: var(--r-pill); border: 1px solid var(--hairline-2);
  background: var(--surface-2); transition: border-color var(--dur-1) var(--ease);
}
.account-trigger:hover { border-color: var(--accent); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent-strong);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
}
.account-trigger .acc-name { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-1); max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-trigger svg { width: 16px; height: 16px; color: var(--ink-3); }
.account-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; z-index: 120;
  background: var(--surface-1); border: 1px solid var(--hairline-2); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: var(--s2); display: none;
}
.account-menu.is-open .account-dropdown { display: grid; gap: 2px; }
.account-dropdown a { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s3); border-radius: var(--r-sm); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500; }
.account-dropdown a:hover { background: var(--accent-tint); color: var(--accent-strong); text-decoration: none; }
.account-dropdown a svg { width: 18px; height: 18px; }
.account-dropdown .dd-divider { height: 1px; background: var(--hairline-1); margin: var(--s2) 0; }

/* ==========================================================================
   6.2 MEMBER DASHBOARD pieces
   ========================================================================== */
.onboard-strip {
  position: relative; display: flex; align-items: flex-start; gap: var(--s4);
  background: var(--accent-soft); border-radius: var(--r-lg); padding: var(--s5) var(--s6);
}
.onboard-strip .ob-icon { color: var(--accent); flex: none; }
.onboard-strip .ob-icon svg { width: 28px; height: 28px; }
.onboard-strip .ob-body { display: grid; gap: var(--s2); }
.onboard-strip .ob-title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--ink-1); }
.onboard-strip .ob-dismiss { position: absolute; top: var(--s3); right: var(--s3); width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--ink-3); }
.onboard-strip .ob-dismiss:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-strong); }
.onboard-strip .ob-dismiss svg { width: 18px; height: 18px; }

/* resume / continue card */
.resume-card { display: grid; gap: 0; background: var(--surface-1); border: 1px solid var(--hairline-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
@media (min-width: 768px) { .resume-card { grid-template-columns: 300px 1fr; } }
.resume-card .resume-media { position: relative; aspect-ratio: 16/9; background: var(--ink-base); }
.resume-card .resume-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.resume-card .resume-media .video-play { width: 56px; height: 56px; }
.resume-card .resume-media .video-play svg { width: 24px; height: 24px; }
.resume-card .resume-body { padding: var(--s5) var(--s6); display: grid; gap: var(--s4); align-content: center; }
.resume-card .resume-title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); color: var(--ink-1); }

.member-summary {
  background: var(--surface-1); border: 1px solid var(--hairline-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: var(--s6); display: grid; gap: var(--s5);
}
.member-summary .ms-ring { justify-self: center; text-align: center; }
.member-stats { display: grid; gap: var(--s3); }
.member-stats .stat { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); font-size: var(--fs-sm); }
.member-stats .stat .k { color: var(--ink-3); }
.member-stats .stat .v { color: var(--ink-1); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .member-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: var(--s7); align-items: start; }
  .member-summary--sticky { position: sticky; top: calc(64px + var(--s5)); }
}

/* ==========================================================================
   5.12 TABS
   ========================================================================== */
.tabs { display: flex; gap: var(--s5); border-bottom: 1px solid var(--hairline-1); overflow-x: auto; scrollbar-width: thin; }
.tab {
  position: relative; padding: var(--s3) 2px; white-space: nowrap;
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-sm); color: var(--ink-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--ink-1); }
.tab[aria-selected="true"] { color: var(--ink-1); border-bottom-color: var(--accent); }
.tabpanel { padding-top: var(--s6); }
.tabpanel[hidden] { display: none; }

/* simple data table (faktury / historie) */
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.data-table th { text-align: left; font-family: var(--font-sans); font-weight: 600; color: var(--ink-3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--hairline-2); white-space: nowrap; }
.data-table td { padding: var(--s4); border-bottom: 1px solid var(--hairline-1); color: var(--ink-1); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .num { font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border: 1px solid var(--hairline-2); border-radius: var(--r-md); background: var(--surface-1); }

/* ==========================================================================
   MAP TABLE (jak-to-funguje tool map) - reuses data-table look, denser
   ========================================================================== */
.map-table td:first-child { font-weight: 600; color: var(--ink-1); }
.map-table .tool { color: var(--accent-strong); font-weight: 600; }

/* ==========================================================================
   5.11 FOOTER
   ========================================================================== */
.site-footer { background: var(--ink-base); color: var(--on-dark-2); padding-top: var(--s9); }
.site-footer a { color: var(--on-dark-1); }
.site-footer a:hover { color: color-mix(in srgb, var(--accent) 60%, var(--on-dark-1)); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; gap: var(--s7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-col { display: grid; gap: var(--s3); align-content: start; }
.footer-col h4 { color: var(--on-dark-1); font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--s2); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--s2); }
.footer-brand .wm-name { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); color: var(--on-dark-1); display: block; }
.footer-tagline { color: var(--on-dark-2); max-width: 34ch; }
.footer-note { font-size: var(--fs-sm); color: var(--on-dark-3); }
.footer-social { display: flex; gap: var(--s3); margin-top: var(--s2); }
.footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--hairline-dark); }
.footer-social a:hover { border-color: var(--accent); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: var(--s8); padding: var(--s5) 0; border-top: 1px solid var(--hairline-dark);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap;
  font-size: var(--fs-sm); color: var(--on-dark-3);
}
.footer-bottom a { color: var(--on-dark-3); }
.footer-bottom a:hover { color: var(--on-dark-1); }
.footer-links { display: flex; gap: var(--s4); flex-wrap: wrap; }
.reset-demo { background: none; border: 0; color: var(--on-dark-3); font: inherit; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.reset-demo:hover { color: var(--accent); }

/* ==========================================================================
   HERO (index) - portrait split
   ========================================================================== */
.hero { padding-block: clamp(48px, 7vw, 104px); }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--s9); } }
.hero-copy { display: grid; gap: var(--s5); max-width: 36ch; }
.hero-title { font-size: var(--fs-display); font-weight: 500; line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); color: var(--ink-1); max-width: 16ch; }
.hero-lead { font-size: var(--fs-lead); color: var(--ink-3); max-width: 46ch; }
.hero-media { position: relative; }
.hero-media .img { box-shadow: var(--shadow-lg); }

/* ==========================================================================
   PROSE (explainer page, legal, lesson description)
   ========================================================================== */
.prose { max-width: var(--container-narrow); color: var(--ink-2); }
.prose > * + * { margin-top: var(--s4); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--s7); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--s6); }
.prose ul, .prose ol { padding-left: var(--s5); list-style-position: outside; display: grid; gap: var(--s2); }
.prose li { color: var(--ink-2); }
.prose strong { color: var(--ink-1); font-weight: 600; }

/* check-list (pro koho / co se naucite) */
.check-list { list-style: none; padding: 0; display: grid; gap: var(--s3); }
.check-list li { display: flex; gap: var(--s3); align-items: flex-start; color: var(--ink-2); }
.check-list li svg { width: 22px; height: 22px; color: var(--accent-strong); flex: none; margin-top: 2px; }

/* ==========================================================================
   LOAD-IN / MOTION UTILITIES
   ========================================================================== */
.fade-up { opacity: 0; transform: translateY(16px); animation: fade-up var(--dur-3) var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* auto-stagger: direct children fade up in sequence */
.stagger > * { opacity: 0; transform: translateY(16px); animation: fade-up var(--dur-3) var(--ease) forwards; }
.stagger > *:nth-child(1) { animation-delay: 60ms; }
.stagger > *:nth-child(2) { animation-delay: 140ms; }
.stagger > *:nth-child(3) { animation-delay: 220ms; }
.stagger > *:nth-child(4) { animation-delay: 300ms; }
.stagger > *:nth-child(5) { animation-delay: 380ms; }
.stagger > *:nth-child(6) { animation-delay: 460ms; }
.stagger > *:nth-child(7) { animation-delay: 540ms; }
.stagger > *:nth-child(8) { animation-delay: 620ms; }

/* ==========================================================================
   GLOBAL MOTION GUARD + FOCUS
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .card:hover, .lesson-row:hover { transform:none !important; }
  .fade-up, .stagger > * { opacity: 1 !important; transform: none !important; animation: none !important; }
}
*:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
