/* ==========================================================================
   EHREN.CZ — Jakub Ehrenberger, UI/UX designér
   Čisté HTML + CSS + JS, 1:1 přepis původního webu z Frameru.

   Breakpointy přebírají Framer:
     desktop  ≥ 1200 px
     tablet   810–1199 px
     mobil    ≤ 809 px
   ========================================================================== */

:root {
  /* Barvy (tokeny z Frameru) */
  --bg: #0d0d0d;
  --surface: #121212;        /* pilulka v patičce, karty procesu a nástrojů */
  --surface-hover: #1a1a1a;
  --line: #262626;           /* oddělovací linky, tmavá tlačítka, inputy */
  --text: #ffffff;
  --text-soft: #c2c2c2;
  --text-muted: #8a8a8a;
  --accent: #06dd84;
  --ink: #0d0d0d;            /* text na zeleném tlačítku */
  --error: #ff7070;

  /* Rozvržení */
  --gutter: 40px;
  --page-top: 160px;
  --max: 1440px;

  /* Pohyb — Framer spring (duration 1.5 s, bounce 0.2) převedený na linear() */
  --ease-spring: linear(0, 0.0355, 0.1215, 0.2337, 0.355, 0.474, 0.5838, 0.6806, 0.7626, 0.8301, 0.8838, 0.9254, 0.9566, 0.9791, 0.9947, 1.0049, 1.011, 1.0141, 1.0151, 1.0148, 1.0136, 1.012, 1.0101, 1.0083, 1.0066, 1.0051, 1.0038, 1.0028, 1.0019, 1.0012, 1);
  --ease-ui: cubic-bezier(0.44, 0, 0.56, 1);
  --t-ui: 0.4s var(--ease-ui);

  /* Typografická škála (desktop) */
  --fs-display: 88px;   --lh-display: 1.1;
  --fs-statement: 60px;
  --fs-h2: 40px;
  --fs-h3: 24px;
  --fs-h4: 20px;
  --fs-body: 18px;
  --fs-small: 14px;
}

@media (max-width: 1199.98px) {
  :root {
    --gutter: 30px;
    --page-top: 120px;
    --fs-display: 64px;
    --fs-statement: 52px;
    --fs-h2: 32px;
    --fs-h3: 22px;
    --fs-h4: 18px;
    --fs-body: 16px;
  }
}

@media (max-width: 809.98px) {
  :root {
    --gutter: 16px;
    --page-top: 100px;
    --fs-display: 40px;
    --fs-statement: 34px;
    --fs-h2: 26px;
    --fs-h3: 20px;
    --fs-h4: 16px;
    --fs-body: 15px;
    --fs-small: 13px;
  }
}

/* ── Reset ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Inter Placeholder", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Typografie ────────────────────────────────────────────────────────── */

