:root {
  --bg: #f8f5f0;
  --bg-alt: #f0ebe2;
  --ink: #2a241e;
  --muted: #8a8077;
  --line: #e4dbcd;
  --walnut: #7a5230;
  --walnut-dark: #5c3d22;
  --cream: #fefdfb;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; line-height: 1.1; }

a { color: inherit; text-decoration: none; }

/* ---------- Brand / logo ---------- */
.brand {
  display: inline-flex; flex-direction: column; align-items: center;
  font-family: "Cormorant Garamond", Georgia, serif; line-height: 1; color: inherit;
}
.brand-mark { font-size: 2.1rem; font-weight: 500; letter-spacing: .02em; }
.brand-slash { font-weight: 300; margin: 0 .02em; }
.brand-line { font-size: .72rem; letter-spacing: .55em; text-indent: .55em; font-family: "Inter", sans-serif; font-weight: 400; margin-top: .25rem; }
.brand-sub { font-size: .5rem; letter-spacing: .4em; text-indent: .4em; font-family: "Inter", sans-serif; font-weight: 400; margin-top: .25rem; opacity: .7; }

.brand--row { flex-direction: row; align-items: center; gap: .6rem; }
.brand--row .brand-mark { font-size: 1.8rem; }
.brand--row .brand-words { display: flex; flex-direction: column; align-items: flex-start; border-left: 1px solid currentColor; padding-left: .6rem; opacity: .85; }
.brand--row .brand-line { margin-top: 0; font-size: .6rem; }
.brand--row .brand-sub { margin-top: .15rem; font-size: .44rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 240, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .9rem; letter-spacing: .02em; color: var(--ink); opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: .5rem 1.2rem; opacity: 1 !important; }
.nav-cta:hover { background: var(--ink); color: var(--cream); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  background: url("images/hero-wood.jpg") center 30% / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,14,9,.82) 0%, rgba(20,14,9,.55) 45%, rgba(20,14,9,.25) 100%);
}
.hero-content { position: relative; color: var(--cream); max-width: 720px; padding-top: 6vh; padding-bottom: 6vh; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .35em; font-size: .72rem; opacity: .8; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 1.5rem; }
.hero-lead { font-size: 1.15rem; max-width: 540px; opacity: .92; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .85rem 1.8rem; border-radius: 999px; font-size: .92rem; font-weight: 500; transition: all .2s; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--walnut); color: var(--cream); }
.btn-primary:hover { background: var(--walnut-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--cream); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--craft { background: var(--bg-alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; color: var(--walnut); margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; }
.section-intro { max-width: 620px; color: var(--muted); font-size: 1.08rem; margin-bottom: 3rem; }

/* ---------- Grid cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(60,40,20,.4); }
.card-num { font-family: "Cormorant Garamond", serif; font-size: 1.1rem; color: var(--walnut); opacity: .6; }
.card h3 { font-size: 1.5rem; margin: .6rem 0 .6rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); object-position: center 35%; }
.split-text h2 { margin-bottom: 1.2rem; }
.split-text p { color: var(--muted); margin-bottom: 1.5rem; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.ticks li { padding-left: 1.8rem; position: relative; }
.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--walnut); }

/* ---------- Woods ---------- */
.woods { display: flex; flex-wrap: wrap; gap: .8rem; }
.wood-chip { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: .7rem 1.5rem; font-size: .95rem; }
.wood-chip--rare { border-color: var(--walnut); color: var(--walnut); position: relative; }
.wood-chip--rare::after { content: "vzácné"; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; margin-left: .5rem; opacity: .6; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 1rem; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #e6ddd0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem;
  color: #fff; font-size: .85rem; letter-spacing: .02em;
  background: linear-gradient(transparent, rgba(20,14,9,.75));
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

/* ---------- Contact ---------- */
.section--contact { background: var(--ink); color: var(--cream); }
.section--contact .eyebrow { color: #d8b48a; }
.section--contact .split-text p { color: rgba(255,255,255,.7); }
.contact-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list span { text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; opacity: .55; margin-bottom: .2rem; }
.contact-list a { font-size: 1.1rem; }
.contact-form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-form label { display: flex; flex-direction: column; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; opacity: .8; gap: .4rem; }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  padding: .75rem .9rem; color: var(--cream); font-family: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #d8b48a; }
.contact-form .btn { margin-top: .5rem; align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer { background: #1c1712; color: var(--cream); padding: 3.5rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.footer-note { font-size: .85rem; opacity: .6; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-media { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 0 24px;
    max-height: 0; overflow: hidden; border-bottom: 1px solid transparent; transition: max-height .3s;
  }
  .nav-links.open { max-height: 360px; padding: 1rem 24px; border-color: var(--line); }
  .nav-links a { width: 100%; padding: .7rem 0; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item--wide, .gallery-item--tall { grid-column: auto; grid-row: auto; }
  .hero { min-height: 80vh; }
}
