
/* ===== colors_and_type.css ===== */
/* ─────────────────────────────────────────────────────────────
   marienkova.design — Foundations
   Kateřina Marienková · grafická designérka
   ───────────────────────────────────────────────────────────── */

/* Fonts — Satoshi self-hosted (uploaded .otf), Poppins via Google Fonts */
/* Poppins @import removed for self-containment — falls back to Satoshi */
/* Satoshi — weights 300/400/500/700/900, roman + italic (self-hosted webfonts) */
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-LightItalic.woff2") format("woff2");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-MediumItalic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-BoldItalic.woff2") format("woff2");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Black.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-BlackItalic.woff2") format("woff2");
  font-weight: 900; font-style: italic; font-display: swap;
}

:root {
  /* ── Brand palette ───────────────────────────────────────── */
  /* The four foundation colors, sampled directly from the
     brand palette image. Red is the hero; everything else
     is supporting. */
  --color-red:        #8e9cae;   /* keramari accent — blue-grey (this page only) */
  --color-blue:       #367bed;   /* Secondary accent           */
  --color-cream:      #f5f0ea;   /* Warm off-white surface     */
  --color-ink:        #1d1e18;   /* Near-black, very slightly  */
                                  /* warm — never pure #000     */
  --color-white:      #ffffff;

  /* ── Neutral scale (warm, anchored to --color-cream/--ink) ─ */
  --neutral-0:        #ffffff;
  --neutral-50:       #faf7f3;
  --neutral-100:      #f5f0ea;   /* = --color-cream             */
  --neutral-200:      #ebe5dd;
  --neutral-300:      #d9d2c8;
  --neutral-400:      #aea79c;
  --neutral-500:      #807a70;
  --neutral-600:      #5a554d;
  --neutral-700:      #38362f;
  --neutral-800:      #25241f;
  --neutral-900:      #1d1e18;   /* = --color-ink               */

  /* ── Red & Blue scales ───────────────────────────────────── */
  --red-100:          #fbe1e0;
  --red-300:          #f08987;
  --red-500:          #e73d3b;   /* = --color-red               */
  --red-700:          #b22321;
  --red-900:          #6e1110;

  --blue-100:         #dee9fc;
  --blue-300:         #88adf4;
  --blue-500:         #367bed;   /* = --color-blue              */
  --blue-700:         #1d57b9;
  --blue-900:         #0e2f6b;

  /* ── Semantic surface / foreground tokens ────────────────── */
  --bg:               var(--color-cream);
  --bg-elevated:      var(--color-white);
  --bg-inverse:       var(--color-ink);
  --bg-accent:        var(--color-red);

  --fg:               var(--color-ink);
  --fg-muted:         var(--neutral-600);
  --fg-subtle:        var(--neutral-500);
  --fg-inverse:       var(--color-cream);
  --fg-accent:        var(--color-red);
  --fg-link:          var(--color-ink);          /* underlined */
  --fg-link-hover:    var(--color-red);

  --border:           var(--neutral-300);
  --border-strong:    var(--color-ink);

  --selection-bg:     var(--color-red);
  --selection-fg:     var(--color-cream);

  /* ── Typography ──────────────────────────────────────────── */
  --font-display:     "Satoshi", "Poppins", system-ui, sans-serif;
  --font-body:        "Satoshi", system-ui, sans-serif;
  --font-accent:      "Poppins", "Satoshi", sans-serif;

  /* Type scale — tight, geometric. Mobile baselines.        */
  --fs-display:       clamp(3.5rem, 8vw, 7.5rem);   /* 56–120 */
  --fs-h1:            clamp(2.5rem, 5vw, 4.5rem);   /* 40–72  */
  --fs-h2:            clamp(2rem, 3.5vw, 3rem);     /* 32–48  */
  --fs-h3:            clamp(1.5rem, 2.5vw, 2rem);   /* 24–32  */
  --fs-h4:            1.25rem;                      /* 20     */
  --fs-body-lg:       1.125rem;                     /* 18     */
  --fs-body:          1rem;                         /* 16     */
  --fs-small:         0.875rem;                     /* 14     */
  --fs-caption:       0.75rem;                      /* 12     */

  --lh-display:       0.95;
  --lh-heading:       1.05;
  --lh-body:          1.55;
  --lh-tight:         1.2;

  --tracking-display: -0.03em;
  --tracking-heading: -0.02em;
  --tracking-body:    0em;
  --tracking-caps:    0.08em;

  --weight-regular:   400;
  --weight-medium:    500;
  --weight-bold:      700;
  --weight-black:     900;

  /* ── Spacing scale (4 px base) ───────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;
  --space-11: 192px;

  /* Layout */
  --container:        1280px;
  --gutter:           clamp(20px, 4vw, 48px);

  /* ── Radii ───────────────────────────────────────────────── */
  /* Mostly small — the brand is mostly square. Pills used for
     tags / chips / round buttons. */
  --radius-0:         0px;
  --radius-1:         4px;
  --radius-2:         8px;
  --radius-3:         12px;
  --radius-pill:      999px;
  --radius-dot:       999px;

  /* ── Borders ─────────────────────────────────────────────── */
  --bw-hair:          1px;
  --bw-1:             1.5px;
  --bw-2:             2px;
  --bw-3:             3px;

  /* ── Shadow / elevation ──────────────────────────────────── */
  /* Used sparingly. The brand leans on flat fills and ink
     borders, not drop-shadow stacks. */
  --shadow-sm:        0 1px 2px rgba(29, 30, 24, 0.06);
  --shadow-md:        0 6px 18px rgba(29, 30, 24, 0.08);
  --shadow-lg:        0 22px 48px rgba(29, 30, 24, 0.12);
  --shadow-ink:       4px 4px 0 var(--color-ink);     /* hard offset */
  --shadow-red:       4px 4px 0 var(--color-red);

  /* ── Motion ──────────────────────────────────────────────── */
  --ease-out:         cubic-bezier(.2, .8, .2, 1);
  --ease-in-out:      cubic-bezier(.65, 0, .35, 1);
  --dur-fast:         140ms;
  --dur-base:         220ms;
  --dur-slow:         420ms;
}

/* ── Element defaults ─────────────────────────────────────── */

html {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tracking-body);
}

::selection { background: var(--selection-bg); color: var(--selection-fg); }

