/* =========================================================
   Cedronis — Coming Soon · styles
   Subset of colors_and_type.css trimmed for pripravujeme.html
   merged with the page's component styles. No Inter, no
   unused element/class rules.
   ========================================================= */

/* ---------- Webfonts ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("_www_assets/fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype-variations"),
       url("_www_assets/fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("_www_assets/fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf") format("truetype-variations"),
       url("_www_assets/fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand palette */
  --gold:            #B5862E;
  --gold-soft:       #C9A35A;
  --gold-deep:       #8E6920;
  --green:           #2A6A38;
  --green-deep:      #1F4F2A;
  --green-ink:       #163A1F;
  --cream:           #F8F4ED;
  --cream-warm:      #F1ECDF;
  --ink:             #1F1F1F;
  --ink-2:           #5F5E5A;
  --ink-3:           #8A8780;
  --border:          #D8D4C8;
  --border-strong:   #B8B3A4;
  --white:           #FFFFFF;
  --black:           #1F1F1F;

  --bg:              var(--cream);
  --bg-elevated:     var(--white);
  --bg-section:      var(--cream-warm);
  --bg-dark:         #1A2A1F;
  --fg-1:            var(--ink);
  --fg-2:            var(--ink-2);
  --fg-3:            var(--ink-3);
  --accent:          var(--gold);
  --accent-hover:    var(--gold-deep);
  --primary:         var(--green);
  --primary-hover:   var(--green-deep);

  /* Type stacks — Inter removed; Plus Jakarta is the only webfont */
  --font-display: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;

  /* Type scale */
  --fs-h1: 64px; --fs-h2: 40px; --fs-h3: 24px;
  --fs-body: 16px; --fs-small: 14px; --fs-caption: 12px; --fs-eyebrow: 12px;
  --lh-tight: 1.08; --lh-snug: 1.25; --lh-body: 1.55;
  --tracking-tight: -0.015em; --tracking-normal: 0em; --tracking-eyebrow: 0.14em;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radii */
  --r-0: 0px; --r-1: 2px; --r-2: 4px; --r-3: 8px; --r-pill: 999px;

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0.0, 0.0, 1);
  --ease-in:       cubic-bezier(0.4, 0.0, 1, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 400ms;
}

/* ---------- Element defaults ---------- */
html, body {
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  word-spacing: 0.08em;
  font-feature-settings: "tnum" 1, "cv11" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 600; line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--fs-h2); font-weight: 600; line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: var(--lh-snug); }
h4 { font-size: 18px;         font-weight: 600; line-height: var(--lh-snug); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-deep); }
::selection { background: var(--gold-soft); color: var(--ink); }
em, i, .latin { font-style: italic; }

/* =========================================================
   Coming-soon page · Cedronis
   Dark, gold accent, tab-side status badge, minimal layout.
   ========================================================= */
:root {
  --cs-bg: #1A2A1F;            /* deep forest */
  --cs-fg: #F1ECDF;            /* cream-warm */
  --cs-fg-2: color-mix(in oklab, #F1ECDF 65%, transparent);
  --cs-rule: color-mix(in oklab, #F1ECDF 18%, transparent);
  --cs-accent: #B5862E;        /* gold */
  --cs-logo-filter: brightness(0) invert(1);
}
html, body { min-height: 100%; }
html { background: var(--cs-bg); }
/* Defensive: badge má negativní margin-right, overflow-x: clip zařízne bez scrollbaru. */
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--cs-bg);
  color: var(--cs-fg);
  font-family: var(--font-display);
}
body, p, a, span, div, h1, h2, h3, h4, button, dd, dt {
  font-family: var(--font-display);
}

/* ---------- Stage ---------- */
.cs-stage {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "top"
    "text";
  gap: 0;
  padding: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) clamp(20px, 2.5vw, 32px);
  box-sizing: border-box;
}