.t-display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 600;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.t-statement {
  font-size: var(--fs-statement);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.t-h2 {
  font-size: var(--fs-h2);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.t-h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.t-h4 {
  font-size: var(--fs-h4);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.t-body {
  font-size: var(--fs-body);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.t-small {
  font-size: var(--fs-small);
  line-height: 1.5;
  font-weight: 400;
}

.c-muted  { color: var(--text-muted); }
.c-soft   { color: var(--text-soft); }
.c-accent { color: var(--accent); }

/* ── Rozvržení ─────────────────────────────────────────────────────────── */

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--page-top) var(--gutter) 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.page > * {
  width: 100%;
  max-width: var(--max);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Na mobilu je linka pod nadpisem přes celou šířku */
@media (max-width: 809.98px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head .rule { flex: none; width: 100%; }
}

/* Tenká oddělovací linka, která vyplní volné místo v řádku */
.rule {
  flex: 1 1 0;
  height: 1px;
  min-width: 1px;
  background: var(--line);
}

.dot {
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 10px;
  background: var(--accent);
}

/* ── Tlačítka ──────────────────────────────────────────────────────────── */

/* Zelené CTA „Chci lepší design“ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  height: 54px;
  padding: 18px 26px;
  border-radius: 50px;
  background: var(--accent);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
  transition: background-color var(--t-ui);
}

.btn:hover { background: var(--text); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Tmavá pilulka („Kontakt“ v hlavičce, „Zobrazit více“, „Více o mně“) */
.pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  flex: none;
  padding: 12px 20px;
  border-radius: 40px;
  background: var(--line);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color var(--t-ui), color var(--t-ui);
}

.pill:hover { background: var(--accent); color: var(--ink); }
.pill svg { width: 14px; height: 14px; fill: currentColor; flex: none; }

/* Textový odkaz v navigaci */
.nav-link {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-soft);
  transition: color var(--t-ui);
}

.nav-link:hover { color: var(--text-muted); }

/* ── Hlavička ──────────────────────────────────────────────────────────── */

/* Ukotvená nahoře; po odjetí z vrcholu stránky (.is-scrolled, script.js)
   dostane průsvitné rozostřené pozadí, aby se oddělila od obsahu. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.site-header .nav {
  transition: background-color 0.3s var(--ease-ui), height 0.5s var(--ease-ui);
}

.site-header.is-scrolled .nav {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Otevřené mobilní menu vždy s plným pozadím */
.site-header.is-open .nav { background: var(--bg); }

html { scroll-padding-top: 90px; }

/* Logo vlevo | odkazy uprostřed | přepínač vpravo */
.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 16px 40px;
  background: var(--bg);
}

/* ── Přepínač Design / Wireframe (uprostřed hlavičky) ──────────────────── */

.mode-switch {
  position: relative;
  justify-self: end;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 40px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
}

/* Posuvný „jezdec“ pod aktivní volbou */
.mode-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 40px;
  background: var(--line);
  z-index: -1;
  transition: transform 0.45s var(--ease-ui);
}

.mode-switch[data-active="wireframe"]::before { transform: translateX(100%); }

.mode-switch button {
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t-ui);
}

.mode-switch button:hover { color: var(--text-soft); }
.mode-switch button[aria-pressed="true"] { color: var(--text); }

.nav-top { display: flex; align-items: center; }

.nav-logo {
  display: flex;
  border-radius: 30px;
}

.nav-logo img { width: 30px; height: 35px; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-toggle { display: none; }

@media (max-width: 809.98px) {
  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 10px;
    height: 60px;
    overflow: hidden;
  }

  .nav-top {
    height: 44px;
    justify-content: space-between;
    padding-left: 8px;
  }

  /* Na mobilu vpravo nahoře vedle hamburgeru */
  .mode-switch {
    position: absolute;
    top: 30px;
    right: 62px;
    transform: translateY(-50%);
  }

  .mode-switch button { padding: 6px 12px; font-size: 13px; }

  .nav-toggle {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
  }

  .nav-toggle span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 1px;
    border-radius: 10px;
    background: var(--text-soft);
    transition: transform 0.4s var(--ease-ui), top 0.4s var(--ease-ui);
  }

  .nav-toggle span:first-child { top: 17px; }
  .nav-toggle span:last-child  { top: 26px; }

  .nav-links {
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
    padding: 32px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-ui), visibility 0.3s;
  }

  .site-header.is-open .nav { padding-bottom: 0; }
  .site-header.is-open .nav-links { opacity: 1; visibility: visible; }
  .site-header.is-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
  .site-header.is-open .nav-toggle span:last-child  { top: 21.5px; transform: rotate(-45deg); }
}

/* ── Patička ───────────────────────────────────────────────────────────── */

.site-footer {
  display: flex;
  justify-content: center;
  padding: 100px 0 20px;
  overflow: hidden;
}

.footer-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
}

.footer-pages {
  display: flex;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 45px;
  background: var(--surface);
}