/* ── Type primitives ──────────────────────────────────────── */

.display, h1.display {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  color: var(--fg);
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--fs-h1);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--fs-h3);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-heading);
}

h4, .h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  font-size: var(--fs-h4);
  line-height: var(--lh-tight);
}

p, .body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg);
  max-width: 62ch;
  text-wrap: pretty;
}

.body-lg  { font-size: var(--fs-body-lg);  line-height: var(--lh-body); }
.body-sm  { font-size: var(--fs-small);    line-height: var(--lh-body); }
.caption  { font-size: var(--fs-caption);  line-height: var(--lh-tight); color: var(--fg-muted); }

.eyebrow {
  font-family: var(--font-accent);
  font-size: var(--fs-caption);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg-muted);
}

a {
  color: var(--fg-link);
  text-decoration: underline;
  text-decoration-thickness: var(--bw-1);
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--fg-link-hover); }

code, pre, kbd {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 0.9em;
}

/* ── The dot — brand glyph ────────────────────────────────── */
/* Inline brand mark: a perfect red circle, baseline-aligned.
   Use in headings, hero copy, anywhere you want to plant the
   brand. <span class="dot"></span> or .dot::before */
.dot {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-radius: var(--radius-dot);
  background: var(--color-red);
  vertical-align: baseline;
  margin: 0 0.04em 0 0.04em;
  transform: translateY(-0.05em);
}


/* ===== kit.css ===== */
/* Portfolio site — kit styles (sits on top of colors_and_type.css) */

* { box-sizing: border-box; }
body { margin: 0; }

/* ── Nav ─────────────────────────────────────────────────── */
.mk-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(20px, 3vw, 56px);
  padding: 18px clamp(20px, 4vw, 56px);
  background: transparent;
  transition: background var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.mk-nav.is-scrolled {
  background: transparent;
}
.mk-brand {
  font-family: var(--font-display); font-weight: 900;
  font-size: 19px; letter-spacing: -0.02em;
  color: var(--color-ink); text-decoration: none;
}
.mk-brand-dot { color: var(--color-red); }
.mk-brand--keramari { display: inline-flex; align-items: center; }
.mk-keramari-logo { height: 22px; width: auto; display: block; }

.mk-nav-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-link {
  font-family: var(--font-body); font-size: 14px;
  color: var(--color-ink); text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--color-red); }
.nav-link.is-active { font-weight: 500; }

.mk-lang {
  font-family: var(--font-accent); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em;
  background: transparent;
  border: 1px solid var(--color-ink);
  color: var(--color-ink);
  padding: 5px 9px; border-radius: 999px;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mk-lang:hover { background: var(--color-ink); color: var(--color-cream); }

.mk-cta {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 10px 16px; border-radius: 4px;
  background: var(--color-ink); color: var(--color-cream);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--dur-fast) var(--ease-out);
}
.mk-cta:hover { background: var(--color-red); }
.mk-arrow { transition: transform var(--dur-fast) var(--ease-out); display: inline-block; }
.mk-cta:hover .mk-arrow, .mk-footer-mail:hover .mk-arrow { transform: translateX(3px); }

/* ── Hero ────────────────────────────────────────────────── */
.mk-hero {
  padding: clamp(120px, 18vw, 200px) clamp(20px, 4vw, 56px) clamp(80px, 12vw, 140px);
  max-width: 1280px;
  margin: 0 auto;
}
.mk-eyebrow {
  font-family: var(--font-accent);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--neutral-600);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 32px;
}
.mk-availability-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--color-red);
  animation: mk-pulse 2.4s var(--ease-out) infinite;
}
@keyframes mk-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}
.mk-hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--color-ink);
  margin: 0;
  display: grid;
  gap: 0;
}
.mk-hero-headline > span { display: block; }
.mk-hero-dot { color: var(--color-red); }
.mk-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--color-ink);
  max-width: 54ch;
  margin-top: clamp(32px, 4vw, 48px);
}

/* ── Sections ────────────────────────────────────────────── */
.mk-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 56px);
  max-width: 1280px; margin: 0 auto;
}
.mk-section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.mk-section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1; letter-spacing: -0.025em;
  margin: 0;
  color: var(--color-ink);
}

/* ── Work grid ───────────────────────────────────────────── */
.mk-grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.mk-grid-row { display: grid; gap: clamp(20px, 3vw, 36px); }
.mk-grid-row--feature { grid-template-columns: 1.6fr 1fr; }
.mk-grid-row--pair    { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) {
  .mk-grid-row--feature, .mk-grid-row--pair { grid-template-columns: 1fr; }
}

.mk-card {
  display: grid; gap: 14px;
  text-decoration: none; color: inherit;
  cursor: pointer;
}
.mk-card-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-2);
  border: 1px solid transparent;
  padding: clamp(22px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
  transition: transform var(--dur-base) var(--ease-out);
}
.mk-card.is-large .mk-card-thumb { aspect-ratio: 16 / 11; }
.mk-card:hover .mk-card-thumb { transform: translateY(-3px); }

.mk-card-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.92; letter-spacing: -0.03em;
  white-space: pre-line;
  display: block;
}
.mk-card-featured {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-accent);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: inherit;
  display: flex; align-items: center; gap: 6px;
}
.mk-card-featured::before {
  content: ""; width: 7px; height: 7px;
  border-radius: 999px; background: currentColor;
}
.mk-card-meta {
  font-family: var(--font-accent);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--neutral-600);
  display: flex; gap: 6px;
}
.mk-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15; letter-spacing: -0.01em;
  color: var(--color-ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.mk-card:hover .mk-card-title { color: var(--color-red); }
.mk-card-sub {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.5;
  color: var(--neutral-600);
  max-width: 48ch;
}

/* ── About ───────────────────────────────────────────────── */
.mk-about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: 24px; }
@media (max-width: 720px) { .mk-about-grid { grid-template-columns: 1fr; } }
.mk-about-p { font-family: var(--font-body); font-size: 17px; line-height: 1.55; color: var(--color-ink); max-width: 56ch; margin: 16px 0 0; }
.mk-about-services-label { margin-bottom: 14px; }
.mk-services { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mk-services li {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em; color: var(--color-ink);
  display: flex; align-items: center; gap: 12px;
}
.mk-services-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--color-red); flex: 0 0 auto; }