/* Top bar */
.cs-top {
  grid-area: top;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(24px, 4vh, 56px);
}
.cs-logo { height: 84px; width: auto; filter: var(--cs-logo-filter); }

/* ---------- Status badge — tab-side ---------- */
.cs-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  font-weight: 500;
  margin-right: calc(-1 * clamp(24px, 3vw, 48px));
  padding: 12px 22px 12px 20px;
  background: var(--cs-fg);
  color: var(--cs-bg);
  border-radius: 14px 0 0 14px;
  font-size: 14px;
  letter-spacing: 0.16em;
  box-shadow: -8px 0 24px -10px color-mix(in oklab, #000 35%, transparent);
  animation: cs-tab-slide 700ms var(--ease-standard) 0.3s both;
}
.cs-status .dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--cs-accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--cs-accent) 60%, transparent);
  animation: cs-pulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes cs-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--cs-accent) 60%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in oklab, var(--cs-accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--cs-accent) 0%, transparent); }
}
@keyframes cs-tab-slide {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ---------- Text column ---------- */
.cs-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
  box-sizing: border-box;
}
.cs-text > * + * { margin-top: clamp(18px, 2.6vh, 32px); }
.cs-text > .cs-eyebrow + .cs-claim { margin-top: clamp(24px, 4vh, 44px); }
.cs-text > .cs-contacts { margin-top: clamp(32px, 4vh, 48px); }
.cs-text > .cs-locations { margin-top: 0; }
.cs-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cs-fg-2);
  font-weight: 500;
}
.cs-eyebrow .sep {
  color: var(--cs-accent);
  margin: 0 10px;
  font-size: 1.4em;
  line-height: 0;
  position: relative;
  top: 0.08em;
  font-weight: 700;
}
.cs-claim {
  font-size: 70px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  word-spacing: normal;
  color: var(--cs-fg);
  margin: 0;
  text-wrap: balance;
}
.cs-claim em {
  font-style: normal;
  color: var(--cs-accent);
  font-weight: 600;
}
.cs-claim .under {
  background-image: linear-gradient(var(--cs-accent), var(--cs-accent));
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 100%;
  padding-bottom: 4px;
}
.cs-lede {
  max-width: 52ch;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
  color: var(--cs-fg-2);
  text-wrap: pretty;
  text-align: center;
}
.cs-lede strong { color: var(--cs-fg); font-weight: 600; }

/* Contacts */
.cs-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: clamp(24px, 3vh, 32px);
  padding-bottom: clamp(24px, 3vh, 32px);
  border-top: 1px solid var(--cs-rule);
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.cs-contact-card {
  background: color-mix(in oklab, var(--cs-fg) 4%, transparent);
  border: 1px solid var(--cs-rule);
  border-radius: var(--r-2, 8px);
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  align-items: flex-start;
}
.cs-contact-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--cs-fg);
  letter-spacing: -0.01em;
}
.cs-contact-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cs-fg-2);
  margin-bottom: 10px;
}
.cs-contact-link {
  color: var(--cs-fg);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  width: max-content;
  transition: color var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.cs-contact-link:hover { color: var(--cs-accent); border-bottom-color: var(--cs-accent); }

/* Locations (Mapy.cz pills) */
.cs-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
  padding-top: clamp(24px, 3vh, 32px);
  padding-bottom: clamp(24px, 3vh, 32px);
  border-top: 1px solid var(--cs-rule);
  max-width: 720px;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}
