  :root {
    /* Sémantické — pozor: --terracotta je výhradně pro primární CTA + negativní
       feedback. --green pro success CTA + pozitivní feedback. Pro pilíře použij
       --pillar-* níže, ne tyto. */
    --terracotta: #C6654C;
    --terracotta-deep: #A84F3A;
    --green: #2C814F;
    --blue: #3B60A1;
    --yellow: #E4B229;
    --ink: #3E2B1B;
    --ink-soft: #6b5544;

    /* Pilíře — class → barva. Historické názvy claseů (.green, .yellow, .terracotta,
       .brown, .blue) si držíme, jen v CSS resolvují na pillar var. */
    --pillar-rostlinne: #9B9839;  /* class .green     */
    --pillar-sezonne:   #E4B229;  /* class .terracotta (Lokálně / Sezónně) */
    --pillar-cista:     #977056;  /* class .brown / .ink */
    --pillar-plytvani:  #9A6BA7;  /* class .yellow (Bez plýtvání) */
    --pillar-ferove:    #5A79AE;  /* class .blue (Certifikovaně / Férově) */

    --paper: #FFFFFF;
    --paper-2: #F9F5EC;
    --paper-3: #F2EBDB;
    --line: rgba(62, 43, 27, 0.12);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;

    --display: 'Bricolage Grotesque', serif;
    --body: 'Inter', system-ui, sans-serif;

    --shadow-sm: 0 2px 8px rgba(62, 43, 27, 0.06);
    --shadow: 0 8px 32px rgba(62, 43, 27, 0.08);
  }

  * { box-sizing: border-box; }
  html, body { background: var(--paper-2); color: var(--ink); }
  body {
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, h4, h5 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--ink);
    text-wrap: balance;
  }
  p { margin: 0; }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* underline scribble */
  .scribble {
    position: relative;
    display: inline-block;
    white-space: nowrap;
  }
  .scribble::after {
    content: "";
    position: absolute;
    left: -2px; right: -2px;
    bottom: -8px;
    height: 10px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%23C6654C' stroke-width='2.5' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  .scribble.green::after      { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%239B9839' stroke-width='2.5' stroke-linecap='round'/></svg>"); } /* Rostlinně */
  .scribble.yellow::after     { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%239A6BA7' stroke-width='2.5' stroke-linecap='round'/></svg>"); } /* Bez plýtvání */
  .scribble.terracotta::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%23E4B229' stroke-width='2.5' stroke-linecap='round'/></svg>"); } /* Sezónně / Lokálně */
  .scribble.brown::after      { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%23977056' stroke-width='2.5' stroke-linecap='round'/></svg>"); } /* Čistě */
  .scribble.blue::after       { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%235A79AE' stroke-width='2.5' stroke-linecap='round'/></svg>"); } /* Férově / Certifikovaně */
  .scribble.white::after      { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'/></svg>"); } /* na tmavém pozadí */

  /* buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-family: var(--body);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    white-space: nowrap;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary {
    background: var(--terracotta);
    color: white;
    box-shadow: 0 4px 14px rgba(198, 101, 76, 0.25);
  }
  .btn-primary:hover { background: var(--terracotta-deep); }
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(62, 43, 27, 0.18);
  }
  .btn-ghost:hover { background: rgba(62, 43, 27, 0.04); }
  .btn-sm { padding: 10px 16px; font-size: 14px; }
  .btn-lg { padding: 16px 26px; font-size: 16px; }
  .btn .arr { transition: transform .2s; }
  .btn:hover .arr { transform: translateX(3px); }

  /* ============== HEADER ============== */
  .site-header {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(249, 245, 236, 0.92);
  }
  .site-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 32px;
  }
  .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .logo img { height: 60px; width: auto; display: block; }
  .nav {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
  }
  .nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 6px 0;
    position: relative;
  }
  .nav a:hover { color: var(--terracotta); }
  .nav a:hover::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 2px;
    background: var(--terracotta);
    border-radius: 2px;
  }

  /* Dropdown (Fakta → Články, Kvízy) */
  .nav-dropdown { position: relative; }
  .nav-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
  }
  .nav-trigger:hover { color: var(--terracotta); }
  .nav-trigger .nav-chevron {
    font-size: 10px;
    transition: transform .15s ease;
    line-height: 1;
    display: inline-block;
  }
  .nav-dropdown:hover .nav-trigger .nav-chevron,
  .nav-dropdown:focus-within .nav-trigger .nav-chevron { transform: rotate(180deg); }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4px;
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    z-index: 100;
  }
  .nav-dropdown:hover .nav-menu,
  .nav-dropdown:focus-within .nav-menu { display: block; }
  /* neviditelný hover bridge mezi triggerem a menu, aby kurzor nepropadl ven */
  .nav-menu::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -8px; height: 8px;
  }
  .nav-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  }
  .nav-menu a::after { display: none; }
  .nav-menu a:hover { background: var(--paper-2); color: var(--terracotta); }

  /* malá barevná tečka pilíře v dropdownu */
  .nav-menu .pdot {
    display: inline-block;
    width: 9px; height: 9px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    flex-shrink: 0;
  }
  .nav-menu .pdot.green      { background: var(--pillar-rostlinne); }
  .nav-menu .pdot.yellow     { background: var(--pillar-plytvani); }
  .nav-menu .pdot.terracotta { background: var(--pillar-sezonne); }
  .nav-menu .pdot.brown      { background: var(--pillar-cista); }
  .nav-menu .pdot.blue       { background: var(--pillar-ferove); }
  .header-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0;}
  .header-actions .signin {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 14px;
  }
  .burger { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
  .burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px;}

  /* ============== HERO ============== */
  .hero {
    padding: 56px 0 80px;
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: center;
  }
  .hero h1 {
    font-size: clamp(40px, 5.4vw, 68px);
    font-weight: 600;
    margin-bottom: 22px;
  }
  .hero .lede {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 460px;
    margin-bottom: 32px;
  }
  .hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .hero .meta {
    margin-top: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--ink-soft);
    font-size: 13px;
  }
  .hero .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--terracotta); }

  .hero-art {
    position: relative;
    /* extend past the container to the right, stopping one page gutter (32px)
       short of the viewport edge. Computed against the viewport (container
       max-width 1200, padding 32); collapses to no bleed below 1200px. */
    margin-right: min(0px, calc(600px - 50vw));
  }
  .hero-art img {
    display: block;
    width: 100%;
    height: auto;
  }
  .hero-sticker {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: white;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: rotate(-3deg);
  }
  .hero-sticker .pulse {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
  }

  /* ============== MICRO CHALLENGES ============== */
  .mc {
    background: var(--paper);
    padding: 80px 0;
    border-radius: 40px 40px 0 0;
    margin-top: -20px;
  }
  .mc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }
  .mc-head h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    max-width: 660px;
  }
  .mc-head p {
    color: var(--ink-soft);
    font-size: 15px;
    margin-top: 10px;
    max-width: 520px;
  }
  .mc-day-tab {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 10px 16px;
    background: var(--paper-2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    flex-shrink: 0;
  }
  .mc-day-tab b { color: var(--terracotta); font-weight: 600; }

  .mc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .mc-card {
    background: var(--paper-2);
    border-radius: var(--radius-lg);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .mc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .mc-card .mc-photo {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
  }
  .mc-card .mc-body {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
  }
  .mc-card .pillar-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
  }
  .pillar-blob {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    /* organic blob shape */
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  }
  .pillar-blob.green { background: var(--pillar-rostlinne); }
  .pillar-blob.yellow { background: var(--pillar-plytvani); }
  .pillar-blob.terracotta { background: var(--pillar-sezonne); }
  .pillar-blob.brown { background: var(--pillar-cista); }
  .pillar-blob.blue { background: var(--pillar-ferove); }
  .pillar-blob svg {
    width: 60%; height: 60%;
    color: white;
  }
  .pillar-blob svg path {
    stroke: currentColor;
    fill: none;
    stroke-width: 16;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mc-card h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
  }
  .mc-card p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
    flex: 1;
  }
  .mc-card .actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
  }
  .mc-card .actions .btn { flex: 1; justify-content: center; padding: 11px 14px; font-size: 14px;}
  .mc-card .duration {
    font-size: 12px;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  /* Photo wrapper with pillar-tinted gradient + badge overlay */
  .mc-card .mc-photo-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  /* Diagonal tint: 100% at bottom-left corner → 0% near top center.
     ~25° off vertical points the gradient line from BL toward top-center on roughly square photos. */
  .mc-card .mc-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(25deg, rgba(62, 43, 27, 0.5) 0%, transparent 100%);
    pointer-events: none;
  }
  /* Pilíře — barevné překryvy nad fotkou */
  .mc-card.tint-yellow     .mc-photo-wrap::after { background: linear-gradient(25deg, rgba(154, 107, 167, 0.85) 0%, rgba(154, 107, 167, 0) 100%); } /* Bez plýtvání */
  .mc-card.tint-green      .mc-photo-wrap::after { background: linear-gradient(25deg, rgba(155, 152, 57, 0.85)  0%, rgba(155, 152, 57, 0)  100%); } /* Rostlinně */
  .mc-card.tint-blue       .mc-photo-wrap::after { background: linear-gradient(25deg, rgba(90, 121, 174, 0.85)  0%, rgba(90, 121, 174, 0)  100%); } /* Férově */
  .mc-card.tint-terracotta .mc-photo-wrap::after { background: linear-gradient(25deg, rgba(228, 178, 41, 0.85) 0%, rgba(228, 178, 41, 0) 100%); }   /* Sezónně / Lokálně */
  .mc-card.tint-brown      .mc-photo-wrap::after { background: linear-gradient(25deg, rgba(151, 112, 86, 0.85)  0%, rgba(151, 112, 86, 0)  100%); } /* Čistě */

  /* Varianta bez fotky — zelený tint + centrovaný blob (využívá pilíř page) */
  .mc-card .mc-photo-wrap.no-photo {
    aspect-ratio: 16/9;
    background: linear-gradient(25deg, rgba(155, 152, 57, 0.22) 0%, rgba(155, 152, 57, 0.04) 100%);
    display: flex; align-items: center; justify-content: center;
  }
  .mc-card .mc-photo-wrap.no-photo::after { display: none; }
  .mc-card .mc-photo-wrap.no-photo .blob-illu {
    width: 96px; height: 96px;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    background: var(--pillar-rostlinne);
    display: flex; align-items: center; justify-content: center;
  }
  .mc-card .mc-photo-wrap.no-photo .blob-illu svg { width: 58%; height: 58%; }
  .mc-card .mc-photo-wrap.no-photo .blob-illu svg path {
    stroke: white; fill: none;
    stroke-width: 16; stroke-linecap: round; stroke-linejoin: round;
  }

  /* Badge overlay: stacked at bottom-left of photo, blob + label */
  .card-badges {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
  }
  .card-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  }
  .card-blob {
    width: 38px;
    height: 38px;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  }
  .card-blob.ink        { background: var(--ink); }
  .card-blob.yellow     { background: var(--pillar-plytvani); }
  .card-blob.green      { background: var(--pillar-rostlinne); }
  .card-blob.blue       { background: var(--pillar-ferove); }
  .card-blob.terracotta { background: var(--pillar-sezonne); }
  .card-blob.brown      { background: var(--pillar-cista); }
  .card-blob img,
  .card-blob svg {
    width: 60%;
    height: 60%;
    display: block;
  }
  .card-blob svg path {
    stroke: white;
    fill: none;
    stroke-width: 18;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Small meta line above title in card body, e.g. „při vaření · doma" */
  .mc-card .mc-kicker {
    font-size: 13px;
    color: var(--ink-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .mc-card .mc-kicker .sep { opacity: 0.5; }
  .mc-card .mc-kicker .points {
    color: var(--green);
    font-weight: 700;
    letter-spacing: 0.01em;
  }
  .mc-card .mc-cta {
    align-self: flex-start;
    margin-top: 6px;
  }
  .mc-card .mc-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
  }
  .mc-card .mc-cta-row .mc-cta { margin-top: 0; }

  /* ============== QUIZ ============== */
  .quiz-wrap { padding: 60px 0 80px; background: var(--paper); }
  .quiz {
    background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    /* aby scrollIntoView nepodběhlo pod sticky header */
    scroll-margin-top: 96px;
  }
  .quiz::before {
    content: "?";
    position: absolute;
    top: -40px; right: -20px;
    font-family: var(--display);
    font-size: 280px;
    font-weight: 700;
    color: rgba(228, 178, 41, 0.18);
    line-height: 1;
  }
  .quiz .kicker {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 12px;
  }
  .quiz h2 {
    font-size: clamp(24px, 2.6vw, 34px);
    margin-bottom: 12px;
  }
  .quiz .lede {
    color: var(--ink-soft);
    font-size: 15px;
  }
  .quiz-options { display: flex; flex-direction: column; gap: 10px; position: relative; }
  .quiz-opt {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 14px;
    background: white;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    transition: all .2s;
    font-family: var(--body);
  }
  .quiz-opt:hover { border-color: var(--terracotta); transform: translateX(2px);}
  .quiz-opt .letter {
    width: 32px; height: 32px;
    background: var(--paper-2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    color: var(--ink-soft);
    font-size: 14px;
  }
  .quiz-opt.correct {
    background: white;
    border-color: var(--green);
  }
  .quiz-opt.correct .letter { background: var(--green); color: white;}
  .quiz-opt .check {
    width: 24px; height: 24px;
    color: var(--green);
    opacity: 0;
  }
  .quiz-opt.correct .check { opacity: 1; }

  /* progress chip vedle kickeru */
  .quiz-progress {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(62, 43, 27, 0.08);
    color: var(--ink-soft);
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  /* stav po odpovědi — zafixovat tlačítka, ztlumit nevybrané, zvýraznit chybu */
  .quiz.is-answered .quiz-opt { cursor: default; pointer-events: none; }
  .quiz.is-answered .quiz-opt:not(.correct):not(.is-wrong) { opacity: 0.5; }
  .quiz-opt.is-wrong { background: white; border-color: var(--terracotta); }
  .quiz-opt.is-wrong .letter { background: var(--terracotta); color: white; }

  /* feedback panel */
  .quiz-side { display: flex; flex-direction: column; gap: 16px; }
  .quiz-feedback {
    background: white;
    border-radius: 14px;
    padding: 18px 20px;
    border-left: 4px solid var(--green);
    animation: quizFadeIn .25s ease;
  }
  .quiz-feedback.is-wrong { border-left-color: var(--terracotta); }
  .quiz-feedback[hidden] { display: none; }
  .quiz-result {
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    color: var(--green);
    margin-bottom: 4px;
    letter-spacing: 0.01em;
  }
  .quiz-feedback.is-wrong .quiz-result { color: var(--terracotta); }
  .quiz-explain {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 4px 0 14px;
  }
  .quiz-feedback-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
  }
  .quiz-feedback-actions .btn[hidden] { display: none; }
  .quiz-all {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1.5px dashed var(--ink-soft);
    padding-bottom: 1px;
  }
  .quiz-all:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

  /* Po poslední otázce — odkaz na všechny kvízy se promění v hlavní CTA. */
  .quiz-feedback.is-final .quiz-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--terracotta);
    border: none;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(198, 101, 76, 0.28);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .quiz-feedback.is-final .quiz-all:hover {
    background: var(--terracotta-deep, #a8503a);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(198, 101, 76, 0.36);
  }
  .quiz-feedback.is-final .quiz-all .arr {
    transition: transform .15s ease;
  }
  .quiz-feedback.is-final .quiz-all:hover .arr { transform: translateX(3px); }

  @keyframes quizFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ============== PILLARS ============== */
  .pillars-section {
    padding: 100px 0;
    background: var(--paper-2);
  }
  .pillars-head {
    text-align: center;
    margin-bottom: 56px;
  }
  .pillars-head h2 {
    font-size: clamp(36px, 4.4vw, 56px);
  }
  .pillars-head p {
    color: var(--ink-soft);
    margin-top: 14px;
    font-size: 17px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .pillar-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .25s ease, box-shadow .25s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  .pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
  }
  .pillar-card .blob-lg {
    width: 88px; height: 88px;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    margin-bottom: 6px;
    transition: transform .3s ease, border-radius .8s ease-in-out;
  }
  .pillar-card:hover .blob-lg { transform: rotate(8deg) scale(1.05); border-radius: 50% 60% 40% 55% / 60% 40% 60% 40%; }
  .pillar-card .blob-lg svg { width: 56px; height: 56px; }
  .pillar-card .blob-lg svg path {
    stroke: currentColor; fill: none; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round;
  }
  .pillar-card.green .blob-lg { background: var(--pillar-rostlinne); }
  .pillar-card.yellow .blob-lg { background: var(--pillar-plytvani); }
  .pillar-card.terracotta .blob-lg { background: var(--pillar-sezonne); }
  .pillar-card.brown .blob-lg { background: var(--pillar-cista); }
  .pillar-card.blue .blob-lg { background: var(--pillar-ferove); }
  .pillar-card h3 {
    font-size: 24px;
    font-weight: 600;
  }
  .pillar-card h3 .scribble::after { bottom: -4px; height: 6px; }
  .pillar-card.green h3 .scribble::after      { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%239B9839' stroke-width='2.5' stroke-linecap='round'/></svg>"); }
  .pillar-card.yellow h3 .scribble::after     { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%239A6BA7' stroke-width='2.5' stroke-linecap='round'/></svg>"); }
  .pillar-card.terracotta h3 .scribble::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%23E4B229' stroke-width='2.5' stroke-linecap='round'/></svg>"); }
  .pillar-card.brown h3 .scribble::after      { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%23977056' stroke-width='2.5' stroke-linecap='round'/></svg>"); }
  .pillar-card.blue h3 .scribble::after       { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 30 1, 60 5 T 120 5 T 198 4' fill='none' stroke='%235A79AE' stroke-width='2.5' stroke-linecap='round'/></svg>"); }
  .pillar-card p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.5;
    flex: 1;
  }
  .pillar-card .more {
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
  }
  .pillar-card:hover .more { color: var(--terracotta);}

  /* ============== HOW IT WORKS ============== */
  .how {
    padding: 100px 0;
    background: var(--paper);
  }
  .how-head { text-align: center; margin-bottom: 56px;}
  .how-head h2 { font-size: clamp(32px, 4vw, 48px);}
  .how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
  }
  .how-step {
    background: var(--paper-2);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
  }
  .how-step .num {
    font-family: var(--display);
    font-size: 80px;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 0.9;
    margin-bottom: 18px;
    opacity: 0.95;
  }
  .how-step:nth-child(2) .num { color: var(--green);}
  .how-step:nth-child(3) .num { color: var(--blue);}
  .how-step h4 { font-size: 22px; font-weight: 600; margin-bottom: 8px;}
  .how-step p { color: var(--ink-soft); font-size: 15px;}

  /* ============== INSPIRATION ============== */
  .insp { padding: 100px 0; background: var(--paper-2);}
  .insp-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 32px;}
  .insp-head h2 { font-size: clamp(32px, 4vw, 48px);}
  .insp-head p { color: var(--ink-soft); margin-top: 8px;}
  .insp-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr;
    gap: 20px;
  }
  .insp-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .insp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow);}
  .insp-card .media {
    aspect-ratio: 16/10;
    background: var(--paper-3);
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .insp-card.video .media { aspect-ratio: 9/16;}
  .insp-card.video .media::after {
    content: "▶";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.95);
    color: var(--ink);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    padding-left: 4px;
  }
  .insp-card .duration-badge {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
  }
  .insp-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px;}
  .insp-card .kicker {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
  }
  .insp-card h3 { font-size: 20px; font-weight: 600; line-height: 1.2;}
  .insp-card p { color: var(--ink-soft); font-size: 14px;}

  /* placeholder media bg */
  .insp-card .media.ph-1 { background: linear-gradient(135deg, #d4c8a8, #b8a47a);}
  .insp-card .media.ph-2 { background: url('assets/images/polevka-zbytky.jpg') center/cover; }

  /* infographic card */
  .insp-card.data { background: white; }
  .insp-card.data .body { flex: 0 0 auto; padding-bottom: 8px; }
  .insp-card.data .chart {
    padding: 4px 24px 8px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .insp-card.data .chart h6 {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
  }
  .insp-card.data .read-more {
    margin-top: auto;
    padding: 16px 24px 22px;
    color: var(--terracotta);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
  }
  .insp-card.data .read-more .arr {
    transition: transform .15s ease;
    display: inline-block;
  }
  .insp-card.data:hover .read-more .arr { transform: translateX(3px); }
  .chart-row {
    display: grid;
    grid-template-columns: 88px 1fr 50px;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: var(--ink-soft);
  }
  .chart-row .label { font-weight: 500; color: var(--ink);}
  .chart-row .bar {
    height: 8px;
    background: var(--paper-3);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
  }
  .chart-row .bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    width: var(--w, 50%);
  }
  .chart-row .val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); text-align: right;}

  /* ============== COMMUNITY ============== */
  .comm {
    padding: 100px 0;
    background: var(--paper);
  }
  .comm-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: center;
  }
  .comm-text h2 { font-size: clamp(32px, 4vw, 48px);}
  .comm-text p { color: var(--ink-soft); margin: 16px 0 28px; font-size: 16px;}
  .comm-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .comm-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    background: var(--paper-3);
  }
  .comm-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(62, 43, 27, 0.7), transparent 50%);
  }
  .comm-thumb .who {
    position: absolute;
    bottom: 10px; left: 12px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
  }
  .comm-thumb .who b { display: block; font-size: 13px; font-weight: 600;}

  /* ============== FINAL ============== */
  .final {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  }
  .final-card {
    background: var(--terracotta);
    color: white;
    border-radius: 24px;
    padding: 40px 56px;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    max-width: 850px;
    margin: 0 auto;
  }
  .final-text { max-width: 540px; position: relative; z-index: 1; }
  .final-card blockquote {
    font-family: var(--display);
    font-size: clamp(20px, 1.9vw, 24px);
    font-weight: 500;
    line-height: 1.35;
    color: white;
    margin: 0 0 28px;
    text-wrap: balance;
  }
  .final-card blockquote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--body);
    font-style: normal;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.7);
  }
  .final-illu {
    position: absolute;
    top: 8%;
    bottom: 8%;
    right: -3%;
    width: auto;
    height: 84%;
    pointer-events: none;
    opacity: 0.5;
  }
  .final-card .btn-primary {
    background: white;
    color: var(--terracotta);
  }
  .final-card .btn-primary:hover { background: var(--paper-2); }

  /* ============== FOOTER ============== */
  .partners-strip {
    background: var(--paper-2);
    padding: 48px 0;
    border-top: 1px solid var(--line);
  }
  .partners-strip .label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 24px;
  }
  .partners-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: center;
  }
  .partner-logo {
    height: 44px;
    border-radius: 6px;
    background: rgba(62, 43, 27, 0.06);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 500;
  }

  footer.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.85);
    padding: 64px 0 32px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr;
    gap: 56px;
    margin-bottom: 36px;
    align-items: start;
  }
  .footer-brand img { height: 56px; margin-bottom: 22px; display: block; }
  .footer-brand p {
    font-size: 14px; line-height: 1.55;
    color: rgba(255,255,255,0.7);
    max-width: 280px;
    margin: 0;
  }
  .footer-col h6,
  .footer-contact h6 {
    font-family: var(--body);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 18px;
  }
  .footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px;}
  .footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    transition: color .15s ease;
  }
  .footer-col a:hover { color: white; }

  /* Zvýrazněný kontakt */
  .footer-contact { display: flex; flex-direction: column; gap: 18px; }
  .footer-contact-panel {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 18px 22px 20px;
  }
  .footer-contact .footer-email {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s ease;
  }
  .footer-contact .footer-email:hover { color: var(--yellow); }
  .footer-contact ul { list-style: none; margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
  .footer-contact ul a {
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    transition: color .15s ease;
  }
  .footer-contact ul a:hover { color: white; }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-bottom a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s ease;
  }
  .footer-bottom a:hover { color: white; }

  /* ============== RESPONSIVE ============== */
  @media (max-width: 960px) {
    .nav { display: none; }
    .header-actions .signin { display: none; }
    .burger { display: block;}
    .hero { padding: 32px 0 48px;}
    .hero-grid { grid-template-columns: 1fr; gap: 32px;}
    .hero-art { margin-right: 0; }
    .mc { padding: 56px 0; border-radius: 24px 24px 0 0;}
    .mc-head { flex-direction: column; align-items: flex-start; gap: 16px;}
    .mc-grid { grid-template-columns: 1fr; gap: 14px;}
    .mc-card { padding: 0;}
    .mc-card .mc-body { padding: 18px 18px 16px;}
    .quiz-wrap { padding: 32px 0 56px;}
    .quiz { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px;}
    .pillars-section { padding: 56px 0;}
    .pillars-grid { grid-template-columns: 1fr 1fr; gap: 12px;}
    .pillars-grid > .pillar-card:last-child { grid-column: 1 / -1; }
    .pillar-card { padding: 22px;}
    .pillar-card .blob-lg { width: 64px; height: 64px;}
    .pillar-card .blob-lg svg { width: 40px; height: 40px;}
    .how { padding: 56px 0;}
    .how-grid { grid-template-columns: 1fr;}
    .how-step { padding: 26px;}
    .how-step .num { font-size: 56px; margin-bottom: 8px;}
    .insp { padding: 56px 0;}
    .insp-head { flex-direction: column; align-items: flex-start;}
    .insp-grid { grid-template-columns: 1fr;}
    .insp-card.video .media { aspect-ratio: 16/10;}
    .comm { padding: 56px 0;}
    .comm-grid { grid-template-columns: 1fr; gap: 28px;}
    .comm-thumbs { grid-template-columns: repeat(3, 1fr);}
    .comm-thumbs .comm-thumb:last-child { display: none;}
    .final { padding: 56px 0;}
    .final-card {
      padding: 32px 24px; border-radius: 20px;
      min-height: 0;
    }
    .final-text { max-width: none; }
    .final-illu {
      position: relative;
      top: auto; bottom: auto; right: auto;
      display: block;
      height: auto;
      width: 220px;
      margin: 16px auto 0;
    }
    .partners-row { grid-template-columns: repeat(2, 1fr); gap: 16px;}
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px;}
    .footer-brand { grid-column: 1 / -1;}
    .container { padding: 0 20px;}
    .hero h1 { font-size: 38px; }
  }