/* ── Footer ──────────────────────────────────────────────── */
.mk-footer { margin-top: 0; }
.mk-footer-red {
  background: var(--color-red);
  color: var(--color-cream);
  padding: clamp(80px, 14vw, 180px) clamp(20px, 4vw, 56px);
  text-align: left;
}
.mk-eyebrow--on-red { color: rgba(245, 240, 234, 0.75); }
.mk-eyebrow--on-ink { color: rgba(245, 240, 234, 0.55); }
.mk-footer-headline {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(64px, 12vw, 180px);
  line-height: 0.95; letter-spacing: -0.035em;
  margin: 0;
  max-width: 1280px;
}
.mk-footer-sub { font-size: 18px; max-width: 40ch; margin-top: 24px; }
.mk-footer-mail {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 40px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--color-cream);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.mk-footer-ink {
  background: var(--color-ink); color: var(--color-cream);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 56px) clamp(28px, 3vw, 40px);
}
.mk-footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: 80px;
  max-width: 1280px;
}
@media (max-width: 600px) { .mk-footer-cols { grid-template-columns: 1fr; gap: 40px; } }
.mk-footer-cols ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-family: var(--font-body); font-size: 15px; }
.mk-footer-base {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; padding-top: 32px;
  border-top: 1px solid rgba(245, 240, 234, 0.18);
  flex-wrap: wrap;
}
.mk-footer-brand {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: -0.02em;
}
.mk-footer-legal { font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.04em; color: rgba(245, 240, 234, 0.55); }

/* ── Project detail ──────────────────────────────────────── */
.mk-project { padding-top: 96px; }
.mk-project-back {
  padding: 0 clamp(20px, 4vw, 56px) 24px;
  font-family: var(--font-accent); font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em;
}
.mk-project-back a { color: var(--color-ink); text-decoration: none; }
.mk-project-back a:hover { color: var(--color-red); }
.mk-project-header {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 4vw, 56px);
  display: grid; gap: 18px;
}
.mk-project-eyebrow {
  font-family: var(--font-accent); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.7;
}
.mk-project-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.95; letter-spacing: -0.035em;
  margin: 0;
}
.mk-project-mk {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1; opacity: 0.85;
  margin-top: 24px;
  white-space: pre-line;
}

.mk-project-meta-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 56px);
  max-width: 1280px; margin: 0 auto;
  font-family: var(--font-body); font-size: 16px;
  border-bottom: 1px solid var(--neutral-200);
}
.mk-project-body {
  padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 56px);
  max-width: 720px; margin: 0 auto;
}
.mk-project-body p {
  font-size: 19px; line-height: 1.6; color: var(--color-ink); margin: 0 0 18px;
}
.mk-project-figures {
  padding: clamp(24px, 4vw, 64px) clamp(20px, 4vw, 56px);
  max-width: 1280px; margin: 0 auto;
  display: grid; gap: 24px;
}
.mk-fig {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2);
  padding: 48px;
  display: flex; align-items: flex-end;
}
.mk-fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mk-fig-pair .mk-fig { aspect-ratio: 1; }
.mk-fig-mk {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 0.95; letter-spacing: -0.025em;
  white-space: pre-line;
}


/* ===== contact.css ===== */
/* Kontakt — editorial / "Maeve"-inspired styles
   (sits on top of colors_and_type.css + kit.css) */

:root {
  /* brand font — Satoshi (same as the home page) */
  --font-editorial: var(--font-display);
  /* soft tags, built only from the brand palette (red / blue / warm neutral) */
  --tag-lilac: #dee9fc;   /* blue-100  */
  --tag-blue:  #fbe1e0;   /* red-100   */
  --tag-peach: #ebe5dd;   /* neutral-200 */
  --tag-cream: #dee9fc;   /* blue-100  */
  --tag-pink:  #fbe1e0;   /* red-100   */
  --paper:     #f5f0ea;   /* brand cream */
}

body { margin: 0; }

.ct-page {
  position: relative;
  min-height: 100vh;
  background: var(--paper);
  overflow-x: clip;
}

/* ── Aurora glow bleeding from the top ────────────────────── */
.ct-aurora {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 62vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(48% 78% at 20% -16%, rgba(142, 156, 174, 0.55), transparent 66%),
    radial-gradient(46% 72% at 52% -22%, rgba(110, 91, 72, 0.42), transparent 68%),
    radial-gradient(42% 66% at 82% -14%, rgba(142, 156, 174, 0.42), transparent 66%),
    radial-gradient(40% 60% at 96% 4%, rgba(215, 211, 204, 0.60), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 88%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 88%);
  filter: saturate(108%);
}

/* keep all real content above the aurora */
.mk-nav, .ct-main, .ct-footer, .ct-badge { position: relative; z-index: 2; }
.mk-nav { z-index: 50; }

/* ── Nav tweaks (pill CTA, round lang) ────────────────────── */
.mk-nav.is-scrolled { background: transparent; border-bottom-color: transparent; }
.ct-lang {
  font-family: var(--font-accent);
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  background: transparent;
  border: 1px solid var(--color-ink);
  color: var(--color-ink);
  width: 38px; height: 38px; border-radius: 999px;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.ct-lang:hover { background: var(--color-ink); color: var(--color-cream); }
.ct-langs { position: relative; display: inline-flex; width: 56px; height: 44px; flex-shrink: 0; font-family: var(--font-accent); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; }
.ct-lang-box { position: absolute; top: 0; left: 0; z-index: 20; width: 56px; height: 44px; border: 1px solid var(--color-ink); border-radius: 22px; background: transparent; overflow: hidden; transition: height var(--dur-base) var(--ease-out); }
.ct-langs:hover .ct-lang-box, .ct-langs:focus-within .ct-lang-box { height: 132px; }
.ct-lang-cur { position: relative; z-index: 1; background: transparent; border: none; color: var(--color-ink); width: 100%; height: 44px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; font: inherit; font-weight: 700; flex-shrink: 0; }
.ct-lang-cur .ct-lang-chev { width: 11px; height: 11px; transition: transform var(--dur-base) var(--ease-out); }
.ct-langs:hover .ct-lang-cur .ct-lang-chev, .ct-langs:focus-within .ct-lang-cur .ct-lang-chev { transform: rotate(180deg); }
.ct-lang-menu { display: flex; flex-direction: column; }
.ct-lang-menu .ct-lang-opt { width: 100%; height: 44px; background: transparent; border: none; color: var(--color-ink); font: inherit; font-weight: 500; letter-spacing: 0.08em; cursor: pointer; transition: color var(--dur-fast) var(--ease-out); }
.ct-lang-menu .ct-lang-opt:hover { color: var(--color-red); }

/* ── Pill buttons (black, ↗) ──────────────────────────────── */
.ct-pill {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.ct-pill--ink { background: var(--color-ink); color: var(--color-cream); }
.ct-pill--ink:hover { background: var(--color-red); color: var(--color-cream); }
.ct-pill--lg { font-size: var(--fs-body); padding: 15px 26px; }
.ct-pill:active { transform: scale(0.97); }
.ct-ur { transition: transform var(--dur-fast) var(--ease-out); }
.ct-pill:hover .ct-ur,
.ct-email:hover .ct-ur,
.ct-tag--link:hover .ct-ur,
.ct-success-again:hover .ct-ur { transform: translate(2px, -2px); }

/* ── Main column ──────────────────────────────────────────── */
.ct-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(120px, 17vw, 188px) clamp(20px, 5vw, 40px) clamp(72px, 10vw, 120px);
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}

/* ── Eyebrow ──────────────────────────────────────────────── */
.ct-eyebrow {
  font-family: var(--font-accent);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--neutral-600);
}