.footer-pages ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 31px;
}

.footer-pages button.nav-link { line-height: 1; letter-spacing: normal; }

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
}

@media (max-width: 809.98px) {
  .footer-content { gap: 72px; }
  .footer-cta { flex-direction: column; gap: 32px; text-align: center; }
  .footer-cta .rule { display: none; }
  .footer-legal { flex-direction: column; text-align: center; }
}

/* ── Animace vstupu ────────────────────────────────────────────────────── */
/* Bez JS (nebo s omezeným pohybem) je vše rovnou vidět — schovává se jen
   tehdy, když script.js nastaví <html class="js">. */

.js [data-appear],
.js [data-reveal] {
  opacity: 0.001;
  transform: translateY(80px);
  transition:
    opacity 1.5s var(--ease-spring) var(--delay, 0s),
    transform 1.5s var(--ease-spring) var(--delay, 0s);
}

.js [data-reveal="footer"] { opacity: 1; transform: translateY(100px); }

.js [data-appear].is-in,
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-appear],
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Ticker (běžící pás) ───────────────────────────────────────────────── */

.ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--ticker-gap, 12px);
  animation: ticker var(--ticker-duration, 20s) linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: var(--ticker-gap, 12px);
  flex: none;
}

/* Posun o šířku jedné skupiny + mezeru dopočítává script.js (--ticker-shift) */
@keyframes ticker {
  to { transform: translateX(var(--ticker-shift, -50%)); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ── Projektové karty ──────────────────────────────────────────────────── */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.project-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 661 / 530;
  padding: 36px;
  border-radius: 16px;
  background: var(--card-color, var(--line));
  overflow: hidden;
}

.card-frame {
  width: 100%;
  padding: 6px;
  border-radius: 10px;
  transition: padding var(--t-ui);
}

.card-frame img {
  width: 100%;
  aspect-ratio: 577 / 441;
  object-fit: cover;
  border-radius: 8px;
  transition: box-shadow var(--t-ui);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.card-name {
  font-size: var(--fs-body);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.card-category {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: hover) and (min-width: 1200px) {
  .card:hover .card-frame { padding: 0; }
  .card:hover .card-frame img {
    box-shadow:
      0 0.6px 1.8px rgba(0, 0, 0, 0.02),
      0 2.29px 6.87px rgba(0, 0, 0, 0.08),
      0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

/* Menší karty v „Další projekty“ */
.project-grid--3 .card-media { aspect-ratio: 437 / 351; }

@media (max-width: 1199.98px) {
  .card-media,
  .project-grid--3 .card-media { padding: 20px; }
  .card-frame { padding: 0; }
  .card-frame img { border-radius: 6px; }
}

@media (max-width: 809.98px) {
  .project-grid,
  .project-grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* ── Úvod (index.html) ─────────────────────────────────────────────────── */

.home-hero-content {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.home-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.name-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}

.name-link img {
  width: 50px;
  height: 50px;
  border-radius: 16px;
}

.home-perex { max-width: 600px; }


/* Framer u úvodních odstavců vyvažuje délku řádků */
.home-headline > p,
.contact-headline > p { text-wrap: balance; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-ticker {
  flex: none;
  width: 35%;
  height: 24px;
  --ticker-gap: 12px;
  --ticker-duration: 36s;
}

.tag {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-muted);
  white-space: nowrap;
}

.tag .dot { border-radius: 20px; }

.available {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-soft);
  white-space: nowrap;
}

.pulse {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}

.pulse::before,
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: var(--accent);
}

/* Velký kruh: 1 s lineárně z 1× na 3× a vyblednutí, pak 1 s pauza */
.pulse::after {
  opacity: 0.7;
  animation: pulse 2s linear infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  50%  { transform: scale(3); opacity: 0; }
  100% { transform: scale(3); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse::after { animation: none; opacity: 0; }
}

.home-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
}

.home-projects .pill { margin-top: 40px; }

.home-about { padding: 100px 0; }

.home-about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-about .t-statement { padding-bottom: 8px; }
.home-service-links { margin: 16px 0; }

.stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  white-space: nowrap;
}

.process { padding: 100px 0; }

.process-content {
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 40px;
  border-radius: 16px;
  background: var(--surface);
}

.process-step-title {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.process-step-title h3 {
  display: flex;
  gap: 8px;
  flex: none;
}

.process-step > p {
  flex: none;
  width: 600px;
}

@media (max-width: 1199.98px) {
  .home-projects .pill { margin-top: 100px; }

  .process-step {
    flex-direction: column;
    gap: 16px;
    padding: 32px 24px;
  }

  .process-step-title {
    flex: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .process-step-title .rule { flex: none; width: 100%; }
  .process-step > p { width: 100%; max-width: 600px; }
}

@media (max-width: 809.98px) {
  .home-hero-content { gap: 40px; }
  .home-hero .home-headline { align-items: center; text-align: center; }
  .name-link { font-size: var(--fs-body); }

  .hero-actions {
    flex-direction: column;
    gap: 30px;
  }

  .hero-actions .rule { display: none; }
  .hero-ticker { order: 3; width: 100%; }
  .available { order: 2; }

  .home-projects { padding-top: 60px; }
  .home-projects .pill { margin-top: 60px; }
  .home-about,
  .process { padding: 60px 0; }

  .stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats .rule { flex: none; width: 100%; }
}

/* ── O mně ─────────────────────────────────────────────────────────────── */

/* Úvod podstránek: velký nadpis + perex (O mně) */
.page-hero .t-body { max-width: 800px; }

.about-hero { padding: 100px 0; }

/* Fotka vlevo, text vpravo */
.about-grid {
  display: grid;
  grid-template-columns: 433px minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
}

/* Tři body s ikonou pod úvodní větou */
.about-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about-points li > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.about-portrait {
  flex: none;
  width: 433px;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-label {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-soft);
  white-space: nowrap;
}

.icon-label svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex: none;
}

.experience,
.tools { padding: 100px 0; }

.experience-content,
.tools-content {
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.job {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.job-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.job-meta { flex: none; white-space: nowrap; }
.job p.t-small { max-width: 800px; }

.tools-ticker {
  flex: none;
  width: 35%;
  height: 40px;
  display: flex;
  align-items: center;
  --ticker-gap: 16px;
  --ticker-duration: 32s;
}

.tool-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.tool-chip img { width: 24px; height: 24px; object-fit: contain; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 30px 24px 24px;
  border-radius: 70px;
  background: var(--surface);
  transition: background-color var(--t-ui);
}

.tool-card > img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex: none;
}

.tool-card-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tool-card-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-card-name svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: var(--accent);
  transition: transform var(--t-ui);
}

.tool-card:hover { background: var(--surface-hover); }
.tool-card:hover .tool-card-name svg { transform: rotate(45deg); }

@media (max-width: 1199.98px) {
  .page-hero .t-body { max-width: 600px; }
  .about-grid { grid-template-columns: 301px minmax(0, 1fr); gap: 40px; }
  .about-portrait { width: 301px; height: 360px; }
}

@media (max-width: 809.98px) {
  .about-hero { padding: 60px 0; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about-portrait { width: 100%; height: 440px; }

  .experience,
  .tools { padding: 60px 0; }

  .job-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .job-info .rule { display: none; }

  .tools-ticker { width: 100%; }
  .tools-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ── Kontakt ───────────────────────────────────────────────────────────── */

.contact-hero { padding-bottom: 100px; }

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 200px;
}

.contact-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  transition: color var(--t-ui);
}

.mail-link svg { width: 20px; height: 20px; fill: var(--accent); flex: none; }
.mail-link:hover { color: var(--text-muted); }

.contact-body {
  display: flex;
  align-items: flex-start;
  gap: 54px;
}

.contact-body > h2 { flex: 1 1 0; min-width: 0; text-wrap: balance; }

.contact-form {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 23px;
  border: 1px solid transparent;
  border-radius: 30px;
  background: var(--line);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
  transition: border-color 0.2s;
}

.field textarea {
  height: 220px;
  min-height: 120px;
  padding: 23px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); opacity: 1; }

.field input:focus,
.field textarea:focus { border-color: var(--text-muted); }

/* Skrytá pole proti spamu (stejně jako ve Frameru) */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 54px;
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--accent);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  transition: background-color var(--t-ui), opacity var(--t-ui);
}

.submit:hover { background: var(--text); }
.submit:active { background: var(--text-soft); }

.submit[data-state="pending"] { cursor: default; }
.submit[data-state="pending"] .submit-label { display: none; }
.submit[data-state="pending"] .spinner { display: block; }
.submit[data-state="success"]:hover { background: var(--accent); }
.submit[data-state="error"],
.submit[data-state="error"]:hover { background: rgba(255, 34, 68, 0.15); color: var(--error); }

/* Spinner z Frameru: kónický gradient zamaskovaný kroužkem */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 7deg, var(--ink) 342deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1199.98px) {
  .contact-content { gap: 100px; }
}

