/* =========================================================
   Second hand Ester Grebeňová — styles
   ========================================================= */

:root {
  --cream: #F7F1E6;
  --cream-2: #FBF6EC;
  --ivory: #FFFBF3;
  --sage: #6F8367;
  --sage-dark: #5A6C54;
  --terracotta: #C97B5A;
  --terracotta-dark: #B26543;
  --espresso: #2B241E;
  --espresso-soft: #4A4139;
  --mute: #8B8278;
  --line: #E3DBC9;
  --shadow-sm: 0 2px 6px rgba(43, 36, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(43, 36, 30, 0.08);
  --shadow-lg: 0 30px 60px rgba(43, 36, 30, 0.14);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 76px;
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .65, .3, 1);
}

/* -------- Reset-ish -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--espresso);
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--sage); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--terracotta); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { color: var(--espresso-soft); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--espresso); color: var(--ivory);
  padding: 10px 14px; border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { top: 12px; color: var(--ivory); }

/* -------- Header / Nav -------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: rgba(247, 241, 230, 0);
  backdrop-filter: blur(0);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 241, 230, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(43, 36, 30, 0.06);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--ivory);
  transition: color .3s var(--ease);
}
.site-header.is-scrolled .brand { color: var(--espresso); }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(43, 36, 30, 0.15));
  transition: transform .4s var(--ease);
}
.brand-mark img {
  width: 100%; height: 100%;
  display: block;
}
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name-main {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}
.brand-name-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.78;
  margin-top: 2px;
}

.primary-nav ul {
  display: flex; gap: 28px;
  list-style: none; padding: 0;
}
.primary-nav a {
  position: relative;
  color: var(--ivory);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  transition: color .2s var(--ease);
}
.site-header.is-scrolled .primary-nav a { color: var(--espresso); }
.primary-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.primary-nav a:hover { color: var(--terracotta); }
.site-header.is-scrolled .primary-nav a:hover { color: var(--terracotta); }
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions {
  display: flex; align-items: center; gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 251, 243, 0.35);
  background: rgba(255, 251, 243, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled .lang-switch {
  border-color: var(--line);
  background: var(--ivory);
}
.lang-btn {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 11px;
  border-radius: 999px;
  color: rgba(255, 251, 243, 0.78);
  transition: color .2s var(--ease), background .25s var(--ease);
  line-height: 1;
}
.site-header.is-scrolled .lang-btn { color: var(--espresso-soft); }
.lang-btn:hover { color: var(--ivory); }
.site-header.is-scrolled .lang-btn:hover { color: var(--espresso); }
.lang-btn.is-active {
  background: var(--ivory);
  color: var(--espresso);
  box-shadow: 0 2px 6px rgba(43, 36, 30, 0.12);
}
.site-header.is-scrolled .lang-btn.is-active {
  background: var(--sage);
  color: var(--ivory);
  box-shadow: 0 3px 10px rgba(111, 131, 103, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  color: var(--ivory);
}
.site-header.is-scrolled .nav-toggle { color: var(--espresso); }
.nav-toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(247, 241, 230, 0.98);
    backdrop-filter: saturate(180%) blur(14px);
    transform: translateY(calc(-100% - var(--nav-h) - env(safe-area-inset-top, 0px) - 20px));
    transition: transform .4s var(--ease), visibility 0s linear .4s;
    padding: 24px 0 32px;
    box-shadow: var(--shadow-md);
    visibility: hidden;
    pointer-events: none;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .4s var(--ease), visibility 0s linear 0s;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 0 24px;
  }
  .primary-nav a {
    display: block;
    color: var(--espresso) !important;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav a::after { display: none; }

  /* Mobile + tablet: .is-scrolled must NOT turn the header cream.
     Keep it transparent over the hero so there's no yellow bar, ever. */
  .site-header.is-scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .site-header.is-scrolled .brand,
  .site-header.is-scrolled .nav-toggle { color: var(--ivory); }
  .site-header.is-scrolled .lang-switch {
    background: rgba(255, 251, 243, 0.14);
    border-color: rgba(255, 251, 243, 0.22);
  }
  .site-header.is-scrolled .lang-btn { color: rgba(255, 251, 243, 0.78); }
  .site-header.is-scrolled .lang-btn:hover { color: var(--ivory); }
  .site-header.is-scrolled .lang-btn.is-active {
    background: var(--ivory);
    color: var(--espresso);
  }
}