.cs-locations-note {
  flex-basis: 100%;
  width: 100%;
  margin: clamp(24px, 3vh, 32px) 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cs-fg-2);
  letter-spacing: 0.005em;
}
.cs-location-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cs-location-address {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--cs-fg) 55%, transparent);
  text-align: center;
}
.cs-location {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 11px;
  text-decoration: none;
  color: var(--cs-fg);
  border: 1px solid var(--cs-rule);
  border-radius: 999px;
  background: color-mix(in oklab, var(--cs-fg) 3%, transparent);
  transition:
    border-color var(--dur-base) var(--ease-standard),
    background-color var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard);
}
.cs-location:hover {
  border-color: var(--cs-accent);
  background: color-mix(in oklab, var(--cs-accent) 10%, transparent);
  color: var(--cs-accent);
}
.cs-location:hover .cs-location-arrow svg { transform: translate(2px, -2px); }
.cs-location-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-accent);
  flex-shrink: 0;
}
.cs-location-pin svg { width: 16px; height: 16px; }
.cs-location-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.cs-location-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  color: inherit;
}
.cs-location-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--cs-fg) 55%, transparent);
}
.cs-location-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in oklab, var(--cs-fg) 45%, transparent);
  flex-shrink: 0;
}
.cs-location-arrow svg {
  width: 13px;
  height: 13px;
  transition: transform var(--dur-base) var(--ease-standard);
}
.cs-location:hover .cs-location-arrow { color: var(--cs-accent); }

/* ---------- Footer ---------- */
.cd-footer {
  background: var(--cs-bg);
  border-top: 1px solid var(--cs-rule);
  color: var(--cs-fg);
}
.cd-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px clamp(24px, 3vw, 48px) 40px;
  display: block;
}
.cd-footer-brand .legal {
  font-size: 12px;
  color: color-mix(in oklab, var(--cs-fg) 55%, transparent);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 460px;
  line-height: 1.55;
}

/* ---------- Responsive ---------- */
@media (max-height: 760px) {
  .cs-claim { font-size: 56px; }
  .cs-text > * + * { margin-top: 16px; }
  .cs-top { padding-bottom: 24px; }
}
@media (max-width: 900px) {
  .cs-claim { font-size: clamp(36px, 10vw, 56px); }
}
@media (max-width: 720px) {
  .cs-contacts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cs-top {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .cs-status {
    align-self: center;
    margin-right: 0;
    border-radius: 14px;
    box-shadow: 0 8px 24px -12px color-mix(in oklab, #000 40%, transparent);
  }
}
@media (max-width: 560px) {
  .cs-locations { flex-direction: column; align-items: stretch; }
  .cs-location-cell { align-items: stretch; width: 100%; }
  .cs-location { width: 100%; justify-content: flex-start; box-sizing: border-box; }
  .cs-location-address { text-align: left; padding-left: 14px; }
}

/* ---------- Photo gallery (under maps) ---------- */
.cs-gallery-wrap {
  width: 100%;
  max-width: 720px;
  justify-self: center;
  margin-top: 0;
  padding: clamp(24px, 3vh, 32px) 0 clamp(48px, 6vh, 72px);
  border-top: 1px solid var(--cs-rule);
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(8px);
  animation: cs-rise 800ms var(--ease-standard) 0.66s forwards;
}
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(18, clamp(56px, 5.6vw, 72px));
  grid-template-areas:
    "a a a a a a b b b c c c"
    "a a a a a a b b b c c c"
    "a a a a a a b b b c c c"
    "d d d e e e e e e f f f"
    "d d d e e e e e e f f f"
    "d d d e e e e e e f f f"
    "g g g h h h i i i i i i"
    "g g g h h h i i i i i i"
    "g g g h h h i i i i i i"
    "j j j k k k k k k l l l"
    "j j j k k k k k k l l l"
    "j j j k k k k k k l l l"
    "m m m m m m o o o o o o"
    "m m m m m m o o o o o o"
    "m m m m m m o o o o o o"
    "n n n p p p p p p q q q"
    "n n n p p p p p p q q q"
    "n n n p p p p p p q q q";
  gap: 14px;
}
.cs-gallery-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-width: 0;
  border: 1px solid var(--cs-rule);
  background: color-mix(in oklab, var(--cs-fg) 3%, transparent);
  cursor: zoom-in;
  transition: border-color var(--dur-base) var(--ease-standard);
}
.cs-gallery-tile:hover {
  border-color: color-mix(in oklab, var(--cs-accent) 70%, transparent);
}
/* Plain <img> in place of the image-slot custom element */
.cs-gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
/* Numbered hairline marker — typografické číslo v rohu */
.cs-gallery-tile::after {
  content: attr(data-num);
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: color-mix(in oklab, var(--cs-fg) 50%, transparent);
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 2;
}
.t-a { grid-area: a; }
.t-b { grid-area: b; }
.t-c { grid-area: c; }
.t-d { grid-area: d; }
.t-e { grid-area: e; }
.t-f { grid-area: f; }
.t-g { grid-area: g; }
.t-h { grid-area: h; }
.t-i { grid-area: i; }
.t-j { grid-area: j; }
.t-k { grid-area: k; }
.t-l { grid-area: l; }
.t-m { grid-area: m; }
.t-n { grid-area: n; }
.t-o { grid-area: o; }
.t-p { grid-area: p; }
.t-q { grid-area: q; }