@media (max-width: 809.98px) {
  .contact-hero { padding-bottom: 60px; }
  .contact-content { gap: 60px; }
  .contact-body { flex-direction: column; gap: 32px; }
  .contact-form { flex: none; width: 100%; }
}

/* ── Portfolio ─────────────────────────────────────────────────────────── */

.portfolio-hero .home-headline { gap: 24px; }
.portfolio-hero .t-body { max-width: 800px; }

.portfolio-projects { padding: 100px 0; }

@media (max-width: 1199.98px) {
  .portfolio-hero .t-body { max-width: 600px; }
}

@media (max-width: 809.98px) {
  .portfolio-projects { padding: 60px 0; }
}

/* ── Detail projektu ───────────────────────────────────────────────────── */

.project-head {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.project-head .t-body { max-width: 800px; }

.project-info .btn svg { width: 18px; height: 18px; }

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-top: 60px;
}

.project-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  border-radius: 16px;
  background: var(--card-color, var(--line));
  overflow: hidden;
}

.project-cover img {
  width: 100%;
  aspect-ratio: 1232 / 942;
  object-fit: cover;
  border-radius: 12px;
}

/* Text projektu z CMS (nadpisy + odstavce + odrážky) */
.rich {
  max-width: 800px;
  color: var(--text-muted);
}