@media (max-width: 420px) {
  .brand-name-sub { display: none; }
  .lang-btn { padding: 6px 9px; font-size: 0.72rem; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--sage);
  color: var(--ivory);
  box-shadow: 0 10px 24px rgba(111, 131, 103, 0.35);
}
.btn-primary:hover {
  background: var(--sage-dark);
  color: var(--ivory);
  box-shadow: 0 14px 30px rgba(111, 131, 103, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(255, 251, 243, 0.55);
}
.btn-ghost:hover {
  background: var(--ivory);
  color: var(--espresso);
  border-color: var(--ivory);
}

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--ivory);
  background: var(--espresso);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/images/hero.jpg") center 40% / cover no-repeat;
  transform: scale(1.05);
  filter: saturate(0.95) brightness(0.92);
  z-index: -2;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.03); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(43, 36, 30, 0.35), rgba(43, 36, 30, 0.75) 80%),
    linear-gradient(to bottom, rgba(43, 36, 30, 0.3), rgba(43, 36, 30, 0.65));
  z-index: -1;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.15  0 0 0 0 0.1  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.28'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 40px);
  padding-bottom: 80px;
  max-width: 820px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 251, 243, 0.85);
  margin-bottom: 20px;
  font-weight: 500;
  padding-left: 38px;
  position: relative;
}
.hero-eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 28px; height: 1px;
  background: rgba(255, 251, 243, 0.6);
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: #E8D8C2;
}
.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 251, 243, 0.92);
  max-width: 560px;
  margin-bottom: 38px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 251, 243, 0.75);
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 251, 243, 0.35);
  animation: bob 2.6s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--ivory); background: rgba(255, 251, 243, 0.08); }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* -------- Section shared -------- */
.section {
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.section-head { max-width: 720px; margin-bottom: 56px; }

/* -------- About -------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-copy h2 { margin-bottom: 24px; }
.about-copy p + p { margin-top: 16px; }
.about-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--terracotta);
  margin-top: 18px !important;
  letter-spacing: 0.01em;
}

.about-meta {
  list-style: none; padding: 28px 0 0; margin: 28px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 18px 28px;
}
.about-meta li {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--espresso-soft);
  font-size: 0.95rem;
}
.about-meta svg { color: var(--sage); flex-shrink: 0; }

.about-collage {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
}
.collage-a, .collage-b {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 0;
}
.collage-a { grid-column: 1 / 6; grid-row: 1 / 5; }
.collage-b { grid-column: 3 / 7; grid-row: 4 / 7; }
.collage-a img, .collage-b img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.about-collage:hover .collage-a img { transform: scale(1.04); }
.about-collage:hover .collage-b img { transform: scale(1.04); }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-collage { aspect-ratio: 5 / 4; max-width: 560px; margin: 0 auto; width: 100%; }
}

/* -------- Offering (Nabídka / Co děláme) -------- */
.offering { background: var(--cream-2); }
.offering .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.offering-intro {
  margin-top: 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
  color: var(--espresso-soft);
}
.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3.5vw, 32px);
  align-items: stretch;
}
.offering-extra-lede {
  font-style: italic;
  color: var(--espresso-soft);
  margin: 0 0 14px;
  font-size: 0.96rem;
  line-height: 1.5;
}
.offering-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.offering-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.offering-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(201, 123, 90, 0.08), transparent 70%);
  pointer-events: none;
}
.offering-card-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--sage);
}
.offering-card-head h3 {
  color: var(--espresso);
  font-size: 1.3rem;
}
.offering-card-head svg { flex-shrink: 0; }

.offering-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.offering-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--espresso);
  border-bottom: 1px dashed rgba(227, 219, 201, 0.7);
}
.offering-list li:last-child { border-bottom: 0; }
.offering-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}

@media (max-width: 1100px) {
  .offering-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .offering-grid { grid-template-columns: 1fr; }
}