/* ── Hero ─────────────────────────────────────────────────── */
.ct-hero { text-align: center; display: grid; gap: 26px; justify-items: center; }
.ct-hero .ct-eyebrow { margin-bottom: 2px; }
.ct-hero-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(46px, 9vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--color-ink);
  margin: 0;
  white-space: nowrap;
}
.ct-hero-headline > span { display: inline; }
.ct-hero-dot { color: var(--color-red); }
.ct-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--neutral-700);
  max-width: 50ch;
  margin: 4px auto 0;
}

/* ── Pastel tags ──────────────────────────────────────────── */
.ct-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-tags--center { justify-content: center; }
.ct-tag {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  color: var(--color-ink);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
  line-height: 1.1;
}
.ct-tag--lilac { background: var(--tag-lilac); --tag-c: var(--tag-lilac); }
.ct-tag--blue  { background: var(--tag-blue);  --tag-c: var(--tag-blue); }
.ct-tag--peach { background: var(--tag-peach); --tag-c: var(--tag-peach); }
.ct-tag--cream { background: var(--tag-cream); --tag-c: var(--tag-cream); }
.ct-tag--pink  { background: var(--tag-pink);  --tag-c: var(--tag-pink); }

.ct-tag--link { text-decoration: none; transition: transform var(--dur-fast) var(--ease-out); }
.ct-tag--link:hover { transform: translateY(-2px); }

.ct-tag--btn {
  cursor: pointer;
  background: var(--color-cream);
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.ct-tag--btn:hover { background: var(--tag-c); transform: translateY(-1px); }
.ct-tag--btn.is-on {
  background: var(--tag-c);
  border-color: var(--color-ink);
  box-shadow: 0 0 0 1px var(--color-ink);
}

/* ── Card (form) ──────────────────────────────────────────── */
.ct-card {
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 1px 0 rgba(29,30,24,0.04), 0 30px 60px -28px rgba(29,30,24,0.22);
  padding: clamp(26px, 4vw, 48px);
}
.ct-card-head {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin: 0 0 6px;
}
.ct-card-note {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--neutral-600);
  margin: 0 0 clamp(22px, 3vw, 30px);
}

.ct-form { display: grid; gap: clamp(18px, 2vw, 22px); }
.ct-field { display: grid; gap: 8px; }
.ct-field-label {
  font-family: var(--font-accent);
  font-size: var(--fs-caption);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--neutral-600);
}
.ct-field-label .req { color: var(--color-red); }

.ct-input, .ct-textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-ink);
  background: var(--neutral-50);
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.ct-input::placeholder, .ct-textarea::placeholder { color: var(--neutral-400); }
.ct-input:hover, .ct-textarea:hover { border-color: var(--neutral-400); }
.ct-input:focus, .ct-textarea:focus {
  outline: none;
  border-color: var(--color-ink);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(231,61,59,0.18);
}
.ct-textarea { resize: vertical; min-height: 130px; line-height: 1.55; }

.ct-field.has-error .ct-input,
.ct-field.has-error .ct-textarea { border-color: var(--color-red); background: var(--red-100); }
.ct-error { font-family: var(--font-body); font-size: var(--fs-small); color: var(--red-700); }

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 22px); }
@media (max-width: 520px) { .ct-row { grid-template-columns: 1fr; } }

.ct-submit { width: 100%; justify-content: center; margin-top: 4px; }

/* ── Success state ────────────────────────────────────────── */
.ct-success { display: grid; gap: 16px; justify-items: start; padding: clamp(10px, 2vw, 24px) 0;
  animation: ct-fade 0.42s var(--ease-out) both; }
.ct-success-dot {
  width: 60px; height: 60px; border-radius: 999px;
  background: var(--color-red); color: var(--color-cream);
  display: flex; align-items: center; justify-content: center;
}
.ct-success h3 {
  font-family: var(--font-display); font-weight: var(--weight-black);
  font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -0.03em;
  margin: 0; color: var(--color-ink);
}
.ct-success p { font-size: var(--fs-body-lg); color: var(--neutral-700); margin: 0; max-width: 42ch; }
.ct-success-again {
  font-family: var(--font-accent); font-size: var(--fs-small); font-weight: 500;
  color: var(--color-ink); background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: underline; text-underline-offset: 4px; padding: 0; margin-top: 4px;
}
.ct-success-again:hover { color: var(--color-red); }
@keyframes ct-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Direct contact block ─────────────────────────────────── */
.ct-direct { text-align: center; display: grid; gap: 22px; justify-items: center; }
.ct-email {
  font-family: var(--font-display); font-weight: var(--weight-bold);
  font-size: clamp(28px, 4.2vw, 50px); line-height: 1.02; letter-spacing: -0.03em;
  color: var(--color-ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  transition: color var(--dur-fast) var(--ease-out);
}
.ct-email:hover { color: var(--color-red); }
.ct-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-body); font-size: var(--fs-body); color: var(--neutral-700);
}
.ct-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.ct-meta-item svg { color: var(--neutral-500); }
.ct-meta-item a { color: var(--neutral-700); text-decoration: none; }
.ct-meta-item a:hover { color: var(--color-red); }
.ct-meta-dot { width: 4px; height: 4px; border-radius: 999px; background: var(--neutral-400); }

