:root {
  color-scheme: light;
  --ink: #151713;
  --panel: #20231d;
  --paper: #f6f4ee;
  --muted: #5c5e53;
  --line: #d9d5c9;
  --accent: #f3b552;
  --label: #78500d;
  font-family: "Bahnschrift", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #b37313; outline-offset: 5px; }
.skip { position: fixed; top: 1rem; left: 1rem; transform: translateY(-200%); z-index: 5; background: var(--accent); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { transform: none; }
.wrap { width: min(1280px, calc(100% - 7rem)); margin-inline: auto; }
.top { background: var(--ink); color: #fff; }
.header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.brand b { color: var(--accent); }
.mark { width: 44px; height: 44px; flex: none; background: url("logo.svg") center / contain no-repeat; }
nav { display: flex; gap: clamp(1rem, 4vw, 3rem); }
nav a, footer a { text-decoration: none; font-weight: 650; font-size: .95rem; }
nav a:hover, footer a:hover { color: var(--accent); }
.hero {
  color: #fff;
  background-color: var(--ink);
  background-image: linear-gradient(120deg, #151713 15%, #151713b0 65%, #24271e85), repeating-linear-gradient(0deg, transparent 0 33px, #ffffff11 33px 34px), repeating-linear-gradient(90deg, transparent 0 33px, #ffffff11 33px 34px);
  border-top: 1px solid #ffffff22;
}
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; min-height: 620px; align-items: center; gap: clamp(1rem, 4vw, 4rem); }
.intro { padding-block: 4rem; }
.kicker { font-size: .875rem; letter-spacing: .15em; font-weight: 750; color: var(--label); margin-bottom: 1rem; }
.hero .kicker, .project .kicker, .contact .kicker { color: var(--accent); }
h1, h2, h3 { line-height: 1; letter-spacing: -.05em; }
h1 { font-size: clamp(3.45rem, 7.7vw, 7.25rem); font-weight: 800; }
h1 em { display: inline-block; font-style: normal; color: var(--accent); }
.lead { color: #deded4; max-width: 36ch; margin-top: 1.5rem; font-size: 1.125rem; }
.actions, .contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.4rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; min-height: 50px; background: var(--accent); color: var(--ink); font-weight: 750; text-decoration: none; padding: .65rem 1.1rem; border-radius: 5px; }
.button:hover { background: #ffcb79; }
.text-link, .email { font-weight: 650; text-underline-offset: .3em; }
.section { padding-block: clamp(3.4rem, 7vw, 6.25rem); }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.8rem); }
h3 { font-size: 1.55rem; letter-spacing: -.035em; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.services article { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-top: 3px solid #c38931; background: #fbfaf6; }
.symbol { display: grid; place-items: center; width: 44px; height: 44px; background: #f4e4c9; font-size: 1.6rem; margin-bottom: 1.25rem; line-height: 1; }
.services p, .process li p { color: var(--muted); margin-top: .75rem; }
.project { background: var(--panel); color: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-head p { max-width: 33ch; color: #d6d6cb; }
.comparison, .gallery { display: grid; gap: 1rem; }
.comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.comparison figure, .gallery figure { background: #2c3027; border: 1px solid #ffffff27; overflow: hidden; }
.gallery-title { margin-block: 2rem 1rem; }
.photo { display: block; overflow: hidden; cursor: zoom-in; }
.photo:focus-visible { outline-offset: -4px; }
.photo img { aspect-ratio: 4 / 3; transition: transform .25s ease; }
.comparison .photo img { aspect-ratio: 16 / 10; }
.photo:hover img { transform: scale(1.045); }
.comparison figcaption, .gallery figcaption { padding: .85rem 1rem; font-weight: 650; }
.comparison figcaption { border-left: 3px solid var(--accent); }
.process, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.process > img { aspect-ratio: 5 / 4; }
.process ol { padding-left: 1.5rem; margin-bottom: 0; }
.process li { padding: .75rem 0 .75rem .45rem; border-bottom: 1px solid var(--line); }
.process li::marker { color: var(--label); font-weight: 800; }
.process li p { margin-top: .15rem; }
.contact { padding-block: clamp(3.4rem, 6vw, 5rem); background: var(--ink); color: #fff; border-bottom: 1px solid #ffffff25; }
.contact p:not(.kicker) { margin-top: .6rem; color: #deded4; max-width: 45ch; }
.contact .phone { font-size: 1.25rem; }
.location { border-left: 3px solid var(--accent); padding: 1rem 1.4rem; }
dialog { border: 1px solid #ffffff4d; background: var(--ink); color: #fff; padding: 1rem; width: min(900px, 94vw); max-height: 94vh; }
dialog::backdrop { background: #10120feb; }
dialog img { width: auto; max-width: 100%; max-height: 75vh; object-fit: contain; margin-inline: auto; }
dialog figcaption { padding: .6rem .25rem 0; }
.close { display: block; margin: 0 0 .5rem auto; min-width: 44px; min-height: 44px; border: 0; background: var(--accent); font-size: 1.7rem; cursor: pointer; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 3rem); }
  .hero-grid { min-height: 0; }
  .intro { padding-block: 3rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 2rem); }
  .header { min-height: 68px; flex-wrap: wrap; padding-block: .75rem; gap: .65rem; }
  .mark { width: 35px; height: 35px; }
  .brand, nav a, footer a { font-size: .875rem; }
  .hero-grid, .services, .process, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 0; }
  .intro { padding: 2.7rem 0 1.5rem; }
  h1 { font-size: clamp(2.85rem, 11vw, 4.5rem); }
  .section-head { display: block; }
  .section-head p { margin-top: .85rem; }
  .comparison, .gallery { gap: .6rem; }
  .comparison figcaption, .gallery figcaption { padding: .6rem; font-size: .875rem; }
  .process > img { order: 1; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .photo img { transition: none; }
}

/* Crop the white letterboxing embedded in the supplied photos. */
img[src$="/prije.jpg"] { object-view-box: inset(21.2% 0 20.3%); filter: brightness(1.09) contrast(1.06) saturate(1.04); }
img[src$="/konstrukcija.jpg"] { object-view-box: inset(23.2% 0 17.7%); filter: brightness(1.08) contrast(1.01) saturate(1.03); }
img[src$="/izolacija.jpg"] { object-view-box: inset(6.7% 0 10.5%); filter: brightness(1.03) contrast(1.04) saturate(1.02); }
img[src$="/parna-brana.jpg"] { object-view-box: inset(27.1% 0 13%); filter: brightness(1.08) contrast(1.05) saturate(.97); }
img[src$="/spojevi.jpg"] { object-view-box: inset(9.2% 0 10.7%); filter: brightness(1.13) contrast(1.11) saturate(.98); }
img[src$="/materijal.jpg"] { object-view-box: inset(.45% 0 .35%); filter: brightness(1.15) contrast(.99) saturate(1.04); }
img[src$="/ploce.jpg"] { object-view-box: inset(.36% 0 0); filter: brightness(1.18) contrast(1.13) saturate(.96); }

.wordmark { font-size: 1.1em; letter-spacing: .075em; }
.mark { width: 46px; height: 46px; }
.services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.services article { border: 0; border-top: 3px solid #c38931; }
.services article + article { border-left: 1px solid var(--line); }
.services .symbol { background: var(--ink); color: var(--accent); }
dialog img { width: 100%; height: min(68vh, 600px); }

@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services article:nth-child(3) { border-left: 0; }
}
@media (max-width: 530px) {
  .mark { width: 36px; height: 36px; }
  .services { grid-template-columns: 1fr; }
  .services article + article { border-left: 0; border-top: 1px solid var(--line); }
}


.hero-panel {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(.9rem, 2vw, 1.5rem);
  min-height: 390px;
  margin-block: 2rem;
  padding: 2rem 1rem;
  border: 1px solid #b88a4c80;
  box-shadow: inset 0 0 0 10px #151713;
  background:
    linear-gradient(140deg, #f3b55226 0%, transparent 43%),
    repeating-linear-gradient(135deg, transparent 0 29px, #f3b55220 29px 30px),
    #20231d;
}
.hero-emblem {
  width: clamp(108px, 15vw, 196px);
  box-shadow: 12px 15px 0 #121411;
}
.hero-emblem img { height: auto; }
.hero-wordmark {
  color: #f6f4ee;
  font-size: clamp(1.4rem, 3.1vw, 3rem);
  font-weight: 800;
  letter-spacing: .075em;
}
.hero-wordmark strong { color: var(--accent); }
@media (max-width: 690px) {
  .hero-panel { min-height: 220px; margin-block: .4rem 1.25rem; }
}

.trust {
  color: var(--paper);
  background: #262920;
  border-block: 1px solid #f3b55240;
}
.trust ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.trust li {
  padding: 1.3rem clamp(1rem, 3vw, 2.25rem);
  border-left: 1px solid #f3b55240;
}
.trust li:last-child { border-right: 1px solid #f3b55240; }
.trust strong { display: block; color: var(--accent); font-size: 1.13rem; }
.trust span { display: block; margin-top: .15rem; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding-block: 1rem 1.4rem;
  border-top: 1px solid #ffffff25;
  color: #d5d3ca;
}
.site-credit { color: var(--accent); }
a.site-credit { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 690px) {
  .trust ul { grid-template-columns: 1fr; }
  .trust li, .trust li:last-child { border-inline: 0; padding: .9rem 0; }
  .trust li + li { border-top: 1px solid #f3b55240; }
}

/* Warm metal accents and restrained display typography. */
:root {
  --ink: #151713;
  --panel: #20211d;
  --paper: #f7f4ed;
  --accent: #e6bb75;
}
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(3.45rem, 7.65vw, 7.4rem); letter-spacing: -.065em; }
h2 { line-height: 1.05; }
.hero .lead { max-width: 39ch; }
.hero-panel {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 35%, #54442b 0%, #272820 56%, #171914 100%);
  border-color: #ba995a;
  box-shadow: inset 0 0 0 9px #191b16, 0 22px 55px #0005;
}
.hero-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22px;
  border: 1px solid #e6bb7545;
  background: repeating-linear-gradient(135deg, transparent 0 31px, #e6bb7511 31px 32px);
}
.hero-emblem { box-shadow: 10px 12px 0 #10110e90; }
.hero-wordmark { letter-spacing: .125em; }
.button { background: linear-gradient(120deg, #f1d59e, #d8a45d); border: 1px solid #f1d59e; }
.services article { background: #fcfaf5; border-top-color: #b88a4c; }
.services .symbol { background: transparent; color: #78500d; border: 1px solid #b88a4c80; }
.comparison figure { border-color: #e6bb754d; }
.comparison figcaption { background: #191b17; }
.contact { background: radial-gradient(ellipse at top right, #3c3423, var(--ink) 62%); }
@media (max-width: 690px) {
  h1 { font-size: clamp(2.85rem, 11vw, 4.5rem); }
  .hero-panel::before { inset: 15px; }
}