/* -------- Hours -------- */
.hours { background: var(--cream); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.hours-head h2 { margin-bottom: 18px; }
.hours-note {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 14px; margin-bottom: 12px;
  color: var(--espresso-soft);
  font-size: 0.96rem;
}
.hours-caveat {
  font-size: 0.92rem;
  color: var(--mute);
  font-style: italic;
  padding-left: 16px;
  border-left: 2px solid var(--terracotta);
}

.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--line);
  color: var(--espresso-soft);
}
.status-chip::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
}
.status-chip[data-status="open"] {
  background: rgba(111, 131, 103, 0.14);
  color: var(--sage-dark);
}
.status-chip[data-status="closed"] {
  background: rgba(201, 123, 90, 0.14);
  color: var(--terracotta-dark);
}

.hours-table {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row [role="rowheader"] {
  font-weight: 500;
  color: var(--espresso);
}
.hours-row [role="cell"] {
  font-variant-numeric: tabular-nums;
  color: var(--espresso-soft);
}
.hours-row-muted { background: rgba(139, 130, 120, 0.06); }
.hours-row-muted [role="rowheader"],
.hours-row-muted [role="cell"] { color: var(--mute); }
.hours-row.is-today {
  background: rgba(111, 131, 103, 0.08);
  position: relative;
}
.hours-row.is-today::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--sage);
}

@media (max-width: 820px) {
  .hours-grid { grid-template-columns: 1fr; }
}

/* -------- Gallery -------- */
.gallery { background: var(--cream-2); }
.gallery-grid {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.gallery-item { border-radius: var(--radius); }
.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }
.gallery-trigger {
  display: block; width: 100%; height: 100%;
  padding: 0;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}
.gallery-trigger img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .4s var(--ease);
}
.gallery-trigger::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(43, 36, 30, 0);
  transition: background .3s var(--ease);
}
.gallery-trigger:hover img { transform: scale(1.06); }
.gallery-trigger:hover::after { background: rgba(43, 36, 30, 0.15); }
.gallery-trigger:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }

@media (max-width: 820px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-item-wide { grid-column: span 2; }
}
@media (max-width: 500px) {
  .gallery-grid { grid-auto-rows: 220px; }
}


/* -------- Suppliers (Hledáme dodavatele) -------- */
.suppliers {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding-top: clamp(56px, 8vw, 90px);
  padding-bottom: clamp(56px, 8vw, 90px);
}
.suppliers-card {
  position: relative;
  background: var(--espresso);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px) clamp(28px, 5vw, 64px);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.suppliers-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 123, 90, 0.22), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(111, 131, 103, 0.2), transparent 55%);
  z-index: -1;
  pointer-events: none;
}
.suppliers-card .eyebrow { color: #D9C6AF; }
.suppliers-card h2 {
  color: var(--ivory);
  margin-bottom: 16px;
}
.suppliers-card p {
  color: rgba(251, 246, 236, 0.82);
  font-size: 1.05rem;
  max-width: 48ch;
}
.suppliers-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-self: end;
}
.suppliers-cta .btn { min-width: 220px; }
.btn-on-light {
  color: var(--ivory);
  border-color: rgba(255, 251, 243, 0.45);
}
.btn-on-light:hover {
  background: var(--ivory);
  color: var(--espresso);
  border-color: var(--ivory);
}

@media (max-width: 820px) {
  .suppliers-card { grid-template-columns: 1fr; text-align: left; }
  .suppliers-cta { justify-self: stretch; }
  .suppliers-cta .btn { width: 100%; }
}

/* -------- Contact -------- */
.contact {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: stretch;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-lead { margin-bottom: 28px; max-width: 420px; }

.contact-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.contact-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(111, 131, 103, 0.12);
  color: var(--sage);
  flex-shrink: 0;
}
.contact-list strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 4px;
}
.contact-list a {
  font-size: 1.05rem;
  color: var(--espresso);
  font-weight: 500;
}
.contact-list a:hover { color: var(--terracotta); }

.contact-map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ivory);
}
.contact-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.map-fallback {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--ivory);
  color: var(--espresso);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.map-fallback:hover { color: var(--terracotta); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 340px; }
}

/* -------- Footer -------- */
.site-footer {
  background: var(--espresso);
  color: rgba(251, 246, 236, 0.75);
  padding: 48px 0 36px;
}
.site-footer p { color: inherit; }
.site-footer a { color: rgba(251, 246, 236, 0.9); }
.site-footer a:hover { color: var(--terracotta); }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 4px;
}
.footer-address { font-size: 0.9rem; }
.footer-links {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 0.9rem;
}
.footer-meta { font-size: 0.82rem; letter-spacing: 0.06em; }