.ct-portrait {
  width: 100%; max-width: 460px; height: clamp(440px, 62vh, 600px); margin-top: 12px;
  box-shadow: 0 30px 60px -30px rgba(29,30,24,0.3);
}

/* ── Rotating badge ───────────────────────────────────────── */
.ct-badge {
  position: fixed; right: clamp(18px, 3vw, 36px); bottom: clamp(18px, 3vw, 36px);
  width: clamp(96px, 11vw, 128px); height: clamp(96px, 11vw, 128px);
  z-index: 40;
}
.ct-badge-spin { width: 100%; height: 100%; animation: ct-spin 18s linear infinite; }
@media (prefers-reduced-motion: reduce) { .ct-badge-spin { animation: none; } }
.ct-badge-spin::before { content: ""; }
.ct-badge .ct-badge-spin { filter: drop-shadow(0 10px 22px rgba(29,30,24,0.18)); }
.ct-badge-text {
  font-family: var(--font-accent); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; fill: var(--color-ink); text-transform: uppercase;
}
/* soft aurora-tint disc behind the text */
@keyframes mk-aurora-drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  25% { transform: translate3d(1.4%, -1%, 0) scale(1.025); }
  50% { transform: translate3d(-1%, 1.4%, 0) scale(1.015); }
  75% { transform: translate3d(1%, 1%, 0) scale(1.02); }
}
.ct-badge::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(135deg, #e4e1dc 0%, #b6c0cc 100%);
  box-shadow: 0 10px 24px rgba(29,30,24,0.18);
}
.ct-badge-core {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--color-ink); pointer-events: none;
}
@keyframes ct-spin { to { transform: rotate(360deg); } }

/* ── Footer ───────────────────────────────────────────────── */
.ct-footer {
  border-top: 1px solid rgba(29,30,24,0.1);
  max-width: 1080px; margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 40px) 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.ct-footer-brand {
  font-family: var(--font-display); font-weight: 900; font-size: 18px;
  letter-spacing: -0.02em; color: var(--color-ink); text-decoration: none;
}
.ct-footer-nav { display: flex; gap: 22px; }
.ct-footer-nav a {
  font-family: var(--font-body); font-size: var(--fs-small);
  color: var(--neutral-700); text-decoration: none;
}
.ct-footer-nav a:hover { color: var(--color-red); }
.ct-footer-legal { font-family: var(--font-accent); font-size: 12px; color: var(--neutral-500); }
@media (max-width: 600px) {
  .ct-footer {
    flex-direction: column; justify-content: center; align-items: center;
    text-align: center; gap: 22px; padding-bottom: 112px;
  }
  .ct-footer-nav {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 16px 26px; max-width: 340px;
  }
  .ct-footer-nav a { white-space: nowrap; }
  .ct-badge { bottom: clamp(108px, 26vw, 168px); }
}


/* ===== work.css ===== */
/* Práce / Úvod — page-specific styles
   (sits on top of colors_and_type.css + kit.css + contact.css) */

/* ── Hero (centered, like Kontakt) ────────────────────────── */
.wk-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(132px, 18vw, 210px) clamp(20px, 5vw, 40px) clamp(40px, 6vw, 70px);
}
.wk-hero-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.038em;
  color: var(--color-ink);
  margin: 0;
  text-wrap: balance;
}
.wk-hero-headline .ct-hero-dot { color: var(--color-red); }

/* ── Generic section frame ───────────────────────────────── */
.wk-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 104px) clamp(20px, 5vw, 40px);
}
.wk-section--tight { padding-top: clamp(24px, 4vw, 48px); }

.wk-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.wk-section-title {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--color-ink); margin: 0;
}
.wk-section-title .ct-hero-dot { color: var(--color-red); }

/* ── About ───────────────────────────────────────────────── */
.wk-about-grid {
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 76px); align-items: start;
}
@media (max-width: 760px) { .wk-about-grid { grid-template-columns: 1fr; gap: 36px; } }
.wk-about-photo image-slot {
  display: block; width: 100%;
  height: clamp(360px, 46vw, 560px);
  box-shadow: 0 30px 60px -34px rgba(29, 30, 24, 0.32);
}
@media (min-width: 761px) { .wk-about-photo { position: sticky; top: 104px; } }
.wk-about-lead {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.18; letter-spacing: -0.02em;
  color: var(--color-ink); margin: 0 0 22px;
  text-wrap: pretty;
}
.wk-about-p {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  line-height: 1.6; color: var(--neutral-700);
  max-width: 54ch; margin: 0 0 16px;
}
.wk-about-aside { display: grid; gap: 14px; }
.wk-about-aside .ct-eyebrow { margin-bottom: 4px; }
.wk-about-serv-label { margin: clamp(26px, 3vw, 34px) 0 16px; }
.wk-services { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.wk-services li {
  font-family: var(--font-display); font-weight: var(--weight-bold);
  font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -0.01em;
  color: var(--color-ink);
  display: flex; align-items: center; gap: 12px;
}
.wk-services-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--color-red); flex: 0 0 auto; }
.wk-about-btn { margin-top: clamp(28px, 3.4vw, 38px); }

/* ── Project grid ────────────────────────────────────────── */
.wk-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.4vw, 52px) clamp(20px, 3vw, 36px);
}
@media (max-width: 720px) { .wk-grid { grid-template-columns: 1fr; } }

