/* Tadaa Studio – nový vzhled hlavní stránky (podklad docs/redesign-homepage).
 * Platí jen na úvodní stránce: hlavička a patička přes body.is-start, obsah přes .hp. Editor zůstává beze změny. */
:root {
  --hp-ink: #1C2140;
  --hp-ink-muted: #4A4F6A;
  --hp-cobalt: #2F45C8;
  --hp-tomato: #E4533B;
  --hp-tomato-btn: #C73B25;
  --hp-blush: #F5CFD3;
  --hp-powder: #D6E2F3;
  --hp-powder-soft: #E3EBF7;
  --hp-butter: #F4E3A1;
  --hp-paper: #FAF7F0;
  --hp-line: #E4E1EC;
  --hp-on-cobalt: #DCE1F7;

  --hp-display: 'Instrument Serif', serif;
  --hp-body: 'Bricolage Grotesque', sans-serif;
  --hp-invite: 'Grandstander', sans-serif;

  --hp-radius-card: 28px;
  --hp-pad: 32px;
}
@keyframes hp-marquee { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }

/* ---------- celá stránka ---------- */
body.is-start { background: var(--hp-paper); color: var(--hp-ink); font-family: var(--hp-body); }
.hp { overflow: hidden; background: var(--hp-paper); color: var(--hp-ink); font-family: var(--hp-body); }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp h1, .hp h2, .hp h3 { font-family: var(--hp-display); font-weight: 400; color: var(--hp-ink); margin: 0; letter-spacing: 0; }
.hp em { font-style: italic; }
.hp p { margin: 0; }
.hp a { color: inherit; }
.hp button { font: inherit; }
.hp :focus-visible, body.is-start .topbar :focus-visible { outline: 3px solid var(--hp-cobalt); outline-offset: 3px; }
.hp-wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--hp-pad); padding-right: var(--hp-pad); }
.hp-muted { color: var(--hp-ink-muted); }
.hp-kicker { font-family: var(--hp-display); font-style: italic; font-size: 19px; line-height: 1.1; color: var(--hp-cobalt); }
.hp-spark { display: inline-block; flex-shrink: 0; }
.hp-spark svg { display: block; width: 100%; height: 100%; }
.hp-illu { display: block; max-width: 100%; height: auto; }