/* -------- Lightbox -------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(43, 36, 30, 0.92);
  display: grid; place-items: center;
  z-index: 1000;
  padding: 40px;
  animation: fade .25s ease both;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: zoom .3s var(--ease) both;
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 251, 243, 0.08);
  color: var(--ivory);
  display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 251, 243, 0.18); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoom { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* -------- Reveal animation -------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* -------- Focus states -------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { border-radius: 999px; }

/* =========================================================
   DESIGN UPGRADE — decorative layers, polish, timeline
   ========================================================= */

/* -------- Global paper grain (overlay above content, below header) -------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.14  0 0 0 0 0.11  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
}

/* Keep main content above grain */
main { position: relative; z-index: 2; }
footer { position: relative; z-index: 2; }

/* -------- Floating ambient orbs (site-wide, subtle) -------- */
.orb-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  will-change: transform;
}
.orb-1 {
  width: 520px; height: 520px;
  top: -120px; left: -140px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  animation: orbFloat1 32s ease-in-out infinite alternate;
}
.orb-2 {
  width: 440px; height: 440px;
  top: 45%; right: -160px;
  background: radial-gradient(circle, var(--terracotta) 0%, transparent 70%);
  animation: orbFloat2 38s ease-in-out infinite alternate;
  opacity: 0.14;
}
.orb-3 {
  width: 380px; height: 380px;
  bottom: 5%; left: 20%;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  animation: orbFloat3 42s ease-in-out infinite alternate;
  opacity: 0.1;
}
@keyframes orbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.08); }
}
@keyframes orbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -60px) scale(1.1); }
}
@keyframes orbFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(0.95); }
}

/* -------- Botanical decorations (inline SVG wrappers) -------- */
.botanical {
  position: absolute;
  pointer-events: none;
  color: var(--sage);
  opacity: 0.18;
  z-index: 0;
}
.botanical svg { display: block; width: 100%; height: 100%; }
.botanical.top-left { top: 24px; left: -20px; transform: rotate(-8deg); }
.botanical.top-right { top: 40px; right: -30px; transform: rotate(18deg) scaleX(-1); }
.botanical.bottom-left { bottom: 20px; left: 8px; transform: rotate(12deg); }
.botanical.bottom-right { bottom: 30px; right: -10px; transform: rotate(-22deg) scaleX(-1); }
.botanical.sm { width: 110px; height: 110px; }
.botanical.md { width: 180px; height: 180px; }
.botanical.lg { width: 260px; height: 260px; opacity: 0.14; }