.wk-card { display: grid; gap: 16px; text-decoration: none; color: inherit; }
.wk-card-thumb {
  aspect-ratio: 7 / 5;
  border-radius: 12px;
  border: 0;
  padding: clamp(26px, 3.2vw, 44px);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.wk-card:hover .wk-card-thumb {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px -30px rgba(29, 30, 24, 0.5);
}
.wk-card-wordmark {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 0.88; letter-spacing: -0.04em;
  white-space: pre-line;
}

/* Fillable photo per card — empty state keeps the colored block + wordmark,
   a dropped photo covers the whole thumb. Drag an image on, or (when editing)
   click to browse. */
.wk-card-slot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.wk-card-slot::part(frame) { background: transparent; border-radius: 12px; }
.wk-card-slot::part(ring) { display: none; }
.wk-card-slot::part(empty) {
  color: rgba(245, 240, 234, 0.92);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.wk-card-slot--ink::part(empty) { color: rgba(29, 30, 24, 0.7); }
.wk-card:hover .wk-card-slot:not([data-filled])::part(empty) { opacity: 1; }
/* once a photo is dropped, the wordmark gives way to the image */
.wk-card-slot[data-filled] ~ .wk-card-wordmark { display: none; }

.wk-card-info { display: grid; gap: 7px; }
.wk-card-cat {
  font-family: var(--font-accent);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--neutral-600);
}
.wk-card-title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.1; letter-spacing: -0.015em;
  color: var(--color-ink);
  display: inline-flex; align-items: center; gap: 9px;
  transition: color var(--dur-fast) var(--ease-out);
}
.wk-card:hover .wk-card-title { color: var(--color-red); }
.wk-card-title .ct-ur { color: var(--neutral-500); transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.wk-card:hover .wk-card-title .ct-ur { transform: translate(3px, -3px); color: var(--color-red); }

/* ── Reviews (Google) — auto-scrolling marquee ───────────── */
.wk-reviews {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 104px);
  overflow: hidden;
}
.wk-reviews-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px 40px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding: 0 clamp(20px, 5vw, 40px);
}
.wk-reviews-score {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: var(--fs-small);
  color: var(--neutral-600);
}
.wk-reviews-score strong {
  font-family: var(--font-display); font-weight: var(--weight-black);
  font-size: 22px; letter-spacing: -0.02em; color: var(--color-ink);
}
.wk-reviews-score > span { max-width: 28ch; line-height: 1.4; }
.wk-google { flex: 0 0 auto; }
.wk-stars { display: inline-flex; gap: 2px; color: var(--color-red); }

.wk-marquee {
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.wk-marquee-track {
  display: flex; gap: clamp(16px, 2vw, 24px);
  width: max-content;
  padding: 6px clamp(20px, 5vw, 40px);
  animation: wk-marquee 56s linear infinite;
}
.wk-marquee:hover .wk-marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .wk-marquee-track { animation: none; flex-wrap: nowrap; overflow-x: auto; }
}
@keyframes wk-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.wk-review {
  flex: 0 0 clamp(280px, 30vw, 360px);
  background: var(--color-white);
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  padding: clamp(22px, 2.4vw, 28px);
  margin: 0;
  display: grid; gap: 16px; align-content: start;
  box-shadow: 0 1px 0 rgba(29,30,24,0.03), 0 22px 40px -32px rgba(29,30,24,0.22);
}
.wk-review-top { display: flex; align-items: center; justify-content: space-between; }
.wk-review-text {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55; color: var(--neutral-800);
  margin: 0; text-wrap: pretty;
}
.wk-review-by { display: flex; align-items: center; gap: 12px; }
.wk-review-avatar {
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 999px;
  background: var(--color-cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: var(--weight-bold);
  font-size: 17px; color: var(--color-ink);
}
.wk-review-id { display: grid; gap: 2px; line-height: 1.2; }
.wk-review-id strong {
  font-family: var(--font-body); font-weight: var(--weight-bold);
  font-size: var(--fs-small); color: var(--color-ink);
}
.wk-review-id > span {
  font-family: var(--font-accent); font-size: 12px;
  color: var(--neutral-500); letter-spacing: 0.01em;
}

/* ── Bottom CTA (red block) ──────────────────────────────── */
.wk-cta {
  position: relative;
  text-align: center;
  padding: clamp(96px, 15vw, 200px) clamp(20px, 5vw, 40px) clamp(124px, 18vw, 236px);
  margin-top: clamp(40px, 6vw, 80px);
  overflow: visible;
  background: transparent;
}
.wk-cta-aurora {
  position: absolute; left: 0; right: 0; bottom: -132px; height: 62vh;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 78% at 20% 116%, rgba(231, 61, 59, 0.42), transparent 66%),
    radial-gradient(46% 72% at 52% 122%, rgba(54, 123, 237, 0.30), transparent 68%),
    radial-gradient(42% 66% at 82% 114%, rgba(231, 61, 59, 0.30), transparent 66%),
    radial-gradient(40% 60% at 96% 96%, rgba(54, 123, 237, 0.22), transparent 70%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 38%, transparent 88%);
          mask-image: linear-gradient(to top, #000 0%, #000 38%, transparent 88%);
  filter: saturate(108%);
}
.wk-cta-inner { position: relative; z-index: 1; }
.wk-cta .ct-eyebrow { color: var(--neutral-600); }
.wk-cta-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1; letter-spacing: -0.03em;
  margin: 14px auto 0; color: var(--color-ink);
  text-wrap: balance;
}
.wk-cta-headline .ct-hero-dot { color: var(--color-red); }
.wk-cta-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55; color: var(--neutral-700);
  max-width: 44ch; margin: 22px auto 0;
}
.wk-cta-btn {
  font-family: var(--font-body);
  font-size: var(--fs-body); font-weight: var(--weight-medium);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: 16px 28px; border-radius: 999px;
  background: var(--color-ink); color: var(--color-cream);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.wk-cta-btn:hover { background: var(--color-red); color: var(--color-cream); }
.wk-cta-btn:active { transform: scale(0.97); }
.wk-cta-btn .ct-ur { transition: transform var(--dur-fast) var(--ease-out); }
.wk-cta-btn:hover .ct-ur { transform: translate(2px, -2px); }

/* ── Motion: scroll reveals ──────────────────────────────── */
/* Base state is fully visible — hidden state only applies under .anim-on,
   so print / reduced-motion / no-JS always show content. */
.ct-page.anim-on .reveal {
  opacity: 0;
  transition: opacity var(--anim-dur, 560ms) var(--ease-out),
              transform var(--anim-dur, 560ms) var(--ease-out);
  transition-delay: calc(var(--rv-stagger, 90ms) * var(--rv-i, 0));
  will-change: opacity, transform;
}
.ct-page.anim-on.rv-slide .reveal { transform: translateY(20px); }
.ct-page.anim-on.rv-scale .reveal { transform: scale(0.965); }
.ct-page.anim-on.rv-fade  .reveal { transform: none; }
.ct-page.anim-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ct-page .reveal { opacity: 1 !important; transform: none !important; }
}
.ct-badge.no-spin .ct-badge-spin { animation: none; }

