/* Corner Cut · Standard tier. Layout: sticky header, roomy editorial pages, tile-green and cream bands, photo-led cards. */
:root {
  --tile: #1E4636;
  --tile-deep: #12291F;
  --cream: #F1EBDF;
  --paper: #E8E0D1;
  --brass: #B9853A;
  --brass-hi: #E2B66C;
  --oxblood: #7A2E2A;
  --ink: #17140F;
  --muted: #6A6458;
  --line: rgba(23, 20, 15, .14);
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.muted { color: var(--muted); }

/* ribbon */
.ribbon { position: fixed; z-index: 100; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font: 600 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; border-radius: 99px; text-decoration: none; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.ribbon i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-hi); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(241, 235, 223, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo svg { width: 26px; height: 26px; transition: transform .6s var(--ease); }
.logo:hover svg { transform: rotate(90deg); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 99px; position: relative; transition: background .25s; }
.nav a:hover { background: rgba(30, 70, 54, .08); }
.nav a[aria-current="page"] { background: var(--tile); color: var(--cream); }
.menu-btn { display: none; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--tile); color: var(--cream); padding: 14px 24px; border-radius: 99px; font: 600 15px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), color .3s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: scaleX(1); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.light { background: var(--cream); color: var(--tile-deep); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; font: 600 14px/1 var(--body); color: var(--ink); cursor: pointer; }
  .nav { position: fixed; inset: calc(64px + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); }
  .nav.open { clip-path: inset(0 0 0 0); }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a[aria-current="page"] { background: none; color: var(--tile); font-weight: 700; }
}

/* EN / SR switch: end of the nav bar on desktop, last row of the dropdown menu on phones */
.lang { display: inline-flex; gap: 2px; padding: 3px; margin-left: 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.lang button { font: 600 12px/1 var(--body); letter-spacing: .08em; color: var(--muted); background: transparent; border: 0; padding: 8px 10px; border-radius: 99px; cursor: pointer; transition: background .25s, color .25s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--tile); color: var(--cream); }
@media (max-width: 860px) {
  .nav .lang { align-self: flex-start; margin: 16px 0 0 8px; }
  .nav .lang button { padding: 12px 16px; font-size: 13px; }
}

/* page intro */
.page-head { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(56px, 9vw, 140px); font-weight: 800; margin-top: 16px; }
.page-head p { max-width: 52ch; margin-top: 24px; font-size: 19px; color: var(--muted); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.band { background: var(--tile); color: var(--cream); }
.band .muted { color: rgba(241, 235, 223, .75); }

/* home hero with 3D pole */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: center; padding-block: clamp(48px, 6vw, 80px); min-height: min(84vh, 760px); }
.hero h1 { font-size: clamp(60px, 9.5vw, 156px); font-weight: 800; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .05em; }
.hero h1 .word > span { display: inline-block; animation: slide-up 1s var(--ease) both; }
.hero h1 .accent { color: var(--tile); font-style: italic; font-weight: 700; }
/* Serbian words run longer: keep the two-line headline and stop the italic "e" being clipped by the word mask */
html:lang(sr) .hero h1 { font-size: clamp(46px, 7.4vw, 124px); }
html:lang(sr) .hero h1 .accent { padding-right: .06em; }
.hero-lede { font-size: 20px; max-width: 38ch; margin-top: 28px; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.pole-wrap { position: relative; height: min(70vh, 640px); min-height: 420px; border-radius: 12px; background: radial-gradient(70% 60% at 50% 45%, #2a5a46 0%, var(--tile-deep) 75%); overflow: hidden; cursor: grab; touch-action: pan-y; }
.pole-wrap:active { cursor: grabbing; }
.pole-wrap canvas { width: 100% !important; height: 100% !important; display: block; }
.pole-hint { position: absolute; left: 20px; bottom: 18px; color: rgba(241, 235, 223, .8); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; pointer-events: none; }
.pole-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.pole-fallback i { width: 70px; height: 70%; border-radius: 35px; background: repeating-linear-gradient(-35deg, #b8322b 0 18px, #f4f1ea 18px 36px, #2b4c8f 36px 54px, #f4f1ea 54px 72px); box-shadow: inset -12px 0 20px rgba(0,0,0,.3); }
@keyframes slide-up { from { transform: translateY(105%); } }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; min-height: 0; } .pole-wrap { height: 420px; } }

/* highlights */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(241,235,223,.2); }
.highlights > div { padding: 36px 32px 36px 0; display: grid; gap: 10px; }
.highlights > div + div { padding-left: 32px; border-left: 1px solid rgba(241,235,223,.2); }
.highlights h3 { font-size: 30px; font-weight: 700; }
@media (max-width: 760px) { .highlights { grid-template-columns: 1fr; } .highlights > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(241,235,223,.2); } }

/* service cards */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(42px, 6vw, 84px); font-weight: 800; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { text-decoration: none; border-radius: 10px; overflow: hidden; background: var(--paper); display: grid; grid-template-rows: auto 1fr; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 24px 50px rgba(18, 41, 31, .18); }
.svc figure { margin: 0; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; }
.svc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc:hover img { transform: scale(1.08); }
.svc .body { padding: 24px; display: grid; gap: 8px; align-content: start; }
.svc .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.svc h3 { font-size: 30px; font-weight: 700; }
.svc .amt { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--tile); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } .svc { grid-template-columns: 40% minmax(0, 1fr); grid-template-rows: none; } .svc figure { aspect-ratio: auto; height: 100%; } }
@media (max-width: 520px) { .svc { grid-template-columns: 1fr; } .svc figure { aspect-ratio: 16 / 10; } }