/* Shared positioning for .watermark + .confetti */
.watermark.top-left, .confetti.top-left { top: 8%; left: 4%; }
.watermark.top-right, .confetti.top-right { top: 10%; right: 4%; }
.watermark.top-center, .confetti.top-center { top: 8%; left: 50%; transform: translateX(-50%); }
.watermark.mid-left, .confetti.mid-left { top: 42%; left: -80px; }
.watermark.mid-right, .confetti.mid-right { top: 38%; right: -80px; }
.watermark.bottom-left, .confetti.bottom-left { bottom: 6%; left: 4%; }
.watermark.bottom-right, .confetti.bottom-right { bottom: 8%; right: 4%; }
.watermark.center-bg, .confetti.center-bg { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.watermark.tilt-left { transform: rotate(-12deg); }
.watermark.tilt-right { transform: rotate(14deg); }
.watermark.tilt-sm-left { transform: rotate(-6deg); }
.watermark.tilt-sm-right { transform: rotate(8deg); }
/* Combined tilts when also positioned */
.watermark.top-center.tilt-left { transform: translateX(-50%) rotate(-12deg); }
.watermark.top-center.tilt-right { transform: translateX(-50%) rotate(14deg); }
.watermark.center-bg.tilt-left { transform: translate(-50%, -50%) rotate(-12deg); }
.watermark.center-bg.tilt-right { transform: translate(-50%, -50%) rotate(14deg); }

@media (max-width: 820px) {
  .watermark.mid-left, .watermark.mid-right { opacity: 0; }
  .watermark { opacity: 0.06; }
  .watermark.terra { opacity: 0.07; }
}

/* Put section content above botanical */
.section > .container { position: relative; z-index: 2; }

@media (max-width: 820px) {
  .botanical.lg { width: 160px; height: 160px; }
  .botanical.md { width: 120px; height: 120px; }
  .botanical { opacity: 0.12; }
}

/* -------- Section watermark (big themed SVG behind content) -------- */
.watermark {
  position: absolute;
  pointer-events: none;
  color: var(--sage);
  opacity: 0.08;
  z-index: 0;
}
.watermark svg { display: block; width: 100%; height: 100%; }
.watermark.terra { color: var(--terracotta); opacity: 0.09; }
.watermark.sage { color: var(--sage); }
.watermark.espresso { color: var(--espresso); opacity: 0.06; }

.watermark-xxl { width: 520px; height: 520px; }
.watermark-xl { width: 380px; height: 380px; }
.watermark-lg { width: 280px; height: 280px; }
.watermark-md { width: 200px; height: 200px; }
.watermark-sm { width: 140px; height: 140px; }

@media (max-width: 820px) {
  .watermark-xxl { width: 300px; height: 300px; }
  .watermark-xl { width: 240px; height: 240px; }
  .watermark-lg { width: 180px; height: 180px; }
  .watermark-md { width: 140px; height: 140px; }
}

/* -------- Section patterns (dots, lines, herringbone-lite) -------- */
.section.has-dots::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(111, 131, 103, 0.18) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  background-position: 14px 14px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.section.has-dots-warm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201, 123, 90, 0.2) 1.3px, transparent 1.3px);
  background-size: 32px 32px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.section.has-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 18px,
    rgba(111, 131, 103, 0.1) 18px 19px
  );
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.section.has-weave::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'><g fill='none' stroke='%236F8367' stroke-width='1' stroke-linecap='round' opacity='0.25'><path d='M0 10l10 10 10-10M20 10l10 10 10-10'/><path d='M0 30l10 10 10-10M20 30l10 10 10-10'/><path d='M0 50l10 -10M20 50l10 -10M40 50l10 -10'/></g></svg>");
  background-size: 56px 56px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.section.has-postal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(201, 123, 90, 0.22) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(90deg, rgba(111, 131, 103, 0.22) 0 2px, transparent 2px 11px);
  background-size: 100% 2px, 100% 2px;
  background-repeat: no-repeat, no-repeat;
  background-position: 0 38%, 0 62%;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

/* Confetti — small scattered decorative dots/sparkles */
.confetti {
  position: absolute;
  pointer-events: none;
  color: var(--terracotta);
  opacity: 0.55;
  z-index: 0;
}
.confetti svg { display: block; width: 100%; height: 100%; }
.confetti.sage { color: var(--sage); }
.confetti.xs { width: 14px; height: 14px; }
.confetti.sm { width: 20px; height: 20px; }
.confetti.md { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .confetti { display: none; }
}

/* -------- Ornament divider (between sections) -------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  color: var(--terracotta);
  opacity: 0.5;
}
.ornament svg { display: block; }
.ornament::before,
.ornament::after {
  content: "";
  flex: 0 0 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0 14px;
}

/* -------- Scroll progress bar -------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--sage) 0%, var(--sage) 85%, var(--terracotta) 100%);
  z-index: 200;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(111, 131, 103, 0.4);
}

/* -------- Loading screen -------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--cream);
  display: grid;
  place-items: center;
  transition: opacity .5s ease, visibility .5s;
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-mark {
  width: 72px; height: 72px;
  color: var(--sage);
}
.loader-mark svg {
  width: 100%; height: 100%;
}
.loader-mark svg circle,
.loader-mark svg path {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: loaderDraw 0.9s ease-out forwards;
}
.loader-mark svg path { animation-delay: 0.25s; }
@keyframes loaderDraw {
  to { stroke-dashoffset: 0; }
}

/* -------- Hero: flourish, word-stagger, parallax hook -------- */
.hero-bg {
  will-change: transform;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px);
  animation: heroWordIn 0.75s var(--ease) forwards;
}
.hero-title .word:nth-child(1) { animation-delay: 0.25s; }
.hero-title .word:nth-child(2) { animation-delay: 0.45s; }
.hero-title em.word { animation-delay: 0.7s; }
@keyframes heroWordIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-flourish {
  display: block;
  width: 88px;
  height: 18px;
  margin: -10px 0 26px;
  color: var(--terracotta);
  opacity: 0;
  transform: translateY(10px);
  animation: heroFlourishIn 0.6s var(--ease) 0.9s forwards;
}
.hero-flourish svg { width: 100%; height: 100%; }
@keyframes heroFlourishIn {
  to { opacity: 0.85; transform: translateY(0); }
}