/* ---------- tlačítka (4 varianty) ---------- */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--hp-ink); background: transparent; color: var(--hp-ink); font-family: var(--hp-body) !important; font-weight: 600; font-size: 15px; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .12s, background .12s, color .12s; white-space: nowrap; }
.hp-btn svg { width: 18px; height: 11px; flex-shrink: 0; transition: transform .15s; }
.hp-btn:hover svg { transform: translateX(3px); }
.hp-btn:hover { transform: translateY(-1px); }
.hp-btn--primary { background: var(--hp-tomato-btn); border: 2px solid var(--hp-tomato-btn); color: #fff; }
.hp-btn--primary:hover { background: #B23320; border-color: #B23320; color: #fff; }
.hp-btn--outline:hover { background: var(--hp-ink); color: var(--hp-paper); }
.hp-btn--dark { background: var(--hp-ink); border: 2px solid var(--hp-ink); color: var(--hp-paper); }
.hp-btn--dark:hover { background: #2A3060; color: var(--hp-paper); }
.hp-btn--light { border-color: var(--hp-paper); color: var(--hp-paper); }
.hp-btn--light:hover { background: var(--hp-paper); color: var(--hp-cobalt); }
.hp-btn--sm { min-height: 48px; }
.hp-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: none; padding: 0; color: var(--hp-ink); font-family: var(--hp-body); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; }
.hp-link svg { width: 18px; height: 11px; transition: transform .15s; }
.hp-link:hover svg { transform: translateX(3px); }
.hp-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hlavička (jen úvodní stránka) ---------- */
.hp-logo { display: none; flex-direction: column; color: var(--hp-ink); }
.hp-logo b { font-family: var(--hp-display); font-weight: 400; font-style: italic; font-size: 36px; line-height: .9; }
.hp-logo svg { display: block; width: 104px; height: 14px; margin-top: -2px; }
body.is-start .topbar { position: sticky; top: 0; background: var(--hp-paper); border-bottom: 0; min-height: 0; padding: 18px var(--hp-pad); max-width: none; gap: 20px; font-family: var(--hp-body); }
body.is-start .topbar .logo img { display: none; }
body.is-start .topbar .hp-logo { display: inline-flex; }
body.is-start .site-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
body.is-start .site-nav a, body.is-start .site-nav .hp-navlink { white-space: nowrap; color: var(--hp-ink); font-family: var(--hp-body); font-weight: 400; font-size: 15px; text-decoration: none; padding: 10px 0; background: none; border: 0; cursor: pointer; }
body.is-start .site-nav a:hover, body.is-start .site-nav .hp-navlink:hover { color: var(--hp-cobalt); text-decoration: none; }
body.is-start .site-nav a.hp-btn { min-height: 48px; padding: 0 22px; border: 1.5px solid var(--hp-ink); font-weight: 600; }
body.is-start .site-nav a.hp-btn:hover { background: var(--hp-ink); }
body.is-start .site-nav .hp-btn:hover { color: var(--hp-paper); }
body.is-start .lang-btn, body.is-start .account-btn { font-family: var(--hp-body); border: 1.5px solid var(--hp-ink); box-shadow: none; background: transparent; color: var(--hp-ink); font-weight: 600; }
body.is-start .lang-btn:hover, body.is-start .account-btn:hover { background: var(--hp-powder); }
.hp-menu-btn { display: none; }
body.is-start .site-footer { display: none; }
body.is-start .save-state { display: none; }

/* ---------- hero ---------- */
.hp-hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 70px; }
.hp-hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hp-h1 { font-size: clamp(44px, 9vw, 84px) !important; line-height: .95 !important; letter-spacing: -.01em !important; text-transform: uppercase; overflow-wrap: anywhere; }
.hp-h1 em { text-transform: none; color: var(--hp-cobalt); }
.hp-lead { max-width: 470px; font-size: 18px; line-height: 1.6; color: var(--hp-ink-muted); }
.hp-perks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--hp-ink-muted); }
.hp-perks li { display: inline-flex; align-items: center; gap: 8px; }

/* koláž 540 × 620 – na menších šířkách se celá zmenší (scale přes --k) */
.hp-collage-fit { flex: 0 1 540px; width: 100%; max-width: 540px; aspect-ratio: 540 / 620; position: relative; }
.hp-collage { position: absolute; left: 0; top: 0; width: 540px; height: 620px; transform: scale(var(--k, 1)); transform-origin: 0 0; }
.hp-collage > * { position: absolute; }
.hp-arch { border-radius: 200px 200px 28px 28px; }
.hp-stripes { border-radius: 18px; background: repeating-linear-gradient(90deg, var(--hp-tomato) 0 16px, var(--hp-blush) 16px 32px); }
.hp-badge { width: 140px; height: 140px; }
.hp-badge svg { position: absolute; inset: 0; width: 140px; height: 140px; }
.hp-badge div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--hp-ink); }
.hp-badge b { font-family: var(--hp-body); font-weight: 700; font-size: 12px; }
.hp-badge span { font-family: var(--hp-display); font-style: italic; font-size: 18px; line-height: 1.05; }

