/* Noisia krovni web
   Tokeni: tamna ploča (Egger crna), duboka Noisia zelena, BSH drvo, kreda. */
:root {
  --panel: #141816;
  --panel-2: #1b201d;
  --pine: #0f2a20;
  --bsh: #d6b27a;
  --bsh-deep: #a9824d;
  --chalk: #efeae0;
  --mute: #a3aaa4;
  --line: rgba(239, 234, 224, .14);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gut: 16px;
  --max: 1200px;
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--panel);
  color: var(--chalk);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); line-height: 1.02; font-stretch: 112%; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); line-height: 1.08; font-stretch: 108%; text-wrap: balance; }
h3 { font-size: 1.12rem; line-height: 1.25; font-stretch: 104%; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--bsh); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bsh); color: var(--panel); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow {
  font: 500 .78rem/1.3 var(--mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--bsh); margin-bottom: 14px;
}
.lead { color: #d9d5cc; font-size: 1.08rem; margin-top: 18px; max-width: 60ch; }
.narrow { max-width: 62ch; }
.note { color: var(--mute); font-size: .95rem; margin-top: 22px; max-width: 64ch; }

/* gumbi */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 3px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-wood { background: var(--bsh); color: #1a140b; }
.btn-wood:hover { background: #e4c48f; }
.btn-line { border-color: rgba(214, 178, 122, .55); color: var(--chalk); }
.btn-line:hover { border-color: var(--bsh); color: var(--bsh); }

/* zaglavlje */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(20, 24, 22, .9);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); height: 64px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-n { width: 30px; height: auto; fill: var(--bsh); }
.brand-word { font: 800 1.15rem/1 var(--display); font-stretch: 125%; letter-spacing: .08em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: .95rem; padding: 8px 10px; border-radius: 3px; color: #d9d5cc; }
.nav a:hover { color: var(--bsh); }
.nav .nav-cta { background: var(--bsh); color: #1a140b; font-weight: 600; margin-left: 6px; }
.nav .nav-cta:hover { background: #e4c48f; color: #1a140b; }
.lang {
  font: 500 .8rem/1 var(--mono); letter-spacing: .08em;
  background: none; color: var(--chalk); border: 1px solid var(--line);
  height: 34px; min-width: 44px; border-radius: 3px; cursor: pointer;
}
.lang:hover { border-color: var(--bsh); color: var(--bsh); }
.burger { display: none; }

@media (max-width: 899px) {
  .top-in { gap: 10px; }
  .lang { margin-left: auto; }
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0 10px;
  }
  .burger span:not(.sr) { display: block; height: 2px; background: var(--chalk); transition: transform .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 18px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav .nav-cta { margin: 14px 0 0; text-align: center; border-radius: 3px; border: 0; }
}

/* HERO */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 40px var(--gut) 56px;
  display: grid; gap: 40px;
}
.hero .lead { font-size: 1.12rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 980px) {
  .hero { grid-template-columns: 1fr 1.3fr; align-items: center; padding-top: 64px; padding-bottom: 80px; gap: 56px; }
}

/* potpis: video unutar drvenog okvira štanda */
.stand-frame {
  --post: 14px; --beam: 34px;
  position: relative; margin: 0;
  padding: var(--beam) var(--post) 0;
}
.beam {
  position: absolute; left: 0; right: 0; top: 0; height: var(--beam);
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.12)),
    repeating-linear-gradient(90deg, #d6b27a 0 37px, #cfa96f 37px 38px, #dcb987 38px 71px, #c9a46a 71px 72px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
  z-index: 2;
}
.fascia {
  font: 500 .72rem/1 var(--mono); letter-spacing: .2em;
  color: #2a1f10; background: rgba(255, 252, 245, .78);
  padding: 6px 12px; border-radius: 2px; white-space: nowrap;
}
.slats {
  position: absolute; top: var(--beam); left: var(--post); right: var(--post); height: 26px; z-index: 1;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 9px), rgba(214,178,122,.9) calc(25% - 9px) 25%);
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent);
          mask: linear-gradient(180deg, #000 30%, transparent);
  pointer-events: none;
}
.post {
  position: absolute; top: 0; bottom: 34px; width: var(--post);
  background: linear-gradient(90deg, #b8915a, #dcbb88 45%, #c29c63);
  z-index: 2;
}
.post-l { left: 0; } .post-r { right: 0; }
.screen { background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.screen video { width: 100%; height: 100%; object-fit: cover; }
.stand-frame figcaption {
  font: 400 .78rem/1.4 var(--mono); color: var(--mute);
  padding: 12px 0 0; height: 34px; letter-spacing: .02em;
}
@media (min-width: 700px) { .stand-frame { --post: 18px; --beam: 42px; } .fascia { font-size: .8rem; } }

/* tri djelatnosti */
.trio {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gut);
  display: grid; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trio-item { background: var(--panel); padding: 22px 4px; text-decoration: none; display: grid; gap: 4px; }
.trio-k { font: 700 1.1rem/1.2 var(--display); font-stretch: 108%; }
.trio-main .trio-k { color: var(--bsh); }
.trio-v { color: var(--mute); font-size: .95rem; }
.trio-item:hover .trio-k { color: var(--bsh); }
@media (min-width: 760px) {
  .trio { grid-template-columns: 1.3fr 1fr 1fr; padding: 0; border-left: 0; }
  .trio-item { padding: 26px var(--gut); }
}

/* brojke */
.facts { padding: 40px 0 0; }
.facts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.fact { display: grid; gap: 6px; border-left: 2px solid var(--bsh-deep); padding-left: 14px; }
.fact-n { font: 700 2.6rem/1 var(--display); color: var(--bsh); font-variant-numeric: tabular-nums; }
.fact-l { color: var(--mute); font-size: .95rem; line-height: 1.35; }
@media (min-width: 900px) { .facts { padding-top: 56px; } .facts-row { grid-template-columns: repeat(4, 1fr); } .fact-n { font-size: 3.2rem; } }

/* sekcije */
.sec { padding: 72px 0; }
@media (min-width: 900px) { .sec { padding: 104px 0; } }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}

.spec { margin: 30px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 500 .78rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bsh); }
.spec dd { margin: 0; }
.render { margin: 0; background: #f6f3ee; border-radius: 4px; overflow: hidden; }
.render figcaption, .combos figcaption {
  font: 400 .78rem/1.4 var(--mono); color: #5d5a52; padding: 10px 14px 12px; background: #ebe6dd;
}

/* veličine */
.sec-sizes { background: var(--panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sizes { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .sizes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .sizes { grid-template-columns: repeat(4, 1fr); } }
.size { border: 1px solid var(--line); border-radius: 4px; padding: 18px 18px 22px; background: var(--panel); }
.size h3 { font-family: var(--mono); font-weight: 500; font-size: 1.25rem; letter-spacing: 0; margin-top: 14px; }
.size p { color: var(--mute); font-size: .95rem; margin-top: 6px; }
.tag {
  font: 500 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: #1a140b; background: var(--bsh); padding: 4px 6px; border-radius: 2px; vertical-align: middle; margin-left: 6px;
}
.plan { width: 100%; height: auto; }
.plan .floor { fill: rgba(214, 178, 122, .07); }
.plan .wall { fill: none; stroke: #e9e3d7; stroke-width: 7; }
.plan .slat { stroke: rgba(214, 178, 122, .55); stroke-width: 3; }
.plan .pst { fill: var(--bsh); }
.plan .dim { stroke: var(--mute); stroke-width: 2; fill: none; }
.plan text { fill: var(--mute); font: 500 26px var(--mono); text-anchor: middle; }
.size-prem .floor { fill: rgba(214, 178, 122, .16); }
.size-prem .wall { stroke: var(--bsh); }
.combos { display: grid; gap: 16px; margin-top: 16px; }
.combos figure { margin: 0; border-radius: 4px; overflow: hidden; background: #f6f3ee; }
.combos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 760px) { .combos { grid-template-columns: 1fr 1fr; } }

/* oprema i paketi */
.equip { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.equip li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.equip p { color: var(--mute); margin-top: 6px; }
@media (min-width: 760px) {
  .equip { grid-template-columns: 1fr 1fr 1fr; column-gap: 32px; }
}
.packs { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 900px) { .packs { grid-template-columns: repeat(3, 1fr); } }
.pack { border: 1px solid var(--line); border-radius: 4px; padding: 24px; }
.pack h3 { font-size: 1.3rem; }
.pack p { color: #d2cec5; margin-top: 10px; }
.pack-key { border-color: var(--bsh); background: linear-gradient(180deg, rgba(214,178,122,.1), transparent 70%); }
.pack-key h3 { color: var(--bsh); }

/* koraci: stvarni slijed, zato brojevi */
.sec-steps { padding-top: 0; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px 56px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--bsh); color: var(--bsh);
  display: grid; place-items: center; font: 500 .95rem/1 var(--mono);
}
.steps li::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 1.5px; background: rgba(214,178,122,.3); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--mute); margin-top: 6px; max-width: 46ch; }
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps li { padding: 56px 0 0; }
  .steps li::after { left: 42px; right: -20px; top: 17px; bottom: auto; width: auto; height: 1.5px; }
}

/* galerija */
.sec-gallery { padding-bottom: 0; }
.gallery { display: grid; gap: 6px; margin-top: 40px; padding: 0 6px; }
.g { margin: 0; overflow: hidden; background: var(--panel-2); }
.g img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.g:hover img { transform: scale(1.03); }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } .g-wide { grid-column: span 2; } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } .g-wide { grid-column: span 2; } }