/* ── Tweaks panel ────────────────────────────────────────── */
.tw-panel {
  position: fixed; left: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  width: 270px; z-index: 60;
  background: var(--color-white);
  border: 1.5px solid var(--color-ink);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--color-ink);
  font-family: var(--font-body); color: var(--color-ink);
  overflow: hidden;
  animation: tw-in var(--dur-base) var(--ease-out);
}
.tw-panel[hidden] { display: none; }
@keyframes tw-in { from { transform: translateY(10px); } to { transform: none; } }
.tw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-bottom: 1.5px solid var(--color-ink);
  background: var(--color-cream);
}
.tw-title { font-family: var(--font-display); font-weight: var(--weight-black); font-size: 16px; letter-spacing: -0.01em; }
.tw-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0; border: 0; cursor: pointer;
  background: transparent; color: var(--color-ink); border-radius: 6px;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.tw-x:hover { color: var(--color-red); background: rgba(231, 61, 59, 0.08); }
.tw-body { padding: 15px 14px; display: grid; gap: 17px; }
.tw-row { display: grid; gap: 9px; }
.tw-label, .tw-switch > span:first-child {
  font-family: var(--font-accent); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--neutral-600);
}
.tw-label { display: flex; align-items: baseline; justify-content: space-between; }
.tw-label em { font-style: normal; font-weight: 600; color: var(--color-ink); letter-spacing: 0; }

/* switch */
.tw-switch { grid-template-columns: 1fr auto; align-items: center; cursor: pointer; }
.tw-switch input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.tw-track {
  width: 38px; height: 22px; border-radius: 999px; background: var(--neutral-300);
  position: relative; transition: background var(--dur-base) var(--ease-out); flex: 0 0 auto;
}
.tw-track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: transform var(--dur-base) var(--ease-out);
}
.tw-switch input:checked + .tw-track { background: var(--color-red); }
.tw-switch input:checked + .tw-track::after { transform: translateX(16px); }
.tw-switch input:focus-visible + .tw-track { outline: 2px solid var(--color-red); outline-offset: 3px; }

/* segmented */
.tw-seg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.tw-seg button {
  font-family: var(--font-body); font-size: 12px; padding: 8px 4px;
  border: 1px solid var(--neutral-300); background: var(--color-white);
  color: var(--neutral-700); border-radius: 6px; cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.tw-seg button:hover { border-color: var(--color-ink); color: var(--color-ink); }
.tw-seg button.is-on { background: var(--color-ink); color: var(--color-cream); border-color: var(--color-ink); }

/* range */
.tw-row input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  border-radius: 999px; background: var(--neutral-300); cursor: pointer;
}
.tw-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 999px;
  background: var(--color-red); border: 2px solid var(--color-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3); cursor: pointer;
}
.tw-row input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 999px; background: var(--color-red);
  border: 2px solid var(--color-white); box-shadow: 0 1px 3px rgba(0,0,0,0.3); cursor: pointer;
}
.tw-row input[type=range]:focus-visible { outline: 2px solid var(--color-red); outline-offset: 4px; }


/* ===== about.css ===== */
/* O mně — page-specific styles
   (sits on top of colors_and_type.css + kit.css + contact.css + work.css) */

/* ── Bio: signature under the paragraphs ─────────────────── */
.ab-signature {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin: clamp(22px, 3vw, 32px) 0 4px;
}
.ab-signature-role {
  font-family: var(--font-accent);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--neutral-600);
}

/* small "quick facts" under the signature */
.ab-facts {
  list-style: none; padding: 0; margin: clamp(26px, 3vw, 36px) 0 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--neutral-200);
}
.ab-facts li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; padding: 14px 2px;
  border-bottom: 1px solid var(--neutral-200);
}
.ab-facts dt, .ab-facts .ab-fact-k {
  font-family: var(--font-accent); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--neutral-600);
  flex: 0 0 auto;
}
.ab-facts .ab-fact-v {
  font-family: var(--font-display); font-weight: var(--weight-bold);
  font-size: clamp(16px, 1.5vw, 19px); letter-spacing: -0.01em;
  color: var(--color-ink); text-align: right; text-wrap: balance;
}

/* ── Pull quote (full-bleed editorial line) ──────────────── */
.ab-quote {
  max-width: 1160px; margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.ab-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.12; letter-spacing: -0.03em;
  color: var(--color-ink); text-wrap: balance;
}
.ab-quote blockquote em {
  font-style: normal; color: var(--color-red);
}
.ab-quote-mark {
  font-family: var(--font-display); font-weight: var(--weight-black);
  font-size: clamp(56px, 9vw, 120px); line-height: 0.6;
  color: var(--color-cream);
  display: block; margin-bottom: 10px;
  -webkit-text-stroke: 1.5px var(--neutral-300);
}

/* ── Two-photo band ──────────────────────────────────────── */
.ab-gallery {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 5vw, 40px) clamp(48px, 9vw, 160px);
}
.ab-gallery-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 36px);
}
.ab-gallery-grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(16px, 2.2vw, 28px);
}
@media (max-width: 760px) { .ab-gallery-grid { grid-template-columns: 1fr; } }
.ab-gallery-grid image-slot {
  display: block; width: 100%; border-radius: 16px;
  box-shadow: 0 30px 60px -38px rgba(29, 30, 24, 0.34);
}
.ab-photo-tall { height: clamp(340px, 42vw, 520px); }
.ab-photo-wide { height: clamp(340px, 42vw, 520px); }
@media (max-width: 760px) {
  .ab-photo-tall, .ab-photo-wide { height: clamp(280px, 64vw, 420px); }
}
/* ── Landscape slot: separate image for mobile ────────── */
.pr-slot-m { display: none !important; }
@media (max-width: 760px) {
  .pr-slot-d { display: none !important; }
  .pr-slot-m { display: block !important; }
  .ab-photo-wide.pr-slot-m { height: clamp(380px, 96vw, 520px); }
}
.ab-gallery-cap {
  font-family: var(--font-accent); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--neutral-500);
  margin-top: 12px;
}