.rich h2 {
  font-size: var(--fs-h2);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--text);
}

/* Rozestupy jako ve Frameru: 20 px mezi bloky, 40 px nad nadpisem */
.rich > * + * { margin-top: 20px; }
.rich > * + h2 { margin-top: 40px; }

.rich p,
.rich li {
  font-size: var(--fs-body);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.rich strong { font-weight: 700; }
.rich a { color: var(--text); text-decoration: underline; }
.rich a.award { display: block; width: fit-content; text-decoration: none; }
.rich a.award img { width: 150px; height: auto; }

.rich ul {
  list-style: disc;
  padding-left: 1.4em;
}

.rich li::marker { color: var(--text-muted); }

.gallery-row {
  display: flex;
  gap: 24px;
}

.gallery-row figure {
  flex: 1 1 0;
  min-width: 0;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.more-projects { padding: 100px 0; }

.more-projects-content {
  display: flex;
  flex-direction: column;
  gap: 54px;
}

@media (max-width: 1199.98px) {
  .project-cover { padding: 40px; }
  .project-cover img { border-radius: 8px; }
}

@media (max-width: 809.98px) {
  /* Na mobilu jsou štítky pod sebou oddělené linkami a rok je před klientem
     (stejné pořadí jako na Frameru). */
  .project-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .project-info .rule { flex: none; width: 100%; }
  .project-info .info-rule-2 { order: 1; }
  .project-info .info-category { order: 2; }
  .project-info .info-rule-4 { order: 3; }
  .project-info .info-year { order: 4; }
  .project-info .info-rule-3 { order: 5; }
  .project-info .info-client { order: 6; }
  .project-info .btn { order: 7; }

  .project-cover { padding: 16px; }
  .project-cover img { border-radius: 4px; }
  .more-projects { padding: 60px 0; }
}

/* ── Služby: přehled ───────────────────────────────────────────────────── */

.services-hero-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.services-hero .t-body { max-width: 800px; }

.services,
.collab,
.services-why,
.service-section { padding: 100px 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Karta služby — celá je odkaz na podstránku */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 16px;
  background: var(--surface);
  transition: background-color var(--t-ui);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.service-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--line);
  transition: background-color var(--t-ui);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  transition: fill var(--t-ui);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-soft);
}