/* -------- Scrapbook polaroid — About collage -------- */
.about-collage {
  perspective: 900px;
}
.collage-a, .collage-b {
  background: #FDFAF2;
  padding: 10px 10px 38px;
  border-radius: 3px;
  box-shadow:
    0 1px 2px rgba(43, 36, 30, 0.08),
    0 24px 50px rgba(43, 36, 30, 0.18);
  overflow: visible;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  position: relative;
}
.collage-a { transform: rotate(-2.2deg); z-index: 1; }
.collage-b { transform: rotate(2.8deg); z-index: 2; }
.about-collage:hover .collage-a { transform: rotate(-1deg) translateY(-2px); }
.about-collage:hover .collage-b { transform: rotate(1deg) translateY(-2px); }
.collage-a img, .collage-b img {
  border-radius: 1px;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.collage-a::before, .collage-b::before {
  content: "";
  position: absolute;
  top: -10px; left: 30%;
  width: 70px; height: 18px;
  background: linear-gradient(135deg, rgba(201, 123, 90, 0.45), rgba(201, 123, 90, 0.25));
  transform: rotate(-6deg);
  border-radius: 1px;
  box-shadow: 0 2px 4px rgba(43, 36, 30, 0.12);
}
.collage-b::before {
  top: -8px; left: auto; right: 20%;
  background: linear-gradient(135deg, rgba(111, 131, 103, 0.45), rgba(111, 131, 103, 0.25));
  transform: rotate(8deg);
}

/* -------- Since 1994 stamp (replaces old sticker) -------- */
.collage-sticker {
  position: absolute;
  top: -12px; left: -22px;
  z-index: 3;
  width: 156px; height: 156px;
  background: rgba(247, 241, 230, 0.88);
  padding: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(178, 101, 67, 0.18), inset 0 0 0 3px rgba(201, 123, 90, 0.12);
  color: var(--terracotta);
  filter: drop-shadow(0 6px 16px rgba(178, 101, 67, 0.32));
}
.collage-sticker::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1.5px dashed currentColor;
  opacity: 0.5;
}
.collage-sticker svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.stamp-rotor {
  transform-origin: 64px 64px;
  transform-box: view-box;
  animation: stampSpin 40s linear infinite;
}
@keyframes stampSpin {
  to { transform: rotate(360deg); }
}
@media (max-width: 820px) {
  .collage-sticker {
    width: 132px; height: 132px;
    top: -8px; left: -12px;
  }
}

/* -------- Gallery: polaroid mini-frames + tilts -------- */
.gallery-item {
  background: #FDFAF2;
  padding: 8px 8px 26px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(43, 36, 30, 0.06), 0 12px 30px rgba(43, 36, 30, 0.1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  position: relative;
}
.gallery-item:nth-child(1) { transform: rotate(-1.5deg); }
.gallery-item:nth-child(2) { transform: rotate(1.8deg); }
.gallery-item:nth-child(3) { transform: rotate(-2.2deg); }
.gallery-item:nth-child(4) { transform: rotate(1deg); }
.gallery-item:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 4px 8px rgba(43, 36, 30, 0.08), 0 28px 50px rgba(43, 36, 30, 0.18);
  z-index: 3;
}
.gallery-item .gallery-trigger {
  border-radius: 1px;
}
.gallery-item .gallery-caption {
  position: absolute;
  left: 12px; right: 12px; bottom: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--espresso-soft);
  text-align: center;
  pointer-events: none;
}
.gallery-label {
  position: absolute;
  top: -8px; right: 10px;
  z-index: 4;
  background: var(--terracotta);
  color: var(--ivory);
  padding: 4px 10px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transform: rotate(3deg);
  box-shadow: 0 2px 5px rgba(43, 36, 30, 0.18);
}
.gallery-label.sage { background: var(--sage); }

@media (max-width: 500px) {
  .gallery-item:nth-child(n) { transform: rotate(-0.5deg); }
  .gallery-item:nth-child(2n) { transform: rotate(0.5deg); }
}