/* telefon s pozvánkou */
.hp-slides { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hp-slide { opacity: 0; transition: opacity .9s ease; }
.hp-slide.on { opacity: 1; }
.hp-screen { position: absolute; inset: 0; }
.hp-screen img { position: absolute; left: 0; right: 0; top: 30px; bottom: 0; width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top center; display: block; }
.hp-phone-in.hp-slide { opacity: 0; }
.hp-phone-in.hp-slide.on { opacity: 1; }
.hp-phone { position: absolute; border: 10px solid var(--hp-ink); border-radius: 40px; background: #2F5D3A; overflow: hidden; box-shadow: 0 30px 50px rgba(28,33,64,.28); }
.hp-phone::before { content: ''; position: absolute; left: 50%; top: 8px; width: 70px; height: 18px; margin-left: -35px; border-radius: 999px; background: var(--hp-ink); z-index: 2; }
.hp-phone-in { position: absolute; left: 0; right: 0; top: 36px; bottom: 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; }
.hp-phone .k { font-family: var(--hp-body); font-weight: 600; font-size: 9px; letter-spacing: .08em; color: #F3E3C9; text-transform: uppercase; }
.hp-icard { position: relative; width: 196px; height: 280px; transform: rotate(-2deg); flex-shrink: 0; }
.hp-icard > svg { position: absolute; inset: 0; width: 196px; height: 280px; }
.hp-icard-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding: 16px 0; color: #C4422F; text-align: center; }
.hp-icard .a { font-family: var(--hp-body); font-weight: 600; font-size: 8px; letter-spacing: .06em; }
.hp-icard .t { font-family: var(--hp-invite); font-weight: 900; font-size: 28px; line-height: 1; }
.hp-icard .w { font-family: var(--hp-invite); font-weight: 900; font-size: 10px; line-height: 1.25; }
.hp-icard .tr { width: 150px; color: #2E6B35; }
.hp-icard .tr svg { display: block; width: 100%; height: auto; }
.hp-phone .q { font-family: var(--hp-invite); font-weight: 900; font-size: 16px; color: #FBF2E2; }
.hp-count { display: flex; gap: 6px; }
.hp-count div { width: 52px; padding: 6px 0; border-radius: 10px; background: #FBF2E2; text-align: center; font-family: var(--hp-invite); font-weight: 900; font-size: 18px; color: #C4422F; line-height: 1; }
.hp-count small { display: block; font-family: var(--hp-body); font-weight: 600; font-size: 7px; letter-spacing: .06em; color: #A8331F; }
.hp-rsvp { position: relative; width: 196px; height: 84px; }
.hp-rsvp > svg { position: absolute; inset: 0; width: 196px; height: 84px; }
.hp-rsvp div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.hp-rsvp span { padding: 8px 14px; border-radius: 999px; border: 1.5px solid #C4422F; color: #C4422F; font-family: var(--hp-invite); font-weight: 900; font-size: 12px; }
.hp-rsvp span.on { background: #C4422F; color: #fff; }

/* ---------- rozpracované projekty ---------- */
.hp-projects { padding-bottom: 60px; }
.hp-projects-card { background: #fff; border-radius: var(--hp-radius-card); padding: 28px 30px; box-shadow: 0 1px 0 rgba(28,33,64,.06); display: flex; flex-direction: column; gap: 16px; }
.hp-projects-card h2 { font-size: 34px; line-height: 1; }
.hp-projects-card .proj-list { margin: 0; }
.hp-projects-card .proj { border-radius: 18px; }

/* ---------- běžící pás ---------- */
.hp-marquee { background: var(--hp-cobalt); color: var(--hp-paper); padding: 20px 0; overflow: hidden; white-space: nowrap; }
.hp-marquee-track { display: inline-flex; animation: hp-marquee 38s linear infinite; font-family: var(--hp-display); font-size: 30px; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.hp-marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.hp-marquee-track svg { width: 20px; height: 20px; }

/* ---------- velká věta ---------- */
.hp-statement { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hp-statement .big { margin: 0 auto; max-width: 860px; text-align: center; font-family: var(--hp-display); font-size: clamp(30px, 5vw, 58px); line-height: 1.1; color: var(--hp-ink); }
.hp-ring { position: relative; display: inline-block; font-style: italic; }
.hp-ring svg { position: absolute; left: -9%; top: -14%; width: 118%; height: 128%; overflow: visible; pointer-events: none; }
.hp-statement .sub { margin: 34px auto 0; max-width: 560px; text-align: center; font-size: 17px; line-height: 1.65; color: var(--hp-ink-muted); }
.hp-half { position: absolute; overflow: hidden; }
.hp-half--l { left: 0; top: 70px; width: 170px; height: 230px; border-radius: 0 110px 110px 0; background: var(--hp-blush); }
.hp-half--l img { position: absolute; left: 14px; bottom: -4px; width: 128px; }
.hp-half--r { right: 0; bottom: 60px; width: 160px; height: 210px; border-radius: 105px 0 0 105px; background: var(--hp-butter); }
.hp-half--r img { position: absolute; left: 30px; top: 44px; width: 116px; transform: rotate(-10deg); }

/* ---------- jak to funguje ---------- */
.hp-how { padding-bottom: 110px; }
.hp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.hp-h2 { font-size: clamp(38px, 6vw, 64px) !important; line-height: 1 !important; }
.hp-h2 em { color: var(--hp-cobalt); }
.hp-head p { max-width: 360px; font-size: 16px; line-height: 1.6; color: var(--hp-ink-muted); }
.hp-steps { display: flex; gap: 40px; flex-wrap: wrap; }
.hp-step { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1.5px solid var(--hp-ink); }
.hp-step .n { font-family: var(--hp-display); font-style: italic; font-size: 104px; line-height: .85; color: var(--hp-cobalt); }
.hp-step h3 { margin-top: 8px; font-size: 34px; line-height: 1.02; }
.hp-step p { font-size: 16px; line-height: 1.6; color: var(--hp-ink-muted); max-width: 340px; }

/* ---------- začni svou hru ---------- */
.hp .hp-giant { padding-top: 30px; text-align: center; font-family: var(--hp-display); font-size: clamp(40px, 7vw, 84px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: var(--hp-cobalt); overflow-wrap: anywhere; }
.hp .hp-giant em { text-transform: none; }
.hp-games { background: var(--hp-powder); padding: 80px 0 100px; }
.hp-games-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.hp-games-head p { max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--hp-ink); }
.hp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.hp-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--hp-radius-card); padding: 14px 14px 22px; box-shadow: 0 1px 0 rgba(28,33,64,.06); transition: transform .15s, box-shadow .15s; }
.hp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28,33,64,.10); }
.hp-card-art { height: 210px; border-radius: 120px 120px 16px 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hp-card-art img { max-height: 180px; max-width: 86%; }
.hp-card-body { padding: 18px 10px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-card h3 { font-size: 31px; line-height: 1.02; }
.hp-card p { font-size: 15px; line-height: 1.55; color: var(--hp-ink-muted); }
.hp-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hp-line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.hp-card-foot b { font-weight: 700; }
.hp-card-foot .hp-link { font-size: 14px; }
.bg-blush { background: var(--hp-blush); } .bg-powder-soft { background: var(--hp-powder-soft); } .bg-tomato { background: var(--hp-tomato); } .bg-butter { background: var(--hp-butter); }

/* ---------- pozvánky ---------- */
.hp-invite { display: flex; align-items: center; gap: 70px; flex-wrap: wrap; padding-top: 110px; padding-bottom: 110px; }
.hp-invite-art-fit { flex: 0 1 480px; width: 100%; max-width: 480px; aspect-ratio: 480 / 620; position: relative; }
.hp-invite-art { position: absolute; left: 0; top: 0; width: 480px; height: 620px; transform: scale(var(--k, 1)); transform-origin: 0 0; }
.hp-invite-art > * { position: absolute; }
.hp-invite-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hp-invite-text .hp-kicker { font-size: 22px; color: var(--hp-tomato-btn); }
.hp-invite-text > p { max-width: 500px; font-size: 17px; line-height: 1.65; color: var(--hp-ink-muted); }
.hp-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hp-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--hp-ink); }
.hp-list li .hp-spark { margin-top: 3px; }
.hp-price { font-size: 14px; color: var(--hp-ink-muted); }

/* ---------- okénka ---------- */
.hp-windows { background: var(--hp-cobalt); color: var(--hp-paper); padding: 100px 0; }
.hp .hp-windows .hp-h2 { color: var(--hp-paper); max-width: 640px; }
.hp-windows .hp-h2 em { color: var(--hp-butter); }
.hp-windows .hp-head { margin-bottom: 50px; }
.hp-windows .hp-head p { max-width: 400px; font-size: 17px; color: var(--hp-on-cobalt); }
.hp-wins { display: flex; gap: 20px; flex-wrap: wrap; }
.hp-win { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 26px; border: 1.5px solid rgba(250,247,240,.55); border-radius: 160px 160px 22px 22px; text-align: center; }
.hp-win svg { width: 56px; height: 56px; }
.hp .hp-win h3 { font-size: 30px; line-height: 1.05; color: var(--hp-paper); }
.hp-win p { font-size: 15px; line-height: 1.55; color: var(--hp-on-cobalt); }

/* ---------- bez telefonu ---------- */
.hp-print { background: var(--hp-butter); padding: 100px 0; }
.hp-print-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); align-items: center; justify-items: center; gap: 50px; }
.hp-print-text { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 22px; }
.hp-print-text > p { font-size: 17px; line-height: 1.65; color: var(--hp-ink); }
.hp-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hp-checks li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.hp-checks svg { width: 20px; height: 20px; flex-shrink: 0; }
.hp-paper-fit { position: relative; width: 100%; max-width: 400px; aspect-ratio: 400 / 440; }
.hp-paper { position: absolute; left: 0; top: 0; width: 400px; height: 440px; transform: scale(var(--k, 1)); transform-origin: 0 0; }
.hp-paper > * { position: absolute; }
.hp-sheet { width: 280px; height: 380px; border-radius: 6px; }
.hp-sheet--back { left: 70px; top: 10px; background: var(--hp-blush); transform: rotate(8deg); box-shadow: 0 12px 24px rgba(28,33,64,.15); }
.hp-sheet--front { left: 50px; top: 24px; background: #fff; transform: rotate(-4deg); box-shadow: 0 16px 30px rgba(28,33,64,.18); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.hp-sheet .hp-kicker { font-size: 17px; color: var(--hp-tomato-btn); }
.hp-sheet .ttl { font-family: var(--hp-display); font-size: 34px; line-height: 1; }
.hp-xw { margin-top: 10px; display: grid; grid-template-columns: repeat(6, 20px); gap: 4px; }
.hp-xw i { width: 20px; height: 20px; border: 1.5px solid var(--hp-ink); border-radius: 3px; background: #fff; }
.hp-xw i.on { background: var(--hp-blush); }
.hp-sheet .hint { margin-top: auto; font-size: 12px; color: var(--hp-ink-muted); transform: rotate(180deg); text-align: right; }

/* ---------- patička ---------- */
.hp-foot { position: relative; background: var(--hp-cobalt); color: var(--hp-paper); padding: 100px var(--hp-pad) 34px; margin-top: 0; }
.hp-foot::before { content: ''; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: radial-gradient(circle at 14px 14px, var(--hp-cobalt) 13.5px, transparent 14px) center top / 28px 14px repeat-x; }
.hp-foot-in { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.hp .hp-foot h2 { font-size: clamp(42px, 7vw, 68px); line-height: 1; color: var(--hp-paper); }
.hp-foot h2 em { color: var(--hp-butter); }
.hp-foot .hp-btns { justify-content: center; }
.hp-ai { border: 0; background: none; color: var(--hp-on-cobalt); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.hp-news { margin-top: 18px; width: 100%; max-width: 520px; padding: 22px; border-radius: 26px; background: rgba(250,247,240,.1); border: 1.5px dashed rgba(250,247,240,.5); display: flex; flex-direction: column; gap: 12px; }
.hp-news label { font-family: var(--hp-display); font-style: italic; font-size: 22px; color: var(--hp-paper); }
.hp-news div { display: flex; gap: 8px; flex-wrap: wrap; }
.hp-news input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 18px; border-radius: 999px; border: none; background: var(--hp-paper); color: var(--hp-ink); font-family: var(--hp-body); font-size: 15px; }
.hp-news button { min-height: 48px; padding: 0 22px; border-radius: 999px; border: none; background: var(--hp-butter); color: var(--hp-ink); font-family: var(--hp-body); font-weight: 700; font-size: 15px; cursor: pointer; }
.hp-foot-nav { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; font-size: 15px; }
.hp-foot-nav a, .hp-foot-nav button { color: var(--hp-paper); background: none; border: 0; padding: 10px 0; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hp-foot-mail { color: var(--hp-butter); font-size: 17px; text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
.hp-foot-mail:focus-visible, .hp-foot-nav a:focus-visible { outline: 2px solid var(--hp-butter); outline-offset: 3px; border-radius: 4px; }
.hp-foot-logo { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 10px; }
.hp-foot-logo b { font-family: var(--hp-display); font-weight: 400; font-style: italic; font-size: 30px; line-height: 1; }
.hp-foot-logo svg { width: 84px; height: 14px; }
.hp-copy { font-size: 13px; color: var(--hp-on-cobalt); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; align-items: center; }
.hp-copy button, .hp-copy a { color: var(--hp-on-cobalt); background: none; border: 0; padding: 6px 2px; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- menší šířky ---------- */
@media (max-width: 1100px) { .hp-half { display: none; } }
@media (max-width: 1280px) {
  body.is-start .topbar { flex-wrap: wrap; }
  body.is-start .hp-menu-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--hp-ink); background: transparent; color: var(--hp-ink); font-family: var(--hp-body); font-weight: 600; font-size: 15px; cursor: pointer; }
  .hp-menu-btn svg { width: 18px; height: 14px; }
  body.is-start .site-nav { display: none; order: 10; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; border-top: 1px solid var(--hp-line); }
  body.is-start.hp-menu-open .site-nav { display: flex; }
  body.is-start .site-nav a, body.is-start .site-nav .hp-navlink { padding: 12px 0; font-size: 17px; text-align: left; }
  body.is-start .site-nav a.hp-btn { margin-top: 8px; align-self: flex-start; }
}
@media (max-width: 900px) {
  .hp-hero { justify-content: center; }
  .hp-hero-text { flex-basis: 100%; }
  .hp-invite { justify-content: center; gap: 40px; }
}
@media (max-width: 600px) {
  :root { --hp-pad: 20px; }
  body.is-start .topbar { padding: 12px var(--hp-pad); gap: 10px; }
  body.is-start .dash-btn { display: none; }
  .hp-logo b { font-size: 30px; }
  .hp-logo svg { width: 86px; }
  .hp-statement, .hp-invite { padding-top: 70px; padding-bottom: 70px; }
  .hp-how { padding-bottom: 70px; }
  .hp-games, .hp-windows, .hp-print { padding: 64px 0; }
  .hp-step .n { font-size: 80px; }
  .hp-marquee-track { font-size: 24px; }
  .hp-btns .hp-btn { flex: 1 1 auto; }
  .hp-projects-card { padding: 22px 18px; }
  .hp-print-grid { gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp *, body.is-start .topbar * { animation: none !important; transition: none !important; }
}
@media (max-width: 600px) {
  body.is-start #account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.hp [id] { scroll-margin-top: 96px; }
@media (max-width: 600px) { .hp-news button { flex: 1 1 auto; } }

/* Na středních šířkách (tablet na šířku, malý notebook) zůstává obrázek vedle textu a zmenšuje se –
   pod sebe se sekce skládají až pod 860 px. */
@media (min-width: 861px) {
  .hp-hero { flex-wrap: nowrap; }
  .hp-hero-text { flex: 1 1 470px; min-width: 440px; }
  .hp-collage-fit { flex: 0 1 540px; min-width: 0; }
  .hp-invite { flex-wrap: nowrap; }
  .hp-invite-art-fit { flex: 0 1 480px; min-width: 0; }
  .hp-invite-text { flex: 1 1 420px; min-width: 380px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .hp-hero { gap: 32px; }
  .hp-invite { gap: 40px; }
}
@media (max-width: 860px) {
  .hp-hero, .hp-invite { justify-content: center; }
  .hp-hero-text, .hp-invite-text { flex-basis: 100%; }
}
body.is-start .topbar .logo, body.is-start .topbar .logo:hover { text-decoration: none; border: 0; box-shadow: none; }

/* rozpracované projekty v novém vzhledu */
.hp-projects-card .proj-list { display: flex; flex-direction: column; gap: 0; }
.hp-projects-card .proj { display: flex; align-items: center; gap: 16px; padding: 18px 4px; background: transparent; border: 0; border-top: 1px solid var(--hp-line); border-radius: 0; box-shadow: none; }
.hp-projects-card .proj:last-child { border-bottom: 1px solid var(--hp-line); }
.hp-projects-card .proj-ico { width: 44px; height: 44px; flex-shrink: 0; padding: 9px; border-radius: 50%; background: var(--hp-blush); color: var(--hp-tomato-btn); --doodle-fill: var(--hp-tomato-btn); }
.hp-projects-card .proj[data-kind="quiz"] .proj-ico { background: var(--hp-powder); color: var(--hp-cobalt); --doodle-fill: var(--hp-cobalt); }
.hp-projects-card .proj[data-kind="hunt"] .proj-ico { background: var(--hp-butter); }
.hp-projects-card .proj-body { min-width: 0; gap: 2px; }
.hp-projects-card .proj-body b { font-family: var(--hp-display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--hp-ink); overflow-wrap: anywhere; }
.hp-projects-card .proj-body small { font-family: var(--hp-body); font-size: 14px; color: var(--hp-ink-muted); }
.hp-projects-card .proj-rsvp { font-family: var(--hp-body); font-size: 14px; color: var(--hp-ink-muted); }
.hp-projects-card .proj-rsvp b { font-family: var(--hp-body); font-weight: 600; font-size: 14px; color: var(--hp-cobalt); }
.hp-proj-open { min-height: 44px; padding: 0 20px; font-size: 14px; }
.hp-proj-del { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--hp-line); background: transparent; color: var(--hp-ink-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hp-proj-del:hover { border-color: var(--hp-tomato-btn); color: var(--hp-tomato-btn); }
.hp-proj-del svg { width: 12px; height: 12px; }
.hp-projects-card .linkish { color: var(--hp-tomato-btn); }
@media (max-width: 600px) {
  .hp-projects-card .proj { flex-wrap: wrap; gap: 10px 12px; }
  .hp-projects-card .proj-body { flex: 1 1 calc(100% - 60px); }
  .hp-projects-card .proj-body b { font-size: 22px; }
  .hp-proj-open { margin-left: 56px; }
}

/* ---------- hlavička: jen jedno orámované tlačítko (CTA vpravo), ostatní jako text ---------- */
.hp-header-cta { display: none; }
body.is-start .topbar { gap: 8px; }
body.is-start .site-nav { gap: 26px; margin-right: 14px; }
body.is-start .site-nav a.hp-nav-cta { display: none; }
body.is-start .hp-header-cta { display: inline-flex; min-height: 48px; padding: 0 22px; margin-left: 10px; }
body.is-start .hp-header-cta:hover { color: var(--hp-paper); background: var(--hp-ink); }
body.is-start .lang-btn, body.is-start .account-btn { border: 0; background: none; box-shadow: none; min-height: 44px; min-width: 0; border-radius: 8px; padding: 0 8px; font-family: var(--hp-body); font-weight: 500; font-size: 15px; color: var(--hp-ink-muted); }
body.is-start .lang-btn:hover, body.is-start .account-btn:hover { background: none; color: var(--hp-cobalt); }
body.is-start .lang-btn { position: relative; padding-left: 22px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
body.is-start .lang-btn::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 22px; margin-top: -11px; background: var(--hp-line); }
body.is-start .account-ico { width: 18px; height: 18px; color: currentColor; }
@media (max-width: 1280px) {
  body.is-start .hp-header-cta { display: none; }
  body.is-start .site-nav a.hp-nav-cta { display: inline-flex; }
  body.is-start .site-nav { margin-right: 0; }
  body.is-start .lang-btn { padding-left: 8px; }
  body.is-start .lang-btn::before { content: none; }
}

body.is-start #account-btn { background: none; border: 0; color: var(--hp-ink-muted); }
body.is-start #account-btn:hover { background: none; color: var(--hp-cobalt); }