.service-more svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  transition: transform var(--t-ui);
}

@media (hover: hover) {
  .service-card:hover { background: var(--surface-hover); }
  .service-card:hover .service-icon { background: var(--accent); }
  .service-card:hover .service-icon svg { fill: var(--ink); }
  .service-card:hover .service-more svg { transform: rotate(45deg); }
}

/* Široká dlaždice přes celý řádek s obrázkem */
.service-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.service-card-media {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.service-card-media img {
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease-ui);
}

@media (hover: hover) {
  .service-card--wide:hover .service-card-media img { transform: scale(1.02); }
}

/* Ukázka z praxe na podstránce služby */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 16px;
  background: var(--surface);
}

.showcase-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.showcase-body .btn { margin-top: 16px; }

.showcase-media {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.showcase-media img {
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: top;
}

/* Menší varianta v „Další služby“ */
.service-card--compact {
  flex-direction: row;
  align-items: center;
  padding: 20px 24px 20px 20px;
  border-radius: 70px;
}

.service-card--compact h3 { flex: 1 1 0; min-width: 0; }
.service-card--compact .service-icon { width: 44px; height: 44px; border-radius: 50%; }

.service-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Proč spolupracovat */
.services-why-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.reason {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reason .service-icon { margin-bottom: 12px; }

/* Formy spolupráce */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.collab-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  border-radius: 16px;
  background: var(--surface);
}

/* Časté otázky — nativní <details> */
.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color var(--t-ui);
}

.faq-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  transition: transform var(--t-ui), fill var(--t-ui);
}

@media (hover: hover) {
  .faq-item summary:hover .faq-icon { background: var(--accent); }
  .faq-item summary:hover .faq-icon svg { fill: var(--ink); }
}
.faq-item[open] .faq-icon svg { transform: rotate(45deg); }

.faq-item p {
  max-width: 800px;
  padding-bottom: 24px;
}

/* ── Služby: podstránka ────────────────────────────────────────────────── */

.service-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-hero .t-body { max-width: 800px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-soft);
  transition: color var(--t-ui);
}

.breadcrumb a:hover { color: var(--accent); }

.service-info {
  margin-top: 36px;
}

.service-info .service-tags { flex: none; }
.service-info > p { flex: none; white-space: nowrap; }

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 800px);
  gap: 40px;
  padding-top: 100px;
}

/* ── CTA pruh na konci podstránky služby ──────────────────────────────── */
/* Animace řízená scrollem ve dvou fázích (oběma směry), hodnoty nastavuje
   script.js podle polohy pruhu v okně:
     --s  0 → 1  tmavá dlaždice se zvětší z 92 % na plnou velikost
     --p  0 → 1  teprve potom se přebarví do zelené
   Bez JS jsou obě rovnou 1. */