/* -------- Suppliers: herringbone weave pattern -------- */
.suppliers-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><g fill='none' stroke='%23FBF6EC' stroke-width='1' stroke-linecap='round' opacity='0.5'><path d='M0 8l8 8 8-8M16 8l8 8 8-8M32 8l8 8 8-8'/><path d='M0 24l8 8 8-8M16 24l8 8 8-8M32 24l8 8 8-8'/><path d='M0 40l8 8 8-8M16 40l8 8 8-8M32 40l8 8 8-8'/></g></svg>");
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

/* -------- Timeline "Naše cesta" -------- */
.journey {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.journey .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.journey-track {
  position: relative;
  margin-top: 56px;
  padding: 40px 0 20px;
}
.journey-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 68px;
  height: 1.5px;
  background: repeating-linear-gradient(
    to right,
    var(--line) 0 8px,
    transparent 8px 16px
  );
}
.journey-list {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.journey-item {
  position: relative;
  text-align: center;
  padding: 0 6px;
}
.journey-dot {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: var(--ivory);
  border: 2px solid var(--sage);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--sage);
  position: relative;
  z-index: 2;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease);
  box-shadow: 0 4px 14px rgba(111, 131, 103, 0.15);
}
.journey-item:hover .journey-dot {
  background: var(--sage);
  color: var(--ivory);
  transform: scale(1.08);
}
.journey-dot svg { width: 24px; height: 24px; }
.journey-year {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.journey-desc {
  font-size: 0.88rem;
  color: var(--espresso-soft);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .journey-track::before { display: none; }
  .journey-list {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 420px;
    margin: 0 auto;
  }
  .journey-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    text-align: left;
    align-items: center;
  }
  .journey-dot { margin: 0; }
  .journey-year { margin-bottom: 2px; }
}

/* -------- Back-to-top button -------- */
.back-to-top {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ivory);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(111, 131, 103, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
  z-index: 150;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: var(--sage-dark);
  color: var(--ivory);
}
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 500px) {
  .back-to-top { bottom: 16px; right: 16px; width: 42px; height: 42px; }
}

/* -------- Magnetic buttons — smooth transform -------- */
.btn.is-magnetic {
  transition: transform .2s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}

/* -------- Drop cap on About -------- */
.about-copy .drop-cap::first-letter {
  font-family: Georgia, var(--serif);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--terracotta);
  font-style: normal;
}

