/* ============================================================
   Jan Kůs Photography — Production CSS v4
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: #16130f;
  color: #e8dcc4;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; background: transparent; border: 0; outline: none; }
button { cursor: pointer; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: #b8935a; color: #16130f; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #16130f; }
::-webkit-scrollbar-thumb { background: #211d18; }
::-webkit-scrollbar-thumb:hover { background: #b8935a; }

/* === FONTS === */
.font-display { font-family: 'Montserrat', 'Times New Roman', serif; }
.font-italic  { font-family: 'Montserrat', 'Times New Roman', serif; font-style: italic; }
.font-body    { font-family: 'Montserrat', -apple-system, sans-serif; }

/* === COLORS === */
.bg-anthracite { background-color: #16130f; }
.bg-charcoal   { background-color: #1c1814; }
.bg-deepcoal   { background-color: #211d18; }
.bg-biscuit    { background-color: #e8dcc4; }
.bg-gold       { background-color: #b8935a; }
.text-greyge   { color: #8a7f72; }
.text-sand     { color: #c9b896; }
.text-biscuit  { color: #e8dcc4; }
.text-gold     { color: #b8935a; }
.text-anthracite { color: #16130f; }
.border-gold   { border-color: #b8935a; }

.text-biscuit-70 { color: rgba(232, 220, 196, 0.7); }
.text-biscuit-80 { color: rgba(232, 220, 196, 0.8); }
.text-biscuit-85 { color: rgba(232, 220, 196, 0.85); }
.text-greyge-50  { color: rgba(138, 127, 114, 0.5); }
.text-greyge-60  { color: rgba(138, 127, 114, 0.6); }
.text-gold-70    { color: rgba(184, 147, 90, 0.7); }
.bg-anthracite-40 { background-color: rgba(22, 19, 15, 0.4); }
.bg-anthracite-80 { background-color: rgba(22, 19, 15, 0.8); }
.bg-charcoal-30 { background-color: rgba(28, 24, 20, 0.3); }
.bg-charcoal-40 { background-color: rgba(28, 24, 20, 0.4); }
.border-gold-15 { border-color: rgba(184, 147, 90, 0.15); }
.border-gold-20 { border-color: rgba(184, 147, 90, 0.2); }
.border-gold-30 { border-color: rgba(184, 147, 90, 0.3); }
.bg-gold-15 { background-color: rgba(184, 147, 90, 0.15); }
.bg-gold-20 { background-color: rgba(184, 147, 90, 0.2); }
.bg-gold-30 { background-color: rgba(184, 147, 90, 0.3); }
.bg-gold-40 { background-color: rgba(184, 147, 90, 0.4); }
.bg-greyge-40 { background-color: rgba(138, 127, 114, 0.4); }

/* === DISPLAY === */
.block { display: block; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-x-16 { column-gap: 4rem; }
.gap-y-8 { row-gap: 2rem; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-7 { grid-column: span 7; }
.row-span-2 { grid-row: span 2; }
.columns-1 { columns: 1; }

/* === POSITION === */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.bottom-12 { bottom: 3rem; }
.left-half { left: 50%; }
.top-half { top: 50%; }
.left-8 { left: 2rem; }
.right-8 { right: 2rem; }
.translate-x-neg-half { transform: translateX(-50%); }
.translate-y-neg-half { transform: translateY(-50%); }
.rotate-90 { transform: rotate(90deg); }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* === SIZING === */
.w-1 { width: 0.25rem; }
.w-15 { width: 0.375rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-px { width: 1px; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-1 { height: 0.25rem; }
.h-15 { height: 0.375rem; }
.h-5 { height: 1.25rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-px { height: 1px; }
.h-full { height: 100%; }
.h-70vh { height: 70vh; }
.min-h-screen { min-height: 100vh; }

.max-w-md { max-width: 28rem; }
.max-w-xs { max-width: 20rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-28ch { max-width: 28ch; }
.max-w-44ch { max-width: 44ch; }
.max-w-55ch { max-width: 55ch; }
.max-w-180 { max-width: 180px; }
.max-w-500 { max-width: 500px; }
.max-w-900 { max-width: 900px; }
.max-w-1100 { max-width: 1100px; }
.max-w-1200 { max-width: 1200px; }
.max-w-1400 { max-width: 1400px; }
.max-w-1600 { max-width: 1600px; }
.min-w-40 { min-width: 40px; }
.min-h-500 { min-height: 500px; }

.aspect-square { aspect-ratio: 1 / 1; }
.aspect-3-4 { aspect-ratio: 3 / 4; }
.aspect-4-5 { aspect-ratio: 4 / 5; }
.aspect-5-6 { aspect-ratio: 5 / 6; }

/* === SPACING === */
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pt-40 { padding-top: 10rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-32 { margin-top: 8rem; }
.mt-neg-2 { margin-top: -0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-32 { margin-bottom: 8rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* === TYPOGRAPHY === */
.text-055rem { font-size: 0.55rem; }
.text-06rem  { font-size: 0.6rem; }
.text-065rem { font-size: 0.65rem; }
.text-06875rem { font-size: 0.6875rem; }
.text-07rem  { font-size: 0.7rem; }
.text-08rem  { font-size: 0.8rem; }
.text-085rem { font-size: 0.85rem; }
.text-09rem  { font-size: 0.9rem; }
.text-095rem { font-size: 0.95rem; }
.text-1rem   { font-size: 1rem; }
.text-105rem { font-size: 1.05rem; }
.text-sm   { font-size: 0.875rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.text-6xl  { font-size: 3.75rem; }
.text-7xl  { font-size: 4.5rem; }

.text-clamp-2-5-4    { font-size: clamp(2rem, 5vw, 4rem); }
.text-clamp-2-6-5    { font-size: clamp(2rem, 6vw, 5rem); }
.text-clamp-25-6-5   { font-size: clamp(2.5rem, 6vw, 5rem); }
.text-clamp-25-8-7   { font-size: clamp(2.5rem, 8vw, 7rem); }
.text-clamp-3-9-8    { font-size: clamp(3rem, 9vw, 8rem); }
.text-clamp-3-10-9   { font-size: clamp(3rem, 10vw, 9rem); }
.text-clamp-3-11-11  { font-size: clamp(3rem, 11vw, 11rem); }
.text-clamp-35-13-13 { font-size: clamp(3.5rem, 13vw, 13rem); }
.text-clamp-8-20-18  { font-size: clamp(8rem, 20vw, 18rem); }

.font-light  { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.italic     { font-style: italic; }
.not-italic { font-style: normal; }
.uppercase  { text-transform: uppercase; }
.normal-case { text-transform: none; }

.tracking-015 { letter-spacing: 0.15em; }
.tracking-02  { letter-spacing: 0.2em; }
.tracking-025 { letter-spacing: 0.25em; }
.tracking-03  { letter-spacing: 0.3em; }
.tracking-04  { letter-spacing: 0.4em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-normal { letter-spacing: 0; }

.leading-085 { line-height: 0.85; }
.leading-09  { line-height: 0.9; }
.leading-095 { line-height: 0.95; }
.leading-11  { line-height: 1.1; }
.leading-115 { line-height: 1.15; }
.leading-185 { line-height: 1.85; }
.leading-19  { line-height: 1.9; }
.leading-195 { line-height: 1.95; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.leading-none { line-height: 1; }

.text-center { text-align: center; }
.list-none { list-style: none; }
.whitespace-nowrap { white-space: nowrap; }

/* === BORDERS === */
.border   { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.rounded-full { border-radius: 9999px; }

/* === GRADIENTS === */
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--g-from, transparent), var(--g-via, transparent), var(--g-to, transparent)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--g-from, transparent), var(--g-via, transparent), var(--g-to, transparent)); }
.from-anthracite { --g-from: #16130f; }
.from-anthracite-80 { --g-from: rgba(22, 19, 15, 0.8); }
.from-gold-40 { --g-from: rgba(184, 147, 90, 0.4); }
.via-anthracite-50 { --g-via: rgba(22, 19, 15, 0.5); }
.via-transparent { --g-via: transparent; }
.to-transparent { --g-to: transparent; }

.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* === TRANSITIONS === */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.duration-500 { transition-duration: 0.5s; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* === MISC === */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.object-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }
.appearance-none { appearance: none; -webkit-appearance: none; }
.resize-none { resize: none; }

/* === HOVER & GROUP states === */
.group:hover .gh-text-gold { color: #b8935a; }
.group:hover .gh-translate-1 { transform: translateX(0.25rem); }
.group:hover .gh-translate-2 { transform: translateX(0.5rem); }
.group:hover .gh-gap-5 { gap: 1.25rem; }
.group:hover .gh-gap-6 { gap: 1.5rem; }
details[open] .go-rotate-45 { transform: rotate(45deg); }
details[open] .go-white { color: #b8935a; }
.h-bg-gold:hover     { background-color: #b8935a; }
.h-text-gold:hover   { color: #b8935a; }
.h-text-anth:hover   { color: #16130f; }
.h-text-biscuit:hover { color: #e8dcc4; }
.h-gap-3:hover { gap: 0.75rem; }
.h-gap-5:hover { gap: 1.25rem; }
.h-gap-6:hover { gap: 1.5rem; }

/* === RESPONSIVE === */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:columns-2 { columns: 2; }
}

@media (min-width: 1024px) {
  .lg\:col-span-3 { grid-column: span 3; }
  .lg\:col-span-4 { grid-column: span 4; }
  .lg\:col-span-5 { grid-column: span 5; }
  .lg\:col-span-7 { grid-column: span 7; }
  .lg\:col-start-1 { grid-column-start: 1; }
  .lg\:col-start-9 { grid-column-start: 9; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
  .lg\:row-span-2 { grid-row: span 2; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:items-center { align-items: center; }
  .lg\:items-start { align-items: flex-start; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:gap-20 { gap: 5rem; }
  .lg\:h-12 { height: 3rem; }
  .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:py-48 { padding-top: 12rem; padding-bottom: 12rem; }
  .lg\:pt-16 { padding-top: 4rem; }
  .lg\:pt-48 { padding-top: 12rem; }
  .lg\:pb-20 { padding-bottom: 5rem; }
  .lg\:pb-24 { padding-bottom: 6rem; }
  .lg\:pb-32 { padding-bottom: 8rem; }
  .lg\:mt-12 { margin-top: 3rem; }
  .lg\:mt-neg-2 { margin-top: -0.5rem; }
  .lg\:mt-neg-4 { margin-top: -1rem; }
  .lg\:mt-neg-6 { margin-top: -1.5rem; }
  .lg\:mt-neg-8 { margin-top: -2rem; }
  .lg\:text-2xl { font-size: 1.5rem; }
  .lg\:text-3xl { font-size: 1.875rem; }
  .lg\:text-4xl { font-size: 2.25rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:text-7xl { font-size: 4.5rem; }
  .lg\:grid-1fr-auto { grid-template-columns: 1fr auto; }
}

/* ============================================================
   COMPONENTS
   ============================================================ */

.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.vertical-rl {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

.hero-title { line-height: 0.88; letter-spacing: -0.02em; }

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8935a 30%, #b8935a 70%, transparent);
}

.section-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #b8935a;
}

.page-eyebrow {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #b8935a;
  display: inline-block;
  margin-bottom: 1rem;
}

.frame { position: relative; isolation: isolate; }
.frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #b8935a;
  z-index: 3;
  pointer-events: none;
  transition: inset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.frame::after {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: #211d18;
  z-index: -1;
  transition: inset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.frame:hover::before { inset: -8px; }
.frame:hover::after  { inset: 20px -20px -20px 20px; }
.frame img {
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  will-change: transform;
  width: 100%;
  display: block;
}
.frame:hover img { transform: scale(1.04); filter: brightness(1.08) contrast(1.02); }

#cursor {
  position: fixed; top: 0; left: 0;
  width: 72px; height: 72px;
  border: 1px solid #b8935a; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; letter-spacing: 0.3em;
  color: #b8935a;
  pointer-events: none; z-index: 200;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: difference;
  backdrop-filter: blur(2px);
}
#cursor.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.nav-link { position: relative; padding-block: 0.25rem; }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: #b8935a;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { width: 100%; }
.nav-link[aria-current="page"] { color: #b8935a; }

#header { transition: background 0.4s ease, border-color 0.4s ease; }
#header.scrolled {
  background: rgba(22, 19, 15, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(184, 147, 90, 0.15);
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-line { width: 1px; height: 60px; background: #b8935a; animation: scroll-line 2.5s ease-in-out infinite; }

.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(184, 147, 90, 0.08), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

/* Hero background image - fotograf jako pozadí hero sekce */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* vertikální: tmavé dole pro footer text */
    linear-gradient(180deg, rgba(22, 19, 15, 0.45) 0%, rgba(22, 19, 15, 0.7) 50%, rgba(22, 19, 15, 0.97) 100%),
    /* horizontální: tmavší vlevo (kde sedí text) */
    linear-gradient(90deg, rgba(22, 19, 15, 0.9) 0%, rgba(22, 19, 15, 0.55) 45%, rgba(22, 19, 15, 0.65) 100%),
    /* radial mírně do středu, aby se utlumil watermark */
    radial-gradient(ellipse 60% 50% at 75% 70%, rgba(22, 19, 15, 0.4), transparent 70%);
  pointer-events: none;
}
@media (max-width: 1023px) {
  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(22, 19, 15, 0.7) 0%, rgba(22, 19, 15, 0.8) 50%, rgba(22, 19, 15, 0.95) 100%);
  }
}

.field-input {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid rgba(184, 147, 90, 0.25);
  color: #e8dcc4; padding: 0.875rem 0;
  font-family: 'Montserrat', sans-serif; font-weight: 300; font-size: 0.95rem;
  transition: border-color 0.3s ease; outline: none;
}
.field-input:focus { border-color: #b8935a; }
.field-input::placeholder {
  color: rgba(232, 220, 196, 0.3); font-style: italic;
  font-family: 'Montserrat', serif;
}
.field-label {
  font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: #8a7f72; margin-bottom: 0.5rem; display: block;
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track {
  display: flex; gap: 4rem;
  animation: marquee 80s linear infinite;
  width: max-content;
}

.process-num {
  width: 56px; height: 56px;
  border: 1px solid #b8935a; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', serif; font-size: 1.5rem; color: #b8935a;
  flex-shrink: 0;
}

#mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 40;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#mobile-nav.open { transform: translateX(0); }
.menu-toggle span {
  display: block; position: absolute; left: 0;
  width: 100%; height: 1px; background: #e8dcc4;
  transition: all 0.4s ease;
}
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 4px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); background: #b8935a; }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); background: #b8935a; }

#loader {
  position: fixed; inset: 0; background: #16130f; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-text {
  font-family: 'Montserrat', serif; font-size: 2rem; color: #b8935a;
  overflow: hidden; display: flex; gap: 0.05em;
}
.loader-text span {
  display: inline-block;
  animation: rise-letter 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(100%);
}
@keyframes rise-letter { to { opacity: 1; transform: translateY(0); } }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .gallery-grid { grid-template-columns: 1fr; gap: 0.25rem; } }
.gallery-grid > a {
  display: block; overflow: hidden; background: #211d18;
  aspect-ratio: 4/5; position: relative;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.gallery-grid a:hover img { transform: scale(1.05); filter: brightness(1.08); }

/* "Načíst další" button */
.gallery-more-wrap { margin-top: 3rem; text-align: center; }
.gallery-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: transparent; border: 1px solid rgba(184, 147, 90, 0.6);
  color: #b8935a;
  font-family: inherit;
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  cursor: pointer; transition: all 0.4s ease;
}
.gallery-more:hover { background: #b8935a; color: #16130f; border-color: #b8935a; }
.gallery-more .gm-count { opacity: 0.65; font-size: 0.7rem; letter-spacing: 0.15em; }

#lightbox {
  position: fixed; inset: 0; background: rgba(22, 19, 15, 0.98);
  z-index: 999; display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 90vh; object-fit: contain;
  border: 1px solid rgba(184, 147, 90, 0.3);
}
#lightbox .lb-close, #lightbox .lb-prev, #lightbox .lb-next {
  position: absolute; width: 48px; height: 48px;
  border: 1px solid rgba(184, 147, 90, 0.5);
  background: rgba(22, 19, 15, 0.5); color: #b8935a;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; cursor: pointer;
}
#lightbox .lb-close { top: 1.5rem; right: 1.5rem; }
#lightbox .lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
#lightbox .lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
#lightbox button:hover { background: #b8935a; color: #16130f; }

.gallery-empty {
  text-align: center; padding: 6rem 2rem;
  color: #8a7f72; font-family: 'Montserrat', serif;
  font-style: italic; font-size: 1.25rem;
}

.prose-content h2 {
  font-family: 'Montserrat', serif;
  font-size: 1.875rem;
  color: #e8dcc4;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.25;
  font-weight: 400;
}
@media (min-width: 1024px) { .prose-content h2 { font-size: 2.25rem; } }
.prose-content h2:first-child { margin-top: 0; }
.prose-content h3 {
  font-family: 'Montserrat', serif;
  font-size: 1.5rem;
  color: #e8dcc4;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.prose-content p {
  font-size: 1rem;
  line-height: 1.95;
  margin-bottom: 1.5rem;
  color: rgba(232, 220, 196, 0.8);
}
.prose-content ul { margin: 1.5rem 0; }
.prose-content ul li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0.75rem;
  color: rgba(232, 220, 196, 0.8);
}
.prose-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #b8935a;
}
.prose-content a {
  color: #b8935a;
  text-decoration: underline;
  text-decoration-color: rgba(184, 147, 90, 0.3);
}
.prose-content a:hover { color: #e8dcc4; }
.prose-content strong { color: #e8dcc4; font-weight: 500; }
.prose-content hr {
  border: 0;
  border-top: 1px solid rgba(184, 147, 90, 0.2);
  margin: 3rem 0;
}
.service-table {
  margin: 2rem 0 3rem;
  overflow-x: auto;
  border: 1px solid rgba(184, 147, 90, 0.2);
}
.service-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.service-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  background: rgba(184, 147, 90, 0.08);
  color: #b8935a;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(184, 147, 90, 0.3);
}
.service-table td {
  padding: 1rem 1.25rem;
  color: rgba(232, 220, 196, 0.85);
  line-height: 1.6;
  border-bottom: 1px solid rgba(184, 147, 90, 0.12);
  vertical-align: top;
}
.service-table td:first-child {
  width: 30%;
  white-space: nowrap;
}
.service-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .service-table td:first-child { white-space: normal; width: 40%; }
  .service-table th, .service-table td { padding: 0.75rem 0.9rem; font-size: 0.85rem; }
}

.columns-1.md\:columns-2 > p:first-child::first-letter {
  float: left;
  font-family: 'Montserrat', serif;
  font-size: 4.5rem;
  line-height: 0.85;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  color: #b8935a;
}

details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }

/* === Chybějící lg- aliasy === */
@media (min-width: 1024px) {
  .lg-grid-1fr-auto { grid-template-columns: 1fr auto; }
  .lg-mt-neg-4 { margin-top: -1rem; }
  .lg-mt-neg-6 { margin-top: -1.5rem; }
  .lg-mt-neg-8 { margin-top: -2rem; }
}

/* === Mobile menu opraveno === */
@media (max-width: 1023px) {
  /* Desktop nav schované na mobile */
  #header nav.lg\:flex { display: none !important; }
  /* Burger viditelný */
  .menu-toggle { display: block !important; }
  
  /* Hero - kratší a obsah nahoře */
  #hero {
    min-height: auto !important;
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
  .min-h-screen { min-height: auto !important; }
  
  /* Vertical labels schované na mobilu */
  .vertical-rl { display: none; }
  
  /* Hero glow disabled - perf */
  .hero-glow { display: none !important; }
  
  /* Méně paddingu */
  .pt-40 { padding-top: 5rem; }
  .py-32 { padding-top: 3rem; padding-bottom: 3rem; }
  .py-20 { padding-top: 2rem; padding-bottom: 2rem; }
  .mb-32 { margin-bottom: 3rem; }
  .mb-20 { margin-bottom: 2rem; }
}
@media (min-width: 1024px) {
  .menu-toggle { display: none !important; }
}