.cta-band {
  --s: 1;
  --p: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px 60px;
  padding: 80px 64px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--accent) calc(var(--p) * 100%), var(--surface));
  color: color-mix(in srgb, var(--ink) calc(var(--p) * 100%), var(--text));
  transform: scale(calc(0.92 + 0.08 * var(--s)));
  will-change: transform;
}

.js .cta-band { --s: 0; --p: 0; }

.cta-band-text .t-body {
  margin-top: 20px;
  opacity: 0.75;
}

/* Tlačítko: na šedé zelené, na zelené tmavé se zeleným textem */
.cta-band .btn {
  background: color-mix(in srgb, var(--ink) calc(var(--p) * 100%), var(--accent));
  color: color-mix(in srgb, var(--accent) calc(var(--p) * 100%), var(--ink));
  transition: none;
}

.cta-band .btn:hover {
  background: var(--text);
  color: var(--ink);
}

@media (max-width: 1199.98px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-items: start;
    padding: 56px 40px;
  }
}

@media (max-width: 809.98px) {
  .cta-band {
    padding: 40px 24px;
    border-radius: 16px;
  }
}

/* Sekce bez spodního odsazení (navazuje na ni další sekce) */
.service-section--flush { padding-bottom: 0; }

/* Varianty služby vedle sebe (např. ve Figmě / v kódu) */

.variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.variant {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  border-radius: 16px;
  background: var(--surface);
}

.variant-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.variant-points .tag { color: var(--text-soft); }

/* Krátký úvodní odstavec pod nadpisem sekce */
.section-intro {
  max-width: 800px;
  margin-top: -24px;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.deliverable {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: 16px;
  background: var(--surface);
}

.deliverable .service-icon { margin-bottom: 12px; }

@media (max-width: 1199.98px) {
  .services-hero .t-body { max-width: 600px; }
  .service-grid,
  .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collab-card,
  .variant { padding: 32px 24px; }
  .service-card,
  .deliverable { padding: 28px 24px; }
  .service-card--compact { padding: 16px 20px 16px 16px; }

  .service-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }

  .showcase { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
  .showcase-media { order: -1; }

  .service-info { flex-wrap: wrap; }
  .service-info .service-tags { flex: 1 1 100%; }
}

@media (max-width: 809.98px) {
  .services,
  .collab,
  .services-why,
  .service-section { padding: 60px 0; }
  .service-intro { padding-top: 60px; }

  .service-grid,
  .service-links,
  .reasons,
  .collab-grid,
  .variants,
  .deliverables { grid-template-columns: minmax(0, 1fr); }

  .service-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 16px;
  }

  .service-info .rule { flex: none; width: 100%; }

  .service-card--wide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .service-card--wide .service-card-media { order: -1; }
}

/* ── Ochrana osobních údajů ──────────────────────────────────────────── */

.legal { padding: 100px 0; }

.legal .rich a { color: var(--text-soft); }
.legal .rich a:hover { color: var(--accent); }

/* Tlačítko, které vypadá jako odkaz (otevře nastavení cookies) */
.legal-link {
  font: inherit;
  color: var(--text-soft);
  text-decoration: underline;
  cursor: pointer;
}

.legal-link:hover { color: var(--accent); }

.form-note a,
.legal-footer-link {
  color: inherit;
  text-decoration: underline;
  transition: color var(--t-ui);
}

.form-note a:hover,
.legal-footer-link:hover { color: var(--text-soft); }

@media (max-width: 809.98px) {
  .legal { padding: 60px 0; }
}

/* ── 404 ───────────────────────────────────────────────────────────────── */

.notfound {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 900px;
  padding-bottom: 300px;
}

.notfound-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.notfound-headline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.notfound-headline h1 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.notfound-headline h1 .dot { width: 10px; height: 10px; border-radius: 20px; }