/* crew */
.sec-crew { background: var(--pine); margin-top: 104px; }
.refs { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(239,234,224,.18); color: #d9d5cc; }
.refs strong { color: var(--chalk); font-weight: 600; }
.roles { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: rgba(239,234,224,.16); border: 1px solid rgba(239,234,224,.16); border-radius: 4px; overflow: hidden; }
.roles li { background: var(--pine); padding: 20px; }
.roles p { color: #b9c4bd; margin-top: 6px; font-size: .97rem; }
@media (min-width: 560px) { .roles { grid-template-columns: 1fr 1fr; } }

/* sajmovi */
.clip { margin: 0; }
.clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #000; }
.clip figcaption { font: 400 .78rem/1.4 var(--mono); color: var(--mute); margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border: 2px solid var(--bsh); border-radius: 1px; }
@media (min-width: 900px) { .split-fairs { grid-template-columns: 7fr 5fr; } }

/* upit */
.sec-form { background: var(--panel-2); border-top: 1px solid var(--line); }
.split-form { align-items: start; }
.mail-direct { margin-top: 22px; color: var(--mute); }
.mail-direct a { color: var(--bsh); font-weight: 600; text-underline-offset: 3px; }
.form { display: grid; gap: 14px; }
@media (min-width: 560px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form label { display: grid; gap: 6px; font-size: .9rem; color: #d2cec5; }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--body); color: var(--chalk);
  background: var(--panel); border: 1px solid rgba(239,234,224,.22); border-radius: 3px;
  padding: 12px 12px; min-height: 48px; width: 100%;
}
.form textarea { resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #7f877f; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--bsh); outline: none; box-shadow: 0 0 0 3px rgba(214,178,122,.25); }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bsh) 50%), linear-gradient(135deg, var(--bsh) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form-err { color: #f1a58c; font-size: .92rem; }
.form-err a, .form-ok a { color: var(--bsh); }
.form-ok { color: #b9dcc4; font-size: .95rem; border-left: 2px solid #6fae84; padding-left: 12px; }
.form-note { color: var(--mute); font-size: .82rem; margin: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form .btn { margin-top: 4px; }

/* podnožje */
.foot { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-in { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-about { color: var(--mute); margin-top: 14px; max-width: 40ch; font-size: .95rem; }
.foot-co { font-style: normal; color: #d2cec5; font-size: .95rem; line-height: 1.75; }
.foot-co a { color: var(--bsh); }
.foot-nav { display: grid; gap: 6px; align-content: start; }
.foot-nav a { text-decoration: none; color: #d2cec5; font-size: .95rem; }
.foot-nav a:hover { color: var(--bsh); }
.foot-copy { margin-top: 40px; font: 400 .78rem/1 var(--mono); color: #7f877f; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .g img { transition: none; }
}