/* -------- Lightbox upgrades -------- */
.lightbox-counter {
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 251, 243, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px; height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  background: rgba(255, 251, 243, 0.08);
  color: var(--ivory);
  display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.lightbox-nav:hover { background: rgba(255, 251, 243, 0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-nav svg { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .lightbox-nav { width: 42px; height: 42px; margin-top: -21px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* -------- Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word, .hero-flourish { opacity: 1; transform: none; }
  .orb { animation: none; }
  .collage-sticker svg { animation: none; }
  .collage-a, .collage-b, .gallery-item { transform: none; }
  .hero-bg { transform: none !important; }
  .marquee-track { animation: none !important; }
  .impact-number { transition: none !important; }
}

/* ============================================
   NOVÉ KOMPONENTY — dědí existující tokeny
   ============================================ */

.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;
}

/* --- Marquee ticker --- */
.marquee {
  overflow: hidden;
  background: var(--espresso);
  color: var(--cream);
  border-top: 1px solid rgba(247, 241, 230, 0.08);
  border-bottom: 1px solid rgba(247, 241, 230, 0.08);
  padding: 14px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--espresso), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--espresso), transparent); }
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.marquee-dot {
  color: var(--terracotta);
  font-size: 0.7rem;
  opacity: 0.9;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Impact counters --- */
.impact {
  padding-top: clamp(56px, 8vw, 90px);
  padding-bottom: clamp(56px, 8vw, 90px);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 0;
  list-style: none;
}
.impact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(22px, 2.5vw, 32px);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.impact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.impact-number {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.impact-label {
  font-size: 0.9rem;
  color: var(--espresso-soft);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
@media (max-width: 820px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
  .impact-grid { grid-template-columns: 1fr; }
}

/* --- FAQ accordion --- */
.faq-list {
  list-style: none;
  padding: 0;
  margin: clamp(32px, 4vw, 48px) auto 0;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item details {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.faq-item details[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(111, 131, 103, 0.35);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--espresso);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-chevron {
  transition: transform .3s var(--ease);
  color: var(--sage);
  flex-shrink: 0;
}
.faq-item details[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p {
  padding: 0 26px 22px;
  color: var(--espresso-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 68ch;
}
@media (max-width: 500px) {
  .faq-item summary { padding: 18px 20px; font-size: 1.04rem; gap: 12px; }
  .faq-item p { padding: 0 20px 18px; }
}

/* --- Footer: multi-column --- */
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid rgba(247, 241, 230, 0.10);
}
.footer-contact .eyebrow,
.footer-nav-wrap .eyebrow {
  color: var(--terracotta);
  margin-bottom: 10px;
}

.footer-contact .footer-brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ivory);
  margin: 0 0 6px;
}
.footer-contact .footer-address {
  color: rgba(247, 241, 230, 0.70);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 14px;
}
.footer-contact .footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact .footer-links a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .25s var(--ease);
}
.footer-contact .footer-links a:hover { color: var(--terracotta); }

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: rgba(247, 241, 230, 0.75);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.footer-nav a:hover { color: var(--ivory); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
}
.footer-meta {
  font-size: 0.82rem;
  color: rgba(247, 241, 230, 0.55);
  margin: 0;
}
.footer-credit {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(247, 241, 230, 0.55);
  margin: 0;
}

@media (max-width: 900px) {
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MOBILE — targeted responsive improvements
   ============================================================ */

/* Eliminate 300ms tap delay on all interactive elements */
a, button, [role="button"], input, select, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(178, 101, 67, 0.15);
}

/* Prevent horizontal scroll from any rogue overflow */
html, body { overflow-x: hidden; }

/* Tighter container on very small screens */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
}

/* Slightly smaller base font on mobile for better density */
@media (max-width: 820px) {
  body { font-size: 16px; }
}

/* Hero — stack CTAs, tighter bottom padding */
@media (max-width: 600px) {
  .hero-inner { padding-bottom: 52px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* Section head — reduce bottom margin on mobile */
@media (max-width: 820px) {
  .section-head { margin-bottom: 36px; }
}

/* About — reset drop-cap float on mobile (looks odd at narrow widths) */
@media (max-width: 600px) {
  .about-copy .drop-cap::first-letter {
    float: none;
    font-size: 1em;
    padding: 0;
    color: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-family: inherit;
  }
}

/* Hours — tighter row padding on small screens */
@media (max-width: 600px) {
  .hours-row { padding: 13px 16px; font-size: 0.95rem; }
}

/* Gallery — consistent row height on mobile (overrides the 220px at ≤500px) */
@media (max-width: 500px) {
  .gallery-grid { grid-auto-rows: 160px; gap: 10px; }
}

/* Contact — shorter map on very small screens */
@media (max-width: 500px) {
  .contact-map { min-height: 260px; }
}

/* Lightbox — reduce padding on mobile so image has more space */
@media (max-width: 600px) {
  .lightbox { padding: 16px 12px 64px; }
  .lightbox img { border-radius: var(--radius-sm); }
}

/* Impact cards — compact padding on very small screens */
@media (max-width: 380px) {
  .impact-card { padding: 16px; }
}

/* Marquee — smaller text on mobile */
@media (max-width: 600px) {
  .marquee-item { font-size: 0.88rem; }
  .marquee-track { gap: 22px; }
}

/* Footer — single column on phone */
@media (max-width: 600px) {
  .site-footer .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

/* Lightbox nav buttons — keep ≥44px touch target on mobile */
@media (max-width: 600px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  .lightbox-close {
    width: 44px;
    height: 44px;
  }
}

/* Very small phones (iPhone SE, Galaxy S8) — extra-tight layout */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-lede { font-size: 1rem; }
  .hero-eyebrow { font-size: 0.7rem; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .impact-card { padding: 14px; }
  .impact-number { font-size: 2.4rem; }
  .marquee-item { font-size: 0.8rem; }
}

/* iOS safe area — respect notch on bottom CTAs */
@supports (padding: max(0px)) {
  .hero-inner { padding-bottom: max(72px, env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
}

/* Suppliers card — extra breathing room on mobile text */
@media (max-width: 500px) {
  .suppliers-card { padding: clamp(28px, 6vw, 40px) clamp(20px, 5vw, 32px); }
}