/* lead intro variant: a touch larger first paragraph */
.ab-about-lead { margin-bottom: clamp(20px, 2.6vw, 28px); }

/* ── Keramika: hero links + workshop photo grid ──────────── */
.ks-herolinks { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 22px); margin-top: clamp(22px, 2.6vw, 32px); }
.ks-iglink { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body); font-size: var(--fs-small); color: var(--fg-muted); text-decoration: none; transition: color var(--dur-base) var(--ease-out); }
.ks-iglink:hover { color: var(--color-red); }
.ks-iglink svg { flex: none; }
.ks-photos-note { font-family: var(--font-body); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; color: var(--fg-muted); max-width: 54ch; margin: 14px 0 0; }
.ks-photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.ks-photos image-slot { display: block; width: 100%; border-radius: 16px; box-shadow: 0 30px 60px -38px rgba(29, 30, 24, 0.34); }
.ks-photos .ks-ph-main { grid-column: span 6; height: clamp(360px, 50vw, 600px); }
.ks-photos .ks-ph { grid-column: span 2; height: clamp(220px, 28vw, 300px); }
@media (max-width: 680px) { .ks-photos .ks-ph { grid-column: span 3; } }
@media (max-width: 460px) { .ks-photos .ks-ph-main, .ks-photos .ks-ph { grid-column: span 6; } }


/* ===== motion.css ===== */
/* Shared motion + Tweaks panel — used by Práce, Kontakt, O mně.
   Sits on top of colors_and_type.css + kit.css. */

/* ── Scroll reveals ──────────────────────────────────────── */
/* Base state is fully visible — the hidden state only applies under
   .anim-on, so print / reduced-motion / no-JS always show content. */
.ct-page.anim-on .reveal {
  opacity: 0;
  transition: opacity var(--anim-dur, 560ms) var(--ease-out),
              transform var(--anim-dur, 560ms) var(--ease-out);
  transition-delay: calc(var(--rv-stagger, 90ms) * var(--rv-i, 0));
  will-change: opacity, transform;
}
.ct-page.anim-on.rv-slide .reveal { transform: translateY(20px); }
.ct-page.anim-on.rv-scale .reveal { transform: scale(0.965); }
.ct-page.anim-on.rv-fade  .reveal { transform: none; }
.ct-page.anim-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ct-page .reveal { opacity: 1 !important; transform: none !important; }
}
.ct-badge.no-spin .ct-badge-spin { animation: none; }

/* ── Tweaks panel ────────────────────────────────────────── */
.tw-panel {
  position: fixed; left: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  width: 270px; z-index: 60;
  background: var(--color-white);
  border: 1.5px solid var(--color-ink);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--color-ink);
  font-family: var(--font-body); color: var(--color-ink);
  overflow: hidden;
  animation: tw-in var(--dur-base) var(--ease-out);
}
.tw-panel[hidden] { display: none; }
@keyframes tw-in { from { transform: translateY(10px); } to { transform: none; } }
.tw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-bottom: 1.5px solid var(--color-ink);
  background: var(--color-cream);
}
.tw-title { font-family: var(--font-display); font-weight: var(--weight-black); font-size: 16px; letter-spacing: -0.01em; }
.tw-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0; border: 0; cursor: pointer;
  background: transparent; color: var(--color-ink); border-radius: 6px;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.tw-x:hover { color: var(--color-red); background: rgba(231, 61, 59, 0.08); }
.tw-body { padding: 15px 14px; display: grid; gap: 17px; }
.tw-row { display: grid; gap: 9px; }
.tw-label, .tw-switch > span:first-child {
  font-family: var(--font-accent); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--neutral-600);
}
.tw-label { display: flex; align-items: baseline; justify-content: space-between; }
.tw-label em { font-style: normal; font-weight: 600; color: var(--color-ink); letter-spacing: 0; }

/* switch */
.tw-switch { grid-template-columns: 1fr auto; align-items: center; cursor: pointer; }
.tw-switch input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.tw-track {
  width: 38px; height: 22px; border-radius: 999px; background: var(--neutral-300);
  position: relative; transition: background var(--dur-base) var(--ease-out); flex: 0 0 auto;
}
.tw-track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: transform var(--dur-base) var(--ease-out);
}
.tw-switch input:checked + .tw-track { background: var(--color-red); }
.tw-switch input:checked + .tw-track::after { transform: translateX(16px); }
.tw-switch input:focus-visible + .tw-track { outline: 2px solid var(--color-red); outline-offset: 3px; }

/* segmented */
.tw-seg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.tw-seg button {
  font-family: var(--font-body); font-size: 12px; padding: 8px 4px;
  border: 1px solid var(--neutral-300); background: var(--color-white);
  color: var(--neutral-700); border-radius: 6px; cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.tw-seg button:hover { border-color: var(--color-ink); color: var(--color-ink); }
.tw-seg button.is-on { background: var(--color-ink); color: var(--color-cream); border-color: var(--color-ink); }

/* range */
.tw-row input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  border-radius: 999px; background: var(--neutral-300); cursor: pointer;
}
.tw-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 999px;
  background: var(--color-red); border: 2px solid var(--color-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3); cursor: pointer;
}
.tw-row input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 999px; background: var(--color-red);
  border: 2px solid var(--color-white); box-shadow: 0 1px 3px rgba(0,0,0,0.3); cursor: pointer;
}
.tw-row input[type=range]:focus-visible { outline: 2px solid var(--color-red); outline-offset: 4px; }

/* ── Wider page layout — content ~120 px from the edges ──── */
.mk-nav { padding-left: clamp(20px, 8vw, 120px); padding-right: clamp(20px, 8vw, 120px); }
.wk-hero { max-width: 1120px; }
.wk-section,
.ab-gallery,
.ab-quote,
.jk-intro,
.jk-terms {
  max-width: 2200px;
  padding-left: clamp(20px, 8vw, 120px);
  padding-right: clamp(20px, 8vw, 120px);
}
.wk-reviews { max-width: 2200px; }
.wk-reviews-head { padding-left: clamp(20px, 8vw, 120px); padding-right: clamp(20px, 8vw, 120px); }
.ct-footer { max-width: 2200px; padding-left: clamp(20px, 8vw, 120px); padding-right: clamp(20px, 8vw, 120px); }

  