/* full-bleed photo band */
.photo-band { position: relative; height: clamp(360px, 60vw, 640px); overflow: hidden; }
.photo-band img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.photo-band .cap { position: absolute; left: 0; right: 0; bottom: 0; padding-block: 32px; background: linear-gradient(transparent, rgba(18,41,31,.85)); color: var(--cream); }
.photo-band h2 { font-size: clamp(36px, 5vw, 72px); font-weight: 800; }

/* cta band */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(42px, 6vw, 88px); font-weight: 800; }

/* service list page */
.svc-group { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding-block: 48px; border-top: 1px solid var(--line); }
.svc-group h2 { font-size: 40px; font-weight: 800; }
.svc-list { display: grid; }
.svc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: baseline; padding: 22px 16px; margin-inline: -16px; border-radius: 8px; transition: background .3s, transform .4s var(--ease); }
.svc-item:hover { background: var(--paper); transform: translateX(8px); }
.svc-item h3 { font-size: 26px; font-weight: 700; }
.svc-item p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.svc-item .time { font-size: 14px; color: var(--muted); white-space: nowrap; }
.svc-item .amt { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--tile); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .svc-group { grid-template-columns: 1fr; gap: 8px; } .svc-item { grid-template-columns: minmax(0, 1fr) auto; } .svc-item .time { grid-column: 1; grid-row: 2; } .svc-item .amt { grid-row: 1 / 3; grid-column: 2; } }

/* gallery */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { font: 600 14px/1 var(--body); padding: 11px 18px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { margin: 0; border-radius: 8px; overflow: hidden; position: relative; cursor: zoom-in; aspect-ratio: 4 / 5; max-width: 100%; background: var(--tile-deep); border: 0; padding: 0; transition: opacity .4s, transform .5s var(--ease); }
.tile.wide { grid-column: span 2; aspect-ratio: auto; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile .tag { position: absolute; left: 12px; bottom: 12px; background: rgba(23,20,15,.7); color: #fff; font: 600 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; }
.tile.hide { display: none; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr 1fr; } .tile.wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 14, 12, .92); display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 6px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox button { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); background: var(--cream); border: 0; border-radius: 99px; padding: 10px 16px; font: 600 14px/1 var(--body); cursor: pointer; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.about figure { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; }
.about img { width: 100%; height: 100%; object-fit: cover; }
.about .copy { display: grid; gap: 20px; font-size: 19px; }
.about .copy h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--paper); border-radius: 10px; padding: 32px; display: grid; gap: 12px; align-content: start; }
.value h3 { font-size: 28px; font-weight: 700; }
.value svg { width: 40px; height: 40px; color: var(--tile); }
@media (max-width: 860px) { .about, .values { grid-template-columns: 1fr; gap: 32px; } }

/* contact */
.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; }
.map { position: relative; border-radius: 10px; overflow: hidden; min-height: 420px; background: #DCD3C2; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { position: absolute; left: 56%; top: 46%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; animation: drop 1s var(--ease) .3s both; }
.map .pin b { background: var(--ink); color: var(--cream); font: 600 13px/1 var(--body); padding: 9px 12px; border-radius: 99px; white-space: nowrap; }
.map .pin i { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--oxblood); box-shadow: 0 0 0 6px rgba(122, 46, 42, .2); }
.map .open { position: absolute; right: 16px; bottom: 16px; }
@keyframes drop { from { transform: translate(-50%, -260%); opacity: 0; } }
.info { background: var(--ink); color: var(--cream); border-radius: 10px; padding: 36px; display: grid; gap: 28px; align-content: start; }
.info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; }
.info dt { color: rgba(241,235,223,.7); }
.info dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.form-card { background: var(--paper); border-radius: 10px; padding: 40px; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
form .full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: grid; gap: 6px; }
input, textarea, select { font: 400 17px/1.4 var(--body); color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; width: 100%; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--tile); border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.form-msg { color: var(--tile); min-height: 1.5em; }
@media (max-width: 860px) { .visit, form { grid-template-columns: 1fr; } .form-card, .info { padding: 28px; } }

footer { background: var(--tile-deep); color: rgba(241,235,223,.8); padding-block: 56px calc(88px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer .big { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 80px); color: var(--cream); line-height: .9; }
footer nav { display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--brass-hi); }
footer .small { grid-column: 1 / -1; border-top: 1px solid rgba(241,235,223,.15); padding-top: 20px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } footer .big { grid-column: 1 / -1; } }

/* micro motion */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform 1s var(--ease); }
.js .reveal.from-left { transform: translateX(-60px); }
.js .reveal.from-right { transform: translateX(60px); }
.js .reveal.in { opacity: 1; transform: none; }
main { animation: page-in .7s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 480px) { .ribbon .rb-more { display: none; } }