@media (max-width: 560px) {
  .cs-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(11, 42vw);
    grid-template-areas:
      "a a"
      "a a"
      "b c"
      "d e"
      "f g"
      "h i"
      "j k"
      "l l"
      "m o"
      "n q"
      "p p";
    gap: 12px;
  }
}

/* ---------- Lightbox ---------- */
.cs-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: color-mix(in oklab, var(--cs-bg) 92%, #000);
  overscroll-behavior: contain;
}
.cs-lightbox::backdrop { background: rgba(0,0,0,0.6); }
.cs-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-lightbox-img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--cs-rule);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.55);
}
.cs-lightbox-close,
.cs-lightbox-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklab, var(--cs-bg) 60%, transparent);
  color: var(--cs-fg);
  border: 1px solid var(--cs-rule);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-display);
  transition:
    border-color var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    background-color var(--dur-base) var(--ease-standard),
    opacity var(--dur-base) var(--ease-standard);
}
.cs-lightbox-close:hover,
.cs-lightbox-nav:hover {
  border-color: var(--cs-accent);
  color: var(--cs-accent);
  background: color-mix(in oklab, var(--cs-bg) 75%, transparent);
}
.cs-lightbox-close { top: 18px; right: 18px; }
.cs-lightbox-close svg { width: 18px; height: 18px; }
.cs-lightbox-nav { top: 50%; transform: translateY(-50%); }
.cs-lightbox-nav.prev { left: clamp(12px, 2vw, 28px); }
.cs-lightbox-nav.next { right: clamp(12px, 2vw, 28px); }
.cs-lightbox-nav svg { width: 20px; height: 20px; }
.cs-lightbox-nav[hidden] { display: none; }
.cs-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: color-mix(in oklab, var(--cs-fg) 65%, transparent);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
@media (max-width: 560px) {
  .cs-lightbox-nav { width: 40px; height: 40px; }
  .cs-lightbox-nav.prev { left: 8px; }
  .cs-lightbox-nav.next { right: 8px; }
}

/* ---------- Entry animation ---------- */
.cs-text > * {
  opacity: 0;
  transform: translateY(8px);
  animation: cs-rise 700ms var(--ease-standard) forwards;
}
.cs-text > *:nth-child(1) { animation-delay: 0.05s; }
.cs-text > *:nth-child(2) { animation-delay: 0.18s; }
.cs-text > *:nth-child(3) { animation-delay: 0.30s; }
.cs-text > *:nth-child(4) { animation-delay: 0.42s; }
.cs-text > *:nth-child(5) { animation-delay: 0.54s; }
.cs-top { animation: cs-fade 800ms var(--ease-standard) 0.6s both; }
@keyframes cs-rise { to { opacity: 1; transform: none; } }
@keyframes cs-fade { from { opacity: 0; } to { opacity: 1; } }