@media (max-width: 1199.98px) {
  .notfound { padding-bottom: 200px; }

  /* Na tabletu má Framer nadpis 404 ve velikosti H2 */
  .notfound-headline h1 {
    font-size: var(--fs-h2);
    line-height: 1.2;
    font-weight: 500;
  }

  .notfound-headline h1 .dot { width: 6px; height: 6px; }
  .notfound-content > p { max-width: 600px; }
}

@media (max-width: 809.98px) {
  .notfound { padding-bottom: 140px; }
  .notfound-content { gap: 48px; }
  .notfound-headline h1 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 600; }
  .notfound-headline { flex-direction: column; align-items: flex-start; gap: 20px; }
  .notfound-headline .rule { flex: none; width: 100%; }
  .notfound-headline h1 { flex-direction: column; align-items: flex-start; gap: 20px; }
  .notfound-headline h1 .dot { display: none; }
  .notfound-content > p { display: none; } /* Framer ho na mobilu skrývá */
}

/* ── Režim Wireframe ───────────────────────────────────────────────────── */
/* Zapíná ho přepínač v hlavičce (třída `wf` na <html>, viz components.js).
   Většinu práce udělá přepnutí barevných tokenů, zbytek dorovnají pravidla
   níže: obrázky jako šedé boxy s křížkem, barevné plochy jako obrysy
   a světlé „plátno“ s tečkovanou mřížkou jako ve Figmě. */

html.wf {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --surface-hover: #fafafa;
  --line: #d6d6d6;
  --text: #161616;
  --text-soft: #3d3d3d;
  --text-muted: #808080;
  --accent: #161616;
  --ink: #ffffff;
  --wf-stroke: #b5b5b5;
}

html.wf body {
  background-image: radial-gradient(circle, #d0d0d0 1px, transparent 1.3px);
  background-size: 24px 24px;
}

/* Všechno hranaté, jako v základním wireframu */
html.wf *,
html.wf *::before,
html.wf *::after {
  border-radius: 0 !important;
}

/* Obrázky → šedý box s křížkem (obsah obrázku se vysune mimo plochu) */
html.wf img {
  object-position: -99999px 99999px;
  background: #ebebeb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0L100 100M100 0L0 100' stroke='%23bdbdbd' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  box-shadow: inset 0 0 0 1px var(--wf-stroke);
}

html.wf .nav-logo img {
  object-position: 50% 50%;
  background: none;
  box-shadow: none;
  filter: invert(1);
}

/* Barevné plochy projektů → přerušovaný obrys */
html.wf .card-media,
html.wf .project-cover {
  background: transparent;
  outline: 1px dashed var(--wf-stroke);
  outline-offset: -1px;
}

/* Karty a plochy → bílé s tenkým obrysem */
html.wf :is(.process-step, .service-card, .tool-card, .deliverable, .variant, .showcase, .collab-card, .footer-pages, .cookie-box) {
  box-shadow: inset 0 0 0 1px var(--line);
}

html.wf .service-icon,
html.wf .faq-icon {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

html.wf .field input,
html.wf .field textarea {
  background: var(--surface);
  border-color: var(--line);
}

html.wf .btn:hover,
html.wf .submit:hover { background: var(--text-soft); }

/* Prolnutí při přepnutí režimu (View Transitions API) */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
}

/* ── Cookie lišta ──────────────────────────────────────────────────────── */

.cookie {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: 400px;
  max-width: 100%;
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-ui), transform 0.4s var(--ease-ui);
}

.cookie.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cookie-box {
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-title {
  margin-bottom: 10px;
  color: #000;
  font-weight: 700;
  line-height: normal;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.cookie-actions button {
  flex: 1 1 0;
  height: 34px;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
  transition: opacity 0.2s;
}

.cookie-actions button:hover { opacity: 0.8; }
.cookie-decline { background: #eee; color: #444; }
.cookie-accept  { background: #000; color: #fff; }

@media (max-width: 809.98px) {
  .cookie { width: 100%; }
}
